Fix problem of HTML entities not appearing in website search results
[zettair.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for zettair 0.9.3patched.
4 #
5 # Report bugs to <nick@ndcode.org>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and nick@ndcode.org
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
281 $0: have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='zettair'
592 PACKAGE_TARNAME='zettair'
593 PACKAGE_VERSION='0.9.3patched'
594 PACKAGE_STRING='zettair 0.9.3patched'
595 PACKAGE_BUGREPORT='nick@ndcode.org'
596 PACKAGE_URL=''
597
598 ac_unique_file="src/commandline.c"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 HAVE_PYTHON_FALSE
640 HAVE_PYTHON_TRUE
641 pkgpyexecdir
642 pyexecdir
643 pkgpythondir
644 pythondir
645 PYTHON_PLATFORM
646 PYTHON_EXEC_PREFIX
647 PYTHON_PREFIX
648 PYTHON_VERSION
649 PYTHON
650 CPP
651 LT_SYS_LIBRARY_PATH
652 OTOOL64
653 OTOOL
654 LIPO
655 NMEDIT
656 DSYMUTIL
657 MANIFEST_TOOL
658 RANLIB
659 ac_ct_AR
660 AR
661 DLLTOOL
662 OBJDUMP
663 LN_S
664 NM
665 ac_ct_DUMPBIN
666 DUMPBIN
667 LD
668 FGREP
669 EGREP
670 GREP
671 SED
672 LIBTOOL
673 am__fastdepCC_FALSE
674 am__fastdepCC_TRUE
675 CCDEPMODE
676 am__nodep
677 AMDEPBACKSLASH
678 AMDEP_FALSE
679 AMDEP_TRUE
680 am__quote
681 am__include
682 DEPDIR
683 OBJEXT
684 EXEEXT
685 ac_ct_CC
686 CPPFLAGS
687 LDFLAGS
688 CFLAGS
689 CC
690 OSINCLUDE
691 OS
692 AM_BACKSLASH
693 AM_DEFAULT_VERBOSITY
694 AM_DEFAULT_V
695 AM_V
696 am__untar
697 am__tar
698 AMTAR
699 am__leading_dot
700 SET_MAKE
701 AWK
702 mkdir_p
703 MKDIR_P
704 INSTALL_STRIP_PROGRAM
705 STRIP
706 install_sh
707 MAKEINFO
708 AUTOHEADER
709 AUTOMAKE
710 AUTOCONF
711 ACLOCAL
712 VERSION
713 PACKAGE
714 CYGPATH_W
715 am__isrc
716 INSTALL_DATA
717 INSTALL_SCRIPT
718 INSTALL_PROGRAM
719 target_os
720 target_vendor
721 target_cpu
722 target
723 host_os
724 host_vendor
725 host_cpu
726 host
727 build_os
728 build_vendor
729 build_cpu
730 build
731 target_alias
732 host_alias
733 build_alias
734 LIBS
735 ECHO_T
736 ECHO_N
737 ECHO_C
738 DEFS
739 mandir
740 localedir
741 libdir
742 psdir
743 pdfdir
744 dvidir
745 htmldir
746 infodir
747 docdir
748 oldincludedir
749 includedir
750 runstatedir
751 localstatedir
752 sharedstatedir
753 sysconfdir
754 datadir
755 datarootdir
756 libexecdir
757 sbindir
758 bindir
759 program_transform_name
760 prefix
761 exec_prefix
762 PACKAGE_URL
763 PACKAGE_BUGREPORT
764 PACKAGE_STRING
765 PACKAGE_VERSION
766 PACKAGE_TARNAME
767 PACKAGE_NAME
768 PATH_SEPARATOR
769 SHELL'
770 ac_subst_files=''
771 ac_user_opts='
772 enable_option_checking
773 with_valgrind
774 enable_silent_rules
775 enable_dependency_tracking
776 enable_shared
777 enable_static
778 with_pic
779 enable_fast_install
780 with_aix_soname
781 with_gnu_ld
782 with_sysroot
783 enable_libtool_lock
784 '
785       ac_precious_vars='build_alias
786 host_alias
787 target_alias
788 CC
789 CFLAGS
790 LDFLAGS
791 LIBS
792 CPPFLAGS
793 LT_SYS_LIBRARY_PATH
794 CPP
795 PYTHON'
796
797
798 # Initialize some variables set by options.
799 ac_init_help=
800 ac_init_version=false
801 ac_unrecognized_opts=
802 ac_unrecognized_sep=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
805 cache_file=/dev/null
806 exec_prefix=NONE
807 no_create=
808 no_recursion=
809 prefix=NONE
810 program_prefix=NONE
811 program_suffix=NONE
812 program_transform_name=s,x,x,
813 silent=
814 site=
815 srcdir=
816 verbose=
817 x_includes=NONE
818 x_libraries=NONE
819
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir='${exec_prefix}/bin'
827 sbindir='${exec_prefix}/sbin'
828 libexecdir='${exec_prefix}/libexec'
829 datarootdir='${prefix}/share'
830 datadir='${datarootdir}'
831 sysconfdir='${prefix}/etc'
832 sharedstatedir='${prefix}/com'
833 localstatedir='${prefix}/var'
834 runstatedir='${localstatedir}/run'
835 includedir='${prefix}/include'
836 oldincludedir='/usr/include'
837 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
838 infodir='${datarootdir}/info'
839 htmldir='${docdir}'
840 dvidir='${docdir}'
841 pdfdir='${docdir}'
842 psdir='${docdir}'
843 libdir='${exec_prefix}/lib'
844 localedir='${datarootdir}/locale'
845 mandir='${datarootdir}/man'
846
847 ac_prev=
848 ac_dashdash=
849 for ac_option
850 do
851   # If the previous option needs an argument, assign it.
852   if test -n "$ac_prev"; then
853     eval $ac_prev=\$ac_option
854     ac_prev=
855     continue
856   fi
857
858   case $ac_option in
859   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
860   *=)   ac_optarg= ;;
861   *)    ac_optarg=yes ;;
862   esac
863
864   # Accept the important Cygnus configure options, so we can diagnose typos.
865
866   case $ac_dashdash$ac_option in
867   --)
868     ac_dashdash=yes ;;
869
870   -bindir | --bindir | --bindi | --bind | --bin | --bi)
871     ac_prev=bindir ;;
872   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
873     bindir=$ac_optarg ;;
874
875   -build | --build | --buil | --bui | --bu)
876     ac_prev=build_alias ;;
877   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
878     build_alias=$ac_optarg ;;
879
880   -cache-file | --cache-file | --cache-fil | --cache-fi \
881   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
882     ac_prev=cache_file ;;
883   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
884   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
885     cache_file=$ac_optarg ;;
886
887   --config-cache | -C)
888     cache_file=config.cache ;;
889
890   -datadir | --datadir | --datadi | --datad)
891     ac_prev=datadir ;;
892   -datadir=* | --datadir=* | --datadi=* | --datad=*)
893     datadir=$ac_optarg ;;
894
895   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
896   | --dataroo | --dataro | --datar)
897     ac_prev=datarootdir ;;
898   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
899   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
900     datarootdir=$ac_optarg ;;
901
902   -disable-* | --disable-*)
903     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
904     # Reject names that are not valid shell variable names.
905     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
906       as_fn_error $? "invalid feature name: $ac_useropt"
907     ac_useropt_orig=$ac_useropt
908     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909     case $ac_user_opts in
910       *"
911 "enable_$ac_useropt"
912 "*) ;;
913       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
914          ac_unrecognized_sep=', ';;
915     esac
916     eval enable_$ac_useropt=no ;;
917
918   -docdir | --docdir | --docdi | --doc | --do)
919     ac_prev=docdir ;;
920   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
921     docdir=$ac_optarg ;;
922
923   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
924     ac_prev=dvidir ;;
925   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
926     dvidir=$ac_optarg ;;
927
928   -enable-* | --enable-*)
929     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
930     # Reject names that are not valid shell variable names.
931     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
932       as_fn_error $? "invalid feature name: $ac_useropt"
933     ac_useropt_orig=$ac_useropt
934     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935     case $ac_user_opts in
936       *"
937 "enable_$ac_useropt"
938 "*) ;;
939       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
940          ac_unrecognized_sep=', ';;
941     esac
942     eval enable_$ac_useropt=\$ac_optarg ;;
943
944   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
945   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
946   | --exec | --exe | --ex)
947     ac_prev=exec_prefix ;;
948   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
949   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
950   | --exec=* | --exe=* | --ex=*)
951     exec_prefix=$ac_optarg ;;
952
953   -gas | --gas | --ga | --g)
954     # Obsolete; use --with-gas.
955     with_gas=yes ;;
956
957   -help | --help | --hel | --he | -h)
958     ac_init_help=long ;;
959   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
960     ac_init_help=recursive ;;
961   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
962     ac_init_help=short ;;
963
964   -host | --host | --hos | --ho)
965     ac_prev=host_alias ;;
966   -host=* | --host=* | --hos=* | --ho=*)
967     host_alias=$ac_optarg ;;
968
969   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
970     ac_prev=htmldir ;;
971   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
972   | --ht=*)
973     htmldir=$ac_optarg ;;
974
975   -includedir | --includedir | --includedi | --included | --include \
976   | --includ | --inclu | --incl | --inc)
977     ac_prev=includedir ;;
978   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
979   | --includ=* | --inclu=* | --incl=* | --inc=*)
980     includedir=$ac_optarg ;;
981
982   -infodir | --infodir | --infodi | --infod | --info | --inf)
983     ac_prev=infodir ;;
984   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
985     infodir=$ac_optarg ;;
986
987   -libdir | --libdir | --libdi | --libd)
988     ac_prev=libdir ;;
989   -libdir=* | --libdir=* | --libdi=* | --libd=*)
990     libdir=$ac_optarg ;;
991
992   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
993   | --libexe | --libex | --libe)
994     ac_prev=libexecdir ;;
995   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
996   | --libexe=* | --libex=* | --libe=*)
997     libexecdir=$ac_optarg ;;
998
999   -localedir | --localedir | --localedi | --localed | --locale)
1000     ac_prev=localedir ;;
1001   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1002     localedir=$ac_optarg ;;
1003
1004   -localstatedir | --localstatedir | --localstatedi | --localstated \
1005   | --localstate | --localstat | --localsta | --localst | --locals)
1006     ac_prev=localstatedir ;;
1007   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1008   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1009     localstatedir=$ac_optarg ;;
1010
1011   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1012     ac_prev=mandir ;;
1013   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1014     mandir=$ac_optarg ;;
1015
1016   -nfp | --nfp | --nf)
1017     # Obsolete; use --without-fp.
1018     with_fp=no ;;
1019
1020   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1021   | --no-cr | --no-c | -n)
1022     no_create=yes ;;
1023
1024   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1025   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1026     no_recursion=yes ;;
1027
1028   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1029   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1030   | --oldin | --oldi | --old | --ol | --o)
1031     ac_prev=oldincludedir ;;
1032   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1033   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1034   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1035     oldincludedir=$ac_optarg ;;
1036
1037   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1038     ac_prev=prefix ;;
1039   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1040     prefix=$ac_optarg ;;
1041
1042   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1043   | --program-pre | --program-pr | --program-p)
1044     ac_prev=program_prefix ;;
1045   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1046   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1047     program_prefix=$ac_optarg ;;
1048
1049   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1050   | --program-suf | --program-su | --program-s)
1051     ac_prev=program_suffix ;;
1052   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1053   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1054     program_suffix=$ac_optarg ;;
1055
1056   -program-transform-name | --program-transform-name \
1057   | --program-transform-nam | --program-transform-na \
1058   | --program-transform-n | --program-transform- \
1059   | --program-transform | --program-transfor \
1060   | --program-transfo | --program-transf \
1061   | --program-trans | --program-tran \
1062   | --progr-tra | --program-tr | --program-t)
1063     ac_prev=program_transform_name ;;
1064   -program-transform-name=* | --program-transform-name=* \
1065   | --program-transform-nam=* | --program-transform-na=* \
1066   | --program-transform-n=* | --program-transform-=* \
1067   | --program-transform=* | --program-transfor=* \
1068   | --program-transfo=* | --program-transf=* \
1069   | --program-trans=* | --program-tran=* \
1070   | --progr-tra=* | --program-tr=* | --program-t=*)
1071     program_transform_name=$ac_optarg ;;
1072
1073   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1074     ac_prev=pdfdir ;;
1075   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1076     pdfdir=$ac_optarg ;;
1077
1078   -psdir | --psdir | --psdi | --psd | --ps)
1079     ac_prev=psdir ;;
1080   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1081     psdir=$ac_optarg ;;
1082
1083   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1084   | -silent | --silent | --silen | --sile | --sil)
1085     silent=yes ;;
1086
1087   -runstatedir | --runstatedir | --runstatedi | --runstated \
1088   | --runstate | --runstat | --runsta | --runst | --runs \
1089   | --run | --ru | --r)
1090     ac_prev=runstatedir ;;
1091   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1092   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1093   | --run=* | --ru=* | --r=*)
1094     runstatedir=$ac_optarg ;;
1095
1096   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1097     ac_prev=sbindir ;;
1098   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1099   | --sbi=* | --sb=*)
1100     sbindir=$ac_optarg ;;
1101
1102   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1103   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1104   | --sharedst | --shareds | --shared | --share | --shar \
1105   | --sha | --sh)
1106     ac_prev=sharedstatedir ;;
1107   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1108   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1109   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1110   | --sha=* | --sh=*)
1111     sharedstatedir=$ac_optarg ;;
1112
1113   -site | --site | --sit)
1114     ac_prev=site ;;
1115   -site=* | --site=* | --sit=*)
1116     site=$ac_optarg ;;
1117
1118   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1119     ac_prev=srcdir ;;
1120   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1121     srcdir=$ac_optarg ;;
1122
1123   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1124   | --syscon | --sysco | --sysc | --sys | --sy)
1125     ac_prev=sysconfdir ;;
1126   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1127   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1128     sysconfdir=$ac_optarg ;;
1129
1130   -target | --target | --targe | --targ | --tar | --ta | --t)
1131     ac_prev=target_alias ;;
1132   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1133     target_alias=$ac_optarg ;;
1134
1135   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1136     verbose=yes ;;
1137
1138   -version | --version | --versio | --versi | --vers | -V)
1139     ac_init_version=: ;;
1140
1141   -with-* | --with-*)
1142     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1143     # Reject names that are not valid shell variable names.
1144     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145       as_fn_error $? "invalid package name: $ac_useropt"
1146     ac_useropt_orig=$ac_useropt
1147     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148     case $ac_user_opts in
1149       *"
1150 "with_$ac_useropt"
1151 "*) ;;
1152       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1153          ac_unrecognized_sep=', ';;
1154     esac
1155     eval with_$ac_useropt=\$ac_optarg ;;
1156
1157   -without-* | --without-*)
1158     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1159     # Reject names that are not valid shell variable names.
1160     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1161       as_fn_error $? "invalid package name: $ac_useropt"
1162     ac_useropt_orig=$ac_useropt
1163     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1164     case $ac_user_opts in
1165       *"
1166 "with_$ac_useropt"
1167 "*) ;;
1168       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1169          ac_unrecognized_sep=', ';;
1170     esac
1171     eval with_$ac_useropt=no ;;
1172
1173   --x)
1174     # Obsolete; use --with-x.
1175     with_x=yes ;;
1176
1177   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1178   | --x-incl | --x-inc | --x-in | --x-i)
1179     ac_prev=x_includes ;;
1180   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1181   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1182     x_includes=$ac_optarg ;;
1183
1184   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1185   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1186     ac_prev=x_libraries ;;
1187   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1188   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1189     x_libraries=$ac_optarg ;;
1190
1191   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1192 Try \`$0 --help' for more information"
1193     ;;
1194
1195   *=*)
1196     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1197     # Reject names that are not valid shell variable names.
1198     case $ac_envvar in #(
1199       '' | [0-9]* | *[!_$as_cr_alnum]* )
1200       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1201     esac
1202     eval $ac_envvar=\$ac_optarg
1203     export $ac_envvar ;;
1204
1205   *)
1206     # FIXME: should be removed in autoconf 3.0.
1207     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1208     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1209       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1210     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1211     ;;
1212
1213   esac
1214 done
1215
1216 if test -n "$ac_prev"; then
1217   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1218   as_fn_error $? "missing argument to $ac_option"
1219 fi
1220
1221 if test -n "$ac_unrecognized_opts"; then
1222   case $enable_option_checking in
1223     no) ;;
1224     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1225     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1226   esac
1227 fi
1228
1229 # Check all directory arguments for consistency.
1230 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1231                 datadir sysconfdir sharedstatedir localstatedir includedir \
1232                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1233                 libdir localedir mandir runstatedir
1234 do
1235   eval ac_val=\$$ac_var
1236   # Remove trailing slashes.
1237   case $ac_val in
1238     */ )
1239       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1240       eval $ac_var=\$ac_val;;
1241   esac
1242   # Be sure to have absolute directory names.
1243   case $ac_val in
1244     [\\/$]* | ?:[\\/]* )  continue;;
1245     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1246   esac
1247   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1248 done
1249
1250 # There might be people who depend on the old broken behavior: `$host'
1251 # used to hold the argument of --host etc.
1252 # FIXME: To remove some day.
1253 build=$build_alias
1254 host=$host_alias
1255 target=$target_alias
1256
1257 # FIXME: To remove some day.
1258 if test "x$host_alias" != x; then
1259   if test "x$build_alias" = x; then
1260     cross_compiling=maybe
1261   elif test "x$build_alias" != "x$host_alias"; then
1262     cross_compiling=yes
1263   fi
1264 fi
1265
1266 ac_tool_prefix=
1267 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1268
1269 test "$silent" = yes && exec 6>/dev/null
1270
1271
1272 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1273 ac_ls_di=`ls -di .` &&
1274 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1275   as_fn_error $? "working directory cannot be determined"
1276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1277   as_fn_error $? "pwd does not report name of working directory"
1278
1279
1280 # Find the source files, if location was not specified.
1281 if test -z "$srcdir"; then
1282   ac_srcdir_defaulted=yes
1283   # Try the directory containing this script, then the parent directory.
1284   ac_confdir=`$as_dirname -- "$as_myself" ||
1285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1286          X"$as_myself" : 'X\(//\)[^/]' \| \
1287          X"$as_myself" : 'X\(//\)$' \| \
1288          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1289 $as_echo X"$as_myself" |
1290     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1291             s//\1/
1292             q
1293           }
1294           /^X\(\/\/\)[^/].*/{
1295             s//\1/
1296             q
1297           }
1298           /^X\(\/\/\)$/{
1299             s//\1/
1300             q
1301           }
1302           /^X\(\/\).*/{
1303             s//\1/
1304             q
1305           }
1306           s/.*/./; q'`
1307   srcdir=$ac_confdir
1308   if test ! -r "$srcdir/$ac_unique_file"; then
1309     srcdir=..
1310   fi
1311 else
1312   ac_srcdir_defaulted=no
1313 fi
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1315   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1316   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1317 fi
1318 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1319 ac_abs_confdir=`(
1320         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1321         pwd)`
1322 # When building in place, set srcdir=.
1323 if test "$ac_abs_confdir" = "$ac_pwd"; then
1324   srcdir=.
1325 fi
1326 # Remove unnecessary trailing slashes from srcdir.
1327 # Double slashes in file names in object file debugging info
1328 # mess up M-x gdb in Emacs.
1329 case $srcdir in
1330 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1331 esac
1332 for ac_var in $ac_precious_vars; do
1333   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1334   eval ac_env_${ac_var}_value=\$${ac_var}
1335   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1336   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1337 done
1338
1339 #
1340 # Report the --help message.
1341 #
1342 if test "$ac_init_help" = "long"; then
1343   # Omit some internal or obsolete options to make the list less imposing.
1344   # This message is too long to be a string in the A/UX 3.1 sh.
1345   cat <<_ACEOF
1346 \`configure' configures zettair 0.9.3patched to adapt to many kinds of systems.
1347
1348 Usage: $0 [OPTION]... [VAR=VALUE]...
1349
1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1351 VAR=VALUE.  See below for descriptions of some of the useful variables.
1352
1353 Defaults for the options are specified in brackets.
1354
1355 Configuration:
1356   -h, --help              display this help and exit
1357       --help=short        display options specific to this package
1358       --help=recursive    display the short help of all the included packages
1359   -V, --version           display version information and exit
1360   -q, --quiet, --silent   do not print \`checking ...' messages
1361       --cache-file=FILE   cache test results in FILE [disabled]
1362   -C, --config-cache      alias for \`--cache-file=config.cache'
1363   -n, --no-create         do not create output files
1364       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1365
1366 Installation directories:
1367   --prefix=PREFIX         install architecture-independent files in PREFIX
1368                           [$ac_default_prefix]
1369   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1370                           [PREFIX]
1371
1372 By default, \`make install' will install all the files in
1373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1375 for instance \`--prefix=\$HOME'.
1376
1377 For better control, use the options below.
1378
1379 Fine tuning of the installation directories:
1380   --bindir=DIR            user executables [EPREFIX/bin]
1381   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1382   --libexecdir=DIR        program executables [EPREFIX/libexec]
1383   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1384   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1385   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1386   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1387   --libdir=DIR            object code libraries [EPREFIX/lib]
1388   --includedir=DIR        C header files [PREFIX/include]
1389   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1390   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1391   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1392   --infodir=DIR           info documentation [DATAROOTDIR/info]
1393   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1394   --mandir=DIR            man documentation [DATAROOTDIR/man]
1395   --docdir=DIR            documentation root [DATAROOTDIR/doc/zettair]
1396   --htmldir=DIR           html documentation [DOCDIR]
1397   --dvidir=DIR            dvi documentation [DOCDIR]
1398   --pdfdir=DIR            pdf documentation [DOCDIR]
1399   --psdir=DIR             ps documentation [DOCDIR]
1400 _ACEOF
1401
1402   cat <<\_ACEOF
1403
1404 Program names:
1405   --program-prefix=PREFIX            prepend PREFIX to installed program names
1406   --program-suffix=SUFFIX            append SUFFIX to installed program names
1407   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1408
1409 System types:
1410   --build=BUILD     configure for building on BUILD [guessed]
1411   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1412   --target=TARGET   configure for building compilers for TARGET [HOST]
1413 _ACEOF
1414 fi
1415
1416 if test -n "$ac_init_help"; then
1417   case $ac_init_help in
1418      short | recursive ) echo "Configuration of zettair 0.9.3patched:";;
1419    esac
1420   cat <<\_ACEOF
1421
1422 Optional Features:
1423   --disable-option-checking  ignore unrecognized --enable/--with options
1424   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1425   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1426   --enable-silent-rules   less verbose build output (undo: "make V=1")
1427   --disable-silent-rules  verbose build output (undo: "make V=0")
1428   --enable-dependency-tracking
1429                           do not reject slow dependency extractors
1430   --disable-dependency-tracking
1431                           speeds up one-time build
1432   --enable-shared[=PKGS]  build shared libraries [default=yes]
1433   --enable-static[=PKGS]  build static libraries [default=yes]
1434   --enable-fast-install[=PKGS]
1435                           optimize for fast installation [default=yes]
1436   --disable-libtool-lock  avoid locking (might break parallel builds)
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-valgrind=DIR     integrate valgrind support for better error detetion
1442   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1443                           both]
1444   --with-aix-soname=aix|svr4|both
1445                           shared library versioning (aka "SONAME") variant to
1446                           provide on AIX, [default=aix].
1447   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1448   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1449                           compiler's sysroot if not specified).
1450
1451 Some influential environment variables:
1452   CC          C compiler command
1453   CFLAGS      C compiler flags
1454   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1455               nonstandard directory <lib dir>
1456   LIBS        libraries to pass to the linker, e.g. -l<library>
1457   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1458               you have headers in a nonstandard directory <include dir>
1459   LT_SYS_LIBRARY_PATH
1460               User-defined run-time library search path.
1461   CPP         C preprocessor
1462   PYTHON      the Python interpreter
1463
1464 Use these variables to override the choices made by `configure' or to help
1465 it to find libraries and programs with nonstandard names/locations.
1466
1467 Report bugs to <nick@ndcode.org>.
1468 _ACEOF
1469 ac_status=$?
1470 fi
1471
1472 if test "$ac_init_help" = "recursive"; then
1473   # If there are subdirs, report their specific --help.
1474   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475     test -d "$ac_dir" ||
1476       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1477       continue
1478     ac_builddir=.
1479
1480 case "$ac_dir" in
1481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 *)
1483   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1484   # A ".." for each directory in $ac_dir_suffix.
1485   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1486   case $ac_top_builddir_sub in
1487   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1489   esac ;;
1490 esac
1491 ac_abs_top_builddir=$ac_pwd
1492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493 # for backward compatibility:
1494 ac_top_builddir=$ac_top_build_prefix
1495
1496 case $srcdir in
1497   .)  # We are building in place.
1498     ac_srcdir=.
1499     ac_top_srcdir=$ac_top_builddir_sub
1500     ac_abs_top_srcdir=$ac_pwd ;;
1501   [\\/]* | ?:[\\/]* )  # Absolute name.
1502     ac_srcdir=$srcdir$ac_dir_suffix;
1503     ac_top_srcdir=$srcdir
1504     ac_abs_top_srcdir=$srcdir ;;
1505   *) # Relative name.
1506     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507     ac_top_srcdir=$ac_top_build_prefix$srcdir
1508     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1509 esac
1510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1511
1512     cd "$ac_dir" || { ac_status=$?; continue; }
1513     # Check for guested configure.
1514     if test -f "$ac_srcdir/configure.gnu"; then
1515       echo &&
1516       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517     elif test -f "$ac_srcdir/configure"; then
1518       echo &&
1519       $SHELL "$ac_srcdir/configure" --help=recursive
1520     else
1521       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1522     fi || ac_status=$?
1523     cd "$ac_pwd" || { ac_status=$?; break; }
1524   done
1525 fi
1526
1527 test -n "$ac_init_help" && exit $ac_status
1528 if $ac_init_version; then
1529   cat <<\_ACEOF
1530 zettair configure 0.9.3patched
1531 generated by GNU Autoconf 2.69
1532
1533 Copyright (C) 2012 Free Software Foundation, Inc.
1534 This configure script is free software; the Free Software Foundation
1535 gives unlimited permission to copy, distribute and modify it.
1536 _ACEOF
1537   exit
1538 fi
1539
1540 ## ------------------------ ##
1541 ## Autoconf initialization. ##
1542 ## ------------------------ ##
1543
1544 # ac_fn_c_try_compile LINENO
1545 # --------------------------
1546 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_c_try_compile ()
1548 {
1549   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550   rm -f conftest.$ac_objext
1551   if { { ac_try="$ac_compile"
1552 case "(($ac_try" in
1553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554   *) ac_try_echo=$ac_try;;
1555 esac
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558   (eval "$ac_compile") 2>conftest.err
1559   ac_status=$?
1560   if test -s conftest.err; then
1561     grep -v '^ *+' conftest.err >conftest.er1
1562     cat conftest.er1 >&5
1563     mv -f conftest.er1 conftest.err
1564   fi
1565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566   test $ac_status = 0; } && {
1567          test -z "$ac_c_werror_flag" ||
1568          test ! -s conftest.err
1569        } && test -s conftest.$ac_objext; then :
1570   ac_retval=0
1571 else
1572   $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1574
1575         ac_retval=1
1576 fi
1577   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578   as_fn_set_status $ac_retval
1579
1580 } # ac_fn_c_try_compile
1581
1582 # ac_fn_c_try_link LINENO
1583 # -----------------------
1584 # Try to link conftest.$ac_ext, and return whether this succeeded.
1585 ac_fn_c_try_link ()
1586 {
1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588   rm -f conftest.$ac_objext conftest$ac_exeext
1589   if { { ac_try="$ac_link"
1590 case "(($ac_try" in
1591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592   *) ac_try_echo=$ac_try;;
1593 esac
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596   (eval "$ac_link") 2>conftest.err
1597   ac_status=$?
1598   if test -s conftest.err; then
1599     grep -v '^ *+' conftest.err >conftest.er1
1600     cat conftest.er1 >&5
1601     mv -f conftest.er1 conftest.err
1602   fi
1603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604   test $ac_status = 0; } && {
1605          test -z "$ac_c_werror_flag" ||
1606          test ! -s conftest.err
1607        } && test -s conftest$ac_exeext && {
1608          test "$cross_compiling" = yes ||
1609          test -x conftest$ac_exeext
1610        }; then :
1611   ac_retval=0
1612 else
1613   $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1615
1616         ac_retval=1
1617 fi
1618   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1619   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1620   # interfere with the next link command; also delete a directory that is
1621   # left behind by Apple's compiler.  We do this before executing the actions.
1622   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1623   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624   as_fn_set_status $ac_retval
1625
1626 } # ac_fn_c_try_link
1627
1628 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1629 # -------------------------------------------------------
1630 # Tests whether HEADER exists and can be compiled using the include files in
1631 # INCLUDES, setting the cache variable VAR accordingly.
1632 ac_fn_c_check_header_compile ()
1633 {
1634   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 $as_echo_n "checking for $2... " >&6; }
1637 if eval \${$3+:} false; then :
1638   $as_echo_n "(cached) " >&6
1639 else
1640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h.  */
1642 $4
1643 #include <$2>
1644 _ACEOF
1645 if ac_fn_c_try_compile "$LINENO"; then :
1646   eval "$3=yes"
1647 else
1648   eval "$3=no"
1649 fi
1650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1651 fi
1652 eval ac_res=\$$3
1653                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1654 $as_echo "$ac_res" >&6; }
1655   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1656
1657 } # ac_fn_c_check_header_compile
1658
1659 # ac_fn_c_try_cpp LINENO
1660 # ----------------------
1661 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1662 ac_fn_c_try_cpp ()
1663 {
1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665   if { { ac_try="$ac_cpp conftest.$ac_ext"
1666 case "(($ac_try" in
1667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668   *) ac_try_echo=$ac_try;;
1669 esac
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1673   ac_status=$?
1674   if test -s conftest.err; then
1675     grep -v '^ *+' conftest.err >conftest.er1
1676     cat conftest.er1 >&5
1677     mv -f conftest.er1 conftest.err
1678   fi
1679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680   test $ac_status = 0; } > conftest.i && {
1681          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1682          test ! -s conftest.err
1683        }; then :
1684   ac_retval=0
1685 else
1686   $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1688
1689     ac_retval=1
1690 fi
1691   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692   as_fn_set_status $ac_retval
1693
1694 } # ac_fn_c_try_cpp
1695
1696 # ac_fn_c_try_run LINENO
1697 # ----------------------
1698 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1699 # that executables *can* be run.
1700 ac_fn_c_try_run ()
1701 {
1702   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703   if { { ac_try="$ac_link"
1704 case "(($ac_try" in
1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706   *) ac_try_echo=$ac_try;;
1707 esac
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710   (eval "$ac_link") 2>&5
1711   ac_status=$?
1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1714   { { case "(($ac_try" in
1715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716   *) ac_try_echo=$ac_try;;
1717 esac
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720   (eval "$ac_try") 2>&5
1721   ac_status=$?
1722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723   test $ac_status = 0; }; }; then :
1724   ac_retval=0
1725 else
1726   $as_echo "$as_me: program exited with status $ac_status" >&5
1727        $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1729
1730        ac_retval=$ac_status
1731 fi
1732   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734   as_fn_set_status $ac_retval
1735
1736 } # ac_fn_c_try_run
1737
1738 # ac_fn_c_check_func LINENO FUNC VAR
1739 # ----------------------------------
1740 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1741 ac_fn_c_check_func ()
1742 {
1743   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if eval \${$3+:} false; then :
1747   $as_echo_n "(cached) " >&6
1748 else
1749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h.  */
1751 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1753 #define $2 innocuous_$2
1754
1755 /* System header to define __stub macros and hopefully few prototypes,
1756     which can conflict with char $2 (); below.
1757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1758     <limits.h> exists even on freestanding compilers.  */
1759
1760 #ifdef __STDC__
1761 # include <limits.h>
1762 #else
1763 # include <assert.h>
1764 #endif
1765
1766 #undef $2
1767
1768 /* Override any GCC internal prototype to avoid an error.
1769    Use char because int might match the return type of a GCC
1770    builtin and then its argument prototype would still apply.  */
1771 #ifdef __cplusplus
1772 extern "C"
1773 #endif
1774 char $2 ();
1775 /* The GNU C library defines this for functions which it implements
1776     to always fail with ENOSYS.  Some functions are actually named
1777     something starting with __ and the normal name is an alias.  */
1778 #if defined __stub_$2 || defined __stub___$2
1779 choke me
1780 #endif
1781
1782 int
1783 main ()
1784 {
1785 return $2 ();
1786   ;
1787   return 0;
1788 }
1789 _ACEOF
1790 if ac_fn_c_try_link "$LINENO"; then :
1791   eval "$3=yes"
1792 else
1793   eval "$3=no"
1794 fi
1795 rm -f core conftest.err conftest.$ac_objext \
1796     conftest$ac_exeext conftest.$ac_ext
1797 fi
1798 eval ac_res=\$$3
1799                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800 $as_echo "$ac_res" >&6; }
1801   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802
1803 } # ac_fn_c_check_func
1804
1805 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1806 # -------------------------------------------------------
1807 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1808 # the include files in INCLUDES and setting the cache variable VAR
1809 # accordingly.
1810 ac_fn_c_check_header_mongrel ()
1811 {
1812   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813   if eval \${$3+:} false; then :
1814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval \${$3+:} false; then :
1817   $as_echo_n "(cached) " >&6
1818 fi
1819 eval ac_res=\$$3
1820                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821 $as_echo "$ac_res" >&6; }
1822 else
1823   # Is the header compilable?
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1825 $as_echo_n "checking $2 usability... " >&6; }
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h.  */
1828 $4
1829 #include <$2>
1830 _ACEOF
1831 if ac_fn_c_try_compile "$LINENO"; then :
1832   ac_header_compiler=yes
1833 else
1834   ac_header_compiler=no
1835 fi
1836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1838 $as_echo "$ac_header_compiler" >&6; }
1839
1840 # Is the header present?
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1842 $as_echo_n "checking $2 presence... " >&6; }
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h.  */
1845 #include <$2>
1846 _ACEOF
1847 if ac_fn_c_try_cpp "$LINENO"; then :
1848   ac_header_preproc=yes
1849 else
1850   ac_header_preproc=no
1851 fi
1852 rm -f conftest.err conftest.i conftest.$ac_ext
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1854 $as_echo "$ac_header_preproc" >&6; }
1855
1856 # So?  What about this header?
1857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1858   yes:no: )
1859     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1860 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1861     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1862 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1863     ;;
1864   no:yes:* )
1865     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1866 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1867     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1868 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1869     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1870 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1871     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1872 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1873     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1874 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1875 ( $as_echo "## ------------------------------ ##
1876 ## Report this to nick@ndcode.org ##
1877 ## ------------------------------ ##"
1878      ) | sed "s/^/$as_me: WARNING:     /" >&2
1879     ;;
1880 esac
1881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if eval \${$3+:} false; then :
1884   $as_echo_n "(cached) " >&6
1885 else
1886   eval "$3=\$ac_header_compiler"
1887 fi
1888 eval ac_res=\$$3
1889                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1890 $as_echo "$ac_res" >&6; }
1891 fi
1892   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893
1894 } # ac_fn_c_check_header_mongrel
1895
1896 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1897 # -------------------------------------------
1898 # Tests whether TYPE exists after having included INCLUDES, setting cache
1899 # variable VAR accordingly.
1900 ac_fn_c_check_type ()
1901 {
1902   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if eval \${$3+:} false; then :
1906   $as_echo_n "(cached) " >&6
1907 else
1908   eval "$3=no"
1909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h.  */
1911 $4
1912 int
1913 main ()
1914 {
1915 if (sizeof ($2))
1916          return 0;
1917   ;
1918   return 0;
1919 }
1920 _ACEOF
1921 if ac_fn_c_try_compile "$LINENO"; then :
1922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h.  */
1924 $4
1925 int
1926 main ()
1927 {
1928 if (sizeof (($2)))
1929             return 0;
1930   ;
1931   return 0;
1932 }
1933 _ACEOF
1934 if ac_fn_c_try_compile "$LINENO"; then :
1935
1936 else
1937   eval "$3=yes"
1938 fi
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 fi
1941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1942 fi
1943 eval ac_res=\$$3
1944                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947
1948 } # ac_fn_c_check_type
1949 cat >config.log <<_ACEOF
1950 This file contains any messages produced by compilers while
1951 running configure, to aid debugging if configure makes a mistake.
1952
1953 It was created by zettair $as_me 0.9.3patched, which was
1954 generated by GNU Autoconf 2.69.  Invocation command line was
1955
1956   $ $0 $@
1957
1958 _ACEOF
1959 exec 5>>config.log
1960 {
1961 cat <<_ASUNAME
1962 ## --------- ##
1963 ## Platform. ##
1964 ## --------- ##
1965
1966 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1967 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1968 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1969 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1970 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1971
1972 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1973 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1974
1975 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1976 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1977 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1978 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1979 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1980 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1981 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1982
1983 _ASUNAME
1984
1985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986 for as_dir in $PATH
1987 do
1988   IFS=$as_save_IFS
1989   test -z "$as_dir" && as_dir=.
1990     $as_echo "PATH: $as_dir"
1991   done
1992 IFS=$as_save_IFS
1993
1994 } >&5
1995
1996 cat >&5 <<_ACEOF
1997
1998
1999 ## ----------- ##
2000 ## Core tests. ##
2001 ## ----------- ##
2002
2003 _ACEOF
2004
2005
2006 # Keep a trace of the command line.
2007 # Strip out --no-create and --no-recursion so they do not pile up.
2008 # Strip out --silent because we don't want to record it for future runs.
2009 # Also quote any args containing shell meta-characters.
2010 # Make two passes to allow for proper duplicate-argument suppression.
2011 ac_configure_args=
2012 ac_configure_args0=
2013 ac_configure_args1=
2014 ac_must_keep_next=false
2015 for ac_pass in 1 2
2016 do
2017   for ac_arg
2018   do
2019     case $ac_arg in
2020     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2021     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2022     | -silent | --silent | --silen | --sile | --sil)
2023       continue ;;
2024     *\'*)
2025       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2026     esac
2027     case $ac_pass in
2028     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2029     2)
2030       as_fn_append ac_configure_args1 " '$ac_arg'"
2031       if test $ac_must_keep_next = true; then
2032         ac_must_keep_next=false # Got value, back to normal.
2033       else
2034         case $ac_arg in
2035           *=* | --config-cache | -C | -disable-* | --disable-* \
2036           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2037           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2038           | -with-* | --with-* | -without-* | --without-* | --x)
2039             case "$ac_configure_args0 " in
2040               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2041             esac
2042             ;;
2043           -* ) ac_must_keep_next=true ;;
2044         esac
2045       fi
2046       as_fn_append ac_configure_args " '$ac_arg'"
2047       ;;
2048     esac
2049   done
2050 done
2051 { ac_configure_args0=; unset ac_configure_args0;}
2052 { ac_configure_args1=; unset ac_configure_args1;}
2053
2054 # When interrupted or exit'd, cleanup temporary files, and complete
2055 # config.log.  We remove comments because anyway the quotes in there
2056 # would cause problems or look ugly.
2057 # WARNING: Use '\'' to represent an apostrophe within the trap.
2058 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2059 trap 'exit_status=$?
2060   # Save into config.log some information that might help in debugging.
2061   {
2062     echo
2063
2064     $as_echo "## ---------------- ##
2065 ## Cache variables. ##
2066 ## ---------------- ##"
2067     echo
2068     # The following way of writing the cache mishandles newlines in values,
2069 (
2070   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2071     eval ac_val=\$$ac_var
2072     case $ac_val in #(
2073     *${as_nl}*)
2074       case $ac_var in #(
2075       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2076 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2077       esac
2078       case $ac_var in #(
2079       _ | IFS | as_nl) ;; #(
2080       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2081       *) { eval $ac_var=; unset $ac_var;} ;;
2082       esac ;;
2083     esac
2084   done
2085   (set) 2>&1 |
2086     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2087     *${as_nl}ac_space=\ *)
2088       sed -n \
2089         "s/'\''/'\''\\\\'\'''\''/g;
2090           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2091       ;; #(
2092     *)
2093       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2094       ;;
2095     esac |
2096     sort
2097 )
2098     echo
2099
2100     $as_echo "## ----------------- ##
2101 ## Output variables. ##
2102 ## ----------------- ##"
2103     echo
2104     for ac_var in $ac_subst_vars
2105     do
2106       eval ac_val=\$$ac_var
2107       case $ac_val in
2108       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2109       esac
2110       $as_echo "$ac_var='\''$ac_val'\''"
2111     done | sort
2112     echo
2113
2114     if test -n "$ac_subst_files"; then
2115       $as_echo "## ------------------- ##
2116 ## File substitutions. ##
2117 ## ------------------- ##"
2118       echo
2119       for ac_var in $ac_subst_files
2120       do
2121         eval ac_val=\$$ac_var
2122         case $ac_val in
2123         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2124         esac
2125         $as_echo "$ac_var='\''$ac_val'\''"
2126       done | sort
2127       echo
2128     fi
2129
2130     if test -s confdefs.h; then
2131       $as_echo "## ----------- ##
2132 ## confdefs.h. ##
2133 ## ----------- ##"
2134       echo
2135       cat confdefs.h
2136       echo
2137     fi
2138     test "$ac_signal" != 0 &&
2139       $as_echo "$as_me: caught signal $ac_signal"
2140     $as_echo "$as_me: exit $exit_status"
2141   } >&5
2142   rm -f core *.core core.conftest.* &&
2143     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2144     exit $exit_status
2145 ' 0
2146 for ac_signal in 1 2 13 15; do
2147   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2148 done
2149 ac_signal=0
2150
2151 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2152 rm -f -r conftest* confdefs.h
2153
2154 $as_echo "/* confdefs.h */" > confdefs.h
2155
2156 # Predefined preprocessor variables.
2157
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_NAME "$PACKAGE_NAME"
2160 _ACEOF
2161
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2164 _ACEOF
2165
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2168 _ACEOF
2169
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_STRING "$PACKAGE_STRING"
2172 _ACEOF
2173
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2176 _ACEOF
2177
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_URL "$PACKAGE_URL"
2180 _ACEOF
2181
2182
2183 # Let the site file select an alternate cache file if it wants to.
2184 # Prefer an explicitly selected file to automatically selected ones.
2185 ac_site_file1=NONE
2186 ac_site_file2=NONE
2187 if test -n "$CONFIG_SITE"; then
2188   # We do not want a PATH search for config.site.
2189   case $CONFIG_SITE in #((
2190     -*)  ac_site_file1=./$CONFIG_SITE;;
2191     */*) ac_site_file1=$CONFIG_SITE;;
2192     *)   ac_site_file1=./$CONFIG_SITE;;
2193   esac
2194 elif test "x$prefix" != xNONE; then
2195   ac_site_file1=$prefix/share/config.site
2196   ac_site_file2=$prefix/etc/config.site
2197 else
2198   ac_site_file1=$ac_default_prefix/share/config.site
2199   ac_site_file2=$ac_default_prefix/etc/config.site
2200 fi
2201 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2202 do
2203   test "x$ac_site_file" = xNONE && continue
2204   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2205     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2206 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2207     sed 's/^/| /' "$ac_site_file" >&5
2208     . "$ac_site_file" \
2209       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2211 as_fn_error $? "failed to load site script $ac_site_file
2212 See \`config.log' for more details" "$LINENO" 5; }
2213   fi
2214 done
2215
2216 if test -r "$cache_file"; then
2217   # Some versions of bash will fail to source /dev/null (special files
2218   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2219   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2220     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2221 $as_echo "$as_me: loading cache $cache_file" >&6;}
2222     case $cache_file in
2223       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2224       *)                      . "./$cache_file";;
2225     esac
2226   fi
2227 else
2228   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2229 $as_echo "$as_me: creating cache $cache_file" >&6;}
2230   >$cache_file
2231 fi
2232
2233 # Check that the precious variables saved in the cache have kept the same
2234 # value.
2235 ac_cache_corrupted=false
2236 for ac_var in $ac_precious_vars; do
2237   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2238   eval ac_new_set=\$ac_env_${ac_var}_set
2239   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2240   eval ac_new_val=\$ac_env_${ac_var}_value
2241   case $ac_old_set,$ac_new_set in
2242     set,)
2243       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2244 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2245       ac_cache_corrupted=: ;;
2246     ,set)
2247       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2248 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2249       ac_cache_corrupted=: ;;
2250     ,);;
2251     *)
2252       if test "x$ac_old_val" != "x$ac_new_val"; then
2253         # differences in whitespace do not lead to failure.
2254         ac_old_val_w=`echo x $ac_old_val`
2255         ac_new_val_w=`echo x $ac_new_val`
2256         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2257           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2258 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2259           ac_cache_corrupted=:
2260         else
2261           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2262 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2263           eval $ac_var=\$ac_old_val
2264         fi
2265         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2266 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2267         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2268 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2269       fi;;
2270   esac
2271   # Pass precious variables to config.status.
2272   if test "$ac_new_set" = set; then
2273     case $ac_new_val in
2274     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2275     *) ac_arg=$ac_var=$ac_new_val ;;
2276     esac
2277     case " $ac_configure_args " in
2278       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2279       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2280     esac
2281   fi
2282 done
2283 if $ac_cache_corrupted; then
2284   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2286   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2287 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2288   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2289 fi
2290 ## -------------------- ##
2291 ## Main body of script. ##
2292 ## -------------------- ##
2293
2294 ac_ext=c
2295 ac_cpp='$CPP $CPPFLAGS'
2296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2299
2300
2301
2302 # calculate variables for target system
2303 ac_aux_dir=
2304 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2305   if test -f "$ac_dir/install-sh"; then
2306     ac_aux_dir=$ac_dir
2307     ac_install_sh="$ac_aux_dir/install-sh -c"
2308     break
2309   elif test -f "$ac_dir/install.sh"; then
2310     ac_aux_dir=$ac_dir
2311     ac_install_sh="$ac_aux_dir/install.sh -c"
2312     break
2313   elif test -f "$ac_dir/shtool"; then
2314     ac_aux_dir=$ac_dir
2315     ac_install_sh="$ac_aux_dir/shtool install -c"
2316     break
2317   fi
2318 done
2319 if test -z "$ac_aux_dir"; then
2320   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2321 fi
2322
2323 # These three variables are undocumented and unsupported,
2324 # and are intended to be withdrawn in a future Autoconf release.
2325 # They can cause serious problems if a builder's source tree is in a directory
2326 # whose full name contains unusual characters.
2327 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2328 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2329 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2330
2331
2332 # Make sure we can run config.sub.
2333 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2334   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2335
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2337 $as_echo_n "checking build system type... " >&6; }
2338 if ${ac_cv_build+:} false; then :
2339   $as_echo_n "(cached) " >&6
2340 else
2341   ac_build_alias=$build_alias
2342 test "x$ac_build_alias" = x &&
2343   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2344 test "x$ac_build_alias" = x &&
2345   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2346 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2347   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2348
2349 fi
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2351 $as_echo "$ac_cv_build" >&6; }
2352 case $ac_cv_build in
2353 *-*-*) ;;
2354 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2355 esac
2356 build=$ac_cv_build
2357 ac_save_IFS=$IFS; IFS='-'
2358 set x $ac_cv_build
2359 shift
2360 build_cpu=$1
2361 build_vendor=$2
2362 shift; shift
2363 # Remember, the first character of IFS is used to create $*,
2364 # except with old shells:
2365 build_os=$*
2366 IFS=$ac_save_IFS
2367 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2368
2369
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2371 $as_echo_n "checking host system type... " >&6; }
2372 if ${ac_cv_host+:} false; then :
2373   $as_echo_n "(cached) " >&6
2374 else
2375   if test "x$host_alias" = x; then
2376   ac_cv_host=$ac_cv_build
2377 else
2378   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2379     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2380 fi
2381
2382 fi
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2384 $as_echo "$ac_cv_host" >&6; }
2385 case $ac_cv_host in
2386 *-*-*) ;;
2387 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2388 esac
2389 host=$ac_cv_host
2390 ac_save_IFS=$IFS; IFS='-'
2391 set x $ac_cv_host
2392 shift
2393 host_cpu=$1
2394 host_vendor=$2
2395 shift; shift
2396 # Remember, the first character of IFS is used to create $*,
2397 # except with old shells:
2398 host_os=$*
2399 IFS=$ac_save_IFS
2400 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2401
2402
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2404 $as_echo_n "checking target system type... " >&6; }
2405 if ${ac_cv_target+:} false; then :
2406   $as_echo_n "(cached) " >&6
2407 else
2408   if test "x$target_alias" = x; then
2409   ac_cv_target=$ac_cv_host
2410 else
2411   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2412     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2413 fi
2414
2415 fi
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2417 $as_echo "$ac_cv_target" >&6; }
2418 case $ac_cv_target in
2419 *-*-*) ;;
2420 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2421 esac
2422 target=$ac_cv_target
2423 ac_save_IFS=$IFS; IFS='-'
2424 set x $ac_cv_target
2425 shift
2426 target_cpu=$1
2427 target_vendor=$2
2428 shift; shift
2429 # Remember, the first character of IFS is used to create $*,
2430 # except with old shells:
2431 target_os=$*
2432 IFS=$ac_save_IFS
2433 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2434
2435
2436 # The aliases save the names the user supplied, while $host etc.
2437 # will get canonicalized.
2438 test -n "$target_alias" &&
2439   test "$program_prefix$program_suffix$program_transform_name" = \
2440     NONENONEs,x,x, &&
2441   program_prefix=${target_alias}-
2442
2443 # check for valgrind
2444
2445 # Check whether --with-valgrind was given.
2446 if test "${with_valgrind+set}" = set; then :
2447   withval=$with_valgrind;
2448 fi
2449
2450
2451 if test "x$with_valgrind" != "x"; then
2452
2453 $as_echo "#define WITH_VALGRIND 1" >>confdefs.h
2454
2455     # check in various locations for valgrind headers
2456
2457     # note that we use CHECK_FILES instead of CHECK_HEADERS, because
2458     # CHECK_HEADERS tries to compile the headers, which fails and
2459     # causes confusion
2460
2461     if test "x$with_valgrind" != "xyes"; then
2462
2463         # also note that trying to get valgrind_include, HAVE_VALGRIND_H
2464         # and HAVE_MEMCHECK_H defined properly in this ridiculous
2465         # frankenstein of a so-called programming environment is absurdly
2466         # complicated, hence the mess below
2467         path=$with_valgrind
2468         if test "x$valgrind_include" == "x"; then
2469             as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2471 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2472 if eval \${$as_ac_File+:} false; then :
2473   $as_echo_n "(cached) " >&6
2474 else
2475   test "$cross_compiling" = yes &&
2476   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2477 if test -r "$path/valgrind.h"; then
2478   eval "$as_ac_File=yes"
2479 else
2480   eval "$as_ac_File=no"
2481 fi
2482 fi
2483 eval ac_res=\$$as_ac_File
2484                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2485 $as_echo "$ac_res" >&6; }
2486 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2487   valgrind_include=$path
2488 fi
2489
2490             if test "x$valgrind_include" != "x"; then
2491                 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2493 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2494 if eval \${$as_ac_File+:} false; then :
2495   $as_echo_n "(cached) " >&6
2496 else
2497   test "$cross_compiling" = yes &&
2498   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2499 if test -r "$path/memcheck.h"; then
2500   eval "$as_ac_File=yes"
2501 else
2502   eval "$as_ac_File=no"
2503 fi
2504 fi
2505 eval ac_res=\$$as_ac_File
2506                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2507 $as_echo "$ac_res" >&6; }
2508 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2509   memcheck=yes
2510 fi
2511
2512                 if test "x$memcheck" == "xyes"; then
2513
2514 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2515
2516                 fi
2517
2518 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2519
2520             fi
2521         fi
2522
2523         path=$with_valgrind/include
2524         if test "x$valgrind_include" == "x"; then
2525             as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2527 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2528 if eval \${$as_ac_File+:} false; then :
2529   $as_echo_n "(cached) " >&6
2530 else
2531   test "$cross_compiling" = yes &&
2532   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2533 if test -r "$path/valgrind.h"; then
2534   eval "$as_ac_File=yes"
2535 else
2536   eval "$as_ac_File=no"
2537 fi
2538 fi
2539 eval ac_res=\$$as_ac_File
2540                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2541 $as_echo "$ac_res" >&6; }
2542 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2543   valgrind_include=$path
2544 fi
2545
2546             if test "x$valgrind_include" != "x"; then
2547                 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2549 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2550 if eval \${$as_ac_File+:} false; then :
2551   $as_echo_n "(cached) " >&6
2552 else
2553   test "$cross_compiling" = yes &&
2554   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2555 if test -r "$path/memcheck.h"; then
2556   eval "$as_ac_File=yes"
2557 else
2558   eval "$as_ac_File=no"
2559 fi
2560 fi
2561 eval ac_res=\$$as_ac_File
2562                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2563 $as_echo "$ac_res" >&6; }
2564 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2565   memcheck=yes
2566 fi
2567
2568                 if test "x$memcheck" == "xyes"; then
2569
2570 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2571
2572                 fi
2573
2574 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2575
2576             fi
2577         fi
2578
2579         path=$with_valgrind/include/valgrind
2580         if test "x$valgrind_include" == "x"; then
2581             as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2583 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2584 if eval \${$as_ac_File+:} false; then :
2585   $as_echo_n "(cached) " >&6
2586 else
2587   test "$cross_compiling" = yes &&
2588   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2589 if test -r "$path/valgrind.h"; then
2590   eval "$as_ac_File=yes"
2591 else
2592   eval "$as_ac_File=no"
2593 fi
2594 fi
2595 eval ac_res=\$$as_ac_File
2596                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2597 $as_echo "$ac_res" >&6; }
2598 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2599   valgrind_include=$path
2600 fi
2601
2602             if test "x$valgrind_include" != "x"; then
2603                 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2605 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2606 if eval \${$as_ac_File+:} false; then :
2607   $as_echo_n "(cached) " >&6
2608 else
2609   test "$cross_compiling" = yes &&
2610   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2611 if test -r "$path/memcheck.h"; then
2612   eval "$as_ac_File=yes"
2613 else
2614   eval "$as_ac_File=no"
2615 fi
2616 fi
2617 eval ac_res=\$$as_ac_File
2618                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2619 $as_echo "$ac_res" >&6; }
2620 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2621   memcheck=yes
2622 fi
2623
2624                 if test "x$memcheck" == "xyes"; then
2625
2626 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2627
2628                 fi
2629
2630 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2631
2632             fi
2633         fi
2634
2635         path=$with_valgrind/valgrind
2636         if test "x$valgrind_include" == "x"; then
2637             as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2639 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2640 if eval \${$as_ac_File+:} false; then :
2641   $as_echo_n "(cached) " >&6
2642 else
2643   test "$cross_compiling" = yes &&
2644   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2645 if test -r "$path/valgrind.h"; then
2646   eval "$as_ac_File=yes"
2647 else
2648   eval "$as_ac_File=no"
2649 fi
2650 fi
2651 eval ac_res=\$$as_ac_File
2652                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2653 $as_echo "$ac_res" >&6; }
2654 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2655   valgrind_include=$path
2656 fi
2657
2658             if test "x$valgrind_include" != "x"; then
2659                 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2661 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2662 if eval \${$as_ac_File+:} false; then :
2663   $as_echo_n "(cached) " >&6
2664 else
2665   test "$cross_compiling" = yes &&
2666   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2667 if test -r "$path/memcheck.h"; then
2668   eval "$as_ac_File=yes"
2669 else
2670   eval "$as_ac_File=no"
2671 fi
2672 fi
2673 eval ac_res=\$$as_ac_File
2674                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2675 $as_echo "$ac_res" >&6; }
2676 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2677   memcheck=yes
2678 fi
2679
2680                 if test "x$memcheck" == "xyes"; then
2681
2682 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2683
2684                 fi
2685
2686 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2687
2688             fi
2689         fi
2690     fi
2691
2692     path=/usr/include/valgrind
2693     if test "x$valgrind_include" == "x"; then
2694         as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2696 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2697 if eval \${$as_ac_File+:} false; then :
2698   $as_echo_n "(cached) " >&6
2699 else
2700   test "$cross_compiling" = yes &&
2701   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2702 if test -r "$path/valgrind.h"; then
2703   eval "$as_ac_File=yes"
2704 else
2705   eval "$as_ac_File=no"
2706 fi
2707 fi
2708 eval ac_res=\$$as_ac_File
2709                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2712   valgrind_include=$path
2713 fi
2714
2715         if test "x$valgrind_include" != "x"; then
2716             as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2718 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2719 if eval \${$as_ac_File+:} false; then :
2720   $as_echo_n "(cached) " >&6
2721 else
2722   test "$cross_compiling" = yes &&
2723   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2724 if test -r "$path/memcheck.h"; then
2725   eval "$as_ac_File=yes"
2726 else
2727   eval "$as_ac_File=no"
2728 fi
2729 fi
2730 eval ac_res=\$$as_ac_File
2731                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2732 $as_echo "$ac_res" >&6; }
2733 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2734   memcheck=yes
2735 fi
2736
2737             if test "x$memcheck" == "xyes"; then
2738
2739 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2740
2741             fi
2742
2743 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2744
2745         fi
2746     fi
2747
2748     path=/usr/include/
2749     if test "x$valgrind_include" == "x"; then
2750         as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2752 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2753 if eval \${$as_ac_File+:} false; then :
2754   $as_echo_n "(cached) " >&6
2755 else
2756   test "$cross_compiling" = yes &&
2757   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2758 if test -r "$path/valgrind.h"; then
2759   eval "$as_ac_File=yes"
2760 else
2761   eval "$as_ac_File=no"
2762 fi
2763 fi
2764 eval ac_res=\$$as_ac_File
2765                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2766 $as_echo "$ac_res" >&6; }
2767 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2768   valgrind_include=$path
2769 fi
2770
2771         if test "x$valgrind_include" != "x"; then
2772             as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2774 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2775 if eval \${$as_ac_File+:} false; then :
2776   $as_echo_n "(cached) " >&6
2777 else
2778   test "$cross_compiling" = yes &&
2779   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2780 if test -r "$path/memcheck.h"; then
2781   eval "$as_ac_File=yes"
2782 else
2783   eval "$as_ac_File=no"
2784 fi
2785 fi
2786 eval ac_res=\$$as_ac_File
2787                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2788 $as_echo "$ac_res" >&6; }
2789 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2790   memcheck=yes
2791 fi
2792
2793             if test "x$memcheck" == "xyes"; then
2794
2795 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2796
2797             fi
2798
2799 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2800
2801         fi
2802     fi
2803
2804     path=/usr/local/include/
2805     if test "x$valgrind_include" == "x"; then
2806         as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2808 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2809 if eval \${$as_ac_File+:} false; then :
2810   $as_echo_n "(cached) " >&6
2811 else
2812   test "$cross_compiling" = yes &&
2813   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2814 if test -r "$path/valgrind.h"; then
2815   eval "$as_ac_File=yes"
2816 else
2817   eval "$as_ac_File=no"
2818 fi
2819 fi
2820 eval ac_res=\$$as_ac_File
2821                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2822 $as_echo "$ac_res" >&6; }
2823 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2824   valgrind_include=$path
2825 fi
2826
2827         if test "x$valgrind_include" != "x"; then
2828             as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2830 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2831 if eval \${$as_ac_File+:} false; then :
2832   $as_echo_n "(cached) " >&6
2833 else
2834   test "$cross_compiling" = yes &&
2835   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2836 if test -r "$path/memcheck.h"; then
2837   eval "$as_ac_File=yes"
2838 else
2839   eval "$as_ac_File=no"
2840 fi
2841 fi
2842 eval ac_res=\$$as_ac_File
2843                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2844 $as_echo "$ac_res" >&6; }
2845 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2846   memcheck=yes
2847 fi
2848
2849             if test "x$memcheck" == "xyes"; then
2850
2851 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2852
2853             fi
2854
2855 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2856
2857         fi
2858     fi
2859
2860     if test "x$valgrind_include" == "x"; then
2861         as_fn_error $? "Can't find valgrind.h include file" "$LINENO" 5
2862     fi
2863 fi
2864
2865 if test "x$valgrind_include" != "x"; then
2866     CPPFLAGS="$CPPFLAGS -I $valgrind_include"
2867 fi
2868
2869 # note that we've switch from config.h.in to config_h.in for
2870 # compatibility with various crappy win32 zip programs :o(
2871 ac_config_headers="$ac_config_headers src/include/config.h:src/include/config_h.in"
2872
2873 #AM_INIT_AUTOMAKE(subdir-objects)
2874 am__api_version='1.15'
2875
2876 # Find a good install program.  We prefer a C program (faster),
2877 # so one script is as good as another.  But avoid the broken or
2878 # incompatible versions:
2879 # SysV /etc/install, /usr/sbin/install
2880 # SunOS /usr/etc/install
2881 # IRIX /sbin/install
2882 # AIX /bin/install
2883 # AmigaOS /C/install, which installs bootblocks on floppy discs
2884 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2885 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2886 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2887 # OS/2's system install, which has a completely different semantic
2888 # ./install, which can be erroneously created by make from ./install.sh.
2889 # Reject install programs that cannot install multiple files.
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2891 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2892 if test -z "$INSTALL"; then
2893 if ${ac_cv_path_install+:} false; then :
2894   $as_echo_n "(cached) " >&6
2895 else
2896   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 for as_dir in $PATH
2898 do
2899   IFS=$as_save_IFS
2900   test -z "$as_dir" && as_dir=.
2901     # Account for people who put trailing slashes in PATH elements.
2902 case $as_dir/ in #((
2903   ./ | .// | /[cC]/* | \
2904   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2905   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2906   /usr/ucb/* ) ;;
2907   *)
2908     # OSF1 and SCO ODT 3.0 have their own names for install.
2909     # Don't use installbsd from OSF since it installs stuff as root
2910     # by default.
2911     for ac_prog in ginstall scoinst install; do
2912       for ac_exec_ext in '' $ac_executable_extensions; do
2913         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2914           if test $ac_prog = install &&
2915             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2916             # AIX install.  It has an incompatible calling convention.
2917             :
2918           elif test $ac_prog = install &&
2919             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2920             # program-specific install script used by HP pwplus--don't use.
2921             :
2922           else
2923             rm -rf conftest.one conftest.two conftest.dir
2924             echo one > conftest.one
2925             echo two > conftest.two
2926             mkdir conftest.dir
2927             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2928               test -s conftest.one && test -s conftest.two &&
2929               test -s conftest.dir/conftest.one &&
2930               test -s conftest.dir/conftest.two
2931             then
2932               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2933               break 3
2934             fi
2935           fi
2936         fi
2937       done
2938     done
2939     ;;
2940 esac
2941
2942   done
2943 IFS=$as_save_IFS
2944
2945 rm -rf conftest.one conftest.two conftest.dir
2946
2947 fi
2948   if test "${ac_cv_path_install+set}" = set; then
2949     INSTALL=$ac_cv_path_install
2950   else
2951     # As a last resort, use the slow shell script.  Don't cache a
2952     # value for INSTALL within a source directory, because that will
2953     # break other packages using the cache if that directory is
2954     # removed, or if the value is a relative name.
2955     INSTALL=$ac_install_sh
2956   fi
2957 fi
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2959 $as_echo "$INSTALL" >&6; }
2960
2961 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2962 # It thinks the first close brace ends the variable substitution.
2963 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2964
2965 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2966
2967 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2968
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2970 $as_echo_n "checking whether build environment is sane... " >&6; }
2971 # Reject unsafe characters in $srcdir or the absolute working directory
2972 # name.  Accept space and tab only in the latter.
2973 am_lf='
2974 '
2975 case `pwd` in
2976   *[\\\"\#\$\&\'\`$am_lf]*)
2977     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2978 esac
2979 case $srcdir in
2980   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2981     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2982 esac
2983
2984 # Do 'set' in a subshell so we don't clobber the current shell's
2985 # arguments.  Must try -L first in case configure is actually a
2986 # symlink; some systems play weird games with the mod time of symlinks
2987 # (eg FreeBSD returns the mod time of the symlink's containing
2988 # directory).
2989 if (
2990    am_has_slept=no
2991    for am_try in 1 2; do
2992      echo "timestamp, slept: $am_has_slept" > conftest.file
2993      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2994      if test "$*" = "X"; then
2995         # -L didn't work.
2996         set X `ls -t "$srcdir/configure" conftest.file`
2997      fi
2998      if test "$*" != "X $srcdir/configure conftest.file" \
2999         && test "$*" != "X conftest.file $srcdir/configure"; then
3000
3001         # If neither matched, then we have a broken ls.  This can happen
3002         # if, for instance, CONFIG_SHELL is bash and it inherits a
3003         # broken ls alias from the environment.  This has actually
3004         # happened.  Such a system could not be considered "sane".
3005         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3006   alias in your environment" "$LINENO" 5
3007      fi
3008      if test "$2" = conftest.file || test $am_try -eq 2; then
3009        break
3010      fi
3011      # Just in case.
3012      sleep 1
3013      am_has_slept=yes
3014    done
3015    test "$2" = conftest.file
3016    )
3017 then
3018    # Ok.
3019    :
3020 else
3021    as_fn_error $? "newly created file is older than distributed files!
3022 Check your system clock" "$LINENO" 5
3023 fi
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3025 $as_echo "yes" >&6; }
3026 # If we didn't sleep, we still need to ensure time stamps of config.status and
3027 # generated files are strictly newer.
3028 am_sleep_pid=
3029 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3030   ( sleep 1 ) &
3031   am_sleep_pid=$!
3032 fi
3033
3034 rm -f conftest.file
3035
3036 test "$program_prefix" != NONE &&
3037   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3038 # Use a double $ so make ignores it.
3039 test "$program_suffix" != NONE &&
3040   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3041 # Double any \ or $.
3042 # By default was `s,x,x', remove it if useless.
3043 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3044 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3045
3046 # Expand $ac_aux_dir to an absolute path.
3047 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3048
3049 if test x"${MISSING+set}" != xset; then
3050   case $am_aux_dir in
3051   *\ * | *\     *)
3052     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3053   *)
3054     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3055   esac
3056 fi
3057 # Use eval to expand $SHELL
3058 if eval "$MISSING --is-lightweight"; then
3059   am_missing_run="$MISSING "
3060 else
3061   am_missing_run=
3062   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3063 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3064 fi
3065
3066 if test x"${install_sh+set}" != xset; then
3067   case $am_aux_dir in
3068   *\ * | *\     *)
3069     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3070   *)
3071     install_sh="\${SHELL} $am_aux_dir/install-sh"
3072   esac
3073 fi
3074
3075 # Installed binaries are usually stripped using 'strip' when the user
3076 # run "make install-strip".  However 'strip' might not be the right
3077 # tool to use in cross-compilation environments, therefore Automake
3078 # will honor the 'STRIP' environment variable to overrule this program.
3079 if test "$cross_compiling" != no; then
3080   if test -n "$ac_tool_prefix"; then
3081   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3082 set dummy ${ac_tool_prefix}strip; ac_word=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_STRIP+:} false; then :
3086   $as_echo_n "(cached) " >&6
3087 else
3088   if test -n "$STRIP"; then
3089   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3090 else
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 for as_dir in $PATH
3093 do
3094   IFS=$as_save_IFS
3095   test -z "$as_dir" && as_dir=.
3096     for ac_exec_ext in '' $ac_executable_extensions; do
3097   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100     break 2
3101   fi
3102 done
3103   done
3104 IFS=$as_save_IFS
3105
3106 fi
3107 fi
3108 STRIP=$ac_cv_prog_STRIP
3109 if test -n "$STRIP"; then
3110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3111 $as_echo "$STRIP" >&6; }
3112 else
3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3115 fi
3116
3117
3118 fi
3119 if test -z "$ac_cv_prog_STRIP"; then
3120   ac_ct_STRIP=$STRIP
3121   # Extract the first word of "strip", so it can be a program name with args.
3122 set dummy strip; ac_word=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3126   $as_echo_n "(cached) " >&6
3127 else
3128   if test -n "$ac_ct_STRIP"; then
3129   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3130 else
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3133 do
3134   IFS=$as_save_IFS
3135   test -z "$as_dir" && as_dir=.
3136     for ac_exec_ext in '' $ac_executable_extensions; do
3137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138     ac_cv_prog_ac_ct_STRIP="strip"
3139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140     break 2
3141   fi
3142 done
3143   done
3144 IFS=$as_save_IFS
3145
3146 fi
3147 fi
3148 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3149 if test -n "$ac_ct_STRIP"; then
3150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3151 $as_echo "$ac_ct_STRIP" >&6; }
3152 else
3153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3155 fi
3156
3157   if test "x$ac_ct_STRIP" = x; then
3158     STRIP=":"
3159   else
3160     case $cross_compiling:$ac_tool_warned in
3161 yes:)
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3164 ac_tool_warned=yes ;;
3165 esac
3166     STRIP=$ac_ct_STRIP
3167   fi
3168 else
3169   STRIP="$ac_cv_prog_STRIP"
3170 fi
3171
3172 fi
3173 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3174
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3176 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3177 if test -z "$MKDIR_P"; then
3178   if ${ac_cv_path_mkdir+:} false; then :
3179   $as_echo_n "(cached) " >&6
3180 else
3181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3183 do
3184   IFS=$as_save_IFS
3185   test -z "$as_dir" && as_dir=.
3186     for ac_prog in mkdir gmkdir; do
3187          for ac_exec_ext in '' $ac_executable_extensions; do
3188            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3189            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3190              'mkdir (GNU coreutils) '* | \
3191              'mkdir (coreutils) '* | \
3192              'mkdir (fileutils) '4.1*)
3193                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3194                break 3;;
3195            esac
3196          done
3197        done
3198   done
3199 IFS=$as_save_IFS
3200
3201 fi
3202
3203   test -d ./--version && rmdir ./--version
3204   if test "${ac_cv_path_mkdir+set}" = set; then
3205     MKDIR_P="$ac_cv_path_mkdir -p"
3206   else
3207     # As a last resort, use the slow shell script.  Don't cache a
3208     # value for MKDIR_P within a source directory, because that will
3209     # break other packages using the cache if that directory is
3210     # removed, or if the value is a relative name.
3211     MKDIR_P="$ac_install_sh -d"
3212   fi
3213 fi
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3215 $as_echo "$MKDIR_P" >&6; }
3216
3217 for ac_prog in gawk mawk nawk awk
3218 do
3219   # Extract the first word of "$ac_prog", so it can be a program name with args.
3220 set dummy $ac_prog; ac_word=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if ${ac_cv_prog_AWK+:} false; then :
3224   $as_echo_n "(cached) " >&6
3225 else
3226   if test -n "$AWK"; then
3227   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3228 else
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 for as_dir in $PATH
3231 do
3232   IFS=$as_save_IFS
3233   test -z "$as_dir" && as_dir=.
3234     for ac_exec_ext in '' $ac_executable_extensions; do
3235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3236     ac_cv_prog_AWK="$ac_prog"
3237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3238     break 2
3239   fi
3240 done
3241   done
3242 IFS=$as_save_IFS
3243
3244 fi
3245 fi
3246 AWK=$ac_cv_prog_AWK
3247 if test -n "$AWK"; then
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3249 $as_echo "$AWK" >&6; }
3250 else
3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3253 fi
3254
3255
3256   test -n "$AWK" && break
3257 done
3258
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3260 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3261 set x ${MAKE-make}
3262 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3263 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3264   $as_echo_n "(cached) " >&6
3265 else
3266   cat >conftest.make <<\_ACEOF
3267 SHELL = /bin/sh
3268 all:
3269         @echo '@@@%%%=$(MAKE)=@@@%%%'
3270 _ACEOF
3271 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3272 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3273   *@@@%%%=?*=@@@%%%*)
3274     eval ac_cv_prog_make_${ac_make}_set=yes;;
3275   *)
3276     eval ac_cv_prog_make_${ac_make}_set=no;;
3277 esac
3278 rm -f conftest.make
3279 fi
3280 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3282 $as_echo "yes" >&6; }
3283   SET_MAKE=
3284 else
3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287   SET_MAKE="MAKE=${MAKE-make}"
3288 fi
3289
3290 rm -rf .tst 2>/dev/null
3291 mkdir .tst 2>/dev/null
3292 if test -d .tst; then
3293   am__leading_dot=.
3294 else
3295   am__leading_dot=_
3296 fi
3297 rmdir .tst 2>/dev/null
3298
3299 # Check whether --enable-silent-rules was given.
3300 if test "${enable_silent_rules+set}" = set; then :
3301   enableval=$enable_silent_rules;
3302 fi
3303
3304 case $enable_silent_rules in # (((
3305   yes) AM_DEFAULT_VERBOSITY=0;;
3306    no) AM_DEFAULT_VERBOSITY=1;;
3307     *) AM_DEFAULT_VERBOSITY=1;;
3308 esac
3309 am_make=${MAKE-make}
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3311 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3312 if ${am_cv_make_support_nested_variables+:} false; then :
3313   $as_echo_n "(cached) " >&6
3314 else
3315   if $as_echo 'TRUE=$(BAR$(V))
3316 BAR0=false
3317 BAR1=true
3318 V=1
3319 am__doit:
3320         @$(TRUE)
3321 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3322   am_cv_make_support_nested_variables=yes
3323 else
3324   am_cv_make_support_nested_variables=no
3325 fi
3326 fi
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3328 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3329 if test $am_cv_make_support_nested_variables = yes; then
3330     AM_V='$(V)'
3331   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3332 else
3333   AM_V=$AM_DEFAULT_VERBOSITY
3334   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3335 fi
3336 AM_BACKSLASH='\'
3337
3338 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3339   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3340   # is not polluted with repeated "-I."
3341   am__isrc=' -I$(srcdir)'
3342   # test to see if srcdir already configured
3343   if test -f $srcdir/config.status; then
3344     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3345   fi
3346 fi
3347
3348 # test whether we have cygpath
3349 if test -z "$CYGPATH_W"; then
3350   if (cygpath --version) >/dev/null 2>/dev/null; then
3351     CYGPATH_W='cygpath -w'
3352   else
3353     CYGPATH_W=echo
3354   fi
3355 fi
3356
3357
3358 # Define the identity of the package.
3359  PACKAGE='zettair'
3360  VERSION='0.9.3patched'
3361
3362
3363 cat >>confdefs.h <<_ACEOF
3364 #define PACKAGE "$PACKAGE"
3365 _ACEOF
3366
3367
3368 cat >>confdefs.h <<_ACEOF
3369 #define VERSION "$VERSION"
3370 _ACEOF
3371
3372 # Some tools Automake needs.
3373
3374 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3375
3376
3377 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3378
3379
3380 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3381
3382
3383 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3384
3385
3386 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3387
3388 # For better backward compatibility.  To be removed once Automake 1.9.x
3389 # dies out for good.  For more background, see:
3390 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3391 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3392 mkdir_p='$(MKDIR_P)'
3393
3394 # We need awk for the "check" target (and possibly the TAP driver).  The
3395 # system "awk" is bad on some platforms.
3396 # Always define AMTAR for backward compatibility.  Yes, it's still used
3397 # in the wild :-(  We should find a proper way to deprecate it ...
3398 AMTAR='$${TAR-tar}'
3399
3400
3401 # We'll loop over all known methods to create a tar archive until one works.
3402 _am_tools='gnutar  pax cpio none'
3403
3404 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3405
3406
3407
3408
3409
3410
3411 # POSIX will say in a future version that running "rm -f" with no argument
3412 # is OK; and we want to be able to make that assumption in our Makefile
3413 # recipes.  So use an aggressive probe to check that the usage we want is
3414 # actually supported "in the wild" to an acceptable degree.
3415 # See automake bug#10828.
3416 # To make any issue more visible, cause the running configure to be aborted
3417 # by default if the 'rm' program in use doesn't match our expectations; the
3418 # user can still override this though.
3419 if rm -f && rm -fr && rm -rf; then : OK; else
3420   cat >&2 <<'END'
3421 Oops!
3422
3423 Your 'rm' program seems unable to run without file operands specified
3424 on the command line, even when the '-f' option is present.  This is contrary
3425 to the behaviour of most rm programs out there, and not conforming with
3426 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3427
3428 Please tell bug-automake@gnu.org about your system, including the value
3429 of your $PATH and any error possibly output before this message.  This
3430 can help us improve future automake versions.
3431
3432 END
3433   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3434     echo 'Configuration will proceed anyway, since you have set the' >&2
3435     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3436     echo >&2
3437   else
3438     cat >&2 <<'END'
3439 Aborting the configuration process, to ensure you take notice of the issue.
3440
3441 You can download and install GNU coreutils to get an 'rm' implementation
3442 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3443
3444 If you want to complete the configuration process using your problematic
3445 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3446 to "yes", and re-run configure.
3447
3448 END
3449     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3450   fi
3451 fi
3452
3453
3454
3455
3456 # figure out which OS specific include directory should be used (FIXME)
3457 case $target_os in
3458 *linux*)
3459   OS=LINUX
3460
3461   osinclude=linux ;;
3462 *solaris*)
3463   OS=SUNOS
3464
3465   osinclude=sunos ;;
3466 *freebsd*)
3467   OS=FREEBSD
3468
3469   osinclude=freebsd ;;
3470 *darwin*)
3471   OS=DARWIN
3472
3473   osinclude=darwin ;;
3474 *cygwin*)
3475   OS=CYGWIN
3476
3477   osinclude=cygwin ;;
3478 default)
3479   OS=LINUX
3480
3481   osinclude=linux ;;
3482 esac
3483
3484 # export variable for use in makefile
3485 OSINCLUDE=$osinclude
3486
3487
3488 # checks for programs
3489 DEPDIR="${am__leading_dot}deps"
3490
3491 ac_config_commands="$ac_config_commands depfiles"
3492
3493
3494 am_make=${MAKE-make}
3495 cat > confinc << 'END'
3496 am__doit:
3497         @echo this is the am__doit target
3498 .PHONY: am__doit
3499 END
3500 # If we don't find an include directive, just comment out the code.
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3502 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3503 am__include="#"
3504 am__quote=
3505 _am_result=none
3506 # First try GNU make style include.
3507 echo "include confinc" > confmf
3508 # Ignore all kinds of additional output from 'make'.
3509 case `$am_make -s -f confmf 2> /dev/null` in #(
3510 *the\ am__doit\ target*)
3511   am__include=include
3512   am__quote=
3513   _am_result=GNU
3514   ;;
3515 esac
3516 # Now try BSD make style include.
3517 if test "$am__include" = "#"; then
3518    echo '.include "confinc"' > confmf
3519    case `$am_make -s -f confmf 2> /dev/null` in #(
3520    *the\ am__doit\ target*)
3521      am__include=.include
3522      am__quote="\""
3523      _am_result=BSD
3524      ;;
3525    esac
3526 fi
3527
3528
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3530 $as_echo "$_am_result" >&6; }
3531 rm -f confinc confmf
3532
3533 # Check whether --enable-dependency-tracking was given.
3534 if test "${enable_dependency_tracking+set}" = set; then :
3535   enableval=$enable_dependency_tracking;
3536 fi
3537
3538 if test "x$enable_dependency_tracking" != xno; then
3539   am_depcomp="$ac_aux_dir/depcomp"
3540   AMDEPBACKSLASH='\'
3541   am__nodep='_no'
3542 fi
3543  if test "x$enable_dependency_tracking" != xno; then
3544   AMDEP_TRUE=
3545   AMDEP_FALSE='#'
3546 else
3547   AMDEP_TRUE='#'
3548   AMDEP_FALSE=
3549 fi
3550
3551
3552 ac_ext=c
3553 ac_cpp='$CPP $CPPFLAGS'
3554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3557 if test -n "$ac_tool_prefix"; then
3558   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3559 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if ${ac_cv_prog_CC+:} false; then :
3563   $as_echo_n "(cached) " >&6
3564 else
3565   if test -n "$CC"; then
3566   ac_cv_prog_CC="$CC" # Let the user override the test.
3567 else
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 for as_dir in $PATH
3570 do
3571   IFS=$as_save_IFS
3572   test -z "$as_dir" && as_dir=.
3573     for ac_exec_ext in '' $ac_executable_extensions; do
3574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3575     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577     break 2
3578   fi
3579 done
3580   done
3581 IFS=$as_save_IFS
3582
3583 fi
3584 fi
3585 CC=$ac_cv_prog_CC
3586 if test -n "$CC"; then
3587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3588 $as_echo "$CC" >&6; }
3589 else
3590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3592 fi
3593
3594
3595 fi
3596 if test -z "$ac_cv_prog_CC"; then
3597   ac_ct_CC=$CC
3598   # Extract the first word of "gcc", so it can be a program name with args.
3599 set dummy gcc; ac_word=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3603   $as_echo_n "(cached) " >&6
3604 else
3605   if test -n "$ac_ct_CC"; then
3606   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3607 else
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 for as_dir in $PATH
3610 do
3611   IFS=$as_save_IFS
3612   test -z "$as_dir" && as_dir=.
3613     for ac_exec_ext in '' $ac_executable_extensions; do
3614   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615     ac_cv_prog_ac_ct_CC="gcc"
3616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3617     break 2
3618   fi
3619 done
3620   done
3621 IFS=$as_save_IFS
3622
3623 fi
3624 fi
3625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3626 if test -n "$ac_ct_CC"; then
3627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3628 $as_echo "$ac_ct_CC" >&6; }
3629 else
3630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3632 fi
3633
3634   if test "x$ac_ct_CC" = x; then
3635     CC=""
3636   else
3637     case $cross_compiling:$ac_tool_warned in
3638 yes:)
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3641 ac_tool_warned=yes ;;
3642 esac
3643     CC=$ac_ct_CC
3644   fi
3645 else
3646   CC="$ac_cv_prog_CC"
3647 fi
3648
3649 if test -z "$CC"; then
3650           if test -n "$ac_tool_prefix"; then
3651     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3652 set dummy ${ac_tool_prefix}cc; ac_word=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if ${ac_cv_prog_CC+:} false; then :
3656   $as_echo_n "(cached) " >&6
3657 else
3658   if test -n "$CC"; then
3659   ac_cv_prog_CC="$CC" # Let the user override the test.
3660 else
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3663 do
3664   IFS=$as_save_IFS
3665   test -z "$as_dir" && as_dir=.
3666     for ac_exec_ext in '' $ac_executable_extensions; do
3667   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3668     ac_cv_prog_CC="${ac_tool_prefix}cc"
3669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670     break 2
3671   fi
3672 done
3673   done
3674 IFS=$as_save_IFS
3675
3676 fi
3677 fi
3678 CC=$ac_cv_prog_CC
3679 if test -n "$CC"; then
3680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3681 $as_echo "$CC" >&6; }
3682 else
3683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3685 fi
3686
3687
3688   fi
3689 fi
3690 if test -z "$CC"; then
3691   # Extract the first word of "cc", so it can be a program name with args.
3692 set dummy cc; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if ${ac_cv_prog_CC+:} false; then :
3696   $as_echo_n "(cached) " >&6
3697 else
3698   if test -n "$CC"; then
3699   ac_cv_prog_CC="$CC" # Let the user override the test.
3700 else
3701   ac_prog_rejected=no
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH
3704 do
3705   IFS=$as_save_IFS
3706   test -z "$as_dir" && as_dir=.
3707     for ac_exec_ext in '' $ac_executable_extensions; do
3708   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3709     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3710        ac_prog_rejected=yes
3711        continue
3712      fi
3713     ac_cv_prog_CC="cc"
3714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715     break 2
3716   fi
3717 done
3718   done
3719 IFS=$as_save_IFS
3720
3721 if test $ac_prog_rejected = yes; then
3722   # We found a bogon in the path, so make sure we never use it.
3723   set dummy $ac_cv_prog_CC
3724   shift
3725   if test $# != 0; then
3726     # We chose a different compiler from the bogus one.
3727     # However, it has the same basename, so the bogon will be chosen
3728     # first if we set CC to just the basename; use the full file name.
3729     shift
3730     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3731   fi
3732 fi
3733 fi
3734 fi
3735 CC=$ac_cv_prog_CC
3736 if test -n "$CC"; then
3737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3739 else
3740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3742 fi
3743
3744
3745 fi
3746 if test -z "$CC"; then
3747   if test -n "$ac_tool_prefix"; then
3748   for ac_prog in cl.exe
3749   do
3750     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_CC+:} false; then :
3755   $as_echo_n "(cached) " >&6
3756 else
3757   if test -n "$CC"; then
3758   ac_cv_prog_CC="$CC" # Let the user override the test.
3759 else
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 for as_dir in $PATH
3762 do
3763   IFS=$as_save_IFS
3764   test -z "$as_dir" && as_dir=.
3765     for ac_exec_ext in '' $ac_executable_extensions; do
3766   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3767     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769     break 2
3770   fi
3771 done
3772   done
3773 IFS=$as_save_IFS
3774
3775 fi
3776 fi
3777 CC=$ac_cv_prog_CC
3778 if test -n "$CC"; then
3779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3781 else
3782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3784 fi
3785
3786
3787     test -n "$CC" && break
3788   done
3789 fi
3790 if test -z "$CC"; then
3791   ac_ct_CC=$CC
3792   for ac_prog in cl.exe
3793 do
3794   # Extract the first word of "$ac_prog", so it can be a program name with args.
3795 set dummy $ac_prog; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3799   $as_echo_n "(cached) " >&6
3800 else
3801   if test -n "$ac_ct_CC"; then
3802   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3803 else
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805 for as_dir in $PATH
3806 do
3807   IFS=$as_save_IFS
3808   test -z "$as_dir" && as_dir=.
3809     for ac_exec_ext in '' $ac_executable_extensions; do
3810   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3811     ac_cv_prog_ac_ct_CC="$ac_prog"
3812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813     break 2
3814   fi
3815 done
3816   done
3817 IFS=$as_save_IFS
3818
3819 fi
3820 fi
3821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3822 if test -n "$ac_ct_CC"; then
3823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3824 $as_echo "$ac_ct_CC" >&6; }
3825 else
3826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3828 fi
3829
3830
3831   test -n "$ac_ct_CC" && break
3832 done
3833
3834   if test "x$ac_ct_CC" = x; then
3835     CC=""
3836   else
3837     case $cross_compiling:$ac_tool_warned in
3838 yes:)
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3841 ac_tool_warned=yes ;;
3842 esac
3843     CC=$ac_ct_CC
3844   fi
3845 fi
3846
3847 fi
3848
3849
3850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852 as_fn_error $? "no acceptable C compiler found in \$PATH
3853 See \`config.log' for more details" "$LINENO" 5; }
3854
3855 # Provide some information about the compiler.
3856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3857 set X $ac_compile
3858 ac_compiler=$2
3859 for ac_option in --version -v -V -qversion; do
3860   { { ac_try="$ac_compiler $ac_option >&5"
3861 case "(($ac_try" in
3862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863   *) ac_try_echo=$ac_try;;
3864 esac
3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866 $as_echo "$ac_try_echo"; } >&5
3867   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3868   ac_status=$?
3869   if test -s conftest.err; then
3870     sed '10a\
3871 ... rest of stderr output deleted ...
3872          10q' conftest.err >conftest.er1
3873     cat conftest.er1 >&5
3874   fi
3875   rm -f conftest.er1 conftest.err
3876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877   test $ac_status = 0; }
3878 done
3879
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h.  */
3882
3883 int
3884 main ()
3885 {
3886
3887   ;
3888   return 0;
3889 }
3890 _ACEOF
3891 ac_clean_files_save=$ac_clean_files
3892 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3893 # Try to create an executable without -o first, disregard a.out.
3894 # It will help us diagnose broken compilers, and finding out an intuition
3895 # of exeext.
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3897 $as_echo_n "checking whether the C compiler works... " >&6; }
3898 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3899
3900 # The possible output files:
3901 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3902
3903 ac_rmfiles=
3904 for ac_file in $ac_files
3905 do
3906   case $ac_file in
3907     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3908     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3909   esac
3910 done
3911 rm -f $ac_rmfiles
3912
3913 if { { ac_try="$ac_link_default"
3914 case "(($ac_try" in
3915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916   *) ac_try_echo=$ac_try;;
3917 esac
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920   (eval "$ac_link_default") 2>&5
3921   ac_status=$?
3922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923   test $ac_status = 0; }; then :
3924   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3925 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3926 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3927 # so that the user can short-circuit this test for compilers unknown to
3928 # Autoconf.
3929 for ac_file in $ac_files ''
3930 do
3931   test -f "$ac_file" || continue
3932   case $ac_file in
3933     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3934         ;;
3935     [ab].out )
3936         # We found the default executable, but exeext='' is most
3937         # certainly right.
3938         break;;
3939     *.* )
3940         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3941         then :; else
3942            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3943         fi
3944         # We set ac_cv_exeext here because the later test for it is not
3945         # safe: cross compilers may not add the suffix if given an `-o'
3946         # argument, so we may need to know it at that point already.
3947         # Even if this section looks crufty: it has the advantage of
3948         # actually working.
3949         break;;
3950     * )
3951         break;;
3952   esac
3953 done
3954 test "$ac_cv_exeext" = no && ac_cv_exeext=
3955
3956 else
3957   ac_file=''
3958 fi
3959 if test -z "$ac_file"; then :
3960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3962 $as_echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.$ac_ext >&5
3964
3965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3967 as_fn_error 77 "C compiler cannot create executables
3968 See \`config.log' for more details" "$LINENO" 5; }
3969 else
3970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3971 $as_echo "yes" >&6; }
3972 fi
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3974 $as_echo_n "checking for C compiler default output file name... " >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3976 $as_echo "$ac_file" >&6; }
3977 ac_exeext=$ac_cv_exeext
3978
3979 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3980 ac_clean_files=$ac_clean_files_save
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3982 $as_echo_n "checking for suffix of executables... " >&6; }
3983 if { { ac_try="$ac_link"
3984 case "(($ac_try" in
3985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986   *) ac_try_echo=$ac_try;;
3987 esac
3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990   (eval "$ac_link") 2>&5
3991   ac_status=$?
3992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993   test $ac_status = 0; }; then :
3994   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3995 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3996 # work properly (i.e., refer to `conftest.exe'), while it won't with
3997 # `rm'.
3998 for ac_file in conftest.exe conftest conftest.*; do
3999   test -f "$ac_file" || continue
4000   case $ac_file in
4001     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4002     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4003           break;;
4004     * ) break;;
4005   esac
4006 done
4007 else
4008   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4011 See \`config.log' for more details" "$LINENO" 5; }
4012 fi
4013 rm -f conftest conftest$ac_cv_exeext
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4015 $as_echo "$ac_cv_exeext" >&6; }
4016
4017 rm -f conftest.$ac_ext
4018 EXEEXT=$ac_cv_exeext
4019 ac_exeext=$EXEEXT
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h.  */
4022 #include <stdio.h>
4023 int
4024 main ()
4025 {
4026 FILE *f = fopen ("conftest.out", "w");
4027  return ferror (f) || fclose (f) != 0;
4028
4029   ;
4030   return 0;
4031 }
4032 _ACEOF
4033 ac_clean_files="$ac_clean_files conftest.out"
4034 # Check that the compiler produces executables we can run.  If not, either
4035 # the compiler is broken, or we cross compile.
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4037 $as_echo_n "checking whether we are cross compiling... " >&6; }
4038 if test "$cross_compiling" != yes; then
4039   { { ac_try="$ac_link"
4040 case "(($ac_try" in
4041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042   *) ac_try_echo=$ac_try;;
4043 esac
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046   (eval "$ac_link") 2>&5
4047   ac_status=$?
4048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049   test $ac_status = 0; }
4050   if { ac_try='./conftest$ac_cv_exeext'
4051   { { case "(($ac_try" in
4052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053   *) ac_try_echo=$ac_try;;
4054 esac
4055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4056 $as_echo "$ac_try_echo"; } >&5
4057   (eval "$ac_try") 2>&5
4058   ac_status=$?
4059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4060   test $ac_status = 0; }; }; then
4061     cross_compiling=no
4062   else
4063     if test "$cross_compiling" = maybe; then
4064         cross_compiling=yes
4065     else
4066         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $? "cannot run C compiled programs.
4069 If you meant to cross compile, use \`--host'.
4070 See \`config.log' for more details" "$LINENO" 5; }
4071     fi
4072   fi
4073 fi
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4075 $as_echo "$cross_compiling" >&6; }
4076
4077 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4078 ac_clean_files=$ac_clean_files_save
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4080 $as_echo_n "checking for suffix of object files... " >&6; }
4081 if ${ac_cv_objext+:} false; then :
4082   $as_echo_n "(cached) " >&6
4083 else
4084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h.  */
4086
4087 int
4088 main ()
4089 {
4090
4091   ;
4092   return 0;
4093 }
4094 _ACEOF
4095 rm -f conftest.o conftest.obj
4096 if { { ac_try="$ac_compile"
4097 case "(($ac_try" in
4098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099   *) ac_try_echo=$ac_try;;
4100 esac
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103   (eval "$ac_compile") 2>&5
4104   ac_status=$?
4105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106   test $ac_status = 0; }; then :
4107   for ac_file in conftest.o conftest.obj conftest.*; do
4108   test -f "$ac_file" || continue;
4109   case $ac_file in
4110     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4111     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4112        break;;
4113   esac
4114 done
4115 else
4116   $as_echo "$as_me: failed program was:" >&5
4117 sed 's/^/| /' conftest.$ac_ext >&5
4118
4119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4121 as_fn_error $? "cannot compute suffix of object files: cannot compile
4122 See \`config.log' for more details" "$LINENO" 5; }
4123 fi
4124 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4125 fi
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4127 $as_echo "$ac_cv_objext" >&6; }
4128 OBJEXT=$ac_cv_objext
4129 ac_objext=$OBJEXT
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4131 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4132 if ${ac_cv_c_compiler_gnu+:} false; then :
4133   $as_echo_n "(cached) " >&6
4134 else
4135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h.  */
4137
4138 int
4139 main ()
4140 {
4141 #ifndef __GNUC__
4142        choke me
4143 #endif
4144
4145   ;
4146   return 0;
4147 }
4148 _ACEOF
4149 if ac_fn_c_try_compile "$LINENO"; then :
4150   ac_compiler_gnu=yes
4151 else
4152   ac_compiler_gnu=no
4153 fi
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4156
4157 fi
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4159 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4160 if test $ac_compiler_gnu = yes; then
4161   GCC=yes
4162 else
4163   GCC=
4164 fi
4165 ac_test_CFLAGS=${CFLAGS+set}
4166 ac_save_CFLAGS=$CFLAGS
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4168 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4169 if ${ac_cv_prog_cc_g+:} false; then :
4170   $as_echo_n "(cached) " >&6
4171 else
4172   ac_save_c_werror_flag=$ac_c_werror_flag
4173    ac_c_werror_flag=yes
4174    ac_cv_prog_cc_g=no
4175    CFLAGS="-g"
4176    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h.  */
4178
4179 int
4180 main ()
4181 {
4182
4183   ;
4184   return 0;
4185 }
4186 _ACEOF
4187 if ac_fn_c_try_compile "$LINENO"; then :
4188   ac_cv_prog_cc_g=yes
4189 else
4190   CFLAGS=""
4191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h.  */
4193
4194 int
4195 main ()
4196 {
4197
4198   ;
4199   return 0;
4200 }
4201 _ACEOF
4202 if ac_fn_c_try_compile "$LINENO"; then :
4203
4204 else
4205   ac_c_werror_flag=$ac_save_c_werror_flag
4206          CFLAGS="-g"
4207          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h.  */
4209
4210 int
4211 main ()
4212 {
4213
4214   ;
4215   return 0;
4216 }
4217 _ACEOF
4218 if ac_fn_c_try_compile "$LINENO"; then :
4219   ac_cv_prog_cc_g=yes
4220 fi
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 fi
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 fi
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226    ac_c_werror_flag=$ac_save_c_werror_flag
4227 fi
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4229 $as_echo "$ac_cv_prog_cc_g" >&6; }
4230 if test "$ac_test_CFLAGS" = set; then
4231   CFLAGS=$ac_save_CFLAGS
4232 elif test $ac_cv_prog_cc_g = yes; then
4233   if test "$GCC" = yes; then
4234     CFLAGS="-g -O2"
4235   else
4236     CFLAGS="-g"
4237   fi
4238 else
4239   if test "$GCC" = yes; then
4240     CFLAGS="-O2"
4241   else
4242     CFLAGS=
4243   fi
4244 fi
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4246 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4247 if ${ac_cv_prog_cc_c89+:} false; then :
4248   $as_echo_n "(cached) " >&6
4249 else
4250   ac_cv_prog_cc_c89=no
4251 ac_save_CC=$CC
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h.  */
4254 #include <stdarg.h>
4255 #include <stdio.h>
4256 struct stat;
4257 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4258 struct buf { int x; };
4259 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4260 static char *e (p, i)
4261      char **p;
4262      int i;
4263 {
4264   return p[i];
4265 }
4266 static char *f (char * (*g) (char **, int), char **p, ...)
4267 {
4268   char *s;
4269   va_list v;
4270   va_start (v,p);
4271   s = g (p, va_arg (v,int));
4272   va_end (v);
4273   return s;
4274 }
4275
4276 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4277    function prototypes and stuff, but not '\xHH' hex character constants.
4278    These don't provoke an error unfortunately, instead are silently treated
4279    as 'x'.  The following induces an error, until -std is added to get
4280    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4281    array size at least.  It's necessary to write '\x00'==0 to get something
4282    that's true only with -std.  */
4283 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4284
4285 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4286    inside strings and character constants.  */
4287 #define FOO(x) 'x'
4288 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4289
4290 int test (int i, double x);
4291 struct s1 {int (*f) (int a);};
4292 struct s2 {int (*f) (double a);};
4293 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4294 int argc;
4295 char **argv;
4296 int
4297 main ()
4298 {
4299 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4300   ;
4301   return 0;
4302 }
4303 _ACEOF
4304 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4305         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4306 do
4307   CC="$ac_save_CC $ac_arg"
4308   if ac_fn_c_try_compile "$LINENO"; then :
4309   ac_cv_prog_cc_c89=$ac_arg
4310 fi
4311 rm -f core conftest.err conftest.$ac_objext
4312   test "x$ac_cv_prog_cc_c89" != "xno" && break
4313 done
4314 rm -f conftest.$ac_ext
4315 CC=$ac_save_CC
4316
4317 fi
4318 # AC_CACHE_VAL
4319 case "x$ac_cv_prog_cc_c89" in
4320   x)
4321     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4322 $as_echo "none needed" >&6; } ;;
4323   xno)
4324     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4325 $as_echo "unsupported" >&6; } ;;
4326   *)
4327     CC="$CC $ac_cv_prog_cc_c89"
4328     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4329 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4330 esac
4331 if test "x$ac_cv_prog_cc_c89" != xno; then :
4332
4333 fi
4334
4335 ac_ext=c
4336 ac_cpp='$CPP $CPPFLAGS'
4337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4340
4341 ac_ext=c
4342 ac_cpp='$CPP $CPPFLAGS'
4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4347 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4348 if ${am_cv_prog_cc_c_o+:} false; then :
4349   $as_echo_n "(cached) " >&6
4350 else
4351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h.  */
4353
4354 int
4355 main ()
4356 {
4357
4358   ;
4359   return 0;
4360 }
4361 _ACEOF
4362   # Make sure it works both with $CC and with simple cc.
4363   # Following AC_PROG_CC_C_O, we do the test twice because some
4364   # compilers refuse to overwrite an existing .o file with -o,
4365   # though they will create one.
4366   am_cv_prog_cc_c_o=yes
4367   for am_i in 1 2; do
4368     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4369    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4370    ac_status=$?
4371    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372    (exit $ac_status); } \
4373          && test -f conftest2.$ac_objext; then
4374       : OK
4375     else
4376       am_cv_prog_cc_c_o=no
4377       break
4378     fi
4379   done
4380   rm -f core conftest*
4381   unset am_i
4382 fi
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4384 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4385 if test "$am_cv_prog_cc_c_o" != yes; then
4386    # Losing compiler, so override with the script.
4387    # FIXME: It is wrong to rewrite CC.
4388    # But if we don't then we get into trouble of one sort or another.
4389    # A longer-term fix would be to have automake use am__CC in this case,
4390    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4391    CC="$am_aux_dir/compile $CC"
4392 fi
4393 ac_ext=c
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4398
4399
4400 depcc="$CC"   am_compiler_list=
4401
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4403 $as_echo_n "checking dependency style of $depcc... " >&6; }
4404 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4405   $as_echo_n "(cached) " >&6
4406 else
4407   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4408   # We make a subdir and do the tests there.  Otherwise we can end up
4409   # making bogus files that we don't know about and never remove.  For
4410   # instance it was reported that on HP-UX the gcc test will end up
4411   # making a dummy file named 'D' -- because '-MD' means "put the output
4412   # in D".
4413   rm -rf conftest.dir
4414   mkdir conftest.dir
4415   # Copy depcomp to subdir because otherwise we won't find it if we're
4416   # using a relative directory.
4417   cp "$am_depcomp" conftest.dir
4418   cd conftest.dir
4419   # We will build objects and dependencies in a subdirectory because
4420   # it helps to detect inapplicable dependency modes.  For instance
4421   # both Tru64's cc and ICC support -MD to output dependencies as a
4422   # side effect of compilation, but ICC will put the dependencies in
4423   # the current directory while Tru64 will put them in the object
4424   # directory.
4425   mkdir sub
4426
4427   am_cv_CC_dependencies_compiler_type=none
4428   if test "$am_compiler_list" = ""; then
4429      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4430   fi
4431   am__universal=false
4432   case " $depcc " in #(
4433      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4434      esac
4435
4436   for depmode in $am_compiler_list; do
4437     # Setup a source with many dependencies, because some compilers
4438     # like to wrap large dependency lists on column 80 (with \), and
4439     # we should not choose a depcomp mode which is confused by this.
4440     #
4441     # We need to recreate these files for each test, as the compiler may
4442     # overwrite some of them when testing with obscure command lines.
4443     # This happens at least with the AIX C compiler.
4444     : > sub/conftest.c
4445     for i in 1 2 3 4 5 6; do
4446       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4447       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4448       # Solaris 10 /bin/sh.
4449       echo '/* dummy */' > sub/conftst$i.h
4450     done
4451     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4452
4453     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4454     # mode.  It turns out that the SunPro C++ compiler does not properly
4455     # handle '-M -o', and we need to detect this.  Also, some Intel
4456     # versions had trouble with output in subdirs.
4457     am__obj=sub/conftest.${OBJEXT-o}
4458     am__minus_obj="-o $am__obj"
4459     case $depmode in
4460     gcc)
4461       # This depmode causes a compiler race in universal mode.
4462       test "$am__universal" = false || continue
4463       ;;
4464     nosideeffect)
4465       # After this tag, mechanisms are not by side-effect, so they'll
4466       # only be used when explicitly requested.
4467       if test "x$enable_dependency_tracking" = xyes; then
4468         continue
4469       else
4470         break
4471       fi
4472       ;;
4473     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4474       # This compiler won't grok '-c -o', but also, the minuso test has
4475       # not run yet.  These depmodes are late enough in the game, and
4476       # so weak that their functioning should not be impacted.
4477       am__obj=conftest.${OBJEXT-o}
4478       am__minus_obj=
4479       ;;
4480     none) break ;;
4481     esac
4482     if depmode=$depmode \
4483        source=sub/conftest.c object=$am__obj \
4484        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4485        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4486          >/dev/null 2>conftest.err &&
4487        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4488        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4489        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4490        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4491       # icc doesn't choke on unknown options, it will just issue warnings
4492       # or remarks (even with -Werror).  So we grep stderr for any message
4493       # that says an option was ignored or not supported.
4494       # When given -MP, icc 7.0 and 7.1 complain thusly:
4495       #   icc: Command line warning: ignoring option '-M'; no argument required
4496       # The diagnosis changed in icc 8.0:
4497       #   icc: Command line remark: option '-MP' not supported
4498       if (grep 'ignoring option' conftest.err ||
4499           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4500         am_cv_CC_dependencies_compiler_type=$depmode
4501         break
4502       fi
4503     fi
4504   done
4505
4506   cd ..
4507   rm -rf conftest.dir
4508 else
4509   am_cv_CC_dependencies_compiler_type=none
4510 fi
4511
4512 fi
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4514 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4515 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4516
4517  if
4518   test "x$enable_dependency_tracking" != xno \
4519   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4520   am__fastdepCC_TRUE=
4521   am__fastdepCC_FALSE='#'
4522 else
4523   am__fastdepCC_TRUE='#'
4524   am__fastdepCC_FALSE=
4525 fi
4526
4527
4528     # support subdir objects for automake
4529 ac_ext=c
4530 ac_cpp='$CPP $CPPFLAGS'
4531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4534 if test -n "$ac_tool_prefix"; then
4535   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4536 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4538 $as_echo_n "checking for $ac_word... " >&6; }
4539 if ${ac_cv_prog_CC+:} false; then :
4540   $as_echo_n "(cached) " >&6
4541 else
4542   if test -n "$CC"; then
4543   ac_cv_prog_CC="$CC" # Let the user override the test.
4544 else
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 for as_dir in $PATH
4547 do
4548   IFS=$as_save_IFS
4549   test -z "$as_dir" && as_dir=.
4550     for ac_exec_ext in '' $ac_executable_extensions; do
4551   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4552     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4554     break 2
4555   fi
4556 done
4557   done
4558 IFS=$as_save_IFS
4559
4560 fi
4561 fi
4562 CC=$ac_cv_prog_CC
4563 if test -n "$CC"; then
4564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4565 $as_echo "$CC" >&6; }
4566 else
4567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4569 fi
4570
4571
4572 fi
4573 if test -z "$ac_cv_prog_CC"; then
4574   ac_ct_CC=$CC
4575   # Extract the first word of "gcc", so it can be a program name with args.
4576 set dummy gcc; ac_word=$2
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4578 $as_echo_n "checking for $ac_word... " >&6; }
4579 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4580   $as_echo_n "(cached) " >&6
4581 else
4582   if test -n "$ac_ct_CC"; then
4583   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4584 else
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 for as_dir in $PATH
4587 do
4588   IFS=$as_save_IFS
4589   test -z "$as_dir" && as_dir=.
4590     for ac_exec_ext in '' $ac_executable_extensions; do
4591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4592     ac_cv_prog_ac_ct_CC="gcc"
4593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594     break 2
4595   fi
4596 done
4597   done
4598 IFS=$as_save_IFS
4599
4600 fi
4601 fi
4602 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4603 if test -n "$ac_ct_CC"; then
4604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4605 $as_echo "$ac_ct_CC" >&6; }
4606 else
4607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4609 fi
4610
4611   if test "x$ac_ct_CC" = x; then
4612     CC=""
4613   else
4614     case $cross_compiling:$ac_tool_warned in
4615 yes:)
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4618 ac_tool_warned=yes ;;
4619 esac
4620     CC=$ac_ct_CC
4621   fi
4622 else
4623   CC="$ac_cv_prog_CC"
4624 fi
4625
4626 if test -z "$CC"; then
4627           if test -n "$ac_tool_prefix"; then
4628     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4629 set dummy ${ac_tool_prefix}cc; ac_word=$2
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4631 $as_echo_n "checking for $ac_word... " >&6; }
4632 if ${ac_cv_prog_CC+:} false; then :
4633   $as_echo_n "(cached) " >&6
4634 else
4635   if test -n "$CC"; then
4636   ac_cv_prog_CC="$CC" # Let the user override the test.
4637 else
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 for as_dir in $PATH
4640 do
4641   IFS=$as_save_IFS
4642   test -z "$as_dir" && as_dir=.
4643     for ac_exec_ext in '' $ac_executable_extensions; do
4644   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4645     ac_cv_prog_CC="${ac_tool_prefix}cc"
4646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4647     break 2
4648   fi
4649 done
4650   done
4651 IFS=$as_save_IFS
4652
4653 fi
4654 fi
4655 CC=$ac_cv_prog_CC
4656 if test -n "$CC"; then
4657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4658 $as_echo "$CC" >&6; }
4659 else
4660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 $as_echo "no" >&6; }
4662 fi
4663
4664
4665   fi
4666 fi
4667 if test -z "$CC"; then
4668   # Extract the first word of "cc", so it can be a program name with args.
4669 set dummy cc; ac_word=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_CC+:} false; then :
4673   $as_echo_n "(cached) " >&6
4674 else
4675   if test -n "$CC"; then
4676   ac_cv_prog_CC="$CC" # Let the user override the test.
4677 else
4678   ac_prog_rejected=no
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4680 for as_dir in $PATH
4681 do
4682   IFS=$as_save_IFS
4683   test -z "$as_dir" && as_dir=.
4684     for ac_exec_ext in '' $ac_executable_extensions; do
4685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4686     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4687        ac_prog_rejected=yes
4688        continue
4689      fi
4690     ac_cv_prog_CC="cc"
4691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692     break 2
4693   fi
4694 done
4695   done
4696 IFS=$as_save_IFS
4697
4698 if test $ac_prog_rejected = yes; then
4699   # We found a bogon in the path, so make sure we never use it.
4700   set dummy $ac_cv_prog_CC
4701   shift
4702   if test $# != 0; then
4703     # We chose a different compiler from the bogus one.
4704     # However, it has the same basename, so the bogon will be chosen
4705     # first if we set CC to just the basename; use the full file name.
4706     shift
4707     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4708   fi
4709 fi
4710 fi
4711 fi
4712 CC=$ac_cv_prog_CC
4713 if test -n "$CC"; then
4714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4715 $as_echo "$CC" >&6; }
4716 else
4717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4719 fi
4720
4721
4722 fi
4723 if test -z "$CC"; then
4724   if test -n "$ac_tool_prefix"; then
4725   for ac_prog in cl.exe
4726   do
4727     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4728 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4730 $as_echo_n "checking for $ac_word... " >&6; }
4731 if ${ac_cv_prog_CC+:} false; then :
4732   $as_echo_n "(cached) " >&6
4733 else
4734   if test -n "$CC"; then
4735   ac_cv_prog_CC="$CC" # Let the user override the test.
4736 else
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH
4739 do
4740   IFS=$as_save_IFS
4741   test -z "$as_dir" && as_dir=.
4742     for ac_exec_ext in '' $ac_executable_extensions; do
4743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4744     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746     break 2
4747   fi
4748 done
4749   done
4750 IFS=$as_save_IFS
4751
4752 fi
4753 fi
4754 CC=$ac_cv_prog_CC
4755 if test -n "$CC"; then
4756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4757 $as_echo "$CC" >&6; }
4758 else
4759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4761 fi
4762
4763
4764     test -n "$CC" && break
4765   done
4766 fi
4767 if test -z "$CC"; then
4768   ac_ct_CC=$CC
4769   for ac_prog in cl.exe
4770 do
4771   # Extract the first word of "$ac_prog", so it can be a program name with args.
4772 set dummy $ac_prog; ac_word=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4776   $as_echo_n "(cached) " >&6
4777 else
4778   if test -n "$ac_ct_CC"; then
4779   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4780 else
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH
4783 do
4784   IFS=$as_save_IFS
4785   test -z "$as_dir" && as_dir=.
4786     for ac_exec_ext in '' $ac_executable_extensions; do
4787   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4788     ac_cv_prog_ac_ct_CC="$ac_prog"
4789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790     break 2
4791   fi
4792 done
4793   done
4794 IFS=$as_save_IFS
4795
4796 fi
4797 fi
4798 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4799 if test -n "$ac_ct_CC"; then
4800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4801 $as_echo "$ac_ct_CC" >&6; }
4802 else
4803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4805 fi
4806
4807
4808   test -n "$ac_ct_CC" && break
4809 done
4810
4811   if test "x$ac_ct_CC" = x; then
4812     CC=""
4813   else
4814     case $cross_compiling:$ac_tool_warned in
4815 yes:)
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4818 ac_tool_warned=yes ;;
4819 esac
4820     CC=$ac_ct_CC
4821   fi
4822 fi
4823
4824 fi
4825
4826
4827 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4829 as_fn_error $? "no acceptable C compiler found in \$PATH
4830 See \`config.log' for more details" "$LINENO" 5; }
4831
4832 # Provide some information about the compiler.
4833 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4834 set X $ac_compile
4835 ac_compiler=$2
4836 for ac_option in --version -v -V -qversion; do
4837   { { ac_try="$ac_compiler $ac_option >&5"
4838 case "(($ac_try" in
4839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840   *) ac_try_echo=$ac_try;;
4841 esac
4842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4843 $as_echo "$ac_try_echo"; } >&5
4844   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4845   ac_status=$?
4846   if test -s conftest.err; then
4847     sed '10a\
4848 ... rest of stderr output deleted ...
4849          10q' conftest.err >conftest.er1
4850     cat conftest.er1 >&5
4851   fi
4852   rm -f conftest.er1 conftest.err
4853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4854   test $ac_status = 0; }
4855 done
4856
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4858 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4859 if ${ac_cv_c_compiler_gnu+:} false; then :
4860   $as_echo_n "(cached) " >&6
4861 else
4862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h.  */
4864
4865 int
4866 main ()
4867 {
4868 #ifndef __GNUC__
4869        choke me
4870 #endif
4871
4872   ;
4873   return 0;
4874 }
4875 _ACEOF
4876 if ac_fn_c_try_compile "$LINENO"; then :
4877   ac_compiler_gnu=yes
4878 else
4879   ac_compiler_gnu=no
4880 fi
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4883
4884 fi
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4886 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4887 if test $ac_compiler_gnu = yes; then
4888   GCC=yes
4889 else
4890   GCC=
4891 fi
4892 ac_test_CFLAGS=${CFLAGS+set}
4893 ac_save_CFLAGS=$CFLAGS
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4895 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4896 if ${ac_cv_prog_cc_g+:} false; then :
4897   $as_echo_n "(cached) " >&6
4898 else
4899   ac_save_c_werror_flag=$ac_c_werror_flag
4900    ac_c_werror_flag=yes
4901    ac_cv_prog_cc_g=no
4902    CFLAGS="-g"
4903    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h.  */
4905
4906 int
4907 main ()
4908 {
4909
4910   ;
4911   return 0;
4912 }
4913 _ACEOF
4914 if ac_fn_c_try_compile "$LINENO"; then :
4915   ac_cv_prog_cc_g=yes
4916 else
4917   CFLAGS=""
4918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h.  */
4920
4921 int
4922 main ()
4923 {
4924
4925   ;
4926   return 0;
4927 }
4928 _ACEOF
4929 if ac_fn_c_try_compile "$LINENO"; then :
4930
4931 else
4932   ac_c_werror_flag=$ac_save_c_werror_flag
4933          CFLAGS="-g"
4934          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h.  */
4936
4937 int
4938 main ()
4939 {
4940
4941   ;
4942   return 0;
4943 }
4944 _ACEOF
4945 if ac_fn_c_try_compile "$LINENO"; then :
4946   ac_cv_prog_cc_g=yes
4947 fi
4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 fi
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 fi
4952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953    ac_c_werror_flag=$ac_save_c_werror_flag
4954 fi
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4956 $as_echo "$ac_cv_prog_cc_g" >&6; }
4957 if test "$ac_test_CFLAGS" = set; then
4958   CFLAGS=$ac_save_CFLAGS
4959 elif test $ac_cv_prog_cc_g = yes; then
4960   if test "$GCC" = yes; then
4961     CFLAGS="-g -O2"
4962   else
4963     CFLAGS="-g"
4964   fi
4965 else
4966   if test "$GCC" = yes; then
4967     CFLAGS="-O2"
4968   else
4969     CFLAGS=
4970   fi
4971 fi
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4973 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4974 if ${ac_cv_prog_cc_c89+:} false; then :
4975   $as_echo_n "(cached) " >&6
4976 else
4977   ac_cv_prog_cc_c89=no
4978 ac_save_CC=$CC
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h.  */
4981 #include <stdarg.h>
4982 #include <stdio.h>
4983 struct stat;
4984 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4985 struct buf { int x; };
4986 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4987 static char *e (p, i)
4988      char **p;
4989      int i;
4990 {
4991   return p[i];
4992 }
4993 static char *f (char * (*g) (char **, int), char **p, ...)
4994 {
4995   char *s;
4996   va_list v;
4997   va_start (v,p);
4998   s = g (p, va_arg (v,int));
4999   va_end (v);
5000   return s;
5001 }
5002
5003 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5004    function prototypes and stuff, but not '\xHH' hex character constants.
5005    These don't provoke an error unfortunately, instead are silently treated
5006    as 'x'.  The following induces an error, until -std is added to get
5007    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5008    array size at least.  It's necessary to write '\x00'==0 to get something
5009    that's true only with -std.  */
5010 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5011
5012 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5013    inside strings and character constants.  */
5014 #define FOO(x) 'x'
5015 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5016
5017 int test (int i, double x);
5018 struct s1 {int (*f) (int a);};
5019 struct s2 {int (*f) (double a);};
5020 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5021 int argc;
5022 char **argv;
5023 int
5024 main ()
5025 {
5026 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5027   ;
5028   return 0;
5029 }
5030 _ACEOF
5031 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5032         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5033 do
5034   CC="$ac_save_CC $ac_arg"
5035   if ac_fn_c_try_compile "$LINENO"; then :
5036   ac_cv_prog_cc_c89=$ac_arg
5037 fi
5038 rm -f core conftest.err conftest.$ac_objext
5039   test "x$ac_cv_prog_cc_c89" != "xno" && break
5040 done
5041 rm -f conftest.$ac_ext
5042 CC=$ac_save_CC
5043
5044 fi
5045 # AC_CACHE_VAL
5046 case "x$ac_cv_prog_cc_c89" in
5047   x)
5048     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5049 $as_echo "none needed" >&6; } ;;
5050   xno)
5051     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5052 $as_echo "unsupported" >&6; } ;;
5053   *)
5054     CC="$CC $ac_cv_prog_cc_c89"
5055     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5056 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5057 esac
5058 if test "x$ac_cv_prog_cc_c89" != xno; then :
5059
5060 fi
5061
5062 ac_ext=c
5063 ac_cpp='$CPP $CPPFLAGS'
5064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5067
5068 ac_ext=c
5069 ac_cpp='$CPP $CPPFLAGS'
5070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5074 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5075 if ${am_cv_prog_cc_c_o+:} false; then :
5076   $as_echo_n "(cached) " >&6
5077 else
5078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h.  */
5080
5081 int
5082 main ()
5083 {
5084
5085   ;
5086   return 0;
5087 }
5088 _ACEOF
5089   # Make sure it works both with $CC and with simple cc.
5090   # Following AC_PROG_CC_C_O, we do the test twice because some
5091   # compilers refuse to overwrite an existing .o file with -o,
5092   # though they will create one.
5093   am_cv_prog_cc_c_o=yes
5094   for am_i in 1 2; do
5095     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5096    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5097    ac_status=$?
5098    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099    (exit $ac_status); } \
5100          && test -f conftest2.$ac_objext; then
5101       : OK
5102     else
5103       am_cv_prog_cc_c_o=no
5104       break
5105     fi
5106   done
5107   rm -f core conftest*
5108   unset am_i
5109 fi
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5111 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5112 if test "$am_cv_prog_cc_c_o" != yes; then
5113    # Losing compiler, so override with the script.
5114    # FIXME: It is wrong to rewrite CC.
5115    # But if we don't then we get into trouble of one sort or another.
5116    # A longer-term fix would be to have automake use am__CC in this case,
5117    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5118    CC="$am_aux_dir/compile $CC"
5119 fi
5120 ac_ext=c
5121 ac_cpp='$CPP $CPPFLAGS'
5122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5125
5126
5127 depcc="$CC"   am_compiler_list=
5128
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5130 $as_echo_n "checking dependency style of $depcc... " >&6; }
5131 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5132   $as_echo_n "(cached) " >&6
5133 else
5134   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5135   # We make a subdir and do the tests there.  Otherwise we can end up
5136   # making bogus files that we don't know about and never remove.  For
5137   # instance it was reported that on HP-UX the gcc test will end up
5138   # making a dummy file named 'D' -- because '-MD' means "put the output
5139   # in D".
5140   rm -rf conftest.dir
5141   mkdir conftest.dir
5142   # Copy depcomp to subdir because otherwise we won't find it if we're
5143   # using a relative directory.
5144   cp "$am_depcomp" conftest.dir
5145   cd conftest.dir
5146   # We will build objects and dependencies in a subdirectory because
5147   # it helps to detect inapplicable dependency modes.  For instance
5148   # both Tru64's cc and ICC support -MD to output dependencies as a
5149   # side effect of compilation, but ICC will put the dependencies in
5150   # the current directory while Tru64 will put them in the object
5151   # directory.
5152   mkdir sub
5153
5154   am_cv_CC_dependencies_compiler_type=none
5155   if test "$am_compiler_list" = ""; then
5156      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5157   fi
5158   am__universal=false
5159   case " $depcc " in #(
5160      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5161      esac
5162
5163   for depmode in $am_compiler_list; do
5164     # Setup a source with many dependencies, because some compilers
5165     # like to wrap large dependency lists on column 80 (with \), and
5166     # we should not choose a depcomp mode which is confused by this.
5167     #
5168     # We need to recreate these files for each test, as the compiler may
5169     # overwrite some of them when testing with obscure command lines.
5170     # This happens at least with the AIX C compiler.
5171     : > sub/conftest.c
5172     for i in 1 2 3 4 5 6; do
5173       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5174       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5175       # Solaris 10 /bin/sh.
5176       echo '/* dummy */' > sub/conftst$i.h
5177     done
5178     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5179
5180     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5181     # mode.  It turns out that the SunPro C++ compiler does not properly
5182     # handle '-M -o', and we need to detect this.  Also, some Intel
5183     # versions had trouble with output in subdirs.
5184     am__obj=sub/conftest.${OBJEXT-o}
5185     am__minus_obj="-o $am__obj"
5186     case $depmode in
5187     gcc)
5188       # This depmode causes a compiler race in universal mode.
5189       test "$am__universal" = false || continue
5190       ;;
5191     nosideeffect)
5192       # After this tag, mechanisms are not by side-effect, so they'll
5193       # only be used when explicitly requested.
5194       if test "x$enable_dependency_tracking" = xyes; then
5195         continue
5196       else
5197         break
5198       fi
5199       ;;
5200     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5201       # This compiler won't grok '-c -o', but also, the minuso test has
5202       # not run yet.  These depmodes are late enough in the game, and
5203       # so weak that their functioning should not be impacted.
5204       am__obj=conftest.${OBJEXT-o}
5205       am__minus_obj=
5206       ;;
5207     none) break ;;
5208     esac
5209     if depmode=$depmode \
5210        source=sub/conftest.c object=$am__obj \
5211        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5212        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5213          >/dev/null 2>conftest.err &&
5214        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5215        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5216        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5217        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5218       # icc doesn't choke on unknown options, it will just issue warnings
5219       # or remarks (even with -Werror).  So we grep stderr for any message
5220       # that says an option was ignored or not supported.
5221       # When given -MP, icc 7.0 and 7.1 complain thusly:
5222       #   icc: Command line warning: ignoring option '-M'; no argument required
5223       # The diagnosis changed in icc 8.0:
5224       #   icc: Command line remark: option '-MP' not supported
5225       if (grep 'ignoring option' conftest.err ||
5226           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5227         am_cv_CC_dependencies_compiler_type=$depmode
5228         break
5229       fi
5230     fi
5231   done
5232
5233   cd ..
5234   rm -rf conftest.dir
5235 else
5236   am_cv_CC_dependencies_compiler_type=none
5237 fi
5238
5239 fi
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5241 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5242 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5243
5244  if
5245   test "x$enable_dependency_tracking" != xno \
5246   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5247   am__fastdepCC_TRUE=
5248   am__fastdepCC_FALSE='#'
5249 else
5250   am__fastdepCC_TRUE='#'
5251   am__fastdepCC_FALSE=
5252 fi
5253
5254
5255 case `pwd` in
5256   *\ * | *\     *)
5257     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5258 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5259 esac
5260
5261
5262
5263 macro_version='2.4.6'
5264 macro_revision='2.4.6'
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278 ltmain=$ac_aux_dir/ltmain.sh
5279
5280 # Backslashify metacharacters that are still active within
5281 # double-quoted strings.
5282 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5283
5284 # Same as above, but do not quote variable references.
5285 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5286
5287 # Sed substitution to delay expansion of an escaped shell variable in a
5288 # double_quote_subst'ed string.
5289 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5290
5291 # Sed substitution to delay expansion of an escaped single quote.
5292 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5293
5294 # Sed substitution to avoid accidental globbing in evaled expressions
5295 no_glob_subst='s/\*/\\\*/g'
5296
5297 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5298 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5299 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5300
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5302 $as_echo_n "checking how to print strings... " >&6; }
5303 # Test print first, because it will be a builtin if present.
5304 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5305    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5306   ECHO='print -r --'
5307 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5308   ECHO='printf %s\n'
5309 else
5310   # Use this function as a fallback that always works.
5311   func_fallback_echo ()
5312   {
5313     eval 'cat <<_LTECHO_EOF
5314 $1
5315 _LTECHO_EOF'
5316   }
5317   ECHO='func_fallback_echo'
5318 fi
5319
5320 # func_echo_all arg...
5321 # Invoke $ECHO with all args, space-separated.
5322 func_echo_all ()
5323 {
5324     $ECHO ""
5325 }
5326
5327 case $ECHO in
5328   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5329 $as_echo "printf" >&6; } ;;
5330   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5331 $as_echo "print -r" >&6; } ;;
5332   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5333 $as_echo "cat" >&6; } ;;
5334 esac
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5350 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5351 if ${ac_cv_path_SED+:} false; then :
5352   $as_echo_n "(cached) " >&6
5353 else
5354             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5355      for ac_i in 1 2 3 4 5 6 7; do
5356        ac_script="$ac_script$as_nl$ac_script"
5357      done
5358      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5359      { ac_script=; unset ac_script;}
5360      if test -z "$SED"; then
5361   ac_path_SED_found=false
5362   # Loop through the user's path and test for each of PROGNAME-LIST
5363   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 for as_dir in $PATH
5365 do
5366   IFS=$as_save_IFS
5367   test -z "$as_dir" && as_dir=.
5368     for ac_prog in sed gsed; do
5369     for ac_exec_ext in '' $ac_executable_extensions; do
5370       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5371       as_fn_executable_p "$ac_path_SED" || continue
5372 # Check for GNU ac_path_SED and select it if it is found.
5373   # Check for GNU $ac_path_SED
5374 case `"$ac_path_SED" --version 2>&1` in
5375 *GNU*)
5376   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5377 *)
5378   ac_count=0
5379   $as_echo_n 0123456789 >"conftest.in"
5380   while :
5381   do
5382     cat "conftest.in" "conftest.in" >"conftest.tmp"
5383     mv "conftest.tmp" "conftest.in"
5384     cp "conftest.in" "conftest.nl"
5385     $as_echo '' >> "conftest.nl"
5386     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5387     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5388     as_fn_arith $ac_count + 1 && ac_count=$as_val
5389     if test $ac_count -gt ${ac_path_SED_max-0}; then
5390       # Best one so far, save it but keep looking for a better one
5391       ac_cv_path_SED="$ac_path_SED"
5392       ac_path_SED_max=$ac_count
5393     fi
5394     # 10*(2^10) chars as input seems more than enough
5395     test $ac_count -gt 10 && break
5396   done
5397   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5398 esac
5399
5400       $ac_path_SED_found && break 3
5401     done
5402   done
5403   done
5404 IFS=$as_save_IFS
5405   if test -z "$ac_cv_path_SED"; then
5406     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5407   fi
5408 else
5409   ac_cv_path_SED=$SED
5410 fi
5411
5412 fi
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5414 $as_echo "$ac_cv_path_SED" >&6; }
5415  SED="$ac_cv_path_SED"
5416   rm -f conftest.sed
5417
5418 test -z "$SED" && SED=sed
5419 Xsed="$SED -e 1s/^X//"
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5432 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5433 if ${ac_cv_path_GREP+:} false; then :
5434   $as_echo_n "(cached) " >&6
5435 else
5436   if test -z "$GREP"; then
5437   ac_path_GREP_found=false
5438   # Loop through the user's path and test for each of PROGNAME-LIST
5439   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5441 do
5442   IFS=$as_save_IFS
5443   test -z "$as_dir" && as_dir=.
5444     for ac_prog in grep ggrep; do
5445     for ac_exec_ext in '' $ac_executable_extensions; do
5446       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5447       as_fn_executable_p "$ac_path_GREP" || continue
5448 # Check for GNU ac_path_GREP and select it if it is found.
5449   # Check for GNU $ac_path_GREP
5450 case `"$ac_path_GREP" --version 2>&1` in
5451 *GNU*)
5452   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5453 *)
5454   ac_count=0
5455   $as_echo_n 0123456789 >"conftest.in"
5456   while :
5457   do
5458     cat "conftest.in" "conftest.in" >"conftest.tmp"
5459     mv "conftest.tmp" "conftest.in"
5460     cp "conftest.in" "conftest.nl"
5461     $as_echo 'GREP' >> "conftest.nl"
5462     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5463     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5464     as_fn_arith $ac_count + 1 && ac_count=$as_val
5465     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5466       # Best one so far, save it but keep looking for a better one
5467       ac_cv_path_GREP="$ac_path_GREP"
5468       ac_path_GREP_max=$ac_count
5469     fi
5470     # 10*(2^10) chars as input seems more than enough
5471     test $ac_count -gt 10 && break
5472   done
5473   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5474 esac
5475
5476       $ac_path_GREP_found && break 3
5477     done
5478   done
5479   done
5480 IFS=$as_save_IFS
5481   if test -z "$ac_cv_path_GREP"; then
5482     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5483   fi
5484 else
5485   ac_cv_path_GREP=$GREP
5486 fi
5487
5488 fi
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5490 $as_echo "$ac_cv_path_GREP" >&6; }
5491  GREP="$ac_cv_path_GREP"
5492
5493
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5495 $as_echo_n "checking for egrep... " >&6; }
5496 if ${ac_cv_path_EGREP+:} false; then :
5497   $as_echo_n "(cached) " >&6
5498 else
5499   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5500    then ac_cv_path_EGREP="$GREP -E"
5501    else
5502      if test -z "$EGREP"; then
5503   ac_path_EGREP_found=false
5504   # Loop through the user's path and test for each of PROGNAME-LIST
5505   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5507 do
5508   IFS=$as_save_IFS
5509   test -z "$as_dir" && as_dir=.
5510     for ac_prog in egrep; do
5511     for ac_exec_ext in '' $ac_executable_extensions; do
5512       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5513       as_fn_executable_p "$ac_path_EGREP" || continue
5514 # Check for GNU ac_path_EGREP and select it if it is found.
5515   # Check for GNU $ac_path_EGREP
5516 case `"$ac_path_EGREP" --version 2>&1` in
5517 *GNU*)
5518   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5519 *)
5520   ac_count=0
5521   $as_echo_n 0123456789 >"conftest.in"
5522   while :
5523   do
5524     cat "conftest.in" "conftest.in" >"conftest.tmp"
5525     mv "conftest.tmp" "conftest.in"
5526     cp "conftest.in" "conftest.nl"
5527     $as_echo 'EGREP' >> "conftest.nl"
5528     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5529     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5530     as_fn_arith $ac_count + 1 && ac_count=$as_val
5531     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5532       # Best one so far, save it but keep looking for a better one
5533       ac_cv_path_EGREP="$ac_path_EGREP"
5534       ac_path_EGREP_max=$ac_count
5535     fi
5536     # 10*(2^10) chars as input seems more than enough
5537     test $ac_count -gt 10 && break
5538   done
5539   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5540 esac
5541
5542       $ac_path_EGREP_found && break 3
5543     done
5544   done
5545   done
5546 IFS=$as_save_IFS
5547   if test -z "$ac_cv_path_EGREP"; then
5548     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5549   fi
5550 else
5551   ac_cv_path_EGREP=$EGREP
5552 fi
5553
5554    fi
5555 fi
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5557 $as_echo "$ac_cv_path_EGREP" >&6; }
5558  EGREP="$ac_cv_path_EGREP"
5559
5560
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5562 $as_echo_n "checking for fgrep... " >&6; }
5563 if ${ac_cv_path_FGREP+:} false; then :
5564   $as_echo_n "(cached) " >&6
5565 else
5566   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5567    then ac_cv_path_FGREP="$GREP -F"
5568    else
5569      if test -z "$FGREP"; then
5570   ac_path_FGREP_found=false
5571   # Loop through the user's path and test for each of PROGNAME-LIST
5572   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5574 do
5575   IFS=$as_save_IFS
5576   test -z "$as_dir" && as_dir=.
5577     for ac_prog in fgrep; do
5578     for ac_exec_ext in '' $ac_executable_extensions; do
5579       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5580       as_fn_executable_p "$ac_path_FGREP" || continue
5581 # Check for GNU ac_path_FGREP and select it if it is found.
5582   # Check for GNU $ac_path_FGREP
5583 case `"$ac_path_FGREP" --version 2>&1` in
5584 *GNU*)
5585   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5586 *)
5587   ac_count=0
5588   $as_echo_n 0123456789 >"conftest.in"
5589   while :
5590   do
5591     cat "conftest.in" "conftest.in" >"conftest.tmp"
5592     mv "conftest.tmp" "conftest.in"
5593     cp "conftest.in" "conftest.nl"
5594     $as_echo 'FGREP' >> "conftest.nl"
5595     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5596     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5597     as_fn_arith $ac_count + 1 && ac_count=$as_val
5598     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5599       # Best one so far, save it but keep looking for a better one
5600       ac_cv_path_FGREP="$ac_path_FGREP"
5601       ac_path_FGREP_max=$ac_count
5602     fi
5603     # 10*(2^10) chars as input seems more than enough
5604     test $ac_count -gt 10 && break
5605   done
5606   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5607 esac
5608
5609       $ac_path_FGREP_found && break 3
5610     done
5611   done
5612   done
5613 IFS=$as_save_IFS
5614   if test -z "$ac_cv_path_FGREP"; then
5615     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5616   fi
5617 else
5618   ac_cv_path_FGREP=$FGREP
5619 fi
5620
5621    fi
5622 fi
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5624 $as_echo "$ac_cv_path_FGREP" >&6; }
5625  FGREP="$ac_cv_path_FGREP"
5626
5627
5628 test -z "$GREP" && GREP=grep
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648 # Check whether --with-gnu-ld was given.
5649 if test "${with_gnu_ld+set}" = set; then :
5650   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5651 else
5652   with_gnu_ld=no
5653 fi
5654
5655 ac_prog=ld
5656 if test yes = "$GCC"; then
5657   # Check if gcc -print-prog-name=ld gives a path.
5658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5659 $as_echo_n "checking for ld used by $CC... " >&6; }
5660   case $host in
5661   *-*-mingw*)
5662     # gcc leaves a trailing carriage return, which upsets mingw
5663     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5664   *)
5665     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5666   esac
5667   case $ac_prog in
5668     # Accept absolute paths.
5669     [\\/]* | ?:[\\/]*)
5670       re_direlt='/[^/][^/]*/\.\./'
5671       # Canonicalize the pathname of ld
5672       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5673       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5674         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5675       done
5676       test -z "$LD" && LD=$ac_prog
5677       ;;
5678   "")
5679     # If it fails, then pretend we aren't using GCC.
5680     ac_prog=ld
5681     ;;
5682   *)
5683     # If it is relative, then search for the first ld in PATH.
5684     with_gnu_ld=unknown
5685     ;;
5686   esac
5687 elif test yes = "$with_gnu_ld"; then
5688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5689 $as_echo_n "checking for GNU ld... " >&6; }
5690 else
5691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5692 $as_echo_n "checking for non-GNU ld... " >&6; }
5693 fi
5694 if ${lt_cv_path_LD+:} false; then :
5695   $as_echo_n "(cached) " >&6
5696 else
5697   if test -z "$LD"; then
5698   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5699   for ac_dir in $PATH; do
5700     IFS=$lt_save_ifs
5701     test -z "$ac_dir" && ac_dir=.
5702     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5703       lt_cv_path_LD=$ac_dir/$ac_prog
5704       # Check to see if the program is GNU ld.  I'd rather use --version,
5705       # but apparently some variants of GNU ld only accept -v.
5706       # Break only if it was the GNU/non-GNU ld that we prefer.
5707       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5708       *GNU* | *'with BFD'*)
5709         test no != "$with_gnu_ld" && break
5710         ;;
5711       *)
5712         test yes != "$with_gnu_ld" && break
5713         ;;
5714       esac
5715     fi
5716   done
5717   IFS=$lt_save_ifs
5718 else
5719   lt_cv_path_LD=$LD # Let the user override the test with a path.
5720 fi
5721 fi
5722
5723 LD=$lt_cv_path_LD
5724 if test -n "$LD"; then
5725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5726 $as_echo "$LD" >&6; }
5727 else
5728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5730 fi
5731 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5733 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5734 if ${lt_cv_prog_gnu_ld+:} false; then :
5735   $as_echo_n "(cached) " >&6
5736 else
5737   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5738 case `$LD -v 2>&1 </dev/null` in
5739 *GNU* | *'with BFD'*)
5740   lt_cv_prog_gnu_ld=yes
5741   ;;
5742 *)
5743   lt_cv_prog_gnu_ld=no
5744   ;;
5745 esac
5746 fi
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5748 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5749 with_gnu_ld=$lt_cv_prog_gnu_ld
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5760 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5761 if ${lt_cv_path_NM+:} false; then :
5762   $as_echo_n "(cached) " >&6
5763 else
5764   if test -n "$NM"; then
5765   # Let the user override the test.
5766   lt_cv_path_NM=$NM
5767 else
5768   lt_nm_to_check=${ac_tool_prefix}nm
5769   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5770     lt_nm_to_check="$lt_nm_to_check nm"
5771   fi
5772   for lt_tmp_nm in $lt_nm_to_check; do
5773     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5774     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5775       IFS=$lt_save_ifs
5776       test -z "$ac_dir" && ac_dir=.
5777       tmp_nm=$ac_dir/$lt_tmp_nm
5778       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5779         # Check to see if the nm accepts a BSD-compat flag.
5780         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5781         #   nm: unknown option "B" ignored
5782         # Tru64's nm complains that /dev/null is an invalid object file
5783         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5784         case $build_os in
5785         mingw*) lt_bad_file=conftest.nm/nofile ;;
5786         *) lt_bad_file=/dev/null ;;
5787         esac
5788         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5789         *$lt_bad_file* | *'Invalid file or object type'*)
5790           lt_cv_path_NM="$tmp_nm -B"
5791           break 2
5792           ;;
5793         *)
5794           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5795           */dev/null*)
5796             lt_cv_path_NM="$tmp_nm -p"
5797             break 2
5798             ;;
5799           *)
5800             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5801             continue # so that we can try to find one that supports BSD flags
5802             ;;
5803           esac
5804           ;;
5805         esac
5806       fi
5807     done
5808     IFS=$lt_save_ifs
5809   done
5810   : ${lt_cv_path_NM=no}
5811 fi
5812 fi
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5814 $as_echo "$lt_cv_path_NM" >&6; }
5815 if test no != "$lt_cv_path_NM"; then
5816   NM=$lt_cv_path_NM
5817 else
5818   # Didn't find any BSD compatible name lister, look for dumpbin.
5819   if test -n "$DUMPBIN"; then :
5820     # Let the user override the test.
5821   else
5822     if test -n "$ac_tool_prefix"; then
5823   for ac_prog in dumpbin "link -dump"
5824   do
5825     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828 $as_echo_n "checking for $ac_word... " >&6; }
5829 if ${ac_cv_prog_DUMPBIN+:} false; then :
5830   $as_echo_n "(cached) " >&6
5831 else
5832   if test -n "$DUMPBIN"; then
5833   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5834 else
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 for as_dir in $PATH
5837 do
5838   IFS=$as_save_IFS
5839   test -z "$as_dir" && as_dir=.
5840     for ac_exec_ext in '' $ac_executable_extensions; do
5841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5844     break 2
5845   fi
5846 done
5847   done
5848 IFS=$as_save_IFS
5849
5850 fi
5851 fi
5852 DUMPBIN=$ac_cv_prog_DUMPBIN
5853 if test -n "$DUMPBIN"; then
5854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5855 $as_echo "$DUMPBIN" >&6; }
5856 else
5857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5859 fi
5860
5861
5862     test -n "$DUMPBIN" && break
5863   done
5864 fi
5865 if test -z "$DUMPBIN"; then
5866   ac_ct_DUMPBIN=$DUMPBIN
5867   for ac_prog in dumpbin "link -dump"
5868 do
5869   # Extract the first word of "$ac_prog", so it can be a program name with args.
5870 set dummy $ac_prog; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5874   $as_echo_n "(cached) " >&6
5875 else
5876   if test -n "$ac_ct_DUMPBIN"; then
5877   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5878 else
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in $PATH
5881 do
5882   IFS=$as_save_IFS
5883   test -z "$as_dir" && as_dir=.
5884     for ac_exec_ext in '' $ac_executable_extensions; do
5885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888     break 2
5889   fi
5890 done
5891   done
5892 IFS=$as_save_IFS
5893
5894 fi
5895 fi
5896 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5897 if test -n "$ac_ct_DUMPBIN"; then
5898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5899 $as_echo "$ac_ct_DUMPBIN" >&6; }
5900 else
5901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5903 fi
5904
5905
5906   test -n "$ac_ct_DUMPBIN" && break
5907 done
5908
5909   if test "x$ac_ct_DUMPBIN" = x; then
5910     DUMPBIN=":"
5911   else
5912     case $cross_compiling:$ac_tool_warned in
5913 yes:)
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5916 ac_tool_warned=yes ;;
5917 esac
5918     DUMPBIN=$ac_ct_DUMPBIN
5919   fi
5920 fi
5921
5922     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5923     *COFF*)
5924       DUMPBIN="$DUMPBIN -symbols -headers"
5925       ;;
5926     *)
5927       DUMPBIN=:
5928       ;;
5929     esac
5930   fi
5931
5932   if test : != "$DUMPBIN"; then
5933     NM=$DUMPBIN
5934   fi
5935 fi
5936 test -z "$NM" && NM=nm
5937
5938
5939
5940
5941
5942
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5944 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5945 if ${lt_cv_nm_interface+:} false; then :
5946   $as_echo_n "(cached) " >&6
5947 else
5948   lt_cv_nm_interface="BSD nm"
5949   echo "int some_variable = 0;" > conftest.$ac_ext
5950   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5951   (eval "$ac_compile" 2>conftest.err)
5952   cat conftest.err >&5
5953   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5954   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5955   cat conftest.err >&5
5956   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5957   cat conftest.out >&5
5958   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5959     lt_cv_nm_interface="MS dumpbin"
5960   fi
5961   rm -f conftest*
5962 fi
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5964 $as_echo "$lt_cv_nm_interface" >&6; }
5965
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5967 $as_echo_n "checking whether ln -s works... " >&6; }
5968 LN_S=$as_ln_s
5969 if test "$LN_S" = "ln -s"; then
5970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5971 $as_echo "yes" >&6; }
5972 else
5973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5974 $as_echo "no, using $LN_S" >&6; }
5975 fi
5976
5977 # find the maximum length of command line arguments
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5979 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5980 if ${lt_cv_sys_max_cmd_len+:} false; then :
5981   $as_echo_n "(cached) " >&6
5982 else
5983     i=0
5984   teststring=ABCD
5985
5986   case $build_os in
5987   msdosdjgpp*)
5988     # On DJGPP, this test can blow up pretty badly due to problems in libc
5989     # (any single argument exceeding 2000 bytes causes a buffer overrun
5990     # during glob expansion).  Even if it were fixed, the result of this
5991     # check would be larger than it should be.
5992     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5993     ;;
5994
5995   gnu*)
5996     # Under GNU Hurd, this test is not required because there is
5997     # no limit to the length of command line arguments.
5998     # Libtool will interpret -1 as no limit whatsoever
5999     lt_cv_sys_max_cmd_len=-1;
6000     ;;
6001
6002   cygwin* | mingw* | cegcc*)
6003     # On Win9x/ME, this test blows up -- it succeeds, but takes
6004     # about 5 minutes as the teststring grows exponentially.
6005     # Worse, since 9x/ME are not pre-emptively multitasking,
6006     # you end up with a "frozen" computer, even though with patience
6007     # the test eventually succeeds (with a max line length of 256k).
6008     # Instead, let's just punt: use the minimum linelength reported by
6009     # all of the supported platforms: 8192 (on NT/2K/XP).
6010     lt_cv_sys_max_cmd_len=8192;
6011     ;;
6012
6013   mint*)
6014     # On MiNT this can take a long time and run out of memory.
6015     lt_cv_sys_max_cmd_len=8192;
6016     ;;
6017
6018   amigaos*)
6019     # On AmigaOS with pdksh, this test takes hours, literally.
6020     # So we just punt and use a minimum line length of 8192.
6021     lt_cv_sys_max_cmd_len=8192;
6022     ;;
6023
6024   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6025     # This has been around since 386BSD, at least.  Likely further.
6026     if test -x /sbin/sysctl; then
6027       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6028     elif test -x /usr/sbin/sysctl; then
6029       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6030     else
6031       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6032     fi
6033     # And add a safety zone
6034     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6035     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6036     ;;
6037
6038   interix*)
6039     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6040     lt_cv_sys_max_cmd_len=196608
6041     ;;
6042
6043   os2*)
6044     # The test takes a long time on OS/2.
6045     lt_cv_sys_max_cmd_len=8192
6046     ;;
6047
6048   osf*)
6049     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6050     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6051     # nice to cause kernel panics so lets avoid the loop below.
6052     # First set a reasonable default.
6053     lt_cv_sys_max_cmd_len=16384
6054     #
6055     if test -x /sbin/sysconfig; then
6056       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6057         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6058       esac
6059     fi
6060     ;;
6061   sco3.2v5*)
6062     lt_cv_sys_max_cmd_len=102400
6063     ;;
6064   sysv5* | sco5v6* | sysv4.2uw2*)
6065     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6066     if test -n "$kargmax"; then
6067       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6068     else
6069       lt_cv_sys_max_cmd_len=32768
6070     fi
6071     ;;
6072   *)
6073     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6074     if test -n "$lt_cv_sys_max_cmd_len" && \
6075        test undefined != "$lt_cv_sys_max_cmd_len"; then
6076       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6077       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6078     else
6079       # Make teststring a little bigger before we do anything with it.
6080       # a 1K string should be a reasonable start.
6081       for i in 1 2 3 4 5 6 7 8; do
6082         teststring=$teststring$teststring
6083       done
6084       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6085       # If test is not a shell built-in, we'll probably end up computing a
6086       # maximum length that is only half of the actual maximum length, but
6087       # we can't tell.
6088       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6089                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6090               test 17 != "$i" # 1/2 MB should be enough
6091       do
6092         i=`expr $i + 1`
6093         teststring=$teststring$teststring
6094       done
6095       # Only check the string length outside the loop.
6096       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6097       teststring=
6098       # Add a significant safety factor because C++ compilers can tack on
6099       # massive amounts of additional arguments before passing them to the
6100       # linker.  It appears as though 1/2 is a usable value.
6101       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6102     fi
6103     ;;
6104   esac
6105
6106 fi
6107
6108 if test -n "$lt_cv_sys_max_cmd_len"; then
6109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6110 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6111 else
6112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6113 $as_echo "none" >&6; }
6114 fi
6115 max_cmd_len=$lt_cv_sys_max_cmd_len
6116
6117
6118
6119
6120
6121
6122 : ${CP="cp -f"}
6123 : ${MV="mv -f"}
6124 : ${RM="rm -f"}
6125
6126 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6127   lt_unset=unset
6128 else
6129   lt_unset=false
6130 fi
6131
6132
6133
6134
6135
6136 # test EBCDIC or ASCII
6137 case `echo X|tr X '\101'` in
6138  A) # ASCII based system
6139     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6140   lt_SP2NL='tr \040 \012'
6141   lt_NL2SP='tr \015\012 \040\040'
6142   ;;
6143  *) # EBCDIC based system
6144   lt_SP2NL='tr \100 \n'
6145   lt_NL2SP='tr \r\n \100\100'
6146   ;;
6147 esac
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6158 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6159 if ${lt_cv_to_host_file_cmd+:} false; then :
6160   $as_echo_n "(cached) " >&6
6161 else
6162   case $host in
6163   *-*-mingw* )
6164     case $build in
6165       *-*-mingw* ) # actually msys
6166         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6167         ;;
6168       *-*-cygwin* )
6169         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6170         ;;
6171       * ) # otherwise, assume *nix
6172         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6173         ;;
6174     esac
6175     ;;
6176   *-*-cygwin* )
6177     case $build in
6178       *-*-mingw* ) # actually msys
6179         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6180         ;;
6181       *-*-cygwin* )
6182         lt_cv_to_host_file_cmd=func_convert_file_noop
6183         ;;
6184       * ) # otherwise, assume *nix
6185         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6186         ;;
6187     esac
6188     ;;
6189   * ) # unhandled hosts (and "normal" native builds)
6190     lt_cv_to_host_file_cmd=func_convert_file_noop
6191     ;;
6192 esac
6193
6194 fi
6195
6196 to_host_file_cmd=$lt_cv_to_host_file_cmd
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6198 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6199
6200
6201
6202
6203
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6205 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6206 if ${lt_cv_to_tool_file_cmd+:} false; then :
6207   $as_echo_n "(cached) " >&6
6208 else
6209   #assume ordinary cross tools, or native build.
6210 lt_cv_to_tool_file_cmd=func_convert_file_noop
6211 case $host in
6212   *-*-mingw* )
6213     case $build in
6214       *-*-mingw* ) # actually msys
6215         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6216         ;;
6217     esac
6218     ;;
6219 esac
6220
6221 fi
6222
6223 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6225 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6226
6227
6228
6229
6230
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6232 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6233 if ${lt_cv_ld_reload_flag+:} false; then :
6234   $as_echo_n "(cached) " >&6
6235 else
6236   lt_cv_ld_reload_flag='-r'
6237 fi
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6239 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6240 reload_flag=$lt_cv_ld_reload_flag
6241 case $reload_flag in
6242 "" | " "*) ;;
6243 *) reload_flag=" $reload_flag" ;;
6244 esac
6245 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6246 case $host_os in
6247   cygwin* | mingw* | pw32* | cegcc*)
6248     if test yes != "$GCC"; then
6249       reload_cmds=false
6250     fi
6251     ;;
6252   darwin*)
6253     if test yes = "$GCC"; then
6254       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6255     else
6256       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6257     fi
6258     ;;
6259 esac
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269 if test -n "$ac_tool_prefix"; then
6270   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6271 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if ${ac_cv_prog_OBJDUMP+:} false; then :
6275   $as_echo_n "(cached) " >&6
6276 else
6277   if test -n "$OBJDUMP"; then
6278   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6279 else
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 for as_dir in $PATH
6282 do
6283   IFS=$as_save_IFS
6284   test -z "$as_dir" && as_dir=.
6285     for ac_exec_ext in '' $ac_executable_extensions; do
6286   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6287     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6289     break 2
6290   fi
6291 done
6292   done
6293 IFS=$as_save_IFS
6294
6295 fi
6296 fi
6297 OBJDUMP=$ac_cv_prog_OBJDUMP
6298 if test -n "$OBJDUMP"; then
6299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6300 $as_echo "$OBJDUMP" >&6; }
6301 else
6302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6304 fi
6305
6306
6307 fi
6308 if test -z "$ac_cv_prog_OBJDUMP"; then
6309   ac_ct_OBJDUMP=$OBJDUMP
6310   # Extract the first word of "objdump", so it can be a program name with args.
6311 set dummy objdump; ac_word=$2
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313 $as_echo_n "checking for $ac_word... " >&6; }
6314 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6315   $as_echo_n "(cached) " >&6
6316 else
6317   if test -n "$ac_ct_OBJDUMP"; then
6318   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6319 else
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 for as_dir in $PATH
6322 do
6323   IFS=$as_save_IFS
6324   test -z "$as_dir" && as_dir=.
6325     for ac_exec_ext in '' $ac_executable_extensions; do
6326   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6327     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6329     break 2
6330   fi
6331 done
6332   done
6333 IFS=$as_save_IFS
6334
6335 fi
6336 fi
6337 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6338 if test -n "$ac_ct_OBJDUMP"; then
6339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6340 $as_echo "$ac_ct_OBJDUMP" >&6; }
6341 else
6342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 $as_echo "no" >&6; }
6344 fi
6345
6346   if test "x$ac_ct_OBJDUMP" = x; then
6347     OBJDUMP="false"
6348   else
6349     case $cross_compiling:$ac_tool_warned in
6350 yes:)
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6353 ac_tool_warned=yes ;;
6354 esac
6355     OBJDUMP=$ac_ct_OBJDUMP
6356   fi
6357 else
6358   OBJDUMP="$ac_cv_prog_OBJDUMP"
6359 fi
6360
6361 test -z "$OBJDUMP" && OBJDUMP=objdump
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6372 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6373 if ${lt_cv_deplibs_check_method+:} false; then :
6374   $as_echo_n "(cached) " >&6
6375 else
6376   lt_cv_file_magic_cmd='$MAGIC_CMD'
6377 lt_cv_file_magic_test_file=
6378 lt_cv_deplibs_check_method='unknown'
6379 # Need to set the preceding variable on all platforms that support
6380 # interlibrary dependencies.
6381 # 'none' -- dependencies not supported.
6382 # 'unknown' -- same as none, but documents that we really don't know.
6383 # 'pass_all' -- all dependencies passed with no checks.
6384 # 'test_compile' -- check by making test program.
6385 # 'file_magic [[regex]]' -- check by looking for files in library path
6386 # that responds to the $file_magic_cmd with a given extended regex.
6387 # If you have 'file' or equivalent on your system and you're not sure
6388 # whether 'pass_all' will *always* work, you probably want this one.
6389
6390 case $host_os in
6391 aix[4-9]*)
6392   lt_cv_deplibs_check_method=pass_all
6393   ;;
6394
6395 beos*)
6396   lt_cv_deplibs_check_method=pass_all
6397   ;;
6398
6399 bsdi[45]*)
6400   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6401   lt_cv_file_magic_cmd='/usr/bin/file -L'
6402   lt_cv_file_magic_test_file=/shlib/libc.so
6403   ;;
6404
6405 cygwin*)
6406   # func_win32_libid is a shell function defined in ltmain.sh
6407   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6408   lt_cv_file_magic_cmd='func_win32_libid'
6409   ;;
6410
6411 mingw* | pw32*)
6412   # Base MSYS/MinGW do not provide the 'file' command needed by
6413   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6414   # unless we find 'file', for example because we are cross-compiling.
6415   if ( file / ) >/dev/null 2>&1; then
6416     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6417     lt_cv_file_magic_cmd='func_win32_libid'
6418   else
6419     # Keep this pattern in sync with the one in func_win32_libid.
6420     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6421     lt_cv_file_magic_cmd='$OBJDUMP -f'
6422   fi
6423   ;;
6424
6425 cegcc*)
6426   # use the weaker test based on 'objdump'. See mingw*.
6427   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6428   lt_cv_file_magic_cmd='$OBJDUMP -f'
6429   ;;
6430
6431 darwin* | rhapsody*)
6432   lt_cv_deplibs_check_method=pass_all
6433   ;;
6434
6435 freebsd* | dragonfly*)
6436   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6437     case $host_cpu in
6438     i*86 )
6439       # Not sure whether the presence of OpenBSD here was a mistake.
6440       # Let's accept both of them until this is cleared up.
6441       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6442       lt_cv_file_magic_cmd=/usr/bin/file
6443       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6444       ;;
6445     esac
6446   else
6447     lt_cv_deplibs_check_method=pass_all
6448   fi
6449   ;;
6450
6451 haiku*)
6452   lt_cv_deplibs_check_method=pass_all
6453   ;;
6454
6455 hpux10.20* | hpux11*)
6456   lt_cv_file_magic_cmd=/usr/bin/file
6457   case $host_cpu in
6458   ia64*)
6459     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6460     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6461     ;;
6462   hppa*64*)
6463     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]'
6464     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6465     ;;
6466   *)
6467     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6468     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6469     ;;
6470   esac
6471   ;;
6472
6473 interix[3-9]*)
6474   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6475   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6476   ;;
6477
6478 irix5* | irix6* | nonstopux*)
6479   case $LD in
6480   *-32|*"-32 ") libmagic=32-bit;;
6481   *-n32|*"-n32 ") libmagic=N32;;
6482   *-64|*"-64 ") libmagic=64-bit;;
6483   *) libmagic=never-match;;
6484   esac
6485   lt_cv_deplibs_check_method=pass_all
6486   ;;
6487
6488 # This must be glibc/ELF.
6489 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6490   lt_cv_deplibs_check_method=pass_all
6491   ;;
6492
6493 netbsd* | netbsdelf*-gnu)
6494   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6495     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6496   else
6497     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6498   fi
6499   ;;
6500
6501 newos6*)
6502   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6503   lt_cv_file_magic_cmd=/usr/bin/file
6504   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6505   ;;
6506
6507 *nto* | *qnx*)
6508   lt_cv_deplibs_check_method=pass_all
6509   ;;
6510
6511 openbsd* | bitrig*)
6512   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6513     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6514   else
6515     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6516   fi
6517   ;;
6518
6519 osf3* | osf4* | osf5*)
6520   lt_cv_deplibs_check_method=pass_all
6521   ;;
6522
6523 rdos*)
6524   lt_cv_deplibs_check_method=pass_all
6525   ;;
6526
6527 solaris*)
6528   lt_cv_deplibs_check_method=pass_all
6529   ;;
6530
6531 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6532   lt_cv_deplibs_check_method=pass_all
6533   ;;
6534
6535 sysv4 | sysv4.3*)
6536   case $host_vendor in
6537   motorola)
6538     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]'
6539     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6540     ;;
6541   ncr)
6542     lt_cv_deplibs_check_method=pass_all
6543     ;;
6544   sequent)
6545     lt_cv_file_magic_cmd='/bin/file'
6546     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6547     ;;
6548   sni)
6549     lt_cv_file_magic_cmd='/bin/file'
6550     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6551     lt_cv_file_magic_test_file=/lib/libc.so
6552     ;;
6553   siemens)
6554     lt_cv_deplibs_check_method=pass_all
6555     ;;
6556   pc)
6557     lt_cv_deplibs_check_method=pass_all
6558     ;;
6559   esac
6560   ;;
6561
6562 tpf*)
6563   lt_cv_deplibs_check_method=pass_all
6564   ;;
6565 os2*)
6566   lt_cv_deplibs_check_method=pass_all
6567   ;;
6568 esac
6569
6570 fi
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6572 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6573
6574 file_magic_glob=
6575 want_nocaseglob=no
6576 if test "$build" = "$host"; then
6577   case $host_os in
6578   mingw* | pw32*)
6579     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6580       want_nocaseglob=yes
6581     else
6582       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6583     fi
6584     ;;
6585   esac
6586 fi
6587
6588 file_magic_cmd=$lt_cv_file_magic_cmd
6589 deplibs_check_method=$lt_cv_deplibs_check_method
6590 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613 if test -n "$ac_tool_prefix"; then
6614   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6615 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_DLLTOOL+:} false; then :
6619   $as_echo_n "(cached) " >&6
6620 else
6621   if test -n "$DLLTOOL"; then
6622   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6623 else
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in $PATH
6626 do
6627   IFS=$as_save_IFS
6628   test -z "$as_dir" && as_dir=.
6629     for ac_exec_ext in '' $ac_executable_extensions; do
6630   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6631     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633     break 2
6634   fi
6635 done
6636   done
6637 IFS=$as_save_IFS
6638
6639 fi
6640 fi
6641 DLLTOOL=$ac_cv_prog_DLLTOOL
6642 if test -n "$DLLTOOL"; then
6643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6644 $as_echo "$DLLTOOL" >&6; }
6645 else
6646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6648 fi
6649
6650
6651 fi
6652 if test -z "$ac_cv_prog_DLLTOOL"; then
6653   ac_ct_DLLTOOL=$DLLTOOL
6654   # Extract the first word of "dlltool", so it can be a program name with args.
6655 set dummy dlltool; ac_word=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6659   $as_echo_n "(cached) " >&6
6660 else
6661   if test -n "$ac_ct_DLLTOOL"; then
6662   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6663 else
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 for as_dir in $PATH
6666 do
6667   IFS=$as_save_IFS
6668   test -z "$as_dir" && as_dir=.
6669     for ac_exec_ext in '' $ac_executable_extensions; do
6670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6673     break 2
6674   fi
6675 done
6676   done
6677 IFS=$as_save_IFS
6678
6679 fi
6680 fi
6681 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6682 if test -n "$ac_ct_DLLTOOL"; then
6683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6684 $as_echo "$ac_ct_DLLTOOL" >&6; }
6685 else
6686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6688 fi
6689
6690   if test "x$ac_ct_DLLTOOL" = x; then
6691     DLLTOOL="false"
6692   else
6693     case $cross_compiling:$ac_tool_warned in
6694 yes:)
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6697 ac_tool_warned=yes ;;
6698 esac
6699     DLLTOOL=$ac_ct_DLLTOOL
6700   fi
6701 else
6702   DLLTOOL="$ac_cv_prog_DLLTOOL"
6703 fi
6704
6705 test -z "$DLLTOOL" && DLLTOOL=dlltool
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6717 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6718 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6719   $as_echo_n "(cached) " >&6
6720 else
6721   lt_cv_sharedlib_from_linklib_cmd='unknown'
6722
6723 case $host_os in
6724 cygwin* | mingw* | pw32* | cegcc*)
6725   # two different shell functions defined in ltmain.sh;
6726   # decide which one to use based on capabilities of $DLLTOOL
6727   case `$DLLTOOL --help 2>&1` in
6728   *--identify-strict*)
6729     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6730     ;;
6731   *)
6732     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6733     ;;
6734   esac
6735   ;;
6736 *)
6737   # fallback: assume linklib IS sharedlib
6738   lt_cv_sharedlib_from_linklib_cmd=$ECHO
6739   ;;
6740 esac
6741
6742 fi
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6744 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6745 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6746 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6747
6748
6749
6750
6751
6752
6753
6754
6755 if test -n "$ac_tool_prefix"; then
6756   for ac_prog in ar
6757   do
6758     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if ${ac_cv_prog_AR+:} false; then :
6763   $as_echo_n "(cached) " >&6
6764 else
6765   if test -n "$AR"; then
6766   ac_cv_prog_AR="$AR" # Let the user override the test.
6767 else
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769 for as_dir in $PATH
6770 do
6771   IFS=$as_save_IFS
6772   test -z "$as_dir" && as_dir=.
6773     for ac_exec_ext in '' $ac_executable_extensions; do
6774   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6775     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777     break 2
6778   fi
6779 done
6780   done
6781 IFS=$as_save_IFS
6782
6783 fi
6784 fi
6785 AR=$ac_cv_prog_AR
6786 if test -n "$AR"; then
6787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6788 $as_echo "$AR" >&6; }
6789 else
6790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6792 fi
6793
6794
6795     test -n "$AR" && break
6796   done
6797 fi
6798 if test -z "$AR"; then
6799   ac_ct_AR=$AR
6800   for ac_prog in ar
6801 do
6802   # Extract the first word of "$ac_prog", so it can be a program name with args.
6803 set dummy $ac_prog; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6807   $as_echo_n "(cached) " >&6
6808 else
6809   if test -n "$ac_ct_AR"; then
6810   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6811 else
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 for as_dir in $PATH
6814 do
6815   IFS=$as_save_IFS
6816   test -z "$as_dir" && as_dir=.
6817     for ac_exec_ext in '' $ac_executable_extensions; do
6818   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819     ac_cv_prog_ac_ct_AR="$ac_prog"
6820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821     break 2
6822   fi
6823 done
6824   done
6825 IFS=$as_save_IFS
6826
6827 fi
6828 fi
6829 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6830 if test -n "$ac_ct_AR"; then
6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6832 $as_echo "$ac_ct_AR" >&6; }
6833 else
6834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6836 fi
6837
6838
6839   test -n "$ac_ct_AR" && break
6840 done
6841
6842   if test "x$ac_ct_AR" = x; then
6843     AR="false"
6844   else
6845     case $cross_compiling:$ac_tool_warned in
6846 yes:)
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849 ac_tool_warned=yes ;;
6850 esac
6851     AR=$ac_ct_AR
6852   fi
6853 fi
6854
6855 : ${AR=ar}
6856 : ${AR_FLAGS=cru}
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6869 $as_echo_n "checking for archiver @FILE support... " >&6; }
6870 if ${lt_cv_ar_at_file+:} false; then :
6871   $as_echo_n "(cached) " >&6
6872 else
6873   lt_cv_ar_at_file=no
6874    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6875 /* end confdefs.h.  */
6876
6877 int
6878 main ()
6879 {
6880
6881   ;
6882   return 0;
6883 }
6884 _ACEOF
6885 if ac_fn_c_try_compile "$LINENO"; then :
6886   echo conftest.$ac_objext > conftest.lst
6887       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6888       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6889   (eval $lt_ar_try) 2>&5
6890   ac_status=$?
6891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6892   test $ac_status = 0; }
6893       if test 0 -eq "$ac_status"; then
6894         # Ensure the archiver fails upon bogus file names.
6895         rm -f conftest.$ac_objext libconftest.a
6896         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6897   (eval $lt_ar_try) 2>&5
6898   ac_status=$?
6899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6900   test $ac_status = 0; }
6901         if test 0 -ne "$ac_status"; then
6902           lt_cv_ar_at_file=@
6903         fi
6904       fi
6905       rm -f conftest.* libconftest.a
6906
6907 fi
6908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6909
6910 fi
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6912 $as_echo "$lt_cv_ar_at_file" >&6; }
6913
6914 if test no = "$lt_cv_ar_at_file"; then
6915   archiver_list_spec=
6916 else
6917   archiver_list_spec=$lt_cv_ar_at_file
6918 fi
6919
6920
6921
6922
6923
6924
6925
6926 if test -n "$ac_tool_prefix"; then
6927   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6928 set dummy ${ac_tool_prefix}strip; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 $as_echo_n "checking for $ac_word... " >&6; }
6931 if ${ac_cv_prog_STRIP+:} false; then :
6932   $as_echo_n "(cached) " >&6
6933 else
6934   if test -n "$STRIP"; then
6935   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6936 else
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 for as_dir in $PATH
6939 do
6940   IFS=$as_save_IFS
6941   test -z "$as_dir" && as_dir=.
6942     for ac_exec_ext in '' $ac_executable_extensions; do
6943   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946     break 2
6947   fi
6948 done
6949   done
6950 IFS=$as_save_IFS
6951
6952 fi
6953 fi
6954 STRIP=$ac_cv_prog_STRIP
6955 if test -n "$STRIP"; then
6956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6957 $as_echo "$STRIP" >&6; }
6958 else
6959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 $as_echo "no" >&6; }
6961 fi
6962
6963
6964 fi
6965 if test -z "$ac_cv_prog_STRIP"; then
6966   ac_ct_STRIP=$STRIP
6967   # Extract the first word of "strip", so it can be a program name with args.
6968 set dummy strip; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6972   $as_echo_n "(cached) " >&6
6973 else
6974   if test -n "$ac_ct_STRIP"; then
6975   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6976 else
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH
6979 do
6980   IFS=$as_save_IFS
6981   test -z "$as_dir" && as_dir=.
6982     for ac_exec_ext in '' $ac_executable_extensions; do
6983   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984     ac_cv_prog_ac_ct_STRIP="strip"
6985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986     break 2
6987   fi
6988 done
6989   done
6990 IFS=$as_save_IFS
6991
6992 fi
6993 fi
6994 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6995 if test -n "$ac_ct_STRIP"; then
6996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6997 $as_echo "$ac_ct_STRIP" >&6; }
6998 else
6999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7001 fi
7002
7003   if test "x$ac_ct_STRIP" = x; then
7004     STRIP=":"
7005   else
7006     case $cross_compiling:$ac_tool_warned in
7007 yes:)
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7010 ac_tool_warned=yes ;;
7011 esac
7012     STRIP=$ac_ct_STRIP
7013   fi
7014 else
7015   STRIP="$ac_cv_prog_STRIP"
7016 fi
7017
7018 test -z "$STRIP" && STRIP=:
7019
7020
7021
7022
7023
7024
7025 if test -n "$ac_tool_prefix"; then
7026   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7027 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_RANLIB+:} false; then :
7031   $as_echo_n "(cached) " >&6
7032 else
7033   if test -n "$RANLIB"; then
7034   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7035 else
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 for as_dir in $PATH
7038 do
7039   IFS=$as_save_IFS
7040   test -z "$as_dir" && as_dir=.
7041     for ac_exec_ext in '' $ac_executable_extensions; do
7042   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045     break 2
7046   fi
7047 done
7048   done
7049 IFS=$as_save_IFS
7050
7051 fi
7052 fi
7053 RANLIB=$ac_cv_prog_RANLIB
7054 if test -n "$RANLIB"; then
7055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7056 $as_echo "$RANLIB" >&6; }
7057 else
7058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7060 fi
7061
7062
7063 fi
7064 if test -z "$ac_cv_prog_RANLIB"; then
7065   ac_ct_RANLIB=$RANLIB
7066   # Extract the first word of "ranlib", so it can be a program name with args.
7067 set dummy ranlib; ac_word=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7071   $as_echo_n "(cached) " >&6
7072 else
7073   if test -n "$ac_ct_RANLIB"; then
7074   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7075 else
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 for as_dir in $PATH
7078 do
7079   IFS=$as_save_IFS
7080   test -z "$as_dir" && as_dir=.
7081     for ac_exec_ext in '' $ac_executable_extensions; do
7082   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7083     ac_cv_prog_ac_ct_RANLIB="ranlib"
7084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085     break 2
7086   fi
7087 done
7088   done
7089 IFS=$as_save_IFS
7090
7091 fi
7092 fi
7093 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7094 if test -n "$ac_ct_RANLIB"; then
7095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7096 $as_echo "$ac_ct_RANLIB" >&6; }
7097 else
7098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7100 fi
7101
7102   if test "x$ac_ct_RANLIB" = x; then
7103     RANLIB=":"
7104   else
7105     case $cross_compiling:$ac_tool_warned in
7106 yes:)
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7109 ac_tool_warned=yes ;;
7110 esac
7111     RANLIB=$ac_ct_RANLIB
7112   fi
7113 else
7114   RANLIB="$ac_cv_prog_RANLIB"
7115 fi
7116
7117 test -z "$RANLIB" && RANLIB=:
7118
7119
7120
7121
7122
7123
7124 # Determine commands to create old-style static archives.
7125 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7126 old_postinstall_cmds='chmod 644 $oldlib'
7127 old_postuninstall_cmds=
7128
7129 if test -n "$RANLIB"; then
7130   case $host_os in
7131   bitrig* | openbsd*)
7132     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7133     ;;
7134   *)
7135     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7136     ;;
7137   esac
7138   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7139 fi
7140
7141 case $host_os in
7142   darwin*)
7143     lock_old_archive_extraction=yes ;;
7144   *)
7145     lock_old_archive_extraction=no ;;
7146 esac
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186 # If no C compiler was specified, use CC.
7187 LTCC=${LTCC-"$CC"}
7188
7189 # If no C compiler flags were specified, use CFLAGS.
7190 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7191
7192 # Allow CC to be a program name with arguments.
7193 compiler=$CC
7194
7195
7196 # Check for command to grab the raw symbol name followed by C symbol from nm.
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7198 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7199 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7200   $as_echo_n "(cached) " >&6
7201 else
7202
7203 # These are sane defaults that work on at least a few old systems.
7204 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7205
7206 # Character class describing NM global symbol codes.
7207 symcode='[BCDEGRST]'
7208
7209 # Regexp to match symbols that can be accessed directly from C.
7210 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7211
7212 # Define system-specific variables.
7213 case $host_os in
7214 aix*)
7215   symcode='[BCDT]'
7216   ;;
7217 cygwin* | mingw* | pw32* | cegcc*)
7218   symcode='[ABCDGISTW]'
7219   ;;
7220 hpux*)
7221   if test ia64 = "$host_cpu"; then
7222     symcode='[ABCDEGRST]'
7223   fi
7224   ;;
7225 irix* | nonstopux*)
7226   symcode='[BCDEGRST]'
7227   ;;
7228 osf*)
7229   symcode='[BCDEGQRST]'
7230   ;;
7231 solaris*)
7232   symcode='[BDRT]'
7233   ;;
7234 sco3.2v5*)
7235   symcode='[DT]'
7236   ;;
7237 sysv4.2uw2*)
7238   symcode='[DT]'
7239   ;;
7240 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7241   symcode='[ABDT]'
7242   ;;
7243 sysv4)
7244   symcode='[DFNSTU]'
7245   ;;
7246 esac
7247
7248 # If we're using GNU nm, then use its standard symbol codes.
7249 case `$NM -V 2>&1` in
7250 *GNU* | *'with BFD'*)
7251   symcode='[ABCDGIRSTW]' ;;
7252 esac
7253
7254 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7255   # Gets list of data symbols to import.
7256   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7257   # Adjust the below global symbol transforms to fixup imported variables.
7258   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7259   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7260   lt_c_name_lib_hook="\
7261   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7262   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7263 else
7264   # Disable hooks by default.
7265   lt_cv_sys_global_symbol_to_import=
7266   lt_cdecl_hook=
7267   lt_c_name_hook=
7268   lt_c_name_lib_hook=
7269 fi
7270
7271 # Transform an extracted symbol line into a proper C declaration.
7272 # Some systems (esp. on ia64) link data and code symbols differently,
7273 # so use this general approach.
7274 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7275 $lt_cdecl_hook\
7276 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7277 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7278
7279 # Transform an extracted symbol line into symbol name and symbol address
7280 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7281 $lt_c_name_hook\
7282 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7283 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7284
7285 # Transform an extracted symbol line into symbol name with lib prefix and
7286 # symbol address.
7287 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7288 $lt_c_name_lib_hook\
7289 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7290 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7291 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7292
7293 # Handle CRLF in mingw tool chain
7294 opt_cr=
7295 case $build_os in
7296 mingw*)
7297   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7298   ;;
7299 esac
7300
7301 # Try without a prefix underscore, then with it.
7302 for ac_symprfx in "" "_"; do
7303
7304   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7305   symxfrm="\\1 $ac_symprfx\\2 \\2"
7306
7307   # Write the raw and C identifiers.
7308   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7309     # Fake it for dumpbin and say T for any non-static function,
7310     # D for any global variable and I for any imported variable.
7311     # Also find C++ and __fastcall symbols from MSVC++,
7312     # which start with @ or ?.
7313     lt_cv_sys_global_symbol_pipe="$AWK '"\
7314 "     {last_section=section; section=\$ 3};"\
7315 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7316 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7317 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7318 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7319 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7320 "     \$ 0!~/External *\|/{next};"\
7321 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7322 "     {if(hide[section]) next};"\
7323 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7324 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7325 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7326 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7327 "     ' prfx=^$ac_symprfx"
7328   else
7329     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7330   fi
7331   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7332
7333   # Check to see that the pipe works correctly.
7334   pipe_works=no
7335
7336   rm -f conftest*
7337   cat > conftest.$ac_ext <<_LT_EOF
7338 #ifdef __cplusplus
7339 extern "C" {
7340 #endif
7341 char nm_test_var;
7342 void nm_test_func(void);
7343 void nm_test_func(void){}
7344 #ifdef __cplusplus
7345 }
7346 #endif
7347 int main(){nm_test_var='a';nm_test_func();return(0);}
7348 _LT_EOF
7349
7350   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7351   (eval $ac_compile) 2>&5
7352   ac_status=$?
7353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7354   test $ac_status = 0; }; then
7355     # Now try to grab the symbols.
7356     nlist=conftest.nm
7357     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7358   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7359   ac_status=$?
7360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7361   test $ac_status = 0; } && test -s "$nlist"; then
7362       # Try sorting and uniquifying the output.
7363       if sort "$nlist" | uniq > "$nlist"T; then
7364         mv -f "$nlist"T "$nlist"
7365       else
7366         rm -f "$nlist"T
7367       fi
7368
7369       # Make sure that we snagged all the symbols we need.
7370       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7371         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7372           cat <<_LT_EOF > conftest.$ac_ext
7373 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7374 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7375 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7376    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7377 # define LT_DLSYM_CONST
7378 #elif defined __osf__
7379 /* This system does not cope well with relocations in const data.  */
7380 # define LT_DLSYM_CONST
7381 #else
7382 # define LT_DLSYM_CONST const
7383 #endif
7384
7385 #ifdef __cplusplus
7386 extern "C" {
7387 #endif
7388
7389 _LT_EOF
7390           # Now generate the symbol file.
7391           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7392
7393           cat <<_LT_EOF >> conftest.$ac_ext
7394
7395 /* The mapping between symbol names and symbols.  */
7396 LT_DLSYM_CONST struct {
7397   const char *name;
7398   void       *address;
7399 }
7400 lt__PROGRAM__LTX_preloaded_symbols[] =
7401 {
7402   { "@PROGRAM@", (void *) 0 },
7403 _LT_EOF
7404           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7405           cat <<\_LT_EOF >> conftest.$ac_ext
7406   {0, (void *) 0}
7407 };
7408
7409 /* This works around a problem in FreeBSD linker */
7410 #ifdef FREEBSD_WORKAROUND
7411 static const void *lt_preloaded_setup() {
7412   return lt__PROGRAM__LTX_preloaded_symbols;
7413 }
7414 #endif
7415
7416 #ifdef __cplusplus
7417 }
7418 #endif
7419 _LT_EOF
7420           # Now try linking the two files.
7421           mv conftest.$ac_objext conftstm.$ac_objext
7422           lt_globsym_save_LIBS=$LIBS
7423           lt_globsym_save_CFLAGS=$CFLAGS
7424           LIBS=conftstm.$ac_objext
7425           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7426           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7427   (eval $ac_link) 2>&5
7428   ac_status=$?
7429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7430   test $ac_status = 0; } && test -s conftest$ac_exeext; then
7431             pipe_works=yes
7432           fi
7433           LIBS=$lt_globsym_save_LIBS
7434           CFLAGS=$lt_globsym_save_CFLAGS
7435         else
7436           echo "cannot find nm_test_func in $nlist" >&5
7437         fi
7438       else
7439         echo "cannot find nm_test_var in $nlist" >&5
7440       fi
7441     else
7442       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7443     fi
7444   else
7445     echo "$progname: failed program was:" >&5
7446     cat conftest.$ac_ext >&5
7447   fi
7448   rm -rf conftest* conftst*
7449
7450   # Do not use the global_symbol_pipe unless it works.
7451   if test yes = "$pipe_works"; then
7452     break
7453   else
7454     lt_cv_sys_global_symbol_pipe=
7455   fi
7456 done
7457
7458 fi
7459
7460 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7461   lt_cv_sys_global_symbol_to_cdecl=
7462 fi
7463 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7465 $as_echo "failed" >&6; }
7466 else
7467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7468 $as_echo "ok" >&6; }
7469 fi
7470
7471 # Response file support.
7472 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7473   nm_file_list_spec='@'
7474 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7475   nm_file_list_spec='@'
7476 fi
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7515 $as_echo_n "checking for sysroot... " >&6; }
7516
7517 # Check whether --with-sysroot was given.
7518 if test "${with_sysroot+set}" = set; then :
7519   withval=$with_sysroot;
7520 else
7521   with_sysroot=no
7522 fi
7523
7524
7525 lt_sysroot=
7526 case $with_sysroot in #(
7527  yes)
7528    if test yes = "$GCC"; then
7529      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7530    fi
7531    ;; #(
7532  /*)
7533    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7534    ;; #(
7535  no|'')
7536    ;; #(
7537  *)
7538    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7539 $as_echo "$with_sysroot" >&6; }
7540    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7541    ;;
7542 esac
7543
7544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7545 $as_echo "${lt_sysroot:-no}" >&6; }
7546
7547
7548
7549
7550
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7552 $as_echo_n "checking for a working dd... " >&6; }
7553 if ${ac_cv_path_lt_DD+:} false; then :
7554   $as_echo_n "(cached) " >&6
7555 else
7556   printf 0123456789abcdef0123456789abcdef >conftest.i
7557 cat conftest.i conftest.i >conftest2.i
7558 : ${lt_DD:=$DD}
7559 if test -z "$lt_DD"; then
7560   ac_path_lt_DD_found=false
7561   # Loop through the user's path and test for each of PROGNAME-LIST
7562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7563 for as_dir in $PATH
7564 do
7565   IFS=$as_save_IFS
7566   test -z "$as_dir" && as_dir=.
7567     for ac_prog in dd; do
7568     for ac_exec_ext in '' $ac_executable_extensions; do
7569       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7570       as_fn_executable_p "$ac_path_lt_DD" || continue
7571 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7572   cmp -s conftest.i conftest.out \
7573   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7574 fi
7575       $ac_path_lt_DD_found && break 3
7576     done
7577   done
7578   done
7579 IFS=$as_save_IFS
7580   if test -z "$ac_cv_path_lt_DD"; then
7581     :
7582   fi
7583 else
7584   ac_cv_path_lt_DD=$lt_DD
7585 fi
7586
7587 rm -f conftest.i conftest2.i conftest.out
7588 fi
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7590 $as_echo "$ac_cv_path_lt_DD" >&6; }
7591
7592
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7594 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7595 if ${lt_cv_truncate_bin+:} false; then :
7596   $as_echo_n "(cached) " >&6
7597 else
7598   printf 0123456789abcdef0123456789abcdef >conftest.i
7599 cat conftest.i conftest.i >conftest2.i
7600 lt_cv_truncate_bin=
7601 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7602   cmp -s conftest.i conftest.out \
7603   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7604 fi
7605 rm -f conftest.i conftest2.i conftest.out
7606 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7607 fi
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7609 $as_echo "$lt_cv_truncate_bin" >&6; }
7610
7611
7612
7613
7614
7615
7616
7617 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7618 func_cc_basename ()
7619 {
7620     for cc_temp in $*""; do
7621       case $cc_temp in
7622         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7623         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7624         \-*) ;;
7625         *) break;;
7626       esac
7627     done
7628     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7629 }
7630
7631 # Check whether --enable-libtool-lock was given.
7632 if test "${enable_libtool_lock+set}" = set; then :
7633   enableval=$enable_libtool_lock;
7634 fi
7635
7636 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7637
7638 # Some flags need to be propagated to the compiler or linker for good
7639 # libtool support.
7640 case $host in
7641 ia64-*-hpux*)
7642   # Find out what ABI is being produced by ac_compile, and set mode
7643   # options accordingly.
7644   echo 'int i;' > conftest.$ac_ext
7645   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7646   (eval $ac_compile) 2>&5
7647   ac_status=$?
7648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7649   test $ac_status = 0; }; then
7650     case `/usr/bin/file conftest.$ac_objext` in
7651       *ELF-32*)
7652         HPUX_IA64_MODE=32
7653         ;;
7654       *ELF-64*)
7655         HPUX_IA64_MODE=64
7656         ;;
7657     esac
7658   fi
7659   rm -rf conftest*
7660   ;;
7661 *-*-irix6*)
7662   # Find out what ABI is being produced by ac_compile, and set linker
7663   # options accordingly.
7664   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7665   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7666   (eval $ac_compile) 2>&5
7667   ac_status=$?
7668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7669   test $ac_status = 0; }; then
7670     if test yes = "$lt_cv_prog_gnu_ld"; then
7671       case `/usr/bin/file conftest.$ac_objext` in
7672         *32-bit*)
7673           LD="${LD-ld} -melf32bsmip"
7674           ;;
7675         *N32*)
7676           LD="${LD-ld} -melf32bmipn32"
7677           ;;
7678         *64-bit*)
7679           LD="${LD-ld} -melf64bmip"
7680         ;;
7681       esac
7682     else
7683       case `/usr/bin/file conftest.$ac_objext` in
7684         *32-bit*)
7685           LD="${LD-ld} -32"
7686           ;;
7687         *N32*)
7688           LD="${LD-ld} -n32"
7689           ;;
7690         *64-bit*)
7691           LD="${LD-ld} -64"
7692           ;;
7693       esac
7694     fi
7695   fi
7696   rm -rf conftest*
7697   ;;
7698
7699 mips64*-*linux*)
7700   # Find out what ABI is being produced by ac_compile, and set linker
7701   # options accordingly.
7702   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7703   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7704   (eval $ac_compile) 2>&5
7705   ac_status=$?
7706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7707   test $ac_status = 0; }; then
7708     emul=elf
7709     case `/usr/bin/file conftest.$ac_objext` in
7710       *32-bit*)
7711         emul="${emul}32"
7712         ;;
7713       *64-bit*)
7714         emul="${emul}64"
7715         ;;
7716     esac
7717     case `/usr/bin/file conftest.$ac_objext` in
7718       *MSB*)
7719         emul="${emul}btsmip"
7720         ;;
7721       *LSB*)
7722         emul="${emul}ltsmip"
7723         ;;
7724     esac
7725     case `/usr/bin/file conftest.$ac_objext` in
7726       *N32*)
7727         emul="${emul}n32"
7728         ;;
7729     esac
7730     LD="${LD-ld} -m $emul"
7731   fi
7732   rm -rf conftest*
7733   ;;
7734
7735 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7736 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7737   # Find out what ABI is being produced by ac_compile, and set linker
7738   # options accordingly.  Note that the listed cases only cover the
7739   # situations where additional linker options are needed (such as when
7740   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7741   # vice versa); the common cases where no linker options are needed do
7742   # not appear in the list.
7743   echo 'int i;' > conftest.$ac_ext
7744   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7745   (eval $ac_compile) 2>&5
7746   ac_status=$?
7747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7748   test $ac_status = 0; }; then
7749     case `/usr/bin/file conftest.o` in
7750       *32-bit*)
7751         case $host in
7752           x86_64-*kfreebsd*-gnu)
7753             LD="${LD-ld} -m elf_i386_fbsd"
7754             ;;
7755           x86_64-*linux*)
7756             case `/usr/bin/file conftest.o` in
7757               *x86-64*)
7758                 LD="${LD-ld} -m elf32_x86_64"
7759                 ;;
7760               *)
7761                 LD="${LD-ld} -m elf_i386"
7762                 ;;
7763             esac
7764             ;;
7765           powerpc64le-*linux*)
7766             LD="${LD-ld} -m elf32lppclinux"
7767             ;;
7768           powerpc64-*linux*)
7769             LD="${LD-ld} -m elf32ppclinux"
7770             ;;
7771           s390x-*linux*)
7772             LD="${LD-ld} -m elf_s390"
7773             ;;
7774           sparc64-*linux*)
7775             LD="${LD-ld} -m elf32_sparc"
7776             ;;
7777         esac
7778         ;;
7779       *64-bit*)
7780         case $host in
7781           x86_64-*kfreebsd*-gnu)
7782             LD="${LD-ld} -m elf_x86_64_fbsd"
7783             ;;
7784           x86_64-*linux*)
7785             LD="${LD-ld} -m elf_x86_64"
7786             ;;
7787           powerpcle-*linux*)
7788             LD="${LD-ld} -m elf64lppc"
7789             ;;
7790           powerpc-*linux*)
7791             LD="${LD-ld} -m elf64ppc"
7792             ;;
7793           s390*-*linux*|s390*-*tpf*)
7794             LD="${LD-ld} -m elf64_s390"
7795             ;;
7796           sparc*-*linux*)
7797             LD="${LD-ld} -m elf64_sparc"
7798             ;;
7799         esac
7800         ;;
7801     esac
7802   fi
7803   rm -rf conftest*
7804   ;;
7805
7806 *-*-sco3.2v5*)
7807   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7808   SAVE_CFLAGS=$CFLAGS
7809   CFLAGS="$CFLAGS -belf"
7810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7811 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7812 if ${lt_cv_cc_needs_belf+:} false; then :
7813   $as_echo_n "(cached) " >&6
7814 else
7815   ac_ext=c
7816 ac_cpp='$CPP $CPPFLAGS'
7817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7820
7821      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7822 /* end confdefs.h.  */
7823
7824 int
7825 main ()
7826 {
7827
7828   ;
7829   return 0;
7830 }
7831 _ACEOF
7832 if ac_fn_c_try_link "$LINENO"; then :
7833   lt_cv_cc_needs_belf=yes
7834 else
7835   lt_cv_cc_needs_belf=no
7836 fi
7837 rm -f core conftest.err conftest.$ac_objext \
7838     conftest$ac_exeext conftest.$ac_ext
7839      ac_ext=c
7840 ac_cpp='$CPP $CPPFLAGS'
7841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7844
7845 fi
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7847 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7848   if test yes != "$lt_cv_cc_needs_belf"; then
7849     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7850     CFLAGS=$SAVE_CFLAGS
7851   fi
7852   ;;
7853 *-*solaris*)
7854   # Find out what ABI is being produced by ac_compile, and set linker
7855   # options accordingly.
7856   echo 'int i;' > conftest.$ac_ext
7857   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7858   (eval $ac_compile) 2>&5
7859   ac_status=$?
7860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7861   test $ac_status = 0; }; then
7862     case `/usr/bin/file conftest.o` in
7863     *64-bit*)
7864       case $lt_cv_prog_gnu_ld in
7865       yes*)
7866         case $host in
7867         i?86-*-solaris*|x86_64-*-solaris*)
7868           LD="${LD-ld} -m elf_x86_64"
7869           ;;
7870         sparc*-*-solaris*)
7871           LD="${LD-ld} -m elf64_sparc"
7872           ;;
7873         esac
7874         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7875         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7876           LD=${LD-ld}_sol2
7877         fi
7878         ;;
7879       *)
7880         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7881           LD="${LD-ld} -64"
7882         fi
7883         ;;
7884       esac
7885       ;;
7886     esac
7887   fi
7888   rm -rf conftest*
7889   ;;
7890 esac
7891
7892 need_locks=$enable_libtool_lock
7893
7894 if test -n "$ac_tool_prefix"; then
7895   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7896 set dummy ${ac_tool_prefix}mt; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7900   $as_echo_n "(cached) " >&6
7901 else
7902   if test -n "$MANIFEST_TOOL"; then
7903   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7904 else
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906 for as_dir in $PATH
7907 do
7908   IFS=$as_save_IFS
7909   test -z "$as_dir" && as_dir=.
7910     for ac_exec_ext in '' $ac_executable_extensions; do
7911   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7914     break 2
7915   fi
7916 done
7917   done
7918 IFS=$as_save_IFS
7919
7920 fi
7921 fi
7922 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7923 if test -n "$MANIFEST_TOOL"; then
7924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7925 $as_echo "$MANIFEST_TOOL" >&6; }
7926 else
7927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7929 fi
7930
7931
7932 fi
7933 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7934   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7935   # Extract the first word of "mt", so it can be a program name with args.
7936 set dummy mt; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7940   $as_echo_n "(cached) " >&6
7941 else
7942   if test -n "$ac_ct_MANIFEST_TOOL"; then
7943   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7944 else
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 for as_dir in $PATH
7947 do
7948   IFS=$as_save_IFS
7949   test -z "$as_dir" && as_dir=.
7950     for ac_exec_ext in '' $ac_executable_extensions; do
7951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954     break 2
7955   fi
7956 done
7957   done
7958 IFS=$as_save_IFS
7959
7960 fi
7961 fi
7962 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7963 if test -n "$ac_ct_MANIFEST_TOOL"; then
7964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7965 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7966 else
7967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7969 fi
7970
7971   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7972     MANIFEST_TOOL=":"
7973   else
7974     case $cross_compiling:$ac_tool_warned in
7975 yes:)
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7978 ac_tool_warned=yes ;;
7979 esac
7980     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7981   fi
7982 else
7983   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7984 fi
7985
7986 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7988 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7989 if ${lt_cv_path_mainfest_tool+:} false; then :
7990   $as_echo_n "(cached) " >&6
7991 else
7992   lt_cv_path_mainfest_tool=no
7993   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7994   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7995   cat conftest.err >&5
7996   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7997     lt_cv_path_mainfest_tool=yes
7998   fi
7999   rm -f conftest*
8000 fi
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8002 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8003 if test yes != "$lt_cv_path_mainfest_tool"; then
8004   MANIFEST_TOOL=:
8005 fi
8006
8007
8008
8009
8010
8011
8012   case $host_os in
8013     rhapsody* | darwin*)
8014     if test -n "$ac_tool_prefix"; then
8015   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8016 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8020   $as_echo_n "(cached) " >&6
8021 else
8022   if test -n "$DSYMUTIL"; then
8023   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8027 do
8028   IFS=$as_save_IFS
8029   test -z "$as_dir" && as_dir=.
8030     for ac_exec_ext in '' $ac_executable_extensions; do
8031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034     break 2
8035   fi
8036 done
8037   done
8038 IFS=$as_save_IFS
8039
8040 fi
8041 fi
8042 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8043 if test -n "$DSYMUTIL"; then
8044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8045 $as_echo "$DSYMUTIL" >&6; }
8046 else
8047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8049 fi
8050
8051
8052 fi
8053 if test -z "$ac_cv_prog_DSYMUTIL"; then
8054   ac_ct_DSYMUTIL=$DSYMUTIL
8055   # Extract the first word of "dsymutil", so it can be a program name with args.
8056 set dummy dsymutil; ac_word=$2
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058 $as_echo_n "checking for $ac_word... " >&6; }
8059 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8060   $as_echo_n "(cached) " >&6
8061 else
8062   if test -n "$ac_ct_DSYMUTIL"; then
8063   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8064 else
8065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066 for as_dir in $PATH
8067 do
8068   IFS=$as_save_IFS
8069   test -z "$as_dir" && as_dir=.
8070     for ac_exec_ext in '' $ac_executable_extensions; do
8071   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8072     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8074     break 2
8075   fi
8076 done
8077   done
8078 IFS=$as_save_IFS
8079
8080 fi
8081 fi
8082 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8083 if test -n "$ac_ct_DSYMUTIL"; then
8084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8085 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8086 else
8087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8089 fi
8090
8091   if test "x$ac_ct_DSYMUTIL" = x; then
8092     DSYMUTIL=":"
8093   else
8094     case $cross_compiling:$ac_tool_warned in
8095 yes:)
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8098 ac_tool_warned=yes ;;
8099 esac
8100     DSYMUTIL=$ac_ct_DSYMUTIL
8101   fi
8102 else
8103   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8104 fi
8105
8106     if test -n "$ac_tool_prefix"; then
8107   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8108 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 $as_echo_n "checking for $ac_word... " >&6; }
8111 if ${ac_cv_prog_NMEDIT+:} false; then :
8112   $as_echo_n "(cached) " >&6
8113 else
8114   if test -n "$NMEDIT"; then
8115   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8116 else
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 for as_dir in $PATH
8119 do
8120   IFS=$as_save_IFS
8121   test -z "$as_dir" && as_dir=.
8122     for ac_exec_ext in '' $ac_executable_extensions; do
8123   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126     break 2
8127   fi
8128 done
8129   done
8130 IFS=$as_save_IFS
8131
8132 fi
8133 fi
8134 NMEDIT=$ac_cv_prog_NMEDIT
8135 if test -n "$NMEDIT"; then
8136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8137 $as_echo "$NMEDIT" >&6; }
8138 else
8139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8141 fi
8142
8143
8144 fi
8145 if test -z "$ac_cv_prog_NMEDIT"; then
8146   ac_ct_NMEDIT=$NMEDIT
8147   # Extract the first word of "nmedit", so it can be a program name with args.
8148 set dummy nmedit; ac_word=$2
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8150 $as_echo_n "checking for $ac_word... " >&6; }
8151 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8152   $as_echo_n "(cached) " >&6
8153 else
8154   if test -n "$ac_ct_NMEDIT"; then
8155   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8156 else
8157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158 for as_dir in $PATH
8159 do
8160   IFS=$as_save_IFS
8161   test -z "$as_dir" && as_dir=.
8162     for ac_exec_ext in '' $ac_executable_extensions; do
8163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8164     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8166     break 2
8167   fi
8168 done
8169   done
8170 IFS=$as_save_IFS
8171
8172 fi
8173 fi
8174 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8175 if test -n "$ac_ct_NMEDIT"; then
8176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8177 $as_echo "$ac_ct_NMEDIT" >&6; }
8178 else
8179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8181 fi
8182
8183   if test "x$ac_ct_NMEDIT" = x; then
8184     NMEDIT=":"
8185   else
8186     case $cross_compiling:$ac_tool_warned in
8187 yes:)
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8190 ac_tool_warned=yes ;;
8191 esac
8192     NMEDIT=$ac_ct_NMEDIT
8193   fi
8194 else
8195   NMEDIT="$ac_cv_prog_NMEDIT"
8196 fi
8197
8198     if test -n "$ac_tool_prefix"; then
8199   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8200 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if ${ac_cv_prog_LIPO+:} false; then :
8204   $as_echo_n "(cached) " >&6
8205 else
8206   if test -n "$LIPO"; then
8207   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8208 else
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 for as_dir in $PATH
8211 do
8212   IFS=$as_save_IFS
8213   test -z "$as_dir" && as_dir=.
8214     for ac_exec_ext in '' $ac_executable_extensions; do
8215   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218     break 2
8219   fi
8220 done
8221   done
8222 IFS=$as_save_IFS
8223
8224 fi
8225 fi
8226 LIPO=$ac_cv_prog_LIPO
8227 if test -n "$LIPO"; then
8228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8229 $as_echo "$LIPO" >&6; }
8230 else
8231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8233 fi
8234
8235
8236 fi
8237 if test -z "$ac_cv_prog_LIPO"; then
8238   ac_ct_LIPO=$LIPO
8239   # Extract the first word of "lipo", so it can be a program name with args.
8240 set dummy lipo; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8244   $as_echo_n "(cached) " >&6
8245 else
8246   if test -n "$ac_ct_LIPO"; then
8247   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8248 else
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250 for as_dir in $PATH
8251 do
8252   IFS=$as_save_IFS
8253   test -z "$as_dir" && as_dir=.
8254     for ac_exec_ext in '' $ac_executable_extensions; do
8255   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256     ac_cv_prog_ac_ct_LIPO="lipo"
8257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258     break 2
8259   fi
8260 done
8261   done
8262 IFS=$as_save_IFS
8263
8264 fi
8265 fi
8266 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8267 if test -n "$ac_ct_LIPO"; then
8268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8269 $as_echo "$ac_ct_LIPO" >&6; }
8270 else
8271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8273 fi
8274
8275   if test "x$ac_ct_LIPO" = x; then
8276     LIPO=":"
8277   else
8278     case $cross_compiling:$ac_tool_warned in
8279 yes:)
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8282 ac_tool_warned=yes ;;
8283 esac
8284     LIPO=$ac_ct_LIPO
8285   fi
8286 else
8287   LIPO="$ac_cv_prog_LIPO"
8288 fi
8289
8290     if test -n "$ac_tool_prefix"; then
8291   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8292 set dummy ${ac_tool_prefix}otool; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if ${ac_cv_prog_OTOOL+:} false; then :
8296   $as_echo_n "(cached) " >&6
8297 else
8298   if test -n "$OTOOL"; then
8299   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8300 else
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 for as_dir in $PATH
8303 do
8304   IFS=$as_save_IFS
8305   test -z "$as_dir" && as_dir=.
8306     for ac_exec_ext in '' $ac_executable_extensions; do
8307   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310     break 2
8311   fi
8312 done
8313   done
8314 IFS=$as_save_IFS
8315
8316 fi
8317 fi
8318 OTOOL=$ac_cv_prog_OTOOL
8319 if test -n "$OTOOL"; then
8320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8321 $as_echo "$OTOOL" >&6; }
8322 else
8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8325 fi
8326
8327
8328 fi
8329 if test -z "$ac_cv_prog_OTOOL"; then
8330   ac_ct_OTOOL=$OTOOL
8331   # Extract the first word of "otool", so it can be a program name with args.
8332 set dummy otool; ac_word=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8336   $as_echo_n "(cached) " >&6
8337 else
8338   if test -n "$ac_ct_OTOOL"; then
8339   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8340 else
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 for as_dir in $PATH
8343 do
8344   IFS=$as_save_IFS
8345   test -z "$as_dir" && as_dir=.
8346     for ac_exec_ext in '' $ac_executable_extensions; do
8347   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8348     ac_cv_prog_ac_ct_OTOOL="otool"
8349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8350     break 2
8351   fi
8352 done
8353   done
8354 IFS=$as_save_IFS
8355
8356 fi
8357 fi
8358 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8359 if test -n "$ac_ct_OTOOL"; then
8360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8361 $as_echo "$ac_ct_OTOOL" >&6; }
8362 else
8363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8365 fi
8366
8367   if test "x$ac_ct_OTOOL" = x; then
8368     OTOOL=":"
8369   else
8370     case $cross_compiling:$ac_tool_warned in
8371 yes:)
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8374 ac_tool_warned=yes ;;
8375 esac
8376     OTOOL=$ac_ct_OTOOL
8377   fi
8378 else
8379   OTOOL="$ac_cv_prog_OTOOL"
8380 fi
8381
8382     if test -n "$ac_tool_prefix"; then
8383   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8384 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if ${ac_cv_prog_OTOOL64+:} false; then :
8388   $as_echo_n "(cached) " >&6
8389 else
8390   if test -n "$OTOOL64"; then
8391   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8392 else
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394 for as_dir in $PATH
8395 do
8396   IFS=$as_save_IFS
8397   test -z "$as_dir" && as_dir=.
8398     for ac_exec_ext in '' $ac_executable_extensions; do
8399   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8400     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402     break 2
8403   fi
8404 done
8405   done
8406 IFS=$as_save_IFS
8407
8408 fi
8409 fi
8410 OTOOL64=$ac_cv_prog_OTOOL64
8411 if test -n "$OTOOL64"; then
8412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8413 $as_echo "$OTOOL64" >&6; }
8414 else
8415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8417 fi
8418
8419
8420 fi
8421 if test -z "$ac_cv_prog_OTOOL64"; then
8422   ac_ct_OTOOL64=$OTOOL64
8423   # Extract the first word of "otool64", so it can be a program name with args.
8424 set dummy otool64; ac_word=$2
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8426 $as_echo_n "checking for $ac_word... " >&6; }
8427 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8428   $as_echo_n "(cached) " >&6
8429 else
8430   if test -n "$ac_ct_OTOOL64"; then
8431   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8432 else
8433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8434 for as_dir in $PATH
8435 do
8436   IFS=$as_save_IFS
8437   test -z "$as_dir" && as_dir=.
8438     for ac_exec_ext in '' $ac_executable_extensions; do
8439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8440     ac_cv_prog_ac_ct_OTOOL64="otool64"
8441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8442     break 2
8443   fi
8444 done
8445   done
8446 IFS=$as_save_IFS
8447
8448 fi
8449 fi
8450 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8451 if test -n "$ac_ct_OTOOL64"; then
8452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8453 $as_echo "$ac_ct_OTOOL64" >&6; }
8454 else
8455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8456 $as_echo "no" >&6; }
8457 fi
8458
8459   if test "x$ac_ct_OTOOL64" = x; then
8460     OTOOL64=":"
8461   else
8462     case $cross_compiling:$ac_tool_warned in
8463 yes:)
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8466 ac_tool_warned=yes ;;
8467 esac
8468     OTOOL64=$ac_ct_OTOOL64
8469   fi
8470 else
8471   OTOOL64="$ac_cv_prog_OTOOL64"
8472 fi
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8501 $as_echo_n "checking for -single_module linker flag... " >&6; }
8502 if ${lt_cv_apple_cc_single_mod+:} false; then :
8503   $as_echo_n "(cached) " >&6
8504 else
8505   lt_cv_apple_cc_single_mod=no
8506       if test -z "$LT_MULTI_MODULE"; then
8507         # By default we will add the -single_module flag. You can override
8508         # by either setting the environment variable LT_MULTI_MODULE
8509         # non-empty at configure time, or by adding -multi_module to the
8510         # link flags.
8511         rm -rf libconftest.dylib*
8512         echo "int foo(void){return 1;}" > conftest.c
8513         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8514 -dynamiclib -Wl,-single_module conftest.c" >&5
8515         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8516           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8517         _lt_result=$?
8518         # If there is a non-empty error log, and "single_module"
8519         # appears in it, assume the flag caused a linker warning
8520         if test -s conftest.err && $GREP single_module conftest.err; then
8521           cat conftest.err >&5
8522         # Otherwise, if the output was created with a 0 exit code from
8523         # the compiler, it worked.
8524         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8525           lt_cv_apple_cc_single_mod=yes
8526         else
8527           cat conftest.err >&5
8528         fi
8529         rm -rf libconftest.dylib*
8530         rm -f conftest.*
8531       fi
8532 fi
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8534 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8535
8536     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8537 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8538 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8539   $as_echo_n "(cached) " >&6
8540 else
8541   lt_cv_ld_exported_symbols_list=no
8542       save_LDFLAGS=$LDFLAGS
8543       echo "_main" > conftest.sym
8544       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h.  */
8547
8548 int
8549 main ()
8550 {
8551
8552   ;
8553   return 0;
8554 }
8555 _ACEOF
8556 if ac_fn_c_try_link "$LINENO"; then :
8557   lt_cv_ld_exported_symbols_list=yes
8558 else
8559   lt_cv_ld_exported_symbols_list=no
8560 fi
8561 rm -f core conftest.err conftest.$ac_objext \
8562     conftest$ac_exeext conftest.$ac_ext
8563         LDFLAGS=$save_LDFLAGS
8564
8565 fi
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8567 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8568
8569     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8570 $as_echo_n "checking for -force_load linker flag... " >&6; }
8571 if ${lt_cv_ld_force_load+:} false; then :
8572   $as_echo_n "(cached) " >&6
8573 else
8574   lt_cv_ld_force_load=no
8575       cat > conftest.c << _LT_EOF
8576 int forced_loaded() { return 2;}
8577 _LT_EOF
8578       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8579       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8580       echo "$AR cru libconftest.a conftest.o" >&5
8581       $AR cru libconftest.a conftest.o 2>&5
8582       echo "$RANLIB libconftest.a" >&5
8583       $RANLIB libconftest.a 2>&5
8584       cat > conftest.c << _LT_EOF
8585 int main() { return 0;}
8586 _LT_EOF
8587       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8588       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8589       _lt_result=$?
8590       if test -s conftest.err && $GREP force_load conftest.err; then
8591         cat conftest.err >&5
8592       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8593         lt_cv_ld_force_load=yes
8594       else
8595         cat conftest.err >&5
8596       fi
8597         rm -f conftest.err libconftest.a conftest conftest.c
8598         rm -rf conftest.dSYM
8599
8600 fi
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8602 $as_echo "$lt_cv_ld_force_load" >&6; }
8603     case $host_os in
8604     rhapsody* | darwin1.[012])
8605       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8606     darwin1.*)
8607       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8608     darwin*) # darwin 5.x on
8609       # if running on 10.5 or later, the deployment target defaults
8610       # to the OS version, if on x86, and 10.4, the deployment
8611       # target defaults to 10.4. Don't you love it?
8612       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8613         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8614           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8615         10.[012][,.]*)
8616           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8617         10.*)
8618           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8619       esac
8620     ;;
8621   esac
8622     if test yes = "$lt_cv_apple_cc_single_mod"; then
8623       _lt_dar_single_mod='$single_module'
8624     fi
8625     if test yes = "$lt_cv_ld_exported_symbols_list"; then
8626       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8627     else
8628       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8629     fi
8630     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8631       _lt_dsymutil='~$DSYMUTIL $lib || :'
8632     else
8633       _lt_dsymutil=
8634     fi
8635     ;;
8636   esac
8637
8638 # func_munge_path_list VARIABLE PATH
8639 # -----------------------------------
8640 # VARIABLE is name of variable containing _space_ separated list of
8641 # directories to be munged by the contents of PATH, which is string
8642 # having a format:
8643 # "DIR[:DIR]:"
8644 #       string "DIR[ DIR]" will be prepended to VARIABLE
8645 # ":DIR[:DIR]"
8646 #       string "DIR[ DIR]" will be appended to VARIABLE
8647 # "DIRP[:DIRP]::[DIRA:]DIRA"
8648 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8649 #       "DIRA[ DIRA]" will be appended to VARIABLE
8650 # "DIR[:DIR]"
8651 #       VARIABLE will be replaced by "DIR[ DIR]"
8652 func_munge_path_list ()
8653 {
8654     case x$2 in
8655     x)
8656         ;;
8657     *:)
8658         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8659         ;;
8660     x:*)
8661         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8662         ;;
8663     *::*)
8664         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8665         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8666         ;;
8667     *)
8668         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8669         ;;
8670     esac
8671 }
8672
8673 ac_ext=c
8674 ac_cpp='$CPP $CPPFLAGS'
8675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8679 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8680 # On Suns, sometimes $CPP names a directory.
8681 if test -n "$CPP" && test -d "$CPP"; then
8682   CPP=
8683 fi
8684 if test -z "$CPP"; then
8685   if ${ac_cv_prog_CPP+:} false; then :
8686   $as_echo_n "(cached) " >&6
8687 else
8688       # Double quotes because CPP needs to be expanded
8689     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8690     do
8691       ac_preproc_ok=false
8692 for ac_c_preproc_warn_flag in '' yes
8693 do
8694   # Use a header file that comes with gcc, so configuring glibc
8695   # with a fresh cross-compiler works.
8696   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8697   # <limits.h> exists even on freestanding compilers.
8698   # On the NeXT, cc -E runs the code through the compiler's parser,
8699   # not just through cpp. "Syntax error" is here to catch this case.
8700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h.  */
8702 #ifdef __STDC__
8703 # include <limits.h>
8704 #else
8705 # include <assert.h>
8706 #endif
8707                      Syntax error
8708 _ACEOF
8709 if ac_fn_c_try_cpp "$LINENO"; then :
8710
8711 else
8712   # Broken: fails on valid input.
8713 continue
8714 fi
8715 rm -f conftest.err conftest.i conftest.$ac_ext
8716
8717   # OK, works on sane cases.  Now check whether nonexistent headers
8718   # can be detected and how.
8719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h.  */
8721 #include <ac_nonexistent.h>
8722 _ACEOF
8723 if ac_fn_c_try_cpp "$LINENO"; then :
8724   # Broken: success on invalid input.
8725 continue
8726 else
8727   # Passes both tests.
8728 ac_preproc_ok=:
8729 break
8730 fi
8731 rm -f conftest.err conftest.i conftest.$ac_ext
8732
8733 done
8734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8735 rm -f conftest.i conftest.err conftest.$ac_ext
8736 if $ac_preproc_ok; then :
8737   break
8738 fi
8739
8740     done
8741     ac_cv_prog_CPP=$CPP
8742
8743 fi
8744   CPP=$ac_cv_prog_CPP
8745 else
8746   ac_cv_prog_CPP=$CPP
8747 fi
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8749 $as_echo "$CPP" >&6; }
8750 ac_preproc_ok=false
8751 for ac_c_preproc_warn_flag in '' yes
8752 do
8753   # Use a header file that comes with gcc, so configuring glibc
8754   # with a fresh cross-compiler works.
8755   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8756   # <limits.h> exists even on freestanding compilers.
8757   # On the NeXT, cc -E runs the code through the compiler's parser,
8758   # not just through cpp. "Syntax error" is here to catch this case.
8759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h.  */
8761 #ifdef __STDC__
8762 # include <limits.h>
8763 #else
8764 # include <assert.h>
8765 #endif
8766                      Syntax error
8767 _ACEOF
8768 if ac_fn_c_try_cpp "$LINENO"; then :
8769
8770 else
8771   # Broken: fails on valid input.
8772 continue
8773 fi
8774 rm -f conftest.err conftest.i conftest.$ac_ext
8775
8776   # OK, works on sane cases.  Now check whether nonexistent headers
8777   # can be detected and how.
8778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h.  */
8780 #include <ac_nonexistent.h>
8781 _ACEOF
8782 if ac_fn_c_try_cpp "$LINENO"; then :
8783   # Broken: success on invalid input.
8784 continue
8785 else
8786   # Passes both tests.
8787 ac_preproc_ok=:
8788 break
8789 fi
8790 rm -f conftest.err conftest.i conftest.$ac_ext
8791
8792 done
8793 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8794 rm -f conftest.i conftest.err conftest.$ac_ext
8795 if $ac_preproc_ok; then :
8796
8797 else
8798   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8800 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8801 See \`config.log' for more details" "$LINENO" 5; }
8802 fi
8803
8804 ac_ext=c
8805 ac_cpp='$CPP $CPPFLAGS'
8806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8809
8810
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8812 $as_echo_n "checking for ANSI C header files... " >&6; }
8813 if ${ac_cv_header_stdc+:} false; then :
8814   $as_echo_n "(cached) " >&6
8815 else
8816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h.  */
8818 #include <stdlib.h>
8819 #include <stdarg.h>
8820 #include <string.h>
8821 #include <float.h>
8822
8823 int
8824 main ()
8825 {
8826
8827   ;
8828   return 0;
8829 }
8830 _ACEOF
8831 if ac_fn_c_try_compile "$LINENO"; then :
8832   ac_cv_header_stdc=yes
8833 else
8834   ac_cv_header_stdc=no
8835 fi
8836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8837
8838 if test $ac_cv_header_stdc = yes; then
8839   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h.  */
8842 #include <string.h>
8843
8844 _ACEOF
8845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8846   $EGREP "memchr" >/dev/null 2>&1; then :
8847
8848 else
8849   ac_cv_header_stdc=no
8850 fi
8851 rm -f conftest*
8852
8853 fi
8854
8855 if test $ac_cv_header_stdc = yes; then
8856   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h.  */
8859 #include <stdlib.h>
8860
8861 _ACEOF
8862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8863   $EGREP "free" >/dev/null 2>&1; then :
8864
8865 else
8866   ac_cv_header_stdc=no
8867 fi
8868 rm -f conftest*
8869
8870 fi
8871
8872 if test $ac_cv_header_stdc = yes; then
8873   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8874   if test "$cross_compiling" = yes; then :
8875   :
8876 else
8877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h.  */
8879 #include <ctype.h>
8880 #include <stdlib.h>
8881 #if ((' ' & 0x0FF) == 0x020)
8882 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8883 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8884 #else
8885 # define ISLOWER(c) \
8886                    (('a' <= (c) && (c) <= 'i') \
8887                      || ('j' <= (c) && (c) <= 'r') \
8888                      || ('s' <= (c) && (c) <= 'z'))
8889 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8890 #endif
8891
8892 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8893 int
8894 main ()
8895 {
8896   int i;
8897   for (i = 0; i < 256; i++)
8898     if (XOR (islower (i), ISLOWER (i))
8899         || toupper (i) != TOUPPER (i))
8900       return 2;
8901   return 0;
8902 }
8903 _ACEOF
8904 if ac_fn_c_try_run "$LINENO"; then :
8905
8906 else
8907   ac_cv_header_stdc=no
8908 fi
8909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8910   conftest.$ac_objext conftest.beam conftest.$ac_ext
8911 fi
8912
8913 fi
8914 fi
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8916 $as_echo "$ac_cv_header_stdc" >&6; }
8917 if test $ac_cv_header_stdc = yes; then
8918
8919 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8920
8921 fi
8922
8923 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8924 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8925                   inttypes.h stdint.h unistd.h
8926 do :
8927   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8928 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8929 "
8930 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8931   cat >>confdefs.h <<_ACEOF
8932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8933 _ACEOF
8934
8935 fi
8936
8937 done
8938
8939
8940 for ac_header in dlfcn.h
8941 do :
8942   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8943 "
8944 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8945   cat >>confdefs.h <<_ACEOF
8946 #define HAVE_DLFCN_H 1
8947 _ACEOF
8948
8949 fi
8950
8951 done
8952
8953
8954
8955
8956
8957 # Set options
8958
8959
8960
8961         enable_dlopen=no
8962
8963
8964   enable_win32_dll=no
8965
8966
8967             # Check whether --enable-shared was given.
8968 if test "${enable_shared+set}" = set; then :
8969   enableval=$enable_shared; p=${PACKAGE-default}
8970     case $enableval in
8971     yes) enable_shared=yes ;;
8972     no) enable_shared=no ;;
8973     *)
8974       enable_shared=no
8975       # Look at the argument we got.  We use all the common list separators.
8976       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8977       for pkg in $enableval; do
8978         IFS=$lt_save_ifs
8979         if test "X$pkg" = "X$p"; then
8980           enable_shared=yes
8981         fi
8982       done
8983       IFS=$lt_save_ifs
8984       ;;
8985     esac
8986 else
8987   enable_shared=yes
8988 fi
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998   # Check whether --enable-static was given.
8999 if test "${enable_static+set}" = set; then :
9000   enableval=$enable_static; p=${PACKAGE-default}
9001     case $enableval in
9002     yes) enable_static=yes ;;
9003     no) enable_static=no ;;
9004     *)
9005      enable_static=no
9006       # Look at the argument we got.  We use all the common list separators.
9007       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9008       for pkg in $enableval; do
9009         IFS=$lt_save_ifs
9010         if test "X$pkg" = "X$p"; then
9011           enable_static=yes
9012         fi
9013       done
9014       IFS=$lt_save_ifs
9015       ;;
9016     esac
9017 else
9018   enable_static=yes
9019 fi
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030 # Check whether --with-pic was given.
9031 if test "${with_pic+set}" = set; then :
9032   withval=$with_pic; lt_p=${PACKAGE-default}
9033     case $withval in
9034     yes|no) pic_mode=$withval ;;
9035     *)
9036       pic_mode=default
9037       # Look at the argument we got.  We use all the common list separators.
9038       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9039       for lt_pkg in $withval; do
9040         IFS=$lt_save_ifs
9041         if test "X$lt_pkg" = "X$lt_p"; then
9042           pic_mode=yes
9043         fi
9044       done
9045       IFS=$lt_save_ifs
9046       ;;
9047     esac
9048 else
9049   pic_mode=default
9050 fi
9051
9052
9053
9054
9055
9056
9057
9058
9059   # Check whether --enable-fast-install was given.
9060 if test "${enable_fast_install+set}" = set; then :
9061   enableval=$enable_fast_install; p=${PACKAGE-default}
9062     case $enableval in
9063     yes) enable_fast_install=yes ;;
9064     no) enable_fast_install=no ;;
9065     *)
9066       enable_fast_install=no
9067       # Look at the argument we got.  We use all the common list separators.
9068       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9069       for pkg in $enableval; do
9070         IFS=$lt_save_ifs
9071         if test "X$pkg" = "X$p"; then
9072           enable_fast_install=yes
9073         fi
9074       done
9075       IFS=$lt_save_ifs
9076       ;;
9077     esac
9078 else
9079   enable_fast_install=yes
9080 fi
9081
9082
9083
9084
9085
9086
9087
9088
9089   shared_archive_member_spec=
9090 case $host,$enable_shared in
9091 power*-*-aix[5-9]*,yes)
9092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9093 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9094
9095 # Check whether --with-aix-soname was given.
9096 if test "${with_aix_soname+set}" = set; then :
9097   withval=$with_aix_soname; case $withval in
9098     aix|svr4|both)
9099       ;;
9100     *)
9101       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9102       ;;
9103     esac
9104     lt_cv_with_aix_soname=$with_aix_soname
9105 else
9106   if ${lt_cv_with_aix_soname+:} false; then :
9107   $as_echo_n "(cached) " >&6
9108 else
9109   lt_cv_with_aix_soname=aix
9110 fi
9111
9112     with_aix_soname=$lt_cv_with_aix_soname
9113 fi
9114
9115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9116 $as_echo "$with_aix_soname" >&6; }
9117   if test aix != "$with_aix_soname"; then
9118     # For the AIX way of multilib, we name the shared archive member
9119     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9120     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9121     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9122     # the AIX toolchain works better with OBJECT_MODE set (default 32).
9123     if test 64 = "${OBJECT_MODE-32}"; then
9124       shared_archive_member_spec=shr_64
9125     else
9126       shared_archive_member_spec=shr
9127     fi
9128   fi
9129   ;;
9130 *)
9131   with_aix_soname=aix
9132   ;;
9133 esac
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144 # This can be used to rebuild libtool when needed
9145 LIBTOOL_DEPS=$ltmain
9146
9147 # Always use our own libtool.
9148 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179 test -z "$LN_S" && LN_S="ln -s"
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194 if test -n "${ZSH_VERSION+set}"; then
9195    setopt NO_GLOB_SUBST
9196 fi
9197
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9199 $as_echo_n "checking for objdir... " >&6; }
9200 if ${lt_cv_objdir+:} false; then :
9201   $as_echo_n "(cached) " >&6
9202 else
9203   rm -f .libs 2>/dev/null
9204 mkdir .libs 2>/dev/null
9205 if test -d .libs; then
9206   lt_cv_objdir=.libs
9207 else
9208   # MS-DOS does not allow filenames that begin with a dot.
9209   lt_cv_objdir=_libs
9210 fi
9211 rmdir .libs 2>/dev/null
9212 fi
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9214 $as_echo "$lt_cv_objdir" >&6; }
9215 objdir=$lt_cv_objdir
9216
9217
9218
9219
9220
9221 cat >>confdefs.h <<_ACEOF
9222 #define LT_OBJDIR "$lt_cv_objdir/"
9223 _ACEOF
9224
9225
9226
9227
9228 case $host_os in
9229 aix3*)
9230   # AIX sometimes has problems with the GCC collect2 program.  For some
9231   # reason, if we set the COLLECT_NAMES environment variable, the problems
9232   # vanish in a puff of smoke.
9233   if test set != "${COLLECT_NAMES+set}"; then
9234     COLLECT_NAMES=
9235     export COLLECT_NAMES
9236   fi
9237   ;;
9238 esac
9239
9240 # Global variables:
9241 ofile=libtool
9242 can_build_shared=yes
9243
9244 # All known linkers require a '.a' archive for static linking (except MSVC,
9245 # which needs '.lib').
9246 libext=a
9247
9248 with_gnu_ld=$lt_cv_prog_gnu_ld
9249
9250 old_CC=$CC
9251 old_CFLAGS=$CFLAGS
9252
9253 # Set sane defaults for various variables
9254 test -z "$CC" && CC=cc
9255 test -z "$LTCC" && LTCC=$CC
9256 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9257 test -z "$LD" && LD=ld
9258 test -z "$ac_objext" && ac_objext=o
9259
9260 func_cc_basename $compiler
9261 cc_basename=$func_cc_basename_result
9262
9263
9264 # Only perform the check for file, if the check method requires it
9265 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9266 case $deplibs_check_method in
9267 file_magic*)
9268   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9269     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9270 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9271 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9272   $as_echo_n "(cached) " >&6
9273 else
9274   case $MAGIC_CMD in
9275 [\\/*] |  ?:[\\/]*)
9276   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9277   ;;
9278 *)
9279   lt_save_MAGIC_CMD=$MAGIC_CMD
9280   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9281   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9282   for ac_dir in $ac_dummy; do
9283     IFS=$lt_save_ifs
9284     test -z "$ac_dir" && ac_dir=.
9285     if test -f "$ac_dir/${ac_tool_prefix}file"; then
9286       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9287       if test -n "$file_magic_test_file"; then
9288         case $deplibs_check_method in
9289         "file_magic "*)
9290           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9291           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9292           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9293             $EGREP "$file_magic_regex" > /dev/null; then
9294             :
9295           else
9296             cat <<_LT_EOF 1>&2
9297
9298 *** Warning: the command libtool uses to detect shared libraries,
9299 *** $file_magic_cmd, produces output that libtool cannot recognize.
9300 *** The result is that libtool may fail to recognize shared libraries
9301 *** as such.  This will affect the creation of libtool libraries that
9302 *** depend on shared libraries, but programs linked with such libtool
9303 *** libraries will work regardless of this problem.  Nevertheless, you
9304 *** may want to report the problem to your system manager and/or to
9305 *** bug-libtool@gnu.org
9306
9307 _LT_EOF
9308           fi ;;
9309         esac
9310       fi
9311       break
9312     fi
9313   done
9314   IFS=$lt_save_ifs
9315   MAGIC_CMD=$lt_save_MAGIC_CMD
9316   ;;
9317 esac
9318 fi
9319
9320 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9321 if test -n "$MAGIC_CMD"; then
9322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9323 $as_echo "$MAGIC_CMD" >&6; }
9324 else
9325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9326 $as_echo "no" >&6; }
9327 fi
9328
9329
9330
9331
9332
9333 if test -z "$lt_cv_path_MAGIC_CMD"; then
9334   if test -n "$ac_tool_prefix"; then
9335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9336 $as_echo_n "checking for file... " >&6; }
9337 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9338   $as_echo_n "(cached) " >&6
9339 else
9340   case $MAGIC_CMD in
9341 [\\/*] |  ?:[\\/]*)
9342   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9343   ;;
9344 *)
9345   lt_save_MAGIC_CMD=$MAGIC_CMD
9346   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9347   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9348   for ac_dir in $ac_dummy; do
9349     IFS=$lt_save_ifs
9350     test -z "$ac_dir" && ac_dir=.
9351     if test -f "$ac_dir/file"; then
9352       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9353       if test -n "$file_magic_test_file"; then
9354         case $deplibs_check_method in
9355         "file_magic "*)
9356           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9357           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9358           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9359             $EGREP "$file_magic_regex" > /dev/null; then
9360             :
9361           else
9362             cat <<_LT_EOF 1>&2
9363
9364 *** Warning: the command libtool uses to detect shared libraries,
9365 *** $file_magic_cmd, produces output that libtool cannot recognize.
9366 *** The result is that libtool may fail to recognize shared libraries
9367 *** as such.  This will affect the creation of libtool libraries that
9368 *** depend on shared libraries, but programs linked with such libtool
9369 *** libraries will work regardless of this problem.  Nevertheless, you
9370 *** may want to report the problem to your system manager and/or to
9371 *** bug-libtool@gnu.org
9372
9373 _LT_EOF
9374           fi ;;
9375         esac
9376       fi
9377       break
9378     fi
9379   done
9380   IFS=$lt_save_ifs
9381   MAGIC_CMD=$lt_save_MAGIC_CMD
9382   ;;
9383 esac
9384 fi
9385
9386 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9387 if test -n "$MAGIC_CMD"; then
9388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9389 $as_echo "$MAGIC_CMD" >&6; }
9390 else
9391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9392 $as_echo "no" >&6; }
9393 fi
9394
9395
9396   else
9397     MAGIC_CMD=:
9398   fi
9399 fi
9400
9401   fi
9402   ;;
9403 esac
9404
9405 # Use C for the default configuration in the libtool script
9406
9407 lt_save_CC=$CC
9408 ac_ext=c
9409 ac_cpp='$CPP $CPPFLAGS'
9410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9413
9414
9415 # Source file extension for C test sources.
9416 ac_ext=c
9417
9418 # Object file extension for compiled C test sources.
9419 objext=o
9420 objext=$objext
9421
9422 # Code to be used in simple compile tests
9423 lt_simple_compile_test_code="int some_variable = 0;"
9424
9425 # Code to be used in simple link tests
9426 lt_simple_link_test_code='int main(){return(0);}'
9427
9428
9429
9430
9431
9432
9433
9434 # If no C compiler was specified, use CC.
9435 LTCC=${LTCC-"$CC"}
9436
9437 # If no C compiler flags were specified, use CFLAGS.
9438 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9439
9440 # Allow CC to be a program name with arguments.
9441 compiler=$CC
9442
9443 # Save the default compiler, since it gets overwritten when the other
9444 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9445 compiler_DEFAULT=$CC
9446
9447 # save warnings/boilerplate of simple test code
9448 ac_outfile=conftest.$ac_objext
9449 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9450 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9451 _lt_compiler_boilerplate=`cat conftest.err`
9452 $RM conftest*
9453
9454 ac_outfile=conftest.$ac_objext
9455 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9456 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9457 _lt_linker_boilerplate=`cat conftest.err`
9458 $RM -r conftest*
9459
9460
9461 ## CAVEAT EMPTOR:
9462 ## There is no encapsulation within the following macros, do not change
9463 ## the running order or otherwise move them around unless you know exactly
9464 ## what you are doing...
9465 if test -n "$compiler"; then
9466
9467 lt_prog_compiler_no_builtin_flag=
9468
9469 if test yes = "$GCC"; then
9470   case $cc_basename in
9471   nvcc*)
9472     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9473   *)
9474     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9475   esac
9476
9477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9478 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9479 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9480   $as_echo_n "(cached) " >&6
9481 else
9482   lt_cv_prog_compiler_rtti_exceptions=no
9483    ac_outfile=conftest.$ac_objext
9484    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9485    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9486    # Insert the option either (1) after the last *FLAGS variable, or
9487    # (2) before a word containing "conftest.", or (3) at the end.
9488    # Note that $ac_compile itself does not contain backslashes and begins
9489    # with a dollar sign (not a hyphen), so the echo should work correctly.
9490    # The option is referenced via a variable to avoid confusing sed.
9491    lt_compile=`echo "$ac_compile" | $SED \
9492    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9493    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9494    -e 's:$: $lt_compiler_flag:'`
9495    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9496    (eval "$lt_compile" 2>conftest.err)
9497    ac_status=$?
9498    cat conftest.err >&5
9499    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500    if (exit $ac_status) && test -s "$ac_outfile"; then
9501      # The compiler can only warn and ignore the option if not recognized
9502      # So say no if there are warnings other than the usual output.
9503      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9504      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9505      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9506        lt_cv_prog_compiler_rtti_exceptions=yes
9507      fi
9508    fi
9509    $RM conftest*
9510
9511 fi
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9513 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9514
9515 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9516     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9517 else
9518     :
9519 fi
9520
9521 fi
9522
9523
9524
9525
9526
9527
9528   lt_prog_compiler_wl=
9529 lt_prog_compiler_pic=
9530 lt_prog_compiler_static=
9531
9532
9533   if test yes = "$GCC"; then
9534     lt_prog_compiler_wl='-Wl,'
9535     lt_prog_compiler_static='-static'
9536
9537     case $host_os in
9538       aix*)
9539       # All AIX code is PIC.
9540       if test ia64 = "$host_cpu"; then
9541         # AIX 5 now supports IA64 processor
9542         lt_prog_compiler_static='-Bstatic'
9543       fi
9544       lt_prog_compiler_pic='-fPIC'
9545       ;;
9546
9547     amigaos*)
9548       case $host_cpu in
9549       powerpc)
9550             # see comment about AmigaOS4 .so support
9551             lt_prog_compiler_pic='-fPIC'
9552         ;;
9553       m68k)
9554             # FIXME: we need at least 68020 code to build shared libraries, but
9555             # adding the '-m68020' flag to GCC prevents building anything better,
9556             # like '-m68040'.
9557             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9558         ;;
9559       esac
9560       ;;
9561
9562     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9563       # PIC is the default for these OSes.
9564       ;;
9565
9566     mingw* | cygwin* | pw32* | os2* | cegcc*)
9567       # This hack is so that the source file can tell whether it is being
9568       # built for inclusion in a dll (and should export symbols for example).
9569       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9570       # (--disable-auto-import) libraries
9571       lt_prog_compiler_pic='-DDLL_EXPORT'
9572       case $host_os in
9573       os2*)
9574         lt_prog_compiler_static='$wl-static'
9575         ;;
9576       esac
9577       ;;
9578
9579     darwin* | rhapsody*)
9580       # PIC is the default on this platform
9581       # Common symbols not allowed in MH_DYLIB files
9582       lt_prog_compiler_pic='-fno-common'
9583       ;;
9584
9585     haiku*)
9586       # PIC is the default for Haiku.
9587       # The "-static" flag exists, but is broken.
9588       lt_prog_compiler_static=
9589       ;;
9590
9591     hpux*)
9592       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9593       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9594       # sets the default TLS model and affects inlining.
9595       case $host_cpu in
9596       hppa*64*)
9597         # +Z the default
9598         ;;
9599       *)
9600         lt_prog_compiler_pic='-fPIC'
9601         ;;
9602       esac
9603       ;;
9604
9605     interix[3-9]*)
9606       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9607       # Instead, we relocate shared libraries at runtime.
9608       ;;
9609
9610     msdosdjgpp*)
9611       # Just because we use GCC doesn't mean we suddenly get shared libraries
9612       # on systems that don't support them.
9613       lt_prog_compiler_can_build_shared=no
9614       enable_shared=no
9615       ;;
9616
9617     *nto* | *qnx*)
9618       # QNX uses GNU C++, but need to define -shared option too, otherwise
9619       # it will coredump.
9620       lt_prog_compiler_pic='-fPIC -shared'
9621       ;;
9622
9623     sysv4*MP*)
9624       if test -d /usr/nec; then
9625         lt_prog_compiler_pic=-Kconform_pic
9626       fi
9627       ;;
9628
9629     *)
9630       lt_prog_compiler_pic='-fPIC'
9631       ;;
9632     esac
9633
9634     case $cc_basename in
9635     nvcc*) # Cuda Compiler Driver 2.2
9636       lt_prog_compiler_wl='-Xlinker '
9637       if test -n "$lt_prog_compiler_pic"; then
9638         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9639       fi
9640       ;;
9641     esac
9642   else
9643     # PORTME Check for flag to pass linker flags through the system compiler.
9644     case $host_os in
9645     aix*)
9646       lt_prog_compiler_wl='-Wl,'
9647       if test ia64 = "$host_cpu"; then
9648         # AIX 5 now supports IA64 processor
9649         lt_prog_compiler_static='-Bstatic'
9650       else
9651         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9652       fi
9653       ;;
9654
9655     darwin* | rhapsody*)
9656       # PIC is the default on this platform
9657       # Common symbols not allowed in MH_DYLIB files
9658       lt_prog_compiler_pic='-fno-common'
9659       case $cc_basename in
9660       nagfor*)
9661         # NAG Fortran compiler
9662         lt_prog_compiler_wl='-Wl,-Wl,,'
9663         lt_prog_compiler_pic='-PIC'
9664         lt_prog_compiler_static='-Bstatic'
9665         ;;
9666       esac
9667       ;;
9668
9669     mingw* | cygwin* | pw32* | os2* | cegcc*)
9670       # This hack is so that the source file can tell whether it is being
9671       # built for inclusion in a dll (and should export symbols for example).
9672       lt_prog_compiler_pic='-DDLL_EXPORT'
9673       case $host_os in
9674       os2*)
9675         lt_prog_compiler_static='$wl-static'
9676         ;;
9677       esac
9678       ;;
9679
9680     hpux9* | hpux10* | hpux11*)
9681       lt_prog_compiler_wl='-Wl,'
9682       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9683       # not for PA HP-UX.
9684       case $host_cpu in
9685       hppa*64*|ia64*)
9686         # +Z the default
9687         ;;
9688       *)
9689         lt_prog_compiler_pic='+Z'
9690         ;;
9691       esac
9692       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9693       lt_prog_compiler_static='$wl-a ${wl}archive'
9694       ;;
9695
9696     irix5* | irix6* | nonstopux*)
9697       lt_prog_compiler_wl='-Wl,'
9698       # PIC (with -KPIC) is the default.
9699       lt_prog_compiler_static='-non_shared'
9700       ;;
9701
9702     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9703       case $cc_basename in
9704       # old Intel for x86_64, which still supported -KPIC.
9705       ecc*)
9706         lt_prog_compiler_wl='-Wl,'
9707         lt_prog_compiler_pic='-KPIC'
9708         lt_prog_compiler_static='-static'
9709         ;;
9710       # icc used to be incompatible with GCC.
9711       # ICC 10 doesn't accept -KPIC any more.
9712       icc* | ifort*)
9713         lt_prog_compiler_wl='-Wl,'
9714         lt_prog_compiler_pic='-fPIC'
9715         lt_prog_compiler_static='-static'
9716         ;;
9717       # Lahey Fortran 8.1.
9718       lf95*)
9719         lt_prog_compiler_wl='-Wl,'
9720         lt_prog_compiler_pic='--shared'
9721         lt_prog_compiler_static='--static'
9722         ;;
9723       nagfor*)
9724         # NAG Fortran compiler
9725         lt_prog_compiler_wl='-Wl,-Wl,,'
9726         lt_prog_compiler_pic='-PIC'
9727         lt_prog_compiler_static='-Bstatic'
9728         ;;
9729       tcc*)
9730         # Fabrice Bellard et al's Tiny C Compiler
9731         lt_prog_compiler_wl='-Wl,'
9732         lt_prog_compiler_pic='-fPIC'
9733         lt_prog_compiler_static='-static'
9734         ;;
9735       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9736         # Portland Group compilers (*not* the Pentium gcc compiler,
9737         # which looks to be a dead project)
9738         lt_prog_compiler_wl='-Wl,'
9739         lt_prog_compiler_pic='-fpic'
9740         lt_prog_compiler_static='-Bstatic'
9741         ;;
9742       ccc*)
9743         lt_prog_compiler_wl='-Wl,'
9744         # All Alpha code is PIC.
9745         lt_prog_compiler_static='-non_shared'
9746         ;;
9747       xl* | bgxl* | bgf* | mpixl*)
9748         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9749         lt_prog_compiler_wl='-Wl,'
9750         lt_prog_compiler_pic='-qpic'
9751         lt_prog_compiler_static='-qstaticlink'
9752         ;;
9753       *)
9754         case `$CC -V 2>&1 | sed 5q` in
9755         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9756           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9757           lt_prog_compiler_pic='-KPIC'
9758           lt_prog_compiler_static='-Bstatic'
9759           lt_prog_compiler_wl=''
9760           ;;
9761         *Sun\ F* | *Sun*Fortran*)
9762           lt_prog_compiler_pic='-KPIC'
9763           lt_prog_compiler_static='-Bstatic'
9764           lt_prog_compiler_wl='-Qoption ld '
9765           ;;
9766         *Sun\ C*)
9767           # Sun C 5.9
9768           lt_prog_compiler_pic='-KPIC'
9769           lt_prog_compiler_static='-Bstatic'
9770           lt_prog_compiler_wl='-Wl,'
9771           ;;
9772         *Intel*\ [CF]*Compiler*)
9773           lt_prog_compiler_wl='-Wl,'
9774           lt_prog_compiler_pic='-fPIC'
9775           lt_prog_compiler_static='-static'
9776           ;;
9777         *Portland\ Group*)
9778           lt_prog_compiler_wl='-Wl,'
9779           lt_prog_compiler_pic='-fpic'
9780           lt_prog_compiler_static='-Bstatic'
9781           ;;
9782         esac
9783         ;;
9784       esac
9785       ;;
9786
9787     newsos6)
9788       lt_prog_compiler_pic='-KPIC'
9789       lt_prog_compiler_static='-Bstatic'
9790       ;;
9791
9792     *nto* | *qnx*)
9793       # QNX uses GNU C++, but need to define -shared option too, otherwise
9794       # it will coredump.
9795       lt_prog_compiler_pic='-fPIC -shared'
9796       ;;
9797
9798     osf3* | osf4* | osf5*)
9799       lt_prog_compiler_wl='-Wl,'
9800       # All OSF/1 code is PIC.
9801       lt_prog_compiler_static='-non_shared'
9802       ;;
9803
9804     rdos*)
9805       lt_prog_compiler_static='-non_shared'
9806       ;;
9807
9808     solaris*)
9809       lt_prog_compiler_pic='-KPIC'
9810       lt_prog_compiler_static='-Bstatic'
9811       case $cc_basename in
9812       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9813         lt_prog_compiler_wl='-Qoption ld ';;
9814       *)
9815         lt_prog_compiler_wl='-Wl,';;
9816       esac
9817       ;;
9818
9819     sunos4*)
9820       lt_prog_compiler_wl='-Qoption ld '
9821       lt_prog_compiler_pic='-PIC'
9822       lt_prog_compiler_static='-Bstatic'
9823       ;;
9824
9825     sysv4 | sysv4.2uw2* | sysv4.3*)
9826       lt_prog_compiler_wl='-Wl,'
9827       lt_prog_compiler_pic='-KPIC'
9828       lt_prog_compiler_static='-Bstatic'
9829       ;;
9830
9831     sysv4*MP*)
9832       if test -d /usr/nec; then
9833         lt_prog_compiler_pic='-Kconform_pic'
9834         lt_prog_compiler_static='-Bstatic'
9835       fi
9836       ;;
9837
9838     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9839       lt_prog_compiler_wl='-Wl,'
9840       lt_prog_compiler_pic='-KPIC'
9841       lt_prog_compiler_static='-Bstatic'
9842       ;;
9843
9844     unicos*)
9845       lt_prog_compiler_wl='-Wl,'
9846       lt_prog_compiler_can_build_shared=no
9847       ;;
9848
9849     uts4*)
9850       lt_prog_compiler_pic='-pic'
9851       lt_prog_compiler_static='-Bstatic'
9852       ;;
9853
9854     *)
9855       lt_prog_compiler_can_build_shared=no
9856       ;;
9857     esac
9858   fi
9859
9860 case $host_os in
9861   # For platforms that do not support PIC, -DPIC is meaningless:
9862   *djgpp*)
9863     lt_prog_compiler_pic=
9864     ;;
9865   *)
9866     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9867     ;;
9868 esac
9869
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9871 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9872 if ${lt_cv_prog_compiler_pic+:} false; then :
9873   $as_echo_n "(cached) " >&6
9874 else
9875   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9876 fi
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9878 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9879 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9880
9881 #
9882 # Check to make sure the PIC flag actually works.
9883 #
9884 if test -n "$lt_prog_compiler_pic"; then
9885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9886 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9887 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9888   $as_echo_n "(cached) " >&6
9889 else
9890   lt_cv_prog_compiler_pic_works=no
9891    ac_outfile=conftest.$ac_objext
9892    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9893    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9894    # Insert the option either (1) after the last *FLAGS variable, or
9895    # (2) before a word containing "conftest.", or (3) at the end.
9896    # Note that $ac_compile itself does not contain backslashes and begins
9897    # with a dollar sign (not a hyphen), so the echo should work correctly.
9898    # The option is referenced via a variable to avoid confusing sed.
9899    lt_compile=`echo "$ac_compile" | $SED \
9900    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9901    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9902    -e 's:$: $lt_compiler_flag:'`
9903    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9904    (eval "$lt_compile" 2>conftest.err)
9905    ac_status=$?
9906    cat conftest.err >&5
9907    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908    if (exit $ac_status) && test -s "$ac_outfile"; then
9909      # The compiler can only warn and ignore the option if not recognized
9910      # So say no if there are warnings other than the usual output.
9911      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9912      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9913      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9914        lt_cv_prog_compiler_pic_works=yes
9915      fi
9916    fi
9917    $RM conftest*
9918
9919 fi
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9921 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9922
9923 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9924     case $lt_prog_compiler_pic in
9925      "" | " "*) ;;
9926      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9927      esac
9928 else
9929     lt_prog_compiler_pic=
9930      lt_prog_compiler_can_build_shared=no
9931 fi
9932
9933 fi
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945 #
9946 # Check to make sure the static flag actually works.
9947 #
9948 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9950 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9951 if ${lt_cv_prog_compiler_static_works+:} false; then :
9952   $as_echo_n "(cached) " >&6
9953 else
9954   lt_cv_prog_compiler_static_works=no
9955    save_LDFLAGS=$LDFLAGS
9956    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9957    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9958    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9959      # The linker can only warn and ignore the option if not recognized
9960      # So say no if there are warnings
9961      if test -s conftest.err; then
9962        # Append any errors to the config.log.
9963        cat conftest.err 1>&5
9964        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9965        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9966        if diff conftest.exp conftest.er2 >/dev/null; then
9967          lt_cv_prog_compiler_static_works=yes
9968        fi
9969      else
9970        lt_cv_prog_compiler_static_works=yes
9971      fi
9972    fi
9973    $RM -r conftest*
9974    LDFLAGS=$save_LDFLAGS
9975
9976 fi
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9978 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9979
9980 if test yes = "$lt_cv_prog_compiler_static_works"; then
9981     :
9982 else
9983     lt_prog_compiler_static=
9984 fi
9985
9986
9987
9988
9989
9990
9991
9992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9993 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9994 if ${lt_cv_prog_compiler_c_o+:} false; then :
9995   $as_echo_n "(cached) " >&6
9996 else
9997   lt_cv_prog_compiler_c_o=no
9998    $RM -r conftest 2>/dev/null
9999    mkdir conftest
10000    cd conftest
10001    mkdir out
10002    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10003
10004    lt_compiler_flag="-o out/conftest2.$ac_objext"
10005    # Insert the option either (1) after the last *FLAGS variable, or
10006    # (2) before a word containing "conftest.", or (3) at the end.
10007    # Note that $ac_compile itself does not contain backslashes and begins
10008    # with a dollar sign (not a hyphen), so the echo should work correctly.
10009    lt_compile=`echo "$ac_compile" | $SED \
10010    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10011    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10012    -e 's:$: $lt_compiler_flag:'`
10013    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10014    (eval "$lt_compile" 2>out/conftest.err)
10015    ac_status=$?
10016    cat out/conftest.err >&5
10017    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10019    then
10020      # The compiler can only warn and ignore the option if not recognized
10021      # So say no if there are warnings
10022      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10023      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10024      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10025        lt_cv_prog_compiler_c_o=yes
10026      fi
10027    fi
10028    chmod u+w . 2>&5
10029    $RM conftest*
10030    # SGI C++ compiler will create directory out/ii_files/ for
10031    # template instantiation
10032    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10033    $RM out/* && rmdir out
10034    cd ..
10035    $RM -r conftest
10036    $RM conftest*
10037
10038 fi
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10040 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10041
10042
10043
10044
10045
10046
10047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10048 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10049 if ${lt_cv_prog_compiler_c_o+:} false; then :
10050   $as_echo_n "(cached) " >&6
10051 else
10052   lt_cv_prog_compiler_c_o=no
10053    $RM -r conftest 2>/dev/null
10054    mkdir conftest
10055    cd conftest
10056    mkdir out
10057    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10058
10059    lt_compiler_flag="-o out/conftest2.$ac_objext"
10060    # Insert the option either (1) after the last *FLAGS variable, or
10061    # (2) before a word containing "conftest.", or (3) at the end.
10062    # Note that $ac_compile itself does not contain backslashes and begins
10063    # with a dollar sign (not a hyphen), so the echo should work correctly.
10064    lt_compile=`echo "$ac_compile" | $SED \
10065    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10066    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10067    -e 's:$: $lt_compiler_flag:'`
10068    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10069    (eval "$lt_compile" 2>out/conftest.err)
10070    ac_status=$?
10071    cat out/conftest.err >&5
10072    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10074    then
10075      # The compiler can only warn and ignore the option if not recognized
10076      # So say no if there are warnings
10077      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10078      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10079      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10080        lt_cv_prog_compiler_c_o=yes
10081      fi
10082    fi
10083    chmod u+w . 2>&5
10084    $RM conftest*
10085    # SGI C++ compiler will create directory out/ii_files/ for
10086    # template instantiation
10087    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10088    $RM out/* && rmdir out
10089    cd ..
10090    $RM -r conftest
10091    $RM conftest*
10092
10093 fi
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10095 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10096
10097
10098
10099
10100 hard_links=nottested
10101 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10102   # do not overwrite the value of need_locks provided by the user
10103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10104 $as_echo_n "checking if we can lock with hard links... " >&6; }
10105   hard_links=yes
10106   $RM conftest*
10107   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10108   touch conftest.a
10109   ln conftest.a conftest.b 2>&5 || hard_links=no
10110   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10112 $as_echo "$hard_links" >&6; }
10113   if test no = "$hard_links"; then
10114     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10115 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10116     need_locks=warn
10117   fi
10118 else
10119   need_locks=no
10120 fi
10121
10122
10123
10124
10125
10126
10127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10128 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10129
10130   runpath_var=
10131   allow_undefined_flag=
10132   always_export_symbols=no
10133   archive_cmds=
10134   archive_expsym_cmds=
10135   compiler_needs_object=no
10136   enable_shared_with_static_runtimes=no
10137   export_dynamic_flag_spec=
10138   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10139   hardcode_automatic=no
10140   hardcode_direct=no
10141   hardcode_direct_absolute=no
10142   hardcode_libdir_flag_spec=
10143   hardcode_libdir_separator=
10144   hardcode_minus_L=no
10145   hardcode_shlibpath_var=unsupported
10146   inherit_rpath=no
10147   link_all_deplibs=unknown
10148   module_cmds=
10149   module_expsym_cmds=
10150   old_archive_from_new_cmds=
10151   old_archive_from_expsyms_cmds=
10152   thread_safe_flag_spec=
10153   whole_archive_flag_spec=
10154   # include_expsyms should be a list of space-separated symbols to be *always*
10155   # included in the symbol list
10156   include_expsyms=
10157   # exclude_expsyms can be an extended regexp of symbols to exclude
10158   # it will be wrapped by ' (' and ')$', so one must not match beginning or
10159   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10160   # as well as any symbol that contains 'd'.
10161   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10162   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10163   # platforms (ab)use it in PIC code, but their linkers get confused if
10164   # the symbol is explicitly referenced.  Since portable code cannot
10165   # rely on this symbol name, it's probably fine to never include it in
10166   # preloaded symbol tables.
10167   # Exclude shared library initialization/finalization symbols.
10168   extract_expsyms_cmds=
10169
10170   case $host_os in
10171   cygwin* | mingw* | pw32* | cegcc*)
10172     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10173     # When not using gcc, we currently assume that we are using
10174     # Microsoft Visual C++.
10175     if test yes != "$GCC"; then
10176       with_gnu_ld=no
10177     fi
10178     ;;
10179   interix*)
10180     # we just hope/assume this is gcc and not c89 (= MSVC++)
10181     with_gnu_ld=yes
10182     ;;
10183   openbsd* | bitrig*)
10184     with_gnu_ld=no
10185     ;;
10186   linux* | k*bsd*-gnu | gnu*)
10187     link_all_deplibs=no
10188     ;;
10189   esac
10190
10191   ld_shlibs=yes
10192
10193   # On some targets, GNU ld is compatible enough with the native linker
10194   # that we're better off using the native interface for both.
10195   lt_use_gnu_ld_interface=no
10196   if test yes = "$with_gnu_ld"; then
10197     case $host_os in
10198       aix*)
10199         # The AIX port of GNU ld has always aspired to compatibility
10200         # with the native linker.  However, as the warning in the GNU ld
10201         # block says, versions before 2.19.5* couldn't really create working
10202         # shared libraries, regardless of the interface used.
10203         case `$LD -v 2>&1` in
10204           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10205           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10206           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10207           *)
10208             lt_use_gnu_ld_interface=yes
10209             ;;
10210         esac
10211         ;;
10212       *)
10213         lt_use_gnu_ld_interface=yes
10214         ;;
10215     esac
10216   fi
10217
10218   if test yes = "$lt_use_gnu_ld_interface"; then
10219     # If archive_cmds runs LD, not CC, wlarc should be empty
10220     wlarc='$wl'
10221
10222     # Set some defaults for GNU ld with shared library support. These
10223     # are reset later if shared libraries are not supported. Putting them
10224     # here allows them to be overridden if necessary.
10225     runpath_var=LD_RUN_PATH
10226     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10227     export_dynamic_flag_spec='$wl--export-dynamic'
10228     # ancient GNU ld didn't support --whole-archive et. al.
10229     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10230       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10231     else
10232       whole_archive_flag_spec=
10233     fi
10234     supports_anon_versioning=no
10235     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10236       *GNU\ gold*) supports_anon_versioning=yes ;;
10237       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10238       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10239       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10240       *\ 2.11.*) ;; # other 2.11 versions
10241       *) supports_anon_versioning=yes ;;
10242     esac
10243
10244     # See if GNU ld supports shared libraries.
10245     case $host_os in
10246     aix[3-9]*)
10247       # On AIX/PPC, the GNU linker is very broken
10248       if test ia64 != "$host_cpu"; then
10249         ld_shlibs=no
10250         cat <<_LT_EOF 1>&2
10251
10252 *** Warning: the GNU linker, at least up to release 2.19, is reported
10253 *** to be unable to reliably create shared libraries on AIX.
10254 *** Therefore, libtool is disabling shared libraries support.  If you
10255 *** really care for shared libraries, you may want to install binutils
10256 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10257 *** You will then need to restart the configuration process.
10258
10259 _LT_EOF
10260       fi
10261       ;;
10262
10263     amigaos*)
10264       case $host_cpu in
10265       powerpc)
10266             # see comment about AmigaOS4 .so support
10267             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10268             archive_expsym_cmds=''
10269         ;;
10270       m68k)
10271             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)'
10272             hardcode_libdir_flag_spec='-L$libdir'
10273             hardcode_minus_L=yes
10274         ;;
10275       esac
10276       ;;
10277
10278     beos*)
10279       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10280         allow_undefined_flag=unsupported
10281         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10282         # support --undefined.  This deserves some investigation.  FIXME
10283         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10284       else
10285         ld_shlibs=no
10286       fi
10287       ;;
10288
10289     cygwin* | mingw* | pw32* | cegcc*)
10290       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10291       # as there is no search path for DLLs.
10292       hardcode_libdir_flag_spec='-L$libdir'
10293       export_dynamic_flag_spec='$wl--export-all-symbols'
10294       allow_undefined_flag=unsupported
10295       always_export_symbols=no
10296       enable_shared_with_static_runtimes=yes
10297       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'
10298       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10299
10300       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10301         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10302         # If the export-symbols file already is a .def file, use it as
10303         # is; otherwise, prepend EXPORTS...
10304         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10305           cp $export_symbols $output_objdir/$soname.def;
10306         else
10307           echo EXPORTS > $output_objdir/$soname.def;
10308           cat $export_symbols >> $output_objdir/$soname.def;
10309         fi~
10310         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10311       else
10312         ld_shlibs=no
10313       fi
10314       ;;
10315
10316     haiku*)
10317       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10318       link_all_deplibs=yes
10319       ;;
10320
10321     os2*)
10322       hardcode_libdir_flag_spec='-L$libdir'
10323       hardcode_minus_L=yes
10324       allow_undefined_flag=unsupported
10325       shrext_cmds=.dll
10326       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10327         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10328         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10329         $ECHO EXPORTS >> $output_objdir/$libname.def~
10330         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10331         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10332         emximp -o $lib $output_objdir/$libname.def'
10333       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10334         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10335         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10336         $ECHO EXPORTS >> $output_objdir/$libname.def~
10337         prefix_cmds="$SED"~
10338         if test EXPORTS = "`$SED 1q $export_symbols`"; then
10339           prefix_cmds="$prefix_cmds -e 1d";
10340         fi~
10341         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10342         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10343         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10344         emximp -o $lib $output_objdir/$libname.def'
10345       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10346       enable_shared_with_static_runtimes=yes
10347       ;;
10348
10349     interix[3-9]*)
10350       hardcode_direct=no
10351       hardcode_shlibpath_var=no
10352       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10353       export_dynamic_flag_spec='$wl-E'
10354       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10355       # Instead, shared libraries are loaded at an image base (0x10000000 by
10356       # default) and relocated if they conflict, which is a slow very memory
10357       # consuming and fragmenting process.  To avoid this, we pick a random,
10358       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10359       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10360       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10361       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'
10362       ;;
10363
10364     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10365       tmp_diet=no
10366       if test linux-dietlibc = "$host_os"; then
10367         case $cc_basename in
10368           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10369         esac
10370       fi
10371       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10372          && test no = "$tmp_diet"
10373       then
10374         tmp_addflag=' $pic_flag'
10375         tmp_sharedflag='-shared'
10376         case $cc_basename,$host_cpu in
10377         pgcc*)                          # Portland Group C compiler
10378           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'
10379           tmp_addflag=' $pic_flag'
10380           ;;
10381         pgf77* | pgf90* | pgf95* | pgfortran*)
10382                                         # Portland Group f77 and f90 compilers
10383           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'
10384           tmp_addflag=' $pic_flag -Mnomain' ;;
10385         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10386           tmp_addflag=' -i_dynamic' ;;
10387         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10388           tmp_addflag=' -i_dynamic -nofor_main' ;;
10389         ifc* | ifort*)                  # Intel Fortran compiler
10390           tmp_addflag=' -nofor_main' ;;
10391         lf95*)                          # Lahey Fortran 8.1
10392           whole_archive_flag_spec=
10393           tmp_sharedflag='--shared' ;;
10394         nagfor*)                        # NAGFOR 5.3
10395           tmp_sharedflag='-Wl,-shared' ;;
10396         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10397           tmp_sharedflag='-qmkshrobj'
10398           tmp_addflag= ;;
10399         nvcc*)  # Cuda Compiler Driver 2.2
10400           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'
10401           compiler_needs_object=yes
10402           ;;
10403         esac
10404         case `$CC -V 2>&1 | sed 5q` in
10405         *Sun\ C*)                       # Sun C 5.9
10406           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'
10407           compiler_needs_object=yes
10408           tmp_sharedflag='-G' ;;
10409         *Sun\ F*)                       # Sun Fortran 8.3
10410           tmp_sharedflag='-G' ;;
10411         esac
10412         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10413
10414         if test yes = "$supports_anon_versioning"; then
10415           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10416             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10417             echo "local: *; };" >> $output_objdir/$libname.ver~
10418             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10419         fi
10420
10421         case $cc_basename in
10422         tcc*)
10423           export_dynamic_flag_spec='-rdynamic'
10424           ;;
10425         xlf* | bgf* | bgxlf* | mpixlf*)
10426           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10427           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10428           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10429           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10430           if test yes = "$supports_anon_versioning"; then
10431             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10432               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10433               echo "local: *; };" >> $output_objdir/$libname.ver~
10434               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10435           fi
10436           ;;
10437         esac
10438       else
10439         ld_shlibs=no
10440       fi
10441       ;;
10442
10443     netbsd* | netbsdelf*-gnu)
10444       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10445         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10446         wlarc=
10447       else
10448         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10449         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10450       fi
10451       ;;
10452
10453     solaris*)
10454       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10455         ld_shlibs=no
10456         cat <<_LT_EOF 1>&2
10457
10458 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10459 *** create shared libraries on Solaris systems.  Therefore, libtool
10460 *** is disabling shared libraries support.  We urge you to upgrade GNU
10461 *** binutils to release 2.9.1 or newer.  Another option is to modify
10462 *** your PATH or compiler configuration so that the native linker is
10463 *** used, and then restart.
10464
10465 _LT_EOF
10466       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10467         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10468         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10469       else
10470         ld_shlibs=no
10471       fi
10472       ;;
10473
10474     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10475       case `$LD -v 2>&1` in
10476         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10477         ld_shlibs=no
10478         cat <<_LT_EOF 1>&2
10479
10480 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10481 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10482 *** is disabling shared libraries support.  We urge you to upgrade GNU
10483 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10484 *** your PATH or compiler configuration so that the native linker is
10485 *** used, and then restart.
10486
10487 _LT_EOF
10488         ;;
10489         *)
10490           # For security reasons, it is highly recommended that you always
10491           # use absolute paths for naming shared libraries, and exclude the
10492           # DT_RUNPATH tag from executables and libraries.  But doing so
10493           # requires that you compile everything twice, which is a pain.
10494           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10495             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10496             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10497             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10498           else
10499             ld_shlibs=no
10500           fi
10501         ;;
10502       esac
10503       ;;
10504
10505     sunos4*)
10506       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10507       wlarc=
10508       hardcode_direct=yes
10509       hardcode_shlibpath_var=no
10510       ;;
10511
10512     *)
10513       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10514         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10515         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10516       else
10517         ld_shlibs=no
10518       fi
10519       ;;
10520     esac
10521
10522     if test no = "$ld_shlibs"; then
10523       runpath_var=
10524       hardcode_libdir_flag_spec=
10525       export_dynamic_flag_spec=
10526       whole_archive_flag_spec=
10527     fi
10528   else
10529     # PORTME fill in a description of your system's linker (not GNU ld)
10530     case $host_os in
10531     aix3*)
10532       allow_undefined_flag=unsupported
10533       always_export_symbols=yes
10534       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'
10535       # Note: this linker hardcodes the directories in LIBPATH if there
10536       # are no directories specified by -L.
10537       hardcode_minus_L=yes
10538       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10539         # Neither direct hardcoding nor static linking is supported with a
10540         # broken collect2.
10541         hardcode_direct=unsupported
10542       fi
10543       ;;
10544
10545     aix[4-9]*)
10546       if test ia64 = "$host_cpu"; then
10547         # On IA64, the linker does run time linking by default, so we don't
10548         # have to do anything special.
10549         aix_use_runtimelinking=no
10550         exp_sym_flag='-Bexport'
10551         no_entry_flag=
10552       else
10553         # If we're using GNU nm, then we don't want the "-C" option.
10554         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10555         # Without the "-l" option, or with the "-B" option, AIX nm treats
10556         # weak defined symbols like other global defined symbols, whereas
10557         # GNU nm marks them as "W".
10558         # While the 'weak' keyword is ignored in the Export File, we need
10559         # it in the Import File for the 'aix-soname' feature, so we have
10560         # to replace the "-B" option with "-P" for AIX nm.
10561         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10562           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10563         else
10564           export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10565         fi
10566         aix_use_runtimelinking=no
10567
10568         # Test if we are trying to use run time linking or normal
10569         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10570         # have runtime linking enabled, and use it for executables.
10571         # For shared libraries, we enable/disable runtime linking
10572         # depending on the kind of the shared library created -
10573         # when "with_aix_soname,aix_use_runtimelinking" is:
10574         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10575         # "aix,yes"  lib.so          shared, rtl:yes, for executables
10576         #            lib.a           static archive
10577         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
10578         #            lib.a(lib.so.V) shared, rtl:no,  for executables
10579         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10580         #            lib.a(lib.so.V) shared, rtl:no
10581         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10582         #            lib.a           static archive
10583         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10584           for ld_flag in $LDFLAGS; do
10585           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10586             aix_use_runtimelinking=yes
10587             break
10588           fi
10589           done
10590           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10591             # With aix-soname=svr4, we create the lib.so.V shared archives only,
10592             # so we don't have lib.a shared libs to link our executables.
10593             # We have to force runtime linking in this case.
10594             aix_use_runtimelinking=yes
10595             LDFLAGS="$LDFLAGS -Wl,-brtl"
10596           fi
10597           ;;
10598         esac
10599
10600         exp_sym_flag='-bexport'
10601         no_entry_flag='-bnoentry'
10602       fi
10603
10604       # When large executables or shared objects are built, AIX ld can
10605       # have problems creating the table of contents.  If linking a library
10606       # or program results in "error TOC overflow" add -mminimal-toc to
10607       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10608       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10609
10610       archive_cmds=''
10611       hardcode_direct=yes
10612       hardcode_direct_absolute=yes
10613       hardcode_libdir_separator=':'
10614       link_all_deplibs=yes
10615       file_list_spec='$wl-f,'
10616       case $with_aix_soname,$aix_use_runtimelinking in
10617       aix,*) ;; # traditional, no import file
10618       svr4,* | *,yes) # use import file
10619         # The Import File defines what to hardcode.
10620         hardcode_direct=no
10621         hardcode_direct_absolute=no
10622         ;;
10623       esac
10624
10625       if test yes = "$GCC"; then
10626         case $host_os in aix4.[012]|aix4.[012].*)
10627         # We only want to do this on AIX 4.2 and lower, the check
10628         # below for broken collect2 doesn't work under 4.3+
10629           collect2name=`$CC -print-prog-name=collect2`
10630           if test -f "$collect2name" &&
10631            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10632           then
10633           # We have reworked collect2
10634           :
10635           else
10636           # We have old collect2
10637           hardcode_direct=unsupported
10638           # It fails to find uninstalled libraries when the uninstalled
10639           # path is not listed in the libpath.  Setting hardcode_minus_L
10640           # to unsupported forces relinking
10641           hardcode_minus_L=yes
10642           hardcode_libdir_flag_spec='-L$libdir'
10643           hardcode_libdir_separator=
10644           fi
10645           ;;
10646         esac
10647         shared_flag='-shared'
10648         if test yes = "$aix_use_runtimelinking"; then
10649           shared_flag="$shared_flag "'$wl-G'
10650         fi
10651         # Need to ensure runtime linking is disabled for the traditional
10652         # shared library, or the linker may eventually find shared libraries
10653         # /with/ Import File - we do not want to mix them.
10654         shared_flag_aix='-shared'
10655         shared_flag_svr4='-shared $wl-G'
10656       else
10657         # not using gcc
10658         if test ia64 = "$host_cpu"; then
10659         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10660         # chokes on -Wl,-G. The following line is correct:
10661           shared_flag='-G'
10662         else
10663           if test yes = "$aix_use_runtimelinking"; then
10664             shared_flag='$wl-G'
10665           else
10666             shared_flag='$wl-bM:SRE'
10667           fi
10668           shared_flag_aix='$wl-bM:SRE'
10669           shared_flag_svr4='$wl-G'
10670         fi
10671       fi
10672
10673       export_dynamic_flag_spec='$wl-bexpall'
10674       # It seems that -bexpall does not export symbols beginning with
10675       # underscore (_), so it is better to generate a list of symbols to export.
10676       always_export_symbols=yes
10677       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10678         # Warning - without using the other runtime loading flags (-brtl),
10679         # -berok will link without error, but may produce a broken library.
10680         allow_undefined_flag='-berok'
10681         # Determine the default libpath from the value encoded in an
10682         # empty executable.
10683         if test set = "${lt_cv_aix_libpath+set}"; then
10684   aix_libpath=$lt_cv_aix_libpath
10685 else
10686   if ${lt_cv_aix_libpath_+:} false; then :
10687   $as_echo_n "(cached) " >&6
10688 else
10689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h.  */
10691
10692 int
10693 main ()
10694 {
10695
10696   ;
10697   return 0;
10698 }
10699 _ACEOF
10700 if ac_fn_c_try_link "$LINENO"; then :
10701
10702   lt_aix_libpath_sed='
10703       /Import File Strings/,/^$/ {
10704           /^0/ {
10705               s/^0  *\([^ ]*\) *$/\1/
10706               p
10707           }
10708       }'
10709   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10710   # Check for a 64-bit object if we didn't find anything.
10711   if test -z "$lt_cv_aix_libpath_"; then
10712     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10713   fi
10714 fi
10715 rm -f core conftest.err conftest.$ac_objext \
10716     conftest$ac_exeext conftest.$ac_ext
10717   if test -z "$lt_cv_aix_libpath_"; then
10718     lt_cv_aix_libpath_=/usr/lib:/lib
10719   fi
10720
10721 fi
10722
10723   aix_libpath=$lt_cv_aix_libpath_
10724 fi
10725
10726         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10727         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
10728       else
10729         if test ia64 = "$host_cpu"; then
10730           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10731           allow_undefined_flag="-z nodefs"
10732           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"
10733         else
10734          # Determine the default libpath from the value encoded in an
10735          # empty executable.
10736          if test set = "${lt_cv_aix_libpath+set}"; then
10737   aix_libpath=$lt_cv_aix_libpath
10738 else
10739   if ${lt_cv_aix_libpath_+:} false; then :
10740   $as_echo_n "(cached) " >&6
10741 else
10742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h.  */
10744
10745 int
10746 main ()
10747 {
10748
10749   ;
10750   return 0;
10751 }
10752 _ACEOF
10753 if ac_fn_c_try_link "$LINENO"; then :
10754
10755   lt_aix_libpath_sed='
10756       /Import File Strings/,/^$/ {
10757           /^0/ {
10758               s/^0  *\([^ ]*\) *$/\1/
10759               p
10760           }
10761       }'
10762   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10763   # Check for a 64-bit object if we didn't find anything.
10764   if test -z "$lt_cv_aix_libpath_"; then
10765     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10766   fi
10767 fi
10768 rm -f core conftest.err conftest.$ac_objext \
10769     conftest$ac_exeext conftest.$ac_ext
10770   if test -z "$lt_cv_aix_libpath_"; then
10771     lt_cv_aix_libpath_=/usr/lib:/lib
10772   fi
10773
10774 fi
10775
10776   aix_libpath=$lt_cv_aix_libpath_
10777 fi
10778
10779          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10780           # Warning - without using the other run time loading flags,
10781           # -berok will link without error, but may produce a broken library.
10782           no_undefined_flag=' $wl-bernotok'
10783           allow_undefined_flag=' $wl-berok'
10784           if test yes = "$with_gnu_ld"; then
10785             # We only use this code for GNU lds that support --whole-archive.
10786             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10787           else
10788             # Exported symbols can be pulled into shared objects from archives
10789             whole_archive_flag_spec='$convenience'
10790           fi
10791           archive_cmds_need_lc=yes
10792           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10793           # -brtl affects multiple linker settings, -berok does not and is overridden later
10794           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10795           if test svr4 != "$with_aix_soname"; then
10796             # This is similar to how AIX traditionally builds its shared libraries.
10797             archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10798           fi
10799           if test aix != "$with_aix_soname"; then
10800             archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10801           else
10802             # used by -dlpreopen to get the symbols
10803             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10804           fi
10805           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10806         fi
10807       fi
10808       ;;
10809
10810     amigaos*)
10811       case $host_cpu in
10812       powerpc)
10813             # see comment about AmigaOS4 .so support
10814             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10815             archive_expsym_cmds=''
10816         ;;
10817       m68k)
10818             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)'
10819             hardcode_libdir_flag_spec='-L$libdir'
10820             hardcode_minus_L=yes
10821         ;;
10822       esac
10823       ;;
10824
10825     bsdi[45]*)
10826       export_dynamic_flag_spec=-rdynamic
10827       ;;
10828
10829     cygwin* | mingw* | pw32* | cegcc*)
10830       # When not using gcc, we currently assume that we are using
10831       # Microsoft Visual C++.
10832       # hardcode_libdir_flag_spec is actually meaningless, as there is
10833       # no search path for DLLs.
10834       case $cc_basename in
10835       cl*)
10836         # Native MSVC
10837         hardcode_libdir_flag_spec=' '
10838         allow_undefined_flag=unsupported
10839         always_export_symbols=yes
10840         file_list_spec='@'
10841         # Tell ltmain to make .lib files, not .a files.
10842         libext=lib
10843         # Tell ltmain to make .dll files, not .so files.
10844         shrext_cmds=.dll
10845         # FIXME: Setting linknames here is a bad hack.
10846         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10847         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10848             cp "$export_symbols" "$output_objdir/$soname.def";
10849             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10850           else
10851             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10852           fi~
10853           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10854           linknames='
10855         # The linker will not automatically build a static lib if we build a DLL.
10856         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10857         enable_shared_with_static_runtimes=yes
10858         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10859         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10860         # Don't use ranlib
10861         old_postinstall_cmds='chmod 644 $oldlib'
10862         postlink_cmds='lt_outputfile="@OUTPUT@"~
10863           lt_tool_outputfile="@TOOL_OUTPUT@"~
10864           case $lt_outputfile in
10865             *.exe|*.EXE) ;;
10866             *)
10867               lt_outputfile=$lt_outputfile.exe
10868               lt_tool_outputfile=$lt_tool_outputfile.exe
10869               ;;
10870           esac~
10871           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10872             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10873             $RM "$lt_outputfile.manifest";
10874           fi'
10875         ;;
10876       *)
10877         # Assume MSVC wrapper
10878         hardcode_libdir_flag_spec=' '
10879         allow_undefined_flag=unsupported
10880         # Tell ltmain to make .lib files, not .a files.
10881         libext=lib
10882         # Tell ltmain to make .dll files, not .so files.
10883         shrext_cmds=.dll
10884         # FIXME: Setting linknames here is a bad hack.
10885         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10886         # The linker will automatically build a .lib file if we build a DLL.
10887         old_archive_from_new_cmds='true'
10888         # FIXME: Should let the user specify the lib program.
10889         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10890         enable_shared_with_static_runtimes=yes
10891         ;;
10892       esac
10893       ;;
10894
10895     darwin* | rhapsody*)
10896
10897
10898   archive_cmds_need_lc=no
10899   hardcode_direct=no
10900   hardcode_automatic=yes
10901   hardcode_shlibpath_var=unsupported
10902   if test yes = "$lt_cv_ld_force_load"; then
10903     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\"`'
10904
10905   else
10906     whole_archive_flag_spec=''
10907   fi
10908   link_all_deplibs=yes
10909   allow_undefined_flag=$_lt_dar_allow_undefined
10910   case $cc_basename in
10911      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10912      *) _lt_dar_can_shared=$GCC ;;
10913   esac
10914   if test yes = "$_lt_dar_can_shared"; then
10915     output_verbose_link_cmd=func_echo_all
10916     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10917     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10918     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"
10919     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"
10920
10921   else
10922   ld_shlibs=no
10923   fi
10924
10925       ;;
10926
10927     dgux*)
10928       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10929       hardcode_libdir_flag_spec='-L$libdir'
10930       hardcode_shlibpath_var=no
10931       ;;
10932
10933     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10934     # support.  Future versions do this automatically, but an explicit c++rt0.o
10935     # does not break anything, and helps significantly (at the cost of a little
10936     # extra space).
10937     freebsd2.2*)
10938       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10939       hardcode_libdir_flag_spec='-R$libdir'
10940       hardcode_direct=yes
10941       hardcode_shlibpath_var=no
10942       ;;
10943
10944     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10945     freebsd2.*)
10946       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10947       hardcode_direct=yes
10948       hardcode_minus_L=yes
10949       hardcode_shlibpath_var=no
10950       ;;
10951
10952     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10953     freebsd* | dragonfly*)
10954       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10955       hardcode_libdir_flag_spec='-R$libdir'
10956       hardcode_direct=yes
10957       hardcode_shlibpath_var=no
10958       ;;
10959
10960     hpux9*)
10961       if test yes = "$GCC"; then
10962         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'
10963       else
10964         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'
10965       fi
10966       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10967       hardcode_libdir_separator=:
10968       hardcode_direct=yes
10969
10970       # hardcode_minus_L: Not really in the search PATH,
10971       # but as the default location of the library.
10972       hardcode_minus_L=yes
10973       export_dynamic_flag_spec='$wl-E'
10974       ;;
10975
10976     hpux10*)
10977       if test yes,no = "$GCC,$with_gnu_ld"; then
10978         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10979       else
10980         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10981       fi
10982       if test no = "$with_gnu_ld"; then
10983         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10984         hardcode_libdir_separator=:
10985         hardcode_direct=yes
10986         hardcode_direct_absolute=yes
10987         export_dynamic_flag_spec='$wl-E'
10988         # hardcode_minus_L: Not really in the search PATH,
10989         # but as the default location of the library.
10990         hardcode_minus_L=yes
10991       fi
10992       ;;
10993
10994     hpux11*)
10995       if test yes,no = "$GCC,$with_gnu_ld"; then
10996         case $host_cpu in
10997         hppa*64*)
10998           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10999           ;;
11000         ia64*)
11001           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11002           ;;
11003         *)
11004           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11005           ;;
11006         esac
11007       else
11008         case $host_cpu in
11009         hppa*64*)
11010           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11011           ;;
11012         ia64*)
11013           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11014           ;;
11015         *)
11016
11017           # Older versions of the 11.00 compiler do not understand -b yet
11018           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11019           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11020 $as_echo_n "checking if $CC understands -b... " >&6; }
11021 if ${lt_cv_prog_compiler__b+:} false; then :
11022   $as_echo_n "(cached) " >&6
11023 else
11024   lt_cv_prog_compiler__b=no
11025    save_LDFLAGS=$LDFLAGS
11026    LDFLAGS="$LDFLAGS -b"
11027    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11028    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11029      # The linker can only warn and ignore the option if not recognized
11030      # So say no if there are warnings
11031      if test -s conftest.err; then
11032        # Append any errors to the config.log.
11033        cat conftest.err 1>&5
11034        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11035        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11036        if diff conftest.exp conftest.er2 >/dev/null; then
11037          lt_cv_prog_compiler__b=yes
11038        fi
11039      else
11040        lt_cv_prog_compiler__b=yes
11041      fi
11042    fi
11043    $RM -r conftest*
11044    LDFLAGS=$save_LDFLAGS
11045
11046 fi
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11048 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11049
11050 if test yes = "$lt_cv_prog_compiler__b"; then
11051     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11052 else
11053     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11054 fi
11055
11056           ;;
11057         esac
11058       fi
11059       if test no = "$with_gnu_ld"; then
11060         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11061         hardcode_libdir_separator=:
11062
11063         case $host_cpu in
11064         hppa*64*|ia64*)
11065           hardcode_direct=no
11066           hardcode_shlibpath_var=no
11067           ;;
11068         *)
11069           hardcode_direct=yes
11070           hardcode_direct_absolute=yes
11071           export_dynamic_flag_spec='$wl-E'
11072
11073           # hardcode_minus_L: Not really in the search PATH,
11074           # but as the default location of the library.
11075           hardcode_minus_L=yes
11076           ;;
11077         esac
11078       fi
11079       ;;
11080
11081     irix5* | irix6* | nonstopux*)
11082       if test yes = "$GCC"; then
11083         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'
11084         # Try to use the -exported_symbol ld option, if it does not
11085         # work, assume that -exports_file does not work either and
11086         # implicitly export all symbols.
11087         # This should be the same for all languages, so no per-tag cache variable.
11088         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11089 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11090 if ${lt_cv_irix_exported_symbol+:} false; then :
11091   $as_echo_n "(cached) " >&6
11092 else
11093   save_LDFLAGS=$LDFLAGS
11094            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11095            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h.  */
11097 int foo (void) { return 0; }
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"; then :
11100   lt_cv_irix_exported_symbol=yes
11101 else
11102   lt_cv_irix_exported_symbol=no
11103 fi
11104 rm -f core conftest.err conftest.$ac_objext \
11105     conftest$ac_exeext conftest.$ac_ext
11106            LDFLAGS=$save_LDFLAGS
11107 fi
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11109 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11110         if test yes = "$lt_cv_irix_exported_symbol"; then
11111           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'
11112         fi
11113         link_all_deplibs=no
11114       else
11115         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'
11116         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'
11117       fi
11118       archive_cmds_need_lc='no'
11119       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11120       hardcode_libdir_separator=:
11121       inherit_rpath=yes
11122       link_all_deplibs=yes
11123       ;;
11124
11125     linux*)
11126       case $cc_basename in
11127       tcc*)
11128         # Fabrice Bellard et al's Tiny C Compiler
11129         ld_shlibs=yes
11130         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11131         ;;
11132       esac
11133       ;;
11134
11135     netbsd* | netbsdelf*-gnu)
11136       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11137         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11138       else
11139         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11140       fi
11141       hardcode_libdir_flag_spec='-R$libdir'
11142       hardcode_direct=yes
11143       hardcode_shlibpath_var=no
11144       ;;
11145
11146     newsos6)
11147       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11148       hardcode_direct=yes
11149       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11150       hardcode_libdir_separator=:
11151       hardcode_shlibpath_var=no
11152       ;;
11153
11154     *nto* | *qnx*)
11155       ;;
11156
11157     openbsd* | bitrig*)
11158       if test -f /usr/libexec/ld.so; then
11159         hardcode_direct=yes
11160         hardcode_shlibpath_var=no
11161         hardcode_direct_absolute=yes
11162         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11163           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11164           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11165           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11166           export_dynamic_flag_spec='$wl-E'
11167         else
11168           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11169           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11170         fi
11171       else
11172         ld_shlibs=no
11173       fi
11174       ;;
11175
11176     os2*)
11177       hardcode_libdir_flag_spec='-L$libdir'
11178       hardcode_minus_L=yes
11179       allow_undefined_flag=unsupported
11180       shrext_cmds=.dll
11181       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11182         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11183         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11184         $ECHO EXPORTS >> $output_objdir/$libname.def~
11185         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11186         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11187         emximp -o $lib $output_objdir/$libname.def'
11188       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11189         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11190         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11191         $ECHO EXPORTS >> $output_objdir/$libname.def~
11192         prefix_cmds="$SED"~
11193         if test EXPORTS = "`$SED 1q $export_symbols`"; then
11194           prefix_cmds="$prefix_cmds -e 1d";
11195         fi~
11196         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11197         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11198         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11199         emximp -o $lib $output_objdir/$libname.def'
11200       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11201       enable_shared_with_static_runtimes=yes
11202       ;;
11203
11204     osf3*)
11205       if test yes = "$GCC"; then
11206         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11207         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'
11208       else
11209         allow_undefined_flag=' -expect_unresolved \*'
11210         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'
11211       fi
11212       archive_cmds_need_lc='no'
11213       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11214       hardcode_libdir_separator=:
11215       ;;
11216
11217     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11218       if test yes = "$GCC"; then
11219         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11220         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'
11221         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11222       else
11223         allow_undefined_flag=' -expect_unresolved \*'
11224         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'
11225         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~
11226           $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'
11227
11228         # Both c and cxx compiler support -rpath directly
11229         hardcode_libdir_flag_spec='-rpath $libdir'
11230       fi
11231       archive_cmds_need_lc='no'
11232       hardcode_libdir_separator=:
11233       ;;
11234
11235     solaris*)
11236       no_undefined_flag=' -z defs'
11237       if test yes = "$GCC"; then
11238         wlarc='$wl'
11239         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11240         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11241           $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'
11242       else
11243         case `$CC -V 2>&1` in
11244         *"Compilers 5.0"*)
11245           wlarc=''
11246           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11247           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11248             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11249           ;;
11250         *)
11251           wlarc='$wl'
11252           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11253           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11254             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11255           ;;
11256         esac
11257       fi
11258       hardcode_libdir_flag_spec='-R$libdir'
11259       hardcode_shlibpath_var=no
11260       case $host_os in
11261       solaris2.[0-5] | solaris2.[0-5].*) ;;
11262       *)
11263         # The compiler driver will combine and reorder linker options,
11264         # but understands '-z linker_flag'.  GCC discards it without '$wl',
11265         # but is careful enough not to reorder.
11266         # Supported since Solaris 2.6 (maybe 2.5.1?)
11267         if test yes = "$GCC"; then
11268           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11269         else
11270           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11271         fi
11272         ;;
11273       esac
11274       link_all_deplibs=yes
11275       ;;
11276
11277     sunos4*)
11278       if test sequent = "$host_vendor"; then
11279         # Use $CC to link under sequent, because it throws in some extra .o
11280         # files that make .init and .fini sections work.
11281         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11282       else
11283         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11284       fi
11285       hardcode_libdir_flag_spec='-L$libdir'
11286       hardcode_direct=yes
11287       hardcode_minus_L=yes
11288       hardcode_shlibpath_var=no
11289       ;;
11290
11291     sysv4)
11292       case $host_vendor in
11293         sni)
11294           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11295           hardcode_direct=yes # is this really true???
11296         ;;
11297         siemens)
11298           ## LD is ld it makes a PLAMLIB
11299           ## CC just makes a GrossModule.
11300           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11301           reload_cmds='$CC -r -o $output$reload_objs'
11302           hardcode_direct=no
11303         ;;
11304         motorola)
11305           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11306           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11307         ;;
11308       esac
11309       runpath_var='LD_RUN_PATH'
11310       hardcode_shlibpath_var=no
11311       ;;
11312
11313     sysv4.3*)
11314       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11315       hardcode_shlibpath_var=no
11316       export_dynamic_flag_spec='-Bexport'
11317       ;;
11318
11319     sysv4*MP*)
11320       if test -d /usr/nec; then
11321         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11322         hardcode_shlibpath_var=no
11323         runpath_var=LD_RUN_PATH
11324         hardcode_runpath_var=yes
11325         ld_shlibs=yes
11326       fi
11327       ;;
11328
11329     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11330       no_undefined_flag='$wl-z,text'
11331       archive_cmds_need_lc=no
11332       hardcode_shlibpath_var=no
11333       runpath_var='LD_RUN_PATH'
11334
11335       if test yes = "$GCC"; then
11336         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11337         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11338       else
11339         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11340         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11341       fi
11342       ;;
11343
11344     sysv5* | sco3.2v5* | sco5v6*)
11345       # Note: We CANNOT use -z defs as we might desire, because we do not
11346       # link with -lc, and that would cause any symbols used from libc to
11347       # always be unresolved, which means just about no library would
11348       # ever link correctly.  If we're not using GNU ld we use -z text
11349       # though, which does catch some bad symbols but isn't as heavy-handed
11350       # as -z defs.
11351       no_undefined_flag='$wl-z,text'
11352       allow_undefined_flag='$wl-z,nodefs'
11353       archive_cmds_need_lc=no
11354       hardcode_shlibpath_var=no
11355       hardcode_libdir_flag_spec='$wl-R,$libdir'
11356       hardcode_libdir_separator=':'
11357       link_all_deplibs=yes
11358       export_dynamic_flag_spec='$wl-Bexport'
11359       runpath_var='LD_RUN_PATH'
11360
11361       if test yes = "$GCC"; then
11362         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11363         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11364       else
11365         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11366         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11367       fi
11368       ;;
11369
11370     uts4*)
11371       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11372       hardcode_libdir_flag_spec='-L$libdir'
11373       hardcode_shlibpath_var=no
11374       ;;
11375
11376     *)
11377       ld_shlibs=no
11378       ;;
11379     esac
11380
11381     if test sni = "$host_vendor"; then
11382       case $host in
11383       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11384         export_dynamic_flag_spec='$wl-Blargedynsym'
11385         ;;
11386       esac
11387     fi
11388   fi
11389
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11391 $as_echo "$ld_shlibs" >&6; }
11392 test no = "$ld_shlibs" && can_build_shared=no
11393
11394 with_gnu_ld=$with_gnu_ld
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410 #
11411 # Do we need to explicitly link libc?
11412 #
11413 case "x$archive_cmds_need_lc" in
11414 x|xyes)
11415   # Assume -lc should be added
11416   archive_cmds_need_lc=yes
11417
11418   if test yes,yes = "$GCC,$enable_shared"; then
11419     case $archive_cmds in
11420     *'~'*)
11421       # FIXME: we may have to deal with multi-command sequences.
11422       ;;
11423     '$CC '*)
11424       # Test whether the compiler implicitly links with -lc since on some
11425       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11426       # to ld, don't add -lc before -lgcc.
11427       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11428 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11429 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11430   $as_echo_n "(cached) " >&6
11431 else
11432   $RM conftest*
11433         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11434
11435         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11436   (eval $ac_compile) 2>&5
11437   ac_status=$?
11438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11439   test $ac_status = 0; } 2>conftest.err; then
11440           soname=conftest
11441           lib=conftest
11442           libobjs=conftest.$ac_objext
11443           deplibs=
11444           wl=$lt_prog_compiler_wl
11445           pic_flag=$lt_prog_compiler_pic
11446           compiler_flags=-v
11447           linker_flags=-v
11448           verstring=
11449           output_objdir=.
11450           libname=conftest
11451           lt_save_allow_undefined_flag=$allow_undefined_flag
11452           allow_undefined_flag=
11453           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11454   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11455   ac_status=$?
11456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11457   test $ac_status = 0; }
11458           then
11459             lt_cv_archive_cmds_need_lc=no
11460           else
11461             lt_cv_archive_cmds_need_lc=yes
11462           fi
11463           allow_undefined_flag=$lt_save_allow_undefined_flag
11464         else
11465           cat conftest.err 1>&5
11466         fi
11467         $RM conftest*
11468
11469 fi
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11471 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11472       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11473       ;;
11474     esac
11475   fi
11476   ;;
11477 esac
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11631 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11632
11633 if test yes = "$GCC"; then
11634   case $host_os in
11635     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11636     *) lt_awk_arg='/^libraries:/' ;;
11637   esac
11638   case $host_os in
11639     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11640     *) lt_sed_strip_eq='s|=/|/|g' ;;
11641   esac
11642   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11643   case $lt_search_path_spec in
11644   *\;*)
11645     # if the path contains ";" then we assume it to be the separator
11646     # otherwise default to the standard path separator (i.e. ":") - it is
11647     # assumed that no part of a normal pathname contains ";" but that should
11648     # okay in the real world where ";" in dirpaths is itself problematic.
11649     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11650     ;;
11651   *)
11652     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11653     ;;
11654   esac
11655   # Ok, now we have the path, separated by spaces, we can step through it
11656   # and add multilib dir if necessary...
11657   lt_tmp_lt_search_path_spec=
11658   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11659   # ...but if some path component already ends with the multilib dir we assume
11660   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11661   case "$lt_multi_os_dir; $lt_search_path_spec " in
11662   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11663     lt_multi_os_dir=
11664     ;;
11665   esac
11666   for lt_sys_path in $lt_search_path_spec; do
11667     if test -d "$lt_sys_path$lt_multi_os_dir"; then
11668       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11669     elif test -n "$lt_multi_os_dir"; then
11670       test -d "$lt_sys_path" && \
11671         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11672     fi
11673   done
11674   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11675 BEGIN {RS = " "; FS = "/|\n";} {
11676   lt_foo = "";
11677   lt_count = 0;
11678   for (lt_i = NF; lt_i > 0; lt_i--) {
11679     if ($lt_i != "" && $lt_i != ".") {
11680       if ($lt_i == "..") {
11681         lt_count++;
11682       } else {
11683         if (lt_count == 0) {
11684           lt_foo = "/" $lt_i lt_foo;
11685         } else {
11686           lt_count--;
11687         }
11688       }
11689     }
11690   }
11691   if (lt_foo != "") { lt_freq[lt_foo]++; }
11692   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11693 }'`
11694   # AWK program above erroneously prepends '/' to C:/dos/paths
11695   # for these hosts.
11696   case $host_os in
11697     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11698       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11699   esac
11700   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11701 else
11702   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11703 fi
11704 library_names_spec=
11705 libname_spec='lib$name'
11706 soname_spec=
11707 shrext_cmds=.so
11708 postinstall_cmds=
11709 postuninstall_cmds=
11710 finish_cmds=
11711 finish_eval=
11712 shlibpath_var=
11713 shlibpath_overrides_runpath=unknown
11714 version_type=none
11715 dynamic_linker="$host_os ld.so"
11716 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11717 need_lib_prefix=unknown
11718 hardcode_into_libs=no
11719
11720 # when you set need_version to no, make sure it does not cause -set_version
11721 # flags to be left without arguments
11722 need_version=unknown
11723
11724
11725
11726 case $host_os in
11727 aix3*)
11728   version_type=linux # correct to gnu/linux during the next big refactor
11729   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11730   shlibpath_var=LIBPATH
11731
11732   # AIX 3 has no versioning support, so we append a major version to the name.
11733   soname_spec='$libname$release$shared_ext$major'
11734   ;;
11735
11736 aix[4-9]*)
11737   version_type=linux # correct to gnu/linux during the next big refactor
11738   need_lib_prefix=no
11739   need_version=no
11740   hardcode_into_libs=yes
11741   if test ia64 = "$host_cpu"; then
11742     # AIX 5 supports IA64
11743     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11744     shlibpath_var=LD_LIBRARY_PATH
11745   else
11746     # With GCC up to 2.95.x, collect2 would create an import file
11747     # for dependence libraries.  The import file would start with
11748     # the line '#! .'.  This would cause the generated library to
11749     # depend on '.', always an invalid library.  This was fixed in
11750     # development snapshots of GCC prior to 3.0.
11751     case $host_os in
11752       aix4 | aix4.[01] | aix4.[01].*)
11753       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11754            echo ' yes '
11755            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11756         :
11757       else
11758         can_build_shared=no
11759       fi
11760       ;;
11761     esac
11762     # Using Import Files as archive members, it is possible to support
11763     # filename-based versioning of shared library archives on AIX. While
11764     # this would work for both with and without runtime linking, it will
11765     # prevent static linking of such archives. So we do filename-based
11766     # shared library versioning with .so extension only, which is used
11767     # when both runtime linking and shared linking is enabled.
11768     # Unfortunately, runtime linking may impact performance, so we do
11769     # not want this to be the default eventually. Also, we use the
11770     # versioned .so libs for executables only if there is the -brtl
11771     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11772     # To allow for filename-based versioning support, we need to create
11773     # libNAME.so.V as an archive file, containing:
11774     # *) an Import File, referring to the versioned filename of the
11775     #    archive as well as the shared archive member, telling the
11776     #    bitwidth (32 or 64) of that shared object, and providing the
11777     #    list of exported symbols of that shared object, eventually
11778     #    decorated with the 'weak' keyword
11779     # *) the shared object with the F_LOADONLY flag set, to really avoid
11780     #    it being seen by the linker.
11781     # At run time we better use the real file rather than another symlink,
11782     # but for link time we create the symlink libNAME.so -> libNAME.so.V
11783
11784     case $with_aix_soname,$aix_use_runtimelinking in
11785     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11786     # soname into executable. Probably we can add versioning support to
11787     # collect2, so additional links can be useful in future.
11788     aix,yes) # traditional libtool
11789       dynamic_linker='AIX unversionable lib.so'
11790       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11791       # instead of lib<name>.a to let people know that these are not
11792       # typical AIX shared libraries.
11793       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11794       ;;
11795     aix,no) # traditional AIX only
11796       dynamic_linker='AIX lib.a(lib.so.V)'
11797       # We preserve .a as extension for shared libraries through AIX4.2
11798       # and later when we are not doing run time linking.
11799       library_names_spec='$libname$release.a $libname.a'
11800       soname_spec='$libname$release$shared_ext$major'
11801       ;;
11802     svr4,*) # full svr4 only
11803       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11804       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11805       # We do not specify a path in Import Files, so LIBPATH fires.
11806       shlibpath_overrides_runpath=yes
11807       ;;
11808     *,yes) # both, prefer svr4
11809       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11810       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11811       # unpreferred sharedlib libNAME.a needs extra handling
11812       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11813       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11814       # We do not specify a path in Import Files, so LIBPATH fires.
11815       shlibpath_overrides_runpath=yes
11816       ;;
11817     *,no) # both, prefer aix
11818       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11819       library_names_spec='$libname$release.a $libname.a'
11820       soname_spec='$libname$release$shared_ext$major'
11821       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11822       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11823       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11824       ;;
11825     esac
11826     shlibpath_var=LIBPATH
11827   fi
11828   ;;
11829
11830 amigaos*)
11831   case $host_cpu in
11832   powerpc)
11833     # Since July 2007 AmigaOS4 officially supports .so libraries.
11834     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11835     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11836     ;;
11837   m68k)
11838     library_names_spec='$libname.ixlibrary $libname.a'
11839     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11840     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'
11841     ;;
11842   esac
11843   ;;
11844
11845 beos*)
11846   library_names_spec='$libname$shared_ext'
11847   dynamic_linker="$host_os ld.so"
11848   shlibpath_var=LIBRARY_PATH
11849   ;;
11850
11851 bsdi[45]*)
11852   version_type=linux # correct to gnu/linux during the next big refactor
11853   need_version=no
11854   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11855   soname_spec='$libname$release$shared_ext$major'
11856   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11857   shlibpath_var=LD_LIBRARY_PATH
11858   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11859   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11860   # the default ld.so.conf also contains /usr/contrib/lib and
11861   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11862   # libtool to hard-code these into programs
11863   ;;
11864
11865 cygwin* | mingw* | pw32* | cegcc*)
11866   version_type=windows
11867   shrext_cmds=.dll
11868   need_version=no
11869   need_lib_prefix=no
11870
11871   case $GCC,$cc_basename in
11872   yes,*)
11873     # gcc
11874     library_names_spec='$libname.dll.a'
11875     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11876     postinstall_cmds='base_file=`basename \$file`~
11877       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11878       dldir=$destdir/`dirname \$dlpath`~
11879       test -d \$dldir || mkdir -p \$dldir~
11880       $install_prog $dir/$dlname \$dldir/$dlname~
11881       chmod a+x \$dldir/$dlname~
11882       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11883         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11884       fi'
11885     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11886       dlpath=$dir/\$dldll~
11887        $RM \$dlpath'
11888     shlibpath_overrides_runpath=yes
11889
11890     case $host_os in
11891     cygwin*)
11892       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11893       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11894
11895       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11896       ;;
11897     mingw* | cegcc*)
11898       # MinGW DLLs use traditional 'lib' prefix
11899       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11900       ;;
11901     pw32*)
11902       # pw32 DLLs use 'pw' prefix rather than 'lib'
11903       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11904       ;;
11905     esac
11906     dynamic_linker='Win32 ld.exe'
11907     ;;
11908
11909   *,cl*)
11910     # Native MSVC
11911     libname_spec='$name'
11912     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11913     library_names_spec='$libname.dll.lib'
11914
11915     case $build_os in
11916     mingw*)
11917       sys_lib_search_path_spec=
11918       lt_save_ifs=$IFS
11919       IFS=';'
11920       for lt_path in $LIB
11921       do
11922         IFS=$lt_save_ifs
11923         # Let DOS variable expansion print the short 8.3 style file name.
11924         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11925         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11926       done
11927       IFS=$lt_save_ifs
11928       # Convert to MSYS style.
11929       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11930       ;;
11931     cygwin*)
11932       # Convert to unix form, then to dos form, then back to unix form
11933       # but this time dos style (no spaces!) so that the unix form looks
11934       # like /cygdrive/c/PROGRA~1:/cygdr...
11935       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11936       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11937       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11938       ;;
11939     *)
11940       sys_lib_search_path_spec=$LIB
11941       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11942         # It is most probably a Windows format PATH.
11943         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11944       else
11945         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11946       fi
11947       # FIXME: find the short name or the path components, as spaces are
11948       # common. (e.g. "Program Files" -> "PROGRA~1")
11949       ;;
11950     esac
11951
11952     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11953     postinstall_cmds='base_file=`basename \$file`~
11954       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11955       dldir=$destdir/`dirname \$dlpath`~
11956       test -d \$dldir || mkdir -p \$dldir~
11957       $install_prog $dir/$dlname \$dldir/$dlname'
11958     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11959       dlpath=$dir/\$dldll~
11960        $RM \$dlpath'
11961     shlibpath_overrides_runpath=yes
11962     dynamic_linker='Win32 link.exe'
11963     ;;
11964
11965   *)
11966     # Assume MSVC wrapper
11967     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11968     dynamic_linker='Win32 ld.exe'
11969     ;;
11970   esac
11971   # FIXME: first we should search . and the directory the executable is in
11972   shlibpath_var=PATH
11973   ;;
11974
11975 darwin* | rhapsody*)
11976   dynamic_linker="$host_os dyld"
11977   version_type=darwin
11978   need_lib_prefix=no
11979   need_version=no
11980   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11981   soname_spec='$libname$release$major$shared_ext'
11982   shlibpath_overrides_runpath=yes
11983   shlibpath_var=DYLD_LIBRARY_PATH
11984   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11985
11986   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11987   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11988   ;;
11989
11990 dgux*)
11991   version_type=linux # correct to gnu/linux during the next big refactor
11992   need_lib_prefix=no
11993   need_version=no
11994   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11995   soname_spec='$libname$release$shared_ext$major'
11996   shlibpath_var=LD_LIBRARY_PATH
11997   ;;
11998
11999 freebsd* | dragonfly*)
12000   # DragonFly does not have aout.  When/if they implement a new
12001   # versioning mechanism, adjust this.
12002   if test -x /usr/bin/objformat; then
12003     objformat=`/usr/bin/objformat`
12004   else
12005     case $host_os in
12006     freebsd[23].*) objformat=aout ;;
12007     *) objformat=elf ;;
12008     esac
12009   fi
12010   version_type=freebsd-$objformat
12011   case $version_type in
12012     freebsd-elf*)
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       need_version=no
12016       need_lib_prefix=no
12017       ;;
12018     freebsd-*)
12019       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12020       need_version=yes
12021       ;;
12022   esac
12023   shlibpath_var=LD_LIBRARY_PATH
12024   case $host_os in
12025   freebsd2.*)
12026     shlibpath_overrides_runpath=yes
12027     ;;
12028   freebsd3.[01]* | freebsdelf3.[01]*)
12029     shlibpath_overrides_runpath=yes
12030     hardcode_into_libs=yes
12031     ;;
12032   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12033   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12034     shlibpath_overrides_runpath=no
12035     hardcode_into_libs=yes
12036     ;;
12037   *) # from 4.6 on, and DragonFly
12038     shlibpath_overrides_runpath=yes
12039     hardcode_into_libs=yes
12040     ;;
12041   esac
12042   ;;
12043
12044 haiku*)
12045   version_type=linux # correct to gnu/linux during the next big refactor
12046   need_lib_prefix=no
12047   need_version=no
12048   dynamic_linker="$host_os runtime_loader"
12049   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12050   soname_spec='$libname$release$shared_ext$major'
12051   shlibpath_var=LIBRARY_PATH
12052   shlibpath_overrides_runpath=no
12053   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12054   hardcode_into_libs=yes
12055   ;;
12056
12057 hpux9* | hpux10* | hpux11*)
12058   # Give a soname corresponding to the major version so that dld.sl refuses to
12059   # link against other versions.
12060   version_type=sunos
12061   need_lib_prefix=no
12062   need_version=no
12063   case $host_cpu in
12064   ia64*)
12065     shrext_cmds='.so'
12066     hardcode_into_libs=yes
12067     dynamic_linker="$host_os dld.so"
12068     shlibpath_var=LD_LIBRARY_PATH
12069     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12070     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12071     soname_spec='$libname$release$shared_ext$major'
12072     if test 32 = "$HPUX_IA64_MODE"; then
12073       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12074       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12075     else
12076       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12077       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12078     fi
12079     ;;
12080   hppa*64*)
12081     shrext_cmds='.sl'
12082     hardcode_into_libs=yes
12083     dynamic_linker="$host_os dld.sl"
12084     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12085     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12086     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12087     soname_spec='$libname$release$shared_ext$major'
12088     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12089     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12090     ;;
12091   *)
12092     shrext_cmds='.sl'
12093     dynamic_linker="$host_os dld.sl"
12094     shlibpath_var=SHLIB_PATH
12095     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12096     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12097     soname_spec='$libname$release$shared_ext$major'
12098     ;;
12099   esac
12100   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12101   postinstall_cmds='chmod 555 $lib'
12102   # or fails outright, so override atomically:
12103   install_override_mode=555
12104   ;;
12105
12106 interix[3-9]*)
12107   version_type=linux # correct to gnu/linux during the next big refactor
12108   need_lib_prefix=no
12109   need_version=no
12110   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12111   soname_spec='$libname$release$shared_ext$major'
12112   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12113   shlibpath_var=LD_LIBRARY_PATH
12114   shlibpath_overrides_runpath=no
12115   hardcode_into_libs=yes
12116   ;;
12117
12118 irix5* | irix6* | nonstopux*)
12119   case $host_os in
12120     nonstopux*) version_type=nonstopux ;;
12121     *)
12122         if test yes = "$lt_cv_prog_gnu_ld"; then
12123                 version_type=linux # correct to gnu/linux during the next big refactor
12124         else
12125                 version_type=irix
12126         fi ;;
12127   esac
12128   need_lib_prefix=no
12129   need_version=no
12130   soname_spec='$libname$release$shared_ext$major'
12131   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12132   case $host_os in
12133   irix5* | nonstopux*)
12134     libsuff= shlibsuff=
12135     ;;
12136   *)
12137     case $LD in # libtool.m4 will add one of these switches to LD
12138     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12139       libsuff= shlibsuff= libmagic=32-bit;;
12140     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12141       libsuff=32 shlibsuff=N32 libmagic=N32;;
12142     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12143       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12144     *) libsuff= shlibsuff= libmagic=never-match;;
12145     esac
12146     ;;
12147   esac
12148   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12149   shlibpath_overrides_runpath=no
12150   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12151   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12152   hardcode_into_libs=yes
12153   ;;
12154
12155 # No shared lib support for Linux oldld, aout, or coff.
12156 linux*oldld* | linux*aout* | linux*coff*)
12157   dynamic_linker=no
12158   ;;
12159
12160 linux*android*)
12161   version_type=none # Android doesn't support versioned libraries.
12162   need_lib_prefix=no
12163   need_version=no
12164   library_names_spec='$libname$release$shared_ext'
12165   soname_spec='$libname$release$shared_ext'
12166   finish_cmds=
12167   shlibpath_var=LD_LIBRARY_PATH
12168   shlibpath_overrides_runpath=yes
12169
12170   # This implies no fast_install, which is unacceptable.
12171   # Some rework will be needed to allow for fast_install
12172   # before this can be enabled.
12173   hardcode_into_libs=yes
12174
12175   dynamic_linker='Android linker'
12176   # Don't embed -rpath directories since the linker doesn't support them.
12177   hardcode_libdir_flag_spec='-L$libdir'
12178   ;;
12179
12180 # This must be glibc/ELF.
12181 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12182   version_type=linux # correct to gnu/linux during the next big refactor
12183   need_lib_prefix=no
12184   need_version=no
12185   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12186   soname_spec='$libname$release$shared_ext$major'
12187   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12188   shlibpath_var=LD_LIBRARY_PATH
12189   shlibpath_overrides_runpath=no
12190
12191   # Some binutils ld are patched to set DT_RUNPATH
12192   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12193   $as_echo_n "(cached) " >&6
12194 else
12195   lt_cv_shlibpath_overrides_runpath=no
12196     save_LDFLAGS=$LDFLAGS
12197     save_libdir=$libdir
12198     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12199          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12200     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h.  */
12202
12203 int
12204 main ()
12205 {
12206
12207   ;
12208   return 0;
12209 }
12210 _ACEOF
12211 if ac_fn_c_try_link "$LINENO"; then :
12212   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12213   lt_cv_shlibpath_overrides_runpath=yes
12214 fi
12215 fi
12216 rm -f core conftest.err conftest.$ac_objext \
12217     conftest$ac_exeext conftest.$ac_ext
12218     LDFLAGS=$save_LDFLAGS
12219     libdir=$save_libdir
12220
12221 fi
12222
12223   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12224
12225   # This implies no fast_install, which is unacceptable.
12226   # Some rework will be needed to allow for fast_install
12227   # before this can be enabled.
12228   hardcode_into_libs=yes
12229
12230   # Ideally, we could use ldconfig to report *all* directores which are
12231   # searched for libraries, however this is still not possible.  Aside from not
12232   # being certain /sbin/ldconfig is available, command
12233   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12234   # even though it is searched at run-time.  Try to do the best guess by
12235   # appending ld.so.conf contents (and includes) to the search path.
12236   if test -f /etc/ld.so.conf; then
12237     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' ' '`
12238     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12239   fi
12240
12241   # We used to test for /lib/ld.so.1 and disable shared libraries on
12242   # powerpc, because MkLinux only supported shared libraries with the
12243   # GNU dynamic linker.  Since this was broken with cross compilers,
12244   # most powerpc-linux boxes support dynamic linking these days and
12245   # people can always --disable-shared, the test was removed, and we
12246   # assume the GNU/Linux dynamic linker is in use.
12247   dynamic_linker='GNU/Linux ld.so'
12248   ;;
12249
12250 netbsdelf*-gnu)
12251   version_type=linux
12252   need_lib_prefix=no
12253   need_version=no
12254   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12255   soname_spec='${libname}${release}${shared_ext}$major'
12256   shlibpath_var=LD_LIBRARY_PATH
12257   shlibpath_overrides_runpath=no
12258   hardcode_into_libs=yes
12259   dynamic_linker='NetBSD ld.elf_so'
12260   ;;
12261
12262 netbsd*)
12263   version_type=sunos
12264   need_lib_prefix=no
12265   need_version=no
12266   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12267     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12268     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12269     dynamic_linker='NetBSD (a.out) ld.so'
12270   else
12271     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12272     soname_spec='$libname$release$shared_ext$major'
12273     dynamic_linker='NetBSD ld.elf_so'
12274   fi
12275   shlibpath_var=LD_LIBRARY_PATH
12276   shlibpath_overrides_runpath=yes
12277   hardcode_into_libs=yes
12278   ;;
12279
12280 newsos6)
12281   version_type=linux # correct to gnu/linux during the next big refactor
12282   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12283   shlibpath_var=LD_LIBRARY_PATH
12284   shlibpath_overrides_runpath=yes
12285   ;;
12286
12287 *nto* | *qnx*)
12288   version_type=qnx
12289   need_lib_prefix=no
12290   need_version=no
12291   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12292   soname_spec='$libname$release$shared_ext$major'
12293   shlibpath_var=LD_LIBRARY_PATH
12294   shlibpath_overrides_runpath=no
12295   hardcode_into_libs=yes
12296   dynamic_linker='ldqnx.so'
12297   ;;
12298
12299 openbsd* | bitrig*)
12300   version_type=sunos
12301   sys_lib_dlsearch_path_spec=/usr/lib
12302   need_lib_prefix=no
12303   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12304     need_version=no
12305   else
12306     need_version=yes
12307   fi
12308   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12309   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12310   shlibpath_var=LD_LIBRARY_PATH
12311   shlibpath_overrides_runpath=yes
12312   ;;
12313
12314 os2*)
12315   libname_spec='$name'
12316   version_type=windows
12317   shrext_cmds=.dll
12318   need_version=no
12319   need_lib_prefix=no
12320   # OS/2 can only load a DLL with a base name of 8 characters or less.
12321   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12322     v=$($ECHO $release$versuffix | tr -d .-);
12323     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12324     $ECHO $n$v`$shared_ext'
12325   library_names_spec='${libname}_dll.$libext'
12326   dynamic_linker='OS/2 ld.exe'
12327   shlibpath_var=BEGINLIBPATH
12328   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12329   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12330   postinstall_cmds='base_file=`basename \$file`~
12331     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12332     dldir=$destdir/`dirname \$dlpath`~
12333     test -d \$dldir || mkdir -p \$dldir~
12334     $install_prog $dir/$dlname \$dldir/$dlname~
12335     chmod a+x \$dldir/$dlname~
12336     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12337       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12338     fi'
12339   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12340     dlpath=$dir/\$dldll~
12341     $RM \$dlpath'
12342   ;;
12343
12344 osf3* | osf4* | osf5*)
12345   version_type=osf
12346   need_lib_prefix=no
12347   need_version=no
12348   soname_spec='$libname$release$shared_ext$major'
12349   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12350   shlibpath_var=LD_LIBRARY_PATH
12351   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12352   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12353   ;;
12354
12355 rdos*)
12356   dynamic_linker=no
12357   ;;
12358
12359 solaris*)
12360   version_type=linux # correct to gnu/linux during the next big refactor
12361   need_lib_prefix=no
12362   need_version=no
12363   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12364   soname_spec='$libname$release$shared_ext$major'
12365   shlibpath_var=LD_LIBRARY_PATH
12366   shlibpath_overrides_runpath=yes
12367   hardcode_into_libs=yes
12368   # ldd complains unless libraries are executable
12369   postinstall_cmds='chmod +x $lib'
12370   ;;
12371
12372 sunos4*)
12373   version_type=sunos
12374   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12375   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12376   shlibpath_var=LD_LIBRARY_PATH
12377   shlibpath_overrides_runpath=yes
12378   if test yes = "$with_gnu_ld"; then
12379     need_lib_prefix=no
12380   fi
12381   need_version=yes
12382   ;;
12383
12384 sysv4 | sysv4.3*)
12385   version_type=linux # correct to gnu/linux during the next big refactor
12386   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12387   soname_spec='$libname$release$shared_ext$major'
12388   shlibpath_var=LD_LIBRARY_PATH
12389   case $host_vendor in
12390     sni)
12391       shlibpath_overrides_runpath=no
12392       need_lib_prefix=no
12393       runpath_var=LD_RUN_PATH
12394       ;;
12395     siemens)
12396       need_lib_prefix=no
12397       ;;
12398     motorola)
12399       need_lib_prefix=no
12400       need_version=no
12401       shlibpath_overrides_runpath=no
12402       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12403       ;;
12404   esac
12405   ;;
12406
12407 sysv4*MP*)
12408   if test -d /usr/nec; then
12409     version_type=linux # correct to gnu/linux during the next big refactor
12410     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12411     soname_spec='$libname$shared_ext.$major'
12412     shlibpath_var=LD_LIBRARY_PATH
12413   fi
12414   ;;
12415
12416 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12417   version_type=sco
12418   need_lib_prefix=no
12419   need_version=no
12420   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12421   soname_spec='$libname$release$shared_ext$major'
12422   shlibpath_var=LD_LIBRARY_PATH
12423   shlibpath_overrides_runpath=yes
12424   hardcode_into_libs=yes
12425   if test yes = "$with_gnu_ld"; then
12426     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12427   else
12428     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12429     case $host_os in
12430       sco3.2v5*)
12431         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12432         ;;
12433     esac
12434   fi
12435   sys_lib_dlsearch_path_spec='/usr/lib'
12436   ;;
12437
12438 tpf*)
12439   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12440   version_type=linux # correct to gnu/linux during the next big refactor
12441   need_lib_prefix=no
12442   need_version=no
12443   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12444   shlibpath_var=LD_LIBRARY_PATH
12445   shlibpath_overrides_runpath=no
12446   hardcode_into_libs=yes
12447   ;;
12448
12449 uts4*)
12450   version_type=linux # correct to gnu/linux during the next big refactor
12451   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12452   soname_spec='$libname$release$shared_ext$major'
12453   shlibpath_var=LD_LIBRARY_PATH
12454   ;;
12455
12456 *)
12457   dynamic_linker=no
12458   ;;
12459 esac
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12461 $as_echo "$dynamic_linker" >&6; }
12462 test no = "$dynamic_linker" && can_build_shared=no
12463
12464 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12465 if test yes = "$GCC"; then
12466   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12467 fi
12468
12469 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12470   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12471 fi
12472
12473 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12474   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12475 fi
12476
12477 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12478 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12479
12480 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12481 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12482
12483 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12484 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12583 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12584 hardcode_action=
12585 if test -n "$hardcode_libdir_flag_spec" ||
12586    test -n "$runpath_var" ||
12587    test yes = "$hardcode_automatic"; then
12588
12589   # We can hardcode non-existent directories.
12590   if test no != "$hardcode_direct" &&
12591      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12592      # have to relink, otherwise we might link with an installed library
12593      # when we should be linking with a yet-to-be-installed one
12594      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12595      test no != "$hardcode_minus_L"; then
12596     # Linking always hardcodes the temporary library directory.
12597     hardcode_action=relink
12598   else
12599     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12600     hardcode_action=immediate
12601   fi
12602 else
12603   # We cannot hardcode anything, or else we can only hardcode existing
12604   # directories.
12605   hardcode_action=unsupported
12606 fi
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12608 $as_echo "$hardcode_action" >&6; }
12609
12610 if test relink = "$hardcode_action" ||
12611    test yes = "$inherit_rpath"; then
12612   # Fast installation is not supported
12613   enable_fast_install=no
12614 elif test yes = "$shlibpath_overrides_runpath" ||
12615      test no = "$enable_shared"; then
12616   # Fast installation is not necessary
12617   enable_fast_install=needless
12618 fi
12619
12620
12621
12622
12623
12624
12625   if test yes != "$enable_dlopen"; then
12626   enable_dlopen=unknown
12627   enable_dlopen_self=unknown
12628   enable_dlopen_self_static=unknown
12629 else
12630   lt_cv_dlopen=no
12631   lt_cv_dlopen_libs=
12632
12633   case $host_os in
12634   beos*)
12635     lt_cv_dlopen=load_add_on
12636     lt_cv_dlopen_libs=
12637     lt_cv_dlopen_self=yes
12638     ;;
12639
12640   mingw* | pw32* | cegcc*)
12641     lt_cv_dlopen=LoadLibrary
12642     lt_cv_dlopen_libs=
12643     ;;
12644
12645   cygwin*)
12646     lt_cv_dlopen=dlopen
12647     lt_cv_dlopen_libs=
12648     ;;
12649
12650   darwin*)
12651     # if libdl is installed we need to link against it
12652     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12653 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12654 if ${ac_cv_lib_dl_dlopen+:} false; then :
12655   $as_echo_n "(cached) " >&6
12656 else
12657   ac_check_lib_save_LIBS=$LIBS
12658 LIBS="-ldl  $LIBS"
12659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12660 /* end confdefs.h.  */
12661
12662 /* Override any GCC internal prototype to avoid an error.
12663    Use char because int might match the return type of a GCC
12664    builtin and then its argument prototype would still apply.  */
12665 #ifdef __cplusplus
12666 extern "C"
12667 #endif
12668 char dlopen ();
12669 int
12670 main ()
12671 {
12672 return dlopen ();
12673   ;
12674   return 0;
12675 }
12676 _ACEOF
12677 if ac_fn_c_try_link "$LINENO"; then :
12678   ac_cv_lib_dl_dlopen=yes
12679 else
12680   ac_cv_lib_dl_dlopen=no
12681 fi
12682 rm -f core conftest.err conftest.$ac_objext \
12683     conftest$ac_exeext conftest.$ac_ext
12684 LIBS=$ac_check_lib_save_LIBS
12685 fi
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12687 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12688 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12689   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12690 else
12691
12692     lt_cv_dlopen=dyld
12693     lt_cv_dlopen_libs=
12694     lt_cv_dlopen_self=yes
12695
12696 fi
12697
12698     ;;
12699
12700   tpf*)
12701     # Don't try to run any link tests for TPF.  We know it's impossible
12702     # because TPF is a cross-compiler, and we know how we open DSOs.
12703     lt_cv_dlopen=dlopen
12704     lt_cv_dlopen_libs=
12705     lt_cv_dlopen_self=no
12706     ;;
12707
12708   *)
12709     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12710 if test "x$ac_cv_func_shl_load" = xyes; then :
12711   lt_cv_dlopen=shl_load
12712 else
12713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12714 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12715 if ${ac_cv_lib_dld_shl_load+:} false; then :
12716   $as_echo_n "(cached) " >&6
12717 else
12718   ac_check_lib_save_LIBS=$LIBS
12719 LIBS="-ldld  $LIBS"
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h.  */
12722
12723 /* Override any GCC internal prototype to avoid an error.
12724    Use char because int might match the return type of a GCC
12725    builtin and then its argument prototype would still apply.  */
12726 #ifdef __cplusplus
12727 extern "C"
12728 #endif
12729 char shl_load ();
12730 int
12731 main ()
12732 {
12733 return shl_load ();
12734   ;
12735   return 0;
12736 }
12737 _ACEOF
12738 if ac_fn_c_try_link "$LINENO"; then :
12739   ac_cv_lib_dld_shl_load=yes
12740 else
12741   ac_cv_lib_dld_shl_load=no
12742 fi
12743 rm -f core conftest.err conftest.$ac_objext \
12744     conftest$ac_exeext conftest.$ac_ext
12745 LIBS=$ac_check_lib_save_LIBS
12746 fi
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12748 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12749 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12750   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12751 else
12752   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12753 if test "x$ac_cv_func_dlopen" = xyes; then :
12754   lt_cv_dlopen=dlopen
12755 else
12756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12757 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12758 if ${ac_cv_lib_dl_dlopen+:} false; then :
12759   $as_echo_n "(cached) " >&6
12760 else
12761   ac_check_lib_save_LIBS=$LIBS
12762 LIBS="-ldl  $LIBS"
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h.  */
12765
12766 /* Override any GCC internal prototype to avoid an error.
12767    Use char because int might match the return type of a GCC
12768    builtin and then its argument prototype would still apply.  */
12769 #ifdef __cplusplus
12770 extern "C"
12771 #endif
12772 char dlopen ();
12773 int
12774 main ()
12775 {
12776 return dlopen ();
12777   ;
12778   return 0;
12779 }
12780 _ACEOF
12781 if ac_fn_c_try_link "$LINENO"; then :
12782   ac_cv_lib_dl_dlopen=yes
12783 else
12784   ac_cv_lib_dl_dlopen=no
12785 fi
12786 rm -f core conftest.err conftest.$ac_objext \
12787     conftest$ac_exeext conftest.$ac_ext
12788 LIBS=$ac_check_lib_save_LIBS
12789 fi
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12791 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12792 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12793   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12794 else
12795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12796 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12797 if ${ac_cv_lib_svld_dlopen+:} false; then :
12798   $as_echo_n "(cached) " >&6
12799 else
12800   ac_check_lib_save_LIBS=$LIBS
12801 LIBS="-lsvld  $LIBS"
12802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h.  */
12804
12805 /* Override any GCC internal prototype to avoid an error.
12806    Use char because int might match the return type of a GCC
12807    builtin and then its argument prototype would still apply.  */
12808 #ifdef __cplusplus
12809 extern "C"
12810 #endif
12811 char dlopen ();
12812 int
12813 main ()
12814 {
12815 return dlopen ();
12816   ;
12817   return 0;
12818 }
12819 _ACEOF
12820 if ac_fn_c_try_link "$LINENO"; then :
12821   ac_cv_lib_svld_dlopen=yes
12822 else
12823   ac_cv_lib_svld_dlopen=no
12824 fi
12825 rm -f core conftest.err conftest.$ac_objext \
12826     conftest$ac_exeext conftest.$ac_ext
12827 LIBS=$ac_check_lib_save_LIBS
12828 fi
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12830 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12831 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12832   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12833 else
12834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12835 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12836 if ${ac_cv_lib_dld_dld_link+:} false; then :
12837   $as_echo_n "(cached) " >&6
12838 else
12839   ac_check_lib_save_LIBS=$LIBS
12840 LIBS="-ldld  $LIBS"
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h.  */
12843
12844 /* Override any GCC internal prototype to avoid an error.
12845    Use char because int might match the return type of a GCC
12846    builtin and then its argument prototype would still apply.  */
12847 #ifdef __cplusplus
12848 extern "C"
12849 #endif
12850 char dld_link ();
12851 int
12852 main ()
12853 {
12854 return dld_link ();
12855   ;
12856   return 0;
12857 }
12858 _ACEOF
12859 if ac_fn_c_try_link "$LINENO"; then :
12860   ac_cv_lib_dld_dld_link=yes
12861 else
12862   ac_cv_lib_dld_dld_link=no
12863 fi
12864 rm -f core conftest.err conftest.$ac_objext \
12865     conftest$ac_exeext conftest.$ac_ext
12866 LIBS=$ac_check_lib_save_LIBS
12867 fi
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12869 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12870 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12871   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12872 fi
12873
12874
12875 fi
12876
12877
12878 fi
12879
12880
12881 fi
12882
12883
12884 fi
12885
12886
12887 fi
12888
12889     ;;
12890   esac
12891
12892   if test no = "$lt_cv_dlopen"; then
12893     enable_dlopen=no
12894   else
12895     enable_dlopen=yes
12896   fi
12897
12898   case $lt_cv_dlopen in
12899   dlopen)
12900     save_CPPFLAGS=$CPPFLAGS
12901     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12902
12903     save_LDFLAGS=$LDFLAGS
12904     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12905
12906     save_LIBS=$LIBS
12907     LIBS="$lt_cv_dlopen_libs $LIBS"
12908
12909     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12910 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12911 if ${lt_cv_dlopen_self+:} false; then :
12912   $as_echo_n "(cached) " >&6
12913 else
12914           if test yes = "$cross_compiling"; then :
12915   lt_cv_dlopen_self=cross
12916 else
12917   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12918   lt_status=$lt_dlunknown
12919   cat > conftest.$ac_ext <<_LT_EOF
12920 #line $LINENO "configure"
12921 #include "confdefs.h"
12922
12923 #if HAVE_DLFCN_H
12924 #include <dlfcn.h>
12925 #endif
12926
12927 #include <stdio.h>
12928
12929 #ifdef RTLD_GLOBAL
12930 #  define LT_DLGLOBAL           RTLD_GLOBAL
12931 #else
12932 #  ifdef DL_GLOBAL
12933 #    define LT_DLGLOBAL         DL_GLOBAL
12934 #  else
12935 #    define LT_DLGLOBAL         0
12936 #  endif
12937 #endif
12938
12939 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12940    find out it does not work in some platform. */
12941 #ifndef LT_DLLAZY_OR_NOW
12942 #  ifdef RTLD_LAZY
12943 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12944 #  else
12945 #    ifdef DL_LAZY
12946 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12947 #    else
12948 #      ifdef RTLD_NOW
12949 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12950 #      else
12951 #        ifdef DL_NOW
12952 #          define LT_DLLAZY_OR_NOW      DL_NOW
12953 #        else
12954 #          define LT_DLLAZY_OR_NOW      0
12955 #        endif
12956 #      endif
12957 #    endif
12958 #  endif
12959 #endif
12960
12961 /* When -fvisibility=hidden is used, assume the code has been annotated
12962    correspondingly for the symbols needed.  */
12963 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12964 int fnord () __attribute__((visibility("default")));
12965 #endif
12966
12967 int fnord () { return 42; }
12968 int main ()
12969 {
12970   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12971   int status = $lt_dlunknown;
12972
12973   if (self)
12974     {
12975       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12976       else
12977         {
12978           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12979           else puts (dlerror ());
12980         }
12981       /* dlclose (self); */
12982     }
12983   else
12984     puts (dlerror ());
12985
12986   return status;
12987 }
12988 _LT_EOF
12989   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12990   (eval $ac_link) 2>&5
12991   ac_status=$?
12992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12993   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12994     (./conftest; exit; ) >&5 2>/dev/null
12995     lt_status=$?
12996     case x$lt_status in
12997       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12998       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12999       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13000     esac
13001   else :
13002     # compilation failed
13003     lt_cv_dlopen_self=no
13004   fi
13005 fi
13006 rm -fr conftest*
13007
13008
13009 fi
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13011 $as_echo "$lt_cv_dlopen_self" >&6; }
13012
13013     if test yes = "$lt_cv_dlopen_self"; then
13014       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13015       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13016 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13017 if ${lt_cv_dlopen_self_static+:} false; then :
13018   $as_echo_n "(cached) " >&6
13019 else
13020           if test yes = "$cross_compiling"; then :
13021   lt_cv_dlopen_self_static=cross
13022 else
13023   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13024   lt_status=$lt_dlunknown
13025   cat > conftest.$ac_ext <<_LT_EOF
13026 #line $LINENO "configure"
13027 #include "confdefs.h"
13028
13029 #if HAVE_DLFCN_H
13030 #include <dlfcn.h>
13031 #endif
13032
13033 #include <stdio.h>
13034
13035 #ifdef RTLD_GLOBAL
13036 #  define LT_DLGLOBAL           RTLD_GLOBAL
13037 #else
13038 #  ifdef DL_GLOBAL
13039 #    define LT_DLGLOBAL         DL_GLOBAL
13040 #  else
13041 #    define LT_DLGLOBAL         0
13042 #  endif
13043 #endif
13044
13045 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13046    find out it does not work in some platform. */
13047 #ifndef LT_DLLAZY_OR_NOW
13048 #  ifdef RTLD_LAZY
13049 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13050 #  else
13051 #    ifdef DL_LAZY
13052 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13053 #    else
13054 #      ifdef RTLD_NOW
13055 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13056 #      else
13057 #        ifdef DL_NOW
13058 #          define LT_DLLAZY_OR_NOW      DL_NOW
13059 #        else
13060 #          define LT_DLLAZY_OR_NOW      0
13061 #        endif
13062 #      endif
13063 #    endif
13064 #  endif
13065 #endif
13066
13067 /* When -fvisibility=hidden is used, assume the code has been annotated
13068    correspondingly for the symbols needed.  */
13069 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13070 int fnord () __attribute__((visibility("default")));
13071 #endif
13072
13073 int fnord () { return 42; }
13074 int main ()
13075 {
13076   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13077   int status = $lt_dlunknown;
13078
13079   if (self)
13080     {
13081       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13082       else
13083         {
13084           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13085           else puts (dlerror ());
13086         }
13087       /* dlclose (self); */
13088     }
13089   else
13090     puts (dlerror ());
13091
13092   return status;
13093 }
13094 _LT_EOF
13095   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13096   (eval $ac_link) 2>&5
13097   ac_status=$?
13098   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13099   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13100     (./conftest; exit; ) >&5 2>/dev/null
13101     lt_status=$?
13102     case x$lt_status in
13103       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13104       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13105       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13106     esac
13107   else :
13108     # compilation failed
13109     lt_cv_dlopen_self_static=no
13110   fi
13111 fi
13112 rm -fr conftest*
13113
13114
13115 fi
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13117 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13118     fi
13119
13120     CPPFLAGS=$save_CPPFLAGS
13121     LDFLAGS=$save_LDFLAGS
13122     LIBS=$save_LIBS
13123     ;;
13124   esac
13125
13126   case $lt_cv_dlopen_self in
13127   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13128   *) enable_dlopen_self=unknown ;;
13129   esac
13130
13131   case $lt_cv_dlopen_self_static in
13132   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13133   *) enable_dlopen_self_static=unknown ;;
13134   esac
13135 fi
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153 striplib=
13154 old_striplib=
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13156 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13157 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13158   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13159   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13161 $as_echo "yes" >&6; }
13162 else
13163 # FIXME - insert some real tests, host_os isn't really good enough
13164   case $host_os in
13165   darwin*)
13166     if test -n "$STRIP"; then
13167       striplib="$STRIP -x"
13168       old_striplib="$STRIP -S"
13169       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13170 $as_echo "yes" >&6; }
13171     else
13172       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13173 $as_echo "no" >&6; }
13174     fi
13175     ;;
13176   *)
13177     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178 $as_echo "no" >&6; }
13179     ;;
13180   esac
13181 fi
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194   # Report what library types will actually be built
13195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13196 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13198 $as_echo "$can_build_shared" >&6; }
13199
13200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13201 $as_echo_n "checking whether to build shared libraries... " >&6; }
13202   test no = "$can_build_shared" && enable_shared=no
13203
13204   # On AIX, shared libraries and static libraries use the same namespace, and
13205   # are all built from PIC.
13206   case $host_os in
13207   aix3*)
13208     test yes = "$enable_shared" && enable_static=no
13209     if test -n "$RANLIB"; then
13210       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13211       postinstall_cmds='$RANLIB $lib'
13212     fi
13213     ;;
13214
13215   aix[4-9]*)
13216     if test ia64 != "$host_cpu"; then
13217       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13218       yes,aix,yes) ;;                   # shared object as lib.so file only
13219       yes,svr4,*) ;;                    # shared object as lib.so archive member only
13220       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
13221       esac
13222     fi
13223     ;;
13224   esac
13225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13226 $as_echo "$enable_shared" >&6; }
13227
13228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13229 $as_echo_n "checking whether to build static libraries... " >&6; }
13230   # Make sure either enable_shared or enable_static is yes.
13231   test yes = "$enable_shared" || enable_static=yes
13232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13233 $as_echo "$enable_static" >&6; }
13234
13235
13236
13237
13238 fi
13239 ac_ext=c
13240 ac_cpp='$CPP $CPPFLAGS'
13241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13244
13245 CC=$lt_save_CC
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261         ac_config_commands="$ac_config_commands libtool"
13262
13263
13264
13265
13266 # Only expand once:
13267
13268
13269
13270
13271
13272
13273
13274
13275         if test -n "$PYTHON"; then
13276       # If the user set $PYTHON, use it and don't search something else.
13277       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.2" >&5
13278 $as_echo_n "checking whether $PYTHON version is >= 2.2... " >&6; }
13279       prog="import sys
13280 # split strings by '.' and convert to numeric.  Append some zeros
13281 # because we need at least 4 digits for the hex conversion.
13282 # map returns an iterator in Python 3.0 and a list in 2.x
13283 minver = list(map(int, '2.2'.split('.'))) + [0, 0, 0]
13284 minverhex = 0
13285 # xrange is not present in Python 3.0 and range returns an iterator
13286 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13287 sys.exit(sys.hexversion < minverhex)"
13288   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13289    ($PYTHON -c "$prog") >&5 2>&5
13290    ac_status=$?
13291    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292    (exit $ac_status); }; then :
13293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13294 $as_echo "yes" >&6; }
13295 else
13296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13298                                as_fn_error $? "Python interpreter is too old" "$LINENO" 5
13299 fi
13300       am_display_PYTHON=$PYTHON
13301     else
13302       # Otherwise, try each interpreter until we find one that satisfies
13303       # VERSION.
13304       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.2" >&5
13305 $as_echo_n "checking for a Python interpreter with version >= 2.2... " >&6; }
13306 if ${am_cv_pathless_PYTHON+:} false; then :
13307   $as_echo_n "(cached) " >&6
13308 else
13309
13310         for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
13311           test "$am_cv_pathless_PYTHON" = none && break
13312           prog="import sys
13313 # split strings by '.' and convert to numeric.  Append some zeros
13314 # because we need at least 4 digits for the hex conversion.
13315 # map returns an iterator in Python 3.0 and a list in 2.x
13316 minver = list(map(int, '2.2'.split('.'))) + [0, 0, 0]
13317 minverhex = 0
13318 # xrange is not present in Python 3.0 and range returns an iterator
13319 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13320 sys.exit(sys.hexversion < minverhex)"
13321   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
13322    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
13323    ac_status=$?
13324    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325    (exit $ac_status); }; then :
13326   break
13327 fi
13328         done
13329 fi
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
13331 $as_echo "$am_cv_pathless_PYTHON" >&6; }
13332       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
13333       if test "$am_cv_pathless_PYTHON" = none; then
13334         PYTHON=:
13335       else
13336         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
13337 set dummy $am_cv_pathless_PYTHON; ac_word=$2
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13339 $as_echo_n "checking for $ac_word... " >&6; }
13340 if ${ac_cv_path_PYTHON+:} false; then :
13341   $as_echo_n "(cached) " >&6
13342 else
13343   case $PYTHON in
13344   [\\/]* | ?:[\\/]*)
13345   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13346   ;;
13347   *)
13348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13349 for as_dir in $PATH
13350 do
13351   IFS=$as_save_IFS
13352   test -z "$as_dir" && as_dir=.
13353     for ac_exec_ext in '' $ac_executable_extensions; do
13354   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13355     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13357     break 2
13358   fi
13359 done
13360   done
13361 IFS=$as_save_IFS
13362
13363   ;;
13364 esac
13365 fi
13366 PYTHON=$ac_cv_path_PYTHON
13367 if test -n "$PYTHON"; then
13368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13369 $as_echo "$PYTHON" >&6; }
13370 else
13371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13372 $as_echo "no" >&6; }
13373 fi
13374
13375
13376       fi
13377       am_display_PYTHON=$am_cv_pathless_PYTHON
13378     fi
13379
13380
13381   if test "$PYTHON" = :; then
13382       :
13383   else
13384
13385
13386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13387 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13388 if ${am_cv_python_version+:} false; then :
13389   $as_echo_n "(cached) " >&6
13390 else
13391   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13392 fi
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13394 $as_echo "$am_cv_python_version" >&6; }
13395   PYTHON_VERSION=$am_cv_python_version
13396
13397
13398
13399   PYTHON_PREFIX='${prefix}'
13400
13401   PYTHON_EXEC_PREFIX='${exec_prefix}'
13402
13403
13404
13405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13406 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13407 if ${am_cv_python_platform+:} false; then :
13408   $as_echo_n "(cached) " >&6
13409 else
13410   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13411 fi
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13413 $as_echo "$am_cv_python_platform" >&6; }
13414   PYTHON_PLATFORM=$am_cv_python_platform
13415
13416
13417   # Just factor out some code duplication.
13418   am_python_setup_sysconfig="\
13419 import sys
13420 # Prefer sysconfig over distutils.sysconfig, for better compatibility
13421 # with python 3.x.  See automake bug#10227.
13422 try:
13423     import sysconfig
13424 except ImportError:
13425     can_use_sysconfig = 0
13426 else:
13427     can_use_sysconfig = 1
13428 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
13429 # <https://github.com/pypa/virtualenv/issues/118>
13430 try:
13431     from platform import python_implementation
13432     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
13433         can_use_sysconfig = 0
13434 except ImportError:
13435     pass"
13436
13437
13438             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13439 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13440 if ${am_cv_python_pythondir+:} false; then :
13441   $as_echo_n "(cached) " >&6
13442 else
13443   if test "x$prefix" = xNONE
13444      then
13445        am_py_prefix=$ac_default_prefix
13446      else
13447        am_py_prefix=$prefix
13448      fi
13449      am_cv_python_pythondir=`$PYTHON -c "
13450 $am_python_setup_sysconfig
13451 if can_use_sysconfig:
13452     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
13453 else:
13454     from distutils import sysconfig
13455     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
13456 sys.stdout.write(sitedir)"`
13457      case $am_cv_python_pythondir in
13458      $am_py_prefix*)
13459        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13460        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13461        ;;
13462      *)
13463        case $am_py_prefix in
13464          /usr|/System*) ;;
13465          *)
13466           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13467           ;;
13468        esac
13469        ;;
13470      esac
13471
13472 fi
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13474 $as_echo "$am_cv_python_pythondir" >&6; }
13475   pythondir=$am_cv_python_pythondir
13476
13477
13478
13479   pkgpythondir=\${pythondir}/$PACKAGE
13480
13481
13482         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13483 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13484 if ${am_cv_python_pyexecdir+:} false; then :
13485   $as_echo_n "(cached) " >&6
13486 else
13487   if test "x$exec_prefix" = xNONE
13488      then
13489        am_py_exec_prefix=$am_py_prefix
13490      else
13491        am_py_exec_prefix=$exec_prefix
13492      fi
13493      am_cv_python_pyexecdir=`$PYTHON -c "
13494 $am_python_setup_sysconfig
13495 if can_use_sysconfig:
13496     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
13497 else:
13498     from distutils import sysconfig
13499     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
13500 sys.stdout.write(sitedir)"`
13501      case $am_cv_python_pyexecdir in
13502      $am_py_exec_prefix*)
13503        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13504        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13505        ;;
13506      *)
13507        case $am_py_exec_prefix in
13508          /usr|/System*) ;;
13509          *)
13510            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13511            ;;
13512        esac
13513        ;;
13514      esac
13515
13516 fi
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13518 $as_echo "$am_cv_python_pyexecdir" >&6; }
13519   pyexecdir=$am_cv_python_pyexecdir
13520
13521
13522
13523   pkgpyexecdir=\${pyexecdir}/$PACKAGE
13524
13525
13526
13527   fi
13528
13529   # need python2.2+ for build
13530  if test "$PYTHON" != :; then
13531   HAVE_PYTHON_TRUE=
13532   HAVE_PYTHON_FALSE='#'
13533 else
13534   HAVE_PYTHON_TRUE='#'
13535   HAVE_PYTHON_FALSE=
13536 fi
13537
13538
13539 # Checks for header files.
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13541 $as_echo_n "checking for ANSI C header files... " >&6; }
13542 if ${ac_cv_header_stdc+:} false; then :
13543   $as_echo_n "(cached) " >&6
13544 else
13545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h.  */
13547 #include <stdlib.h>
13548 #include <stdarg.h>
13549 #include <string.h>
13550 #include <float.h>
13551
13552 int
13553 main ()
13554 {
13555
13556   ;
13557   return 0;
13558 }
13559 _ACEOF
13560 if ac_fn_c_try_compile "$LINENO"; then :
13561   ac_cv_header_stdc=yes
13562 else
13563   ac_cv_header_stdc=no
13564 fi
13565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13566
13567 if test $ac_cv_header_stdc = yes; then
13568   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h.  */
13571 #include <string.h>
13572
13573 _ACEOF
13574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13575   $EGREP "memchr" >/dev/null 2>&1; then :
13576
13577 else
13578   ac_cv_header_stdc=no
13579 fi
13580 rm -f conftest*
13581
13582 fi
13583
13584 if test $ac_cv_header_stdc = yes; then
13585   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13587 /* end confdefs.h.  */
13588 #include <stdlib.h>
13589
13590 _ACEOF
13591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13592   $EGREP "free" >/dev/null 2>&1; then :
13593
13594 else
13595   ac_cv_header_stdc=no
13596 fi
13597 rm -f conftest*
13598
13599 fi
13600
13601 if test $ac_cv_header_stdc = yes; then
13602   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13603   if test "$cross_compiling" = yes; then :
13604   :
13605 else
13606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h.  */
13608 #include <ctype.h>
13609 #include <stdlib.h>
13610 #if ((' ' & 0x0FF) == 0x020)
13611 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13612 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13613 #else
13614 # define ISLOWER(c) \
13615                    (('a' <= (c) && (c) <= 'i') \
13616                      || ('j' <= (c) && (c) <= 'r') \
13617                      || ('s' <= (c) && (c) <= 'z'))
13618 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13619 #endif
13620
13621 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13622 int
13623 main ()
13624 {
13625   int i;
13626   for (i = 0; i < 256; i++)
13627     if (XOR (islower (i), ISLOWER (i))
13628         || toupper (i) != TOUPPER (i))
13629       return 2;
13630   return 0;
13631 }
13632 _ACEOF
13633 if ac_fn_c_try_run "$LINENO"; then :
13634
13635 else
13636   ac_cv_header_stdc=no
13637 fi
13638 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13639   conftest.$ac_objext conftest.beam conftest.$ac_ext
13640 fi
13641
13642 fi
13643 fi
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13645 $as_echo "$ac_cv_header_stdc" >&6; }
13646 if test $ac_cv_header_stdc = yes; then
13647
13648 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13649
13650 fi
13651
13652 for ac_header in fcntl.h float.h limits.h memory.h stdlib.h string.h strings.h sys/time.h unistd.h
13653 do :
13654   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13655 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13657   cat >>confdefs.h <<_ACEOF
13658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13659 _ACEOF
13660
13661 fi
13662
13663 done
13664
13665
13666 # determine endian-ness of target compiler (sets WORDS_BIGENDIAN if true)
13667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13668 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13669 if ${ac_cv_c_bigendian+:} false; then :
13670   $as_echo_n "(cached) " >&6
13671 else
13672   ac_cv_c_bigendian=unknown
13673     # See if we're dealing with a universal compiler.
13674     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675 /* end confdefs.h.  */
13676 #ifndef __APPLE_CC__
13677                not a universal capable compiler
13678              #endif
13679              typedef int dummy;
13680
13681 _ACEOF
13682 if ac_fn_c_try_compile "$LINENO"; then :
13683
13684         # Check for potential -arch flags.  It is not universal unless
13685         # there are at least two -arch flags with different values.
13686         ac_arch=
13687         ac_prev=
13688         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13689          if test -n "$ac_prev"; then
13690            case $ac_word in
13691              i?86 | x86_64 | ppc | ppc64)
13692                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13693                  ac_arch=$ac_word
13694                else
13695                  ac_cv_c_bigendian=universal
13696                  break
13697                fi
13698                ;;
13699            esac
13700            ac_prev=
13701          elif test "x$ac_word" = "x-arch"; then
13702            ac_prev=arch
13703          fi
13704        done
13705 fi
13706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13707     if test $ac_cv_c_bigendian = unknown; then
13708       # See if sys/param.h defines the BYTE_ORDER macro.
13709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h.  */
13711 #include <sys/types.h>
13712              #include <sys/param.h>
13713
13714 int
13715 main ()
13716 {
13717 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13718                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13719                      && LITTLE_ENDIAN)
13720               bogus endian macros
13721              #endif
13722
13723   ;
13724   return 0;
13725 }
13726 _ACEOF
13727 if ac_fn_c_try_compile "$LINENO"; then :
13728   # It does; now see whether it defined to BIG_ENDIAN or not.
13729          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h.  */
13731 #include <sys/types.h>
13732                 #include <sys/param.h>
13733
13734 int
13735 main ()
13736 {
13737 #if BYTE_ORDER != BIG_ENDIAN
13738                  not big endian
13739                 #endif
13740
13741   ;
13742   return 0;
13743 }
13744 _ACEOF
13745 if ac_fn_c_try_compile "$LINENO"; then :
13746   ac_cv_c_bigendian=yes
13747 else
13748   ac_cv_c_bigendian=no
13749 fi
13750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13751 fi
13752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13753     fi
13754     if test $ac_cv_c_bigendian = unknown; then
13755       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h.  */
13758 #include <limits.h>
13759
13760 int
13761 main ()
13762 {
13763 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13764               bogus endian macros
13765              #endif
13766
13767   ;
13768   return 0;
13769 }
13770 _ACEOF
13771 if ac_fn_c_try_compile "$LINENO"; then :
13772   # It does; now see whether it defined to _BIG_ENDIAN or not.
13773          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h.  */
13775 #include <limits.h>
13776
13777 int
13778 main ()
13779 {
13780 #ifndef _BIG_ENDIAN
13781                  not big endian
13782                 #endif
13783
13784   ;
13785   return 0;
13786 }
13787 _ACEOF
13788 if ac_fn_c_try_compile "$LINENO"; then :
13789   ac_cv_c_bigendian=yes
13790 else
13791   ac_cv_c_bigendian=no
13792 fi
13793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13794 fi
13795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13796     fi
13797     if test $ac_cv_c_bigendian = unknown; then
13798       # Compile a test program.
13799       if test "$cross_compiling" = yes; then :
13800   # Try to guess by grepping values from an object file.
13801          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h.  */
13803 short int ascii_mm[] =
13804                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13805                 short int ascii_ii[] =
13806                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13807                 int use_ascii (int i) {
13808                   return ascii_mm[i] + ascii_ii[i];
13809                 }
13810                 short int ebcdic_ii[] =
13811                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13812                 short int ebcdic_mm[] =
13813                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13814                 int use_ebcdic (int i) {
13815                   return ebcdic_mm[i] + ebcdic_ii[i];
13816                 }
13817                 extern int foo;
13818
13819 int
13820 main ()
13821 {
13822 return use_ascii (foo) == use_ebcdic (foo);
13823   ;
13824   return 0;
13825 }
13826 _ACEOF
13827 if ac_fn_c_try_compile "$LINENO"; then :
13828   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13829               ac_cv_c_bigendian=yes
13830             fi
13831             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13832               if test "$ac_cv_c_bigendian" = unknown; then
13833                 ac_cv_c_bigendian=no
13834               else
13835                 # finding both strings is unlikely to happen, but who knows?
13836                 ac_cv_c_bigendian=unknown
13837               fi
13838             fi
13839 fi
13840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13841 else
13842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h.  */
13844 $ac_includes_default
13845 int
13846 main ()
13847 {
13848
13849              /* Are we little or big endian?  From Harbison&Steele.  */
13850              union
13851              {
13852                long int l;
13853                char c[sizeof (long int)];
13854              } u;
13855              u.l = 1;
13856              return u.c[sizeof (long int) - 1] == 1;
13857
13858   ;
13859   return 0;
13860 }
13861 _ACEOF
13862 if ac_fn_c_try_run "$LINENO"; then :
13863   ac_cv_c_bigendian=no
13864 else
13865   ac_cv_c_bigendian=yes
13866 fi
13867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13868   conftest.$ac_objext conftest.beam conftest.$ac_ext
13869 fi
13870
13871     fi
13872 fi
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13874 $as_echo "$ac_cv_c_bigendian" >&6; }
13875  case $ac_cv_c_bigendian in #(
13876    yes)
13877      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13878 ;; #(
13879    no)
13880       ;; #(
13881    universal)
13882
13883 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13884
13885      ;; #(
13886    *)
13887      as_fn_error $? "unknown endianness
13888  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13889  esac
13890
13891
13892 ac_fn_c_check_type "$LINENO" "uint_fast32_t" "ac_cv_type_uint_fast32_t" "$ac_includes_default"
13893 if test "x$ac_cv_type_uint_fast32_t" = xyes; then :
13894
13895 else
13896
13897 cat >>confdefs.h <<_ACEOF
13898 #define uint_fast32_t unsigned long int
13899 _ACEOF
13900
13901 fi
13902
13903 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13904 if test "x$ac_cv_type_uint32_t" = xyes; then :
13905
13906 else
13907
13908 cat >>confdefs.h <<_ACEOF
13909 #define uint32_t unsigned long int
13910 _ACEOF
13911
13912 fi
13913
13914 ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
13915 if test "x$ac_cv_type_uint16_t" = xyes; then :
13916
13917 else
13918
13919 cat >>confdefs.h <<_ACEOF
13920 #define uint16_t unsigned short int
13921 _ACEOF
13922
13923 fi
13924
13925 ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
13926 if test "x$ac_cv_type_uint8_t" = xyes; then :
13927
13928 else
13929
13930 cat >>confdefs.h <<_ACEOF
13931 #define uint8_t unsigned char
13932 _ACEOF
13933
13934 fi
13935
13936
13937 # Checks for typedefs, structures, and compiler characteristics.
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13939 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13940 if ${ac_cv_c_const+:} false; then :
13941   $as_echo_n "(cached) " >&6
13942 else
13943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h.  */
13945
13946 int
13947 main ()
13948 {
13949
13950 #ifndef __cplusplus
13951   /* Ultrix mips cc rejects this sort of thing.  */
13952   typedef int charset[2];
13953   const charset cs = { 0, 0 };
13954   /* SunOS 4.1.1 cc rejects this.  */
13955   char const *const *pcpcc;
13956   char **ppc;
13957   /* NEC SVR4.0.2 mips cc rejects this.  */
13958   struct point {int x, y;};
13959   static struct point const zero = {0,0};
13960   /* AIX XL C 1.02.0.0 rejects this.
13961      It does not let you subtract one const X* pointer from another in
13962      an arm of an if-expression whose if-part is not a constant
13963      expression */
13964   const char *g = "string";
13965   pcpcc = &g + (g ? g-g : 0);
13966   /* HPUX 7.0 cc rejects these. */
13967   ++pcpcc;
13968   ppc = (char**) pcpcc;
13969   pcpcc = (char const *const *) ppc;
13970   { /* SCO 3.2v4 cc rejects this sort of thing.  */
13971     char tx;
13972     char *t = &tx;
13973     char const *s = 0 ? (char *) 0 : (char const *) 0;
13974
13975     *t++ = 0;
13976     if (s) return 0;
13977   }
13978   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
13979     int x[] = {25, 17};
13980     const int *foo = &x[0];
13981     ++foo;
13982   }
13983   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13984     typedef const int *iptr;
13985     iptr p = 0;
13986     ++p;
13987   }
13988   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13989        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13990     struct s { int j; const int *ap[3]; } bx;
13991     struct s *b = &bx; b->j = 5;
13992   }
13993   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13994     const int foo = 10;
13995     if (!foo) return 0;
13996   }
13997   return !cs[0] && !zero.x;
13998 #endif
13999
14000   ;
14001   return 0;
14002 }
14003 _ACEOF
14004 if ac_fn_c_try_compile "$LINENO"; then :
14005   ac_cv_c_const=yes
14006 else
14007   ac_cv_c_const=no
14008 fi
14009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14010 fi
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14012 $as_echo "$ac_cv_c_const" >&6; }
14013 if test $ac_cv_c_const = no; then
14014
14015 $as_echo "#define const /**/" >>confdefs.h
14016
14017 fi
14018
14019 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14020 if test "x$ac_cv_type_size_t" = xyes; then :
14021
14022 else
14023
14024 cat >>confdefs.h <<_ACEOF
14025 #define size_t unsigned int
14026 _ACEOF
14027
14028 fi
14029
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14031 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14032 if ${ac_cv_header_time+:} false; then :
14033   $as_echo_n "(cached) " >&6
14034 else
14035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h.  */
14037 #include <sys/types.h>
14038 #include <sys/time.h>
14039 #include <time.h>
14040
14041 int
14042 main ()
14043 {
14044 if ((struct tm *) 0)
14045 return 0;
14046   ;
14047   return 0;
14048 }
14049 _ACEOF
14050 if ac_fn_c_try_compile "$LINENO"; then :
14051   ac_cv_header_time=yes
14052 else
14053   ac_cv_header_time=no
14054 fi
14055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14056 fi
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14058 $as_echo "$ac_cv_header_time" >&6; }
14059 if test $ac_cv_header_time = yes; then
14060
14061 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14062
14063 fi
14064
14065
14066 # Checks for library functions.
14067 for ac_header in stdlib.h
14068 do :
14069   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14070 if test "x$ac_cv_header_stdlib_h" = xyes; then :
14071   cat >>confdefs.h <<_ACEOF
14072 #define HAVE_STDLIB_H 1
14073 _ACEOF
14074
14075 fi
14076
14077 done
14078
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
14080 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
14081 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
14082   $as_echo_n "(cached) " >&6
14083 else
14084   if test "$cross_compiling" = yes; then :
14085   ac_cv_func_malloc_0_nonnull=no
14086 else
14087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h.  */
14089 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
14090 # include <stdlib.h>
14091 #else
14092 char *malloc ();
14093 #endif
14094
14095 int
14096 main ()
14097 {
14098 return ! malloc (0);
14099   ;
14100   return 0;
14101 }
14102 _ACEOF
14103 if ac_fn_c_try_run "$LINENO"; then :
14104   ac_cv_func_malloc_0_nonnull=yes
14105 else
14106   ac_cv_func_malloc_0_nonnull=no
14107 fi
14108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14109   conftest.$ac_objext conftest.beam conftest.$ac_ext
14110 fi
14111
14112 fi
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
14114 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
14115 if test $ac_cv_func_malloc_0_nonnull = yes; then :
14116
14117 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
14118
14119 else
14120   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
14121
14122    case " $LIBOBJS " in
14123   *" malloc.$ac_objext "* ) ;;
14124   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
14125  ;;
14126 esac
14127
14128
14129 $as_echo "#define malloc rpl_malloc" >>confdefs.h
14130
14131 fi
14132
14133
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
14135 $as_echo_n "checking for working memcmp... " >&6; }
14136 if ${ac_cv_func_memcmp_working+:} false; then :
14137   $as_echo_n "(cached) " >&6
14138 else
14139   if test "$cross_compiling" = yes; then :
14140   ac_cv_func_memcmp_working=no
14141 else
14142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h.  */
14144 $ac_includes_default
14145 int
14146 main ()
14147 {
14148
14149   /* Some versions of memcmp are not 8-bit clean.  */
14150   char c0 = '\100', c1 = '\200', c2 = '\201';
14151   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
14152     return 1;
14153
14154   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
14155      or more and with at least one buffer not starting on a 4-byte boundary.
14156      William Lewis provided this test program.   */
14157   {
14158     char foo[21];
14159     char bar[21];
14160     int i;
14161     for (i = 0; i < 4; i++)
14162       {
14163         char *a = foo + i;
14164         char *b = bar + i;
14165         strcpy (a, "--------01111111");
14166         strcpy (b, "--------10000000");
14167         if (memcmp (a, b, 16) >= 0)
14168           return 1;
14169       }
14170     return 0;
14171   }
14172
14173   ;
14174   return 0;
14175 }
14176 _ACEOF
14177 if ac_fn_c_try_run "$LINENO"; then :
14178   ac_cv_func_memcmp_working=yes
14179 else
14180   ac_cv_func_memcmp_working=no
14181 fi
14182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14183   conftest.$ac_objext conftest.beam conftest.$ac_ext
14184 fi
14185
14186 fi
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
14188 $as_echo "$ac_cv_func_memcmp_working" >&6; }
14189 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
14190   *" memcmp.$ac_objext "* ) ;;
14191   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
14192  ;;
14193 esac
14194
14195
14196 for ac_header in stdlib.h
14197 do :
14198   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14199 if test "x$ac_cv_header_stdlib_h" = xyes; then :
14200   cat >>confdefs.h <<_ACEOF
14201 #define HAVE_STDLIB_H 1
14202 _ACEOF
14203
14204 fi
14205
14206 done
14207
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
14209 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
14210 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
14211   $as_echo_n "(cached) " >&6
14212 else
14213   if test "$cross_compiling" = yes; then :
14214   ac_cv_func_realloc_0_nonnull=no
14215 else
14216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h.  */
14218 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
14219 # include <stdlib.h>
14220 #else
14221 char *realloc ();
14222 #endif
14223
14224 int
14225 main ()
14226 {
14227 return ! realloc (0, 0);
14228   ;
14229   return 0;
14230 }
14231 _ACEOF
14232 if ac_fn_c_try_run "$LINENO"; then :
14233   ac_cv_func_realloc_0_nonnull=yes
14234 else
14235   ac_cv_func_realloc_0_nonnull=no
14236 fi
14237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14238   conftest.$ac_objext conftest.beam conftest.$ac_ext
14239 fi
14240
14241 fi
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
14243 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
14244 if test $ac_cv_func_realloc_0_nonnull = yes; then :
14245
14246 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
14247
14248 else
14249   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
14250
14251    case " $LIBOBJS " in
14252   *" realloc.$ac_objext "* ) ;;
14253   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
14254  ;;
14255 esac
14256
14257
14258 $as_echo "#define realloc rpl_realloc" >>confdefs.h
14259
14260 fi
14261
14262
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
14264 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
14265 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
14266   $as_echo_n "(cached) " >&6
14267 else
14268   rm -f conftest.sym conftest.file
14269 echo >conftest.file
14270 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
14271   if test "$cross_compiling" = yes; then :
14272   ac_cv_func_lstat_dereferences_slashed_symlink=no
14273 else
14274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h.  */
14276 $ac_includes_default
14277 int
14278 main ()
14279 {
14280 struct stat sbuf;
14281      /* Linux will dereference the symlink and fail, as required by POSIX.
14282         That is better in the sense that it means we will not
14283         have to compile and use the lstat wrapper.  */
14284      return lstat ("conftest.sym/", &sbuf) == 0;
14285   ;
14286   return 0;
14287 }
14288 _ACEOF
14289 if ac_fn_c_try_run "$LINENO"; then :
14290   ac_cv_func_lstat_dereferences_slashed_symlink=yes
14291 else
14292   ac_cv_func_lstat_dereferences_slashed_symlink=no
14293 fi
14294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14295   conftest.$ac_objext conftest.beam conftest.$ac_ext
14296 fi
14297
14298 else
14299   # If the `ln -s' command failed, then we probably don't even
14300   # have an lstat function.
14301   ac_cv_func_lstat_dereferences_slashed_symlink=no
14302 fi
14303 rm -f conftest.sym conftest.file
14304
14305 fi
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
14307 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
14308
14309 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
14310
14311 cat >>confdefs.h <<_ACEOF
14312 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
14313 _ACEOF
14314
14315
14316 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
14317   case " $LIBOBJS " in
14318   *" lstat.$ac_objext "* ) ;;
14319   *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
14320  ;;
14321 esac
14322
14323 fi
14324
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
14326 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
14327 if ${ac_cv_func_stat_empty_string_bug+:} false; then :
14328   $as_echo_n "(cached) " >&6
14329 else
14330   if test "$cross_compiling" = yes; then :
14331   ac_cv_func_stat_empty_string_bug=yes
14332 else
14333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h.  */
14335 $ac_includes_default
14336 int
14337 main ()
14338 {
14339 struct stat sbuf;
14340   return stat ("", &sbuf) == 0;
14341   ;
14342   return 0;
14343 }
14344 _ACEOF
14345 if ac_fn_c_try_run "$LINENO"; then :
14346   ac_cv_func_stat_empty_string_bug=no
14347 else
14348   ac_cv_func_stat_empty_string_bug=yes
14349 fi
14350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14351   conftest.$ac_objext conftest.beam conftest.$ac_ext
14352 fi
14353
14354 fi
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
14356 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
14357 if test $ac_cv_func_stat_empty_string_bug = yes; then
14358   case " $LIBOBJS " in
14359   *" stat.$ac_objext "* ) ;;
14360   *) LIBOBJS="$LIBOBJS stat.$ac_objext"
14361  ;;
14362 esac
14363
14364
14365 cat >>confdefs.h <<_ACEOF
14366 #define HAVE_STAT_EMPTY_STRING_BUG 1
14367 _ACEOF
14368
14369 fi
14370
14371 for ac_func in getcwd gettimeofday memmove memset strcasecmp strchr strerror strncasecmp strrchr strtol
14372 do :
14373   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14375 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14376   cat >>confdefs.h <<_ACEOF
14377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14378 _ACEOF
14379
14380 fi
14381 done
14382
14383
14384 # check for libraries that we use
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
14386 $as_echo_n "checking for deflate in -lz... " >&6; }
14387 if ${ac_cv_lib_z_deflate+:} false; then :
14388   $as_echo_n "(cached) " >&6
14389 else
14390   ac_check_lib_save_LIBS=$LIBS
14391 LIBS="-lz  $LIBS"
14392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14393 /* end confdefs.h.  */
14394
14395 /* Override any GCC internal prototype to avoid an error.
14396    Use char because int might match the return type of a GCC
14397    builtin and then its argument prototype would still apply.  */
14398 #ifdef __cplusplus
14399 extern "C"
14400 #endif
14401 char deflate ();
14402 int
14403 main ()
14404 {
14405 return deflate ();
14406   ;
14407   return 0;
14408 }
14409 _ACEOF
14410 if ac_fn_c_try_link "$LINENO"; then :
14411   ac_cv_lib_z_deflate=yes
14412 else
14413   ac_cv_lib_z_deflate=no
14414 fi
14415 rm -f core conftest.err conftest.$ac_objext \
14416     conftest$ac_exeext conftest.$ac_ext
14417 LIBS=$ac_check_lib_save_LIBS
14418 fi
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
14420 $as_echo "$ac_cv_lib_z_deflate" >&6; }
14421 if test "x$ac_cv_lib_z_deflate" = xyes; then :
14422   cat >>confdefs.h <<_ACEOF
14423 #define HAVE_LIBZ 1
14424 _ACEOF
14425
14426   LIBS="-lz $LIBS"
14427
14428 fi
14429
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
14431 $as_echo_n "checking for sqrt in -lm... " >&6; }
14432 if ${ac_cv_lib_m_sqrt+:} false; then :
14433   $as_echo_n "(cached) " >&6
14434 else
14435   ac_check_lib_save_LIBS=$LIBS
14436 LIBS="-lm  $LIBS"
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h.  */
14439
14440 /* Override any GCC internal prototype to avoid an error.
14441    Use char because int might match the return type of a GCC
14442    builtin and then its argument prototype would still apply.  */
14443 #ifdef __cplusplus
14444 extern "C"
14445 #endif
14446 char sqrt ();
14447 int
14448 main ()
14449 {
14450 return sqrt ();
14451   ;
14452   return 0;
14453 }
14454 _ACEOF
14455 if ac_fn_c_try_link "$LINENO"; then :
14456   ac_cv_lib_m_sqrt=yes
14457 else
14458   ac_cv_lib_m_sqrt=no
14459 fi
14460 rm -f core conftest.err conftest.$ac_objext \
14461     conftest$ac_exeext conftest.$ac_ext
14462 LIBS=$ac_check_lib_save_LIBS
14463 fi
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
14465 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
14466 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
14467   cat >>confdefs.h <<_ACEOF
14468 #define HAVE_LIBM 1
14469 _ACEOF
14470
14471   LIBS="-lm $LIBS"
14472
14473 fi
14474
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lmx" >&5
14476 $as_echo_n "checking for sqrtf in -lmx... " >&6; }
14477 if ${ac_cv_lib_mx_sqrtf+:} false; then :
14478   $as_echo_n "(cached) " >&6
14479 else
14480   ac_check_lib_save_LIBS=$LIBS
14481 LIBS="-lmx  $LIBS"
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h.  */
14484
14485 /* Override any GCC internal prototype to avoid an error.
14486    Use char because int might match the return type of a GCC
14487    builtin and then its argument prototype would still apply.  */
14488 #ifdef __cplusplus
14489 extern "C"
14490 #endif
14491 char sqrtf ();
14492 int
14493 main ()
14494 {
14495 return sqrtf ();
14496   ;
14497   return 0;
14498 }
14499 _ACEOF
14500 if ac_fn_c_try_link "$LINENO"; then :
14501   ac_cv_lib_mx_sqrtf=yes
14502 else
14503   ac_cv_lib_mx_sqrtf=no
14504 fi
14505 rm -f core conftest.err conftest.$ac_objext \
14506     conftest$ac_exeext conftest.$ac_ext
14507 LIBS=$ac_check_lib_save_LIBS
14508 fi
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mx_sqrtf" >&5
14510 $as_echo "$ac_cv_lib_mx_sqrtf" >&6; }
14511 if test "x$ac_cv_lib_mx_sqrtf" = xyes; then :
14512   cat >>confdefs.h <<_ACEOF
14513 #define HAVE_LIBMX 1
14514 _ACEOF
14515
14516   LIBS="-lmx $LIBS"
14517
14518 else
14519   # mx contains the floating point functions on darwin
14520
14521   # failed, look for sqrtf in libm
14522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
14523 $as_echo_n "checking for sqrtf in -lm... " >&6; }
14524 if ${ac_cv_lib_m_sqrtf+:} false; then :
14525   $as_echo_n "(cached) " >&6
14526 else
14527   ac_check_lib_save_LIBS=$LIBS
14528 LIBS="-lm  $LIBS"
14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h.  */
14531
14532 /* Override any GCC internal prototype to avoid an error.
14533    Use char because int might match the return type of a GCC
14534    builtin and then its argument prototype would still apply.  */
14535 #ifdef __cplusplus
14536 extern "C"
14537 #endif
14538 char sqrtf ();
14539 int
14540 main ()
14541 {
14542 return sqrtf ();
14543   ;
14544   return 0;
14545 }
14546 _ACEOF
14547 if ac_fn_c_try_link "$LINENO"; then :
14548   ac_cv_lib_m_sqrtf=yes
14549 else
14550   ac_cv_lib_m_sqrtf=no
14551 fi
14552 rm -f core conftest.err conftest.$ac_objext \
14553     conftest$ac_exeext conftest.$ac_ext
14554 LIBS=$ac_check_lib_save_LIBS
14555 fi
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
14557 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
14558 if test "x$ac_cv_lib_m_sqrtf" = xyes; then :
14559   # on success, do nothing (prevents -lm being added twice)
14560     echo -n ""
14561 else
14562   # define away sqrtf and friends in the firstinclude file, since we
14563     # can't find them.  Filter out previous #define's first.
14564     echo "reconfiguring to use double functions instead of float functions"
14565      cat src/include/$osinclude/firstinclude.h | grep -v "define sqrtf" | grep -v "define logf" | grep -v "define ldexpf" | grep -v "define frexpf" > firstinclude.h
14566      echo "#ifndef sqrtf /* define sqrtf */" >> firstinclude.h
14567      echo "#define sqrtf sqrt" >> firstinclude.h
14568      echo "#endif /* define sqrtf */" >> firstinclude.h
14569      echo "#ifndef logf /* define logf */" >> firstinclude.h
14570      echo "#define logf log" >> firstinclude.h
14571      echo "#endif /* define logf */" >> firstinclude.h
14572      echo "#ifndef ldexpf /* define ldexpf */" >> firstinclude.h
14573      echo "#define ldexpf ldexp" >> firstinclude.h
14574      echo "#endif /* define ldexpf */" >> firstinclude.h
14575      echo "#ifndef frexpf /* define frexpf */" >> firstinclude.h
14576      echo "#define frexpf frexp" >> firstinclude.h
14577      echo "#endif /* define frexpf */" >> firstinclude.h
14578      mv firstinclude.h src/include/$osinclude/firstinclude.h
14579
14580 fi
14581
14582 fi
14583
14584
14585 ac_config_files="$ac_config_files Makefile"
14586
14587 cat >confcache <<\_ACEOF
14588 # This file is a shell script that caches the results of configure
14589 # tests run on this system so they can be shared between configure
14590 # scripts and configure runs, see configure's option --config-cache.
14591 # It is not useful on other systems.  If it contains results you don't
14592 # want to keep, you may remove or edit it.
14593 #
14594 # config.status only pays attention to the cache file if you give it
14595 # the --recheck option to rerun configure.
14596 #
14597 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14598 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14599 # following values.
14600
14601 _ACEOF
14602
14603 # The following way of writing the cache mishandles newlines in values,
14604 # but we know of no workaround that is simple, portable, and efficient.
14605 # So, we kill variables containing newlines.
14606 # Ultrix sh set writes to stderr and can't be redirected directly,
14607 # and sets the high bit in the cache file unless we assign to the vars.
14608 (
14609   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14610     eval ac_val=\$$ac_var
14611     case $ac_val in #(
14612     *${as_nl}*)
14613       case $ac_var in #(
14614       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14615 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14616       esac
14617       case $ac_var in #(
14618       _ | IFS | as_nl) ;; #(
14619       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14620       *) { eval $ac_var=; unset $ac_var;} ;;
14621       esac ;;
14622     esac
14623   done
14624
14625   (set) 2>&1 |
14626     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14627     *${as_nl}ac_space=\ *)
14628       # `set' does not quote correctly, so add quotes: double-quote
14629       # substitution turns \\\\ into \\, and sed turns \\ into \.
14630       sed -n \
14631         "s/'/'\\\\''/g;
14632           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14633       ;; #(
14634     *)
14635       # `set' quotes correctly as required by POSIX, so do not add quotes.
14636       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14637       ;;
14638     esac |
14639     sort
14640 ) |
14641   sed '
14642      /^ac_cv_env_/b end
14643      t clear
14644      :clear
14645      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14646      t end
14647      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14648      :end' >>confcache
14649 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14650   if test -w "$cache_file"; then
14651     if test "x$cache_file" != "x/dev/null"; then
14652       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14653 $as_echo "$as_me: updating cache $cache_file" >&6;}
14654       if test ! -f "$cache_file" || test -h "$cache_file"; then
14655         cat confcache >"$cache_file"
14656       else
14657         case $cache_file in #(
14658         */* | ?:*)
14659           mv -f confcache "$cache_file"$$ &&
14660           mv -f "$cache_file"$$ "$cache_file" ;; #(
14661         *)
14662           mv -f confcache "$cache_file" ;;
14663         esac
14664       fi
14665     fi
14666   else
14667     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14668 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14669   fi
14670 fi
14671 rm -f confcache
14672
14673 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14674 # Let make expand exec_prefix.
14675 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14676
14677 DEFS=-DHAVE_CONFIG_H
14678
14679 ac_libobjs=
14680 ac_ltlibobjs=
14681 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14682   # 1. Remove the extension, and $U if already installed.
14683   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14684   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14685   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14686   #    will be set to the directory where LIBOBJS objects are built.
14687   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14688   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14689 done
14690 LIBOBJS=$ac_libobjs
14691
14692 LTLIBOBJS=$ac_ltlibobjs
14693
14694
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14696 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14697    if test -n "$am_sleep_pid"; then
14698      # Hide warnings about reused PIDs.
14699      wait $am_sleep_pid 2>/dev/null
14700    fi
14701    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14702 $as_echo "done" >&6; }
14703  if test -n "$EXEEXT"; then
14704   am__EXEEXT_TRUE=
14705   am__EXEEXT_FALSE='#'
14706 else
14707   am__EXEEXT_TRUE='#'
14708   am__EXEEXT_FALSE=
14709 fi
14710
14711 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14712   as_fn_error $? "conditional \"AMDEP\" was never defined.
14713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14714 fi
14715 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14716   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14718 fi
14719 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14720   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14722 fi
14723 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
14724   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
14725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14726 fi
14727
14728
14729 : "${CONFIG_STATUS=./config.status}"
14730 ac_write_fail=0
14731 ac_clean_files_save=$ac_clean_files
14732 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14734 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14735 as_write_fail=0
14736 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14737 #! $SHELL
14738 # Generated by $as_me.
14739 # Run this file to recreate the current configuration.
14740 # Compiler output produced by configure, useful for debugging
14741 # configure, is in config.log if it exists.
14742
14743 debug=false
14744 ac_cs_recheck=false
14745 ac_cs_silent=false
14746
14747 SHELL=\${CONFIG_SHELL-$SHELL}
14748 export SHELL
14749 _ASEOF
14750 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14751 ## -------------------- ##
14752 ## M4sh Initialization. ##
14753 ## -------------------- ##
14754
14755 # Be more Bourne compatible
14756 DUALCASE=1; export DUALCASE # for MKS sh
14757 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14758   emulate sh
14759   NULLCMD=:
14760   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14761   # is contrary to our usage.  Disable this feature.
14762   alias -g '${1+"$@"}'='"$@"'
14763   setopt NO_GLOB_SUBST
14764 else
14765   case `(set -o) 2>/dev/null` in #(
14766   *posix*) :
14767     set -o posix ;; #(
14768   *) :
14769      ;;
14770 esac
14771 fi
14772
14773
14774 as_nl='
14775 '
14776 export as_nl
14777 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14778 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14779 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14781 # Prefer a ksh shell builtin over an external printf program on Solaris,
14782 # but without wasting forks for bash or zsh.
14783 if test -z "$BASH_VERSION$ZSH_VERSION" \
14784     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14785   as_echo='print -r --'
14786   as_echo_n='print -rn --'
14787 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14788   as_echo='printf %s\n'
14789   as_echo_n='printf %s'
14790 else
14791   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14792     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14793     as_echo_n='/usr/ucb/echo -n'
14794   else
14795     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14796     as_echo_n_body='eval
14797       arg=$1;
14798       case $arg in #(
14799       *"$as_nl"*)
14800         expr "X$arg" : "X\\(.*\\)$as_nl";
14801         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14802       esac;
14803       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14804     '
14805     export as_echo_n_body
14806     as_echo_n='sh -c $as_echo_n_body as_echo'
14807   fi
14808   export as_echo_body
14809   as_echo='sh -c $as_echo_body as_echo'
14810 fi
14811
14812 # The user is always right.
14813 if test "${PATH_SEPARATOR+set}" != set; then
14814   PATH_SEPARATOR=:
14815   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14816     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14817       PATH_SEPARATOR=';'
14818   }
14819 fi
14820
14821
14822 # IFS
14823 # We need space, tab and new line, in precisely that order.  Quoting is
14824 # there to prevent editors from complaining about space-tab.
14825 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14826 # splitting by setting IFS to empty value.)
14827 IFS=" ""        $as_nl"
14828
14829 # Find who we are.  Look in the path if we contain no directory separator.
14830 as_myself=
14831 case $0 in #((
14832   *[\\/]* ) as_myself=$0 ;;
14833   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14834 for as_dir in $PATH
14835 do
14836   IFS=$as_save_IFS
14837   test -z "$as_dir" && as_dir=.
14838     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14839   done
14840 IFS=$as_save_IFS
14841
14842      ;;
14843 esac
14844 # We did not find ourselves, most probably we were run as `sh COMMAND'
14845 # in which case we are not to be found in the path.
14846 if test "x$as_myself" = x; then
14847   as_myself=$0
14848 fi
14849 if test ! -f "$as_myself"; then
14850   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14851   exit 1
14852 fi
14853
14854 # Unset variables that we do not need and which cause bugs (e.g. in
14855 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14856 # suppresses any "Segmentation fault" message there.  '((' could
14857 # trigger a bug in pdksh 5.2.14.
14858 for as_var in BASH_ENV ENV MAIL MAILPATH
14859 do eval test x\${$as_var+set} = xset \
14860   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14861 done
14862 PS1='$ '
14863 PS2='> '
14864 PS4='+ '
14865
14866 # NLS nuisances.
14867 LC_ALL=C
14868 export LC_ALL
14869 LANGUAGE=C
14870 export LANGUAGE
14871
14872 # CDPATH.
14873 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14874
14875
14876 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14877 # ----------------------------------------
14878 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14879 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14880 # script with STATUS, using 1 if that was 0.
14881 as_fn_error ()
14882 {
14883   as_status=$1; test $as_status -eq 0 && as_status=1
14884   if test "$4"; then
14885     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14886     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14887   fi
14888   $as_echo "$as_me: error: $2" >&2
14889   as_fn_exit $as_status
14890 } # as_fn_error
14891
14892
14893 # as_fn_set_status STATUS
14894 # -----------------------
14895 # Set $? to STATUS, without forking.
14896 as_fn_set_status ()
14897 {
14898   return $1
14899 } # as_fn_set_status
14900
14901 # as_fn_exit STATUS
14902 # -----------------
14903 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14904 as_fn_exit ()
14905 {
14906   set +e
14907   as_fn_set_status $1
14908   exit $1
14909 } # as_fn_exit
14910
14911 # as_fn_unset VAR
14912 # ---------------
14913 # Portably unset VAR.
14914 as_fn_unset ()
14915 {
14916   { eval $1=; unset $1;}
14917 }
14918 as_unset=as_fn_unset
14919 # as_fn_append VAR VALUE
14920 # ----------------------
14921 # Append the text in VALUE to the end of the definition contained in VAR. Take
14922 # advantage of any shell optimizations that allow amortized linear growth over
14923 # repeated appends, instead of the typical quadratic growth present in naive
14924 # implementations.
14925 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14926   eval 'as_fn_append ()
14927   {
14928     eval $1+=\$2
14929   }'
14930 else
14931   as_fn_append ()
14932   {
14933     eval $1=\$$1\$2
14934   }
14935 fi # as_fn_append
14936
14937 # as_fn_arith ARG...
14938 # ------------------
14939 # Perform arithmetic evaluation on the ARGs, and store the result in the
14940 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14941 # must be portable across $(()) and expr.
14942 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14943   eval 'as_fn_arith ()
14944   {
14945     as_val=$(( $* ))
14946   }'
14947 else
14948   as_fn_arith ()
14949   {
14950     as_val=`expr "$@" || test $? -eq 1`
14951   }
14952 fi # as_fn_arith
14953
14954
14955 if expr a : '\(a\)' >/dev/null 2>&1 &&
14956    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14957   as_expr=expr
14958 else
14959   as_expr=false
14960 fi
14961
14962 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14963   as_basename=basename
14964 else
14965   as_basename=false
14966 fi
14967
14968 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14969   as_dirname=dirname
14970 else
14971   as_dirname=false
14972 fi
14973
14974 as_me=`$as_basename -- "$0" ||
14975 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14976          X"$0" : 'X\(//\)$' \| \
14977          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14978 $as_echo X/"$0" |
14979     sed '/^.*\/\([^/][^/]*\)\/*$/{
14980             s//\1/
14981             q
14982           }
14983           /^X\/\(\/\/\)$/{
14984             s//\1/
14985             q
14986           }
14987           /^X\/\(\/\).*/{
14988             s//\1/
14989             q
14990           }
14991           s/.*/./; q'`
14992
14993 # Avoid depending upon Character Ranges.
14994 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14995 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14996 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14997 as_cr_digits='0123456789'
14998 as_cr_alnum=$as_cr_Letters$as_cr_digits
14999
15000 ECHO_C= ECHO_N= ECHO_T=
15001 case `echo -n x` in #(((((
15002 -n*)
15003   case `echo 'xy\c'` in
15004   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15005   xy)  ECHO_C='\c';;
15006   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15007        ECHO_T=' ';;
15008   esac;;
15009 *)
15010   ECHO_N='-n';;
15011 esac
15012
15013 rm -f conf$$ conf$$.exe conf$$.file
15014 if test -d conf$$.dir; then
15015   rm -f conf$$.dir/conf$$.file
15016 else
15017   rm -f conf$$.dir
15018   mkdir conf$$.dir 2>/dev/null
15019 fi
15020 if (echo >conf$$.file) 2>/dev/null; then
15021   if ln -s conf$$.file conf$$ 2>/dev/null; then
15022     as_ln_s='ln -s'
15023     # ... but there are two gotchas:
15024     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15025     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15026     # In both cases, we have to default to `cp -pR'.
15027     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15028       as_ln_s='cp -pR'
15029   elif ln conf$$.file conf$$ 2>/dev/null; then
15030     as_ln_s=ln
15031   else
15032     as_ln_s='cp -pR'
15033   fi
15034 else
15035   as_ln_s='cp -pR'
15036 fi
15037 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15038 rmdir conf$$.dir 2>/dev/null
15039
15040
15041 # as_fn_mkdir_p
15042 # -------------
15043 # Create "$as_dir" as a directory, including parents if necessary.
15044 as_fn_mkdir_p ()
15045 {
15046
15047   case $as_dir in #(
15048   -*) as_dir=./$as_dir;;
15049   esac
15050   test -d "$as_dir" || eval $as_mkdir_p || {
15051     as_dirs=
15052     while :; do
15053       case $as_dir in #(
15054       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15055       *) as_qdir=$as_dir;;
15056       esac
15057       as_dirs="'$as_qdir' $as_dirs"
15058       as_dir=`$as_dirname -- "$as_dir" ||
15059 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15060          X"$as_dir" : 'X\(//\)[^/]' \| \
15061          X"$as_dir" : 'X\(//\)$' \| \
15062          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15063 $as_echo X"$as_dir" |
15064     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15065             s//\1/
15066             q
15067           }
15068           /^X\(\/\/\)[^/].*/{
15069             s//\1/
15070             q
15071           }
15072           /^X\(\/\/\)$/{
15073             s//\1/
15074             q
15075           }
15076           /^X\(\/\).*/{
15077             s//\1/
15078             q
15079           }
15080           s/.*/./; q'`
15081       test -d "$as_dir" && break
15082     done
15083     test -z "$as_dirs" || eval "mkdir $as_dirs"
15084   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15085
15086
15087 } # as_fn_mkdir_p
15088 if mkdir -p . 2>/dev/null; then
15089   as_mkdir_p='mkdir -p "$as_dir"'
15090 else
15091   test -d ./-p && rmdir ./-p
15092   as_mkdir_p=false
15093 fi
15094
15095
15096 # as_fn_executable_p FILE
15097 # -----------------------
15098 # Test if FILE is an executable regular file.
15099 as_fn_executable_p ()
15100 {
15101   test -f "$1" && test -x "$1"
15102 } # as_fn_executable_p
15103 as_test_x='test -x'
15104 as_executable_p=as_fn_executable_p
15105
15106 # Sed expression to map a string onto a valid CPP name.
15107 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15108
15109 # Sed expression to map a string onto a valid variable name.
15110 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15111
15112
15113 exec 6>&1
15114 ## ----------------------------------- ##
15115 ## Main body of $CONFIG_STATUS script. ##
15116 ## ----------------------------------- ##
15117 _ASEOF
15118 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15119
15120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15121 # Save the log message, to keep $0 and so on meaningful, and to
15122 # report actual input values of CONFIG_FILES etc. instead of their
15123 # values after options handling.
15124 ac_log="
15125 This file was extended by zettair $as_me 0.9.3patched, which was
15126 generated by GNU Autoconf 2.69.  Invocation command line was
15127
15128   CONFIG_FILES    = $CONFIG_FILES
15129   CONFIG_HEADERS  = $CONFIG_HEADERS
15130   CONFIG_LINKS    = $CONFIG_LINKS
15131   CONFIG_COMMANDS = $CONFIG_COMMANDS
15132   $ $0 $@
15133
15134 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15135 "
15136
15137 _ACEOF
15138
15139 case $ac_config_files in *"
15140 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15141 esac
15142
15143 case $ac_config_headers in *"
15144 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15145 esac
15146
15147
15148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15149 # Files that config.status was made for.
15150 config_files="$ac_config_files"
15151 config_headers="$ac_config_headers"
15152 config_commands="$ac_config_commands"
15153
15154 _ACEOF
15155
15156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15157 ac_cs_usage="\
15158 \`$as_me' instantiates files and other configuration actions
15159 from templates according to the current configuration.  Unless the files
15160 and actions are specified as TAGs, all are instantiated by default.
15161
15162 Usage: $0 [OPTION]... [TAG]...
15163
15164   -h, --help       print this help, then exit
15165   -V, --version    print version number and configuration settings, then exit
15166       --config     print configuration, then exit
15167   -q, --quiet, --silent
15168                    do not print progress messages
15169   -d, --debug      don't remove temporary files
15170       --recheck    update $as_me by reconfiguring in the same conditions
15171       --file=FILE[:TEMPLATE]
15172                    instantiate the configuration file FILE
15173       --header=FILE[:TEMPLATE]
15174                    instantiate the configuration header FILE
15175
15176 Configuration files:
15177 $config_files
15178
15179 Configuration headers:
15180 $config_headers
15181
15182 Configuration commands:
15183 $config_commands
15184
15185 Report bugs to <nick@ndcode.org>."
15186
15187 _ACEOF
15188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15189 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15190 ac_cs_version="\\
15191 zettair config.status 0.9.3patched
15192 configured by $0, generated by GNU Autoconf 2.69,
15193   with options \\"\$ac_cs_config\\"
15194
15195 Copyright (C) 2012 Free Software Foundation, Inc.
15196 This config.status script is free software; the Free Software Foundation
15197 gives unlimited permission to copy, distribute and modify it."
15198
15199 ac_pwd='$ac_pwd'
15200 srcdir='$srcdir'
15201 INSTALL='$INSTALL'
15202 MKDIR_P='$MKDIR_P'
15203 AWK='$AWK'
15204 test -n "\$AWK" || AWK=awk
15205 _ACEOF
15206
15207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15208 # The default lists apply if the user does not specify any file.
15209 ac_need_defaults=:
15210 while test $# != 0
15211 do
15212   case $1 in
15213   --*=?*)
15214     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15215     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15216     ac_shift=:
15217     ;;
15218   --*=)
15219     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15220     ac_optarg=
15221     ac_shift=:
15222     ;;
15223   *)
15224     ac_option=$1
15225     ac_optarg=$2
15226     ac_shift=shift
15227     ;;
15228   esac
15229
15230   case $ac_option in
15231   # Handling of the options.
15232   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15233     ac_cs_recheck=: ;;
15234   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15235     $as_echo "$ac_cs_version"; exit ;;
15236   --config | --confi | --conf | --con | --co | --c )
15237     $as_echo "$ac_cs_config"; exit ;;
15238   --debug | --debu | --deb | --de | --d | -d )
15239     debug=: ;;
15240   --file | --fil | --fi | --f )
15241     $ac_shift
15242     case $ac_optarg in
15243     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15244     '') as_fn_error $? "missing file argument" ;;
15245     esac
15246     as_fn_append CONFIG_FILES " '$ac_optarg'"
15247     ac_need_defaults=false;;
15248   --header | --heade | --head | --hea )
15249     $ac_shift
15250     case $ac_optarg in
15251     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15252     esac
15253     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15254     ac_need_defaults=false;;
15255   --he | --h)
15256     # Conflict between --help and --header
15257     as_fn_error $? "ambiguous option: \`$1'
15258 Try \`$0 --help' for more information.";;
15259   --help | --hel | -h )
15260     $as_echo "$ac_cs_usage"; exit ;;
15261   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15262   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15263     ac_cs_silent=: ;;
15264
15265   # This is an error.
15266   -*) as_fn_error $? "unrecognized option: \`$1'
15267 Try \`$0 --help' for more information." ;;
15268
15269   *) as_fn_append ac_config_targets " $1"
15270      ac_need_defaults=false ;;
15271
15272   esac
15273   shift
15274 done
15275
15276 ac_configure_extra_args=
15277
15278 if $ac_cs_silent; then
15279   exec 6>/dev/null
15280   ac_configure_extra_args="$ac_configure_extra_args --silent"
15281 fi
15282
15283 _ACEOF
15284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15285 if \$ac_cs_recheck; then
15286   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15287   shift
15288   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15289   CONFIG_SHELL='$SHELL'
15290   export CONFIG_SHELL
15291   exec "\$@"
15292 fi
15293
15294 _ACEOF
15295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15296 exec 5>>config.log
15297 {
15298   echo
15299   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15300 ## Running $as_me. ##
15301 _ASBOX
15302   $as_echo "$ac_log"
15303 } >&5
15304
15305 _ACEOF
15306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15307 #
15308 # INIT-COMMANDS
15309 #
15310 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15311
15312
15313 # The HP-UX ksh and POSIX shell print the target directory to stdout
15314 # if CDPATH is set.
15315 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15316
15317 sed_quote_subst='$sed_quote_subst'
15318 double_quote_subst='$double_quote_subst'
15319 delay_variable_subst='$delay_variable_subst'
15320 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15321 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15322 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15323 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15324 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15325 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15326 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15327 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15328 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15329 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15330 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15331 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15332 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15333 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15334 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15335 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15336 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15337 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15338 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15339 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15340 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15341 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15342 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15343 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15344 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15345 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15346 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15347 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15348 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15349 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15350 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15351 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15352 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15353 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15354 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15355 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15356 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15357 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15358 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15359 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15360 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15361 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15362 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15363 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15364 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15365 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15366 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15367 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15368 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15369 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15370 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15371 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15372 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15373 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15374 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15375 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15376 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15377 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15378 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"`'
15379 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15380 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15381 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15382 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15383 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15384 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15385 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15386 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15387 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15388 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15389 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15390 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15391 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15392 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15393 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15394 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15395 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15396 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15397 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15398 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15399 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15400 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15401 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15402 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15403 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15404 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15405 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15406 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15407 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15408 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15409 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15410 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15411 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15412 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15413 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15414 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15415 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15416 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15417 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15418 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15419 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15420 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15421 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15422 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15423 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15424 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15425 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15426 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15427 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15428 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15429 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15430 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15431 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15432 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15433 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15434 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15435 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15436 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15437 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15438 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15439 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15440 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15441 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15442 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15443 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15444 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15445 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15446 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15447 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15448 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15449 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15450 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15451 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15452 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15453 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15454 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15455
15456 LTCC='$LTCC'
15457 LTCFLAGS='$LTCFLAGS'
15458 compiler='$compiler_DEFAULT'
15459
15460 # A function that is used when there is no print builtin or printf.
15461 func_fallback_echo ()
15462 {
15463   eval 'cat <<_LTECHO_EOF
15464 \$1
15465 _LTECHO_EOF'
15466 }
15467
15468 # Quote evaled strings.
15469 for var in SHELL \
15470 ECHO \
15471 PATH_SEPARATOR \
15472 SED \
15473 GREP \
15474 EGREP \
15475 FGREP \
15476 LD \
15477 NM \
15478 LN_S \
15479 lt_SP2NL \
15480 lt_NL2SP \
15481 reload_flag \
15482 OBJDUMP \
15483 deplibs_check_method \
15484 file_magic_cmd \
15485 file_magic_glob \
15486 want_nocaseglob \
15487 DLLTOOL \
15488 sharedlib_from_linklib_cmd \
15489 AR \
15490 AR_FLAGS \
15491 archiver_list_spec \
15492 STRIP \
15493 RANLIB \
15494 CC \
15495 CFLAGS \
15496 compiler \
15497 lt_cv_sys_global_symbol_pipe \
15498 lt_cv_sys_global_symbol_to_cdecl \
15499 lt_cv_sys_global_symbol_to_import \
15500 lt_cv_sys_global_symbol_to_c_name_address \
15501 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15502 lt_cv_nm_interface \
15503 nm_file_list_spec \
15504 lt_cv_truncate_bin \
15505 lt_prog_compiler_no_builtin_flag \
15506 lt_prog_compiler_pic \
15507 lt_prog_compiler_wl \
15508 lt_prog_compiler_static \
15509 lt_cv_prog_compiler_c_o \
15510 need_locks \
15511 MANIFEST_TOOL \
15512 DSYMUTIL \
15513 NMEDIT \
15514 LIPO \
15515 OTOOL \
15516 OTOOL64 \
15517 shrext_cmds \
15518 export_dynamic_flag_spec \
15519 whole_archive_flag_spec \
15520 compiler_needs_object \
15521 with_gnu_ld \
15522 allow_undefined_flag \
15523 no_undefined_flag \
15524 hardcode_libdir_flag_spec \
15525 hardcode_libdir_separator \
15526 exclude_expsyms \
15527 include_expsyms \
15528 file_list_spec \
15529 variables_saved_for_relink \
15530 libname_spec \
15531 library_names_spec \
15532 soname_spec \
15533 install_override_mode \
15534 finish_eval \
15535 old_striplib \
15536 striplib; do
15537     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15538     *[\\\\\\\`\\"\\\$]*)
15539       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15540       ;;
15541     *)
15542       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15543       ;;
15544     esac
15545 done
15546
15547 # Double-quote double-evaled strings.
15548 for var in reload_cmds \
15549 old_postinstall_cmds \
15550 old_postuninstall_cmds \
15551 old_archive_cmds \
15552 extract_expsyms_cmds \
15553 old_archive_from_new_cmds \
15554 old_archive_from_expsyms_cmds \
15555 archive_cmds \
15556 archive_expsym_cmds \
15557 module_cmds \
15558 module_expsym_cmds \
15559 export_symbols_cmds \
15560 prelink_cmds \
15561 postlink_cmds \
15562 postinstall_cmds \
15563 postuninstall_cmds \
15564 finish_cmds \
15565 sys_lib_search_path_spec \
15566 configure_time_dlsearch_path \
15567 configure_time_lt_sys_library_path; do
15568     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15569     *[\\\\\\\`\\"\\\$]*)
15570       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15571       ;;
15572     *)
15573       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15574       ;;
15575     esac
15576 done
15577
15578 ac_aux_dir='$ac_aux_dir'
15579
15580 # See if we are running on zsh, and set the options that allow our
15581 # commands through without removal of \ escapes INIT.
15582 if test -n "\${ZSH_VERSION+set}"; then
15583    setopt NO_GLOB_SUBST
15584 fi
15585
15586
15587     PACKAGE='$PACKAGE'
15588     VERSION='$VERSION'
15589     RM='$RM'
15590     ofile='$ofile'
15591
15592
15593
15594
15595 _ACEOF
15596
15597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15598
15599 # Handling of arguments.
15600 for ac_config_target in $ac_config_targets
15601 do
15602   case $ac_config_target in
15603     "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h:src/include/config_h.in" ;;
15604     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15605     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15606     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15607
15608   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15609   esac
15610 done
15611
15612
15613 # If the user did not use the arguments to specify the items to instantiate,
15614 # then the envvar interface is used.  Set only those that are not.
15615 # We use the long form for the default assignment because of an extremely
15616 # bizarre bug on SunOS 4.1.3.
15617 if $ac_need_defaults; then
15618   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15619   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15620   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15621 fi
15622
15623 # Have a temporary directory for convenience.  Make it in the build tree
15624 # simply because there is no reason against having it here, and in addition,
15625 # creating and moving files from /tmp can sometimes cause problems.
15626 # Hook for its removal unless debugging.
15627 # Note that there is a small window in which the directory will not be cleaned:
15628 # after its creation but before its name has been assigned to `$tmp'.
15629 $debug ||
15630 {
15631   tmp= ac_tmp=
15632   trap 'exit_status=$?
15633   : "${ac_tmp:=$tmp}"
15634   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15635 ' 0
15636   trap 'as_fn_exit 1' 1 2 13 15
15637 }
15638 # Create a (secure) tmp directory for tmp files.
15639
15640 {
15641   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15642   test -d "$tmp"
15643 }  ||
15644 {
15645   tmp=./conf$$-$RANDOM
15646   (umask 077 && mkdir "$tmp")
15647 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15648 ac_tmp=$tmp
15649
15650 # Set up the scripts for CONFIG_FILES section.
15651 # No need to generate them if there are no CONFIG_FILES.
15652 # This happens for instance with `./config.status config.h'.
15653 if test -n "$CONFIG_FILES"; then
15654
15655
15656 ac_cr=`echo X | tr X '\015'`
15657 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15658 # But we know of no other shell where ac_cr would be empty at this
15659 # point, so we can use a bashism as a fallback.
15660 if test "x$ac_cr" = x; then
15661   eval ac_cr=\$\'\\r\'
15662 fi
15663 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15664 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15665   ac_cs_awk_cr='\\r'
15666 else
15667   ac_cs_awk_cr=$ac_cr
15668 fi
15669
15670 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15671 _ACEOF
15672
15673
15674 {
15675   echo "cat >conf$$subs.awk <<_ACEOF" &&
15676   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15677   echo "_ACEOF"
15678 } >conf$$subs.sh ||
15679   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15680 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15681 ac_delim='%!_!# '
15682 for ac_last_try in false false false false false :; do
15683   . ./conf$$subs.sh ||
15684     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15685
15686   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15687   if test $ac_delim_n = $ac_delim_num; then
15688     break
15689   elif $ac_last_try; then
15690     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15691   else
15692     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15693   fi
15694 done
15695 rm -f conf$$subs.sh
15696
15697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15698 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15699 _ACEOF
15700 sed -n '
15701 h
15702 s/^/S["/; s/!.*/"]=/
15703 p
15704 g
15705 s/^[^!]*!//
15706 :repl
15707 t repl
15708 s/'"$ac_delim"'$//
15709 t delim
15710 :nl
15711 h
15712 s/\(.\{148\}\)..*/\1/
15713 t more1
15714 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15715 p
15716 n
15717 b repl
15718 :more1
15719 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15720 p
15721 g
15722 s/.\{148\}//
15723 t nl
15724 :delim
15725 h
15726 s/\(.\{148\}\)..*/\1/
15727 t more2
15728 s/["\\]/\\&/g; s/^/"/; s/$/"/
15729 p
15730 b
15731 :more2
15732 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15733 p
15734 g
15735 s/.\{148\}//
15736 t delim
15737 ' <conf$$subs.awk | sed '
15738 /^[^""]/{
15739   N
15740   s/\n//
15741 }
15742 ' >>$CONFIG_STATUS || ac_write_fail=1
15743 rm -f conf$$subs.awk
15744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15745 _ACAWK
15746 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15747   for (key in S) S_is_set[key] = 1
15748   FS = "\a"
15749
15750 }
15751 {
15752   line = $ 0
15753   nfields = split(line, field, "@")
15754   substed = 0
15755   len = length(field[1])
15756   for (i = 2; i < nfields; i++) {
15757     key = field[i]
15758     keylen = length(key)
15759     if (S_is_set[key]) {
15760       value = S[key]
15761       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15762       len += length(value) + length(field[++i])
15763       substed = 1
15764     } else
15765       len += 1 + keylen
15766   }
15767
15768   print line
15769 }
15770
15771 _ACAWK
15772 _ACEOF
15773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15774 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15775   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15776 else
15777   cat
15778 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15779   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15780 _ACEOF
15781
15782 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15783 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15784 # trailing colons and then remove the whole line if VPATH becomes empty
15785 # (actually we leave an empty line to preserve line numbers).
15786 if test "x$srcdir" = x.; then
15787   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15788 h
15789 s///
15790 s/^/:/
15791 s/[      ]*$/:/
15792 s/:\$(srcdir):/:/g
15793 s/:\${srcdir}:/:/g
15794 s/:@srcdir@:/:/g
15795 s/^:*//
15796 s/:*$//
15797 x
15798 s/\(=[   ]*\).*/\1/
15799 G
15800 s/\n//
15801 s/^[^=]*=[       ]*$//
15802 }'
15803 fi
15804
15805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15806 fi # test -n "$CONFIG_FILES"
15807
15808 # Set up the scripts for CONFIG_HEADERS section.
15809 # No need to generate them if there are no CONFIG_HEADERS.
15810 # This happens for instance with `./config.status Makefile'.
15811 if test -n "$CONFIG_HEADERS"; then
15812 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15813 BEGIN {
15814 _ACEOF
15815
15816 # Transform confdefs.h into an awk script `defines.awk', embedded as
15817 # here-document in config.status, that substitutes the proper values into
15818 # config.h.in to produce config.h.
15819
15820 # Create a delimiter string that does not exist in confdefs.h, to ease
15821 # handling of long lines.
15822 ac_delim='%!_!# '
15823 for ac_last_try in false false :; do
15824   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15825   if test -z "$ac_tt"; then
15826     break
15827   elif $ac_last_try; then
15828     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15829   else
15830     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15831   fi
15832 done
15833
15834 # For the awk script, D is an array of macro values keyed by name,
15835 # likewise P contains macro parameters if any.  Preserve backslash
15836 # newline sequences.
15837
15838 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15839 sed -n '
15840 s/.\{148\}/&'"$ac_delim"'/g
15841 t rset
15842 :rset
15843 s/^[     ]*#[    ]*define[       ][      ]*/ /
15844 t def
15845 d
15846 :def
15847 s/\\$//
15848 t bsnl
15849 s/["\\]/\\&/g
15850 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15851 D["\1"]=" \3"/p
15852 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15853 d
15854 :bsnl
15855 s/["\\]/\\&/g
15856 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15857 D["\1"]=" \3\\\\\\n"\\/p
15858 t cont
15859 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15860 t cont
15861 d
15862 :cont
15863 n
15864 s/.\{148\}/&'"$ac_delim"'/g
15865 t clear
15866 :clear
15867 s/\\$//
15868 t bsnlc
15869 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15870 d
15871 :bsnlc
15872 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15873 b cont
15874 ' <confdefs.h | sed '
15875 s/'"$ac_delim"'/"\\\
15876 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15877
15878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15879   for (key in D) D_is_set[key] = 1
15880   FS = "\a"
15881 }
15882 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15883   line = \$ 0
15884   split(line, arg, " ")
15885   if (arg[1] == "#") {
15886     defundef = arg[2]
15887     mac1 = arg[3]
15888   } else {
15889     defundef = substr(arg[1], 2)
15890     mac1 = arg[2]
15891   }
15892   split(mac1, mac2, "(") #)
15893   macro = mac2[1]
15894   prefix = substr(line, 1, index(line, defundef) - 1)
15895   if (D_is_set[macro]) {
15896     # Preserve the white space surrounding the "#".
15897     print prefix "define", macro P[macro] D[macro]
15898     next
15899   } else {
15900     # Replace #undef with comments.  This is necessary, for example,
15901     # in the case of _POSIX_SOURCE, which is predefined and required
15902     # on some systems where configure will not decide to define it.
15903     if (defundef == "undef") {
15904       print "/*", prefix defundef, macro, "*/"
15905       next
15906     }
15907   }
15908 }
15909 { print }
15910 _ACAWK
15911 _ACEOF
15912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15913   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15914 fi # test -n "$CONFIG_HEADERS"
15915
15916
15917 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15918 shift
15919 for ac_tag
15920 do
15921   case $ac_tag in
15922   :[FHLC]) ac_mode=$ac_tag; continue;;
15923   esac
15924   case $ac_mode$ac_tag in
15925   :[FHL]*:*);;
15926   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15927   :[FH]-) ac_tag=-:-;;
15928   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15929   esac
15930   ac_save_IFS=$IFS
15931   IFS=:
15932   set x $ac_tag
15933   IFS=$ac_save_IFS
15934   shift
15935   ac_file=$1
15936   shift
15937
15938   case $ac_mode in
15939   :L) ac_source=$1;;
15940   :[FH])
15941     ac_file_inputs=
15942     for ac_f
15943     do
15944       case $ac_f in
15945       -) ac_f="$ac_tmp/stdin";;
15946       *) # Look for the file first in the build tree, then in the source tree
15947          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15948          # because $ac_f cannot contain `:'.
15949          test -f "$ac_f" ||
15950            case $ac_f in
15951            [\\/$]*) false;;
15952            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15953            esac ||
15954            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15955       esac
15956       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15957       as_fn_append ac_file_inputs " '$ac_f'"
15958     done
15959
15960     # Let's still pretend it is `configure' which instantiates (i.e., don't
15961     # use $as_me), people would be surprised to read:
15962     #    /* config.h.  Generated by config.status.  */
15963     configure_input='Generated from '`
15964           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15965         `' by configure.'
15966     if test x"$ac_file" != x-; then
15967       configure_input="$ac_file.  $configure_input"
15968       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15969 $as_echo "$as_me: creating $ac_file" >&6;}
15970     fi
15971     # Neutralize special characters interpreted by sed in replacement strings.
15972     case $configure_input in #(
15973     *\&* | *\|* | *\\* )
15974        ac_sed_conf_input=`$as_echo "$configure_input" |
15975        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15976     *) ac_sed_conf_input=$configure_input;;
15977     esac
15978
15979     case $ac_tag in
15980     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15981       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15982     esac
15983     ;;
15984   esac
15985
15986   ac_dir=`$as_dirname -- "$ac_file" ||
15987 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15988          X"$ac_file" : 'X\(//\)[^/]' \| \
15989          X"$ac_file" : 'X\(//\)$' \| \
15990          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15991 $as_echo X"$ac_file" |
15992     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15993             s//\1/
15994             q
15995           }
15996           /^X\(\/\/\)[^/].*/{
15997             s//\1/
15998             q
15999           }
16000           /^X\(\/\/\)$/{
16001             s//\1/
16002             q
16003           }
16004           /^X\(\/\).*/{
16005             s//\1/
16006             q
16007           }
16008           s/.*/./; q'`
16009   as_dir="$ac_dir"; as_fn_mkdir_p
16010   ac_builddir=.
16011
16012 case "$ac_dir" in
16013 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16014 *)
16015   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16016   # A ".." for each directory in $ac_dir_suffix.
16017   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16018   case $ac_top_builddir_sub in
16019   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16020   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16021   esac ;;
16022 esac
16023 ac_abs_top_builddir=$ac_pwd
16024 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16025 # for backward compatibility:
16026 ac_top_builddir=$ac_top_build_prefix
16027
16028 case $srcdir in
16029   .)  # We are building in place.
16030     ac_srcdir=.
16031     ac_top_srcdir=$ac_top_builddir_sub
16032     ac_abs_top_srcdir=$ac_pwd ;;
16033   [\\/]* | ?:[\\/]* )  # Absolute name.
16034     ac_srcdir=$srcdir$ac_dir_suffix;
16035     ac_top_srcdir=$srcdir
16036     ac_abs_top_srcdir=$srcdir ;;
16037   *) # Relative name.
16038     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16039     ac_top_srcdir=$ac_top_build_prefix$srcdir
16040     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16041 esac
16042 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16043
16044
16045   case $ac_mode in
16046   :F)
16047   #
16048   # CONFIG_FILE
16049   #
16050
16051   case $INSTALL in
16052   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16053   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16054   esac
16055   ac_MKDIR_P=$MKDIR_P
16056   case $MKDIR_P in
16057   [\\/$]* | ?:[\\/]* ) ;;
16058   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16059   esac
16060 _ACEOF
16061
16062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16063 # If the template does not know about datarootdir, expand it.
16064 # FIXME: This hack should be removed a few years after 2.60.
16065 ac_datarootdir_hack=; ac_datarootdir_seen=
16066 ac_sed_dataroot='
16067 /datarootdir/ {
16068   p
16069   q
16070 }
16071 /@datadir@/p
16072 /@docdir@/p
16073 /@infodir@/p
16074 /@localedir@/p
16075 /@mandir@/p'
16076 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16077 *datarootdir*) ac_datarootdir_seen=yes;;
16078 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16079   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16080 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16081 _ACEOF
16082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16083   ac_datarootdir_hack='
16084   s&@datadir@&$datadir&g
16085   s&@docdir@&$docdir&g
16086   s&@infodir@&$infodir&g
16087   s&@localedir@&$localedir&g
16088   s&@mandir@&$mandir&g
16089   s&\\\${datarootdir}&$datarootdir&g' ;;
16090 esac
16091 _ACEOF
16092
16093 # Neutralize VPATH when `$srcdir' = `.'.
16094 # Shell code in configure.ac might set extrasub.
16095 # FIXME: do we really want to maintain this feature?
16096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16097 ac_sed_extra="$ac_vpsub
16098 $extrasub
16099 _ACEOF
16100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16101 :t
16102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16103 s|@configure_input@|$ac_sed_conf_input|;t t
16104 s&@top_builddir@&$ac_top_builddir_sub&;t t
16105 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16106 s&@srcdir@&$ac_srcdir&;t t
16107 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16108 s&@top_srcdir@&$ac_top_srcdir&;t t
16109 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16110 s&@builddir@&$ac_builddir&;t t
16111 s&@abs_builddir@&$ac_abs_builddir&;t t
16112 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16113 s&@INSTALL@&$ac_INSTALL&;t t
16114 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16115 $ac_datarootdir_hack
16116 "
16117 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16118   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16119
16120 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16121   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16122   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16123       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16124   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16125 which seems to be undefined.  Please make sure it is defined" >&5
16126 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16127 which seems to be undefined.  Please make sure it is defined" >&2;}
16128
16129   rm -f "$ac_tmp/stdin"
16130   case $ac_file in
16131   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16132   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16133   esac \
16134   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16135  ;;
16136   :H)
16137   #
16138   # CONFIG_HEADER
16139   #
16140   if test x"$ac_file" != x-; then
16141     {
16142       $as_echo "/* $configure_input  */" \
16143       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16144     } >"$ac_tmp/config.h" \
16145       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16146     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16147       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16148 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16149     else
16150       rm -f "$ac_file"
16151       mv "$ac_tmp/config.h" "$ac_file" \
16152         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16153     fi
16154   else
16155     $as_echo "/* $configure_input  */" \
16156       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16157       || as_fn_error $? "could not create -" "$LINENO" 5
16158   fi
16159 # Compute "$ac_file"'s index in $config_headers.
16160 _am_arg="$ac_file"
16161 _am_stamp_count=1
16162 for _am_header in $config_headers :; do
16163   case $_am_header in
16164     $_am_arg | $_am_arg:* )
16165       break ;;
16166     * )
16167       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16168   esac
16169 done
16170 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16171 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16172          X"$_am_arg" : 'X\(//\)[^/]' \| \
16173          X"$_am_arg" : 'X\(//\)$' \| \
16174          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16175 $as_echo X"$_am_arg" |
16176     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16177             s//\1/
16178             q
16179           }
16180           /^X\(\/\/\)[^/].*/{
16181             s//\1/
16182             q
16183           }
16184           /^X\(\/\/\)$/{
16185             s//\1/
16186             q
16187           }
16188           /^X\(\/\).*/{
16189             s//\1/
16190             q
16191           }
16192           s/.*/./; q'`/stamp-h$_am_stamp_count
16193  ;;
16194
16195   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16196 $as_echo "$as_me: executing $ac_file commands" >&6;}
16197  ;;
16198   esac
16199
16200
16201   case $ac_file$ac_mode in
16202     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16203   # Older Autoconf quotes --file arguments for eval, but not when files
16204   # are listed without --file.  Let's play safe and only enable the eval
16205   # if we detect the quoting.
16206   case $CONFIG_FILES in
16207   *\'*) eval set x "$CONFIG_FILES" ;;
16208   *)   set x $CONFIG_FILES ;;
16209   esac
16210   shift
16211   for mf
16212   do
16213     # Strip MF so we end up with the name of the file.
16214     mf=`echo "$mf" | sed -e 's/:.*$//'`
16215     # Check whether this is an Automake generated Makefile or not.
16216     # We used to match only the files named 'Makefile.in', but
16217     # some people rename them; so instead we look at the file content.
16218     # Grep'ing the first line is not enough: some people post-process
16219     # each Makefile.in and add a new line on top of each file to say so.
16220     # Grep'ing the whole file is not good either: AIX grep has a line
16221     # limit of 2048, but all sed's we know have understand at least 4000.
16222     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16223       dirpart=`$as_dirname -- "$mf" ||
16224 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16225          X"$mf" : 'X\(//\)[^/]' \| \
16226          X"$mf" : 'X\(//\)$' \| \
16227          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16228 $as_echo X"$mf" |
16229     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16230             s//\1/
16231             q
16232           }
16233           /^X\(\/\/\)[^/].*/{
16234             s//\1/
16235             q
16236           }
16237           /^X\(\/\/\)$/{
16238             s//\1/
16239             q
16240           }
16241           /^X\(\/\).*/{
16242             s//\1/
16243             q
16244           }
16245           s/.*/./; q'`
16246     else
16247       continue
16248     fi
16249     # Extract the definition of DEPDIR, am__include, and am__quote
16250     # from the Makefile without running 'make'.
16251     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16252     test -z "$DEPDIR" && continue
16253     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16254     test -z "$am__include" && continue
16255     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16256     # Find all dependency output files, they are included files with
16257     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16258     # simplest approach to changing $(DEPDIR) to its actual value in the
16259     # expansion.
16260     for file in `sed -n "
16261       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16262          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16263       # Make sure the directory exists.
16264       test -f "$dirpart/$file" && continue
16265       fdir=`$as_dirname -- "$file" ||
16266 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16267          X"$file" : 'X\(//\)[^/]' \| \
16268          X"$file" : 'X\(//\)$' \| \
16269          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16270 $as_echo X"$file" |
16271     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16272             s//\1/
16273             q
16274           }
16275           /^X\(\/\/\)[^/].*/{
16276             s//\1/
16277             q
16278           }
16279           /^X\(\/\/\)$/{
16280             s//\1/
16281             q
16282           }
16283           /^X\(\/\).*/{
16284             s//\1/
16285             q
16286           }
16287           s/.*/./; q'`
16288       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16289       # echo "creating $dirpart/$file"
16290       echo '# dummy' > "$dirpart/$file"
16291     done
16292   done
16293 }
16294  ;;
16295     "libtool":C)
16296
16297     # See if we are running on zsh, and set the options that allow our
16298     # commands through without removal of \ escapes.
16299     if test -n "${ZSH_VERSION+set}"; then
16300       setopt NO_GLOB_SUBST
16301     fi
16302
16303     cfgfile=${ofile}T
16304     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16305     $RM "$cfgfile"
16306
16307     cat <<_LT_EOF >> "$cfgfile"
16308 #! $SHELL
16309 # Generated automatically by $as_me ($PACKAGE) $VERSION
16310 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16311
16312 # Provide generalized library-building support services.
16313 # Written by Gordon Matzigkeit, 1996
16314
16315 # Copyright (C) 2014 Free Software Foundation, Inc.
16316 # This is free software; see the source for copying conditions.  There is NO
16317 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16318
16319 # GNU Libtool is free software; you can redistribute it and/or modify
16320 # it under the terms of the GNU General Public License as published by
16321 # the Free Software Foundation; either version 2 of of the License, or
16322 # (at your option) any later version.
16323 #
16324 # As a special exception to the GNU General Public License, if you
16325 # distribute this file as part of a program or library that is built
16326 # using GNU Libtool, you may include this file under the  same
16327 # distribution terms that you use for the rest of that program.
16328 #
16329 # GNU Libtool is distributed in the hope that it will be useful, but
16330 # WITHOUT ANY WARRANTY; without even the implied warranty of
16331 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16332 # GNU General Public License for more details.
16333 #
16334 # You should have received a copy of the GNU General Public License
16335 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
16336
16337
16338 # The names of the tagged configurations supported by this script.
16339 available_tags=''
16340
16341 # Configured defaults for sys_lib_dlsearch_path munging.
16342 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16343
16344 # ### BEGIN LIBTOOL CONFIG
16345
16346 # Which release of libtool.m4 was used?
16347 macro_version=$macro_version
16348 macro_revision=$macro_revision
16349
16350 # Whether or not to build shared libraries.
16351 build_libtool_libs=$enable_shared
16352
16353 # Whether or not to build static libraries.
16354 build_old_libs=$enable_static
16355
16356 # What type of objects to build.
16357 pic_mode=$pic_mode
16358
16359 # Whether or not to optimize for fast installation.
16360 fast_install=$enable_fast_install
16361
16362 # Shared archive member basename,for filename based shared library versioning on AIX.
16363 shared_archive_member_spec=$shared_archive_member_spec
16364
16365 # Shell to use when invoking shell scripts.
16366 SHELL=$lt_SHELL
16367
16368 # An echo program that protects backslashes.
16369 ECHO=$lt_ECHO
16370
16371 # The PATH separator for the build system.
16372 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16373
16374 # The host system.
16375 host_alias=$host_alias
16376 host=$host
16377 host_os=$host_os
16378
16379 # The build system.
16380 build_alias=$build_alias
16381 build=$build
16382 build_os=$build_os
16383
16384 # A sed program that does not truncate output.
16385 SED=$lt_SED
16386
16387 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16388 Xsed="\$SED -e 1s/^X//"
16389
16390 # A grep program that handles long lines.
16391 GREP=$lt_GREP
16392
16393 # An ERE matcher.
16394 EGREP=$lt_EGREP
16395
16396 # A literal string matcher.
16397 FGREP=$lt_FGREP
16398
16399 # A BSD- or MS-compatible name lister.
16400 NM=$lt_NM
16401
16402 # Whether we need soft or hard links.
16403 LN_S=$lt_LN_S
16404
16405 # What is the maximum length of a command?
16406 max_cmd_len=$max_cmd_len
16407
16408 # Object file suffix (normally "o").
16409 objext=$ac_objext
16410
16411 # Executable file suffix (normally "").
16412 exeext=$exeext
16413
16414 # whether the shell understands "unset".
16415 lt_unset=$lt_unset
16416
16417 # turn spaces into newlines.
16418 SP2NL=$lt_lt_SP2NL
16419
16420 # turn newlines into spaces.
16421 NL2SP=$lt_lt_NL2SP
16422
16423 # convert \$build file names to \$host format.
16424 to_host_file_cmd=$lt_cv_to_host_file_cmd
16425
16426 # convert \$build files to toolchain format.
16427 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16428
16429 # An object symbol dumper.
16430 OBJDUMP=$lt_OBJDUMP
16431
16432 # Method to check whether dependent libraries are shared objects.
16433 deplibs_check_method=$lt_deplibs_check_method
16434
16435 # Command to use when deplibs_check_method = "file_magic".
16436 file_magic_cmd=$lt_file_magic_cmd
16437
16438 # How to find potential files when deplibs_check_method = "file_magic".
16439 file_magic_glob=$lt_file_magic_glob
16440
16441 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16442 want_nocaseglob=$lt_want_nocaseglob
16443
16444 # DLL creation program.
16445 DLLTOOL=$lt_DLLTOOL
16446
16447 # Command to associate shared and link libraries.
16448 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16449
16450 # The archiver.
16451 AR=$lt_AR
16452
16453 # Flags to create an archive.
16454 AR_FLAGS=$lt_AR_FLAGS
16455
16456 # How to feed a file listing to the archiver.
16457 archiver_list_spec=$lt_archiver_list_spec
16458
16459 # A symbol stripping program.
16460 STRIP=$lt_STRIP
16461
16462 # Commands used to install an old-style archive.
16463 RANLIB=$lt_RANLIB
16464 old_postinstall_cmds=$lt_old_postinstall_cmds
16465 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16466
16467 # Whether to use a lock for old archive extraction.
16468 lock_old_archive_extraction=$lock_old_archive_extraction
16469
16470 # A C compiler.
16471 LTCC=$lt_CC
16472
16473 # LTCC compiler flags.
16474 LTCFLAGS=$lt_CFLAGS
16475
16476 # Take the output of nm and produce a listing of raw symbols and C names.
16477 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16478
16479 # Transform the output of nm in a proper C declaration.
16480 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16481
16482 # Transform the output of nm into a list of symbols to manually relocate.
16483 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16484
16485 # Transform the output of nm in a C name address pair.
16486 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16487
16488 # Transform the output of nm in a C name address pair when lib prefix is needed.
16489 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16490
16491 # The name lister interface.
16492 nm_interface=$lt_lt_cv_nm_interface
16493
16494 # Specify filename containing input files for \$NM.
16495 nm_file_list_spec=$lt_nm_file_list_spec
16496
16497 # The root where to search for dependent libraries,and where our libraries should be installed.
16498 lt_sysroot=$lt_sysroot
16499
16500 # Command to truncate a binary pipe.
16501 lt_truncate_bin=$lt_lt_cv_truncate_bin
16502
16503 # The name of the directory that contains temporary libtool files.
16504 objdir=$objdir
16505
16506 # Used to examine libraries when file_magic_cmd begins with "file".
16507 MAGIC_CMD=$MAGIC_CMD
16508
16509 # Must we lock files when doing compilation?
16510 need_locks=$lt_need_locks
16511
16512 # Manifest tool.
16513 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16514
16515 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16516 DSYMUTIL=$lt_DSYMUTIL
16517
16518 # Tool to change global to local symbols on Mac OS X.
16519 NMEDIT=$lt_NMEDIT
16520
16521 # Tool to manipulate fat objects and archives on Mac OS X.
16522 LIPO=$lt_LIPO
16523
16524 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16525 OTOOL=$lt_OTOOL
16526
16527 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16528 OTOOL64=$lt_OTOOL64
16529
16530 # Old archive suffix (normally "a").
16531 libext=$libext
16532
16533 # Shared library suffix (normally ".so").
16534 shrext_cmds=$lt_shrext_cmds
16535
16536 # The commands to extract the exported symbol list from a shared archive.
16537 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16538
16539 # Variables whose values should be saved in libtool wrapper scripts and
16540 # restored at link time.
16541 variables_saved_for_relink=$lt_variables_saved_for_relink
16542
16543 # Do we need the "lib" prefix for modules?
16544 need_lib_prefix=$need_lib_prefix
16545
16546 # Do we need a version for libraries?
16547 need_version=$need_version
16548
16549 # Library versioning type.
16550 version_type=$version_type
16551
16552 # Shared library runtime path variable.
16553 runpath_var=$runpath_var
16554
16555 # Shared library path variable.
16556 shlibpath_var=$shlibpath_var
16557
16558 # Is shlibpath searched before the hard-coded library search path?
16559 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16560
16561 # Format of library name prefix.
16562 libname_spec=$lt_libname_spec
16563
16564 # List of archive names.  First name is the real one, the rest are links.
16565 # The last name is the one that the linker finds with -lNAME
16566 library_names_spec=$lt_library_names_spec
16567
16568 # The coded name of the library, if different from the real name.
16569 soname_spec=$lt_soname_spec
16570
16571 # Permission mode override for installation of shared libraries.
16572 install_override_mode=$lt_install_override_mode
16573
16574 # Command to use after installation of a shared archive.
16575 postinstall_cmds=$lt_postinstall_cmds
16576
16577 # Command to use after uninstallation of a shared archive.
16578 postuninstall_cmds=$lt_postuninstall_cmds
16579
16580 # Commands used to finish a libtool library installation in a directory.
16581 finish_cmds=$lt_finish_cmds
16582
16583 # As "finish_cmds", except a single script fragment to be evaled but
16584 # not shown.
16585 finish_eval=$lt_finish_eval
16586
16587 # Whether we should hardcode library paths into libraries.
16588 hardcode_into_libs=$hardcode_into_libs
16589
16590 # Compile-time system search path for libraries.
16591 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16592
16593 # Detected run-time system search path for libraries.
16594 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16595
16596 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16597 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16598
16599 # Whether dlopen is supported.
16600 dlopen_support=$enable_dlopen
16601
16602 # Whether dlopen of programs is supported.
16603 dlopen_self=$enable_dlopen_self
16604
16605 # Whether dlopen of statically linked programs is supported.
16606 dlopen_self_static=$enable_dlopen_self_static
16607
16608 # Commands to strip libraries.
16609 old_striplib=$lt_old_striplib
16610 striplib=$lt_striplib
16611
16612
16613 # The linker used to build libraries.
16614 LD=$lt_LD
16615
16616 # How to create reloadable object files.
16617 reload_flag=$lt_reload_flag
16618 reload_cmds=$lt_reload_cmds
16619
16620 # Commands used to build an old-style archive.
16621 old_archive_cmds=$lt_old_archive_cmds
16622
16623 # A language specific compiler.
16624 CC=$lt_compiler
16625
16626 # Is the compiler the GNU compiler?
16627 with_gcc=$GCC
16628
16629 # Compiler flag to turn off builtin functions.
16630 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16631
16632 # Additional compiler flags for building library objects.
16633 pic_flag=$lt_lt_prog_compiler_pic
16634
16635 # How to pass a linker flag through the compiler.
16636 wl=$lt_lt_prog_compiler_wl
16637
16638 # Compiler flag to prevent dynamic linking.
16639 link_static_flag=$lt_lt_prog_compiler_static
16640
16641 # Does compiler simultaneously support -c and -o options?
16642 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16643
16644 # Whether or not to add -lc for building shared libraries.
16645 build_libtool_need_lc=$archive_cmds_need_lc
16646
16647 # Whether or not to disallow shared libs when runtime libs are static.
16648 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16649
16650 # Compiler flag to allow reflexive dlopens.
16651 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16652
16653 # Compiler flag to generate shared objects directly from archives.
16654 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16655
16656 # Whether the compiler copes with passing no objects directly.
16657 compiler_needs_object=$lt_compiler_needs_object
16658
16659 # Create an old-style archive from a shared archive.
16660 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16661
16662 # Create a temporary old-style archive to link instead of a shared archive.
16663 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16664
16665 # Commands used to build a shared archive.
16666 archive_cmds=$lt_archive_cmds
16667 archive_expsym_cmds=$lt_archive_expsym_cmds
16668
16669 # Commands used to build a loadable module if different from building
16670 # a shared archive.
16671 module_cmds=$lt_module_cmds
16672 module_expsym_cmds=$lt_module_expsym_cmds
16673
16674 # Whether we are building with GNU ld or not.
16675 with_gnu_ld=$lt_with_gnu_ld
16676
16677 # Flag that allows shared libraries with undefined symbols to be built.
16678 allow_undefined_flag=$lt_allow_undefined_flag
16679
16680 # Flag that enforces no undefined symbols.
16681 no_undefined_flag=$lt_no_undefined_flag
16682
16683 # Flag to hardcode \$libdir into a binary during linking.
16684 # This must work even if \$libdir does not exist
16685 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16686
16687 # Whether we need a single "-rpath" flag with a separated argument.
16688 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16689
16690 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16691 # DIR into the resulting binary.
16692 hardcode_direct=$hardcode_direct
16693
16694 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16695 # DIR into the resulting binary and the resulting library dependency is
16696 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16697 # library is relocated.
16698 hardcode_direct_absolute=$hardcode_direct_absolute
16699
16700 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16701 # into the resulting binary.
16702 hardcode_minus_L=$hardcode_minus_L
16703
16704 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16705 # into the resulting binary.
16706 hardcode_shlibpath_var=$hardcode_shlibpath_var
16707
16708 # Set to "yes" if building a shared library automatically hardcodes DIR
16709 # into the library and all subsequent libraries and executables linked
16710 # against it.
16711 hardcode_automatic=$hardcode_automatic
16712
16713 # Set to yes if linker adds runtime paths of dependent libraries
16714 # to runtime path list.
16715 inherit_rpath=$inherit_rpath
16716
16717 # Whether libtool must link a program against all its dependency libraries.
16718 link_all_deplibs=$link_all_deplibs
16719
16720 # Set to "yes" if exported symbols are required.
16721 always_export_symbols=$always_export_symbols
16722
16723 # The commands to list exported symbols.
16724 export_symbols_cmds=$lt_export_symbols_cmds
16725
16726 # Symbols that should not be listed in the preloaded symbols.
16727 exclude_expsyms=$lt_exclude_expsyms
16728
16729 # Symbols that must always be exported.
16730 include_expsyms=$lt_include_expsyms
16731
16732 # Commands necessary for linking programs (against libraries) with templates.
16733 prelink_cmds=$lt_prelink_cmds
16734
16735 # Commands necessary for finishing linking programs.
16736 postlink_cmds=$lt_postlink_cmds
16737
16738 # Specify filename containing input files.
16739 file_list_spec=$lt_file_list_spec
16740
16741 # How to hardcode a shared library path into an executable.
16742 hardcode_action=$hardcode_action
16743
16744 # ### END LIBTOOL CONFIG
16745
16746 _LT_EOF
16747
16748     cat <<'_LT_EOF' >> "$cfgfile"
16749
16750 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16751
16752 # func_munge_path_list VARIABLE PATH
16753 # -----------------------------------
16754 # VARIABLE is name of variable containing _space_ separated list of
16755 # directories to be munged by the contents of PATH, which is string
16756 # having a format:
16757 # "DIR[:DIR]:"
16758 #       string "DIR[ DIR]" will be prepended to VARIABLE
16759 # ":DIR[:DIR]"
16760 #       string "DIR[ DIR]" will be appended to VARIABLE
16761 # "DIRP[:DIRP]::[DIRA:]DIRA"
16762 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16763 #       "DIRA[ DIRA]" will be appended to VARIABLE
16764 # "DIR[:DIR]"
16765 #       VARIABLE will be replaced by "DIR[ DIR]"
16766 func_munge_path_list ()
16767 {
16768     case x$2 in
16769     x)
16770         ;;
16771     *:)
16772         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16773         ;;
16774     x:*)
16775         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16776         ;;
16777     *::*)
16778         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16779         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16780         ;;
16781     *)
16782         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16783         ;;
16784     esac
16785 }
16786
16787
16788 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
16789 func_cc_basename ()
16790 {
16791     for cc_temp in $*""; do
16792       case $cc_temp in
16793         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16794         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16795         \-*) ;;
16796         *) break;;
16797       esac
16798     done
16799     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16800 }
16801
16802
16803 # ### END FUNCTIONS SHARED WITH CONFIGURE
16804
16805 _LT_EOF
16806
16807   case $host_os in
16808   aix3*)
16809     cat <<\_LT_EOF >> "$cfgfile"
16810 # AIX sometimes has problems with the GCC collect2 program.  For some
16811 # reason, if we set the COLLECT_NAMES environment variable, the problems
16812 # vanish in a puff of smoke.
16813 if test set != "${COLLECT_NAMES+set}"; then
16814   COLLECT_NAMES=
16815   export COLLECT_NAMES
16816 fi
16817 _LT_EOF
16818     ;;
16819   esac
16820
16821
16822 ltmain=$ac_aux_dir/ltmain.sh
16823
16824
16825   # We use sed instead of cat because bash on DJGPP gets confused if
16826   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16827   # text mode, it properly converts lines to CR/LF.  This bash problem
16828   # is reportedly fixed, but why not run on old versions too?
16829   sed '$q' "$ltmain" >> "$cfgfile" \
16830      || (rm -f "$cfgfile"; exit 1)
16831
16832    mv -f "$cfgfile" "$ofile" ||
16833     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16834   chmod +x "$ofile"
16835
16836  ;;
16837
16838   esac
16839 done # for ac_tag
16840
16841
16842 as_fn_exit 0
16843 _ACEOF
16844 ac_clean_files=$ac_clean_files_save
16845
16846 test $ac_write_fail = 0 ||
16847   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16848
16849
16850 # configure is writing to config.log, and then calls config.status.
16851 # config.status does its own redirection, appending to config.log.
16852 # Unfortunately, on DOS this fails, as config.log is still kept open
16853 # by configure, so config.status won't be able to write to it; its
16854 # output is simply discarded.  So we exec the FD to /dev/null,
16855 # effectively closing config.log, so it can be properly (re)opened and
16856 # appended to by config.status.  When coming back to configure, we
16857 # need to make the FD available again.
16858 if test "$no_create" != yes; then
16859   ac_cs_success=:
16860   ac_config_status_args=
16861   test "$silent" = yes &&
16862     ac_config_status_args="$ac_config_status_args --quiet"
16863   exec 5>/dev/null
16864   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16865   exec 5>>config.log
16866   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16867   # would make configure fail if this is the last instruction.
16868   $ac_cs_success || as_fn_exit 1
16869 fi
16870 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16871   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16872 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16873 fi
16874
16875 ac_config_files="$ac_config_files setup.py"
16876
16877 cat >confcache <<\_ACEOF
16878 # This file is a shell script that caches the results of configure
16879 # tests run on this system so they can be shared between configure
16880 # scripts and configure runs, see configure's option --config-cache.
16881 # It is not useful on other systems.  If it contains results you don't
16882 # want to keep, you may remove or edit it.
16883 #
16884 # config.status only pays attention to the cache file if you give it
16885 # the --recheck option to rerun configure.
16886 #
16887 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16888 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16889 # following values.
16890
16891 _ACEOF
16892
16893 # The following way of writing the cache mishandles newlines in values,
16894 # but we know of no workaround that is simple, portable, and efficient.
16895 # So, we kill variables containing newlines.
16896 # Ultrix sh set writes to stderr and can't be redirected directly,
16897 # and sets the high bit in the cache file unless we assign to the vars.
16898 (
16899   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16900     eval ac_val=\$$ac_var
16901     case $ac_val in #(
16902     *${as_nl}*)
16903       case $ac_var in #(
16904       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16905 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16906       esac
16907       case $ac_var in #(
16908       _ | IFS | as_nl) ;; #(
16909       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16910       *) { eval $ac_var=; unset $ac_var;} ;;
16911       esac ;;
16912     esac
16913   done
16914
16915   (set) 2>&1 |
16916     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16917     *${as_nl}ac_space=\ *)
16918       # `set' does not quote correctly, so add quotes: double-quote
16919       # substitution turns \\\\ into \\, and sed turns \\ into \.
16920       sed -n \
16921         "s/'/'\\\\''/g;
16922           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16923       ;; #(
16924     *)
16925       # `set' quotes correctly as required by POSIX, so do not add quotes.
16926       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16927       ;;
16928     esac |
16929     sort
16930 ) |
16931   sed '
16932      /^ac_cv_env_/b end
16933      t clear
16934      :clear
16935      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16936      t end
16937      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16938      :end' >>confcache
16939 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16940   if test -w "$cache_file"; then
16941     if test "x$cache_file" != "x/dev/null"; then
16942       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16943 $as_echo "$as_me: updating cache $cache_file" >&6;}
16944       if test ! -f "$cache_file" || test -h "$cache_file"; then
16945         cat confcache >"$cache_file"
16946       else
16947         case $cache_file in #(
16948         */* | ?:*)
16949           mv -f confcache "$cache_file"$$ &&
16950           mv -f "$cache_file"$$ "$cache_file" ;; #(
16951         *)
16952           mv -f confcache "$cache_file" ;;
16953         esac
16954       fi
16955     fi
16956   else
16957     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16958 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16959   fi
16960 fi
16961 rm -f confcache
16962
16963 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16964 # Let make expand exec_prefix.
16965 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16966
16967 DEFS=-DHAVE_CONFIG_H
16968
16969 ac_libobjs=
16970 ac_ltlibobjs=
16971 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16972   # 1. Remove the extension, and $U if already installed.
16973   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16974   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16975   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16976   #    will be set to the directory where LIBOBJS objects are built.
16977   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16978   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16979 done
16980 LIBOBJS=$ac_libobjs
16981
16982 LTLIBOBJS=$ac_ltlibobjs
16983
16984
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16986 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16987    if test -n "$am_sleep_pid"; then
16988      # Hide warnings about reused PIDs.
16989      wait $am_sleep_pid 2>/dev/null
16990    fi
16991    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16992 $as_echo "done" >&6; }
16993  if test -n "$EXEEXT"; then
16994   am__EXEEXT_TRUE=
16995   am__EXEEXT_FALSE='#'
16996 else
16997   am__EXEEXT_TRUE='#'
16998   am__EXEEXT_FALSE=
16999 fi
17000
17001 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17002   as_fn_error $? "conditional \"AMDEP\" was never defined.
17003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17004 fi
17005 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17006   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17008 fi
17009 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17010   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17012 fi
17013 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
17014   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
17015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17016 fi
17017
17018 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
17019   as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
17020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17021 fi
17022
17023 : "${CONFIG_STATUS=./config.status}"
17024 ac_write_fail=0
17025 ac_clean_files_save=$ac_clean_files
17026 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17028 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17029 as_write_fail=0
17030 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17031 #! $SHELL
17032 # Generated by $as_me.
17033 # Run this file to recreate the current configuration.
17034 # Compiler output produced by configure, useful for debugging
17035 # configure, is in config.log if it exists.
17036
17037 debug=false
17038 ac_cs_recheck=false
17039 ac_cs_silent=false
17040
17041 SHELL=\${CONFIG_SHELL-$SHELL}
17042 export SHELL
17043 _ASEOF
17044 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17045 ## -------------------- ##
17046 ## M4sh Initialization. ##
17047 ## -------------------- ##
17048
17049 # Be more Bourne compatible
17050 DUALCASE=1; export DUALCASE # for MKS sh
17051 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17052   emulate sh
17053   NULLCMD=:
17054   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17055   # is contrary to our usage.  Disable this feature.
17056   alias -g '${1+"$@"}'='"$@"'
17057   setopt NO_GLOB_SUBST
17058 else
17059   case `(set -o) 2>/dev/null` in #(
17060   *posix*) :
17061     set -o posix ;; #(
17062   *) :
17063      ;;
17064 esac
17065 fi
17066
17067
17068 as_nl='
17069 '
17070 export as_nl
17071 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17072 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17073 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17074 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17075 # Prefer a ksh shell builtin over an external printf program on Solaris,
17076 # but without wasting forks for bash or zsh.
17077 if test -z "$BASH_VERSION$ZSH_VERSION" \
17078     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17079   as_echo='print -r --'
17080   as_echo_n='print -rn --'
17081 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17082   as_echo='printf %s\n'
17083   as_echo_n='printf %s'
17084 else
17085   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17086     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17087     as_echo_n='/usr/ucb/echo -n'
17088   else
17089     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17090     as_echo_n_body='eval
17091       arg=$1;
17092       case $arg in #(
17093       *"$as_nl"*)
17094         expr "X$arg" : "X\\(.*\\)$as_nl";
17095         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17096       esac;
17097       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17098     '
17099     export as_echo_n_body
17100     as_echo_n='sh -c $as_echo_n_body as_echo'
17101   fi
17102   export as_echo_body
17103   as_echo='sh -c $as_echo_body as_echo'
17104 fi
17105
17106 # The user is always right.
17107 if test "${PATH_SEPARATOR+set}" != set; then
17108   PATH_SEPARATOR=:
17109   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17110     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17111       PATH_SEPARATOR=';'
17112   }
17113 fi
17114
17115
17116 # IFS
17117 # We need space, tab and new line, in precisely that order.  Quoting is
17118 # there to prevent editors from complaining about space-tab.
17119 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17120 # splitting by setting IFS to empty value.)
17121 IFS=" ""        $as_nl"
17122
17123 # Find who we are.  Look in the path if we contain no directory separator.
17124 as_myself=
17125 case $0 in #((
17126   *[\\/]* ) as_myself=$0 ;;
17127   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17128 for as_dir in $PATH
17129 do
17130   IFS=$as_save_IFS
17131   test -z "$as_dir" && as_dir=.
17132     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17133   done
17134 IFS=$as_save_IFS
17135
17136      ;;
17137 esac
17138 # We did not find ourselves, most probably we were run as `sh COMMAND'
17139 # in which case we are not to be found in the path.
17140 if test "x$as_myself" = x; then
17141   as_myself=$0
17142 fi
17143 if test ! -f "$as_myself"; then
17144   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17145   exit 1
17146 fi
17147
17148 # Unset variables that we do not need and which cause bugs (e.g. in
17149 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17150 # suppresses any "Segmentation fault" message there.  '((' could
17151 # trigger a bug in pdksh 5.2.14.
17152 for as_var in BASH_ENV ENV MAIL MAILPATH
17153 do eval test x\${$as_var+set} = xset \
17154   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17155 done
17156 PS1='$ '
17157 PS2='> '
17158 PS4='+ '
17159
17160 # NLS nuisances.
17161 LC_ALL=C
17162 export LC_ALL
17163 LANGUAGE=C
17164 export LANGUAGE
17165
17166 # CDPATH.
17167 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17168
17169
17170 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17171 # ----------------------------------------
17172 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17173 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17174 # script with STATUS, using 1 if that was 0.
17175 as_fn_error ()
17176 {
17177   as_status=$1; test $as_status -eq 0 && as_status=1
17178   if test "$4"; then
17179     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17180     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17181   fi
17182   $as_echo "$as_me: error: $2" >&2
17183   as_fn_exit $as_status
17184 } # as_fn_error
17185
17186
17187 # as_fn_set_status STATUS
17188 # -----------------------
17189 # Set $? to STATUS, without forking.
17190 as_fn_set_status ()
17191 {
17192   return $1
17193 } # as_fn_set_status
17194
17195 # as_fn_exit STATUS
17196 # -----------------
17197 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17198 as_fn_exit ()
17199 {
17200   set +e
17201   as_fn_set_status $1
17202   exit $1
17203 } # as_fn_exit
17204
17205 # as_fn_unset VAR
17206 # ---------------
17207 # Portably unset VAR.
17208 as_fn_unset ()
17209 {
17210   { eval $1=; unset $1;}
17211 }
17212 as_unset=as_fn_unset
17213 # as_fn_append VAR VALUE
17214 # ----------------------
17215 # Append the text in VALUE to the end of the definition contained in VAR. Take
17216 # advantage of any shell optimizations that allow amortized linear growth over
17217 # repeated appends, instead of the typical quadratic growth present in naive
17218 # implementations.
17219 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17220   eval 'as_fn_append ()
17221   {
17222     eval $1+=\$2
17223   }'
17224 else
17225   as_fn_append ()
17226   {
17227     eval $1=\$$1\$2
17228   }
17229 fi # as_fn_append
17230
17231 # as_fn_arith ARG...
17232 # ------------------
17233 # Perform arithmetic evaluation on the ARGs, and store the result in the
17234 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17235 # must be portable across $(()) and expr.
17236 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17237   eval 'as_fn_arith ()
17238   {
17239     as_val=$(( $* ))
17240   }'
17241 else
17242   as_fn_arith ()
17243   {
17244     as_val=`expr "$@" || test $? -eq 1`
17245   }
17246 fi # as_fn_arith
17247
17248
17249 if expr a : '\(a\)' >/dev/null 2>&1 &&
17250    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17251   as_expr=expr
17252 else
17253   as_expr=false
17254 fi
17255
17256 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17257   as_basename=basename
17258 else
17259   as_basename=false
17260 fi
17261
17262 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17263   as_dirname=dirname
17264 else
17265   as_dirname=false
17266 fi
17267
17268 as_me=`$as_basename -- "$0" ||
17269 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17270          X"$0" : 'X\(//\)$' \| \
17271          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17272 $as_echo X/"$0" |
17273     sed '/^.*\/\([^/][^/]*\)\/*$/{
17274             s//\1/
17275             q
17276           }
17277           /^X\/\(\/\/\)$/{
17278             s//\1/
17279             q
17280           }
17281           /^X\/\(\/\).*/{
17282             s//\1/
17283             q
17284           }
17285           s/.*/./; q'`
17286
17287 # Avoid depending upon Character Ranges.
17288 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17289 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17290 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17291 as_cr_digits='0123456789'
17292 as_cr_alnum=$as_cr_Letters$as_cr_digits
17293
17294 ECHO_C= ECHO_N= ECHO_T=
17295 case `echo -n x` in #(((((
17296 -n*)
17297   case `echo 'xy\c'` in
17298   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17299   xy)  ECHO_C='\c';;
17300   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17301        ECHO_T=' ';;
17302   esac;;
17303 *)
17304   ECHO_N='-n';;
17305 esac
17306
17307 rm -f conf$$ conf$$.exe conf$$.file
17308 if test -d conf$$.dir; then
17309   rm -f conf$$.dir/conf$$.file
17310 else
17311   rm -f conf$$.dir
17312   mkdir conf$$.dir 2>/dev/null
17313 fi
17314 if (echo >conf$$.file) 2>/dev/null; then
17315   if ln -s conf$$.file conf$$ 2>/dev/null; then
17316     as_ln_s='ln -s'
17317     # ... but there are two gotchas:
17318     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17319     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17320     # In both cases, we have to default to `cp -pR'.
17321     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17322       as_ln_s='cp -pR'
17323   elif ln conf$$.file conf$$ 2>/dev/null; then
17324     as_ln_s=ln
17325   else
17326     as_ln_s='cp -pR'
17327   fi
17328 else
17329   as_ln_s='cp -pR'
17330 fi
17331 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17332 rmdir conf$$.dir 2>/dev/null
17333
17334
17335 # as_fn_mkdir_p
17336 # -------------
17337 # Create "$as_dir" as a directory, including parents if necessary.
17338 as_fn_mkdir_p ()
17339 {
17340
17341   case $as_dir in #(
17342   -*) as_dir=./$as_dir;;
17343   esac
17344   test -d "$as_dir" || eval $as_mkdir_p || {
17345     as_dirs=
17346     while :; do
17347       case $as_dir in #(
17348       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17349       *) as_qdir=$as_dir;;
17350       esac
17351       as_dirs="'$as_qdir' $as_dirs"
17352       as_dir=`$as_dirname -- "$as_dir" ||
17353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17354          X"$as_dir" : 'X\(//\)[^/]' \| \
17355          X"$as_dir" : 'X\(//\)$' \| \
17356          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17357 $as_echo X"$as_dir" |
17358     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17359             s//\1/
17360             q
17361           }
17362           /^X\(\/\/\)[^/].*/{
17363             s//\1/
17364             q
17365           }
17366           /^X\(\/\/\)$/{
17367             s//\1/
17368             q
17369           }
17370           /^X\(\/\).*/{
17371             s//\1/
17372             q
17373           }
17374           s/.*/./; q'`
17375       test -d "$as_dir" && break
17376     done
17377     test -z "$as_dirs" || eval "mkdir $as_dirs"
17378   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17379
17380
17381 } # as_fn_mkdir_p
17382 if mkdir -p . 2>/dev/null; then
17383   as_mkdir_p='mkdir -p "$as_dir"'
17384 else
17385   test -d ./-p && rmdir ./-p
17386   as_mkdir_p=false
17387 fi
17388
17389
17390 # as_fn_executable_p FILE
17391 # -----------------------
17392 # Test if FILE is an executable regular file.
17393 as_fn_executable_p ()
17394 {
17395   test -f "$1" && test -x "$1"
17396 } # as_fn_executable_p
17397 as_test_x='test -x'
17398 as_executable_p=as_fn_executable_p
17399
17400 # Sed expression to map a string onto a valid CPP name.
17401 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17402
17403 # Sed expression to map a string onto a valid variable name.
17404 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17405
17406
17407 exec 6>&1
17408 ## ----------------------------------- ##
17409 ## Main body of $CONFIG_STATUS script. ##
17410 ## ----------------------------------- ##
17411 _ASEOF
17412 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17413
17414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17415 # Save the log message, to keep $0 and so on meaningful, and to
17416 # report actual input values of CONFIG_FILES etc. instead of their
17417 # values after options handling.
17418 ac_log="
17419 This file was extended by zettair $as_me 0.9.3patched, which was
17420 generated by GNU Autoconf 2.69.  Invocation command line was
17421
17422   CONFIG_FILES    = $CONFIG_FILES
17423   CONFIG_HEADERS  = $CONFIG_HEADERS
17424   CONFIG_LINKS    = $CONFIG_LINKS
17425   CONFIG_COMMANDS = $CONFIG_COMMANDS
17426   $ $0 $@
17427
17428 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17429 "
17430
17431 _ACEOF
17432
17433 case $ac_config_files in *"
17434 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17435 esac
17436
17437 case $ac_config_headers in *"
17438 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17439 esac
17440
17441
17442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17443 # Files that config.status was made for.
17444 config_files="$ac_config_files"
17445 config_headers="$ac_config_headers"
17446 config_commands="$ac_config_commands"
17447
17448 _ACEOF
17449
17450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17451 ac_cs_usage="\
17452 \`$as_me' instantiates files and other configuration actions
17453 from templates according to the current configuration.  Unless the files
17454 and actions are specified as TAGs, all are instantiated by default.
17455
17456 Usage: $0 [OPTION]... [TAG]...
17457
17458   -h, --help       print this help, then exit
17459   -V, --version    print version number and configuration settings, then exit
17460       --config     print configuration, then exit
17461   -q, --quiet, --silent
17462                    do not print progress messages
17463   -d, --debug      don't remove temporary files
17464       --recheck    update $as_me by reconfiguring in the same conditions
17465       --file=FILE[:TEMPLATE]
17466                    instantiate the configuration file FILE
17467       --header=FILE[:TEMPLATE]
17468                    instantiate the configuration header FILE
17469
17470 Configuration files:
17471 $config_files
17472
17473 Configuration headers:
17474 $config_headers
17475
17476 Configuration commands:
17477 $config_commands
17478
17479 Report bugs to <nick@ndcode.org>."
17480
17481 _ACEOF
17482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17483 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17484 ac_cs_version="\\
17485 zettair config.status 0.9.3patched
17486 configured by $0, generated by GNU Autoconf 2.69,
17487   with options \\"\$ac_cs_config\\"
17488
17489 Copyright (C) 2012 Free Software Foundation, Inc.
17490 This config.status script is free software; the Free Software Foundation
17491 gives unlimited permission to copy, distribute and modify it."
17492
17493 ac_pwd='$ac_pwd'
17494 srcdir='$srcdir'
17495 INSTALL='$INSTALL'
17496 MKDIR_P='$MKDIR_P'
17497 AWK='$AWK'
17498 test -n "\$AWK" || AWK=awk
17499 _ACEOF
17500
17501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17502 # The default lists apply if the user does not specify any file.
17503 ac_need_defaults=:
17504 while test $# != 0
17505 do
17506   case $1 in
17507   --*=?*)
17508     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17509     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17510     ac_shift=:
17511     ;;
17512   --*=)
17513     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17514     ac_optarg=
17515     ac_shift=:
17516     ;;
17517   *)
17518     ac_option=$1
17519     ac_optarg=$2
17520     ac_shift=shift
17521     ;;
17522   esac
17523
17524   case $ac_option in
17525   # Handling of the options.
17526   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17527     ac_cs_recheck=: ;;
17528   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17529     $as_echo "$ac_cs_version"; exit ;;
17530   --config | --confi | --conf | --con | --co | --c )
17531     $as_echo "$ac_cs_config"; exit ;;
17532   --debug | --debu | --deb | --de | --d | -d )
17533     debug=: ;;
17534   --file | --fil | --fi | --f )
17535     $ac_shift
17536     case $ac_optarg in
17537     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17538     '') as_fn_error $? "missing file argument" ;;
17539     esac
17540     as_fn_append CONFIG_FILES " '$ac_optarg'"
17541     ac_need_defaults=false;;
17542   --header | --heade | --head | --hea )
17543     $ac_shift
17544     case $ac_optarg in
17545     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17546     esac
17547     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17548     ac_need_defaults=false;;
17549   --he | --h)
17550     # Conflict between --help and --header
17551     as_fn_error $? "ambiguous option: \`$1'
17552 Try \`$0 --help' for more information.";;
17553   --help | --hel | -h )
17554     $as_echo "$ac_cs_usage"; exit ;;
17555   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17556   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17557     ac_cs_silent=: ;;
17558
17559   # This is an error.
17560   -*) as_fn_error $? "unrecognized option: \`$1'
17561 Try \`$0 --help' for more information." ;;
17562
17563   *) as_fn_append ac_config_targets " $1"
17564      ac_need_defaults=false ;;
17565
17566   esac
17567   shift
17568 done
17569
17570 ac_configure_extra_args=
17571
17572 if $ac_cs_silent; then
17573   exec 6>/dev/null
17574   ac_configure_extra_args="$ac_configure_extra_args --silent"
17575 fi
17576
17577 _ACEOF
17578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17579 if \$ac_cs_recheck; then
17580   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17581   shift
17582   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17583   CONFIG_SHELL='$SHELL'
17584   export CONFIG_SHELL
17585   exec "\$@"
17586 fi
17587
17588 _ACEOF
17589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17590 exec 5>>config.log
17591 {
17592   echo
17593   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17594 ## Running $as_me. ##
17595 _ASBOX
17596   $as_echo "$ac_log"
17597 } >&5
17598
17599 _ACEOF
17600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17601 #
17602 # INIT-COMMANDS
17603 #
17604 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17605
17606
17607 # The HP-UX ksh and POSIX shell print the target directory to stdout
17608 # if CDPATH is set.
17609 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17610
17611 sed_quote_subst='$sed_quote_subst'
17612 double_quote_subst='$double_quote_subst'
17613 delay_variable_subst='$delay_variable_subst'
17614 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17615 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17616 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17617 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17618 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17619 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17620 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17621 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17622 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17623 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17624 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17625 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17626 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17627 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17628 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17629 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17630 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17631 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17632 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17633 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17634 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17635 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17636 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17637 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17638 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17639 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17640 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17641 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17642 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17643 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17644 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17645 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17646 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17647 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17648 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17649 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17650 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17651 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17652 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17653 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17654 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17655 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17656 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17657 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17658 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17659 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17660 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17661 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17662 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17663 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17664 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17665 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17666 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17667 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17668 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17669 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17670 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17671 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17672 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"`'
17673 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17674 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17675 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17676 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17677 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17678 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17679 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17680 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17681 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17682 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17683 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17684 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17685 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17686 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17687 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17688 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17689 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17690 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17691 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17692 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17693 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17694 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17695 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17696 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17697 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17698 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17699 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17700 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17701 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17702 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17703 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17704 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17705 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17706 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17707 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17708 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17709 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17710 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17711 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17712 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17713 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17714 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17715 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17716 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17717 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17718 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17719 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17720 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17721 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17722 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17723 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17724 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17725 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17726 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17727 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17728 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17729 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17730 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17731 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17732 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17733 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17734 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17735 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17736 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17737 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17738 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17739 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17740 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17741 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17742 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17743 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17744 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17745 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17746 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17747 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17748 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17749
17750 LTCC='$LTCC'
17751 LTCFLAGS='$LTCFLAGS'
17752 compiler='$compiler_DEFAULT'
17753
17754 # A function that is used when there is no print builtin or printf.
17755 func_fallback_echo ()
17756 {
17757   eval 'cat <<_LTECHO_EOF
17758 \$1
17759 _LTECHO_EOF'
17760 }
17761
17762 # Quote evaled strings.
17763 for var in SHELL \
17764 ECHO \
17765 PATH_SEPARATOR \
17766 SED \
17767 GREP \
17768 EGREP \
17769 FGREP \
17770 LD \
17771 NM \
17772 LN_S \
17773 lt_SP2NL \
17774 lt_NL2SP \
17775 reload_flag \
17776 OBJDUMP \
17777 deplibs_check_method \
17778 file_magic_cmd \
17779 file_magic_glob \
17780 want_nocaseglob \
17781 DLLTOOL \
17782 sharedlib_from_linklib_cmd \
17783 AR \
17784 AR_FLAGS \
17785 archiver_list_spec \
17786 STRIP \
17787 RANLIB \
17788 CC \
17789 CFLAGS \
17790 compiler \
17791 lt_cv_sys_global_symbol_pipe \
17792 lt_cv_sys_global_symbol_to_cdecl \
17793 lt_cv_sys_global_symbol_to_import \
17794 lt_cv_sys_global_symbol_to_c_name_address \
17795 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17796 lt_cv_nm_interface \
17797 nm_file_list_spec \
17798 lt_cv_truncate_bin \
17799 lt_prog_compiler_no_builtin_flag \
17800 lt_prog_compiler_pic \
17801 lt_prog_compiler_wl \
17802 lt_prog_compiler_static \
17803 lt_cv_prog_compiler_c_o \
17804 need_locks \
17805 MANIFEST_TOOL \
17806 DSYMUTIL \
17807 NMEDIT \
17808 LIPO \
17809 OTOOL \
17810 OTOOL64 \
17811 shrext_cmds \
17812 export_dynamic_flag_spec \
17813 whole_archive_flag_spec \
17814 compiler_needs_object \
17815 with_gnu_ld \
17816 allow_undefined_flag \
17817 no_undefined_flag \
17818 hardcode_libdir_flag_spec \
17819 hardcode_libdir_separator \
17820 exclude_expsyms \
17821 include_expsyms \
17822 file_list_spec \
17823 variables_saved_for_relink \
17824 libname_spec \
17825 library_names_spec \
17826 soname_spec \
17827 install_override_mode \
17828 finish_eval \
17829 old_striplib \
17830 striplib; do
17831     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17832     *[\\\\\\\`\\"\\\$]*)
17833       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17834       ;;
17835     *)
17836       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17837       ;;
17838     esac
17839 done
17840
17841 # Double-quote double-evaled strings.
17842 for var in reload_cmds \
17843 old_postinstall_cmds \
17844 old_postuninstall_cmds \
17845 old_archive_cmds \
17846 extract_expsyms_cmds \
17847 old_archive_from_new_cmds \
17848 old_archive_from_expsyms_cmds \
17849 archive_cmds \
17850 archive_expsym_cmds \
17851 module_cmds \
17852 module_expsym_cmds \
17853 export_symbols_cmds \
17854 prelink_cmds \
17855 postlink_cmds \
17856 postinstall_cmds \
17857 postuninstall_cmds \
17858 finish_cmds \
17859 sys_lib_search_path_spec \
17860 configure_time_dlsearch_path \
17861 configure_time_lt_sys_library_path; do
17862     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17863     *[\\\\\\\`\\"\\\$]*)
17864       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17865       ;;
17866     *)
17867       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17868       ;;
17869     esac
17870 done
17871
17872 ac_aux_dir='$ac_aux_dir'
17873
17874 # See if we are running on zsh, and set the options that allow our
17875 # commands through without removal of \ escapes INIT.
17876 if test -n "\${ZSH_VERSION+set}"; then
17877    setopt NO_GLOB_SUBST
17878 fi
17879
17880
17881     PACKAGE='$PACKAGE'
17882     VERSION='$VERSION'
17883     RM='$RM'
17884     ofile='$ofile'
17885
17886 ac_aux_dir='$ac_aux_dir'
17887
17888
17889
17890 _ACEOF
17891
17892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17893
17894 # Handling of arguments.
17895 for ac_config_target in $ac_config_targets
17896 do
17897   case $ac_config_target in
17898     "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h:src/include/config_h.in" ;;
17899     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17900     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17901     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17902     "setup.py") CONFIG_FILES="$CONFIG_FILES setup.py" ;;
17903
17904   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17905   esac
17906 done
17907
17908
17909 # If the user did not use the arguments to specify the items to instantiate,
17910 # then the envvar interface is used.  Set only those that are not.
17911 # We use the long form for the default assignment because of an extremely
17912 # bizarre bug on SunOS 4.1.3.
17913 if $ac_need_defaults; then
17914   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17915   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17916   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17917 fi
17918
17919 # Have a temporary directory for convenience.  Make it in the build tree
17920 # simply because there is no reason against having it here, and in addition,
17921 # creating and moving files from /tmp can sometimes cause problems.
17922 # Hook for its removal unless debugging.
17923 # Note that there is a small window in which the directory will not be cleaned:
17924 # after its creation but before its name has been assigned to `$tmp'.
17925 $debug ||
17926 {
17927   tmp= ac_tmp=
17928   trap 'exit_status=$?
17929   : "${ac_tmp:=$tmp}"
17930   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17931 ' 0
17932   trap 'as_fn_exit 1' 1 2 13 15
17933 }
17934 # Create a (secure) tmp directory for tmp files.
17935
17936 {
17937   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17938   test -d "$tmp"
17939 }  ||
17940 {
17941   tmp=./conf$$-$RANDOM
17942   (umask 077 && mkdir "$tmp")
17943 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17944 ac_tmp=$tmp
17945
17946 # Set up the scripts for CONFIG_FILES section.
17947 # No need to generate them if there are no CONFIG_FILES.
17948 # This happens for instance with `./config.status config.h'.
17949 if test -n "$CONFIG_FILES"; then
17950
17951
17952 ac_cr=`echo X | tr X '\015'`
17953 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17954 # But we know of no other shell where ac_cr would be empty at this
17955 # point, so we can use a bashism as a fallback.
17956 if test "x$ac_cr" = x; then
17957   eval ac_cr=\$\'\\r\'
17958 fi
17959 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17960 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17961   ac_cs_awk_cr='\\r'
17962 else
17963   ac_cs_awk_cr=$ac_cr
17964 fi
17965
17966 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17967 _ACEOF
17968
17969
17970 {
17971   echo "cat >conf$$subs.awk <<_ACEOF" &&
17972   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17973   echo "_ACEOF"
17974 } >conf$$subs.sh ||
17975   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17976 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17977 ac_delim='%!_!# '
17978 for ac_last_try in false false false false false :; do
17979   . ./conf$$subs.sh ||
17980     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17981
17982   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17983   if test $ac_delim_n = $ac_delim_num; then
17984     break
17985   elif $ac_last_try; then
17986     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17987   else
17988     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17989   fi
17990 done
17991 rm -f conf$$subs.sh
17992
17993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17994 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17995 _ACEOF
17996 sed -n '
17997 h
17998 s/^/S["/; s/!.*/"]=/
17999 p
18000 g
18001 s/^[^!]*!//
18002 :repl
18003 t repl
18004 s/'"$ac_delim"'$//
18005 t delim
18006 :nl
18007 h
18008 s/\(.\{148\}\)..*/\1/
18009 t more1
18010 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18011 p
18012 n
18013 b repl
18014 :more1
18015 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18016 p
18017 g
18018 s/.\{148\}//
18019 t nl
18020 :delim
18021 h
18022 s/\(.\{148\}\)..*/\1/
18023 t more2
18024 s/["\\]/\\&/g; s/^/"/; s/$/"/
18025 p
18026 b
18027 :more2
18028 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18029 p
18030 g
18031 s/.\{148\}//
18032 t delim
18033 ' <conf$$subs.awk | sed '
18034 /^[^""]/{
18035   N
18036   s/\n//
18037 }
18038 ' >>$CONFIG_STATUS || ac_write_fail=1
18039 rm -f conf$$subs.awk
18040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18041 _ACAWK
18042 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18043   for (key in S) S_is_set[key] = 1
18044   FS = "\a"
18045
18046 }
18047 {
18048   line = $ 0
18049   nfields = split(line, field, "@")
18050   substed = 0
18051   len = length(field[1])
18052   for (i = 2; i < nfields; i++) {
18053     key = field[i]
18054     keylen = length(key)
18055     if (S_is_set[key]) {
18056       value = S[key]
18057       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18058       len += length(value) + length(field[++i])
18059       substed = 1
18060     } else
18061       len += 1 + keylen
18062   }
18063
18064   print line
18065 }
18066
18067 _ACAWK
18068 _ACEOF
18069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18070 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18071   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18072 else
18073   cat
18074 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18075   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18076 _ACEOF
18077
18078 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18079 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18080 # trailing colons and then remove the whole line if VPATH becomes empty
18081 # (actually we leave an empty line to preserve line numbers).
18082 if test "x$srcdir" = x.; then
18083   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18084 h
18085 s///
18086 s/^/:/
18087 s/[      ]*$/:/
18088 s/:\$(srcdir):/:/g
18089 s/:\${srcdir}:/:/g
18090 s/:@srcdir@:/:/g
18091 s/^:*//
18092 s/:*$//
18093 x
18094 s/\(=[   ]*\).*/\1/
18095 G
18096 s/\n//
18097 s/^[^=]*=[       ]*$//
18098 }'
18099 fi
18100
18101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18102 fi # test -n "$CONFIG_FILES"
18103
18104 # Set up the scripts for CONFIG_HEADERS section.
18105 # No need to generate them if there are no CONFIG_HEADERS.
18106 # This happens for instance with `./config.status Makefile'.
18107 if test -n "$CONFIG_HEADERS"; then
18108 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18109 BEGIN {
18110 _ACEOF
18111
18112 # Transform confdefs.h into an awk script `defines.awk', embedded as
18113 # here-document in config.status, that substitutes the proper values into
18114 # config.h.in to produce config.h.
18115
18116 # Create a delimiter string that does not exist in confdefs.h, to ease
18117 # handling of long lines.
18118 ac_delim='%!_!# '
18119 for ac_last_try in false false :; do
18120   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18121   if test -z "$ac_tt"; then
18122     break
18123   elif $ac_last_try; then
18124     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18125   else
18126     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18127   fi
18128 done
18129
18130 # For the awk script, D is an array of macro values keyed by name,
18131 # likewise P contains macro parameters if any.  Preserve backslash
18132 # newline sequences.
18133
18134 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18135 sed -n '
18136 s/.\{148\}/&'"$ac_delim"'/g
18137 t rset
18138 :rset
18139 s/^[     ]*#[    ]*define[       ][      ]*/ /
18140 t def
18141 d
18142 :def
18143 s/\\$//
18144 t bsnl
18145 s/["\\]/\\&/g
18146 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18147 D["\1"]=" \3"/p
18148 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
18149 d
18150 :bsnl
18151 s/["\\]/\\&/g
18152 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18153 D["\1"]=" \3\\\\\\n"\\/p
18154 t cont
18155 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18156 t cont
18157 d
18158 :cont
18159 n
18160 s/.\{148\}/&'"$ac_delim"'/g
18161 t clear
18162 :clear
18163 s/\\$//
18164 t bsnlc
18165 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18166 d
18167 :bsnlc
18168 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18169 b cont
18170 ' <confdefs.h | sed '
18171 s/'"$ac_delim"'/"\\\
18172 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18173
18174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18175   for (key in D) D_is_set[key] = 1
18176   FS = "\a"
18177 }
18178 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18179   line = \$ 0
18180   split(line, arg, " ")
18181   if (arg[1] == "#") {
18182     defundef = arg[2]
18183     mac1 = arg[3]
18184   } else {
18185     defundef = substr(arg[1], 2)
18186     mac1 = arg[2]
18187   }
18188   split(mac1, mac2, "(") #)
18189   macro = mac2[1]
18190   prefix = substr(line, 1, index(line, defundef) - 1)
18191   if (D_is_set[macro]) {
18192     # Preserve the white space surrounding the "#".
18193     print prefix "define", macro P[macro] D[macro]
18194     next
18195   } else {
18196     # Replace #undef with comments.  This is necessary, for example,
18197     # in the case of _POSIX_SOURCE, which is predefined and required
18198     # on some systems where configure will not decide to define it.
18199     if (defundef == "undef") {
18200       print "/*", prefix defundef, macro, "*/"
18201       next
18202     }
18203   }
18204 }
18205 { print }
18206 _ACAWK
18207 _ACEOF
18208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18209   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18210 fi # test -n "$CONFIG_HEADERS"
18211
18212
18213 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18214 shift
18215 for ac_tag
18216 do
18217   case $ac_tag in
18218   :[FHLC]) ac_mode=$ac_tag; continue;;
18219   esac
18220   case $ac_mode$ac_tag in
18221   :[FHL]*:*);;
18222   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18223   :[FH]-) ac_tag=-:-;;
18224   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18225   esac
18226   ac_save_IFS=$IFS
18227   IFS=:
18228   set x $ac_tag
18229   IFS=$ac_save_IFS
18230   shift
18231   ac_file=$1
18232   shift
18233
18234   case $ac_mode in
18235   :L) ac_source=$1;;
18236   :[FH])
18237     ac_file_inputs=
18238     for ac_f
18239     do
18240       case $ac_f in
18241       -) ac_f="$ac_tmp/stdin";;
18242       *) # Look for the file first in the build tree, then in the source tree
18243          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18244          # because $ac_f cannot contain `:'.
18245          test -f "$ac_f" ||
18246            case $ac_f in
18247            [\\/$]*) false;;
18248            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18249            esac ||
18250            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18251       esac
18252       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18253       as_fn_append ac_file_inputs " '$ac_f'"
18254     done
18255
18256     # Let's still pretend it is `configure' which instantiates (i.e., don't
18257     # use $as_me), people would be surprised to read:
18258     #    /* config.h.  Generated by config.status.  */
18259     configure_input='Generated from '`
18260           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18261         `' by configure.'
18262     if test x"$ac_file" != x-; then
18263       configure_input="$ac_file.  $configure_input"
18264       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18265 $as_echo "$as_me: creating $ac_file" >&6;}
18266     fi
18267     # Neutralize special characters interpreted by sed in replacement strings.
18268     case $configure_input in #(
18269     *\&* | *\|* | *\\* )
18270        ac_sed_conf_input=`$as_echo "$configure_input" |
18271        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18272     *) ac_sed_conf_input=$configure_input;;
18273     esac
18274
18275     case $ac_tag in
18276     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18277       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18278     esac
18279     ;;
18280   esac
18281
18282   ac_dir=`$as_dirname -- "$ac_file" ||
18283 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18284          X"$ac_file" : 'X\(//\)[^/]' \| \
18285          X"$ac_file" : 'X\(//\)$' \| \
18286          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18287 $as_echo X"$ac_file" |
18288     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18289             s//\1/
18290             q
18291           }
18292           /^X\(\/\/\)[^/].*/{
18293             s//\1/
18294             q
18295           }
18296           /^X\(\/\/\)$/{
18297             s//\1/
18298             q
18299           }
18300           /^X\(\/\).*/{
18301             s//\1/
18302             q
18303           }
18304           s/.*/./; q'`
18305   as_dir="$ac_dir"; as_fn_mkdir_p
18306   ac_builddir=.
18307
18308 case "$ac_dir" in
18309 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18310 *)
18311   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18312   # A ".." for each directory in $ac_dir_suffix.
18313   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18314   case $ac_top_builddir_sub in
18315   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18316   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18317   esac ;;
18318 esac
18319 ac_abs_top_builddir=$ac_pwd
18320 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18321 # for backward compatibility:
18322 ac_top_builddir=$ac_top_build_prefix
18323
18324 case $srcdir in
18325   .)  # We are building in place.
18326     ac_srcdir=.
18327     ac_top_srcdir=$ac_top_builddir_sub
18328     ac_abs_top_srcdir=$ac_pwd ;;
18329   [\\/]* | ?:[\\/]* )  # Absolute name.
18330     ac_srcdir=$srcdir$ac_dir_suffix;
18331     ac_top_srcdir=$srcdir
18332     ac_abs_top_srcdir=$srcdir ;;
18333   *) # Relative name.
18334     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18335     ac_top_srcdir=$ac_top_build_prefix$srcdir
18336     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18337 esac
18338 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18339
18340
18341   case $ac_mode in
18342   :F)
18343   #
18344   # CONFIG_FILE
18345   #
18346
18347   case $INSTALL in
18348   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18349   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18350   esac
18351   ac_MKDIR_P=$MKDIR_P
18352   case $MKDIR_P in
18353   [\\/$]* | ?:[\\/]* ) ;;
18354   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18355   esac
18356 _ACEOF
18357
18358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18359 # If the template does not know about datarootdir, expand it.
18360 # FIXME: This hack should be removed a few years after 2.60.
18361 ac_datarootdir_hack=; ac_datarootdir_seen=
18362 ac_sed_dataroot='
18363 /datarootdir/ {
18364   p
18365   q
18366 }
18367 /@datadir@/p
18368 /@docdir@/p
18369 /@infodir@/p
18370 /@localedir@/p
18371 /@mandir@/p'
18372 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18373 *datarootdir*) ac_datarootdir_seen=yes;;
18374 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18375   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18376 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18377 _ACEOF
18378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18379   ac_datarootdir_hack='
18380   s&@datadir@&$datadir&g
18381   s&@docdir@&$docdir&g
18382   s&@infodir@&$infodir&g
18383   s&@localedir@&$localedir&g
18384   s&@mandir@&$mandir&g
18385   s&\\\${datarootdir}&$datarootdir&g' ;;
18386 esac
18387 _ACEOF
18388
18389 # Neutralize VPATH when `$srcdir' = `.'.
18390 # Shell code in configure.ac might set extrasub.
18391 # FIXME: do we really want to maintain this feature?
18392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18393 ac_sed_extra="$ac_vpsub
18394 $extrasub
18395 _ACEOF
18396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18397 :t
18398 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18399 s|@configure_input@|$ac_sed_conf_input|;t t
18400 s&@top_builddir@&$ac_top_builddir_sub&;t t
18401 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18402 s&@srcdir@&$ac_srcdir&;t t
18403 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18404 s&@top_srcdir@&$ac_top_srcdir&;t t
18405 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18406 s&@builddir@&$ac_builddir&;t t
18407 s&@abs_builddir@&$ac_abs_builddir&;t t
18408 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18409 s&@INSTALL@&$ac_INSTALL&;t t
18410 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18411 $ac_datarootdir_hack
18412 "
18413 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18414   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18415
18416 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18417   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18418   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18419       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18420   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18421 which seems to be undefined.  Please make sure it is defined" >&5
18422 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18423 which seems to be undefined.  Please make sure it is defined" >&2;}
18424
18425   rm -f "$ac_tmp/stdin"
18426   case $ac_file in
18427   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18428   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18429   esac \
18430   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18431  ;;
18432   :H)
18433   #
18434   # CONFIG_HEADER
18435   #
18436   if test x"$ac_file" != x-; then
18437     {
18438       $as_echo "/* $configure_input  */" \
18439       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18440     } >"$ac_tmp/config.h" \
18441       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18442     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18443       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18444 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18445     else
18446       rm -f "$ac_file"
18447       mv "$ac_tmp/config.h" "$ac_file" \
18448         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18449     fi
18450   else
18451     $as_echo "/* $configure_input  */" \
18452       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18453       || as_fn_error $? "could not create -" "$LINENO" 5
18454   fi
18455 # Compute "$ac_file"'s index in $config_headers.
18456 _am_arg="$ac_file"
18457 _am_stamp_count=1
18458 for _am_header in $config_headers :; do
18459   case $_am_header in
18460     $_am_arg | $_am_arg:* )
18461       break ;;
18462     * )
18463       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18464   esac
18465 done
18466 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18467 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18468          X"$_am_arg" : 'X\(//\)[^/]' \| \
18469          X"$_am_arg" : 'X\(//\)$' \| \
18470          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18471 $as_echo X"$_am_arg" |
18472     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18473             s//\1/
18474             q
18475           }
18476           /^X\(\/\/\)[^/].*/{
18477             s//\1/
18478             q
18479           }
18480           /^X\(\/\/\)$/{
18481             s//\1/
18482             q
18483           }
18484           /^X\(\/\).*/{
18485             s//\1/
18486             q
18487           }
18488           s/.*/./; q'`/stamp-h$_am_stamp_count
18489  ;;
18490
18491   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18492 $as_echo "$as_me: executing $ac_file commands" >&6;}
18493  ;;
18494   esac
18495
18496
18497   case $ac_file$ac_mode in
18498     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18499   # Older Autoconf quotes --file arguments for eval, but not when files
18500   # are listed without --file.  Let's play safe and only enable the eval
18501   # if we detect the quoting.
18502   case $CONFIG_FILES in
18503   *\'*) eval set x "$CONFIG_FILES" ;;
18504   *)   set x $CONFIG_FILES ;;
18505   esac
18506   shift
18507   for mf
18508   do
18509     # Strip MF so we end up with the name of the file.
18510     mf=`echo "$mf" | sed -e 's/:.*$//'`
18511     # Check whether this is an Automake generated Makefile or not.
18512     # We used to match only the files named 'Makefile.in', but
18513     # some people rename them; so instead we look at the file content.
18514     # Grep'ing the first line is not enough: some people post-process
18515     # each Makefile.in and add a new line on top of each file to say so.
18516     # Grep'ing the whole file is not good either: AIX grep has a line
18517     # limit of 2048, but all sed's we know have understand at least 4000.
18518     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18519       dirpart=`$as_dirname -- "$mf" ||
18520 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18521          X"$mf" : 'X\(//\)[^/]' \| \
18522          X"$mf" : 'X\(//\)$' \| \
18523          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18524 $as_echo X"$mf" |
18525     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18526             s//\1/
18527             q
18528           }
18529           /^X\(\/\/\)[^/].*/{
18530             s//\1/
18531             q
18532           }
18533           /^X\(\/\/\)$/{
18534             s//\1/
18535             q
18536           }
18537           /^X\(\/\).*/{
18538             s//\1/
18539             q
18540           }
18541           s/.*/./; q'`
18542     else
18543       continue
18544     fi
18545     # Extract the definition of DEPDIR, am__include, and am__quote
18546     # from the Makefile without running 'make'.
18547     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18548     test -z "$DEPDIR" && continue
18549     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18550     test -z "$am__include" && continue
18551     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18552     # Find all dependency output files, they are included files with
18553     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18554     # simplest approach to changing $(DEPDIR) to its actual value in the
18555     # expansion.
18556     for file in `sed -n "
18557       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18558          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18559       # Make sure the directory exists.
18560       test -f "$dirpart/$file" && continue
18561       fdir=`$as_dirname -- "$file" ||
18562 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18563          X"$file" : 'X\(//\)[^/]' \| \
18564          X"$file" : 'X\(//\)$' \| \
18565          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18566 $as_echo X"$file" |
18567     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18568             s//\1/
18569             q
18570           }
18571           /^X\(\/\/\)[^/].*/{
18572             s//\1/
18573             q
18574           }
18575           /^X\(\/\/\)$/{
18576             s//\1/
18577             q
18578           }
18579           /^X\(\/\).*/{
18580             s//\1/
18581             q
18582           }
18583           s/.*/./; q'`
18584       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18585       # echo "creating $dirpart/$file"
18586       echo '# dummy' > "$dirpart/$file"
18587     done
18588   done
18589 }
18590  ;;
18591     "libtool":C)
18592
18593     # See if we are running on zsh, and set the options that allow our
18594     # commands through without removal of \ escapes.
18595     if test -n "${ZSH_VERSION+set}"; then
18596       setopt NO_GLOB_SUBST
18597     fi
18598
18599     cfgfile=${ofile}T
18600     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18601     $RM "$cfgfile"
18602
18603     cat <<_LT_EOF >> "$cfgfile"
18604 #! $SHELL
18605 # Generated automatically by $as_me ($PACKAGE) $VERSION
18606 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18607
18608 # Provide generalized library-building support services.
18609 # Written by Gordon Matzigkeit, 1996
18610
18611 # Copyright (C) 2014 Free Software Foundation, Inc.
18612 # This is free software; see the source for copying conditions.  There is NO
18613 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18614
18615 # GNU Libtool is free software; you can redistribute it and/or modify
18616 # it under the terms of the GNU General Public License as published by
18617 # the Free Software Foundation; either version 2 of of the License, or
18618 # (at your option) any later version.
18619 #
18620 # As a special exception to the GNU General Public License, if you
18621 # distribute this file as part of a program or library that is built
18622 # using GNU Libtool, you may include this file under the  same
18623 # distribution terms that you use for the rest of that program.
18624 #
18625 # GNU Libtool is distributed in the hope that it will be useful, but
18626 # WITHOUT ANY WARRANTY; without even the implied warranty of
18627 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18628 # GNU General Public License for more details.
18629 #
18630 # You should have received a copy of the GNU General Public License
18631 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18632
18633
18634 # The names of the tagged configurations supported by this script.
18635 available_tags=''
18636
18637 # Configured defaults for sys_lib_dlsearch_path munging.
18638 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18639
18640 # ### BEGIN LIBTOOL CONFIG
18641
18642 # Which release of libtool.m4 was used?
18643 macro_version=$macro_version
18644 macro_revision=$macro_revision
18645
18646 # Whether or not to build shared libraries.
18647 build_libtool_libs=$enable_shared
18648
18649 # Whether or not to build static libraries.
18650 build_old_libs=$enable_static
18651
18652 # What type of objects to build.
18653 pic_mode=$pic_mode
18654
18655 # Whether or not to optimize for fast installation.
18656 fast_install=$enable_fast_install
18657
18658 # Shared archive member basename,for filename based shared library versioning on AIX.
18659 shared_archive_member_spec=$shared_archive_member_spec
18660
18661 # Shell to use when invoking shell scripts.
18662 SHELL=$lt_SHELL
18663
18664 # An echo program that protects backslashes.
18665 ECHO=$lt_ECHO
18666
18667 # The PATH separator for the build system.
18668 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18669
18670 # The host system.
18671 host_alias=$host_alias
18672 host=$host
18673 host_os=$host_os
18674
18675 # The build system.
18676 build_alias=$build_alias
18677 build=$build
18678 build_os=$build_os
18679
18680 # A sed program that does not truncate output.
18681 SED=$lt_SED
18682
18683 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18684 Xsed="\$SED -e 1s/^X//"
18685
18686 # A grep program that handles long lines.
18687 GREP=$lt_GREP
18688
18689 # An ERE matcher.
18690 EGREP=$lt_EGREP
18691
18692 # A literal string matcher.
18693 FGREP=$lt_FGREP
18694
18695 # A BSD- or MS-compatible name lister.
18696 NM=$lt_NM
18697
18698 # Whether we need soft or hard links.
18699 LN_S=$lt_LN_S
18700
18701 # What is the maximum length of a command?
18702 max_cmd_len=$max_cmd_len
18703
18704 # Object file suffix (normally "o").
18705 objext=$ac_objext
18706
18707 # Executable file suffix (normally "").
18708 exeext=$exeext
18709
18710 # whether the shell understands "unset".
18711 lt_unset=$lt_unset
18712
18713 # turn spaces into newlines.
18714 SP2NL=$lt_lt_SP2NL
18715
18716 # turn newlines into spaces.
18717 NL2SP=$lt_lt_NL2SP
18718
18719 # convert \$build file names to \$host format.
18720 to_host_file_cmd=$lt_cv_to_host_file_cmd
18721
18722 # convert \$build files to toolchain format.
18723 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18724
18725 # An object symbol dumper.
18726 OBJDUMP=$lt_OBJDUMP
18727
18728 # Method to check whether dependent libraries are shared objects.
18729 deplibs_check_method=$lt_deplibs_check_method
18730
18731 # Command to use when deplibs_check_method = "file_magic".
18732 file_magic_cmd=$lt_file_magic_cmd
18733
18734 # How to find potential files when deplibs_check_method = "file_magic".
18735 file_magic_glob=$lt_file_magic_glob
18736
18737 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18738 want_nocaseglob=$lt_want_nocaseglob
18739
18740 # DLL creation program.
18741 DLLTOOL=$lt_DLLTOOL
18742
18743 # Command to associate shared and link libraries.
18744 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18745
18746 # The archiver.
18747 AR=$lt_AR
18748
18749 # Flags to create an archive.
18750 AR_FLAGS=$lt_AR_FLAGS
18751
18752 # How to feed a file listing to the archiver.
18753 archiver_list_spec=$lt_archiver_list_spec
18754
18755 # A symbol stripping program.
18756 STRIP=$lt_STRIP
18757
18758 # Commands used to install an old-style archive.
18759 RANLIB=$lt_RANLIB
18760 old_postinstall_cmds=$lt_old_postinstall_cmds
18761 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18762
18763 # Whether to use a lock for old archive extraction.
18764 lock_old_archive_extraction=$lock_old_archive_extraction
18765
18766 # A C compiler.
18767 LTCC=$lt_CC
18768
18769 # LTCC compiler flags.
18770 LTCFLAGS=$lt_CFLAGS
18771
18772 # Take the output of nm and produce a listing of raw symbols and C names.
18773 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18774
18775 # Transform the output of nm in a proper C declaration.
18776 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18777
18778 # Transform the output of nm into a list of symbols to manually relocate.
18779 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18780
18781 # Transform the output of nm in a C name address pair.
18782 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18783
18784 # Transform the output of nm in a C name address pair when lib prefix is needed.
18785 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18786
18787 # The name lister interface.
18788 nm_interface=$lt_lt_cv_nm_interface
18789
18790 # Specify filename containing input files for \$NM.
18791 nm_file_list_spec=$lt_nm_file_list_spec
18792
18793 # The root where to search for dependent libraries,and where our libraries should be installed.
18794 lt_sysroot=$lt_sysroot
18795
18796 # Command to truncate a binary pipe.
18797 lt_truncate_bin=$lt_lt_cv_truncate_bin
18798
18799 # The name of the directory that contains temporary libtool files.
18800 objdir=$objdir
18801
18802 # Used to examine libraries when file_magic_cmd begins with "file".
18803 MAGIC_CMD=$MAGIC_CMD
18804
18805 # Must we lock files when doing compilation?
18806 need_locks=$lt_need_locks
18807
18808 # Manifest tool.
18809 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18810
18811 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18812 DSYMUTIL=$lt_DSYMUTIL
18813
18814 # Tool to change global to local symbols on Mac OS X.
18815 NMEDIT=$lt_NMEDIT
18816
18817 # Tool to manipulate fat objects and archives on Mac OS X.
18818 LIPO=$lt_LIPO
18819
18820 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18821 OTOOL=$lt_OTOOL
18822
18823 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18824 OTOOL64=$lt_OTOOL64
18825
18826 # Old archive suffix (normally "a").
18827 libext=$libext
18828
18829 # Shared library suffix (normally ".so").
18830 shrext_cmds=$lt_shrext_cmds
18831
18832 # The commands to extract the exported symbol list from a shared archive.
18833 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18834
18835 # Variables whose values should be saved in libtool wrapper scripts and
18836 # restored at link time.
18837 variables_saved_for_relink=$lt_variables_saved_for_relink
18838
18839 # Do we need the "lib" prefix for modules?
18840 need_lib_prefix=$need_lib_prefix
18841
18842 # Do we need a version for libraries?
18843 need_version=$need_version
18844
18845 # Library versioning type.
18846 version_type=$version_type
18847
18848 # Shared library runtime path variable.
18849 runpath_var=$runpath_var
18850
18851 # Shared library path variable.
18852 shlibpath_var=$shlibpath_var
18853
18854 # Is shlibpath searched before the hard-coded library search path?
18855 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18856
18857 # Format of library name prefix.
18858 libname_spec=$lt_libname_spec
18859
18860 # List of archive names.  First name is the real one, the rest are links.
18861 # The last name is the one that the linker finds with -lNAME
18862 library_names_spec=$lt_library_names_spec
18863
18864 # The coded name of the library, if different from the real name.
18865 soname_spec=$lt_soname_spec
18866
18867 # Permission mode override for installation of shared libraries.
18868 install_override_mode=$lt_install_override_mode
18869
18870 # Command to use after installation of a shared archive.
18871 postinstall_cmds=$lt_postinstall_cmds
18872
18873 # Command to use after uninstallation of a shared archive.
18874 postuninstall_cmds=$lt_postuninstall_cmds
18875
18876 # Commands used to finish a libtool library installation in a directory.
18877 finish_cmds=$lt_finish_cmds
18878
18879 # As "finish_cmds", except a single script fragment to be evaled but
18880 # not shown.
18881 finish_eval=$lt_finish_eval
18882
18883 # Whether we should hardcode library paths into libraries.
18884 hardcode_into_libs=$hardcode_into_libs
18885
18886 # Compile-time system search path for libraries.
18887 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18888
18889 # Detected run-time system search path for libraries.
18890 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18891
18892 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18893 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18894
18895 # Whether dlopen is supported.
18896 dlopen_support=$enable_dlopen
18897
18898 # Whether dlopen of programs is supported.
18899 dlopen_self=$enable_dlopen_self
18900
18901 # Whether dlopen of statically linked programs is supported.
18902 dlopen_self_static=$enable_dlopen_self_static
18903
18904 # Commands to strip libraries.
18905 old_striplib=$lt_old_striplib
18906 striplib=$lt_striplib
18907
18908
18909 # The linker used to build libraries.
18910 LD=$lt_LD
18911
18912 # How to create reloadable object files.
18913 reload_flag=$lt_reload_flag
18914 reload_cmds=$lt_reload_cmds
18915
18916 # Commands used to build an old-style archive.
18917 old_archive_cmds=$lt_old_archive_cmds
18918
18919 # A language specific compiler.
18920 CC=$lt_compiler
18921
18922 # Is the compiler the GNU compiler?
18923 with_gcc=$GCC
18924
18925 # Compiler flag to turn off builtin functions.
18926 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18927
18928 # Additional compiler flags for building library objects.
18929 pic_flag=$lt_lt_prog_compiler_pic
18930
18931 # How to pass a linker flag through the compiler.
18932 wl=$lt_lt_prog_compiler_wl
18933
18934 # Compiler flag to prevent dynamic linking.
18935 link_static_flag=$lt_lt_prog_compiler_static
18936
18937 # Does compiler simultaneously support -c and -o options?
18938 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18939
18940 # Whether or not to add -lc for building shared libraries.
18941 build_libtool_need_lc=$archive_cmds_need_lc
18942
18943 # Whether or not to disallow shared libs when runtime libs are static.
18944 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18945
18946 # Compiler flag to allow reflexive dlopens.
18947 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18948
18949 # Compiler flag to generate shared objects directly from archives.
18950 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18951
18952 # Whether the compiler copes with passing no objects directly.
18953 compiler_needs_object=$lt_compiler_needs_object
18954
18955 # Create an old-style archive from a shared archive.
18956 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18957
18958 # Create a temporary old-style archive to link instead of a shared archive.
18959 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18960
18961 # Commands used to build a shared archive.
18962 archive_cmds=$lt_archive_cmds
18963 archive_expsym_cmds=$lt_archive_expsym_cmds
18964
18965 # Commands used to build a loadable module if different from building
18966 # a shared archive.
18967 module_cmds=$lt_module_cmds
18968 module_expsym_cmds=$lt_module_expsym_cmds
18969
18970 # Whether we are building with GNU ld or not.
18971 with_gnu_ld=$lt_with_gnu_ld
18972
18973 # Flag that allows shared libraries with undefined symbols to be built.
18974 allow_undefined_flag=$lt_allow_undefined_flag
18975
18976 # Flag that enforces no undefined symbols.
18977 no_undefined_flag=$lt_no_undefined_flag
18978
18979 # Flag to hardcode \$libdir into a binary during linking.
18980 # This must work even if \$libdir does not exist
18981 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18982
18983 # Whether we need a single "-rpath" flag with a separated argument.
18984 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18985
18986 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18987 # DIR into the resulting binary.
18988 hardcode_direct=$hardcode_direct
18989
18990 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18991 # DIR into the resulting binary and the resulting library dependency is
18992 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18993 # library is relocated.
18994 hardcode_direct_absolute=$hardcode_direct_absolute
18995
18996 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18997 # into the resulting binary.
18998 hardcode_minus_L=$hardcode_minus_L
18999
19000 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19001 # into the resulting binary.
19002 hardcode_shlibpath_var=$hardcode_shlibpath_var
19003
19004 # Set to "yes" if building a shared library automatically hardcodes DIR
19005 # into the library and all subsequent libraries and executables linked
19006 # against it.
19007 hardcode_automatic=$hardcode_automatic
19008
19009 # Set to yes if linker adds runtime paths of dependent libraries
19010 # to runtime path list.
19011 inherit_rpath=$inherit_rpath
19012
19013 # Whether libtool must link a program against all its dependency libraries.
19014 link_all_deplibs=$link_all_deplibs
19015
19016 # Set to "yes" if exported symbols are required.
19017 always_export_symbols=$always_export_symbols
19018
19019 # The commands to list exported symbols.
19020 export_symbols_cmds=$lt_export_symbols_cmds
19021
19022 # Symbols that should not be listed in the preloaded symbols.
19023 exclude_expsyms=$lt_exclude_expsyms
19024
19025 # Symbols that must always be exported.
19026 include_expsyms=$lt_include_expsyms
19027
19028 # Commands necessary for linking programs (against libraries) with templates.
19029 prelink_cmds=$lt_prelink_cmds
19030
19031 # Commands necessary for finishing linking programs.
19032 postlink_cmds=$lt_postlink_cmds
19033
19034 # Specify filename containing input files.
19035 file_list_spec=$lt_file_list_spec
19036
19037 # How to hardcode a shared library path into an executable.
19038 hardcode_action=$hardcode_action
19039
19040 # ### END LIBTOOL CONFIG
19041
19042 _LT_EOF
19043
19044     cat <<'_LT_EOF' >> "$cfgfile"
19045
19046 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19047
19048 # func_munge_path_list VARIABLE PATH
19049 # -----------------------------------
19050 # VARIABLE is name of variable containing _space_ separated list of
19051 # directories to be munged by the contents of PATH, which is string
19052 # having a format:
19053 # "DIR[:DIR]:"
19054 #       string "DIR[ DIR]" will be prepended to VARIABLE
19055 # ":DIR[:DIR]"
19056 #       string "DIR[ DIR]" will be appended to VARIABLE
19057 # "DIRP[:DIRP]::[DIRA:]DIRA"
19058 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19059 #       "DIRA[ DIRA]" will be appended to VARIABLE
19060 # "DIR[:DIR]"
19061 #       VARIABLE will be replaced by "DIR[ DIR]"
19062 func_munge_path_list ()
19063 {
19064     case x$2 in
19065     x)
19066         ;;
19067     *:)
19068         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19069         ;;
19070     x:*)
19071         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19072         ;;
19073     *::*)
19074         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19075         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19076         ;;
19077     *)
19078         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19079         ;;
19080     esac
19081 }
19082
19083
19084 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19085 func_cc_basename ()
19086 {
19087     for cc_temp in $*""; do
19088       case $cc_temp in
19089         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19090         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19091         \-*) ;;
19092         *) break;;
19093       esac
19094     done
19095     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19096 }
19097
19098
19099 # ### END FUNCTIONS SHARED WITH CONFIGURE
19100
19101 _LT_EOF
19102
19103   case $host_os in
19104   aix3*)
19105     cat <<\_LT_EOF >> "$cfgfile"
19106 # AIX sometimes has problems with the GCC collect2 program.  For some
19107 # reason, if we set the COLLECT_NAMES environment variable, the problems
19108 # vanish in a puff of smoke.
19109 if test set != "${COLLECT_NAMES+set}"; then
19110   COLLECT_NAMES=
19111   export COLLECT_NAMES
19112 fi
19113 _LT_EOF
19114     ;;
19115   esac
19116
19117
19118 ltmain=$ac_aux_dir/ltmain.sh
19119
19120
19121   # We use sed instead of cat because bash on DJGPP gets confused if
19122   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19123   # text mode, it properly converts lines to CR/LF.  This bash problem
19124   # is reportedly fixed, but why not run on old versions too?
19125   sed '$q' "$ltmain" >> "$cfgfile" \
19126      || (rm -f "$cfgfile"; exit 1)
19127
19128    mv -f "$cfgfile" "$ofile" ||
19129     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19130   chmod +x "$ofile"
19131
19132  ;;
19133
19134   esac
19135 done # for ac_tag
19136
19137
19138 as_fn_exit 0
19139 _ACEOF
19140 ac_clean_files=$ac_clean_files_save
19141
19142 test $ac_write_fail = 0 ||
19143   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19144
19145
19146 # configure is writing to config.log, and then calls config.status.
19147 # config.status does its own redirection, appending to config.log.
19148 # Unfortunately, on DOS this fails, as config.log is still kept open
19149 # by configure, so config.status won't be able to write to it; its
19150 # output is simply discarded.  So we exec the FD to /dev/null,
19151 # effectively closing config.log, so it can be properly (re)opened and
19152 # appended to by config.status.  When coming back to configure, we
19153 # need to make the FD available again.
19154 if test "$no_create" != yes; then
19155   ac_cs_success=:
19156   ac_config_status_args=
19157   test "$silent" = yes &&
19158     ac_config_status_args="$ac_config_status_args --quiet"
19159   exec 5>/dev/null
19160   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19161   exec 5>>config.log
19162   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19163   # would make configure fail if this is the last instruction.
19164   $ac_cs_success || as_fn_exit 1
19165 fi
19166 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19167   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19168 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19169 fi
19170
19171
19172 # Nick (recommended by libtoolize)
19173