Merge tag 'upstream/1.2.2' into tizen_base
[platform/upstream/libsndfile.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for libsndfile 1.2.2.
4 #
5 # Report bugs to <sndfile@mega-nerd.com>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23   emulate sh
24   NULLCMD=:
25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26   # is contrary to our usage.  Disable this feature.
27   alias -g '${1+"$@"}'='"$@"'
28   setopt NO_GLOB_SUBST
29 else $as_nop
30   case `(set -o) 2>/dev/null` in #(
31   *posix*) :
32     set -o posix ;; #(
33   *) :
34      ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" ""        $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79   PATH_SEPARATOR=:
80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82       PATH_SEPARATOR=';'
83   }
84 fi
85
86
87 # Find who we are.  Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90   *[\\/]* ) as_myself=$0 ;;
91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94   IFS=$as_save_IFS
95   case $as_dir in #(((
96     '') as_dir=./ ;;
97     */) ;;
98     *) as_dir=$as_dir/ ;;
99   esac
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   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118   # into an infinite loop, continuously re-executing ourselves.
119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120     _as_can_reexec=no; export _as_can_reexec;
121     # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129   *v*x* | *x*v* ) as_opts=-vx ;;
130   *v* ) as_opts=-v ;;
131   *x* ) as_opts=-x ;;
132   * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139   fi
140   # We don't want this to propagate to other subprocesses.
141           { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143   as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146   emulate sh
147   NULLCMD=:
148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149   # is contrary to our usage.  Disable this feature.
150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
151   setopt NO_GLOB_SUBST
152 else \$as_nop
153   case \`(set -o) 2>/dev/null\` in #(
154   *posix*) :
155     set -o posix ;; #(
156   *) :
157      ;;
158 esac
159 fi
160 "
161   as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176   exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1
187
188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
192     PATH=/empty FPATH=/empty; export PATH FPATH
193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
195   if (eval "$as_required") 2>/dev/null
196 then :
197   as_have_required=yes
198 else $as_nop
199   as_have_required=no
200 fi
201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
202 then :
203
204 else $as_nop
205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
206 as_found=false
207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
208 do
209   IFS=$as_save_IFS
210   case $as_dir in #(((
211     '') as_dir=./ ;;
212     */) ;;
213     *) as_dir=$as_dir/ ;;
214   esac
215   as_found=:
216   case $as_dir in #(
217          /*)
218            for as_base in sh bash ksh sh5; do
219              # Try only shells that exist, to save several forks.
220              as_shell=$as_dir$as_base
221              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222                     as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
223 then :
224   CONFIG_SHELL=$as_shell as_have_required=yes
225                    if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
226 then :
227   break 2
228 fi
229 fi
230            done;;
231        esac
232   as_found=false
233 done
234 IFS=$as_save_IFS
235 if $as_found
236 then :
237
238 else $as_nop
239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
241 then :
242   CONFIG_SHELL=$SHELL as_have_required=yes
243 fi
244 fi
245
246
247       if test "x$CONFIG_SHELL" != x
248 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno
271 then :
272   printf "%s\n" "$0: This script requires a shell more modern than all"
273   printf "%s\n" "$0: the shells that I found on your system."
274   if test ${ZSH_VERSION+y} ; then
275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
277   else
278     printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
279 $0: sndfile@mega-nerd.com about your system, including any
280 $0: error possibly output before this message. Then install
281 $0: a modern shell, or manually run the script under such a
282 $0: shell if you do have one."
283   fi
284   exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302   { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
310 as_fn_set_status ()
311 {
312   return $1
313 } # as_fn_set_status
314
315 # as_fn_exit STATUS
316 # -----------------
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 as_fn_exit ()
319 {
320   set +e
321   as_fn_set_status $1
322   exit $1
323 } # as_fn_exit
324 # as_fn_nop
325 # ---------
326 # Do nothing but, unlike ":", preserve the value of $?.
327 as_fn_nop ()
328 {
329   return $?
330 }
331 as_nop=as_fn_nop
332
333 # as_fn_mkdir_p
334 # -------------
335 # Create "$as_dir" as a directory, including parents if necessary.
336 as_fn_mkdir_p ()
337 {
338
339   case $as_dir in #(
340   -*) as_dir=./$as_dir;;
341   esac
342   test -d "$as_dir" || eval $as_mkdir_p || {
343     as_dirs=
344     while :; do
345       case $as_dir in #(
346       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
347       *) as_qdir=$as_dir;;
348       esac
349       as_dirs="'$as_qdir' $as_dirs"
350       as_dir=`$as_dirname -- "$as_dir" ||
351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
352          X"$as_dir" : 'X\(//\)[^/]' \| \
353          X"$as_dir" : 'X\(//\)$' \| \
354          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
355 printf "%s\n" X"$as_dir" |
356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
357             s//\1/
358             q
359           }
360           /^X\(\/\/\)[^/].*/{
361             s//\1/
362             q
363           }
364           /^X\(\/\/\)$/{
365             s//\1/
366             q
367           }
368           /^X\(\/\).*/{
369             s//\1/
370             q
371           }
372           s/.*/./; q'`
373       test -d "$as_dir" && break
374     done
375     test -z "$as_dirs" || eval "mkdir $as_dirs"
376   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
377
378
379 } # as_fn_mkdir_p
380
381 # as_fn_executable_p FILE
382 # -----------------------
383 # Test if FILE is an executable regular file.
384 as_fn_executable_p ()
385 {
386   test -f "$1" && test -x "$1"
387 } # as_fn_executable_p
388 # as_fn_append VAR VALUE
389 # ----------------------
390 # Append the text in VALUE to the end of the definition contained in VAR. Take
391 # advantage of any shell optimizations that allow amortized linear growth over
392 # repeated appends, instead of the typical quadratic growth present in naive
393 # implementations.
394 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
395 then :
396   eval 'as_fn_append ()
397   {
398     eval $1+=\$2
399   }'
400 else $as_nop
401   as_fn_append ()
402   {
403     eval $1=\$$1\$2
404   }
405 fi # as_fn_append
406
407 # as_fn_arith ARG...
408 # ------------------
409 # Perform arithmetic evaluation on the ARGs, and store the result in the
410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
411 # must be portable across $(()) and expr.
412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
413 then :
414   eval 'as_fn_arith ()
415   {
416     as_val=$(( $* ))
417   }'
418 else $as_nop
419   as_fn_arith ()
420   {
421     as_val=`expr "$@" || test $? -eq 1`
422   }
423 fi # as_fn_arith
424
425 # as_fn_nop
426 # ---------
427 # Do nothing but, unlike ":", preserve the value of $?.
428 as_fn_nop ()
429 {
430   return $?
431 }
432 as_nop=as_fn_nop
433
434 # as_fn_error STATUS ERROR [LINENO LOG_FD]
435 # ----------------------------------------
436 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
437 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
438 # script with STATUS, using 1 if that was 0.
439 as_fn_error ()
440 {
441   as_status=$1; test $as_status -eq 0 && as_status=1
442   if test "$4"; then
443     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
445   fi
446   printf "%s\n" "$as_me: error: $2" >&2
447   as_fn_exit $as_status
448 } # as_fn_error
449
450 if expr a : '\(a\)' >/dev/null 2>&1 &&
451    test "X`expr 00001 : '.*\(...\)'`" = X001; then
452   as_expr=expr
453 else
454   as_expr=false
455 fi
456
457 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
458   as_basename=basename
459 else
460   as_basename=false
461 fi
462
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464   as_dirname=dirname
465 else
466   as_dirname=false
467 fi
468
469 as_me=`$as_basename -- "$0" ||
470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
471          X"$0" : 'X\(//\)$' \| \
472          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
473 printf "%s\n" X/"$0" |
474     sed '/^.*\/\([^/][^/]*\)\/*$/{
475             s//\1/
476             q
477           }
478           /^X\/\(\/\/\)$/{
479             s//\1/
480             q
481           }
482           /^X\/\(\/\).*/{
483             s//\1/
484             q
485           }
486           s/.*/./; q'`
487
488 # Avoid depending upon Character Ranges.
489 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
490 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
491 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
492 as_cr_digits='0123456789'
493 as_cr_alnum=$as_cr_Letters$as_cr_digits
494
495
496   as_lineno_1=$LINENO as_lineno_1a=$LINENO
497   as_lineno_2=$LINENO as_lineno_2a=$LINENO
498   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
499   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
500   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
501   sed -n '
502     p
503     /[$]LINENO/=
504   ' <$as_myself |
505     sed '
506       s/[$]LINENO.*/&-/
507       t lineno
508       b
509       :lineno
510       N
511       :loop
512       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
513       t loop
514       s/-\n.*//
515     ' >$as_me.lineno &&
516   chmod +x "$as_me.lineno" ||
517     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
518
519   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
520   # already done that, so ensure we don't try to do so again and fall
521   # in an infinite loop.  This has already happened in practice.
522   _as_can_reexec=no; export _as_can_reexec
523   # Don't try to exec as it changes $[0], causing all sort of problems
524   # (the dirname of $[0] is not the place where we might find the
525   # original and so on.  Autoconf is especially sensitive to this).
526   . "./$as_me.lineno"
527   # Exit status is that of the last command.
528   exit
529 }
530
531
532 # Determine whether it's possible to make 'echo' print without a newline.
533 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
534 # for compatibility with existing Makefiles.
535 ECHO_C= ECHO_N= ECHO_T=
536 case `echo -n x` in #(((((
537 -n*)
538   case `echo 'xy\c'` in
539   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
540   xy)  ECHO_C='\c';;
541   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
542        ECHO_T=' ';;
543   esac;;
544 *)
545   ECHO_N='-n';;
546 esac
547
548 # For backward compatibility with old third-party macros, we provide
549 # the shell variables $as_echo and $as_echo_n.  New code should use
550 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
551 as_echo='printf %s\n'
552 as_echo_n='printf %s'
553
554
555 rm -f conf$$ conf$$.exe conf$$.file
556 if test -d conf$$.dir; then
557   rm -f conf$$.dir/conf$$.file
558 else
559   rm -f conf$$.dir
560   mkdir conf$$.dir 2>/dev/null
561 fi
562 if (echo >conf$$.file) 2>/dev/null; then
563   if ln -s conf$$.file conf$$ 2>/dev/null; then
564     as_ln_s='ln -s'
565     # ... but there are two gotchas:
566     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568     # In both cases, we have to default to `cp -pR'.
569     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
570       as_ln_s='cp -pR'
571   elif ln conf$$.file conf$$ 2>/dev/null; then
572     as_ln_s=ln
573   else
574     as_ln_s='cp -pR'
575   fi
576 else
577   as_ln_s='cp -pR'
578 fi
579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
580 rmdir conf$$.dir 2>/dev/null
581
582 if mkdir -p . 2>/dev/null; then
583   as_mkdir_p='mkdir -p "$as_dir"'
584 else
585   test -d ./-p && rmdir ./-p
586   as_mkdir_p=false
587 fi
588
589 as_test_x='test -x'
590 as_executable_p=as_fn_executable_p
591
592 # Sed expression to map a string onto a valid CPP name.
593 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
594
595 # Sed expression to map a string onto a valid variable name.
596 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
597
598 SHELL=${CONFIG_SHELL-/bin/sh}
599
600
601 test -n "$DJDIR" || exec 7<&0 </dev/null
602 exec 6>&1
603
604 # Name of the host.
605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606 # so uname gets run too.
607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
608
609 #
610 # Initializations.
611 #
612 ac_default_prefix=/usr/local
613 ac_clean_files=
614 ac_config_libobj_dir=.
615 LIBOBJS=
616 cross_compiling=no
617 subdirs=
618 MFLAGS=
619 MAKEFLAGS=
620
621 # Identity of this package.
622 PACKAGE_NAME='libsndfile'
623 PACKAGE_TARNAME='libsndfile'
624 PACKAGE_VERSION='1.2.2'
625 PACKAGE_STRING='libsndfile 1.2.2'
626 PACKAGE_BUGREPORT='sndfile@mega-nerd.com'
627 PACKAGE_URL='http://libsndfile.github.io/libsndfile/'
628
629 ac_unique_file="src/sndfile.c"
630 # Factoring default headers for most tests.
631 ac_includes_default="\
632 #include <stddef.h>
633 #ifdef HAVE_STDIO_H
634 # include <stdio.h>
635 #endif
636 #ifdef HAVE_STDLIB_H
637 # include <stdlib.h>
638 #endif
639 #ifdef HAVE_STRING_H
640 # include <string.h>
641 #endif
642 #ifdef HAVE_INTTYPES_H
643 # include <inttypes.h>
644 #endif
645 #ifdef HAVE_STDINT_H
646 # include <stdint.h>
647 #endif
648 #ifdef HAVE_STRINGS_H
649 # include <strings.h>
650 #endif
651 #ifdef HAVE_SYS_TYPES_H
652 # include <sys/types.h>
653 #endif
654 #ifdef HAVE_SYS_STAT_H
655 # include <sys/stat.h>
656 #endif
657 #ifdef HAVE_UNISTD_H
658 # include <unistd.h>
659 #endif"
660
661 ac_header_c_list=
662 ac_subst_vars='am__EXEEXT_FALSE
663 am__EXEEXT_TRUE
664 LTLIBOBJS
665 LIBOBJS
666 TEST_BINDIR
667 SRC_BINDIR
668 MPEG_LIBS
669 MPEG_CFLAGS
670 EXTERNAL_MPEG_REQUIRE
671 EXTERNAL_MPEG_LIBS
672 EXTERNAL_XIPH_REQUIRE
673 EXTERNAL_XIPH_LIBS
674 EXTERNAL_XIPH_CFLAGS
675 SNDIO_LIBS
676 OS_SPECIFIC_LINKS
677 OS_SPECIFIC_CFLAGS
678 HAVE_MPEG
679 HAVE_EXTERNAL_XIPH_LIBS
680 WIN_RC_VERSION
681 GEN_TOOL
682 VERSION_MAJOR
683 CLEAN_VERSION
684 ABI_VERSION
685 SHARED_VERSION_INFO
686 SHLIB_VERSION_ARG
687 HTML_FGCOLOUR
688 HTML_BGCOLOUR
689 HOST_TRIPLET
690 ALSA_LIBS
691 ALSA_CFLAGS
692 USE_WIN_VERSION_FILE_FALSE
693 USE_WIN_VERSION_FILE_TRUE
694 HAVE_SQLITE3_FALSE
695 HAVE_SQLITE3_TRUE
696 SQLITE3_LIBS
697 SQLITE3_CFLAGS
698 MPG123_LIBS
699 MPG123_CFLAGS
700 OPUS_LIBS
701 OPUS_CFLAGS
702 VORBISENC_LIBS
703 VORBISENC_CFLAGS
704 VORBIS_LIBS
705 VORBIS_CFLAGS
706 SPEEX_LIBS
707 SPEEX_CFLAGS
708 OGG_LIBS
709 OGG_CFLAGS
710 FLAC_LIBS
711 FLAC_CFLAGS
712 pkgconfigdir
713 PKG_CONFIG_LIBDIR
714 PKG_CONFIG_PATH
715 PKG_CONFIG
716 OCTAVE_DEST_MDIR
717 OCTAVE_DEST_ODIR
718 OCTAVE_CONFIG_VERSION
719 OCTAVE_CONFIG
720 HAVE_OCTAVE_CONFIG
721 MKOCTFILE_VERSION
722 MKOCTFILE
723 HAVE_MKOCTFILE
724 OCTAVE
725 OCTAVE_VERSION
726 HAVE_OCTAVE
727 BUILD_OCTAVE_MOD_FALSE
728 BUILD_OCTAVE_MOD_TRUE
729 USE_OSSFUZZ_STATIC_FALSE
730 USE_OSSFUZZ_STATIC_TRUE
731 USE_OSSFUZZ_FLAG_FALSE
732 USE_OSSFUZZ_FLAG_TRUE
733 LIB_FUZZING_ENGINE
734 USE_OSSFUZZERS_FALSE
735 USE_OSSFUZZERS_TRUE
736 ENABLE_TEST_COVERAGE_FALSE
737 ENABLE_TEST_COVERAGE_TRUE
738 FULL_SUITE_FALSE
739 FULL_SUITE_TRUE
740 LINUX_MINGW_CROSS_TEST_FALSE
741 LINUX_MINGW_CROSS_TEST_TRUE
742 HAVE_XCODE_SELECT
743 HAVE_WINE
744 HAVE_AUTOGEN
745 pkgpyexecdir
746 pyexecdir
747 pkgpythondir
748 pythondir
749 PYTHON_EXEC_PREFIX
750 PYTHON_PREFIX
751 PYTHON_PLATFORM
752 PYTHON_VERSION
753 PYTHON
754 RC
755 CXXCPP
756 LT_SYS_LIBRARY_PATH
757 OTOOL64
758 OTOOL
759 LIPO
760 NMEDIT
761 DSYMUTIL
762 MANIFEST_TOOL
763 RANLIB
764 FILECMD
765 LN_S
766 NM
767 ac_ct_DUMPBIN
768 DUMPBIN
769 LD
770 FGREP
771 EGREP
772 GREP
773 LIBTOOL
774 OBJDUMP
775 DLLTOOL
776 AS
777 ac_ct_AR
778 AR
779 SED
780 am__fastdepCXX_FALSE
781 am__fastdepCXX_TRUE
782 CXXDEPMODE
783 ac_ct_CXX
784 CXXFLAGS
785 CXX
786 am__fastdepCC_FALSE
787 am__fastdepCC_TRUE
788 CCDEPMODE
789 am__nodep
790 AMDEPBACKSLASH
791 AMDEP_FALSE
792 AMDEP_TRUE
793 am__include
794 DEPDIR
795 OBJEXT
796 EXEEXT
797 ac_ct_CC
798 CPPFLAGS
799 LDFLAGS
800 CFLAGS
801 CC
802 AM_BACKSLASH
803 AM_DEFAULT_VERBOSITY
804 AM_DEFAULT_V
805 AM_V
806 CSCOPE
807 ETAGS
808 CTAGS
809 am__untar
810 am__tar
811 AMTAR
812 am__leading_dot
813 SET_MAKE
814 AWK
815 mkdir_p
816 MKDIR_P
817 INSTALL_STRIP_PROGRAM
818 STRIP
819 install_sh
820 MAKEINFO
821 AUTOHEADER
822 AUTOMAKE
823 AUTOCONF
824 ACLOCAL
825 VERSION
826 PACKAGE
827 CYGPATH_W
828 am__isrc
829 INSTALL_DATA
830 INSTALL_SCRIPT
831 INSTALL_PROGRAM
832 host_os
833 host_vendor
834 host_cpu
835 host
836 build_os
837 build_vendor
838 build_cpu
839 build
840 target_alias
841 host_alias
842 build_alias
843 LIBS
844 ECHO_T
845 ECHO_N
846 ECHO_C
847 DEFS
848 mandir
849 localedir
850 libdir
851 psdir
852 pdfdir
853 dvidir
854 htmldir
855 infodir
856 docdir
857 oldincludedir
858 includedir
859 runstatedir
860 localstatedir
861 sharedstatedir
862 sysconfdir
863 datadir
864 datarootdir
865 libexecdir
866 sbindir
867 bindir
868 program_transform_name
869 prefix
870 exec_prefix
871 PACKAGE_URL
872 PACKAGE_BUGREPORT
873 PACKAGE_STRING
874 PACKAGE_VERSION
875 PACKAGE_TARNAME
876 PACKAGE_NAME
877 PATH_SEPARATOR
878 SHELL
879 am__quote'
880 ac_subst_files=''
881 ac_user_opts='
882 enable_option_checking
883 enable_silent_rules
884 enable_dependency_tracking
885 enable_static
886 enable_shared
887 with_pic
888 enable_fast_install
889 with_aix_soname
890 with_gnu_ld
891 with_sysroot
892 enable_libtool_lock
893 with_python_sys_prefix
894 with_python_prefix
895 with_python_exec_prefix
896 enable_experimental
897 enable_werror
898 enable_cpu_clip
899 enable_bow_docs
900 enable_sqlite
901 enable_alsa
902 enable_external_libs
903 enable_mpeg
904 enable_octave
905 enable_full_suite
906 enable_test_coverage
907 enable_ossfuzzers
908 enable_largefile
909 with_octave
910 with_mkoctfile
911 with_octave_config
912 with_pkgconfigdir
913 '
914       ac_precious_vars='build_alias
915 host_alias
916 target_alias
917 CC
918 CFLAGS
919 LDFLAGS
920 LIBS
921 CPPFLAGS
922 CXX
923 CXXFLAGS
924 CCC
925 LT_SYS_LIBRARY_PATH
926 CXXCPP
927 PYTHON
928 PKG_CONFIG
929 PKG_CONFIG_PATH
930 PKG_CONFIG_LIBDIR
931 FLAC_CFLAGS
932 FLAC_LIBS
933 OGG_CFLAGS
934 OGG_LIBS
935 SPEEX_CFLAGS
936 SPEEX_LIBS
937 VORBIS_CFLAGS
938 VORBIS_LIBS
939 VORBISENC_CFLAGS
940 VORBISENC_LIBS
941 OPUS_CFLAGS
942 OPUS_LIBS
943 MPG123_CFLAGS
944 MPG123_LIBS
945 SQLITE3_CFLAGS
946 SQLITE3_LIBS
947 ALSA_CFLAGS
948 ALSA_LIBS'
949
950
951 # Initialize some variables set by options.
952 ac_init_help=
953 ac_init_version=false
954 ac_unrecognized_opts=
955 ac_unrecognized_sep=
956 # The variables have the same names as the options, with
957 # dashes changed to underlines.
958 cache_file=/dev/null
959 exec_prefix=NONE
960 no_create=
961 no_recursion=
962 prefix=NONE
963 program_prefix=NONE
964 program_suffix=NONE
965 program_transform_name=s,x,x,
966 silent=
967 site=
968 srcdir=
969 verbose=
970 x_includes=NONE
971 x_libraries=NONE
972
973 # Installation directory options.
974 # These are left unexpanded so users can "make install exec_prefix=/foo"
975 # and all the variables that are supposed to be based on exec_prefix
976 # by default will actually change.
977 # Use braces instead of parens because sh, perl, etc. also accept them.
978 # (The list follows the same order as the GNU Coding Standards.)
979 bindir='${exec_prefix}/bin'
980 sbindir='${exec_prefix}/sbin'
981 libexecdir='${exec_prefix}/libexec'
982 datarootdir='${prefix}/share'
983 datadir='${datarootdir}'
984 sysconfdir='${prefix}/etc'
985 sharedstatedir='${prefix}/com'
986 localstatedir='${prefix}/var'
987 runstatedir='${localstatedir}/run'
988 includedir='${prefix}/include'
989 oldincludedir='/usr/include'
990 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
991 infodir='${datarootdir}/info'
992 htmldir='${docdir}'
993 dvidir='${docdir}'
994 pdfdir='${docdir}'
995 psdir='${docdir}'
996 libdir='${exec_prefix}/lib'
997 localedir='${datarootdir}/locale'
998 mandir='${datarootdir}/man'
999
1000 ac_prev=
1001 ac_dashdash=
1002 for ac_option
1003 do
1004   # If the previous option needs an argument, assign it.
1005   if test -n "$ac_prev"; then
1006     eval $ac_prev=\$ac_option
1007     ac_prev=
1008     continue
1009   fi
1010
1011   case $ac_option in
1012   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1013   *=)   ac_optarg= ;;
1014   *)    ac_optarg=yes ;;
1015   esac
1016
1017   case $ac_dashdash$ac_option in
1018   --)
1019     ac_dashdash=yes ;;
1020
1021   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1022     ac_prev=bindir ;;
1023   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1024     bindir=$ac_optarg ;;
1025
1026   -build | --build | --buil | --bui | --bu)
1027     ac_prev=build_alias ;;
1028   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1029     build_alias=$ac_optarg ;;
1030
1031   -cache-file | --cache-file | --cache-fil | --cache-fi \
1032   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1033     ac_prev=cache_file ;;
1034   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1035   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1036     cache_file=$ac_optarg ;;
1037
1038   --config-cache | -C)
1039     cache_file=config.cache ;;
1040
1041   -datadir | --datadir | --datadi | --datad)
1042     ac_prev=datadir ;;
1043   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1044     datadir=$ac_optarg ;;
1045
1046   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1047   | --dataroo | --dataro | --datar)
1048     ac_prev=datarootdir ;;
1049   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1050   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1051     datarootdir=$ac_optarg ;;
1052
1053   -disable-* | --disable-*)
1054     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1055     # Reject names that are not valid shell variable names.
1056     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057       as_fn_error $? "invalid feature name: \`$ac_useropt'"
1058     ac_useropt_orig=$ac_useropt
1059     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1060     case $ac_user_opts in
1061       *"
1062 "enable_$ac_useropt"
1063 "*) ;;
1064       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1065          ac_unrecognized_sep=', ';;
1066     esac
1067     eval enable_$ac_useropt=no ;;
1068
1069   -docdir | --docdir | --docdi | --doc | --do)
1070     ac_prev=docdir ;;
1071   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1072     docdir=$ac_optarg ;;
1073
1074   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1075     ac_prev=dvidir ;;
1076   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1077     dvidir=$ac_optarg ;;
1078
1079   -enable-* | --enable-*)
1080     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1081     # Reject names that are not valid shell variable names.
1082     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083       as_fn_error $? "invalid feature name: \`$ac_useropt'"
1084     ac_useropt_orig=$ac_useropt
1085     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1086     case $ac_user_opts in
1087       *"
1088 "enable_$ac_useropt"
1089 "*) ;;
1090       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1091          ac_unrecognized_sep=', ';;
1092     esac
1093     eval enable_$ac_useropt=\$ac_optarg ;;
1094
1095   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1096   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1097   | --exec | --exe | --ex)
1098     ac_prev=exec_prefix ;;
1099   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1100   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1101   | --exec=* | --exe=* | --ex=*)
1102     exec_prefix=$ac_optarg ;;
1103
1104   -gas | --gas | --ga | --g)
1105     # Obsolete; use --with-gas.
1106     with_gas=yes ;;
1107
1108   -help | --help | --hel | --he | -h)
1109     ac_init_help=long ;;
1110   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1111     ac_init_help=recursive ;;
1112   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1113     ac_init_help=short ;;
1114
1115   -host | --host | --hos | --ho)
1116     ac_prev=host_alias ;;
1117   -host=* | --host=* | --hos=* | --ho=*)
1118     host_alias=$ac_optarg ;;
1119
1120   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1121     ac_prev=htmldir ;;
1122   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1123   | --ht=*)
1124     htmldir=$ac_optarg ;;
1125
1126   -includedir | --includedir | --includedi | --included | --include \
1127   | --includ | --inclu | --incl | --inc)
1128     ac_prev=includedir ;;
1129   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1130   | --includ=* | --inclu=* | --incl=* | --inc=*)
1131     includedir=$ac_optarg ;;
1132
1133   -infodir | --infodir | --infodi | --infod | --info | --inf)
1134     ac_prev=infodir ;;
1135   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1136     infodir=$ac_optarg ;;
1137
1138   -libdir | --libdir | --libdi | --libd)
1139     ac_prev=libdir ;;
1140   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1141     libdir=$ac_optarg ;;
1142
1143   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1144   | --libexe | --libex | --libe)
1145     ac_prev=libexecdir ;;
1146   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1147   | --libexe=* | --libex=* | --libe=*)
1148     libexecdir=$ac_optarg ;;
1149
1150   -localedir | --localedir | --localedi | --localed | --locale)
1151     ac_prev=localedir ;;
1152   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1153     localedir=$ac_optarg ;;
1154
1155   -localstatedir | --localstatedir | --localstatedi | --localstated \
1156   | --localstate | --localstat | --localsta | --localst | --locals)
1157     ac_prev=localstatedir ;;
1158   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1159   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1160     localstatedir=$ac_optarg ;;
1161
1162   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1163     ac_prev=mandir ;;
1164   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1165     mandir=$ac_optarg ;;
1166
1167   -nfp | --nfp | --nf)
1168     # Obsolete; use --without-fp.
1169     with_fp=no ;;
1170
1171   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1172   | --no-cr | --no-c | -n)
1173     no_create=yes ;;
1174
1175   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1176   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1177     no_recursion=yes ;;
1178
1179   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1180   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1181   | --oldin | --oldi | --old | --ol | --o)
1182     ac_prev=oldincludedir ;;
1183   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1184   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1185   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1186     oldincludedir=$ac_optarg ;;
1187
1188   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1189     ac_prev=prefix ;;
1190   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1191     prefix=$ac_optarg ;;
1192
1193   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1194   | --program-pre | --program-pr | --program-p)
1195     ac_prev=program_prefix ;;
1196   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1197   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1198     program_prefix=$ac_optarg ;;
1199
1200   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1201   | --program-suf | --program-su | --program-s)
1202     ac_prev=program_suffix ;;
1203   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1204   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1205     program_suffix=$ac_optarg ;;
1206
1207   -program-transform-name | --program-transform-name \
1208   | --program-transform-nam | --program-transform-na \
1209   | --program-transform-n | --program-transform- \
1210   | --program-transform | --program-transfor \
1211   | --program-transfo | --program-transf \
1212   | --program-trans | --program-tran \
1213   | --progr-tra | --program-tr | --program-t)
1214     ac_prev=program_transform_name ;;
1215   -program-transform-name=* | --program-transform-name=* \
1216   | --program-transform-nam=* | --program-transform-na=* \
1217   | --program-transform-n=* | --program-transform-=* \
1218   | --program-transform=* | --program-transfor=* \
1219   | --program-transfo=* | --program-transf=* \
1220   | --program-trans=* | --program-tran=* \
1221   | --progr-tra=* | --program-tr=* | --program-t=*)
1222     program_transform_name=$ac_optarg ;;
1223
1224   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1225     ac_prev=pdfdir ;;
1226   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1227     pdfdir=$ac_optarg ;;
1228
1229   -psdir | --psdir | --psdi | --psd | --ps)
1230     ac_prev=psdir ;;
1231   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1232     psdir=$ac_optarg ;;
1233
1234   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1235   | -silent | --silent | --silen | --sile | --sil)
1236     silent=yes ;;
1237
1238   -runstatedir | --runstatedir | --runstatedi | --runstated \
1239   | --runstate | --runstat | --runsta | --runst | --runs \
1240   | --run | --ru | --r)
1241     ac_prev=runstatedir ;;
1242   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1243   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1244   | --run=* | --ru=* | --r=*)
1245     runstatedir=$ac_optarg ;;
1246
1247   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1248     ac_prev=sbindir ;;
1249   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1250   | --sbi=* | --sb=*)
1251     sbindir=$ac_optarg ;;
1252
1253   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1254   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1255   | --sharedst | --shareds | --shared | --share | --shar \
1256   | --sha | --sh)
1257     ac_prev=sharedstatedir ;;
1258   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1259   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1260   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1261   | --sha=* | --sh=*)
1262     sharedstatedir=$ac_optarg ;;
1263
1264   -site | --site | --sit)
1265     ac_prev=site ;;
1266   -site=* | --site=* | --sit=*)
1267     site=$ac_optarg ;;
1268
1269   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1270     ac_prev=srcdir ;;
1271   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1272     srcdir=$ac_optarg ;;
1273
1274   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1275   | --syscon | --sysco | --sysc | --sys | --sy)
1276     ac_prev=sysconfdir ;;
1277   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1278   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1279     sysconfdir=$ac_optarg ;;
1280
1281   -target | --target | --targe | --targ | --tar | --ta | --t)
1282     ac_prev=target_alias ;;
1283   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1284     target_alias=$ac_optarg ;;
1285
1286   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1287     verbose=yes ;;
1288
1289   -version | --version | --versio | --versi | --vers | -V)
1290     ac_init_version=: ;;
1291
1292   -with-* | --with-*)
1293     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1294     # Reject names that are not valid shell variable names.
1295     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296       as_fn_error $? "invalid package name: \`$ac_useropt'"
1297     ac_useropt_orig=$ac_useropt
1298     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1299     case $ac_user_opts in
1300       *"
1301 "with_$ac_useropt"
1302 "*) ;;
1303       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1304          ac_unrecognized_sep=', ';;
1305     esac
1306     eval with_$ac_useropt=\$ac_optarg ;;
1307
1308   -without-* | --without-*)
1309     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1310     # Reject names that are not valid shell variable names.
1311     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1312       as_fn_error $? "invalid package name: \`$ac_useropt'"
1313     ac_useropt_orig=$ac_useropt
1314     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1315     case $ac_user_opts in
1316       *"
1317 "with_$ac_useropt"
1318 "*) ;;
1319       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1320          ac_unrecognized_sep=', ';;
1321     esac
1322     eval with_$ac_useropt=no ;;
1323
1324   --x)
1325     # Obsolete; use --with-x.
1326     with_x=yes ;;
1327
1328   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1329   | --x-incl | --x-inc | --x-in | --x-i)
1330     ac_prev=x_includes ;;
1331   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1332   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1333     x_includes=$ac_optarg ;;
1334
1335   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1336   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1337     ac_prev=x_libraries ;;
1338   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1339   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1340     x_libraries=$ac_optarg ;;
1341
1342   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1343 Try \`$0 --help' for more information"
1344     ;;
1345
1346   *=*)
1347     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1348     # Reject names that are not valid shell variable names.
1349     case $ac_envvar in #(
1350       '' | [0-9]* | *[!_$as_cr_alnum]* )
1351       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1352     esac
1353     eval $ac_envvar=\$ac_optarg
1354     export $ac_envvar ;;
1355
1356   *)
1357     # FIXME: should be removed in autoconf 3.0.
1358     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1359     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1360       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1361     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1362     ;;
1363
1364   esac
1365 done
1366
1367 if test -n "$ac_prev"; then
1368   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1369   as_fn_error $? "missing argument to $ac_option"
1370 fi
1371
1372 if test -n "$ac_unrecognized_opts"; then
1373   case $enable_option_checking in
1374     no) ;;
1375     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1376     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1377   esac
1378 fi
1379
1380 # Check all directory arguments for consistency.
1381 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1382                 datadir sysconfdir sharedstatedir localstatedir includedir \
1383                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1384                 libdir localedir mandir runstatedir
1385 do
1386   eval ac_val=\$$ac_var
1387   # Remove trailing slashes.
1388   case $ac_val in
1389     */ )
1390       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1391       eval $ac_var=\$ac_val;;
1392   esac
1393   # Be sure to have absolute directory names.
1394   case $ac_val in
1395     [\\/$]* | ?:[\\/]* )  continue;;
1396     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1397   esac
1398   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1399 done
1400
1401 # There might be people who depend on the old broken behavior: `$host'
1402 # used to hold the argument of --host etc.
1403 # FIXME: To remove some day.
1404 build=$build_alias
1405 host=$host_alias
1406 target=$target_alias
1407
1408 # FIXME: To remove some day.
1409 if test "x$host_alias" != x; then
1410   if test "x$build_alias" = x; then
1411     cross_compiling=maybe
1412   elif test "x$build_alias" != "x$host_alias"; then
1413     cross_compiling=yes
1414   fi
1415 fi
1416
1417 ac_tool_prefix=
1418 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1419
1420 test "$silent" = yes && exec 6>/dev/null
1421
1422
1423 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1424 ac_ls_di=`ls -di .` &&
1425 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1426   as_fn_error $? "working directory cannot be determined"
1427 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1428   as_fn_error $? "pwd does not report name of working directory"
1429
1430
1431 # Find the source files, if location was not specified.
1432 if test -z "$srcdir"; then
1433   ac_srcdir_defaulted=yes
1434   # Try the directory containing this script, then the parent directory.
1435   ac_confdir=`$as_dirname -- "$as_myself" ||
1436 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1437          X"$as_myself" : 'X\(//\)[^/]' \| \
1438          X"$as_myself" : 'X\(//\)$' \| \
1439          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1440 printf "%s\n" X"$as_myself" |
1441     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1442             s//\1/
1443             q
1444           }
1445           /^X\(\/\/\)[^/].*/{
1446             s//\1/
1447             q
1448           }
1449           /^X\(\/\/\)$/{
1450             s//\1/
1451             q
1452           }
1453           /^X\(\/\).*/{
1454             s//\1/
1455             q
1456           }
1457           s/.*/./; q'`
1458   srcdir=$ac_confdir
1459   if test ! -r "$srcdir/$ac_unique_file"; then
1460     srcdir=..
1461   fi
1462 else
1463   ac_srcdir_defaulted=no
1464 fi
1465 if test ! -r "$srcdir/$ac_unique_file"; then
1466   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1467   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1468 fi
1469 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1470 ac_abs_confdir=`(
1471         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1472         pwd)`
1473 # When building in place, set srcdir=.
1474 if test "$ac_abs_confdir" = "$ac_pwd"; then
1475   srcdir=.
1476 fi
1477 # Remove unnecessary trailing slashes from srcdir.
1478 # Double slashes in file names in object file debugging info
1479 # mess up M-x gdb in Emacs.
1480 case $srcdir in
1481 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1482 esac
1483 for ac_var in $ac_precious_vars; do
1484   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1485   eval ac_env_${ac_var}_value=\$${ac_var}
1486   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1487   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1488 done
1489
1490 #
1491 # Report the --help message.
1492 #
1493 if test "$ac_init_help" = "long"; then
1494   # Omit some internal or obsolete options to make the list less imposing.
1495   # This message is too long to be a string in the A/UX 3.1 sh.
1496   cat <<_ACEOF
1497 \`configure' configures libsndfile 1.2.2 to adapt to many kinds of systems.
1498
1499 Usage: $0 [OPTION]... [VAR=VALUE]...
1500
1501 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1502 VAR=VALUE.  See below for descriptions of some of the useful variables.
1503
1504 Defaults for the options are specified in brackets.
1505
1506 Configuration:
1507   -h, --help              display this help and exit
1508       --help=short        display options specific to this package
1509       --help=recursive    display the short help of all the included packages
1510   -V, --version           display version information and exit
1511   -q, --quiet, --silent   do not print \`checking ...' messages
1512       --cache-file=FILE   cache test results in FILE [disabled]
1513   -C, --config-cache      alias for \`--cache-file=config.cache'
1514   -n, --no-create         do not create output files
1515       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1516
1517 Installation directories:
1518   --prefix=PREFIX         install architecture-independent files in PREFIX
1519                           [$ac_default_prefix]
1520   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1521                           [PREFIX]
1522
1523 By default, \`make install' will install all the files in
1524 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1525 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1526 for instance \`--prefix=\$HOME'.
1527
1528 For better control, use the options below.
1529
1530 Fine tuning of the installation directories:
1531   --bindir=DIR            user executables [EPREFIX/bin]
1532   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1533   --libexecdir=DIR        program executables [EPREFIX/libexec]
1534   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1535   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1536   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1537   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1538   --libdir=DIR            object code libraries [EPREFIX/lib]
1539   --includedir=DIR        C header files [PREFIX/include]
1540   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1541   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1542   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1543   --infodir=DIR           info documentation [DATAROOTDIR/info]
1544   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1545   --mandir=DIR            man documentation [DATAROOTDIR/man]
1546   --docdir=DIR            documentation root [DATAROOTDIR/doc/libsndfile]
1547   --htmldir=DIR           html documentation [DOCDIR]
1548   --dvidir=DIR            dvi documentation [DOCDIR]
1549   --pdfdir=DIR            pdf documentation [DOCDIR]
1550   --psdir=DIR             ps documentation [DOCDIR]
1551 _ACEOF
1552
1553   cat <<\_ACEOF
1554
1555 Program names:
1556   --program-prefix=PREFIX            prepend PREFIX to installed program names
1557   --program-suffix=SUFFIX            append SUFFIX to installed program names
1558   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1559
1560 System types:
1561   --build=BUILD     configure for building on BUILD [guessed]
1562   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1563 _ACEOF
1564 fi
1565
1566 if test -n "$ac_init_help"; then
1567   case $ac_init_help in
1568      short | recursive ) echo "Configuration of libsndfile 1.2.2:";;
1569    esac
1570   cat <<\_ACEOF
1571
1572 Optional Features:
1573   --disable-option-checking  ignore unrecognized --enable/--with options
1574   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1575   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1576   --enable-silent-rules   less verbose build output (undo: "make V=1")
1577   --disable-silent-rules  verbose build output (undo: "make V=0")
1578   --enable-dependency-tracking
1579                           do not reject slow dependency extractors
1580   --disable-dependency-tracking
1581                           speeds up one-time build
1582   --enable-static[=PKGS]  build static libraries [default=no]
1583   --enable-shared[=PKGS]  build shared libraries [default=yes]
1584   --enable-fast-install[=PKGS]
1585                           optimize for fast installation [default=yes]
1586   --disable-libtool-lock  avoid locking (might break parallel builds)
1587   --enable-experimental   enable experimental code
1588   --enable-werror         enable -Werror in all Makefiles
1589   --disable-cpu-clip      disable tricky cpu specific clipper
1590   --enable-bow-docs       enable black-on-white html docs
1591   --disable-sqlite        disable use of sqlite
1592   --disable-alsa          disable ALSA support (default=autodetect)
1593   --disable-external-libs disable use of FLAC, Ogg and Vorbis [[default=no]]
1594   --disable-mpeg          disable use of LAME/MPG123 for MPEG (MP3)
1595                           [[defaults=no]]
1596   --enable-octave         enable building of GNU Octave module
1597   --disable-full-suite    disable building and installing programs,
1598                           documentation, only build library [[default=no]]
1599   --enable-test-coverage  enable test coverage
1600   --enable-ossfuzzers     Whether to generate the fuzzers for OSS-Fuzz
1601   --disable-largefile     omit support for large files
1602
1603 Optional Packages:
1604   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1605   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1606   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1607                           both]
1608   --with-aix-soname=aix|svr4|both
1609                           shared library versioning (aka "SONAME") variant to
1610                           provide on AIX, [default=aix].
1611   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1612   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1613                           compiler's sysroot if not specified).
1614   --with-python-sys-prefix
1615                           use Python's sys.prefix and sys.exec_prefix values
1616   --with-python_prefix    override the default PYTHON_PREFIX
1617   --with-python_exec_prefix
1618                           override the default PYTHON_EXEC_PREFIX
1619   --with-octave           choose the octave version
1620   --with-mkoctfile        choose the mkoctfile version
1621   --with-octave-config    choose the octave-config version
1622   --with-pkgconfigdir     pkg-config installation directory
1623                           ['${libdir}/pkgconfig']
1624
1625 Some influential environment variables:
1626   CC          C compiler command
1627   CFLAGS      C compiler flags
1628   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1629               nonstandard directory <lib dir>
1630   LIBS        libraries to pass to the linker, e.g. -l<library>
1631   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1632               you have headers in a nonstandard directory <include dir>
1633   CXX         C++ compiler command
1634   CXXFLAGS    C++ compiler flags
1635   LT_SYS_LIBRARY_PATH
1636               User-defined run-time library search path.
1637   CXXCPP      C++ preprocessor
1638   PYTHON      the Python interpreter
1639   PKG_CONFIG  path to pkg-config utility
1640   PKG_CONFIG_PATH
1641               directories to add to pkg-config's search path
1642   PKG_CONFIG_LIBDIR
1643               path overriding pkg-config's built-in search path
1644   FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
1645   FLAC_LIBS   linker flags for FLAC, overriding pkg-config
1646   OGG_CFLAGS  C compiler flags for OGG, overriding pkg-config
1647   OGG_LIBS    linker flags for OGG, overriding pkg-config
1648   SPEEX_CFLAGS
1649               C compiler flags for SPEEX, overriding pkg-config
1650   SPEEX_LIBS  linker flags for SPEEX, overriding pkg-config
1651   VORBIS_CFLAGS
1652               C compiler flags for VORBIS, overriding pkg-config
1653   VORBIS_LIBS linker flags for VORBIS, overriding pkg-config
1654   VORBISENC_CFLAGS
1655               C compiler flags for VORBISENC, overriding pkg-config
1656   VORBISENC_LIBS
1657               linker flags for VORBISENC, overriding pkg-config
1658   OPUS_CFLAGS C compiler flags for OPUS, overriding pkg-config
1659   OPUS_LIBS   linker flags for OPUS, overriding pkg-config
1660   MPG123_CFLAGS
1661               C compiler flags for MPG123, overriding pkg-config
1662   MPG123_LIBS linker flags for MPG123, overriding pkg-config
1663   SQLITE3_CFLAGS
1664               C compiler flags for SQLITE3, overriding pkg-config
1665   SQLITE3_LIBS
1666               linker flags for SQLITE3, overriding pkg-config
1667   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1668   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
1669
1670 Use these variables to override the choices made by `configure' or to help
1671 it to find libraries and programs with nonstandard names/locations.
1672
1673 Report bugs to <sndfile@mega-nerd.com>.
1674 libsndfile home page: <http://libsndfile.github.io/libsndfile/>.
1675 _ACEOF
1676 ac_status=$?
1677 fi
1678
1679 if test "$ac_init_help" = "recursive"; then
1680   # If there are subdirs, report their specific --help.
1681   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1682     test -d "$ac_dir" ||
1683       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1684       continue
1685     ac_builddir=.
1686
1687 case "$ac_dir" in
1688 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1689 *)
1690   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1691   # A ".." for each directory in $ac_dir_suffix.
1692   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1693   case $ac_top_builddir_sub in
1694   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1695   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1696   esac ;;
1697 esac
1698 ac_abs_top_builddir=$ac_pwd
1699 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1700 # for backward compatibility:
1701 ac_top_builddir=$ac_top_build_prefix
1702
1703 case $srcdir in
1704   .)  # We are building in place.
1705     ac_srcdir=.
1706     ac_top_srcdir=$ac_top_builddir_sub
1707     ac_abs_top_srcdir=$ac_pwd ;;
1708   [\\/]* | ?:[\\/]* )  # Absolute name.
1709     ac_srcdir=$srcdir$ac_dir_suffix;
1710     ac_top_srcdir=$srcdir
1711     ac_abs_top_srcdir=$srcdir ;;
1712   *) # Relative name.
1713     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1714     ac_top_srcdir=$ac_top_build_prefix$srcdir
1715     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1716 esac
1717 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1718
1719     cd "$ac_dir" || { ac_status=$?; continue; }
1720     # Check for configure.gnu first; this name is used for a wrapper for
1721     # Metaconfig's "Configure" on case-insensitive file systems.
1722     if test -f "$ac_srcdir/configure.gnu"; then
1723       echo &&
1724       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1725     elif test -f "$ac_srcdir/configure"; then
1726       echo &&
1727       $SHELL "$ac_srcdir/configure" --help=recursive
1728     else
1729       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1730     fi || ac_status=$?
1731     cd "$ac_pwd" || { ac_status=$?; break; }
1732   done
1733 fi
1734
1735 test -n "$ac_init_help" && exit $ac_status
1736 if $ac_init_version; then
1737   cat <<\_ACEOF
1738 libsndfile configure 1.2.2
1739 generated by GNU Autoconf 2.71
1740
1741 Copyright (C) 2021 Free Software Foundation, Inc.
1742 This configure script is free software; the Free Software Foundation
1743 gives unlimited permission to copy, distribute and modify it.
1744 _ACEOF
1745   exit
1746 fi
1747
1748 ## ------------------------ ##
1749 ## Autoconf initialization. ##
1750 ## ------------------------ ##
1751
1752 # ac_fn_c_try_compile LINENO
1753 # --------------------------
1754 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1755 ac_fn_c_try_compile ()
1756 {
1757   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758   rm -f conftest.$ac_objext conftest.beam
1759   if { { ac_try="$ac_compile"
1760 case "(($ac_try" in
1761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762   *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 printf "%s\n" "$ac_try_echo"; } >&5
1766   (eval "$ac_compile") 2>conftest.err
1767   ac_status=$?
1768   if test -s conftest.err; then
1769     grep -v '^ *+' conftest.err >conftest.er1
1770     cat conftest.er1 >&5
1771     mv -f conftest.er1 conftest.err
1772   fi
1773   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774   test $ac_status = 0; } && {
1775          test -z "$ac_c_werror_flag" ||
1776          test ! -s conftest.err
1777        } && test -s conftest.$ac_objext
1778 then :
1779   ac_retval=0
1780 else $as_nop
1781   printf "%s\n" "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1783
1784         ac_retval=1
1785 fi
1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787   as_fn_set_status $ac_retval
1788
1789 } # ac_fn_c_try_compile
1790
1791 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1792 # -------------------------------------------------------
1793 # Tests whether HEADER exists and can be compiled using the include files in
1794 # INCLUDES, setting the cache variable VAR accordingly.
1795 ac_fn_c_check_header_compile ()
1796 {
1797   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 printf %s "checking for $2... " >&6; }
1800 if eval test \${$3+y}
1801 then :
1802   printf %s "(cached) " >&6
1803 else $as_nop
1804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h.  */
1806 $4
1807 #include <$2>
1808 _ACEOF
1809 if ac_fn_c_try_compile "$LINENO"
1810 then :
1811   eval "$3=yes"
1812 else $as_nop
1813   eval "$3=no"
1814 fi
1815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1816 fi
1817 eval ac_res=\$$3
1818                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 printf "%s\n" "$ac_res" >&6; }
1820   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821
1822 } # ac_fn_c_check_header_compile
1823
1824 # ac_fn_cxx_try_compile LINENO
1825 # ----------------------------
1826 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1827 ac_fn_cxx_try_compile ()
1828 {
1829   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830   rm -f conftest.$ac_objext conftest.beam
1831   if { { ac_try="$ac_compile"
1832 case "(($ac_try" in
1833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834   *) ac_try_echo=$ac_try;;
1835 esac
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 printf "%s\n" "$ac_try_echo"; } >&5
1838   (eval "$ac_compile") 2>conftest.err
1839   ac_status=$?
1840   if test -s conftest.err; then
1841     grep -v '^ *+' conftest.err >conftest.er1
1842     cat conftest.er1 >&5
1843     mv -f conftest.er1 conftest.err
1844   fi
1845   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846   test $ac_status = 0; } && {
1847          test -z "$ac_cxx_werror_flag" ||
1848          test ! -s conftest.err
1849        } && test -s conftest.$ac_objext
1850 then :
1851   ac_retval=0
1852 else $as_nop
1853   printf "%s\n" "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1855
1856         ac_retval=1
1857 fi
1858   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859   as_fn_set_status $ac_retval
1860
1861 } # ac_fn_cxx_try_compile
1862
1863 # ac_fn_c_try_run LINENO
1864 # ----------------------
1865 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1866 # executables *can* be run.
1867 ac_fn_c_try_run ()
1868 {
1869   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870   if { { ac_try="$ac_link"
1871 case "(($ac_try" in
1872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873   *) ac_try_echo=$ac_try;;
1874 esac
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 printf "%s\n" "$ac_try_echo"; } >&5
1877   (eval "$ac_link") 2>&5
1878   ac_status=$?
1879   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1881   { { case "(($ac_try" in
1882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883   *) ac_try_echo=$ac_try;;
1884 esac
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 printf "%s\n" "$ac_try_echo"; } >&5
1887   (eval "$ac_try") 2>&5
1888   ac_status=$?
1889   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890   test $ac_status = 0; }; }
1891 then :
1892   ac_retval=0
1893 else $as_nop
1894   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1895        printf "%s\n" "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1897
1898        ac_retval=$ac_status
1899 fi
1900   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902   as_fn_set_status $ac_retval
1903
1904 } # ac_fn_c_try_run
1905
1906 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1907 # --------------------------------------------
1908 # Tries to find the compile-time value of EXPR in a program that includes
1909 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1910 # computed
1911 ac_fn_c_compute_int ()
1912 {
1913   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1914   if test "$cross_compiling" = yes; then
1915     # Depending upon the size, compute the lo and hi bounds.
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h.  */
1918 $4
1919 int
1920 main (void)
1921 {
1922 static int test_array [1 - 2 * !(($2) >= 0)];
1923 test_array [0] = 0;
1924 return test_array [0];
1925
1926   ;
1927   return 0;
1928 }
1929 _ACEOF
1930 if ac_fn_c_try_compile "$LINENO"
1931 then :
1932   ac_lo=0 ac_mid=0
1933   while :; do
1934     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h.  */
1936 $4
1937 int
1938 main (void)
1939 {
1940 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1941 test_array [0] = 0;
1942 return test_array [0];
1943
1944   ;
1945   return 0;
1946 }
1947 _ACEOF
1948 if ac_fn_c_try_compile "$LINENO"
1949 then :
1950   ac_hi=$ac_mid; break
1951 else $as_nop
1952   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1953                         if test $ac_lo -le $ac_mid; then
1954                           ac_lo= ac_hi=
1955                           break
1956                         fi
1957                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1958 fi
1959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1960   done
1961 else $as_nop
1962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963 /* end confdefs.h.  */
1964 $4
1965 int
1966 main (void)
1967 {
1968 static int test_array [1 - 2 * !(($2) < 0)];
1969 test_array [0] = 0;
1970 return test_array [0];
1971
1972   ;
1973   return 0;
1974 }
1975 _ACEOF
1976 if ac_fn_c_try_compile "$LINENO"
1977 then :
1978   ac_hi=-1 ac_mid=-1
1979   while :; do
1980     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h.  */
1982 $4
1983 int
1984 main (void)
1985 {
1986 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1987 test_array [0] = 0;
1988 return test_array [0];
1989
1990   ;
1991   return 0;
1992 }
1993 _ACEOF
1994 if ac_fn_c_try_compile "$LINENO"
1995 then :
1996   ac_lo=$ac_mid; break
1997 else $as_nop
1998   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1999                         if test $ac_mid -le $ac_hi; then
2000                           ac_lo= ac_hi=
2001                           break
2002                         fi
2003                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2004 fi
2005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2006   done
2007 else $as_nop
2008   ac_lo= ac_hi=
2009 fi
2010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2011 fi
2012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2013 # Binary search between lo and hi bounds.
2014 while test "x$ac_lo" != "x$ac_hi"; do
2015   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h.  */
2018 $4
2019 int
2020 main (void)
2021 {
2022 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2023 test_array [0] = 0;
2024 return test_array [0];
2025
2026   ;
2027   return 0;
2028 }
2029 _ACEOF
2030 if ac_fn_c_try_compile "$LINENO"
2031 then :
2032   ac_hi=$ac_mid
2033 else $as_nop
2034   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2035 fi
2036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2037 done
2038 case $ac_lo in #((
2039 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2040 '') ac_retval=1 ;;
2041 esac
2042   else
2043     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h.  */
2045 $4
2046 static long int longval (void) { return $2; }
2047 static unsigned long int ulongval (void) { return $2; }
2048 #include <stdio.h>
2049 #include <stdlib.h>
2050 int
2051 main (void)
2052 {
2053
2054   FILE *f = fopen ("conftest.val", "w");
2055   if (! f)
2056     return 1;
2057   if (($2) < 0)
2058     {
2059       long int i = longval ();
2060       if (i != ($2))
2061         return 1;
2062       fprintf (f, "%ld", i);
2063     }
2064   else
2065     {
2066       unsigned long int i = ulongval ();
2067       if (i != ($2))
2068         return 1;
2069       fprintf (f, "%lu", i);
2070     }
2071   /* Do not output a trailing newline, as this causes \r\n confusion
2072      on some platforms.  */
2073   return ferror (f) || fclose (f) != 0;
2074
2075   ;
2076   return 0;
2077 }
2078 _ACEOF
2079 if ac_fn_c_try_run "$LINENO"
2080 then :
2081   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2082 else $as_nop
2083   ac_retval=1
2084 fi
2085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2086   conftest.$ac_objext conftest.beam conftest.$ac_ext
2087 rm -f conftest.val
2088
2089   fi
2090   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2091   as_fn_set_status $ac_retval
2092
2093 } # ac_fn_c_compute_int
2094
2095 # ac_fn_cxx_try_run LINENO
2096 # ------------------------
2097 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
2098 # executables *can* be run.
2099 ac_fn_cxx_try_run ()
2100 {
2101   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2102   if { { ac_try="$ac_link"
2103 case "(($ac_try" in
2104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2105   *) ac_try_echo=$ac_try;;
2106 esac
2107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2108 printf "%s\n" "$ac_try_echo"; } >&5
2109   (eval "$ac_link") 2>&5
2110   ac_status=$?
2111   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2112   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2113   { { case "(($ac_try" in
2114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2115   *) ac_try_echo=$ac_try;;
2116 esac
2117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2118 printf "%s\n" "$ac_try_echo"; } >&5
2119   (eval "$ac_try") 2>&5
2120   ac_status=$?
2121   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2122   test $ac_status = 0; }; }
2123 then :
2124   ac_retval=0
2125 else $as_nop
2126   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
2127        printf "%s\n" "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.$ac_ext >&5
2129
2130        ac_retval=$ac_status
2131 fi
2132   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2133   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134   as_fn_set_status $ac_retval
2135
2136 } # ac_fn_cxx_try_run
2137
2138 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
2139 # ----------------------------------------------
2140 # Tries to find the compile-time value of EXPR in a program that includes
2141 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2142 # computed
2143 ac_fn_cxx_compute_int ()
2144 {
2145   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2146   if test "$cross_compiling" = yes; then
2147     # Depending upon the size, compute the lo and hi bounds.
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h.  */
2150 $4
2151 int
2152 main (void)
2153 {
2154 static int test_array [1 - 2 * !(($2) >= 0)];
2155 test_array [0] = 0;
2156 return test_array [0];
2157
2158   ;
2159   return 0;
2160 }
2161 _ACEOF
2162 if ac_fn_cxx_try_compile "$LINENO"
2163 then :
2164   ac_lo=0 ac_mid=0
2165   while :; do
2166     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h.  */
2168 $4
2169 int
2170 main (void)
2171 {
2172 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2173 test_array [0] = 0;
2174 return test_array [0];
2175
2176   ;
2177   return 0;
2178 }
2179 _ACEOF
2180 if ac_fn_cxx_try_compile "$LINENO"
2181 then :
2182   ac_hi=$ac_mid; break
2183 else $as_nop
2184   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2185                         if test $ac_lo -le $ac_mid; then
2186                           ac_lo= ac_hi=
2187                           break
2188                         fi
2189                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2190 fi
2191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2192   done
2193 else $as_nop
2194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2195 /* end confdefs.h.  */
2196 $4
2197 int
2198 main (void)
2199 {
2200 static int test_array [1 - 2 * !(($2) < 0)];
2201 test_array [0] = 0;
2202 return test_array [0];
2203
2204   ;
2205   return 0;
2206 }
2207 _ACEOF
2208 if ac_fn_cxx_try_compile "$LINENO"
2209 then :
2210   ac_hi=-1 ac_mid=-1
2211   while :; do
2212     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2213 /* end confdefs.h.  */
2214 $4
2215 int
2216 main (void)
2217 {
2218 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2219 test_array [0] = 0;
2220 return test_array [0];
2221
2222   ;
2223   return 0;
2224 }
2225 _ACEOF
2226 if ac_fn_cxx_try_compile "$LINENO"
2227 then :
2228   ac_lo=$ac_mid; break
2229 else $as_nop
2230   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2231                         if test $ac_mid -le $ac_hi; then
2232                           ac_lo= ac_hi=
2233                           break
2234                         fi
2235                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2236 fi
2237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2238   done
2239 else $as_nop
2240   ac_lo= ac_hi=
2241 fi
2242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2243 fi
2244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2245 # Binary search between lo and hi bounds.
2246 while test "x$ac_lo" != "x$ac_hi"; do
2247   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h.  */
2250 $4
2251 int
2252 main (void)
2253 {
2254 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2255 test_array [0] = 0;
2256 return test_array [0];
2257
2258   ;
2259   return 0;
2260 }
2261 _ACEOF
2262 if ac_fn_cxx_try_compile "$LINENO"
2263 then :
2264   ac_hi=$ac_mid
2265 else $as_nop
2266   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2267 fi
2268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2269 done
2270 case $ac_lo in #((
2271 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2272 '') ac_retval=1 ;;
2273 esac
2274   else
2275     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2276 /* end confdefs.h.  */
2277 $4
2278 static long int longval (void) { return $2; }
2279 static unsigned long int ulongval (void) { return $2; }
2280 #include <stdio.h>
2281 #include <stdlib.h>
2282 int
2283 main (void)
2284 {
2285
2286   FILE *f = fopen ("conftest.val", "w");
2287   if (! f)
2288     return 1;
2289   if (($2) < 0)
2290     {
2291       long int i = longval ();
2292       if (i != ($2))
2293         return 1;
2294       fprintf (f, "%ld", i);
2295     }
2296   else
2297     {
2298       unsigned long int i = ulongval ();
2299       if (i != ($2))
2300         return 1;
2301       fprintf (f, "%lu", i);
2302     }
2303   /* Do not output a trailing newline, as this causes \r\n confusion
2304      on some platforms.  */
2305   return ferror (f) || fclose (f) != 0;
2306
2307   ;
2308   return 0;
2309 }
2310 _ACEOF
2311 if ac_fn_cxx_try_run "$LINENO"
2312 then :
2313   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2314 else $as_nop
2315   ac_retval=1
2316 fi
2317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2318   conftest.$ac_objext conftest.beam conftest.$ac_ext
2319 rm -f conftest.val
2320
2321   fi
2322   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2323   as_fn_set_status $ac_retval
2324
2325 } # ac_fn_cxx_compute_int
2326
2327 # ac_fn_c_try_link LINENO
2328 # -----------------------
2329 # Try to link conftest.$ac_ext, and return whether this succeeded.
2330 ac_fn_c_try_link ()
2331 {
2332   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2333   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2334   if { { ac_try="$ac_link"
2335 case "(($ac_try" in
2336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337   *) ac_try_echo=$ac_try;;
2338 esac
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 printf "%s\n" "$ac_try_echo"; } >&5
2341   (eval "$ac_link") 2>conftest.err
2342   ac_status=$?
2343   if test -s conftest.err; then
2344     grep -v '^ *+' conftest.err >conftest.er1
2345     cat conftest.er1 >&5
2346     mv -f conftest.er1 conftest.err
2347   fi
2348   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349   test $ac_status = 0; } && {
2350          test -z "$ac_c_werror_flag" ||
2351          test ! -s conftest.err
2352        } && test -s conftest$ac_exeext && {
2353          test "$cross_compiling" = yes ||
2354          test -x conftest$ac_exeext
2355        }
2356 then :
2357   ac_retval=0
2358 else $as_nop
2359   printf "%s\n" "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.$ac_ext >&5
2361
2362         ac_retval=1
2363 fi
2364   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2365   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2366   # interfere with the next link command; also delete a directory that is
2367   # left behind by Apple's compiler.  We do this before executing the actions.
2368   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2369   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2370   as_fn_set_status $ac_retval
2371
2372 } # ac_fn_c_try_link
2373
2374 # ac_fn_c_check_func LINENO FUNC VAR
2375 # ----------------------------------
2376 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2377 ac_fn_c_check_func ()
2378 {
2379   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2380   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2381 printf %s "checking for $2... " >&6; }
2382 if eval test \${$3+y}
2383 then :
2384   printf %s "(cached) " >&6
2385 else $as_nop
2386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h.  */
2388 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2390 #define $2 innocuous_$2
2391
2392 /* System header to define __stub macros and hopefully few prototypes,
2393    which can conflict with char $2 (void); below.  */
2394
2395 #include <limits.h>
2396 #undef $2
2397
2398 /* Override any GCC internal prototype to avoid an error.
2399    Use char because int might match the return type of a GCC
2400    builtin and then its argument prototype would still apply.  */
2401 #ifdef __cplusplus
2402 extern "C"
2403 #endif
2404 char $2 (void);
2405 /* The GNU C library defines this for functions which it implements
2406     to always fail with ENOSYS.  Some functions are actually named
2407     something starting with __ and the normal name is an alias.  */
2408 #if defined __stub_$2 || defined __stub___$2
2409 choke me
2410 #endif
2411
2412 int
2413 main (void)
2414 {
2415 return $2 ();
2416   ;
2417   return 0;
2418 }
2419 _ACEOF
2420 if ac_fn_c_try_link "$LINENO"
2421 then :
2422   eval "$3=yes"
2423 else $as_nop
2424   eval "$3=no"
2425 fi
2426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2427     conftest$ac_exeext conftest.$ac_ext
2428 fi
2429 eval ac_res=\$$3
2430                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2431 printf "%s\n" "$ac_res" >&6; }
2432   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2433
2434 } # ac_fn_c_check_func
2435
2436 # ac_fn_cxx_try_cpp LINENO
2437 # ------------------------
2438 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2439 ac_fn_cxx_try_cpp ()
2440 {
2441   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442   if { { ac_try="$ac_cpp conftest.$ac_ext"
2443 case "(($ac_try" in
2444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2445   *) ac_try_echo=$ac_try;;
2446 esac
2447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2448 printf "%s\n" "$ac_try_echo"; } >&5
2449   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2450   ac_status=$?
2451   if test -s conftest.err; then
2452     grep -v '^ *+' conftest.err >conftest.er1
2453     cat conftest.er1 >&5
2454     mv -f conftest.er1 conftest.err
2455   fi
2456   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2457   test $ac_status = 0; } > conftest.i && {
2458          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2459          test ! -s conftest.err
2460        }
2461 then :
2462   ac_retval=0
2463 else $as_nop
2464   printf "%s\n" "$as_me: failed program was:" >&5
2465 sed 's/^/| /' conftest.$ac_ext >&5
2466
2467     ac_retval=1
2468 fi
2469   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2470   as_fn_set_status $ac_retval
2471
2472 } # ac_fn_cxx_try_cpp
2473
2474 # ac_fn_cxx_try_link LINENO
2475 # -------------------------
2476 # Try to link conftest.$ac_ext, and return whether this succeeded.
2477 ac_fn_cxx_try_link ()
2478 {
2479   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2480   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2481   if { { ac_try="$ac_link"
2482 case "(($ac_try" in
2483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484   *) ac_try_echo=$ac_try;;
2485 esac
2486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2487 printf "%s\n" "$ac_try_echo"; } >&5
2488   (eval "$ac_link") 2>conftest.err
2489   ac_status=$?
2490   if test -s conftest.err; then
2491     grep -v '^ *+' conftest.err >conftest.er1
2492     cat conftest.er1 >&5
2493     mv -f conftest.er1 conftest.err
2494   fi
2495   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2496   test $ac_status = 0; } && {
2497          test -z "$ac_cxx_werror_flag" ||
2498          test ! -s conftest.err
2499        } && test -s conftest$ac_exeext && {
2500          test "$cross_compiling" = yes ||
2501          test -x conftest$ac_exeext
2502        }
2503 then :
2504   ac_retval=0
2505 else $as_nop
2506   printf "%s\n" "$as_me: failed program was:" >&5
2507 sed 's/^/| /' conftest.$ac_ext >&5
2508
2509         ac_retval=1
2510 fi
2511   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2512   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2513   # interfere with the next link command; also delete a directory that is
2514   # left behind by Apple's compiler.  We do this before executing the actions.
2515   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2516   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2517   as_fn_set_status $ac_retval
2518
2519 } # ac_fn_cxx_try_link
2520
2521 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2522 # ------------------------------------------------------------------
2523 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2524 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2525 ac_fn_check_decl ()
2526 {
2527   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2528   as_decl_name=`echo $2|sed 's/ *(.*//'`
2529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2530 printf %s "checking whether $as_decl_name is declared... " >&6; }
2531 if eval test \${$3+y}
2532 then :
2533   printf %s "(cached) " >&6
2534 else $as_nop
2535   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2536   eval ac_save_FLAGS=\$$6
2537   as_fn_append $6 " $5"
2538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2539 /* end confdefs.h.  */
2540 $4
2541 int
2542 main (void)
2543 {
2544 #ifndef $as_decl_name
2545 #ifdef __cplusplus
2546   (void) $as_decl_use;
2547 #else
2548   (void) $as_decl_name;
2549 #endif
2550 #endif
2551
2552   ;
2553   return 0;
2554 }
2555 _ACEOF
2556 if ac_fn_c_try_compile "$LINENO"
2557 then :
2558   eval "$3=yes"
2559 else $as_nop
2560   eval "$3=no"
2561 fi
2562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2563   eval $6=\$ac_save_FLAGS
2564
2565 fi
2566 eval ac_res=\$$3
2567                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2568 printf "%s\n" "$ac_res" >&6; }
2569   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2570
2571 } # ac_fn_check_decl
2572
2573 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2574 # -------------------------------------------
2575 # Tests whether TYPE exists after having included INCLUDES, setting cache
2576 # variable VAR accordingly.
2577 ac_fn_c_check_type ()
2578 {
2579   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2581 printf %s "checking for $2... " >&6; }
2582 if eval test \${$3+y}
2583 then :
2584   printf %s "(cached) " >&6
2585 else $as_nop
2586   eval "$3=no"
2587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h.  */
2589 $4
2590 int
2591 main (void)
2592 {
2593 if (sizeof ($2))
2594          return 0;
2595   ;
2596   return 0;
2597 }
2598 _ACEOF
2599 if ac_fn_c_try_compile "$LINENO"
2600 then :
2601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2602 /* end confdefs.h.  */
2603 $4
2604 int
2605 main (void)
2606 {
2607 if (sizeof (($2)))
2608             return 0;
2609   ;
2610   return 0;
2611 }
2612 _ACEOF
2613 if ac_fn_c_try_compile "$LINENO"
2614 then :
2615
2616 else $as_nop
2617   eval "$3=yes"
2618 fi
2619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2620 fi
2621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2622 fi
2623 eval ac_res=\$$3
2624                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2625 printf "%s\n" "$ac_res" >&6; }
2626   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2627
2628 } # ac_fn_c_check_type
2629 ac_configure_args_raw=
2630 for ac_arg
2631 do
2632   case $ac_arg in
2633   *\'*)
2634     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2635   esac
2636   as_fn_append ac_configure_args_raw " '$ac_arg'"
2637 done
2638
2639 case $ac_configure_args_raw in
2640   *$as_nl*)
2641     ac_safe_unquote= ;;
2642   *)
2643     ac_unsafe_z='|&;<>()$`\\"*?[ ''     ' # This string ends in space, tab.
2644     ac_unsafe_a="$ac_unsafe_z#~"
2645     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2646     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2647 esac
2648
2649 cat >config.log <<_ACEOF
2650 This file contains any messages produced by compilers while
2651 running configure, to aid debugging if configure makes a mistake.
2652
2653 It was created by libsndfile $as_me 1.2.2, which was
2654 generated by GNU Autoconf 2.71.  Invocation command line was
2655
2656   $ $0$ac_configure_args_raw
2657
2658 _ACEOF
2659 exec 5>>config.log
2660 {
2661 cat <<_ASUNAME
2662 ## --------- ##
2663 ## Platform. ##
2664 ## --------- ##
2665
2666 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2667 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2668 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2669 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2670 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2671
2672 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2673 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2674
2675 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2676 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2677 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2678 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2679 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2680 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2681 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2682
2683 _ASUNAME
2684
2685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686 for as_dir in $PATH
2687 do
2688   IFS=$as_save_IFS
2689   case $as_dir in #(((
2690     '') as_dir=./ ;;
2691     */) ;;
2692     *) as_dir=$as_dir/ ;;
2693   esac
2694     printf "%s\n" "PATH: $as_dir"
2695   done
2696 IFS=$as_save_IFS
2697
2698 } >&5
2699
2700 cat >&5 <<_ACEOF
2701
2702
2703 ## ----------- ##
2704 ## Core tests. ##
2705 ## ----------- ##
2706
2707 _ACEOF
2708
2709
2710 # Keep a trace of the command line.
2711 # Strip out --no-create and --no-recursion so they do not pile up.
2712 # Strip out --silent because we don't want to record it for future runs.
2713 # Also quote any args containing shell meta-characters.
2714 # Make two passes to allow for proper duplicate-argument suppression.
2715 ac_configure_args=
2716 ac_configure_args0=
2717 ac_configure_args1=
2718 ac_must_keep_next=false
2719 for ac_pass in 1 2
2720 do
2721   for ac_arg
2722   do
2723     case $ac_arg in
2724     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2725     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2726     | -silent | --silent | --silen | --sile | --sil)
2727       continue ;;
2728     *\'*)
2729       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2730     esac
2731     case $ac_pass in
2732     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2733     2)
2734       as_fn_append ac_configure_args1 " '$ac_arg'"
2735       if test $ac_must_keep_next = true; then
2736         ac_must_keep_next=false # Got value, back to normal.
2737       else
2738         case $ac_arg in
2739           *=* | --config-cache | -C | -disable-* | --disable-* \
2740           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2741           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2742           | -with-* | --with-* | -without-* | --without-* | --x)
2743             case "$ac_configure_args0 " in
2744               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2745             esac
2746             ;;
2747           -* ) ac_must_keep_next=true ;;
2748         esac
2749       fi
2750       as_fn_append ac_configure_args " '$ac_arg'"
2751       ;;
2752     esac
2753   done
2754 done
2755 { ac_configure_args0=; unset ac_configure_args0;}
2756 { ac_configure_args1=; unset ac_configure_args1;}
2757
2758 # When interrupted or exit'd, cleanup temporary files, and complete
2759 # config.log.  We remove comments because anyway the quotes in there
2760 # would cause problems or look ugly.
2761 # WARNING: Use '\'' to represent an apostrophe within the trap.
2762 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2763 trap 'exit_status=$?
2764   # Sanitize IFS.
2765   IFS=" ""      $as_nl"
2766   # Save into config.log some information that might help in debugging.
2767   {
2768     echo
2769
2770     printf "%s\n" "## ---------------- ##
2771 ## Cache variables. ##
2772 ## ---------------- ##"
2773     echo
2774     # The following way of writing the cache mishandles newlines in values,
2775 (
2776   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2777     eval ac_val=\$$ac_var
2778     case $ac_val in #(
2779     *${as_nl}*)
2780       case $ac_var in #(
2781       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2782 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2783       esac
2784       case $ac_var in #(
2785       _ | IFS | as_nl) ;; #(
2786       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2787       *) { eval $ac_var=; unset $ac_var;} ;;
2788       esac ;;
2789     esac
2790   done
2791   (set) 2>&1 |
2792     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2793     *${as_nl}ac_space=\ *)
2794       sed -n \
2795         "s/'\''/'\''\\\\'\'''\''/g;
2796           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2797       ;; #(
2798     *)
2799       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2800       ;;
2801     esac |
2802     sort
2803 )
2804     echo
2805
2806     printf "%s\n" "## ----------------- ##
2807 ## Output variables. ##
2808 ## ----------------- ##"
2809     echo
2810     for ac_var in $ac_subst_vars
2811     do
2812       eval ac_val=\$$ac_var
2813       case $ac_val in
2814       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2815       esac
2816       printf "%s\n" "$ac_var='\''$ac_val'\''"
2817     done | sort
2818     echo
2819
2820     if test -n "$ac_subst_files"; then
2821       printf "%s\n" "## ------------------- ##
2822 ## File substitutions. ##
2823 ## ------------------- ##"
2824       echo
2825       for ac_var in $ac_subst_files
2826       do
2827         eval ac_val=\$$ac_var
2828         case $ac_val in
2829         *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2830         esac
2831         printf "%s\n" "$ac_var='\''$ac_val'\''"
2832       done | sort
2833       echo
2834     fi
2835
2836     if test -s confdefs.h; then
2837       printf "%s\n" "## ----------- ##
2838 ## confdefs.h. ##
2839 ## ----------- ##"
2840       echo
2841       cat confdefs.h
2842       echo
2843     fi
2844     test "$ac_signal" != 0 &&
2845       printf "%s\n" "$as_me: caught signal $ac_signal"
2846     printf "%s\n" "$as_me: exit $exit_status"
2847   } >&5
2848   rm -f core *.core core.conftest.* &&
2849     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2850     exit $exit_status
2851 ' 0
2852 for ac_signal in 1 2 13 15; do
2853   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2854 done
2855 ac_signal=0
2856
2857 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2858 rm -f -r conftest* confdefs.h
2859
2860 printf "%s\n" "/* confdefs.h */" > confdefs.h
2861
2862 # Predefined preprocessor variables.
2863
2864 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2865
2866 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2867
2868 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2869
2870 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2871
2872 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2873
2874 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2875
2876
2877 # Let the site file select an alternate cache file if it wants to.
2878 # Prefer an explicitly selected file to automatically selected ones.
2879 if test -n "$CONFIG_SITE"; then
2880   ac_site_files="$CONFIG_SITE"
2881 elif test "x$prefix" != xNONE; then
2882   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2883 else
2884   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2885 fi
2886
2887 for ac_site_file in $ac_site_files
2888 do
2889   case $ac_site_file in #(
2890   */*) :
2891      ;; #(
2892   *) :
2893     ac_site_file=./$ac_site_file ;;
2894 esac
2895   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2896     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2897 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2898     sed 's/^/| /' "$ac_site_file" >&5
2899     . "$ac_site_file" \
2900       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2901 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2902 as_fn_error $? "failed to load site script $ac_site_file
2903 See \`config.log' for more details" "$LINENO" 5; }
2904   fi
2905 done
2906
2907 if test -r "$cache_file"; then
2908   # Some versions of bash will fail to source /dev/null (special files
2909   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2910   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2911     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2912 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2913     case $cache_file in
2914       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2915       *)                      . "./$cache_file";;
2916     esac
2917   fi
2918 else
2919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2920 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2921   >$cache_file
2922 fi
2923
2924 # Test code for whether the C compiler supports C89 (global declarations)
2925 ac_c_conftest_c89_globals='
2926 /* Does the compiler advertise C89 conformance?
2927    Do not test the value of __STDC__, because some compilers set it to 0
2928    while being otherwise adequately conformant. */
2929 #if !defined __STDC__
2930 # error "Compiler does not advertise C89 conformance"
2931 #endif
2932
2933 #include <stddef.h>
2934 #include <stdarg.h>
2935 struct stat;
2936 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2937 struct buf { int x; };
2938 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2939 static char *e (char **p, int i)
2940 {
2941   return p[i];
2942 }
2943 static char *f (char * (*g) (char **, int), char **p, ...)
2944 {
2945   char *s;
2946   va_list v;
2947   va_start (v,p);
2948   s = g (p, va_arg (v,int));
2949   va_end (v);
2950   return s;
2951 }
2952
2953 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2954    function prototypes and stuff, but not \xHH hex character constants.
2955    These do not provoke an error unfortunately, instead are silently treated
2956    as an "x".  The following induces an error, until -std is added to get
2957    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2958    array size at least.  It is necessary to write \x00 == 0 to get something
2959    that is true only with -std.  */
2960 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2961
2962 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2963    inside strings and character constants.  */
2964 #define FOO(x) '\''x'\''
2965 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2966
2967 int test (int i, double x);
2968 struct s1 {int (*f) (int a);};
2969 struct s2 {int (*f) (double a);};
2970 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2971                int, int);'
2972
2973 # Test code for whether the C compiler supports C89 (body of main).
2974 ac_c_conftest_c89_main='
2975 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2976 '
2977
2978 # Test code for whether the C compiler supports C99 (global declarations)
2979 ac_c_conftest_c99_globals='
2980 // Does the compiler advertise C99 conformance?
2981 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2982 # error "Compiler does not advertise C99 conformance"
2983 #endif
2984
2985 #include <stdbool.h>
2986 extern int puts (const char *);
2987 extern int printf (const char *, ...);
2988 extern int dprintf (int, const char *, ...);
2989 extern void *malloc (size_t);
2990 extern void free (void *);
2991
2992 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
2993 // dprintf is used instead of fprintf to avoid needing to declare
2994 // FILE and stderr.
2995 #define debug(...) dprintf (2, __VA_ARGS__)
2996 #define showlist(...) puts (#__VA_ARGS__)
2997 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2998 static void
2999 test_varargs_macros (void)
3000 {
3001   int x = 1234;
3002   int y = 5678;
3003   debug ("Flag");
3004   debug ("X = %d\n", x);
3005   showlist (The first, second, and third items.);
3006   report (x>y, "x is %d but y is %d", x, y);
3007 }
3008
3009 // Check long long types.
3010 #define BIG64 18446744073709551615ull
3011 #define BIG32 4294967295ul
3012 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3013 #if !BIG_OK
3014   #error "your preprocessor is broken"
3015 #endif
3016 #if BIG_OK
3017 #else
3018   #error "your preprocessor is broken"
3019 #endif
3020 static long long int bignum = -9223372036854775807LL;
3021 static unsigned long long int ubignum = BIG64;
3022
3023 struct incomplete_array
3024 {
3025   int datasize;
3026   double data[];
3027 };
3028
3029 struct named_init {
3030   int number;
3031   const wchar_t *name;
3032   double average;
3033 };
3034
3035 typedef const char *ccp;
3036
3037 static inline int
3038 test_restrict (ccp restrict text)
3039 {
3040   // See if C++-style comments work.
3041   // Iterate through items via the restricted pointer.
3042   // Also check for declarations in for loops.
3043   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3044     continue;
3045   return 0;
3046 }
3047
3048 // Check varargs and va_copy.
3049 static bool
3050 test_varargs (const char *format, ...)
3051 {
3052   va_list args;
3053   va_start (args, format);
3054   va_list args_copy;
3055   va_copy (args_copy, args);
3056
3057   const char *str = "";
3058   int number = 0;
3059   float fnumber = 0;
3060
3061   while (*format)
3062     {
3063       switch (*format++)
3064         {
3065         case '\''s'\'': // string
3066           str = va_arg (args_copy, const char *);
3067           break;
3068         case '\''d'\'': // int
3069           number = va_arg (args_copy, int);
3070           break;
3071         case '\''f'\'': // float
3072           fnumber = va_arg (args_copy, double);
3073           break;
3074         default:
3075           break;
3076         }
3077     }
3078   va_end (args_copy);
3079   va_end (args);
3080
3081   return *str && number && fnumber;
3082 }
3083 '
3084
3085 # Test code for whether the C compiler supports C99 (body of main).
3086 ac_c_conftest_c99_main='
3087   // Check bool.
3088   _Bool success = false;
3089   success |= (argc != 0);
3090
3091   // Check restrict.
3092   if (test_restrict ("String literal") == 0)
3093     success = true;
3094   char *restrict newvar = "Another string";
3095
3096   // Check varargs.
3097   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3098   test_varargs_macros ();
3099
3100   // Check flexible array members.
3101   struct incomplete_array *ia =
3102     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3103   ia->datasize = 10;
3104   for (int i = 0; i < ia->datasize; ++i)
3105     ia->data[i] = i * 1.234;
3106
3107   // Check named initializers.
3108   struct named_init ni = {
3109     .number = 34,
3110     .name = L"Test wide string",
3111     .average = 543.34343,
3112   };
3113
3114   ni.number = 58;
3115
3116   int dynamic_array[ni.number];
3117   dynamic_array[0] = argv[0][0];
3118   dynamic_array[ni.number - 1] = 543;
3119
3120   // work around unused variable warnings
3121   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3122          || dynamic_array[ni.number - 1] != 543);
3123 '
3124
3125 # Test code for whether the C compiler supports C11 (global declarations)
3126 ac_c_conftest_c11_globals='
3127 // Does the compiler advertise C11 conformance?
3128 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3129 # error "Compiler does not advertise C11 conformance"
3130 #endif
3131
3132 // Check _Alignas.
3133 char _Alignas (double) aligned_as_double;
3134 char _Alignas (0) no_special_alignment;
3135 extern char aligned_as_int;
3136 char _Alignas (0) _Alignas (int) aligned_as_int;
3137
3138 // Check _Alignof.
3139 enum
3140 {
3141   int_alignment = _Alignof (int),
3142   int_array_alignment = _Alignof (int[100]),
3143   char_alignment = _Alignof (char)
3144 };
3145 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3146
3147 // Check _Noreturn.
3148 int _Noreturn does_not_return (void) { for (;;) continue; }
3149
3150 // Check _Static_assert.
3151 struct test_static_assert
3152 {
3153   int x;
3154   _Static_assert (sizeof (int) <= sizeof (long int),
3155                   "_Static_assert does not work in struct");
3156   long int y;
3157 };
3158
3159 // Check UTF-8 literals.
3160 #define u8 syntax error!
3161 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3162
3163 // Check duplicate typedefs.
3164 typedef long *long_ptr;
3165 typedef long int *long_ptr;
3166 typedef long_ptr long_ptr;
3167
3168 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3169 struct anonymous
3170 {
3171   union {
3172     struct { int i; int j; };
3173     struct { int k; long int l; } w;
3174   };
3175   int m;
3176 } v1;
3177 '
3178
3179 # Test code for whether the C compiler supports C11 (body of main).
3180 ac_c_conftest_c11_main='
3181   _Static_assert ((offsetof (struct anonymous, i)
3182                    == offsetof (struct anonymous, w.k)),
3183                   "Anonymous union alignment botch");
3184   v1.i = 2;
3185   v1.w.k = 5;
3186   ok |= v1.i != 5;
3187 '
3188
3189 # Test code for whether the C compiler supports C11 (complete).
3190 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3191 ${ac_c_conftest_c99_globals}
3192 ${ac_c_conftest_c11_globals}
3193
3194 int
3195 main (int argc, char **argv)
3196 {
3197   int ok = 0;
3198   ${ac_c_conftest_c89_main}
3199   ${ac_c_conftest_c99_main}
3200   ${ac_c_conftest_c11_main}
3201   return ok;
3202 }
3203 "
3204
3205 # Test code for whether the C compiler supports C99 (complete).
3206 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3207 ${ac_c_conftest_c99_globals}
3208
3209 int
3210 main (int argc, char **argv)
3211 {
3212   int ok = 0;
3213   ${ac_c_conftest_c89_main}
3214   ${ac_c_conftest_c99_main}
3215   return ok;
3216 }
3217 "
3218
3219 # Test code for whether the C compiler supports C89 (complete).
3220 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3221
3222 int
3223 main (int argc, char **argv)
3224 {
3225   int ok = 0;
3226   ${ac_c_conftest_c89_main}
3227   return ok;
3228 }
3229 "
3230
3231 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3232 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3233 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3234 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3235 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3236 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3237 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3238 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3239 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3240 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
3241 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
3242 # Test code for whether the C++ compiler supports C++98 (global declarations)
3243 ac_cxx_conftest_cxx98_globals='
3244 // Does the compiler advertise C++98 conformance?
3245 #if !defined __cplusplus || __cplusplus < 199711L
3246 # error "Compiler does not advertise C++98 conformance"
3247 #endif
3248
3249 // These inclusions are to reject old compilers that
3250 // lack the unsuffixed header files.
3251 #include <cstdlib>
3252 #include <exception>
3253
3254 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3255 extern void assert (int);
3256 namespace std {
3257   extern int strcmp (const char *, const char *);
3258 }
3259
3260 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3261 using std::exception;
3262 using std::strcmp;
3263
3264 namespace {
3265
3266 void test_exception_syntax()
3267 {
3268   try {
3269     throw "test";
3270   } catch (const char *s) {
3271     // Extra parentheses suppress a warning when building autoconf itself,
3272     // due to lint rules shared with more typical C programs.
3273     assert (!(strcmp) (s, "test"));
3274   }
3275 }
3276
3277 template <typename T> struct test_template
3278 {
3279   T const val;
3280   explicit test_template(T t) : val(t) {}
3281   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3282 };
3283
3284 } // anonymous namespace
3285 '
3286
3287 # Test code for whether the C++ compiler supports C++98 (body of main)
3288 ac_cxx_conftest_cxx98_main='
3289   assert (argc);
3290   assert (! argv[0]);
3291 {
3292   test_exception_syntax ();
3293   test_template<double> tt (2.0);
3294   assert (tt.add (4) == 6.0);
3295   assert (true && !false);
3296 }
3297 '
3298
3299 # Test code for whether the C++ compiler supports C++11 (global declarations)
3300 ac_cxx_conftest_cxx11_globals='
3301 // Does the compiler advertise C++ 2011 conformance?
3302 #if !defined __cplusplus || __cplusplus < 201103L
3303 # error "Compiler does not advertise C++11 conformance"
3304 #endif
3305
3306 namespace cxx11test
3307 {
3308   constexpr int get_val() { return 20; }
3309
3310   struct testinit
3311   {
3312     int i;
3313     double d;
3314   };
3315
3316   class delegate
3317   {
3318   public:
3319     delegate(int n) : n(n) {}
3320     delegate(): delegate(2354) {}
3321
3322     virtual int getval() { return this->n; };
3323   protected:
3324     int n;
3325   };
3326
3327   class overridden : public delegate
3328   {
3329   public:
3330     overridden(int n): delegate(n) {}
3331     virtual int getval() override final { return this->n * 2; }
3332   };
3333
3334   class nocopy
3335   {
3336   public:
3337     nocopy(int i): i(i) {}
3338     nocopy() = default;
3339     nocopy(const nocopy&) = delete;
3340     nocopy & operator=(const nocopy&) = delete;
3341   private:
3342     int i;
3343   };
3344
3345   // for testing lambda expressions
3346   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3347   {
3348     return f(v);
3349   }
3350
3351   // for testing variadic templates and trailing return types
3352   template <typename V> auto sum(V first) -> V
3353   {
3354     return first;
3355   }
3356   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3357   {
3358     return first + sum(rest...);
3359   }
3360 }
3361 '
3362
3363 # Test code for whether the C++ compiler supports C++11 (body of main)
3364 ac_cxx_conftest_cxx11_main='
3365 {
3366   // Test auto and decltype
3367   auto a1 = 6538;
3368   auto a2 = 48573953.4;
3369   auto a3 = "String literal";
3370
3371   int total = 0;
3372   for (auto i = a3; *i; ++i) { total += *i; }
3373
3374   decltype(a2) a4 = 34895.034;
3375 }
3376 {
3377   // Test constexpr
3378   short sa[cxx11test::get_val()] = { 0 };
3379 }
3380 {
3381   // Test initializer lists
3382   cxx11test::testinit il = { 4323, 435234.23544 };
3383 }
3384 {
3385   // Test range-based for
3386   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3387                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3388   for (auto &x : array) { x += 23; }
3389 }
3390 {
3391   // Test lambda expressions
3392   using cxx11test::eval;
3393   assert (eval ([](int x) { return x*2; }, 21) == 42);
3394   double d = 2.0;
3395   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3396   assert (d == 5.0);
3397   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3398   assert (d == 5.0);
3399 }
3400 {
3401   // Test use of variadic templates
3402   using cxx11test::sum;
3403   auto a = sum(1);
3404   auto b = sum(1, 2);
3405   auto c = sum(1.0, 2.0, 3.0);
3406 }
3407 {
3408   // Test constructor delegation
3409   cxx11test::delegate d1;
3410   cxx11test::delegate d2();
3411   cxx11test::delegate d3(45);
3412 }
3413 {
3414   // Test override and final
3415   cxx11test::overridden o1(55464);
3416 }
3417 {
3418   // Test nullptr
3419   char *c = nullptr;
3420 }
3421 {
3422   // Test template brackets
3423   test_template<::test_template<int>> v(test_template<int>(12));
3424 }
3425 {
3426   // Unicode literals
3427   char const *utf8 = u8"UTF-8 string \u2500";
3428   char16_t const *utf16 = u"UTF-8 string \u2500";
3429   char32_t const *utf32 = U"UTF-32 string \u2500";
3430 }
3431 '
3432
3433 # Test code for whether the C compiler supports C++11 (complete).
3434 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3435 ${ac_cxx_conftest_cxx11_globals}
3436
3437 int
3438 main (int argc, char **argv)
3439 {
3440   int ok = 0;
3441   ${ac_cxx_conftest_cxx98_main}
3442   ${ac_cxx_conftest_cxx11_main}
3443   return ok;
3444 }
3445 "
3446
3447 # Test code for whether the C compiler supports C++98 (complete).
3448 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3449 int
3450 main (int argc, char **argv)
3451 {
3452   int ok = 0;
3453   ${ac_cxx_conftest_cxx98_main}
3454   return ok;
3455 }
3456 "
3457
3458
3459 # Auxiliary files required by this configure script.
3460 ac_aux_files="ltmain.sh ar-lib compile missing install-sh config.guess config.sub"
3461
3462 # Locations in which to look for auxiliary files.
3463 ac_aux_dir_candidates="${srcdir}/build-aux"
3464
3465 # Search for a directory containing all of the required auxiliary files,
3466 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3467 # If we don't find one directory that contains all the files we need,
3468 # we report the set of missing files from the *first* directory in
3469 # $ac_aux_dir_candidates and give up.
3470 ac_missing_aux_files=""
3471 ac_first_candidate=:
3472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 as_found=false
3475 for as_dir in $ac_aux_dir_candidates
3476 do
3477   IFS=$as_save_IFS
3478   case $as_dir in #(((
3479     '') as_dir=./ ;;
3480     */) ;;
3481     *) as_dir=$as_dir/ ;;
3482   esac
3483   as_found=:
3484
3485   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
3486   ac_aux_dir_found=yes
3487   ac_install_sh=
3488   for ac_aux in $ac_aux_files
3489   do
3490     # As a special case, if "install-sh" is required, that requirement
3491     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3492     # and $ac_install_sh is set appropriately for whichever one is found.
3493     if test x"$ac_aux" = x"install-sh"
3494     then
3495       if test -f "${as_dir}install-sh"; then
3496         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
3497         ac_install_sh="${as_dir}install-sh -c"
3498       elif test -f "${as_dir}install.sh"; then
3499         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
3500         ac_install_sh="${as_dir}install.sh -c"
3501       elif test -f "${as_dir}shtool"; then
3502         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
3503         ac_install_sh="${as_dir}shtool install -c"
3504       else
3505         ac_aux_dir_found=no
3506         if $ac_first_candidate; then
3507           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3508         else
3509           break
3510         fi
3511       fi
3512     else
3513       if test -f "${as_dir}${ac_aux}"; then
3514         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
3515       else
3516         ac_aux_dir_found=no
3517         if $ac_first_candidate; then
3518           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3519         else
3520           break
3521         fi
3522       fi
3523     fi
3524   done
3525   if test "$ac_aux_dir_found" = yes; then
3526     ac_aux_dir="$as_dir"
3527     break
3528   fi
3529   ac_first_candidate=false
3530
3531   as_found=false
3532 done
3533 IFS=$as_save_IFS
3534 if $as_found
3535 then :
3536
3537 else $as_nop
3538   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3539 fi
3540
3541
3542 # These three variables are undocumented and unsupported,
3543 # and are intended to be withdrawn in a future Autoconf release.
3544 # They can cause serious problems if a builder's source tree is in a directory
3545 # whose full name contains unusual characters.
3546 if test -f "${ac_aux_dir}config.guess"; then
3547   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3548 fi
3549 if test -f "${ac_aux_dir}config.sub"; then
3550   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3551 fi
3552 if test -f "$ac_aux_dir/configure"; then
3553   ac_configure="$SHELL ${ac_aux_dir}configure"
3554 fi
3555
3556 # Check that the precious variables saved in the cache have kept the same
3557 # value.
3558 ac_cache_corrupted=false
3559 for ac_var in $ac_precious_vars; do
3560   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3561   eval ac_new_set=\$ac_env_${ac_var}_set
3562   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3563   eval ac_new_val=\$ac_env_${ac_var}_value
3564   case $ac_old_set,$ac_new_set in
3565     set,)
3566       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3567 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3568       ac_cache_corrupted=: ;;
3569     ,set)
3570       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3571 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3572       ac_cache_corrupted=: ;;
3573     ,);;
3574     *)
3575       if test "x$ac_old_val" != "x$ac_new_val"; then
3576         # differences in whitespace do not lead to failure.
3577         ac_old_val_w=`echo x $ac_old_val`
3578         ac_new_val_w=`echo x $ac_new_val`
3579         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3580           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3581 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3582           ac_cache_corrupted=:
3583         else
3584           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3585 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3586           eval $ac_var=\$ac_old_val
3587         fi
3588         { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3589 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
3590         { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3591 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
3592       fi;;
3593   esac
3594   # Pass precious variables to config.status.
3595   if test "$ac_new_set" = set; then
3596     case $ac_new_val in
3597     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3598     *) ac_arg=$ac_var=$ac_new_val ;;
3599     esac
3600     case " $ac_configure_args " in
3601       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3602       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3603     esac
3604   fi
3605 done
3606 if $ac_cache_corrupted; then
3607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3610 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3611   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3612             and start over" "$LINENO" 5
3613 fi
3614 ## -------------------- ##
3615 ## Main body of script. ##
3616 ## -------------------- ##
3617
3618 ac_ext=c
3619 ac_cpp='$CPP $CPPFLAGS'
3620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3623
3624
3625
3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS" >&5
3627 printf %s "checking whether configure should try to set CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS... " >&6; }
3628 if test "x${CFLAGS+set}" = "xset" || test "x${CXXFLAGS+set}" = "xset" || test "x${CPPFLAGS+set}" = "xset" || test "x${LDFLAGS+set}" = "xset"
3629 then :
3630
3631                 enable_flags_setting=no
3632                 : ${CFLAGS=""}
3633                 : ${CXXFLAGS=""}
3634
3635 else $as_nop
3636
3637                 enable_flags_setting=yes
3638                                                 CFLAGS=""
3639                 CXXFLAGS=""
3640
3641 fi
3642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${enable_flags_setting}" >&5
3643 printf "%s\n" "${enable_flags_setting}" >&6; }
3644
3645
3646
3647
3648
3649
3650
3651   # Make sure we can run config.sub.
3652 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
3653   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
3654
3655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3656 printf %s "checking build system type... " >&6; }
3657 if test ${ac_cv_build+y}
3658 then :
3659   printf %s "(cached) " >&6
3660 else $as_nop
3661   ac_build_alias=$build_alias
3662 test "x$ac_build_alias" = x &&
3663   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
3664 test "x$ac_build_alias" = x &&
3665   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3666 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
3667   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
3668
3669 fi
3670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3671 printf "%s\n" "$ac_cv_build" >&6; }
3672 case $ac_cv_build in
3673 *-*-*) ;;
3674 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3675 esac
3676 build=$ac_cv_build
3677 ac_save_IFS=$IFS; IFS='-'
3678 set x $ac_cv_build
3679 shift
3680 build_cpu=$1
3681 build_vendor=$2
3682 shift; shift
3683 # Remember, the first character of IFS is used to create $*,
3684 # except with old shells:
3685 build_os=$*
3686 IFS=$ac_save_IFS
3687 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3688
3689
3690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3691 printf %s "checking host system type... " >&6; }
3692 if test ${ac_cv_host+y}
3693 then :
3694   printf %s "(cached) " >&6
3695 else $as_nop
3696   if test "x$host_alias" = x; then
3697   ac_cv_host=$ac_cv_build
3698 else
3699   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3700     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3701 fi
3702
3703 fi
3704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3705 printf "%s\n" "$ac_cv_host" >&6; }
3706 case $ac_cv_host in
3707 *-*-*) ;;
3708 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3709 esac
3710 host=$ac_cv_host
3711 ac_save_IFS=$IFS; IFS='-'
3712 set x $ac_cv_host
3713 shift
3714 host_cpu=$1
3715 host_vendor=$2
3716 shift; shift
3717 # Remember, the first character of IFS is used to create $*,
3718 # except with old shells:
3719 host_os=$*
3720 IFS=$ac_save_IFS
3721 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3722
3723
3724
3725
3726 ac_config_headers="$ac_config_headers src/config.h"
3727
3728
3729 am__api_version='1.16'
3730
3731
3732   # Find a good install program.  We prefer a C program (faster),
3733 # so one script is as good as another.  But avoid the broken or
3734 # incompatible versions:
3735 # SysV /etc/install, /usr/sbin/install
3736 # SunOS /usr/etc/install
3737 # IRIX /sbin/install
3738 # AIX /bin/install
3739 # AmigaOS /C/install, which installs bootblocks on floppy discs
3740 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3741 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3742 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3743 # OS/2's system install, which has a completely different semantic
3744 # ./install, which can be erroneously created by make from ./install.sh.
3745 # Reject install programs that cannot install multiple files.
3746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3747 printf %s "checking for a BSD-compatible install... " >&6; }
3748 if test -z "$INSTALL"; then
3749 if test ${ac_cv_path_install+y}
3750 then :
3751   printf %s "(cached) " >&6
3752 else $as_nop
3753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3755 do
3756   IFS=$as_save_IFS
3757   case $as_dir in #(((
3758     '') as_dir=./ ;;
3759     */) ;;
3760     *) as_dir=$as_dir/ ;;
3761   esac
3762     # Account for fact that we put trailing slashes in our PATH walk.
3763 case $as_dir in #((
3764   ./ | /[cC]/* | \
3765   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3766   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3767   /usr/ucb/* ) ;;
3768   *)
3769     # OSF1 and SCO ODT 3.0 have their own names for install.
3770     # Don't use installbsd from OSF since it installs stuff as root
3771     # by default.
3772     for ac_prog in ginstall scoinst install; do
3773       for ac_exec_ext in '' $ac_executable_extensions; do
3774         if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3775           if test $ac_prog = install &&
3776             grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3777             # AIX install.  It has an incompatible calling convention.
3778             :
3779           elif test $ac_prog = install &&
3780             grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3781             # program-specific install script used by HP pwplus--don't use.
3782             :
3783           else
3784             rm -rf conftest.one conftest.two conftest.dir
3785             echo one > conftest.one
3786             echo two > conftest.two
3787             mkdir conftest.dir
3788             if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3789               test -s conftest.one && test -s conftest.two &&
3790               test -s conftest.dir/conftest.one &&
3791               test -s conftest.dir/conftest.two
3792             then
3793               ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3794               break 3
3795             fi
3796           fi
3797         fi
3798       done
3799     done
3800     ;;
3801 esac
3802
3803   done
3804 IFS=$as_save_IFS
3805
3806 rm -rf conftest.one conftest.two conftest.dir
3807
3808 fi
3809   if test ${ac_cv_path_install+y}; then
3810     INSTALL=$ac_cv_path_install
3811   else
3812     # As a last resort, use the slow shell script.  Don't cache a
3813     # value for INSTALL within a source directory, because that will
3814     # break other packages using the cache if that directory is
3815     # removed, or if the value is a relative name.
3816     INSTALL=$ac_install_sh
3817   fi
3818 fi
3819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3820 printf "%s\n" "$INSTALL" >&6; }
3821
3822 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3823 # It thinks the first close brace ends the variable substitution.
3824 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3825
3826 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3827
3828 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3829
3830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3831 printf %s "checking whether build environment is sane... " >&6; }
3832 # Reject unsafe characters in $srcdir or the absolute working directory
3833 # name.  Accept space and tab only in the latter.
3834 am_lf='
3835 '
3836 case `pwd` in
3837   *[\\\"\#\$\&\'\`$am_lf]*)
3838     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3839 esac
3840 case $srcdir in
3841   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3842     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3843 esac
3844
3845 # Do 'set' in a subshell so we don't clobber the current shell's
3846 # arguments.  Must try -L first in case configure is actually a
3847 # symlink; some systems play weird games with the mod time of symlinks
3848 # (eg FreeBSD returns the mod time of the symlink's containing
3849 # directory).
3850 if (
3851    am_has_slept=no
3852    for am_try in 1 2; do
3853      echo "timestamp, slept: $am_has_slept" > conftest.file
3854      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3855      if test "$*" = "X"; then
3856         # -L didn't work.
3857         set X `ls -t "$srcdir/configure" conftest.file`
3858      fi
3859      if test "$*" != "X $srcdir/configure conftest.file" \
3860         && test "$*" != "X conftest.file $srcdir/configure"; then
3861
3862         # If neither matched, then we have a broken ls.  This can happen
3863         # if, for instance, CONFIG_SHELL is bash and it inherits a
3864         # broken ls alias from the environment.  This has actually
3865         # happened.  Such a system could not be considered "sane".
3866         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3867   alias in your environment" "$LINENO" 5
3868      fi
3869      if test "$2" = conftest.file || test $am_try -eq 2; then
3870        break
3871      fi
3872      # Just in case.
3873      sleep 1
3874      am_has_slept=yes
3875    done
3876    test "$2" = conftest.file
3877    )
3878 then
3879    # Ok.
3880    :
3881 else
3882    as_fn_error $? "newly created file is older than distributed files!
3883 Check your system clock" "$LINENO" 5
3884 fi
3885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3886 printf "%s\n" "yes" >&6; }
3887 # If we didn't sleep, we still need to ensure time stamps of config.status and
3888 # generated files are strictly newer.
3889 am_sleep_pid=
3890 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3891   ( sleep 1 ) &
3892   am_sleep_pid=$!
3893 fi
3894
3895 rm -f conftest.file
3896
3897 test "$program_prefix" != NONE &&
3898   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3899 # Use a double $ so make ignores it.
3900 test "$program_suffix" != NONE &&
3901   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3902 # Double any \ or $.
3903 # By default was `s,x,x', remove it if useless.
3904 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3905 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3906
3907
3908 # Expand $ac_aux_dir to an absolute path.
3909 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3910
3911
3912   if test x"${MISSING+set}" != xset; then
3913   MISSING="\${SHELL} '$am_aux_dir/missing'"
3914 fi
3915 # Use eval to expand $SHELL
3916 if eval "$MISSING --is-lightweight"; then
3917   am_missing_run="$MISSING "
3918 else
3919   am_missing_run=
3920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3921 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3922 fi
3923
3924 if test x"${install_sh+set}" != xset; then
3925   case $am_aux_dir in
3926   *\ * | *\     *)
3927     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3928   *)
3929     install_sh="\${SHELL} $am_aux_dir/install-sh"
3930   esac
3931 fi
3932
3933 # Installed binaries are usually stripped using 'strip' when the user
3934 # run "make install-strip".  However 'strip' might not be the right
3935 # tool to use in cross-compilation environments, therefore Automake
3936 # will honor the 'STRIP' environment variable to overrule this program.
3937 if test "$cross_compiling" != no; then
3938   if test -n "$ac_tool_prefix"; then
3939   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3940 set dummy ${ac_tool_prefix}strip; ac_word=$2
3941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942 printf %s "checking for $ac_word... " >&6; }
3943 if test ${ac_cv_prog_STRIP+y}
3944 then :
3945   printf %s "(cached) " >&6
3946 else $as_nop
3947   if test -n "$STRIP"; then
3948   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3949 else
3950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951 for as_dir in $PATH
3952 do
3953   IFS=$as_save_IFS
3954   case $as_dir in #(((
3955     '') as_dir=./ ;;
3956     */) ;;
3957     *) as_dir=$as_dir/ ;;
3958   esac
3959     for ac_exec_ext in '' $ac_executable_extensions; do
3960   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3961     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3962     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3963     break 2
3964   fi
3965 done
3966   done
3967 IFS=$as_save_IFS
3968
3969 fi
3970 fi
3971 STRIP=$ac_cv_prog_STRIP
3972 if test -n "$STRIP"; then
3973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3974 printf "%s\n" "$STRIP" >&6; }
3975 else
3976   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 printf "%s\n" "no" >&6; }
3978 fi
3979
3980
3981 fi
3982 if test -z "$ac_cv_prog_STRIP"; then
3983   ac_ct_STRIP=$STRIP
3984   # Extract the first word of "strip", so it can be a program name with args.
3985 set dummy strip; ac_word=$2
3986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 printf %s "checking for $ac_word... " >&6; }
3988 if test ${ac_cv_prog_ac_ct_STRIP+y}
3989 then :
3990   printf %s "(cached) " >&6
3991 else $as_nop
3992   if test -n "$ac_ct_STRIP"; then
3993   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3994 else
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3997 do
3998   IFS=$as_save_IFS
3999   case $as_dir in #(((
4000     '') as_dir=./ ;;
4001     */) ;;
4002     *) as_dir=$as_dir/ ;;
4003   esac
4004     for ac_exec_ext in '' $ac_executable_extensions; do
4005   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4006     ac_cv_prog_ac_ct_STRIP="strip"
4007     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4008     break 2
4009   fi
4010 done
4011   done
4012 IFS=$as_save_IFS
4013
4014 fi
4015 fi
4016 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4017 if test -n "$ac_ct_STRIP"; then
4018   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4019 printf "%s\n" "$ac_ct_STRIP" >&6; }
4020 else
4021   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 printf "%s\n" "no" >&6; }
4023 fi
4024
4025   if test "x$ac_ct_STRIP" = x; then
4026     STRIP=":"
4027   else
4028     case $cross_compiling:$ac_tool_warned in
4029 yes:)
4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4031 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4032 ac_tool_warned=yes ;;
4033 esac
4034     STRIP=$ac_ct_STRIP
4035   fi
4036 else
4037   STRIP="$ac_cv_prog_STRIP"
4038 fi
4039
4040 fi
4041 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4042
4043
4044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
4045 printf %s "checking for a race-free mkdir -p... " >&6; }
4046 if test -z "$MKDIR_P"; then
4047   if test ${ac_cv_path_mkdir+y}
4048 then :
4049   printf %s "(cached) " >&6
4050 else $as_nop
4051   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4053 do
4054   IFS=$as_save_IFS
4055   case $as_dir in #(((
4056     '') as_dir=./ ;;
4057     */) ;;
4058     *) as_dir=$as_dir/ ;;
4059   esac
4060     for ac_prog in mkdir gmkdir; do
4061          for ac_exec_ext in '' $ac_executable_extensions; do
4062            as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
4063            case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
4064              'mkdir ('*'coreutils) '* | \
4065              'BusyBox '* | \
4066              'mkdir (fileutils) '4.1*)
4067                ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
4068                break 3;;
4069            esac
4070          done
4071        done
4072   done
4073 IFS=$as_save_IFS
4074
4075 fi
4076
4077   test -d ./--version && rmdir ./--version
4078   if test ${ac_cv_path_mkdir+y}; then
4079     MKDIR_P="$ac_cv_path_mkdir -p"
4080   else
4081     # As a last resort, use the slow shell script.  Don't cache a
4082     # value for MKDIR_P within a source directory, because that will
4083     # break other packages using the cache if that directory is
4084     # removed, or if the value is a relative name.
4085     MKDIR_P="$ac_install_sh -d"
4086   fi
4087 fi
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4089 printf "%s\n" "$MKDIR_P" >&6; }
4090
4091 for ac_prog in gawk mawk nawk awk
4092 do
4093   # Extract the first word of "$ac_prog", so it can be a program name with args.
4094 set dummy $ac_prog; ac_word=$2
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4096 printf %s "checking for $ac_word... " >&6; }
4097 if test ${ac_cv_prog_AWK+y}
4098 then :
4099   printf %s "(cached) " >&6
4100 else $as_nop
4101   if test -n "$AWK"; then
4102   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4103 else
4104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4105 for as_dir in $PATH
4106 do
4107   IFS=$as_save_IFS
4108   case $as_dir in #(((
4109     '') as_dir=./ ;;
4110     */) ;;
4111     *) as_dir=$as_dir/ ;;
4112   esac
4113     for ac_exec_ext in '' $ac_executable_extensions; do
4114   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4115     ac_cv_prog_AWK="$ac_prog"
4116     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4117     break 2
4118   fi
4119 done
4120   done
4121 IFS=$as_save_IFS
4122
4123 fi
4124 fi
4125 AWK=$ac_cv_prog_AWK
4126 if test -n "$AWK"; then
4127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4128 printf "%s\n" "$AWK" >&6; }
4129 else
4130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131 printf "%s\n" "no" >&6; }
4132 fi
4133
4134
4135   test -n "$AWK" && break
4136 done
4137
4138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4139 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4140 set x ${MAKE-make}
4141 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4142 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4143 then :
4144   printf %s "(cached) " >&6
4145 else $as_nop
4146   cat >conftest.make <<\_ACEOF
4147 SHELL = /bin/sh
4148 all:
4149         @echo '@@@%%%=$(MAKE)=@@@%%%'
4150 _ACEOF
4151 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4152 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4153   *@@@%%%=?*=@@@%%%*)
4154     eval ac_cv_prog_make_${ac_make}_set=yes;;
4155   *)
4156     eval ac_cv_prog_make_${ac_make}_set=no;;
4157 esac
4158 rm -f conftest.make
4159 fi
4160 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4161   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4162 printf "%s\n" "yes" >&6; }
4163   SET_MAKE=
4164 else
4165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4166 printf "%s\n" "no" >&6; }
4167   SET_MAKE="MAKE=${MAKE-make}"
4168 fi
4169
4170 rm -rf .tst 2>/dev/null
4171 mkdir .tst 2>/dev/null
4172 if test -d .tst; then
4173   am__leading_dot=.
4174 else
4175   am__leading_dot=_
4176 fi
4177 rmdir .tst 2>/dev/null
4178
4179 # Check whether --enable-silent-rules was given.
4180 if test ${enable_silent_rules+y}
4181 then :
4182   enableval=$enable_silent_rules;
4183 fi
4184
4185 case $enable_silent_rules in # (((
4186   yes) AM_DEFAULT_VERBOSITY=0;;
4187    no) AM_DEFAULT_VERBOSITY=1;;
4188     *) AM_DEFAULT_VERBOSITY=1;;
4189 esac
4190 am_make=${MAKE-make}
4191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4192 printf %s "checking whether $am_make supports nested variables... " >&6; }
4193 if test ${am_cv_make_support_nested_variables+y}
4194 then :
4195   printf %s "(cached) " >&6
4196 else $as_nop
4197   if printf "%s\n" 'TRUE=$(BAR$(V))
4198 BAR0=false
4199 BAR1=true
4200 V=1
4201 am__doit:
4202         @$(TRUE)
4203 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4204   am_cv_make_support_nested_variables=yes
4205 else
4206   am_cv_make_support_nested_variables=no
4207 fi
4208 fi
4209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4210 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
4211 if test $am_cv_make_support_nested_variables = yes; then
4212     AM_V='$(V)'
4213   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4214 else
4215   AM_V=$AM_DEFAULT_VERBOSITY
4216   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4217 fi
4218 AM_BACKSLASH='\'
4219
4220 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4221   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4222   # is not polluted with repeated "-I."
4223   am__isrc=' -I$(srcdir)'
4224   # test to see if srcdir already configured
4225   if test -f $srcdir/config.status; then
4226     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4227   fi
4228 fi
4229
4230 # test whether we have cygpath
4231 if test -z "$CYGPATH_W"; then
4232   if (cygpath --version) >/dev/null 2>/dev/null; then
4233     CYGPATH_W='cygpath -w'
4234   else
4235     CYGPATH_W=echo
4236   fi
4237 fi
4238
4239
4240 # Define the identity of the package.
4241  PACKAGE='libsndfile'
4242  VERSION='1.2.2'
4243
4244
4245 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
4246
4247
4248 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
4249
4250 # Some tools Automake needs.
4251
4252 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4253
4254
4255 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4256
4257
4258 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4259
4260
4261 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4262
4263
4264 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4265
4266 # For better backward compatibility.  To be removed once Automake 1.9.x
4267 # dies out for good.  For more background, see:
4268 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4269 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4270 mkdir_p='$(MKDIR_P)'
4271
4272 # We need awk for the "check" target (and possibly the TAP driver).  The
4273 # system "awk" is bad on some platforms.
4274 # Always define AMTAR for backward compatibility.  Yes, it's still used
4275 # in the wild :-(  We should find a proper way to deprecate it ...
4276 AMTAR='$${TAR-tar}'
4277
4278
4279 # We'll loop over all known methods to create a tar archive until one works.
4280 _am_tools='gnutar  pax cpio none'
4281
4282 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4283
4284
4285
4286
4287
4288 # Variables for tags utilities; see am/tags.am
4289 if test -z "$CTAGS"; then
4290   CTAGS=ctags
4291 fi
4292
4293 if test -z "$ETAGS"; then
4294   ETAGS=etags
4295 fi
4296
4297 if test -z "$CSCOPE"; then
4298   CSCOPE=cscope
4299 fi
4300
4301
4302
4303 # POSIX will say in a future version that running "rm -f" with no argument
4304 # is OK; and we want to be able to make that assumption in our Makefile
4305 # recipes.  So use an aggressive probe to check that the usage we want is
4306 # actually supported "in the wild" to an acceptable degree.
4307 # See automake bug#10828.
4308 # To make any issue more visible, cause the running configure to be aborted
4309 # by default if the 'rm' program in use doesn't match our expectations; the
4310 # user can still override this though.
4311 if rm -f && rm -fr && rm -rf; then : OK; else
4312   cat >&2 <<'END'
4313 Oops!
4314
4315 Your 'rm' program seems unable to run without file operands specified
4316 on the command line, even when the '-f' option is present.  This is contrary
4317 to the behaviour of most rm programs out there, and not conforming with
4318 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4319
4320 Please tell bug-automake@gnu.org about your system, including the value
4321 of your $PATH and any error possibly output before this message.  This
4322 can help us improve future automake versions.
4323
4324 END
4325   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4326     echo 'Configuration will proceed anyway, since you have set the' >&2
4327     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4328     echo >&2
4329   else
4330     cat >&2 <<'END'
4331 Aborting the configuration process, to ensure you take notice of the issue.
4332
4333 You can download and install GNU coreutils to get an 'rm' implementation
4334 that behaves properly: <https://www.gnu.org/software/coreutils/>.
4335
4336 If you want to complete the configuration process using your problematic
4337 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4338 to "yes", and re-run configure.
4339
4340 END
4341     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4342   fi
4343 fi
4344
4345 # Check whether --enable-silent-rules was given.
4346 if test ${enable_silent_rules+y}
4347 then :
4348   enableval=$enable_silent_rules;
4349 fi
4350
4351 case $enable_silent_rules in # (((
4352   yes) AM_DEFAULT_VERBOSITY=0;;
4353    no) AM_DEFAULT_VERBOSITY=1;;
4354     *) AM_DEFAULT_VERBOSITY=0;;
4355 esac
4356 am_make=${MAKE-make}
4357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4358 printf %s "checking whether $am_make supports nested variables... " >&6; }
4359 if test ${am_cv_make_support_nested_variables+y}
4360 then :
4361   printf %s "(cached) " >&6
4362 else $as_nop
4363   if printf "%s\n" 'TRUE=$(BAR$(V))
4364 BAR0=false
4365 BAR1=true
4366 V=1
4367 am__doit:
4368         @$(TRUE)
4369 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4370   am_cv_make_support_nested_variables=yes
4371 else
4372   am_cv_make_support_nested_variables=no
4373 fi
4374 fi
4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4376 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
4377 if test $am_cv_make_support_nested_variables = yes; then
4378     AM_V='$(V)'
4379   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4380 else
4381   AM_V=$AM_DEFAULT_VERBOSITY
4382   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4383 fi
4384 AM_BACKSLASH='\'
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397 ac_ext=c
4398 ac_cpp='$CPP $CPPFLAGS'
4399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4402 if test -n "$ac_tool_prefix"; then
4403   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4404 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 printf %s "checking for $ac_word... " >&6; }
4407 if test ${ac_cv_prog_CC+y}
4408 then :
4409   printf %s "(cached) " >&6
4410 else $as_nop
4411   if test -n "$CC"; then
4412   ac_cv_prog_CC="$CC" # Let the user override the test.
4413 else
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH
4416 do
4417   IFS=$as_save_IFS
4418   case $as_dir in #(((
4419     '') as_dir=./ ;;
4420     */) ;;
4421     *) as_dir=$as_dir/ ;;
4422   esac
4423     for ac_exec_ext in '' $ac_executable_extensions; do
4424   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4425     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4426     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4427     break 2
4428   fi
4429 done
4430   done
4431 IFS=$as_save_IFS
4432
4433 fi
4434 fi
4435 CC=$ac_cv_prog_CC
4436 if test -n "$CC"; then
4437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4438 printf "%s\n" "$CC" >&6; }
4439 else
4440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 printf "%s\n" "no" >&6; }
4442 fi
4443
4444
4445 fi
4446 if test -z "$ac_cv_prog_CC"; then
4447   ac_ct_CC=$CC
4448   # Extract the first word of "gcc", so it can be a program name with args.
4449 set dummy gcc; ac_word=$2
4450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 printf %s "checking for $ac_word... " >&6; }
4452 if test ${ac_cv_prog_ac_ct_CC+y}
4453 then :
4454   printf %s "(cached) " >&6
4455 else $as_nop
4456   if test -n "$ac_ct_CC"; then
4457   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4458 else
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 for as_dir in $PATH
4461 do
4462   IFS=$as_save_IFS
4463   case $as_dir in #(((
4464     '') as_dir=./ ;;
4465     */) ;;
4466     *) as_dir=$as_dir/ ;;
4467   esac
4468     for ac_exec_ext in '' $ac_executable_extensions; do
4469   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4470     ac_cv_prog_ac_ct_CC="gcc"
4471     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4472     break 2
4473   fi
4474 done
4475   done
4476 IFS=$as_save_IFS
4477
4478 fi
4479 fi
4480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4481 if test -n "$ac_ct_CC"; then
4482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4483 printf "%s\n" "$ac_ct_CC" >&6; }
4484 else
4485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486 printf "%s\n" "no" >&6; }
4487 fi
4488
4489   if test "x$ac_ct_CC" = x; then
4490     CC=""
4491   else
4492     case $cross_compiling:$ac_tool_warned in
4493 yes:)
4494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4495 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4496 ac_tool_warned=yes ;;
4497 esac
4498     CC=$ac_ct_CC
4499   fi
4500 else
4501   CC="$ac_cv_prog_CC"
4502 fi
4503
4504 if test -z "$CC"; then
4505           if test -n "$ac_tool_prefix"; then
4506     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4507 set dummy ${ac_tool_prefix}cc; ac_word=$2
4508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 printf %s "checking for $ac_word... " >&6; }
4510 if test ${ac_cv_prog_CC+y}
4511 then :
4512   printf %s "(cached) " >&6
4513 else $as_nop
4514   if test -n "$CC"; then
4515   ac_cv_prog_CC="$CC" # Let the user override the test.
4516 else
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 for as_dir in $PATH
4519 do
4520   IFS=$as_save_IFS
4521   case $as_dir in #(((
4522     '') as_dir=./ ;;
4523     */) ;;
4524     *) as_dir=$as_dir/ ;;
4525   esac
4526     for ac_exec_ext in '' $ac_executable_extensions; do
4527   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4528     ac_cv_prog_CC="${ac_tool_prefix}cc"
4529     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4530     break 2
4531   fi
4532 done
4533   done
4534 IFS=$as_save_IFS
4535
4536 fi
4537 fi
4538 CC=$ac_cv_prog_CC
4539 if test -n "$CC"; then
4540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4541 printf "%s\n" "$CC" >&6; }
4542 else
4543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4544 printf "%s\n" "no" >&6; }
4545 fi
4546
4547
4548   fi
4549 fi
4550 if test -z "$CC"; then
4551   # Extract the first word of "cc", so it can be a program name with args.
4552 set dummy cc; ac_word=$2
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 printf %s "checking for $ac_word... " >&6; }
4555 if test ${ac_cv_prog_CC+y}
4556 then :
4557   printf %s "(cached) " >&6
4558 else $as_nop
4559   if test -n "$CC"; then
4560   ac_cv_prog_CC="$CC" # Let the user override the test.
4561 else
4562   ac_prog_rejected=no
4563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564 for as_dir in $PATH
4565 do
4566   IFS=$as_save_IFS
4567   case $as_dir in #(((
4568     '') as_dir=./ ;;
4569     */) ;;
4570     *) as_dir=$as_dir/ ;;
4571   esac
4572     for ac_exec_ext in '' $ac_executable_extensions; do
4573   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4574     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4575        ac_prog_rejected=yes
4576        continue
4577      fi
4578     ac_cv_prog_CC="cc"
4579     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4580     break 2
4581   fi
4582 done
4583   done
4584 IFS=$as_save_IFS
4585
4586 if test $ac_prog_rejected = yes; then
4587   # We found a bogon in the path, so make sure we never use it.
4588   set dummy $ac_cv_prog_CC
4589   shift
4590   if test $# != 0; then
4591     # We chose a different compiler from the bogus one.
4592     # However, it has the same basename, so the bogon will be chosen
4593     # first if we set CC to just the basename; use the full file name.
4594     shift
4595     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4596   fi
4597 fi
4598 fi
4599 fi
4600 CC=$ac_cv_prog_CC
4601 if test -n "$CC"; then
4602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4603 printf "%s\n" "$CC" >&6; }
4604 else
4605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 printf "%s\n" "no" >&6; }
4607 fi
4608
4609
4610 fi
4611 if test -z "$CC"; then
4612   if test -n "$ac_tool_prefix"; then
4613   for ac_prog in cl.exe
4614   do
4615     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4616 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 printf %s "checking for $ac_word... " >&6; }
4619 if test ${ac_cv_prog_CC+y}
4620 then :
4621   printf %s "(cached) " >&6
4622 else $as_nop
4623   if test -n "$CC"; then
4624   ac_cv_prog_CC="$CC" # Let the user override the test.
4625 else
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 for as_dir in $PATH
4628 do
4629   IFS=$as_save_IFS
4630   case $as_dir in #(((
4631     '') as_dir=./ ;;
4632     */) ;;
4633     *) as_dir=$as_dir/ ;;
4634   esac
4635     for ac_exec_ext in '' $ac_executable_extensions; do
4636   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4637     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4638     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4639     break 2
4640   fi
4641 done
4642   done
4643 IFS=$as_save_IFS
4644
4645 fi
4646 fi
4647 CC=$ac_cv_prog_CC
4648 if test -n "$CC"; then
4649   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4650 printf "%s\n" "$CC" >&6; }
4651 else
4652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 printf "%s\n" "no" >&6; }
4654 fi
4655
4656
4657     test -n "$CC" && break
4658   done
4659 fi
4660 if test -z "$CC"; then
4661   ac_ct_CC=$CC
4662   for ac_prog in cl.exe
4663 do
4664   # Extract the first word of "$ac_prog", so it can be a program name with args.
4665 set dummy $ac_prog; ac_word=$2
4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 printf %s "checking for $ac_word... " >&6; }
4668 if test ${ac_cv_prog_ac_ct_CC+y}
4669 then :
4670   printf %s "(cached) " >&6
4671 else $as_nop
4672   if test -n "$ac_ct_CC"; then
4673   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4674 else
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH
4677 do
4678   IFS=$as_save_IFS
4679   case $as_dir in #(((
4680     '') as_dir=./ ;;
4681     */) ;;
4682     *) as_dir=$as_dir/ ;;
4683   esac
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     ac_cv_prog_ac_ct_CC="$ac_prog"
4687     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4688     break 2
4689   fi
4690 done
4691   done
4692 IFS=$as_save_IFS
4693
4694 fi
4695 fi
4696 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4697 if test -n "$ac_ct_CC"; then
4698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4699 printf "%s\n" "$ac_ct_CC" >&6; }
4700 else
4701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 printf "%s\n" "no" >&6; }
4703 fi
4704
4705
4706   test -n "$ac_ct_CC" && break
4707 done
4708
4709   if test "x$ac_ct_CC" = x; then
4710     CC=""
4711   else
4712     case $cross_compiling:$ac_tool_warned in
4713 yes:)
4714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4715 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4716 ac_tool_warned=yes ;;
4717 esac
4718     CC=$ac_ct_CC
4719   fi
4720 fi
4721
4722 fi
4723 if test -z "$CC"; then
4724   if test -n "$ac_tool_prefix"; then
4725   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4726 set dummy ${ac_tool_prefix}clang; ac_word=$2
4727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 printf %s "checking for $ac_word... " >&6; }
4729 if test ${ac_cv_prog_CC+y}
4730 then :
4731   printf %s "(cached) " >&6
4732 else $as_nop
4733   if test -n "$CC"; then
4734   ac_cv_prog_CC="$CC" # Let the user override the test.
4735 else
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH
4738 do
4739   IFS=$as_save_IFS
4740   case $as_dir in #(((
4741     '') as_dir=./ ;;
4742     */) ;;
4743     *) as_dir=$as_dir/ ;;
4744   esac
4745     for ac_exec_ext in '' $ac_executable_extensions; do
4746   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4747     ac_cv_prog_CC="${ac_tool_prefix}clang"
4748     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4749     break 2
4750   fi
4751 done
4752   done
4753 IFS=$as_save_IFS
4754
4755 fi
4756 fi
4757 CC=$ac_cv_prog_CC
4758 if test -n "$CC"; then
4759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4760 printf "%s\n" "$CC" >&6; }
4761 else
4762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 printf "%s\n" "no" >&6; }
4764 fi
4765
4766
4767 fi
4768 if test -z "$ac_cv_prog_CC"; then
4769   ac_ct_CC=$CC
4770   # Extract the first word of "clang", so it can be a program name with args.
4771 set dummy clang; ac_word=$2
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 printf %s "checking for $ac_word... " >&6; }
4774 if test ${ac_cv_prog_ac_ct_CC+y}
4775 then :
4776   printf %s "(cached) " >&6
4777 else $as_nop
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   case $as_dir in #(((
4786     '') as_dir=./ ;;
4787     */) ;;
4788     *) as_dir=$as_dir/ ;;
4789   esac
4790     for ac_exec_ext in '' $ac_executable_extensions; do
4791   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4792     ac_cv_prog_ac_ct_CC="clang"
4793     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4794     break 2
4795   fi
4796 done
4797   done
4798 IFS=$as_save_IFS
4799
4800 fi
4801 fi
4802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4803 if test -n "$ac_ct_CC"; then
4804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4805 printf "%s\n" "$ac_ct_CC" >&6; }
4806 else
4807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 printf "%s\n" "no" >&6; }
4809 fi
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 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4817 printf "%s\n" "$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 else
4823   CC="$ac_cv_prog_CC"
4824 fi
4825
4826 fi
4827
4828
4829 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4830 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4831 as_fn_error $? "no acceptable C compiler found in \$PATH
4832 See \`config.log' for more details" "$LINENO" 5; }
4833
4834 # Provide some information about the compiler.
4835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4836 set X $ac_compile
4837 ac_compiler=$2
4838 for ac_option in --version -v -V -qversion -version; do
4839   { { ac_try="$ac_compiler $ac_option >&5"
4840 case "(($ac_try" in
4841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842   *) ac_try_echo=$ac_try;;
4843 esac
4844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4845 printf "%s\n" "$ac_try_echo"; } >&5
4846   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4847   ac_status=$?
4848   if test -s conftest.err; then
4849     sed '10a\
4850 ... rest of stderr output deleted ...
4851          10q' conftest.err >conftest.er1
4852     cat conftest.er1 >&5
4853   fi
4854   rm -f conftest.er1 conftest.err
4855   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4856   test $ac_status = 0; }
4857 done
4858
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h.  */
4861
4862 int
4863 main (void)
4864 {
4865
4866   ;
4867   return 0;
4868 }
4869 _ACEOF
4870 ac_clean_files_save=$ac_clean_files
4871 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4872 # Try to create an executable without -o first, disregard a.out.
4873 # It will help us diagnose broken compilers, and finding out an intuition
4874 # of exeext.
4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4876 printf %s "checking whether the C compiler works... " >&6; }
4877 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4878
4879 # The possible output files:
4880 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4881
4882 ac_rmfiles=
4883 for ac_file in $ac_files
4884 do
4885   case $ac_file in
4886     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4887     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4888   esac
4889 done
4890 rm -f $ac_rmfiles
4891
4892 if { { ac_try="$ac_link_default"
4893 case "(($ac_try" in
4894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4895   *) ac_try_echo=$ac_try;;
4896 esac
4897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4898 printf "%s\n" "$ac_try_echo"; } >&5
4899   (eval "$ac_link_default") 2>&5
4900   ac_status=$?
4901   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4902   test $ac_status = 0; }
4903 then :
4904   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4905 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4906 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4907 # so that the user can short-circuit this test for compilers unknown to
4908 # Autoconf.
4909 for ac_file in $ac_files ''
4910 do
4911   test -f "$ac_file" || continue
4912   case $ac_file in
4913     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4914         ;;
4915     [ab].out )
4916         # We found the default executable, but exeext='' is most
4917         # certainly right.
4918         break;;
4919     *.* )
4920         if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4921         then :; else
4922            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4923         fi
4924         # We set ac_cv_exeext here because the later test for it is not
4925         # safe: cross compilers may not add the suffix if given an `-o'
4926         # argument, so we may need to know it at that point already.
4927         # Even if this section looks crufty: it has the advantage of
4928         # actually working.
4929         break;;
4930     * )
4931         break;;
4932   esac
4933 done
4934 test "$ac_cv_exeext" = no && ac_cv_exeext=
4935
4936 else $as_nop
4937   ac_file=''
4938 fi
4939 if test -z "$ac_file"
4940 then :
4941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 printf "%s\n" "no" >&6; }
4943 printf "%s\n" "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.$ac_ext >&5
4945
4946 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4947 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4948 as_fn_error 77 "C compiler cannot create executables
4949 See \`config.log' for more details" "$LINENO" 5; }
4950 else $as_nop
4951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4952 printf "%s\n" "yes" >&6; }
4953 fi
4954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4955 printf %s "checking for C compiler default output file name... " >&6; }
4956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4957 printf "%s\n" "$ac_file" >&6; }
4958 ac_exeext=$ac_cv_exeext
4959
4960 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4961 ac_clean_files=$ac_clean_files_save
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4963 printf %s "checking for suffix of executables... " >&6; }
4964 if { { ac_try="$ac_link"
4965 case "(($ac_try" in
4966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4967   *) ac_try_echo=$ac_try;;
4968 esac
4969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4970 printf "%s\n" "$ac_try_echo"; } >&5
4971   (eval "$ac_link") 2>&5
4972   ac_status=$?
4973   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4974   test $ac_status = 0; }
4975 then :
4976   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4977 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4978 # work properly (i.e., refer to `conftest.exe'), while it won't with
4979 # `rm'.
4980 for ac_file in conftest.exe conftest conftest.*; do
4981   test -f "$ac_file" || continue
4982   case $ac_file in
4983     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4984     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4985           break;;
4986     * ) break;;
4987   esac
4988 done
4989 else $as_nop
4990   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4991 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4992 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4993 See \`config.log' for more details" "$LINENO" 5; }
4994 fi
4995 rm -f conftest conftest$ac_cv_exeext
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4997 printf "%s\n" "$ac_cv_exeext" >&6; }
4998
4999 rm -f conftest.$ac_ext
5000 EXEEXT=$ac_cv_exeext
5001 ac_exeext=$EXEEXT
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h.  */
5004 #include <stdio.h>
5005 int
5006 main (void)
5007 {
5008 FILE *f = fopen ("conftest.out", "w");
5009  return ferror (f) || fclose (f) != 0;
5010
5011   ;
5012   return 0;
5013 }
5014 _ACEOF
5015 ac_clean_files="$ac_clean_files conftest.out"
5016 # Check that the compiler produces executables we can run.  If not, either
5017 # the compiler is broken, or we cross compile.
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5019 printf %s "checking whether we are cross compiling... " >&6; }
5020 if test "$cross_compiling" != yes; then
5021   { { ac_try="$ac_link"
5022 case "(($ac_try" in
5023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5024   *) ac_try_echo=$ac_try;;
5025 esac
5026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5027 printf "%s\n" "$ac_try_echo"; } >&5
5028   (eval "$ac_link") 2>&5
5029   ac_status=$?
5030   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5031   test $ac_status = 0; }
5032   if { ac_try='./conftest$ac_cv_exeext'
5033   { { case "(($ac_try" in
5034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5035   *) ac_try_echo=$ac_try;;
5036 esac
5037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5038 printf "%s\n" "$ac_try_echo"; } >&5
5039   (eval "$ac_try") 2>&5
5040   ac_status=$?
5041   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5042   test $ac_status = 0; }; }; then
5043     cross_compiling=no
5044   else
5045     if test "$cross_compiling" = maybe; then
5046         cross_compiling=yes
5047     else
5048         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5049 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5050 as_fn_error 77 "cannot run C compiled programs.
5051 If you meant to cross compile, use \`--host'.
5052 See \`config.log' for more details" "$LINENO" 5; }
5053     fi
5054   fi
5055 fi
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5057 printf "%s\n" "$cross_compiling" >&6; }
5058
5059 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5060 ac_clean_files=$ac_clean_files_save
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5062 printf %s "checking for suffix of object files... " >&6; }
5063 if test ${ac_cv_objext+y}
5064 then :
5065   printf %s "(cached) " >&6
5066 else $as_nop
5067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h.  */
5069
5070 int
5071 main (void)
5072 {
5073
5074   ;
5075   return 0;
5076 }
5077 _ACEOF
5078 rm -f conftest.o conftest.obj
5079 if { { ac_try="$ac_compile"
5080 case "(($ac_try" in
5081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5082   *) ac_try_echo=$ac_try;;
5083 esac
5084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5085 printf "%s\n" "$ac_try_echo"; } >&5
5086   (eval "$ac_compile") 2>&5
5087   ac_status=$?
5088   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5089   test $ac_status = 0; }
5090 then :
5091   for ac_file in conftest.o conftest.obj conftest.*; do
5092   test -f "$ac_file" || continue;
5093   case $ac_file in
5094     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5095     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5096        break;;
5097   esac
5098 done
5099 else $as_nop
5100   printf "%s\n" "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5102
5103 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5104 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5105 as_fn_error $? "cannot compute suffix of object files: cannot compile
5106 See \`config.log' for more details" "$LINENO" 5; }
5107 fi
5108 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5109 fi
5110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5111 printf "%s\n" "$ac_cv_objext" >&6; }
5112 OBJEXT=$ac_cv_objext
5113 ac_objext=$OBJEXT
5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5115 printf %s "checking whether the compiler supports GNU C... " >&6; }
5116 if test ${ac_cv_c_compiler_gnu+y}
5117 then :
5118   printf %s "(cached) " >&6
5119 else $as_nop
5120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h.  */
5122
5123 int
5124 main (void)
5125 {
5126 #ifndef __GNUC__
5127        choke me
5128 #endif
5129
5130   ;
5131   return 0;
5132 }
5133 _ACEOF
5134 if ac_fn_c_try_compile "$LINENO"
5135 then :
5136   ac_compiler_gnu=yes
5137 else $as_nop
5138   ac_compiler_gnu=no
5139 fi
5140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5141 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5142
5143 fi
5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5145 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5147
5148 if test $ac_compiler_gnu = yes; then
5149   GCC=yes
5150 else
5151   GCC=
5152 fi
5153 ac_test_CFLAGS=${CFLAGS+y}
5154 ac_save_CFLAGS=$CFLAGS
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5156 printf %s "checking whether $CC accepts -g... " >&6; }
5157 if test ${ac_cv_prog_cc_g+y}
5158 then :
5159   printf %s "(cached) " >&6
5160 else $as_nop
5161   ac_save_c_werror_flag=$ac_c_werror_flag
5162    ac_c_werror_flag=yes
5163    ac_cv_prog_cc_g=no
5164    CFLAGS="-g"
5165    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h.  */
5167
5168 int
5169 main (void)
5170 {
5171
5172   ;
5173   return 0;
5174 }
5175 _ACEOF
5176 if ac_fn_c_try_compile "$LINENO"
5177 then :
5178   ac_cv_prog_cc_g=yes
5179 else $as_nop
5180   CFLAGS=""
5181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5182 /* end confdefs.h.  */
5183
5184 int
5185 main (void)
5186 {
5187
5188   ;
5189   return 0;
5190 }
5191 _ACEOF
5192 if ac_fn_c_try_compile "$LINENO"
5193 then :
5194
5195 else $as_nop
5196   ac_c_werror_flag=$ac_save_c_werror_flag
5197          CFLAGS="-g"
5198          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5199 /* end confdefs.h.  */
5200
5201 int
5202 main (void)
5203 {
5204
5205   ;
5206   return 0;
5207 }
5208 _ACEOF
5209 if ac_fn_c_try_compile "$LINENO"
5210 then :
5211   ac_cv_prog_cc_g=yes
5212 fi
5213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5214 fi
5215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5216 fi
5217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5218    ac_c_werror_flag=$ac_save_c_werror_flag
5219 fi
5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5221 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5222 if test $ac_test_CFLAGS; then
5223   CFLAGS=$ac_save_CFLAGS
5224 elif test $ac_cv_prog_cc_g = yes; then
5225   if test "$GCC" = yes; then
5226     CFLAGS="-g -O2"
5227   else
5228     CFLAGS="-g"
5229   fi
5230 else
5231   if test "$GCC" = yes; then
5232     CFLAGS="-O2"
5233   else
5234     CFLAGS=
5235   fi
5236 fi
5237 ac_prog_cc_stdc=no
5238 if test x$ac_prog_cc_stdc = xno
5239 then :
5240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5241 printf %s "checking for $CC option to enable C11 features... " >&6; }
5242 if test ${ac_cv_prog_cc_c11+y}
5243 then :
5244   printf %s "(cached) " >&6
5245 else $as_nop
5246   ac_cv_prog_cc_c11=no
5247 ac_save_CC=$CC
5248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h.  */
5250 $ac_c_conftest_c11_program
5251 _ACEOF
5252 for ac_arg in '' -std=gnu11
5253 do
5254   CC="$ac_save_CC $ac_arg"
5255   if ac_fn_c_try_compile "$LINENO"
5256 then :
5257   ac_cv_prog_cc_c11=$ac_arg
5258 fi
5259 rm -f core conftest.err conftest.$ac_objext conftest.beam
5260   test "x$ac_cv_prog_cc_c11" != "xno" && break
5261 done
5262 rm -f conftest.$ac_ext
5263 CC=$ac_save_CC
5264 fi
5265
5266 if test "x$ac_cv_prog_cc_c11" = xno
5267 then :
5268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5269 printf "%s\n" "unsupported" >&6; }
5270 else $as_nop
5271   if test "x$ac_cv_prog_cc_c11" = x
5272 then :
5273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5274 printf "%s\n" "none needed" >&6; }
5275 else $as_nop
5276   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5277 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5278      CC="$CC $ac_cv_prog_cc_c11"
5279 fi
5280   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5281   ac_prog_cc_stdc=c11
5282 fi
5283 fi
5284 if test x$ac_prog_cc_stdc = xno
5285 then :
5286   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5287 printf %s "checking for $CC option to enable C99 features... " >&6; }
5288 if test ${ac_cv_prog_cc_c99+y}
5289 then :
5290   printf %s "(cached) " >&6
5291 else $as_nop
5292   ac_cv_prog_cc_c99=no
5293 ac_save_CC=$CC
5294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5295 /* end confdefs.h.  */
5296 $ac_c_conftest_c99_program
5297 _ACEOF
5298 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5299 do
5300   CC="$ac_save_CC $ac_arg"
5301   if ac_fn_c_try_compile "$LINENO"
5302 then :
5303   ac_cv_prog_cc_c99=$ac_arg
5304 fi
5305 rm -f core conftest.err conftest.$ac_objext conftest.beam
5306   test "x$ac_cv_prog_cc_c99" != "xno" && break
5307 done
5308 rm -f conftest.$ac_ext
5309 CC=$ac_save_CC
5310 fi
5311
5312 if test "x$ac_cv_prog_cc_c99" = xno
5313 then :
5314   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5315 printf "%s\n" "unsupported" >&6; }
5316 else $as_nop
5317   if test "x$ac_cv_prog_cc_c99" = x
5318 then :
5319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5320 printf "%s\n" "none needed" >&6; }
5321 else $as_nop
5322   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5323 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5324      CC="$CC $ac_cv_prog_cc_c99"
5325 fi
5326   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5327   ac_prog_cc_stdc=c99
5328 fi
5329 fi
5330 if test x$ac_prog_cc_stdc = xno
5331 then :
5332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5333 printf %s "checking for $CC option to enable C89 features... " >&6; }
5334 if test ${ac_cv_prog_cc_c89+y}
5335 then :
5336   printf %s "(cached) " >&6
5337 else $as_nop
5338   ac_cv_prog_cc_c89=no
5339 ac_save_CC=$CC
5340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341 /* end confdefs.h.  */
5342 $ac_c_conftest_c89_program
5343 _ACEOF
5344 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5345 do
5346   CC="$ac_save_CC $ac_arg"
5347   if ac_fn_c_try_compile "$LINENO"
5348 then :
5349   ac_cv_prog_cc_c89=$ac_arg
5350 fi
5351 rm -f core conftest.err conftest.$ac_objext conftest.beam
5352   test "x$ac_cv_prog_cc_c89" != "xno" && break
5353 done
5354 rm -f conftest.$ac_ext
5355 CC=$ac_save_CC
5356 fi
5357
5358 if test "x$ac_cv_prog_cc_c89" = xno
5359 then :
5360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5361 printf "%s\n" "unsupported" >&6; }
5362 else $as_nop
5363   if test "x$ac_cv_prog_cc_c89" = x
5364 then :
5365   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5366 printf "%s\n" "none needed" >&6; }
5367 else $as_nop
5368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5369 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5370      CC="$CC $ac_cv_prog_cc_c89"
5371 fi
5372   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5373   ac_prog_cc_stdc=c89
5374 fi
5375 fi
5376
5377 ac_ext=c
5378 ac_cpp='$CPP $CPPFLAGS'
5379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5382
5383
5384   ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5390 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5391 if test ${am_cv_prog_cc_c_o+y}
5392 then :
5393   printf %s "(cached) " >&6
5394 else $as_nop
5395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5396 /* end confdefs.h.  */
5397
5398 int
5399 main (void)
5400 {
5401
5402   ;
5403   return 0;
5404 }
5405 _ACEOF
5406   # Make sure it works both with $CC and with simple cc.
5407   # Following AC_PROG_CC_C_O, we do the test twice because some
5408   # compilers refuse to overwrite an existing .o file with -o,
5409   # though they will create one.
5410   am_cv_prog_cc_c_o=yes
5411   for am_i in 1 2; do
5412     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5413    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5414    ac_status=$?
5415    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416    (exit $ac_status); } \
5417          && test -f conftest2.$ac_objext; then
5418       : OK
5419     else
5420       am_cv_prog_cc_c_o=no
5421       break
5422     fi
5423   done
5424   rm -f core conftest*
5425   unset am_i
5426 fi
5427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5428 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5429 if test "$am_cv_prog_cc_c_o" != yes; then
5430    # Losing compiler, so override with the script.
5431    # FIXME: It is wrong to rewrite CC.
5432    # But if we don't then we get into trouble of one sort or another.
5433    # A longer-term fix would be to have automake use am__CC in this case,
5434    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5435    CC="$am_aux_dir/compile $CC"
5436 fi
5437 ac_ext=c
5438 ac_cpp='$CPP $CPPFLAGS'
5439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5442
5443 DEPDIR="${am__leading_dot}deps"
5444
5445 ac_config_commands="$ac_config_commands depfiles"
5446
5447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
5448 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
5449 cat > confinc.mk << 'END'
5450 am__doit:
5451         @echo this is the am__doit target >confinc.out
5452 .PHONY: am__doit
5453 END
5454 am__include="#"
5455 am__quote=
5456 # BSD make does it like this.
5457 echo '.include "confinc.mk" # ignored' > confmf.BSD
5458 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
5459 echo 'include confinc.mk # ignored' > confmf.GNU
5460 _am_result=no
5461 for s in GNU BSD; do
5462   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5463    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5464    ac_status=$?
5465    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466    (exit $ac_status); }
5467   case $?:`cat confinc.out 2>/dev/null` in #(
5468   '0:this is the am__doit target') :
5469     case $s in #(
5470   BSD) :
5471     am__include='.include' am__quote='"' ;; #(
5472   *) :
5473     am__include='include' am__quote='' ;;
5474 esac ;; #(
5475   *) :
5476      ;;
5477 esac
5478   if test "$am__include" != "#"; then
5479     _am_result="yes ($s style)"
5480     break
5481   fi
5482 done
5483 rm -f confinc.* confmf.*
5484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5485 printf "%s\n" "${_am_result}" >&6; }
5486
5487 # Check whether --enable-dependency-tracking was given.
5488 if test ${enable_dependency_tracking+y}
5489 then :
5490   enableval=$enable_dependency_tracking;
5491 fi
5492
5493 if test "x$enable_dependency_tracking" != xno; then
5494   am_depcomp="$ac_aux_dir/depcomp"
5495   AMDEPBACKSLASH='\'
5496   am__nodep='_no'
5497 fi
5498  if test "x$enable_dependency_tracking" != xno; then
5499   AMDEP_TRUE=
5500   AMDEP_FALSE='#'
5501 else
5502   AMDEP_TRUE='#'
5503   AMDEP_FALSE=
5504 fi
5505
5506
5507
5508 depcc="$CC"   am_compiler_list=
5509
5510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5511 printf %s "checking dependency style of $depcc... " >&6; }
5512 if test ${am_cv_CC_dependencies_compiler_type+y}
5513 then :
5514   printf %s "(cached) " >&6
5515 else $as_nop
5516   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5517   # We make a subdir and do the tests there.  Otherwise we can end up
5518   # making bogus files that we don't know about and never remove.  For
5519   # instance it was reported that on HP-UX the gcc test will end up
5520   # making a dummy file named 'D' -- because '-MD' means "put the output
5521   # in D".
5522   rm -rf conftest.dir
5523   mkdir conftest.dir
5524   # Copy depcomp to subdir because otherwise we won't find it if we're
5525   # using a relative directory.
5526   cp "$am_depcomp" conftest.dir
5527   cd conftest.dir
5528   # We will build objects and dependencies in a subdirectory because
5529   # it helps to detect inapplicable dependency modes.  For instance
5530   # both Tru64's cc and ICC support -MD to output dependencies as a
5531   # side effect of compilation, but ICC will put the dependencies in
5532   # the current directory while Tru64 will put them in the object
5533   # directory.
5534   mkdir sub
5535
5536   am_cv_CC_dependencies_compiler_type=none
5537   if test "$am_compiler_list" = ""; then
5538      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5539   fi
5540   am__universal=false
5541   case " $depcc " in #(
5542      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5543      esac
5544
5545   for depmode in $am_compiler_list; do
5546     # Setup a source with many dependencies, because some compilers
5547     # like to wrap large dependency lists on column 80 (with \), and
5548     # we should not choose a depcomp mode which is confused by this.
5549     #
5550     # We need to recreate these files for each test, as the compiler may
5551     # overwrite some of them when testing with obscure command lines.
5552     # This happens at least with the AIX C compiler.
5553     : > sub/conftest.c
5554     for i in 1 2 3 4 5 6; do
5555       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5556       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5557       # Solaris 10 /bin/sh.
5558       echo '/* dummy */' > sub/conftst$i.h
5559     done
5560     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5561
5562     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5563     # mode.  It turns out that the SunPro C++ compiler does not properly
5564     # handle '-M -o', and we need to detect this.  Also, some Intel
5565     # versions had trouble with output in subdirs.
5566     am__obj=sub/conftest.${OBJEXT-o}
5567     am__minus_obj="-o $am__obj"
5568     case $depmode in
5569     gcc)
5570       # This depmode causes a compiler race in universal mode.
5571       test "$am__universal" = false || continue
5572       ;;
5573     nosideeffect)
5574       # After this tag, mechanisms are not by side-effect, so they'll
5575       # only be used when explicitly requested.
5576       if test "x$enable_dependency_tracking" = xyes; then
5577         continue
5578       else
5579         break
5580       fi
5581       ;;
5582     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5583       # This compiler won't grok '-c -o', but also, the minuso test has
5584       # not run yet.  These depmodes are late enough in the game, and
5585       # so weak that their functioning should not be impacted.
5586       am__obj=conftest.${OBJEXT-o}
5587       am__minus_obj=
5588       ;;
5589     none) break ;;
5590     esac
5591     if depmode=$depmode \
5592        source=sub/conftest.c object=$am__obj \
5593        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5594        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5595          >/dev/null 2>conftest.err &&
5596        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5597        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5598        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5599        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5600       # icc doesn't choke on unknown options, it will just issue warnings
5601       # or remarks (even with -Werror).  So we grep stderr for any message
5602       # that says an option was ignored or not supported.
5603       # When given -MP, icc 7.0 and 7.1 complain thusly:
5604       #   icc: Command line warning: ignoring option '-M'; no argument required
5605       # The diagnosis changed in icc 8.0:
5606       #   icc: Command line remark: option '-MP' not supported
5607       if (grep 'ignoring option' conftest.err ||
5608           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5609         am_cv_CC_dependencies_compiler_type=$depmode
5610         break
5611       fi
5612     fi
5613   done
5614
5615   cd ..
5616   rm -rf conftest.dir
5617 else
5618   am_cv_CC_dependencies_compiler_type=none
5619 fi
5620
5621 fi
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5623 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5624 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5625
5626  if
5627   test "x$enable_dependency_tracking" != xno \
5628   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5629   am__fastdepCC_TRUE=
5630   am__fastdepCC_FALSE='#'
5631 else
5632   am__fastdepCC_TRUE='#'
5633   am__fastdepCC_FALSE=
5634 fi
5635
5636
5637
5638
5639 if test "x$ac_cv_prog_cc_c99" = "xno"
5640 then :
5641
5642                 as_fn_error $? "libsndfile requires a C99 capable compiler!" "$LINENO" 5
5643
5644 fi
5645
5646
5647 ac_header= ac_cache=
5648 for ac_item in $ac_header_c_list
5649 do
5650   if test $ac_cache; then
5651     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
5652     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
5653       printf "%s\n" "#define $ac_item 1" >> confdefs.h
5654     fi
5655     ac_header= ac_cache=
5656   elif test $ac_header; then
5657     ac_cache=$ac_item
5658   else
5659     ac_header=$ac_item
5660   fi
5661 done
5662
5663
5664
5665
5666
5667
5668
5669
5670 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
5671 then :
5672
5673 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
5674
5675 fi
5676
5677
5678
5679
5680
5681
5682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5683 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5684 if test ${ac_cv_safe_to_define___extensions__+y}
5685 then :
5686   printf %s "(cached) " >&6
5687 else $as_nop
5688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5689 /* end confdefs.h.  */
5690
5691 #         define __EXTENSIONS__ 1
5692           $ac_includes_default
5693 int
5694 main (void)
5695 {
5696
5697   ;
5698   return 0;
5699 }
5700 _ACEOF
5701 if ac_fn_c_try_compile "$LINENO"
5702 then :
5703   ac_cv_safe_to_define___extensions__=yes
5704 else $as_nop
5705   ac_cv_safe_to_define___extensions__=no
5706 fi
5707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5708 fi
5709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5710 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
5711
5712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5713 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
5714 if test ${ac_cv_should_define__xopen_source+y}
5715 then :
5716   printf %s "(cached) " >&6
5717 else $as_nop
5718   ac_cv_should_define__xopen_source=no
5719     if test $ac_cv_header_wchar_h = yes
5720 then :
5721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5722 /* end confdefs.h.  */
5723
5724           #include <wchar.h>
5725           mbstate_t x;
5726 int
5727 main (void)
5728 {
5729
5730   ;
5731   return 0;
5732 }
5733 _ACEOF
5734 if ac_fn_c_try_compile "$LINENO"
5735 then :
5736
5737 else $as_nop
5738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h.  */
5740
5741             #define _XOPEN_SOURCE 500
5742             #include <wchar.h>
5743             mbstate_t x;
5744 int
5745 main (void)
5746 {
5747
5748   ;
5749   return 0;
5750 }
5751 _ACEOF
5752 if ac_fn_c_try_compile "$LINENO"
5753 then :
5754   ac_cv_should_define__xopen_source=yes
5755 fi
5756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5757 fi
5758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5759 fi
5760 fi
5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5762 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
5763
5764   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
5765
5766   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
5767
5768   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
5769
5770   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
5771
5772   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
5773
5774   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
5775
5776   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5777
5778   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
5779
5780   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
5781
5782   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
5783
5784   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
5785
5786   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
5787
5788   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
5789
5790   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
5791
5792   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
5793
5794   if test $ac_cv_header_minix_config_h = yes
5795 then :
5796   MINIX=yes
5797     printf "%s\n" "#define _MINIX 1" >>confdefs.h
5798
5799     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
5800
5801     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
5802
5803 else $as_nop
5804   MINIX=
5805 fi
5806   if test $ac_cv_safe_to_define___extensions__ = yes
5807 then :
5808   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
5809
5810 fi
5811   if test $ac_cv_should_define__xopen_source = yes
5812 then :
5813   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
5814
5815 fi
5816
5817
5818
5819
5820
5821
5822
5823 ac_ext=cpp
5824 ac_cpp='$CXXCPP $CPPFLAGS'
5825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5828 if test -z "$CXX"; then
5829   if test -n "$CCC"; then
5830     CXX=$CCC
5831   else
5832     if test -n "$ac_tool_prefix"; then
5833   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5834   do
5835     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 printf %s "checking for $ac_word... " >&6; }
5839 if test ${ac_cv_prog_CXX+y}
5840 then :
5841   printf %s "(cached) " >&6
5842 else $as_nop
5843   if test -n "$CXX"; then
5844   ac_cv_prog_CXX="$CXX" # Let the user override the test.
5845 else
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in $PATH
5848 do
5849   IFS=$as_save_IFS
5850   case $as_dir in #(((
5851     '') as_dir=./ ;;
5852     */) ;;
5853     *) as_dir=$as_dir/ ;;
5854   esac
5855     for ac_exec_ext in '' $ac_executable_extensions; do
5856   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5857     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5858     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5859     break 2
5860   fi
5861 done
5862   done
5863 IFS=$as_save_IFS
5864
5865 fi
5866 fi
5867 CXX=$ac_cv_prog_CXX
5868 if test -n "$CXX"; then
5869   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5870 printf "%s\n" "$CXX" >&6; }
5871 else
5872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 printf "%s\n" "no" >&6; }
5874 fi
5875
5876
5877     test -n "$CXX" && break
5878   done
5879 fi
5880 if test -z "$CXX"; then
5881   ac_ct_CXX=$CXX
5882   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5883 do
5884   # Extract the first word of "$ac_prog", so it can be a program name with args.
5885 set dummy $ac_prog; ac_word=$2
5886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 printf %s "checking for $ac_word... " >&6; }
5888 if test ${ac_cv_prog_ac_ct_CXX+y}
5889 then :
5890   printf %s "(cached) " >&6
5891 else $as_nop
5892   if test -n "$ac_ct_CXX"; then
5893   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5894 else
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 for as_dir in $PATH
5897 do
5898   IFS=$as_save_IFS
5899   case $as_dir in #(((
5900     '') as_dir=./ ;;
5901     */) ;;
5902     *) as_dir=$as_dir/ ;;
5903   esac
5904     for ac_exec_ext in '' $ac_executable_extensions; do
5905   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5906     ac_cv_prog_ac_ct_CXX="$ac_prog"
5907     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5908     break 2
5909   fi
5910 done
5911   done
5912 IFS=$as_save_IFS
5913
5914 fi
5915 fi
5916 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5917 if test -n "$ac_ct_CXX"; then
5918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5919 printf "%s\n" "$ac_ct_CXX" >&6; }
5920 else
5921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 printf "%s\n" "no" >&6; }
5923 fi
5924
5925
5926   test -n "$ac_ct_CXX" && break
5927 done
5928
5929   if test "x$ac_ct_CXX" = x; then
5930     CXX="g++"
5931   else
5932     case $cross_compiling:$ac_tool_warned in
5933 yes:)
5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5935 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5936 ac_tool_warned=yes ;;
5937 esac
5938     CXX=$ac_ct_CXX
5939   fi
5940 fi
5941
5942   fi
5943 fi
5944 # Provide some information about the compiler.
5945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5946 set X $ac_compile
5947 ac_compiler=$2
5948 for ac_option in --version -v -V -qversion; do
5949   { { ac_try="$ac_compiler $ac_option >&5"
5950 case "(($ac_try" in
5951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5952   *) ac_try_echo=$ac_try;;
5953 esac
5954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5955 printf "%s\n" "$ac_try_echo"; } >&5
5956   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5957   ac_status=$?
5958   if test -s conftest.err; then
5959     sed '10a\
5960 ... rest of stderr output deleted ...
5961          10q' conftest.err >conftest.er1
5962     cat conftest.er1 >&5
5963   fi
5964   rm -f conftest.er1 conftest.err
5965   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5966   test $ac_status = 0; }
5967 done
5968
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5970 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5971 if test ${ac_cv_cxx_compiler_gnu+y}
5972 then :
5973   printf %s "(cached) " >&6
5974 else $as_nop
5975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5976 /* end confdefs.h.  */
5977
5978 int
5979 main (void)
5980 {
5981 #ifndef __GNUC__
5982        choke me
5983 #endif
5984
5985   ;
5986   return 0;
5987 }
5988 _ACEOF
5989 if ac_fn_cxx_try_compile "$LINENO"
5990 then :
5991   ac_compiler_gnu=yes
5992 else $as_nop
5993   ac_compiler_gnu=no
5994 fi
5995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5996 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5997
5998 fi
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6000 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
6001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6002
6003 if test $ac_compiler_gnu = yes; then
6004   GXX=yes
6005 else
6006   GXX=
6007 fi
6008 ac_test_CXXFLAGS=${CXXFLAGS+y}
6009 ac_save_CXXFLAGS=$CXXFLAGS
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6011 printf %s "checking whether $CXX accepts -g... " >&6; }
6012 if test ${ac_cv_prog_cxx_g+y}
6013 then :
6014   printf %s "(cached) " >&6
6015 else $as_nop
6016   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6017    ac_cxx_werror_flag=yes
6018    ac_cv_prog_cxx_g=no
6019    CXXFLAGS="-g"
6020    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6021 /* end confdefs.h.  */
6022
6023 int
6024 main (void)
6025 {
6026
6027   ;
6028   return 0;
6029 }
6030 _ACEOF
6031 if ac_fn_cxx_try_compile "$LINENO"
6032 then :
6033   ac_cv_prog_cxx_g=yes
6034 else $as_nop
6035   CXXFLAGS=""
6036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6037 /* end confdefs.h.  */
6038
6039 int
6040 main (void)
6041 {
6042
6043   ;
6044   return 0;
6045 }
6046 _ACEOF
6047 if ac_fn_cxx_try_compile "$LINENO"
6048 then :
6049
6050 else $as_nop
6051   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6052          CXXFLAGS="-g"
6053          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h.  */
6055
6056 int
6057 main (void)
6058 {
6059
6060   ;
6061   return 0;
6062 }
6063 _ACEOF
6064 if ac_fn_cxx_try_compile "$LINENO"
6065 then :
6066   ac_cv_prog_cxx_g=yes
6067 fi
6068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6069 fi
6070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6071 fi
6072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6073    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6074 fi
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6076 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
6077 if test $ac_test_CXXFLAGS; then
6078   CXXFLAGS=$ac_save_CXXFLAGS
6079 elif test $ac_cv_prog_cxx_g = yes; then
6080   if test "$GXX" = yes; then
6081     CXXFLAGS="-g -O2"
6082   else
6083     CXXFLAGS="-g"
6084   fi
6085 else
6086   if test "$GXX" = yes; then
6087     CXXFLAGS="-O2"
6088   else
6089     CXXFLAGS=
6090   fi
6091 fi
6092 ac_prog_cxx_stdcxx=no
6093 if test x$ac_prog_cxx_stdcxx = xno
6094 then :
6095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
6096 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
6097 if test ${ac_cv_prog_cxx_cxx11+y}
6098 then :
6099   printf %s "(cached) " >&6
6100 else $as_nop
6101   ac_cv_prog_cxx_cxx11=no
6102 ac_save_CXX=$CXX
6103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6104 /* end confdefs.h.  */
6105 $ac_cxx_conftest_cxx11_program
6106 _ACEOF
6107 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6108 do
6109   CXX="$ac_save_CXX $ac_arg"
6110   if ac_fn_cxx_try_compile "$LINENO"
6111 then :
6112   ac_cv_prog_cxx_cxx11=$ac_arg
6113 fi
6114 rm -f core conftest.err conftest.$ac_objext conftest.beam
6115   test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6116 done
6117 rm -f conftest.$ac_ext
6118 CXX=$ac_save_CXX
6119 fi
6120
6121 if test "x$ac_cv_prog_cxx_cxx11" = xno
6122 then :
6123   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6124 printf "%s\n" "unsupported" >&6; }
6125 else $as_nop
6126   if test "x$ac_cv_prog_cxx_cxx11" = x
6127 then :
6128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6129 printf "%s\n" "none needed" >&6; }
6130 else $as_nop
6131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6132 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6133      CXX="$CXX $ac_cv_prog_cxx_cxx11"
6134 fi
6135   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6136   ac_prog_cxx_stdcxx=cxx11
6137 fi
6138 fi
6139 if test x$ac_prog_cxx_stdcxx = xno
6140 then :
6141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6142 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6143 if test ${ac_cv_prog_cxx_cxx98+y}
6144 then :
6145   printf %s "(cached) " >&6
6146 else $as_nop
6147   ac_cv_prog_cxx_cxx98=no
6148 ac_save_CXX=$CXX
6149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6150 /* end confdefs.h.  */
6151 $ac_cxx_conftest_cxx98_program
6152 _ACEOF
6153 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6154 do
6155   CXX="$ac_save_CXX $ac_arg"
6156   if ac_fn_cxx_try_compile "$LINENO"
6157 then :
6158   ac_cv_prog_cxx_cxx98=$ac_arg
6159 fi
6160 rm -f core conftest.err conftest.$ac_objext conftest.beam
6161   test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6162 done
6163 rm -f conftest.$ac_ext
6164 CXX=$ac_save_CXX
6165 fi
6166
6167 if test "x$ac_cv_prog_cxx_cxx98" = xno
6168 then :
6169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6170 printf "%s\n" "unsupported" >&6; }
6171 else $as_nop
6172   if test "x$ac_cv_prog_cxx_cxx98" = x
6173 then :
6174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6175 printf "%s\n" "none needed" >&6; }
6176 else $as_nop
6177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6178 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6179      CXX="$CXX $ac_cv_prog_cxx_cxx98"
6180 fi
6181   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6182   ac_prog_cxx_stdcxx=cxx98
6183 fi
6184 fi
6185
6186 ac_ext=c
6187 ac_cpp='$CPP $CPPFLAGS'
6188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6191
6192 depcc="$CXX"  am_compiler_list=
6193
6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6195 printf %s "checking dependency style of $depcc... " >&6; }
6196 if test ${am_cv_CXX_dependencies_compiler_type+y}
6197 then :
6198   printf %s "(cached) " >&6
6199 else $as_nop
6200   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6201   # We make a subdir and do the tests there.  Otherwise we can end up
6202   # making bogus files that we don't know about and never remove.  For
6203   # instance it was reported that on HP-UX the gcc test will end up
6204   # making a dummy file named 'D' -- because '-MD' means "put the output
6205   # in D".
6206   rm -rf conftest.dir
6207   mkdir conftest.dir
6208   # Copy depcomp to subdir because otherwise we won't find it if we're
6209   # using a relative directory.
6210   cp "$am_depcomp" conftest.dir
6211   cd conftest.dir
6212   # We will build objects and dependencies in a subdirectory because
6213   # it helps to detect inapplicable dependency modes.  For instance
6214   # both Tru64's cc and ICC support -MD to output dependencies as a
6215   # side effect of compilation, but ICC will put the dependencies in
6216   # the current directory while Tru64 will put them in the object
6217   # directory.
6218   mkdir sub
6219
6220   am_cv_CXX_dependencies_compiler_type=none
6221   if test "$am_compiler_list" = ""; then
6222      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6223   fi
6224   am__universal=false
6225   case " $depcc " in #(
6226      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6227      esac
6228
6229   for depmode in $am_compiler_list; do
6230     # Setup a source with many dependencies, because some compilers
6231     # like to wrap large dependency lists on column 80 (with \), and
6232     # we should not choose a depcomp mode which is confused by this.
6233     #
6234     # We need to recreate these files for each test, as the compiler may
6235     # overwrite some of them when testing with obscure command lines.
6236     # This happens at least with the AIX C compiler.
6237     : > sub/conftest.c
6238     for i in 1 2 3 4 5 6; do
6239       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6240       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6241       # Solaris 10 /bin/sh.
6242       echo '/* dummy */' > sub/conftst$i.h
6243     done
6244     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6245
6246     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6247     # mode.  It turns out that the SunPro C++ compiler does not properly
6248     # handle '-M -o', and we need to detect this.  Also, some Intel
6249     # versions had trouble with output in subdirs.
6250     am__obj=sub/conftest.${OBJEXT-o}
6251     am__minus_obj="-o $am__obj"
6252     case $depmode in
6253     gcc)
6254       # This depmode causes a compiler race in universal mode.
6255       test "$am__universal" = false || continue
6256       ;;
6257     nosideeffect)
6258       # After this tag, mechanisms are not by side-effect, so they'll
6259       # only be used when explicitly requested.
6260       if test "x$enable_dependency_tracking" = xyes; then
6261         continue
6262       else
6263         break
6264       fi
6265       ;;
6266     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6267       # This compiler won't grok '-c -o', but also, the minuso test has
6268       # not run yet.  These depmodes are late enough in the game, and
6269       # so weak that their functioning should not be impacted.
6270       am__obj=conftest.${OBJEXT-o}
6271       am__minus_obj=
6272       ;;
6273     none) break ;;
6274     esac
6275     if depmode=$depmode \
6276        source=sub/conftest.c object=$am__obj \
6277        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6278        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6279          >/dev/null 2>conftest.err &&
6280        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6281        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6282        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6283        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6284       # icc doesn't choke on unknown options, it will just issue warnings
6285       # or remarks (even with -Werror).  So we grep stderr for any message
6286       # that says an option was ignored or not supported.
6287       # When given -MP, icc 7.0 and 7.1 complain thusly:
6288       #   icc: Command line warning: ignoring option '-M'; no argument required
6289       # The diagnosis changed in icc 8.0:
6290       #   icc: Command line remark: option '-MP' not supported
6291       if (grep 'ignoring option' conftest.err ||
6292           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6293         am_cv_CXX_dependencies_compiler_type=$depmode
6294         break
6295       fi
6296     fi
6297   done
6298
6299   cd ..
6300   rm -rf conftest.dir
6301 else
6302   am_cv_CXX_dependencies_compiler_type=none
6303 fi
6304
6305 fi
6306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6307 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
6308 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6309
6310  if
6311   test "x$enable_dependency_tracking" != xno \
6312   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6313   am__fastdepCXX_TRUE=
6314   am__fastdepCXX_FALSE='#'
6315 else
6316   am__fastdepCXX_TRUE='#'
6317   am__fastdepCXX_FALSE=
6318 fi
6319
6320
6321
6322 ac_ext=c
6323 ac_cpp='$CPP $CPPFLAGS'
6324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6327
6328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
6329 printf %s "checking for C compiler vendor... " >&6; }
6330 if test ${ax_cv_c_compiler_vendor+y}
6331 then :
6332   printf %s "(cached) " >&6
6333 else $as_nop
6334     # note: don't check for gcc first since some other compilers define __GNUC__
6335   vendors="intel:     __ICC,__ECC,__INTEL_COMPILER
6336            ibm:       __xlc__,__xlC__,__IBMC__,__IBMCPP__
6337            pathscale: __PATHCC__,__PATHSCALE__
6338            clang:     __clang__
6339            cray:      _CRAYC
6340            fujitsu:   __FUJITSU
6341            gnu:       __GNUC__
6342            sun:       __SUNPRO_C,__SUNPRO_CC
6343            hp:        __HP_cc,__HP_aCC
6344            dec:       __DECC,__DECCXX,__DECC_VER,__DECCXX_VER
6345            borland:   __BORLANDC__,__CODEGEARC__,__TURBOC__
6346            comeau:    __COMO__
6347            kai:       __KCC
6348            lcc:       __LCC__
6349            sgi:       __sgi,sgi
6350            microsoft: _MSC_VER
6351            metrowerks: __MWERKS__
6352            watcom:    __WATCOMC__
6353            portland:  __PGI
6354            tcc:       __TINYC__
6355            unknown:   UNKNOWN"
6356   for ventest in $vendors; do
6357     case $ventest in
6358       *:) vendor=$ventest; continue ;;
6359       *)  vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")" ;;
6360     esac
6361     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h.  */
6363
6364 int
6365 main (void)
6366 {
6367
6368       #if !($vencpp)
6369         thisisanerror;
6370       #endif
6371
6372   ;
6373   return 0;
6374 }
6375 _ACEOF
6376 if ac_fn_c_try_compile "$LINENO"
6377 then :
6378   break
6379 fi
6380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6381   done
6382   ax_cv_c_compiler_vendor=`echo $vendor | cut -d: -f1`
6383
6384 fi
6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
6386 printf "%s\n" "$ax_cv_c_compiler_vendor" >&6; }
6387
6388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6389 printf %s "checking for a sed that does not truncate output... " >&6; }
6390 if test ${ac_cv_path_SED+y}
6391 then :
6392   printf %s "(cached) " >&6
6393 else $as_nop
6394             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6395      for ac_i in 1 2 3 4 5 6 7; do
6396        ac_script="$ac_script$as_nl$ac_script"
6397      done
6398      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6399      { ac_script=; unset ac_script;}
6400      if test -z "$SED"; then
6401   ac_path_SED_found=false
6402   # Loop through the user's path and test for each of PROGNAME-LIST
6403   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH
6405 do
6406   IFS=$as_save_IFS
6407   case $as_dir in #(((
6408     '') as_dir=./ ;;
6409     */) ;;
6410     *) as_dir=$as_dir/ ;;
6411   esac
6412     for ac_prog in sed gsed
6413    do
6414     for ac_exec_ext in '' $ac_executable_extensions; do
6415       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
6416       as_fn_executable_p "$ac_path_SED" || continue
6417 # Check for GNU ac_path_SED and select it if it is found.
6418   # Check for GNU $ac_path_SED
6419 case `"$ac_path_SED" --version 2>&1` in
6420 *GNU*)
6421   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6422 *)
6423   ac_count=0
6424   printf %s 0123456789 >"conftest.in"
6425   while :
6426   do
6427     cat "conftest.in" "conftest.in" >"conftest.tmp"
6428     mv "conftest.tmp" "conftest.in"
6429     cp "conftest.in" "conftest.nl"
6430     printf "%s\n" '' >> "conftest.nl"
6431     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6432     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6433     as_fn_arith $ac_count + 1 && ac_count=$as_val
6434     if test $ac_count -gt ${ac_path_SED_max-0}; then
6435       # Best one so far, save it but keep looking for a better one
6436       ac_cv_path_SED="$ac_path_SED"
6437       ac_path_SED_max=$ac_count
6438     fi
6439     # 10*(2^10) chars as input seems more than enough
6440     test $ac_count -gt 10 && break
6441   done
6442   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6443 esac
6444
6445       $ac_path_SED_found && break 3
6446     done
6447   done
6448   done
6449 IFS=$as_save_IFS
6450   if test -z "$ac_cv_path_SED"; then
6451     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6452   fi
6453 else
6454   ac_cv_path_SED=$SED
6455 fi
6456
6457 fi
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6459 printf "%s\n" "$ac_cv_path_SED" >&6; }
6460  SED="$ac_cv_path_SED"
6461   rm -f conftest.sed
6462
6463
6464
6465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6466 printf %s "checking for C compiler version... " >&6; }
6467 if test ${ax_cv_c_compiler_version+y}
6468 then :
6469   printf %s "(cached) " >&6
6470 else $as_nop
6471          case $ax_cv_c_compiler_vendor in #(
6472   intel) :
6473        if ac_fn_c_compute_int "$LINENO" "__INTEL_COMPILER/100" "_ax_c_compiler_version_major"        ""
6474 then :
6475
6476 else $as_nop
6477   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6478 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6479 as_fn_error $? "_AX_COMPILER_VERSION_INTEL unknown intel compiler version
6480 See \`config.log' for more details" "$LINENO" 5; }
6481 fi
6482
6483   if ac_fn_c_compute_int "$LINENO" "(__INTEL_COMPILER%100)/10" "_ax_c_compiler_version_minor"        ""
6484 then :
6485
6486 else $as_nop
6487   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6488 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6489 as_fn_error $? "_AX_COMPILER_VERSION_INTEL unknown intel compiler version
6490 See \`config.log' for more details" "$LINENO" 5; }
6491 fi
6492
6493   if ac_fn_c_compute_int "$LINENO" "(__INTEL_COMPILER%10)" "_ax_c_compiler_version_patch"        ""
6494 then :
6495
6496 else $as_nop
6497   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6498 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6499 as_fn_error $? "_AX_COMPILER_VERSION_INTEL unknown intel compiler version
6500 See \`config.log' for more details" "$LINENO" 5; }
6501 fi
6502
6503   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
6504    ;; #(
6505   ibm) :
6506          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h.  */
6508
6509
6510 int
6511 main (void)
6512 {
6513
6514         #if defined(__COMPILER_VER__)
6515         choke me;
6516         #endif
6517
6518   ;
6519   return 0;
6520 }
6521 _ACEOF
6522 if ac_fn_c_try_compile "$LINENO"
6523 then :
6524
6525       if ac_fn_c_compute_int "$LINENO" "__xlC__/100" "_ax_c_compiler_version_major"        ""
6526 then :
6527
6528 else $as_nop
6529   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6530 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6531 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler major version
6532 See \`config.log' for more details" "$LINENO" 5; }
6533 fi
6534
6535       if ac_fn_c_compute_int "$LINENO" "__xlC__%100" "_ax_c_compiler_version_minor"        ""
6536 then :
6537
6538 else $as_nop
6539   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6540 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6541 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler minor version
6542 See \`config.log' for more details" "$LINENO" 5; }
6543 fi
6544
6545       if ac_fn_c_compute_int "$LINENO" "__xlC_ver__/0x100" "_ax_c_compiler_version_patch"        ""
6546 then :
6547
6548 else $as_nop
6549   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6550 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6551 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler patch version
6552 See \`config.log' for more details" "$LINENO" 5; }
6553 fi
6554
6555       if ac_fn_c_compute_int "$LINENO" "__xlC_ver__%0x100" "_ax_c_compiler_version_build"        ""
6556 then :
6557
6558 else $as_nop
6559   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6560 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6561 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler build version
6562 See \`config.log' for more details" "$LINENO" 5; }
6563 fi
6564
6565       ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch.$_ax_c_compiler_version_build"
6566
6567 else $as_nop
6568
6569       if ac_fn_c_compute_int "$LINENO" "__xlC__%1000" "_ax_c_compiler_version_patch"        ""
6570 then :
6571
6572 else $as_nop
6573   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6574 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6575 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler patch version
6576 See \`config.log' for more details" "$LINENO" 5; }
6577 fi
6578
6579       if ac_fn_c_compute_int "$LINENO" "(__xlC__/10000)%10" "_ax_c_compiler_version_minor"        ""
6580 then :
6581
6582 else $as_nop
6583   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6584 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6585 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler minor version
6586 See \`config.log' for more details" "$LINENO" 5; }
6587 fi
6588
6589       if ac_fn_c_compute_int "$LINENO" "(__xlC__/100000)%10" "_ax_c_compiler_version_major"        ""
6590 then :
6591
6592 else $as_nop
6593   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6594 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6595 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler major version
6596 See \`config.log' for more details" "$LINENO" 5; }
6597 fi
6598
6599       ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
6600
6601 fi
6602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6603  ;; #(
6604   pathscale) :
6605
6606   if ac_fn_c_compute_int "$LINENO" "__PATHCC__" "_ax_c_compiler_version_major"        ""
6607 then :
6608
6609 else $as_nop
6610   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6611 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6612 as_fn_error $? "_AX_COMPILER_VERSION_PATHSCALE unknown pathscale major
6613 See \`config.log' for more details" "$LINENO" 5; }
6614 fi
6615
6616   if ac_fn_c_compute_int "$LINENO" "__PATHCC_MINOR__" "_ax_c_compiler_version_minor"        ""
6617 then :
6618
6619 else $as_nop
6620   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6621 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6622 as_fn_error $? "_AX_COMPILER_VERSION_PATHSCALE unknown pathscale minor
6623 See \`config.log' for more details" "$LINENO" 5; }
6624 fi
6625
6626   if ac_fn_c_compute_int "$LINENO" "__PATHCC_PATCHLEVEL__" "_ax_c_compiler_version_patch"        ""
6627 then :
6628
6629 else $as_nop
6630   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6631 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6632 as_fn_error $? "_AX_COMPILER_VERSION_PATHSCALE unknown pathscale patch level
6633 See \`config.log' for more details" "$LINENO" 5; }
6634 fi
6635
6636   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
6637    ;; #(
6638   clang) :
6639
6640   if ac_fn_c_compute_int "$LINENO" "__clang_major__" "_ax_c_compiler_version_major"        ""
6641 then :
6642
6643 else $as_nop
6644   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6645 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6646 as_fn_error $? "_AX_COMPILER_VERSION_CLANG unknown clang major
6647 See \`config.log' for more details" "$LINENO" 5; }
6648 fi
6649
6650   if ac_fn_c_compute_int "$LINENO" "__clang_minor__" "_ax_c_compiler_version_minor"        ""
6651 then :
6652
6653 else $as_nop
6654   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6655 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6656 as_fn_error $? "_AX_COMPILER_VERSION_CLANG unknown clang minor
6657 See \`config.log' for more details" "$LINENO" 5; }
6658 fi
6659
6660   if ac_fn_c_compute_int "$LINENO" "__clang_patchlevel__" "_ax_c_compiler_version_patch"        ""
6661 then :
6662
6663 else $as_nop
6664   0
6665 fi
6666
6667   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
6668    ;; #(
6669   cray) :
6670
6671   if ac_fn_c_compute_int "$LINENO" "_RELEASE" "_ax_c_compiler_version_major"        ""
6672 then :
6673
6674 else $as_nop
6675   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6676 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6677 as_fn_error $? "_AX_COMPILER_VERSION_CRAY unknown crayc release
6678 See \`config.log' for more details" "$LINENO" 5; }
6679 fi
6680
6681   if ac_fn_c_compute_int "$LINENO" "_RELEASE_MINOR" "_ax_c_compiler_version_minor"        ""
6682 then :
6683
6684 else $as_nop
6685   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6686 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6687 as_fn_error $? "_AX_COMPILER_VERSION_CRAY unknown crayc minor
6688 See \`config.log' for more details" "$LINENO" 5; }
6689 fi
6690
6691   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor"
6692    ;; #(
6693   fujitsu) :
6694
6695   if ac_fn_c_compute_int "$LINENO" "__FCC_VERSION" "ax_cv_c_compiler_version"        ""
6696 then :
6697
6698 else $as_nop
6699   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6700 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6701 as_fn_error $? "_AX_COMPILER_VERSION_FUJITSUunknown fujitsu release
6702 See \`config.log' for more details" "$LINENO" 5; }
6703 fi
6704
6705    ;; #(
6706   gnu) :
6707
6708   if ac_fn_c_compute_int "$LINENO" "__GNUC__" "_ax_c_compiler_version_major"        ""
6709 then :
6710
6711 else $as_nop
6712   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6713 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6714 as_fn_error $? "_AX_COMPILER_VERSION_GNU unknown gcc major
6715 See \`config.log' for more details" "$LINENO" 5; }
6716 fi
6717
6718   if ac_fn_c_compute_int "$LINENO" "__GNUC_MINOR__" "_ax_c_compiler_version_minor"        ""
6719 then :
6720
6721 else $as_nop
6722   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6723 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6724 as_fn_error $? "_AX_COMPILER_VERSION_GNU unknown gcc minor
6725 See \`config.log' for more details" "$LINENO" 5; }
6726 fi
6727
6728   if ac_fn_c_compute_int "$LINENO" "__GNUC_PATCHLEVEL__" "_ax_c_compiler_version_patch"        ""
6729 then :
6730
6731 else $as_nop
6732   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6733 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6734 as_fn_error $? "_AX_COMPILER_VERSION_GNU unknown gcc patch level
6735 See \`config.log' for more details" "$LINENO" 5; }
6736 fi
6737
6738   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
6739    ;; #(
6740   sun) :
6741
6742
6743   if ac_fn_c_compute_int "$LINENO" "!!(
6744              #if defined(__SUNPRO_CC)
6745              __SUNPRO_CC
6746              #else
6747              __SUNPRO_C
6748              #endif
6749              < 0x1000)" "_ax_c_compiler_version_until59"        ""
6750 then :
6751
6752 else $as_nop
6753   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6754 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6755 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun release version
6756 See \`config.log' for more details" "$LINENO" 5; }
6757 fi
6758
6759   if test "X$_ax_c_compiler_version_until59" = X1
6760 then :
6761         if ac_fn_c_compute_int "$LINENO" "
6762              #if defined(__SUNPRO_CC)
6763              __SUNPRO_CC
6764              #else
6765              __SUNPRO_C
6766              #endif
6767              % 0x10" "_ax_c_compiler_version_patch"        ""
6768 then :
6769
6770 else $as_nop
6771   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6772 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6773 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun patch version
6774 See \`config.log' for more details" "$LINENO" 5; }
6775 fi
6776
6777       if ac_fn_c_compute_int "$LINENO" "(
6778              #if defined(__SUNPRO_CC)
6779              __SUNPRO_CC
6780              #else
6781              __SUNPRO_C
6782              #endif
6783              / 0x10) % 0x10" "_ax_c_compiler_version_minor"        ""
6784 then :
6785
6786 else $as_nop
6787   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6788 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6789 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun minor version
6790 See \`config.log' for more details" "$LINENO" 5; }
6791 fi
6792
6793       if ac_fn_c_compute_int "$LINENO" "(
6794              #if defined(__SUNPRO_CC)
6795              __SUNPRO_CC
6796              #else
6797              __SUNPRO_C
6798              #endif
6799              / 0x100)" "_ax_c_compiler_version_major"        ""
6800 then :
6801
6802 else $as_nop
6803   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6804 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6805 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun major version
6806 See \`config.log' for more details" "$LINENO" 5; }
6807 fi
6808
6809
6810 else $as_nop
6811         if ac_fn_c_compute_int "$LINENO" "
6812              #if defined(__SUNPRO_CC)
6813              __SUNPRO_CC
6814              #else
6815              __SUNPRO_C
6816              #endif
6817              % 0x10" "_ax_c_compiler_version_patch"        ""
6818 then :
6819
6820 else $as_nop
6821   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6822 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6823 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun patch version
6824 See \`config.log' for more details" "$LINENO" 5; }
6825 fi
6826
6827       if ac_fn_c_compute_int "$LINENO" "(
6828              #if defined(__SUNPRO_CC)
6829              __SUNPRO_CC
6830              #else
6831              __SUNPRO_C
6832              #endif
6833              / 0x100) % 0x100" "_ax_c_compiler_version_minor"        ""
6834 then :
6835
6836 else $as_nop
6837   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6838 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6839 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun minor version
6840 See \`config.log' for more details" "$LINENO" 5; }
6841 fi
6842
6843       if ac_fn_c_compute_int "$LINENO" "(
6844              #if defined(__SUNPRO_CC)
6845              __SUNPRO_CC
6846              #else
6847              __SUNPRO_C
6848              #endif
6849              / 0x1000)" "_ax_c_compiler_version_major"        ""
6850 then :
6851
6852 else $as_nop
6853   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6854 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6855 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun major version
6856 See \`config.log' for more details" "$LINENO" 5; }
6857 fi
6858
6859
6860 fi
6861   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
6862  ;; #(
6863   hp) :
6864
6865
6866   if ac_fn_c_compute_int "$LINENO" "!!(
6867              #if defined(__HP_cc)
6868              __HP_cc
6869              #else
6870              __HP_aCC
6871              #endif
6872              <= 1)" "_ax_c_compiler_version_untilA0121"        ""
6873 then :
6874
6875 else $as_nop
6876   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6877 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6878 as_fn_error $? "_AX_COMPILER_VERSION_HP unknown hp release version
6879 See \`config.log' for more details" "$LINENO" 5; }
6880 fi
6881
6882   if test "X$_ax_c_compiler_version_untilA0121" = X1
6883 then :
6884              ax_cv_c_compiler_version="01.21.00"
6885
6886 else $as_nop
6887         if ac_fn_c_compute_int "$LINENO" "(
6888              #if defined(__HP_cc)
6889              __HP_cc
6890              #else
6891              __HP_aCC
6892              #endif
6893              % 100)" "_ax_c_compiler_version_patch"        ""
6894 then :
6895
6896 else $as_nop
6897   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6898 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6899 as_fn_error $? "_AX_COMPILER_VERSION_HP unknown hp release version
6900 See \`config.log' for more details" "$LINENO" 5; }
6901 fi
6902
6903       if ac_fn_c_compute_int "$LINENO" "((
6904              #if defined(__HP_cc)
6905              __HP_cc
6906              #else
6907              __HP_aCC
6908              #endif
6909              / 100)%100)" "_ax_c_compiler_version_minor"        ""
6910 then :
6911
6912 else $as_nop
6913   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6914 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6915 as_fn_error $? "_AX_COMPILER_VERSION_HP unknown hp minor version
6916 See \`config.log' for more details" "$LINENO" 5; }
6917 fi
6918
6919       if ac_fn_c_compute_int "$LINENO" "((
6920              #if defined(__HP_cc)
6921              __HP_cc
6922              #else
6923              __HP_aCC
6924              #endif
6925              / 10000)%100)" "_ax_c_compiler_version_major"        ""
6926 then :
6927
6928 else $as_nop
6929   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6930 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6931 as_fn_error $? "_AX_COMPILER_VERSION_HP unknown hp major version
6932 See \`config.log' for more details" "$LINENO" 5; }
6933 fi
6934
6935       ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
6936
6937 fi
6938  ;; #(
6939   dec) :
6940
6941   if ac_fn_c_compute_int "$LINENO" "(
6942              #if defined(__DECC_VER)
6943              __DECC_VER
6944              #else
6945              __DECCXX_VER
6946              #endif
6947              % 10000)" "_ax_c_compiler_version_patch"        ""
6948 then :
6949
6950 else $as_nop
6951   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6952 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6953 as_fn_error $? "_AX_COMPILER_VERSION_DEC unknown dec release version
6954 See \`config.log' for more details" "$LINENO" 5; }
6955 fi
6956
6957   if ac_fn_c_compute_int "$LINENO" "((
6958              #if defined(__DECC_VER)
6959              __DECC_VER
6960              #else
6961              __DECCXX_VER
6962              #endif
6963              / 100000UL)%100)" "_ax_c_compiler_version_minor"        ""
6964 then :
6965
6966 else $as_nop
6967   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6968 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6969 as_fn_error $? "_AX_COMPILER_VERSION_DEC unknown dec minor version
6970 See \`config.log' for more details" "$LINENO" 5; }
6971 fi
6972
6973   if ac_fn_c_compute_int "$LINENO" "((
6974              #if defined(__DECC_VER)
6975              __DECC_VER
6976              #else
6977              __DECCXX_VER
6978              #endif
6979              / 10000000UL)%100)" "_ax_c_compiler_version_major"        ""
6980 then :
6981
6982 else $as_nop
6983   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6984 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6985 as_fn_error $? "_AX_COMPILER_VERSION_DEC unknown dec major version
6986 See \`config.log' for more details" "$LINENO" 5; }
6987 fi
6988
6989   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
6990    ;; #(
6991   borland) :
6992
6993
6994  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6995 /* end confdefs.h.  */
6996
6997 int
6998 main (void)
6999 {
7000
7001              #if defined(__TURBOC__)
7002              __TURBOC__
7003              #else
7004              choke me
7005              #endif
7006
7007   ;
7008   return 0;
7009 }
7010 _ACEOF
7011 if ac_fn_c_try_compile "$LINENO"
7012 then :
7013        if ac_fn_c_compute_int "$LINENO" "
7014              #if defined(__TURBOC__)
7015              __TURBOC__
7016              #else
7017              choke me
7018              #endif
7019             " "_ax_c_compiler_version_turboc_raw"        ""
7020 then :
7021
7022 else $as_nop
7023   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7024 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7025 as_fn_error $? "_AX_COMPILER_VERSION_BORLAND unknown turboc version
7026 See \`config.log' for more details" "$LINENO" 5; }
7027 fi
7028
7029      if test $_ax_c_compiler_version_turboc_raw -lt 661 || test $_ax_c_compiler_version_turboc_raw -gt 1023
7030 then :
7031           if ac_fn_c_compute_int "$LINENO" "
7032              #if defined(__TURBOC__)
7033              __TURBOC__
7034              #else
7035              choke me
7036              #endif
7037              % 0x100" "_ax_c_compiler_version_minor"        ""
7038 then :
7039
7040 else $as_nop
7041   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7042 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7043 as_fn_error $? "_AX_COMPILER_VERSION_BORLAND unknown turboc minor version
7044 See \`config.log' for more details" "$LINENO" 5; }
7045 fi
7046
7047         if ac_fn_c_compute_int "$LINENO" "(
7048              #if defined(__TURBOC__)
7049              __TURBOC__
7050              #else
7051              choke me
7052              #endif
7053             /0x100)%0x100" "_ax_c_compiler_version_major"        ""
7054 then :
7055
7056 else $as_nop
7057   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7058 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7059 as_fn_error $? "_AX_COMPILER_VERSION_BORLAND unknown turboc major version
7060 See \`config.log' for more details" "$LINENO" 5; }
7061 fi
7062
7063         ax_cv_c_compiler_version="0turboc:$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor"
7064 else $as_nop
7065          case $_ax_c_compiler_version_turboc_raw in #(
7066   661) :
7067     ax_cv_c_compiler_version="0turboc:1.00" ;; #(
7068   662) :
7069     ax_cv_c_compiler_version="0turboc:1.01" ;; #(
7070   663) :
7071     ax_cv_c_compiler_version="0turboc:2.00" ;; #(
7072   *) :
7073
7074          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: [_AX_COMPILER_VERSION_BORLAND] unknown turboc version between 0x295 and 0x400 please report bug" >&5
7075 printf "%s\n" "$as_me: WARNING: [_AX_COMPILER_VERSION_BORLAND] unknown turboc version between 0x295 and 0x400 please report bug" >&2;}
7076          ax_cv_c_compiler_version=""
7077           ;;
7078 esac
7079
7080 fi
7081
7082 else $as_nop
7083   # borlandc
7084
7085     if ac_fn_c_compute_int "$LINENO" "
7086              #if defined(__BORLANDC__)
7087              __BORLANDC__
7088              #else
7089              __CODEGEARC__
7090              #endif
7091             " "_ax_c_compiler_version_borlandc_raw"        ""
7092 then :
7093
7094 else $as_nop
7095   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7096 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7097 as_fn_error $? "_AX_COMPILER_VERSION_BORLAND unknown borlandc version
7098 See \`config.log' for more details" "$LINENO" 5; }
7099 fi
7100
7101     case $_ax_c_compiler_version_borlandc_raw in #(
7102         512 ) :
7103     ax_cv_c_compiler_version="1borlanc:2.00" ;; #(
7104   1024) :
7105     ax_cv_c_compiler_version="1borlanc:3.00" ;; #(
7106   1024) :
7107     ax_cv_c_compiler_version="1borlanc:3.00" ;; #(
7108   1040) :
7109     ax_cv_c_compiler_version="1borlanc:3.1" ;; #(
7110   1106) :
7111     ax_cv_c_compiler_version="1borlanc:4.0" ;; #(
7112   1280) :
7113     ax_cv_c_compiler_version="1borlanc:5.0" ;; #(
7114   1312) :
7115     ax_cv_c_compiler_version="1borlanc:5.02" ;; #(
7116         1328) :
7117     ax_cv_c_compiler_version="2cppbuilder:3.0" ;; #(
7118   1344) :
7119     ax_cv_c_compiler_version="2cppbuilder:4.0" ;; #(
7120         1360) :
7121     ax_cv_c_compiler_version="3borlancpp:5.5" ;; #(
7122   1361) :
7123     ax_cv_c_compiler_version="3borlancpp:5.51" ;; #(
7124   1378) :
7125     ax_cv_c_compiler_version="3borlancpp:5.6.4" ;; #(
7126         1392) :
7127     ax_cv_c_compiler_version="4cppbuilder:2006" ;; #(
7128   1424) :
7129     ax_cv_c_compiler_version="4cppbuilder:2007" ;; #(
7130   1555) :
7131     ax_cv_c_compiler_version="4cppbuilder:2009" ;; #(
7132   1569) :
7133     ax_cv_c_compiler_version="4cppbuilder:2010" ;; #(
7134         1584) :
7135     ax_cv_c_compiler_version="5xe" ;; #(
7136   1600) :
7137     ax_cv_c_compiler_version="5xe:2" ;; #(
7138   1616) :
7139     ax_cv_c_compiler_version="5xe:3" ;; #(
7140   1632) :
7141     ax_cv_c_compiler_version="5xe:4" ;; #(
7142   *) :
7143
7144       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: [_AX_COMPILER_VERSION_BORLAND] Unknown borlandc compiler version $_ax_c_compiler_version_borlandc_raw please report bug" >&5
7145 printf "%s\n" "$as_me: WARNING: [_AX_COMPILER_VERSION_BORLAND] Unknown borlandc compiler version $_ax_c_compiler_version_borlandc_raw please report bug" >&2;}
7146        ;;
7147 esac
7148
7149 fi
7150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7151    ;; #(
7152   comeau) :
7153        if ac_fn_c_compute_int "$LINENO" "__COMO_VERSION__%100" "_ax_c_compiler_version_minor"        ""
7154 then :
7155
7156 else $as_nop
7157   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7158 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7159 as_fn_error $? "_AX_COMPILER_VERSION_COMEAU unknown comeau compiler minor version
7160 See \`config.log' for more details" "$LINENO" 5; }
7161 fi
7162
7163   if ac_fn_c_compute_int "$LINENO" "(__COMO_VERSION__/100)%10" "_ax_c_compiler_version_major"        ""
7164 then :
7165
7166 else $as_nop
7167   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7168 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7169 as_fn_error $? "_AX_COMPILER_VERSION_COMEAU unknown comeau compiler major version
7170 See \`config.log' for more details" "$LINENO" 5; }
7171 fi
7172
7173   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor"
7174    ;; #(
7175   kai) :
7176
7177   if ac_fn_c_compute_int "$LINENO" "__KCC_VERSION%100" "_ax_c_compiler_version_patch"        ""
7178 then :
7179
7180 else $as_nop
7181   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7182 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7183 as_fn_error $? "_AX_COMPILER_VERSION_KAI unknown kay compiler patch version
7184 See \`config.log' for more details" "$LINENO" 5; }
7185 fi
7186
7187   if ac_fn_c_compute_int "$LINENO" "(__KCC_VERSION/100)%10" "_ax_c_compiler_version_minor"        ""
7188 then :
7189
7190 else $as_nop
7191   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7192 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7193 as_fn_error $? "_AX_COMPILER_VERSION_KAI unknown kay compiler minor version
7194 See \`config.log' for more details" "$LINENO" 5; }
7195 fi
7196
7197   if ac_fn_c_compute_int "$LINENO" "(__KCC_VERSION/1000)%10" "_ax_c_compiler_version_major"        ""
7198 then :
7199
7200 else $as_nop
7201   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7202 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7203 as_fn_error $? "_AX_COMPILER_VERSION_KAI unknown kay compiler major version
7204 See \`config.log' for more details" "$LINENO" 5; }
7205 fi
7206
7207   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
7208    ;; #(
7209   sgi) :
7210
7211
7212   if ac_fn_c_compute_int "$LINENO" "
7213              #if defined(_COMPILER_VERSION)
7214              _COMPILER_VERSION
7215              #else
7216              _SGI_COMPILER_VERSION
7217              #endif
7218             %10" "_ax_c_compiler_version_patch"        ""
7219 then :
7220
7221 else $as_nop
7222   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7223 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7224 as_fn_error $? "_AX_COMPILER_VERSION_SGI unknown SGI compiler patch version
7225 See \`config.log' for more details" "$LINENO" 5; }
7226 fi
7227
7228   if ac_fn_c_compute_int "$LINENO" "(
7229              #if defined(_COMPILER_VERSION)
7230              _COMPILER_VERSION
7231              #else
7232              _SGI_COMPILER_VERSION
7233              #endif
7234             /10)%10" "_ax_c_compiler_version_minor"        ""
7235 then :
7236
7237 else $as_nop
7238   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7239 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7240 as_fn_error $? "_AX_COMPILER_VERSION_SGI unknown SGI compiler minor version
7241 See \`config.log' for more details" "$LINENO" 5; }
7242 fi
7243
7244   if ac_fn_c_compute_int "$LINENO" "(
7245              #if defined(_COMPILER_VERSION)
7246              _COMPILER_VERSION
7247              #else
7248              _SGI_COMPILER_VERSION
7249              #endif
7250             /100)%10" "_ax_c_compiler_version_major"        ""
7251 then :
7252
7253 else $as_nop
7254   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7255 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7256 as_fn_error $? "_AX_COMPILER_VERSION_SGI unknown SGI compiler major version
7257 See \`config.log' for more details" "$LINENO" 5; }
7258 fi
7259
7260   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
7261    ;; #(
7262   microsoft) :
7263
7264   if ac_fn_c_compute_int "$LINENO" "_MSC_VER%100" "_ax_c_compiler_version_minor"        ""
7265 then :
7266
7267 else $as_nop
7268   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7269 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7270 as_fn_error $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler minor version
7271 See \`config.log' for more details" "$LINENO" 5; }
7272 fi
7273
7274   if ac_fn_c_compute_int "$LINENO" "(_MSC_VER/100)%100" "_ax_c_compiler_version_major"        ""
7275 then :
7276
7277 else $as_nop
7278   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7279 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7280 as_fn_error $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler major version
7281 See \`config.log' for more details" "$LINENO" 5; }
7282 fi
7283
7284     _ax_c_compiler_version_patch=0
7285   _ax_c_compiler_version_build=0
7286   # special case for version 6
7287   if test "X$_ax_c_compiler_version_major" = "X12"
7288 then :
7289   if ac_fn_c_compute_int "$LINENO" "_MSC_FULL_VER%1000" "_ax_c_compiler_version_patch"        ""
7290 then :
7291
7292 else $as_nop
7293   _ax_c_compiler_version_patch=0
7294 fi
7295
7296 fi
7297   # for version 7
7298   if test "X$_ax_c_compiler_version_major" = "X13"
7299 then :
7300   if ac_fn_c_compute_int "$LINENO" "_MSC_FULL_VER%1000" "_ax_c_compiler_version_patch"        ""
7301 then :
7302
7303 else $as_nop
7304   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7306 as_fn_error $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler patch version
7307 See \`config.log' for more details" "$LINENO" 5; }
7308 fi
7309
7310
7311 fi
7312   # for version > 8
7313  if test $_ax_c_compiler_version_major -ge 14
7314 then :
7315   if ac_fn_c_compute_int "$LINENO" "_MSC_FULL_VER%10000" "_ax_c_compiler_version_patch"        ""
7316 then :
7317
7318 else $as_nop
7319   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7320 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7321 as_fn_error $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler patch version
7322 See \`config.log' for more details" "$LINENO" 5; }
7323 fi
7324
7325
7326 fi
7327  if test $_ax_c_compiler_version_major -ge 15
7328 then :
7329   if ac_fn_c_compute_int "$LINENO" "_MSC_BUILD" "_ax_c_compiler_version_build"        ""
7330 then :
7331
7332 else $as_nop
7333   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7334 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7335 as_fn_error $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler build version
7336 See \`config.log' for more details" "$LINENO" 5; }
7337 fi
7338
7339
7340 fi
7341  ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch.$_ax_c_compiler_version_build"
7342   ;; #(
7343   metrowerks) :
7344       if ac_fn_c_compute_int "$LINENO" "__MWERKS__%0x100" "_ax_c_compiler_version_patch"        ""
7345 then :
7346
7347 else $as_nop
7348   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7349 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7350 as_fn_error $? "_AX_COMPILER_VERSION_METROWERKS unknown metrowerks compiler patch version
7351 See \`config.log' for more details" "$LINENO" 5; }
7352 fi
7353
7354   if ac_fn_c_compute_int "$LINENO" "(__MWERKS__/0x100)%0x10" "_ax_c_compiler_version_minor"        ""
7355 then :
7356
7357 else $as_nop
7358   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7359 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7360 as_fn_error $? "_AX_COMPILER_VERSION_METROWERKS unknown metrowerks compiler minor version
7361 See \`config.log' for more details" "$LINENO" 5; }
7362 fi
7363
7364   if ac_fn_c_compute_int "$LINENO" "(__MWERKS__/0x1000)%0x10" "_ax_c_compiler_version_major"        ""
7365 then :
7366
7367 else $as_nop
7368   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7369 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7370 as_fn_error $? "_AX_COMPILER_VERSION_METROWERKS unknown metrowerks compiler major version
7371 See \`config.log' for more details" "$LINENO" 5; }
7372 fi
7373
7374   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
7375    ;; #(
7376   watcom) :
7377       if ac_fn_c_compute_int "$LINENO" "__WATCOMC__%100" "_ax_c_compiler_version_minor"        ""
7378 then :
7379
7380 else $as_nop
7381   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7382 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7383 as_fn_error $? "_AX_COMPILER_VERSION_WATCOM unknown watcom compiler minor version
7384 See \`config.log' for more details" "$LINENO" 5; }
7385 fi
7386
7387   if ac_fn_c_compute_int "$LINENO" "(__WATCOMC__/100)%100" "_ax_c_compiler_version_major"        ""
7388 then :
7389
7390 else $as_nop
7391   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7392 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7393 as_fn_error $? "_AX_COMPILER_VERSION_WATCOM unknown watcom compiler major version
7394 See \`config.log' for more details" "$LINENO" 5; }
7395 fi
7396
7397   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor"
7398    ;; #(
7399   portland) :
7400
7401   if ac_fn_c_compute_int "$LINENO" "__PGIC__" "_ax_c_compiler_version_major"        ""
7402 then :
7403
7404 else $as_nop
7405   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7406 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7407 as_fn_error $? "_AX_COMPILER_VERSION_PORTLAND unknown pgi major
7408 See \`config.log' for more details" "$LINENO" 5; }
7409 fi
7410
7411   if ac_fn_c_compute_int "$LINENO" "__PGIC_MINOR__" "_ax_c_compiler_version_minor"        ""
7412 then :
7413
7414 else $as_nop
7415   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7416 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7417 as_fn_error $? "_AX_COMPILER_VERSION_PORTLAND unknown pgi minor
7418 See \`config.log' for more details" "$LINENO" 5; }
7419 fi
7420
7421   if ac_fn_c_compute_int "$LINENO" "__PGIC_PATCHLEVEL__" "_ax_c_compiler_version_patch"        ""
7422 then :
7423
7424 else $as_nop
7425   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7426 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7427 as_fn_error $? "_AX_COMPILER_VERSION_PORTLAND unknown pgi patch level
7428 See \`config.log' for more details" "$LINENO" 5; }
7429 fi
7430
7431   ax_cv_c_compiler_version="$_ax_c_compiler_version_major.$_ax_c_compiler_version_minor.$_ax_c_compiler_version_patch"
7432    ;; #(
7433   tcc) :
7434
7435   ax_cv_c_compiler_version=`tcc -v | $SED 's/^[ ]*tcc[ ]\+version[ ]\+\([0-9.]\+\).*/\1/g'`
7436    ;; #(
7437   *) :
7438     ax_cv_c_compiler_version="" ;;
7439 esac
7440
7441 fi
7442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_version" >&5
7443 printf "%s\n" "$ax_cv_c_compiler_version" >&6; }
7444
7445
7446 ac_ext=cpp
7447 ac_cpp='$CXXCPP $CPPFLAGS'
7448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7451
7452
7453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler vendor" >&5
7454 printf %s "checking for C++ compiler vendor... " >&6; }
7455 if test ${ax_cv_cxx_compiler_vendor+y}
7456 then :
7457   printf %s "(cached) " >&6
7458 else $as_nop
7459     # note: don't check for gcc first since some other compilers define __GNUC__
7460   vendors="intel:     __ICC,__ECC,__INTEL_COMPILER
7461            ibm:       __xlc__,__xlC__,__IBMC__,__IBMCPP__
7462            pathscale: __PATHCC__,__PATHSCALE__
7463            clang:     __clang__
7464            cray:      _CRAYC
7465            fujitsu:   __FUJITSU
7466            gnu:       __GNUC__
7467            sun:       __SUNPRO_C,__SUNPRO_CC
7468            hp:        __HP_cc,__HP_aCC
7469            dec:       __DECC,__DECCXX,__DECC_VER,__DECCXX_VER
7470            borland:   __BORLANDC__,__CODEGEARC__,__TURBOC__
7471            comeau:    __COMO__
7472            kai:       __KCC
7473            lcc:       __LCC__
7474            sgi:       __sgi,sgi
7475            microsoft: _MSC_VER
7476            metrowerks: __MWERKS__
7477            watcom:    __WATCOMC__
7478            portland:  __PGI
7479            tcc:       __TINYC__
7480            unknown:   UNKNOWN"
7481   for ventest in $vendors; do
7482     case $ventest in
7483       *:) vendor=$ventest; continue ;;
7484       *)  vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")" ;;
7485     esac
7486     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h.  */
7488
7489 int
7490 main (void)
7491 {
7492
7493       #if !($vencpp)
7494         thisisanerror;
7495       #endif
7496
7497   ;
7498   return 0;
7499 }
7500 _ACEOF
7501 if ac_fn_cxx_try_compile "$LINENO"
7502 then :
7503   break
7504 fi
7505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7506   done
7507   ax_cv_cxx_compiler_vendor=`echo $vendor | cut -d: -f1`
7508
7509 fi
7510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compiler_vendor" >&5
7511 printf "%s\n" "$ax_cv_cxx_compiler_vendor" >&6; }
7512
7513
7514
7515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7516 printf %s "checking for C++ compiler version... " >&6; }
7517 if test ${ax_cv_cxx_compiler_version+y}
7518 then :
7519   printf %s "(cached) " >&6
7520 else $as_nop
7521          case $ax_cv_cxx_compiler_vendor in #(
7522   intel) :
7523        if ac_fn_cxx_compute_int "$LINENO" "__INTEL_COMPILER/100" "_ax_cxx_compiler_version_major"        ""
7524 then :
7525
7526 else $as_nop
7527   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7528 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7529 as_fn_error $? "_AX_COMPILER_VERSION_INTEL unknown intel compiler version
7530 See \`config.log' for more details" "$LINENO" 5; }
7531 fi
7532
7533   if ac_fn_cxx_compute_int "$LINENO" "(__INTEL_COMPILER%100)/10" "_ax_cxx_compiler_version_minor"        ""
7534 then :
7535
7536 else $as_nop
7537   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7538 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7539 as_fn_error $? "_AX_COMPILER_VERSION_INTEL unknown intel compiler version
7540 See \`config.log' for more details" "$LINENO" 5; }
7541 fi
7542
7543   if ac_fn_cxx_compute_int "$LINENO" "(__INTEL_COMPILER%10)" "_ax_cxx_compiler_version_patch"        ""
7544 then :
7545
7546 else $as_nop
7547   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7548 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7549 as_fn_error $? "_AX_COMPILER_VERSION_INTEL unknown intel compiler version
7550 See \`config.log' for more details" "$LINENO" 5; }
7551 fi
7552
7553   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
7554    ;; #(
7555   ibm) :
7556          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7557 /* end confdefs.h.  */
7558
7559
7560 int
7561 main (void)
7562 {
7563
7564         #if defined(__COMPILER_VER__)
7565         choke me;
7566         #endif
7567
7568   ;
7569   return 0;
7570 }
7571 _ACEOF
7572 if ac_fn_cxx_try_compile "$LINENO"
7573 then :
7574
7575       if ac_fn_cxx_compute_int "$LINENO" "__xlC__/100" "_ax_cxx_compiler_version_major"        ""
7576 then :
7577
7578 else $as_nop
7579   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7580 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7581 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler major version
7582 See \`config.log' for more details" "$LINENO" 5; }
7583 fi
7584
7585       if ac_fn_cxx_compute_int "$LINENO" "__xlC__%100" "_ax_cxx_compiler_version_minor"        ""
7586 then :
7587
7588 else $as_nop
7589   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7590 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7591 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler minor version
7592 See \`config.log' for more details" "$LINENO" 5; }
7593 fi
7594
7595       if ac_fn_cxx_compute_int "$LINENO" "__xlC_ver__/0x100" "_ax_cxx_compiler_version_patch"        ""
7596 then :
7597
7598 else $as_nop
7599   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7600 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7601 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler patch version
7602 See \`config.log' for more details" "$LINENO" 5; }
7603 fi
7604
7605       if ac_fn_cxx_compute_int "$LINENO" "__xlC_ver__%0x100" "_ax_cxx_compiler_version_build"        ""
7606 then :
7607
7608 else $as_nop
7609   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7610 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7611 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler build version
7612 See \`config.log' for more details" "$LINENO" 5; }
7613 fi
7614
7615       ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch.$_ax_cxx_compiler_version_build"
7616
7617 else $as_nop
7618
7619       if ac_fn_cxx_compute_int "$LINENO" "__xlC__%1000" "_ax_cxx_compiler_version_patch"        ""
7620 then :
7621
7622 else $as_nop
7623   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7624 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7625 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler patch version
7626 See \`config.log' for more details" "$LINENO" 5; }
7627 fi
7628
7629       if ac_fn_cxx_compute_int "$LINENO" "(__xlC__/10000)%10" "_ax_cxx_compiler_version_minor"        ""
7630 then :
7631
7632 else $as_nop
7633   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7634 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7635 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler minor version
7636 See \`config.log' for more details" "$LINENO" 5; }
7637 fi
7638
7639       if ac_fn_cxx_compute_int "$LINENO" "(__xlC__/100000)%10" "_ax_cxx_compiler_version_major"        ""
7640 then :
7641
7642 else $as_nop
7643   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7644 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7645 as_fn_error $? "_AX_COMPILER_VERSION_IBM unknown IBM compiler major version
7646 See \`config.log' for more details" "$LINENO" 5; }
7647 fi
7648
7649       ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
7650
7651 fi
7652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7653  ;; #(
7654   pathscale) :
7655
7656   if ac_fn_cxx_compute_int "$LINENO" "__PATHCC__" "_ax_cxx_compiler_version_major"        ""
7657 then :
7658
7659 else $as_nop
7660   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7661 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7662 as_fn_error $? "_AX_COMPILER_VERSION_PATHSCALE unknown pathscale major
7663 See \`config.log' for more details" "$LINENO" 5; }
7664 fi
7665
7666   if ac_fn_cxx_compute_int "$LINENO" "__PATHCC_MINOR__" "_ax_cxx_compiler_version_minor"        ""
7667 then :
7668
7669 else $as_nop
7670   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7671 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7672 as_fn_error $? "_AX_COMPILER_VERSION_PATHSCALE unknown pathscale minor
7673 See \`config.log' for more details" "$LINENO" 5; }
7674 fi
7675
7676   if ac_fn_cxx_compute_int "$LINENO" "__PATHCC_PATCHLEVEL__" "_ax_cxx_compiler_version_patch"        ""
7677 then :
7678
7679 else $as_nop
7680   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7681 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7682 as_fn_error $? "_AX_COMPILER_VERSION_PATHSCALE unknown pathscale patch level
7683 See \`config.log' for more details" "$LINENO" 5; }
7684 fi
7685
7686   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
7687    ;; #(
7688   clang) :
7689
7690   if ac_fn_cxx_compute_int "$LINENO" "__clang_major__" "_ax_cxx_compiler_version_major"        ""
7691 then :
7692
7693 else $as_nop
7694   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7695 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7696 as_fn_error $? "_AX_COMPILER_VERSION_CLANG unknown clang major
7697 See \`config.log' for more details" "$LINENO" 5; }
7698 fi
7699
7700   if ac_fn_cxx_compute_int "$LINENO" "__clang_minor__" "_ax_cxx_compiler_version_minor"        ""
7701 then :
7702
7703 else $as_nop
7704   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7705 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7706 as_fn_error $? "_AX_COMPILER_VERSION_CLANG unknown clang minor
7707 See \`config.log' for more details" "$LINENO" 5; }
7708 fi
7709
7710   if ac_fn_cxx_compute_int "$LINENO" "__clang_patchlevel__" "_ax_cxx_compiler_version_patch"        ""
7711 then :
7712
7713 else $as_nop
7714   0
7715 fi
7716
7717   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
7718    ;; #(
7719   cray) :
7720
7721   if ac_fn_cxx_compute_int "$LINENO" "_RELEASE" "_ax_cxx_compiler_version_major"        ""
7722 then :
7723
7724 else $as_nop
7725   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7726 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7727 as_fn_error $? "_AX_COMPILER_VERSION_CRAY unknown crayc release
7728 See \`config.log' for more details" "$LINENO" 5; }
7729 fi
7730
7731   if ac_fn_cxx_compute_int "$LINENO" "_RELEASE_MINOR" "_ax_cxx_compiler_version_minor"        ""
7732 then :
7733
7734 else $as_nop
7735   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7736 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7737 as_fn_error $? "_AX_COMPILER_VERSION_CRAY unknown crayc minor
7738 See \`config.log' for more details" "$LINENO" 5; }
7739 fi
7740
7741   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor"
7742    ;; #(
7743   fujitsu) :
7744
7745   if ac_fn_cxx_compute_int "$LINENO" "__FCC_VERSION" "ax_cv_cxx_compiler_version"        ""
7746 then :
7747
7748 else $as_nop
7749   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7750 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7751 as_fn_error $? "_AX_COMPILER_VERSION_FUJITSUunknown fujitsu release
7752 See \`config.log' for more details" "$LINENO" 5; }
7753 fi
7754
7755    ;; #(
7756   gnu) :
7757
7758   if ac_fn_cxx_compute_int "$LINENO" "__GNUC__" "_ax_cxx_compiler_version_major"        ""
7759 then :
7760
7761 else $as_nop
7762   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7763 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7764 as_fn_error $? "_AX_COMPILER_VERSION_GNU unknown gcc major
7765 See \`config.log' for more details" "$LINENO" 5; }
7766 fi
7767
7768   if ac_fn_cxx_compute_int "$LINENO" "__GNUC_MINOR__" "_ax_cxx_compiler_version_minor"        ""
7769 then :
7770
7771 else $as_nop
7772   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7773 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7774 as_fn_error $? "_AX_COMPILER_VERSION_GNU unknown gcc minor
7775 See \`config.log' for more details" "$LINENO" 5; }
7776 fi
7777
7778   if ac_fn_cxx_compute_int "$LINENO" "__GNUC_PATCHLEVEL__" "_ax_cxx_compiler_version_patch"        ""
7779 then :
7780
7781 else $as_nop
7782   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7783 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7784 as_fn_error $? "_AX_COMPILER_VERSION_GNU unknown gcc patch level
7785 See \`config.log' for more details" "$LINENO" 5; }
7786 fi
7787
7788   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
7789    ;; #(
7790   sun) :
7791
7792
7793   if ac_fn_cxx_compute_int "$LINENO" "!!(
7794              #if defined(__SUNPRO_CC)
7795              __SUNPRO_CC
7796              #else
7797              __SUNPRO_C
7798              #endif
7799              < 0x1000)" "_ax_cxx_compiler_version_until59"        ""
7800 then :
7801
7802 else $as_nop
7803   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7804 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7805 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun release version
7806 See \`config.log' for more details" "$LINENO" 5; }
7807 fi
7808
7809   if test "X$_ax_cxx_compiler_version_until59" = X1
7810 then :
7811         if ac_fn_cxx_compute_int "$LINENO" "
7812              #if defined(__SUNPRO_CC)
7813              __SUNPRO_CC
7814              #else
7815              __SUNPRO_C
7816              #endif
7817              % 0x10" "_ax_cxx_compiler_version_patch"        ""
7818 then :
7819
7820 else $as_nop
7821   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7822 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7823 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun patch version
7824 See \`config.log' for more details" "$LINENO" 5; }
7825 fi
7826
7827       if ac_fn_cxx_compute_int "$LINENO" "(
7828              #if defined(__SUNPRO_CC)
7829              __SUNPRO_CC
7830              #else
7831              __SUNPRO_C
7832              #endif
7833              / 0x10) % 0x10" "_ax_cxx_compiler_version_minor"        ""
7834 then :
7835
7836 else $as_nop
7837   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7838 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7839 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun minor version
7840 See \`config.log' for more details" "$LINENO" 5; }
7841 fi
7842
7843       if ac_fn_cxx_compute_int "$LINENO" "(
7844              #if defined(__SUNPRO_CC)
7845              __SUNPRO_CC
7846              #else
7847              __SUNPRO_C
7848              #endif
7849              / 0x100)" "_ax_cxx_compiler_version_major"        ""
7850 then :
7851
7852 else $as_nop
7853   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7854 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7855 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun major version
7856 See \`config.log' for more details" "$LINENO" 5; }
7857 fi
7858
7859
7860 else $as_nop
7861         if ac_fn_cxx_compute_int "$LINENO" "
7862              #if defined(__SUNPRO_CC)
7863              __SUNPRO_CC
7864              #else
7865              __SUNPRO_C
7866              #endif
7867              % 0x10" "_ax_cxx_compiler_version_patch"        ""
7868 then :
7869
7870 else $as_nop
7871   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7872 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7873 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun patch version
7874 See \`config.log' for more details" "$LINENO" 5; }
7875 fi
7876
7877       if ac_fn_cxx_compute_int "$LINENO" "(
7878              #if defined(__SUNPRO_CC)
7879              __SUNPRO_CC
7880              #else
7881              __SUNPRO_C
7882              #endif
7883              / 0x100) % 0x100" "_ax_cxx_compiler_version_minor"        ""
7884 then :
7885
7886 else $as_nop
7887   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7888 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7889 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun minor version
7890 See \`config.log' for more details" "$LINENO" 5; }
7891 fi
7892
7893       if ac_fn_cxx_compute_int "$LINENO" "(
7894              #if defined(__SUNPRO_CC)
7895              __SUNPRO_CC
7896              #else
7897              __SUNPRO_C
7898              #endif
7899              / 0x1000)" "_ax_cxx_compiler_version_major"        ""
7900 then :
7901
7902 else $as_nop
7903   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7904 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7905 as_fn_error $? "_AX_COMPILER_VERSION_SUN unknown sun major version
7906 See \`config.log' for more details" "$LINENO" 5; }
7907 fi
7908
7909
7910 fi
7911   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
7912  ;; #(
7913   hp) :
7914
7915
7916   if ac_fn_cxx_compute_int "$LINENO" "!!(
7917              #if defined(__HP_cc)
7918              __HP_cc
7919              #else
7920              __HP_aCC
7921              #endif
7922              <= 1)" "_ax_cxx_compiler_version_untilA0121"        ""
7923 then :
7924
7925 else $as_nop
7926   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7927 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7928 as_fn_error $? "_AX_COMPILER_VERSION_HP unknown hp release version
7929 See \`config.log' for more details" "$LINENO" 5; }
7930 fi
7931
7932   if test "X$_ax_cxx_compiler_version_untilA0121" = X1
7933 then :
7934              ax_cv_cxx_compiler_version="01.21.00"
7935
7936 else $as_nop
7937         if ac_fn_cxx_compute_int "$LINENO" "(
7938              #if defined(__HP_cc)
7939              __HP_cc
7940              #else
7941              __HP_aCC
7942              #endif
7943              % 100)" "_ax_cxx_compiler_version_patch"        ""
7944 then :
7945
7946 else $as_nop
7947   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7948 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7949 as_fn_error $? "_AX_COMPILER_VERSION_HP unknown hp release version
7950 See \`config.log' for more details" "$LINENO" 5; }
7951 fi
7952
7953       if ac_fn_cxx_compute_int "$LINENO" "((
7954              #if defined(__HP_cc)
7955              __HP_cc
7956              #else
7957              __HP_aCC
7958              #endif
7959              / 100)%100)" "_ax_cxx_compiler_version_minor"        ""
7960 then :
7961
7962 else $as_nop
7963   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7964 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7965 as_fn_error $? "_AX_COMPILER_VERSION_HP unknown hp minor version
7966 See \`config.log' for more details" "$LINENO" 5; }
7967 fi
7968
7969       if ac_fn_cxx_compute_int "$LINENO" "((
7970              #if defined(__HP_cc)
7971              __HP_cc
7972              #else
7973              __HP_aCC
7974              #endif
7975              / 10000)%100)" "_ax_cxx_compiler_version_major"        ""
7976 then :
7977
7978 else $as_nop
7979   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7980 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7981 as_fn_error $? "_AX_COMPILER_VERSION_HP unknown hp major version
7982 See \`config.log' for more details" "$LINENO" 5; }
7983 fi
7984
7985       ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
7986
7987 fi
7988  ;; #(
7989   dec) :
7990
7991   if ac_fn_cxx_compute_int "$LINENO" "(
7992              #if defined(__DECC_VER)
7993              __DECC_VER
7994              #else
7995              __DECCXX_VER
7996              #endif
7997              % 10000)" "_ax_cxx_compiler_version_patch"        ""
7998 then :
7999
8000 else $as_nop
8001   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8002 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8003 as_fn_error $? "_AX_COMPILER_VERSION_DEC unknown dec release version
8004 See \`config.log' for more details" "$LINENO" 5; }
8005 fi
8006
8007   if ac_fn_cxx_compute_int "$LINENO" "((
8008              #if defined(__DECC_VER)
8009              __DECC_VER
8010              #else
8011              __DECCXX_VER
8012              #endif
8013              / 100000UL)%100)" "_ax_cxx_compiler_version_minor"        ""
8014 then :
8015
8016 else $as_nop
8017   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8018 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8019 as_fn_error $? "_AX_COMPILER_VERSION_DEC unknown dec minor version
8020 See \`config.log' for more details" "$LINENO" 5; }
8021 fi
8022
8023   if ac_fn_cxx_compute_int "$LINENO" "((
8024              #if defined(__DECC_VER)
8025              __DECC_VER
8026              #else
8027              __DECCXX_VER
8028              #endif
8029              / 10000000UL)%100)" "_ax_cxx_compiler_version_major"        ""
8030 then :
8031
8032 else $as_nop
8033   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8034 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8035 as_fn_error $? "_AX_COMPILER_VERSION_DEC unknown dec major version
8036 See \`config.log' for more details" "$LINENO" 5; }
8037 fi
8038
8039   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
8040    ;; #(
8041   borland) :
8042
8043
8044  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8045 /* end confdefs.h.  */
8046
8047 int
8048 main (void)
8049 {
8050
8051              #if defined(__TURBOC__)
8052              __TURBOC__
8053              #else
8054              choke me
8055              #endif
8056
8057   ;
8058   return 0;
8059 }
8060 _ACEOF
8061 if ac_fn_cxx_try_compile "$LINENO"
8062 then :
8063        if ac_fn_cxx_compute_int "$LINENO" "
8064              #if defined(__TURBOC__)
8065              __TURBOC__
8066              #else
8067              choke me
8068              #endif
8069             " "_ax_cxx_compiler_version_turboc_raw"        ""
8070 then :
8071
8072 else $as_nop
8073   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8074 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8075 as_fn_error $? "_AX_COMPILER_VERSION_BORLAND unknown turboc version
8076 See \`config.log' for more details" "$LINENO" 5; }
8077 fi
8078
8079      if test $_ax_cxx_compiler_version_turboc_raw -lt 661 || test $_ax_cxx_compiler_version_turboc_raw -gt 1023
8080 then :
8081           if ac_fn_cxx_compute_int "$LINENO" "
8082              #if defined(__TURBOC__)
8083              __TURBOC__
8084              #else
8085              choke me
8086              #endif
8087              % 0x100" "_ax_cxx_compiler_version_minor"        ""
8088 then :
8089
8090 else $as_nop
8091   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8092 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8093 as_fn_error $? "_AX_COMPILER_VERSION_BORLAND unknown turboc minor version
8094 See \`config.log' for more details" "$LINENO" 5; }
8095 fi
8096
8097         if ac_fn_cxx_compute_int "$LINENO" "(
8098              #if defined(__TURBOC__)
8099              __TURBOC__
8100              #else
8101              choke me
8102              #endif
8103             /0x100)%0x100" "_ax_cxx_compiler_version_major"        ""
8104 then :
8105
8106 else $as_nop
8107   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8108 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8109 as_fn_error $? "_AX_COMPILER_VERSION_BORLAND unknown turboc major version
8110 See \`config.log' for more details" "$LINENO" 5; }
8111 fi
8112
8113         ax_cv_cxx_compiler_version="0turboc:$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor"
8114 else $as_nop
8115          case $_ax_cxx_compiler_version_turboc_raw in #(
8116   661) :
8117     ax_cv_cxx_compiler_version="0turboc:1.00" ;; #(
8118   662) :
8119     ax_cv_cxx_compiler_version="0turboc:1.01" ;; #(
8120   663) :
8121     ax_cv_cxx_compiler_version="0turboc:2.00" ;; #(
8122   *) :
8123
8124          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: [_AX_COMPILER_VERSION_BORLAND] unknown turboc version between 0x295 and 0x400 please report bug" >&5
8125 printf "%s\n" "$as_me: WARNING: [_AX_COMPILER_VERSION_BORLAND] unknown turboc version between 0x295 and 0x400 please report bug" >&2;}
8126          ax_cv_cxx_compiler_version=""
8127           ;;
8128 esac
8129
8130 fi
8131
8132 else $as_nop
8133   # borlandc
8134
8135     if ac_fn_cxx_compute_int "$LINENO" "
8136              #if defined(__BORLANDC__)
8137              __BORLANDC__
8138              #else
8139              __CODEGEARC__
8140              #endif
8141             " "_ax_cxx_compiler_version_borlandc_raw"        ""
8142 then :
8143
8144 else $as_nop
8145   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8146 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8147 as_fn_error $? "_AX_COMPILER_VERSION_BORLAND unknown borlandc version
8148 See \`config.log' for more details" "$LINENO" 5; }
8149 fi
8150
8151     case $_ax_cxx_compiler_version_borlandc_raw in #(
8152         512 ) :
8153     ax_cv_cxx_compiler_version="1borlanc:2.00" ;; #(
8154   1024) :
8155     ax_cv_cxx_compiler_version="1borlanc:3.00" ;; #(
8156   1024) :
8157     ax_cv_cxx_compiler_version="1borlanc:3.00" ;; #(
8158   1040) :
8159     ax_cv_cxx_compiler_version="1borlanc:3.1" ;; #(
8160   1106) :
8161     ax_cv_cxx_compiler_version="1borlanc:4.0" ;; #(
8162   1280) :
8163     ax_cv_cxx_compiler_version="1borlanc:5.0" ;; #(
8164   1312) :
8165     ax_cv_cxx_compiler_version="1borlanc:5.02" ;; #(
8166         1328) :
8167     ax_cv_cxx_compiler_version="2cppbuilder:3.0" ;; #(
8168   1344) :
8169     ax_cv_cxx_compiler_version="2cppbuilder:4.0" ;; #(
8170         1360) :
8171     ax_cv_cxx_compiler_version="3borlancpp:5.5" ;; #(
8172   1361) :
8173     ax_cv_cxx_compiler_version="3borlancpp:5.51" ;; #(
8174   1378) :
8175     ax_cv_cxx_compiler_version="3borlancpp:5.6.4" ;; #(
8176         1392) :
8177     ax_cv_cxx_compiler_version="4cppbuilder:2006" ;; #(
8178   1424) :
8179     ax_cv_cxx_compiler_version="4cppbuilder:2007" ;; #(
8180   1555) :
8181     ax_cv_cxx_compiler_version="4cppbuilder:2009" ;; #(
8182   1569) :
8183     ax_cv_cxx_compiler_version="4cppbuilder:2010" ;; #(
8184         1584) :
8185     ax_cv_cxx_compiler_version="5xe" ;; #(
8186   1600) :
8187     ax_cv_cxx_compiler_version="5xe:2" ;; #(
8188   1616) :
8189     ax_cv_cxx_compiler_version="5xe:3" ;; #(
8190   1632) :
8191     ax_cv_cxx_compiler_version="5xe:4" ;; #(
8192   *) :
8193
8194       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: [_AX_COMPILER_VERSION_BORLAND] Unknown borlandc compiler version $_ax_cxx_compiler_version_borlandc_raw please report bug" >&5
8195 printf "%s\n" "$as_me: WARNING: [_AX_COMPILER_VERSION_BORLAND] Unknown borlandc compiler version $_ax_cxx_compiler_version_borlandc_raw please report bug" >&2;}
8196        ;;
8197 esac
8198
8199 fi
8200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8201    ;; #(
8202   comeau) :
8203        if ac_fn_cxx_compute_int "$LINENO" "__COMO_VERSION__%100" "_ax_cxx_compiler_version_minor"        ""
8204 then :
8205
8206 else $as_nop
8207   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8208 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8209 as_fn_error $? "_AX_COMPILER_VERSION_COMEAU unknown comeau compiler minor version
8210 See \`config.log' for more details" "$LINENO" 5; }
8211 fi
8212
8213   if ac_fn_cxx_compute_int "$LINENO" "(__COMO_VERSION__/100)%10" "_ax_cxx_compiler_version_major"        ""
8214 then :
8215
8216 else $as_nop
8217   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8218 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8219 as_fn_error $? "_AX_COMPILER_VERSION_COMEAU unknown comeau compiler major version
8220 See \`config.log' for more details" "$LINENO" 5; }
8221 fi
8222
8223   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor"
8224    ;; #(
8225   kai) :
8226
8227   if ac_fn_cxx_compute_int "$LINENO" "__KCC_VERSION%100" "_ax_cxx_compiler_version_patch"        ""
8228 then :
8229
8230 else $as_nop
8231   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8232 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8233 as_fn_error $? "_AX_COMPILER_VERSION_KAI unknown kay compiler patch version
8234 See \`config.log' for more details" "$LINENO" 5; }
8235 fi
8236
8237   if ac_fn_cxx_compute_int "$LINENO" "(__KCC_VERSION/100)%10" "_ax_cxx_compiler_version_minor"        ""
8238 then :
8239
8240 else $as_nop
8241   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8242 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8243 as_fn_error $? "_AX_COMPILER_VERSION_KAI unknown kay compiler minor version
8244 See \`config.log' for more details" "$LINENO" 5; }
8245 fi
8246
8247   if ac_fn_cxx_compute_int "$LINENO" "(__KCC_VERSION/1000)%10" "_ax_cxx_compiler_version_major"        ""
8248 then :
8249
8250 else $as_nop
8251   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8252 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8253 as_fn_error $? "_AX_COMPILER_VERSION_KAI unknown kay compiler major version
8254 See \`config.log' for more details" "$LINENO" 5; }
8255 fi
8256
8257   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
8258    ;; #(
8259   sgi) :
8260
8261
8262   if ac_fn_cxx_compute_int "$LINENO" "
8263              #if defined(_COMPILER_VERSION)
8264              _COMPILER_VERSION
8265              #else
8266              _SGI_COMPILER_VERSION
8267              #endif
8268             %10" "_ax_cxx_compiler_version_patch"        ""
8269 then :
8270
8271 else $as_nop
8272   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8273 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8274 as_fn_error $? "_AX_COMPILER_VERSION_SGI unknown SGI compiler patch version
8275 See \`config.log' for more details" "$LINENO" 5; }
8276 fi
8277
8278   if ac_fn_cxx_compute_int "$LINENO" "(
8279              #if defined(_COMPILER_VERSION)
8280              _COMPILER_VERSION
8281              #else
8282              _SGI_COMPILER_VERSION
8283              #endif
8284             /10)%10" "_ax_cxx_compiler_version_minor"        ""
8285 then :
8286
8287 else $as_nop
8288   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8289 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8290 as_fn_error $? "_AX_COMPILER_VERSION_SGI unknown SGI compiler minor version
8291 See \`config.log' for more details" "$LINENO" 5; }
8292 fi
8293
8294   if ac_fn_cxx_compute_int "$LINENO" "(
8295              #if defined(_COMPILER_VERSION)
8296              _COMPILER_VERSION
8297              #else
8298              _SGI_COMPILER_VERSION
8299              #endif
8300             /100)%10" "_ax_cxx_compiler_version_major"        ""
8301 then :
8302
8303 else $as_nop
8304   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8305 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8306 as_fn_error $? "_AX_COMPILER_VERSION_SGI unknown SGI compiler major version
8307 See \`config.log' for more details" "$LINENO" 5; }
8308 fi
8309
8310   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
8311    ;; #(
8312   microsoft) :
8313
8314   if ac_fn_cxx_compute_int "$LINENO" "_MSC_VER%100" "_ax_cxx_compiler_version_minor"        ""
8315 then :
8316
8317 else $as_nop
8318   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8319 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8320 as_fn_error $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler minor version
8321 See \`config.log' for more details" "$LINENO" 5; }
8322 fi
8323
8324   if ac_fn_cxx_compute_int "$LINENO" "(_MSC_VER/100)%100" "_ax_cxx_compiler_version_major"        ""
8325 then :
8326
8327 else $as_nop
8328   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8329 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8330 as_fn_error $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler major version
8331 See \`config.log' for more details" "$LINENO" 5; }
8332 fi
8333
8334     _ax_cxx_compiler_version_patch=0
8335   _ax_cxx_compiler_version_build=0
8336   # special case for version 6
8337   if test "X$_ax_cxx_compiler_version_major" = "X12"
8338 then :
8339   if ac_fn_cxx_compute_int "$LINENO" "_MSC_FULL_VER%1000" "_ax_cxx_compiler_version_patch"        ""
8340 then :
8341
8342 else $as_nop
8343   _ax_cxx_compiler_version_patch=0
8344 fi
8345
8346 fi
8347   # for version 7
8348   if test "X$_ax_cxx_compiler_version_major" = "X13"
8349 then :
8350   if ac_fn_cxx_compute_int "$LINENO" "_MSC_FULL_VER%1000" "_ax_cxx_compiler_version_patch"        ""
8351 then :
8352
8353 else $as_nop
8354   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8355 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8356 as_fn_error $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler patch version
8357 See \`config.log' for more details" "$LINENO" 5; }
8358 fi
8359
8360
8361 fi
8362   # for version > 8
8363  if test $_ax_cxx_compiler_version_major -ge 14
8364 then :
8365   if ac_fn_cxx_compute_int "$LINENO" "_MSC_FULL_VER%10000" "_ax_cxx_compiler_version_patch"        ""
8366 then :
8367
8368 else $as_nop
8369   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8370 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8371 as_fn_error $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler patch version
8372 See \`config.log' for more details" "$LINENO" 5; }
8373 fi
8374
8375
8376 fi
8377  if test $_ax_cxx_compiler_version_major -ge 15
8378 then :
8379   if ac_fn_cxx_compute_int "$LINENO" "_MSC_BUILD" "_ax_cxx_compiler_version_build"        ""
8380 then :
8381
8382 else $as_nop
8383   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8384 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8385 as_fn_error $? "_AX_COMPILER_VERSION_MICROSOFT unknown microsoft compiler build version
8386 See \`config.log' for more details" "$LINENO" 5; }
8387 fi
8388
8389
8390 fi
8391  ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch.$_ax_cxx_compiler_version_build"
8392   ;; #(
8393   metrowerks) :
8394       if ac_fn_cxx_compute_int "$LINENO" "__MWERKS__%0x100" "_ax_cxx_compiler_version_patch"        ""
8395 then :
8396
8397 else $as_nop
8398   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8399 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8400 as_fn_error $? "_AX_COMPILER_VERSION_METROWERKS unknown metrowerks compiler patch version
8401 See \`config.log' for more details" "$LINENO" 5; }
8402 fi
8403
8404   if ac_fn_cxx_compute_int "$LINENO" "(__MWERKS__/0x100)%0x10" "_ax_cxx_compiler_version_minor"        ""
8405 then :
8406
8407 else $as_nop
8408   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8409 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8410 as_fn_error $? "_AX_COMPILER_VERSION_METROWERKS unknown metrowerks compiler minor version
8411 See \`config.log' for more details" "$LINENO" 5; }
8412 fi
8413
8414   if ac_fn_cxx_compute_int "$LINENO" "(__MWERKS__/0x1000)%0x10" "_ax_cxx_compiler_version_major"        ""
8415 then :
8416
8417 else $as_nop
8418   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8419 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8420 as_fn_error $? "_AX_COMPILER_VERSION_METROWERKS unknown metrowerks compiler major version
8421 See \`config.log' for more details" "$LINENO" 5; }
8422 fi
8423
8424   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
8425    ;; #(
8426   watcom) :
8427       if ac_fn_cxx_compute_int "$LINENO" "__WATCOMC__%100" "_ax_cxx_compiler_version_minor"        ""
8428 then :
8429
8430 else $as_nop
8431   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8432 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8433 as_fn_error $? "_AX_COMPILER_VERSION_WATCOM unknown watcom compiler minor version
8434 See \`config.log' for more details" "$LINENO" 5; }
8435 fi
8436
8437   if ac_fn_cxx_compute_int "$LINENO" "(__WATCOMC__/100)%100" "_ax_cxx_compiler_version_major"        ""
8438 then :
8439
8440 else $as_nop
8441   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8442 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8443 as_fn_error $? "_AX_COMPILER_VERSION_WATCOM unknown watcom compiler major version
8444 See \`config.log' for more details" "$LINENO" 5; }
8445 fi
8446
8447   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor"
8448    ;; #(
8449   portland) :
8450
8451   if ac_fn_cxx_compute_int "$LINENO" "__PGIC__" "_ax_cxx_compiler_version_major"        ""
8452 then :
8453
8454 else $as_nop
8455   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8456 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8457 as_fn_error $? "_AX_COMPILER_VERSION_PORTLAND unknown pgi major
8458 See \`config.log' for more details" "$LINENO" 5; }
8459 fi
8460
8461   if ac_fn_cxx_compute_int "$LINENO" "__PGIC_MINOR__" "_ax_cxx_compiler_version_minor"        ""
8462 then :
8463
8464 else $as_nop
8465   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8466 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8467 as_fn_error $? "_AX_COMPILER_VERSION_PORTLAND unknown pgi minor
8468 See \`config.log' for more details" "$LINENO" 5; }
8469 fi
8470
8471   if ac_fn_cxx_compute_int "$LINENO" "__PGIC_PATCHLEVEL__" "_ax_cxx_compiler_version_patch"        ""
8472 then :
8473
8474 else $as_nop
8475   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8476 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8477 as_fn_error $? "_AX_COMPILER_VERSION_PORTLAND unknown pgi patch level
8478 See \`config.log' for more details" "$LINENO" 5; }
8479 fi
8480
8481   ax_cv_cxx_compiler_version="$_ax_cxx_compiler_version_major.$_ax_cxx_compiler_version_minor.$_ax_cxx_compiler_version_patch"
8482    ;; #(
8483   tcc) :
8484
8485   ax_cv_cxx_compiler_version=`tcc -v | $SED 's/^[ ]*tcc[ ]\+version[ ]\+\([0-9.]\+\).*/\1/g'`
8486    ;; #(
8487   *) :
8488     ax_cv_cxx_compiler_version="" ;;
8489 esac
8490
8491 fi
8492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compiler_version" >&5
8493 printf "%s\n" "$ax_cv_cxx_compiler_version" >&6; }
8494
8495 ac_ext=c
8496 ac_cpp='$CPP $CPPFLAGS'
8497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8500
8501
8502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8503 printf %s "checking for a sed that does not truncate output... " >&6; }
8504 if test ${ac_cv_path_SED+y}
8505 then :
8506   printf %s "(cached) " >&6
8507 else $as_nop
8508             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8509      for ac_i in 1 2 3 4 5 6 7; do
8510        ac_script="$ac_script$as_nl$ac_script"
8511      done
8512      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8513      { ac_script=; unset ac_script;}
8514      if test -z "$SED"; then
8515   ac_path_SED_found=false
8516   # Loop through the user's path and test for each of PROGNAME-LIST
8517   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 for as_dir in $PATH
8519 do
8520   IFS=$as_save_IFS
8521   case $as_dir in #(((
8522     '') as_dir=./ ;;
8523     */) ;;
8524     *) as_dir=$as_dir/ ;;
8525   esac
8526     for ac_prog in sed gsed
8527    do
8528     for ac_exec_ext in '' $ac_executable_extensions; do
8529       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
8530       as_fn_executable_p "$ac_path_SED" || continue
8531 # Check for GNU ac_path_SED and select it if it is found.
8532   # Check for GNU $ac_path_SED
8533 case `"$ac_path_SED" --version 2>&1` in
8534 *GNU*)
8535   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
8536 *)
8537   ac_count=0
8538   printf %s 0123456789 >"conftest.in"
8539   while :
8540   do
8541     cat "conftest.in" "conftest.in" >"conftest.tmp"
8542     mv "conftest.tmp" "conftest.in"
8543     cp "conftest.in" "conftest.nl"
8544     printf "%s\n" '' >> "conftest.nl"
8545     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8546     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8547     as_fn_arith $ac_count + 1 && ac_count=$as_val
8548     if test $ac_count -gt ${ac_path_SED_max-0}; then
8549       # Best one so far, save it but keep looking for a better one
8550       ac_cv_path_SED="$ac_path_SED"
8551       ac_path_SED_max=$ac_count
8552     fi
8553     # 10*(2^10) chars as input seems more than enough
8554     test $ac_count -gt 10 && break
8555   done
8556   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8557 esac
8558
8559       $ac_path_SED_found && break 3
8560     done
8561   done
8562   done
8563 IFS=$as_save_IFS
8564   if test -z "$ac_cv_path_SED"; then
8565     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8566   fi
8567 else
8568   ac_cv_path_SED=$SED
8569 fi
8570
8571 fi
8572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8573 printf "%s\n" "$ac_cv_path_SED" >&6; }
8574  SED="$ac_cv_path_SED"
8575   rm -f conftest.sed
8576
8577
8578   if test -n "$ac_tool_prefix"; then
8579   for ac_prog in ar lib "link -lib"
8580   do
8581     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8582 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584 printf %s "checking for $ac_word... " >&6; }
8585 if test ${ac_cv_prog_AR+y}
8586 then :
8587   printf %s "(cached) " >&6
8588 else $as_nop
8589   if test -n "$AR"; then
8590   ac_cv_prog_AR="$AR" # Let the user override the test.
8591 else
8592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8593 for as_dir in $PATH
8594 do
8595   IFS=$as_save_IFS
8596   case $as_dir in #(((
8597     '') as_dir=./ ;;
8598     */) ;;
8599     *) as_dir=$as_dir/ ;;
8600   esac
8601     for ac_exec_ext in '' $ac_executable_extensions; do
8602   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8603     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8604     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8605     break 2
8606   fi
8607 done
8608   done
8609 IFS=$as_save_IFS
8610
8611 fi
8612 fi
8613 AR=$ac_cv_prog_AR
8614 if test -n "$AR"; then
8615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8616 printf "%s\n" "$AR" >&6; }
8617 else
8618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8619 printf "%s\n" "no" >&6; }
8620 fi
8621
8622
8623     test -n "$AR" && break
8624   done
8625 fi
8626 if test -z "$AR"; then
8627   ac_ct_AR=$AR
8628   for ac_prog in ar lib "link -lib"
8629 do
8630   # Extract the first word of "$ac_prog", so it can be a program name with args.
8631 set dummy $ac_prog; ac_word=$2
8632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8633 printf %s "checking for $ac_word... " >&6; }
8634 if test ${ac_cv_prog_ac_ct_AR+y}
8635 then :
8636   printf %s "(cached) " >&6
8637 else $as_nop
8638   if test -n "$ac_ct_AR"; then
8639   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8640 else
8641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8642 for as_dir in $PATH
8643 do
8644   IFS=$as_save_IFS
8645   case $as_dir in #(((
8646     '') as_dir=./ ;;
8647     */) ;;
8648     *) as_dir=$as_dir/ ;;
8649   esac
8650     for ac_exec_ext in '' $ac_executable_extensions; do
8651   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8652     ac_cv_prog_ac_ct_AR="$ac_prog"
8653     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8654     break 2
8655   fi
8656 done
8657   done
8658 IFS=$as_save_IFS
8659
8660 fi
8661 fi
8662 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8663 if test -n "$ac_ct_AR"; then
8664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8665 printf "%s\n" "$ac_ct_AR" >&6; }
8666 else
8667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8668 printf "%s\n" "no" >&6; }
8669 fi
8670
8671
8672   test -n "$ac_ct_AR" && break
8673 done
8674
8675   if test "x$ac_ct_AR" = x; then
8676     AR="false"
8677   else
8678     case $cross_compiling:$ac_tool_warned in
8679 yes:)
8680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8681 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8682 ac_tool_warned=yes ;;
8683 esac
8684     AR=$ac_ct_AR
8685   fi
8686 fi
8687
8688 : ${AR=ar}
8689
8690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
8691 printf %s "checking the archiver ($AR) interface... " >&6; }
8692 if test ${am_cv_ar_interface+y}
8693 then :
8694   printf %s "(cached) " >&6
8695 else $as_nop
8696   ac_ext=c
8697 ac_cpp='$CPP $CPPFLAGS'
8698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8701
8702    am_cv_ar_interface=ar
8703    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h.  */
8705 int some_variable = 0;
8706 _ACEOF
8707 if ac_fn_c_try_compile "$LINENO"
8708 then :
8709   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
8710       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
8711   (eval $am_ar_try) 2>&5
8712   ac_status=$?
8713   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8714   test $ac_status = 0; }
8715       if test "$ac_status" -eq 0; then
8716         am_cv_ar_interface=ar
8717       else
8718         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
8719         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
8720   (eval $am_ar_try) 2>&5
8721   ac_status=$?
8722   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8723   test $ac_status = 0; }
8724         if test "$ac_status" -eq 0; then
8725           am_cv_ar_interface=lib
8726         else
8727           am_cv_ar_interface=unknown
8728         fi
8729       fi
8730       rm -f conftest.lib libconftest.a
8731
8732 fi
8733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8734    ac_ext=c
8735 ac_cpp='$CPP $CPPFLAGS'
8736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8739
8740 fi
8741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
8742 printf "%s\n" "$am_cv_ar_interface" >&6; }
8743
8744 case $am_cv_ar_interface in
8745 ar)
8746   ;;
8747 lib)
8748   # Microsoft lib, so override with the ar-lib wrapper script.
8749   # FIXME: It is wrong to rewrite AR.
8750   # But if we don't then we get into trouble of one sort or another.
8751   # A longer-term fix would be to have automake use am__AR in this case,
8752   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
8753   # similar.
8754   AR="$am_aux_dir/ar-lib $AR"
8755   ;;
8756 unknown)
8757   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
8758   ;;
8759 esac
8760
8761
8762 case `pwd` in
8763   *\ * | *\     *)
8764     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
8765 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
8766 esac
8767
8768
8769
8770 macro_version='2.4.7'
8771 macro_revision='2.4.7'
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786 ltmain=$ac_aux_dir/ltmain.sh
8787
8788 # Backslashify metacharacters that are still active within
8789 # double-quoted strings.
8790 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8791
8792 # Same as above, but do not quote variable references.
8793 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8794
8795 # Sed substitution to delay expansion of an escaped shell variable in a
8796 # double_quote_subst'ed string.
8797 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8798
8799 # Sed substitution to delay expansion of an escaped single quote.
8800 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8801
8802 # Sed substitution to avoid accidental globbing in evaled expressions
8803 no_glob_subst='s/\*/\\\*/g'
8804
8805 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8806 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
8807 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
8808
8809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8810 printf %s "checking how to print strings... " >&6; }
8811 # Test print first, because it will be a builtin if present.
8812 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
8813    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8814   ECHO='print -r --'
8815 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
8816   ECHO='printf %s\n'
8817 else
8818   # Use this function as a fallback that always works.
8819   func_fallback_echo ()
8820   {
8821     eval 'cat <<_LTECHO_EOF
8822 $1
8823 _LTECHO_EOF'
8824   }
8825   ECHO='func_fallback_echo'
8826 fi
8827
8828 # func_echo_all arg...
8829 # Invoke $ECHO with all args, space-separated.
8830 func_echo_all ()
8831 {
8832     $ECHO ""
8833 }
8834
8835 case $ECHO in
8836   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8837 printf "%s\n" "printf" >&6; } ;;
8838   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8839 printf "%s\n" "print -r" >&6; } ;;
8840   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8841 printf "%s\n" "cat" >&6; } ;;
8842 esac
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8858 printf %s "checking for a sed that does not truncate output... " >&6; }
8859 if test ${ac_cv_path_SED+y}
8860 then :
8861   printf %s "(cached) " >&6
8862 else $as_nop
8863             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8864      for ac_i in 1 2 3 4 5 6 7; do
8865        ac_script="$ac_script$as_nl$ac_script"
8866      done
8867      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8868      { ac_script=; unset ac_script;}
8869      if test -z "$SED"; then
8870   ac_path_SED_found=false
8871   # Loop through the user's path and test for each of PROGNAME-LIST
8872   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8873 for as_dir in $PATH
8874 do
8875   IFS=$as_save_IFS
8876   case $as_dir in #(((
8877     '') as_dir=./ ;;
8878     */) ;;
8879     *) as_dir=$as_dir/ ;;
8880   esac
8881     for ac_prog in sed gsed
8882    do
8883     for ac_exec_ext in '' $ac_executable_extensions; do
8884       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
8885       as_fn_executable_p "$ac_path_SED" || continue
8886 # Check for GNU ac_path_SED and select it if it is found.
8887   # Check for GNU $ac_path_SED
8888 case `"$ac_path_SED" --version 2>&1` in
8889 *GNU*)
8890   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
8891 *)
8892   ac_count=0
8893   printf %s 0123456789 >"conftest.in"
8894   while :
8895   do
8896     cat "conftest.in" "conftest.in" >"conftest.tmp"
8897     mv "conftest.tmp" "conftest.in"
8898     cp "conftest.in" "conftest.nl"
8899     printf "%s\n" '' >> "conftest.nl"
8900     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8901     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8902     as_fn_arith $ac_count + 1 && ac_count=$as_val
8903     if test $ac_count -gt ${ac_path_SED_max-0}; then
8904       # Best one so far, save it but keep looking for a better one
8905       ac_cv_path_SED="$ac_path_SED"
8906       ac_path_SED_max=$ac_count
8907     fi
8908     # 10*(2^10) chars as input seems more than enough
8909     test $ac_count -gt 10 && break
8910   done
8911   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8912 esac
8913
8914       $ac_path_SED_found && break 3
8915     done
8916   done
8917   done
8918 IFS=$as_save_IFS
8919   if test -z "$ac_cv_path_SED"; then
8920     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8921   fi
8922 else
8923   ac_cv_path_SED=$SED
8924 fi
8925
8926 fi
8927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8928 printf "%s\n" "$ac_cv_path_SED" >&6; }
8929  SED="$ac_cv_path_SED"
8930   rm -f conftest.sed
8931
8932 test -z "$SED" && SED=sed
8933 Xsed="$SED -e 1s/^X//"
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
8946 printf %s "checking for grep that handles long lines and -e... " >&6; }
8947 if test ${ac_cv_path_GREP+y}
8948 then :
8949   printf %s "(cached) " >&6
8950 else $as_nop
8951   if test -z "$GREP"; then
8952   ac_path_GREP_found=false
8953   # Loop through the user's path and test for each of PROGNAME-LIST
8954   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8955 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8956 do
8957   IFS=$as_save_IFS
8958   case $as_dir in #(((
8959     '') as_dir=./ ;;
8960     */) ;;
8961     *) as_dir=$as_dir/ ;;
8962   esac
8963     for ac_prog in grep ggrep
8964    do
8965     for ac_exec_ext in '' $ac_executable_extensions; do
8966       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
8967       as_fn_executable_p "$ac_path_GREP" || continue
8968 # Check for GNU ac_path_GREP and select it if it is found.
8969   # Check for GNU $ac_path_GREP
8970 case `"$ac_path_GREP" --version 2>&1` in
8971 *GNU*)
8972   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8973 *)
8974   ac_count=0
8975   printf %s 0123456789 >"conftest.in"
8976   while :
8977   do
8978     cat "conftest.in" "conftest.in" >"conftest.tmp"
8979     mv "conftest.tmp" "conftest.in"
8980     cp "conftest.in" "conftest.nl"
8981     printf "%s\n" 'GREP' >> "conftest.nl"
8982     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8983     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8984     as_fn_arith $ac_count + 1 && ac_count=$as_val
8985     if test $ac_count -gt ${ac_path_GREP_max-0}; then
8986       # Best one so far, save it but keep looking for a better one
8987       ac_cv_path_GREP="$ac_path_GREP"
8988       ac_path_GREP_max=$ac_count
8989     fi
8990     # 10*(2^10) chars as input seems more than enough
8991     test $ac_count -gt 10 && break
8992   done
8993   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8994 esac
8995
8996       $ac_path_GREP_found && break 3
8997     done
8998   done
8999   done
9000 IFS=$as_save_IFS
9001   if test -z "$ac_cv_path_GREP"; then
9002     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9003   fi
9004 else
9005   ac_cv_path_GREP=$GREP
9006 fi
9007
9008 fi
9009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
9010 printf "%s\n" "$ac_cv_path_GREP" >&6; }
9011  GREP="$ac_cv_path_GREP"
9012
9013
9014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
9015 printf %s "checking for egrep... " >&6; }
9016 if test ${ac_cv_path_EGREP+y}
9017 then :
9018   printf %s "(cached) " >&6
9019 else $as_nop
9020   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
9021    then ac_cv_path_EGREP="$GREP -E"
9022    else
9023      if test -z "$EGREP"; then
9024   ac_path_EGREP_found=false
9025   # Loop through the user's path and test for each of PROGNAME-LIST
9026   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9027 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9028 do
9029   IFS=$as_save_IFS
9030   case $as_dir in #(((
9031     '') as_dir=./ ;;
9032     */) ;;
9033     *) as_dir=$as_dir/ ;;
9034   esac
9035     for ac_prog in egrep
9036    do
9037     for ac_exec_ext in '' $ac_executable_extensions; do
9038       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
9039       as_fn_executable_p "$ac_path_EGREP" || continue
9040 # Check for GNU ac_path_EGREP and select it if it is found.
9041   # Check for GNU $ac_path_EGREP
9042 case `"$ac_path_EGREP" --version 2>&1` in
9043 *GNU*)
9044   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
9045 *)
9046   ac_count=0
9047   printf %s 0123456789 >"conftest.in"
9048   while :
9049   do
9050     cat "conftest.in" "conftest.in" >"conftest.tmp"
9051     mv "conftest.tmp" "conftest.in"
9052     cp "conftest.in" "conftest.nl"
9053     printf "%s\n" 'EGREP' >> "conftest.nl"
9054     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9055     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9056     as_fn_arith $ac_count + 1 && ac_count=$as_val
9057     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9058       # Best one so far, save it but keep looking for a better one
9059       ac_cv_path_EGREP="$ac_path_EGREP"
9060       ac_path_EGREP_max=$ac_count
9061     fi
9062     # 10*(2^10) chars as input seems more than enough
9063     test $ac_count -gt 10 && break
9064   done
9065   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9066 esac
9067
9068       $ac_path_EGREP_found && break 3
9069     done
9070   done
9071   done
9072 IFS=$as_save_IFS
9073   if test -z "$ac_cv_path_EGREP"; then
9074     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9075   fi
9076 else
9077   ac_cv_path_EGREP=$EGREP
9078 fi
9079
9080    fi
9081 fi
9082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
9083 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
9084  EGREP="$ac_cv_path_EGREP"
9085
9086
9087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
9088 printf %s "checking for fgrep... " >&6; }
9089 if test ${ac_cv_path_FGREP+y}
9090 then :
9091   printf %s "(cached) " >&6
9092 else $as_nop
9093   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
9094    then ac_cv_path_FGREP="$GREP -F"
9095    else
9096      if test -z "$FGREP"; then
9097   ac_path_FGREP_found=false
9098   # Loop through the user's path and test for each of PROGNAME-LIST
9099   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9100 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9101 do
9102   IFS=$as_save_IFS
9103   case $as_dir in #(((
9104     '') as_dir=./ ;;
9105     */) ;;
9106     *) as_dir=$as_dir/ ;;
9107   esac
9108     for ac_prog in fgrep
9109    do
9110     for ac_exec_ext in '' $ac_executable_extensions; do
9111       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
9112       as_fn_executable_p "$ac_path_FGREP" || continue
9113 # Check for GNU ac_path_FGREP and select it if it is found.
9114   # Check for GNU $ac_path_FGREP
9115 case `"$ac_path_FGREP" --version 2>&1` in
9116 *GNU*)
9117   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
9118 *)
9119   ac_count=0
9120   printf %s 0123456789 >"conftest.in"
9121   while :
9122   do
9123     cat "conftest.in" "conftest.in" >"conftest.tmp"
9124     mv "conftest.tmp" "conftest.in"
9125     cp "conftest.in" "conftest.nl"
9126     printf "%s\n" 'FGREP' >> "conftest.nl"
9127     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
9128     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9129     as_fn_arith $ac_count + 1 && ac_count=$as_val
9130     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
9131       # Best one so far, save it but keep looking for a better one
9132       ac_cv_path_FGREP="$ac_path_FGREP"
9133       ac_path_FGREP_max=$ac_count
9134     fi
9135     # 10*(2^10) chars as input seems more than enough
9136     test $ac_count -gt 10 && break
9137   done
9138   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9139 esac
9140
9141       $ac_path_FGREP_found && break 3
9142     done
9143   done
9144   done
9145 IFS=$as_save_IFS
9146   if test -z "$ac_cv_path_FGREP"; then
9147     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9148   fi
9149 else
9150   ac_cv_path_FGREP=$FGREP
9151 fi
9152
9153    fi
9154 fi
9155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
9156 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
9157  FGREP="$ac_cv_path_FGREP"
9158
9159
9160 test -z "$GREP" && GREP=grep
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180 # Check whether --with-gnu-ld was given.
9181 if test ${with_gnu_ld+y}
9182 then :
9183   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
9184 else $as_nop
9185   with_gnu_ld=no
9186 fi
9187
9188 ac_prog=ld
9189 if test yes = "$GCC"; then
9190   # Check if gcc -print-prog-name=ld gives a path.
9191   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
9192 printf %s "checking for ld used by $CC... " >&6; }
9193   case $host in
9194   *-*-mingw*)
9195     # gcc leaves a trailing carriage return, which upsets mingw
9196     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9197   *)
9198     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9199   esac
9200   case $ac_prog in
9201     # Accept absolute paths.
9202     [\\/]* | ?:[\\/]*)
9203       re_direlt='/[^/][^/]*/\.\./'
9204       # Canonicalize the pathname of ld
9205       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
9206       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
9207         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
9208       done
9209       test -z "$LD" && LD=$ac_prog
9210       ;;
9211   "")
9212     # If it fails, then pretend we aren't using GCC.
9213     ac_prog=ld
9214     ;;
9215   *)
9216     # If it is relative, then search for the first ld in PATH.
9217     with_gnu_ld=unknown
9218     ;;
9219   esac
9220 elif test yes = "$with_gnu_ld"; then
9221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
9222 printf %s "checking for GNU ld... " >&6; }
9223 else
9224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
9225 printf %s "checking for non-GNU ld... " >&6; }
9226 fi
9227 if test ${lt_cv_path_LD+y}
9228 then :
9229   printf %s "(cached) " >&6
9230 else $as_nop
9231   if test -z "$LD"; then
9232   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9233   for ac_dir in $PATH; do
9234     IFS=$lt_save_ifs
9235     test -z "$ac_dir" && ac_dir=.
9236     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9237       lt_cv_path_LD=$ac_dir/$ac_prog
9238       # Check to see if the program is GNU ld.  I'd rather use --version,
9239       # but apparently some variants of GNU ld only accept -v.
9240       # Break only if it was the GNU/non-GNU ld that we prefer.
9241       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9242       *GNU* | *'with BFD'*)
9243         test no != "$with_gnu_ld" && break
9244         ;;
9245       *)
9246         test yes != "$with_gnu_ld" && break
9247         ;;
9248       esac
9249     fi
9250   done
9251   IFS=$lt_save_ifs
9252 else
9253   lt_cv_path_LD=$LD # Let the user override the test with a path.
9254 fi
9255 fi
9256
9257 LD=$lt_cv_path_LD
9258 if test -n "$LD"; then
9259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
9260 printf "%s\n" "$LD" >&6; }
9261 else
9262   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9263 printf "%s\n" "no" >&6; }
9264 fi
9265 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
9266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
9267 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
9268 if test ${lt_cv_prog_gnu_ld+y}
9269 then :
9270   printf %s "(cached) " >&6
9271 else $as_nop
9272   # I'd rather use --version here, but apparently some GNU lds only accept -v.
9273 case `$LD -v 2>&1 </dev/null` in
9274 *GNU* | *'with BFD'*)
9275   lt_cv_prog_gnu_ld=yes
9276   ;;
9277 *)
9278   lt_cv_prog_gnu_ld=no
9279   ;;
9280 esac
9281 fi
9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
9283 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
9284 with_gnu_ld=$lt_cv_prog_gnu_ld
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
9295 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
9296 if test ${lt_cv_path_NM+y}
9297 then :
9298   printf %s "(cached) " >&6
9299 else $as_nop
9300   if test -n "$NM"; then
9301   # Let the user override the test.
9302   lt_cv_path_NM=$NM
9303 else
9304   lt_nm_to_check=${ac_tool_prefix}nm
9305   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
9306     lt_nm_to_check="$lt_nm_to_check nm"
9307   fi
9308   for lt_tmp_nm in $lt_nm_to_check; do
9309     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9310     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
9311       IFS=$lt_save_ifs
9312       test -z "$ac_dir" && ac_dir=.
9313       tmp_nm=$ac_dir/$lt_tmp_nm
9314       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
9315         # Check to see if the nm accepts a BSD-compat flag.
9316         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
9317         #   nm: unknown option "B" ignored
9318         # Tru64's nm complains that /dev/null is an invalid object file
9319         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
9320         case $build_os in
9321         mingw*) lt_bad_file=conftest.nm/nofile ;;
9322         *) lt_bad_file=/dev/null ;;
9323         esac
9324         case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
9325         *$lt_bad_file* | *'Invalid file or object type'*)
9326           lt_cv_path_NM="$tmp_nm -B"
9327           break 2
9328           ;;
9329         *)
9330           case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
9331           */dev/null*)
9332             lt_cv_path_NM="$tmp_nm -p"
9333             break 2
9334             ;;
9335           *)
9336             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
9337             continue # so that we can try to find one that supports BSD flags
9338             ;;
9339           esac
9340           ;;
9341         esac
9342       fi
9343     done
9344     IFS=$lt_save_ifs
9345   done
9346   : ${lt_cv_path_NM=no}
9347 fi
9348 fi
9349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
9350 printf "%s\n" "$lt_cv_path_NM" >&6; }
9351 if test no != "$lt_cv_path_NM"; then
9352   NM=$lt_cv_path_NM
9353 else
9354   # Didn't find any BSD compatible name lister, look for dumpbin.
9355   if test -n "$DUMPBIN"; then :
9356     # Let the user override the test.
9357   else
9358     if test -n "$ac_tool_prefix"; then
9359   for ac_prog in dumpbin "link -dump"
9360   do
9361     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9362 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9364 printf %s "checking for $ac_word... " >&6; }
9365 if test ${ac_cv_prog_DUMPBIN+y}
9366 then :
9367   printf %s "(cached) " >&6
9368 else $as_nop
9369   if test -n "$DUMPBIN"; then
9370   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
9371 else
9372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9373 for as_dir in $PATH
9374 do
9375   IFS=$as_save_IFS
9376   case $as_dir in #(((
9377     '') as_dir=./ ;;
9378     */) ;;
9379     *) as_dir=$as_dir/ ;;
9380   esac
9381     for ac_exec_ext in '' $ac_executable_extensions; do
9382   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9383     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
9384     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9385     break 2
9386   fi
9387 done
9388   done
9389 IFS=$as_save_IFS
9390
9391 fi
9392 fi
9393 DUMPBIN=$ac_cv_prog_DUMPBIN
9394 if test -n "$DUMPBIN"; then
9395   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
9396 printf "%s\n" "$DUMPBIN" >&6; }
9397 else
9398   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9399 printf "%s\n" "no" >&6; }
9400 fi
9401
9402
9403     test -n "$DUMPBIN" && break
9404   done
9405 fi
9406 if test -z "$DUMPBIN"; then
9407   ac_ct_DUMPBIN=$DUMPBIN
9408   for ac_prog in dumpbin "link -dump"
9409 do
9410   # Extract the first word of "$ac_prog", so it can be a program name with args.
9411 set dummy $ac_prog; ac_word=$2
9412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9413 printf %s "checking for $ac_word... " >&6; }
9414 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
9415 then :
9416   printf %s "(cached) " >&6
9417 else $as_nop
9418   if test -n "$ac_ct_DUMPBIN"; then
9419   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
9420 else
9421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9422 for as_dir in $PATH
9423 do
9424   IFS=$as_save_IFS
9425   case $as_dir in #(((
9426     '') as_dir=./ ;;
9427     */) ;;
9428     *) as_dir=$as_dir/ ;;
9429   esac
9430     for ac_exec_ext in '' $ac_executable_extensions; do
9431   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9432     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
9433     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9434     break 2
9435   fi
9436 done
9437   done
9438 IFS=$as_save_IFS
9439
9440 fi
9441 fi
9442 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
9443 if test -n "$ac_ct_DUMPBIN"; then
9444   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
9445 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
9446 else
9447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9448 printf "%s\n" "no" >&6; }
9449 fi
9450
9451
9452   test -n "$ac_ct_DUMPBIN" && break
9453 done
9454
9455   if test "x$ac_ct_DUMPBIN" = x; then
9456     DUMPBIN=":"
9457   else
9458     case $cross_compiling:$ac_tool_warned in
9459 yes:)
9460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9461 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9462 ac_tool_warned=yes ;;
9463 esac
9464     DUMPBIN=$ac_ct_DUMPBIN
9465   fi
9466 fi
9467
9468     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
9469     *COFF*)
9470       DUMPBIN="$DUMPBIN -symbols -headers"
9471       ;;
9472     *)
9473       DUMPBIN=:
9474       ;;
9475     esac
9476   fi
9477
9478   if test : != "$DUMPBIN"; then
9479     NM=$DUMPBIN
9480   fi
9481 fi
9482 test -z "$NM" && NM=nm
9483
9484
9485
9486
9487
9488
9489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
9490 printf %s "checking the name lister ($NM) interface... " >&6; }
9491 if test ${lt_cv_nm_interface+y}
9492 then :
9493   printf %s "(cached) " >&6
9494 else $as_nop
9495   lt_cv_nm_interface="BSD nm"
9496   echo "int some_variable = 0;" > conftest.$ac_ext
9497   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
9498   (eval "$ac_compile" 2>conftest.err)
9499   cat conftest.err >&5
9500   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
9501   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
9502   cat conftest.err >&5
9503   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
9504   cat conftest.out >&5
9505   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
9506     lt_cv_nm_interface="MS dumpbin"
9507   fi
9508   rm -f conftest*
9509 fi
9510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
9511 printf "%s\n" "$lt_cv_nm_interface" >&6; }
9512
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9514 printf %s "checking whether ln -s works... " >&6; }
9515 LN_S=$as_ln_s
9516 if test "$LN_S" = "ln -s"; then
9517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9518 printf "%s\n" "yes" >&6; }
9519 else
9520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9521 printf "%s\n" "no, using $LN_S" >&6; }
9522 fi
9523
9524 # find the maximum length of command line arguments
9525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
9526 printf %s "checking the maximum length of command line arguments... " >&6; }
9527 if test ${lt_cv_sys_max_cmd_len+y}
9528 then :
9529   printf %s "(cached) " >&6
9530 else $as_nop
9531     i=0
9532   teststring=ABCD
9533
9534   case $build_os in
9535   msdosdjgpp*)
9536     # On DJGPP, this test can blow up pretty badly due to problems in libc
9537     # (any single argument exceeding 2000 bytes causes a buffer overrun
9538     # during glob expansion).  Even if it were fixed, the result of this
9539     # check would be larger than it should be.
9540     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
9541     ;;
9542
9543   gnu*)
9544     # Under GNU Hurd, this test is not required because there is
9545     # no limit to the length of command line arguments.
9546     # Libtool will interpret -1 as no limit whatsoever
9547     lt_cv_sys_max_cmd_len=-1;
9548     ;;
9549
9550   cygwin* | mingw* | cegcc*)
9551     # On Win9x/ME, this test blows up -- it succeeds, but takes
9552     # about 5 minutes as the teststring grows exponentially.
9553     # Worse, since 9x/ME are not pre-emptively multitasking,
9554     # you end up with a "frozen" computer, even though with patience
9555     # the test eventually succeeds (with a max line length of 256k).
9556     # Instead, let's just punt: use the minimum linelength reported by
9557     # all of the supported platforms: 8192 (on NT/2K/XP).
9558     lt_cv_sys_max_cmd_len=8192;
9559     ;;
9560
9561   mint*)
9562     # On MiNT this can take a long time and run out of memory.
9563     lt_cv_sys_max_cmd_len=8192;
9564     ;;
9565
9566   amigaos*)
9567     # On AmigaOS with pdksh, this test takes hours, literally.
9568     # So we just punt and use a minimum line length of 8192.
9569     lt_cv_sys_max_cmd_len=8192;
9570     ;;
9571
9572   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
9573     # This has been around since 386BSD, at least.  Likely further.
9574     if test -x /sbin/sysctl; then
9575       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9576     elif test -x /usr/sbin/sysctl; then
9577       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9578     else
9579       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
9580     fi
9581     # And add a safety zone
9582     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9583     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9584     ;;
9585
9586   interix*)
9587     # We know the value 262144 and hardcode it with a safety zone (like BSD)
9588     lt_cv_sys_max_cmd_len=196608
9589     ;;
9590
9591   os2*)
9592     # The test takes a long time on OS/2.
9593     lt_cv_sys_max_cmd_len=8192
9594     ;;
9595
9596   osf*)
9597     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9598     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9599     # nice to cause kernel panics so lets avoid the loop below.
9600     # First set a reasonable default.
9601     lt_cv_sys_max_cmd_len=16384
9602     #
9603     if test -x /sbin/sysconfig; then
9604       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9605         *1*) lt_cv_sys_max_cmd_len=-1 ;;
9606       esac
9607     fi
9608     ;;
9609   sco3.2v5*)
9610     lt_cv_sys_max_cmd_len=102400
9611     ;;
9612   sysv5* | sco5v6* | sysv4.2uw2*)
9613     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9614     if test -n "$kargmax"; then
9615       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[         ]//'`
9616     else
9617       lt_cv_sys_max_cmd_len=32768
9618     fi
9619     ;;
9620   *)
9621     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
9622     if test -n "$lt_cv_sys_max_cmd_len" && \
9623        test undefined != "$lt_cv_sys_max_cmd_len"; then
9624       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
9625       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
9626     else
9627       # Make teststring a little bigger before we do anything with it.
9628       # a 1K string should be a reasonable start.
9629       for i in 1 2 3 4 5 6 7 8; do
9630         teststring=$teststring$teststring
9631       done
9632       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9633       # If test is not a shell built-in, we'll probably end up computing a
9634       # maximum length that is only half of the actual maximum length, but
9635       # we can't tell.
9636       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
9637                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
9638               test 17 != "$i" # 1/2 MB should be enough
9639       do
9640         i=`expr $i + 1`
9641         teststring=$teststring$teststring
9642       done
9643       # Only check the string length outside the loop.
9644       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
9645       teststring=
9646       # Add a significant safety factor because C++ compilers can tack on
9647       # massive amounts of additional arguments before passing them to the
9648       # linker.  It appears as though 1/2 is a usable value.
9649       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9650     fi
9651     ;;
9652   esac
9653
9654 fi
9655
9656 if test -n "$lt_cv_sys_max_cmd_len"; then
9657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9658 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
9659 else
9660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
9661 printf "%s\n" "none" >&6; }
9662 fi
9663 max_cmd_len=$lt_cv_sys_max_cmd_len
9664
9665
9666
9667
9668
9669
9670 : ${CP="cp -f"}
9671 : ${MV="mv -f"}
9672 : ${RM="rm -f"}
9673
9674 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9675   lt_unset=unset
9676 else
9677   lt_unset=false
9678 fi
9679
9680
9681
9682
9683
9684 # test EBCDIC or ASCII
9685 case `echo X|tr X '\101'` in
9686  A) # ASCII based system
9687     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
9688   lt_SP2NL='tr \040 \012'
9689   lt_NL2SP='tr \015\012 \040\040'
9690   ;;
9691  *) # EBCDIC based system
9692   lt_SP2NL='tr \100 \n'
9693   lt_NL2SP='tr \r\n \100\100'
9694   ;;
9695 esac
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
9706 printf %s "checking how to convert $build file names to $host format... " >&6; }
9707 if test ${lt_cv_to_host_file_cmd+y}
9708 then :
9709   printf %s "(cached) " >&6
9710 else $as_nop
9711   case $host in
9712   *-*-mingw* )
9713     case $build in
9714       *-*-mingw* ) # actually msys
9715         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
9716         ;;
9717       *-*-cygwin* )
9718         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
9719         ;;
9720       * ) # otherwise, assume *nix
9721         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
9722         ;;
9723     esac
9724     ;;
9725   *-*-cygwin* )
9726     case $build in
9727       *-*-mingw* ) # actually msys
9728         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
9729         ;;
9730       *-*-cygwin* )
9731         lt_cv_to_host_file_cmd=func_convert_file_noop
9732         ;;
9733       * ) # otherwise, assume *nix
9734         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
9735         ;;
9736     esac
9737     ;;
9738   * ) # unhandled hosts (and "normal" native builds)
9739     lt_cv_to_host_file_cmd=func_convert_file_noop
9740     ;;
9741 esac
9742
9743 fi
9744
9745 to_host_file_cmd=$lt_cv_to_host_file_cmd
9746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
9747 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
9748
9749
9750
9751
9752
9753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
9754 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
9755 if test ${lt_cv_to_tool_file_cmd+y}
9756 then :
9757   printf %s "(cached) " >&6
9758 else $as_nop
9759   #assume ordinary cross tools, or native build.
9760 lt_cv_to_tool_file_cmd=func_convert_file_noop
9761 case $host in
9762   *-*-mingw* )
9763     case $build in
9764       *-*-mingw* ) # actually msys
9765         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
9766         ;;
9767     esac
9768     ;;
9769 esac
9770
9771 fi
9772
9773 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
9774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
9775 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
9776
9777
9778
9779
9780
9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9782 printf %s "checking for $LD option to reload object files... " >&6; }
9783 if test ${lt_cv_ld_reload_flag+y}
9784 then :
9785   printf %s "(cached) " >&6
9786 else $as_nop
9787   lt_cv_ld_reload_flag='-r'
9788 fi
9789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
9790 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
9791 reload_flag=$lt_cv_ld_reload_flag
9792 case $reload_flag in
9793 "" | " "*) ;;
9794 *) reload_flag=" $reload_flag" ;;
9795 esac
9796 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9797 case $host_os in
9798   cygwin* | mingw* | pw32* | cegcc*)
9799     if test yes != "$GCC"; then
9800       reload_cmds=false
9801     fi
9802     ;;
9803   darwin*)
9804     if test yes = "$GCC"; then
9805       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
9806     else
9807       reload_cmds='$LD$reload_flag -o $output$reload_objs'
9808     fi
9809     ;;
9810 esac
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820 if test -n "$ac_tool_prefix"; then
9821   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
9822 set dummy ${ac_tool_prefix}file; ac_word=$2
9823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9824 printf %s "checking for $ac_word... " >&6; }
9825 if test ${ac_cv_prog_FILECMD+y}
9826 then :
9827   printf %s "(cached) " >&6
9828 else $as_nop
9829   if test -n "$FILECMD"; then
9830   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
9831 else
9832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9833 for as_dir in $PATH
9834 do
9835   IFS=$as_save_IFS
9836   case $as_dir in #(((
9837     '') as_dir=./ ;;
9838     */) ;;
9839     *) as_dir=$as_dir/ ;;
9840   esac
9841     for ac_exec_ext in '' $ac_executable_extensions; do
9842   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9843     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
9844     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9845     break 2
9846   fi
9847 done
9848   done
9849 IFS=$as_save_IFS
9850
9851 fi
9852 fi
9853 FILECMD=$ac_cv_prog_FILECMD
9854 if test -n "$FILECMD"; then
9855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
9856 printf "%s\n" "$FILECMD" >&6; }
9857 else
9858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9859 printf "%s\n" "no" >&6; }
9860 fi
9861
9862
9863 fi
9864 if test -z "$ac_cv_prog_FILECMD"; then
9865   ac_ct_FILECMD=$FILECMD
9866   # Extract the first word of "file", so it can be a program name with args.
9867 set dummy file; ac_word=$2
9868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9869 printf %s "checking for $ac_word... " >&6; }
9870 if test ${ac_cv_prog_ac_ct_FILECMD+y}
9871 then :
9872   printf %s "(cached) " >&6
9873 else $as_nop
9874   if test -n "$ac_ct_FILECMD"; then
9875   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
9876 else
9877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9878 for as_dir in $PATH
9879 do
9880   IFS=$as_save_IFS
9881   case $as_dir in #(((
9882     '') as_dir=./ ;;
9883     */) ;;
9884     *) as_dir=$as_dir/ ;;
9885   esac
9886     for ac_exec_ext in '' $ac_executable_extensions; do
9887   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9888     ac_cv_prog_ac_ct_FILECMD="file"
9889     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9890     break 2
9891   fi
9892 done
9893   done
9894 IFS=$as_save_IFS
9895
9896 fi
9897 fi
9898 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
9899 if test -n "$ac_ct_FILECMD"; then
9900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
9901 printf "%s\n" "$ac_ct_FILECMD" >&6; }
9902 else
9903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9904 printf "%s\n" "no" >&6; }
9905 fi
9906
9907   if test "x$ac_ct_FILECMD" = x; then
9908     FILECMD=":"
9909   else
9910     case $cross_compiling:$ac_tool_warned in
9911 yes:)
9912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9913 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9914 ac_tool_warned=yes ;;
9915 esac
9916     FILECMD=$ac_ct_FILECMD
9917   fi
9918 else
9919   FILECMD="$ac_cv_prog_FILECMD"
9920 fi
9921
9922
9923
9924
9925
9926
9927
9928 if test -n "$ac_tool_prefix"; then
9929   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
9930 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9932 printf %s "checking for $ac_word... " >&6; }
9933 if test ${ac_cv_prog_OBJDUMP+y}
9934 then :
9935   printf %s "(cached) " >&6
9936 else $as_nop
9937   if test -n "$OBJDUMP"; then
9938   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9939 else
9940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9941 for as_dir in $PATH
9942 do
9943   IFS=$as_save_IFS
9944   case $as_dir in #(((
9945     '') as_dir=./ ;;
9946     */) ;;
9947     *) as_dir=$as_dir/ ;;
9948   esac
9949     for ac_exec_ext in '' $ac_executable_extensions; do
9950   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9951     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
9952     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9953     break 2
9954   fi
9955 done
9956   done
9957 IFS=$as_save_IFS
9958
9959 fi
9960 fi
9961 OBJDUMP=$ac_cv_prog_OBJDUMP
9962 if test -n "$OBJDUMP"; then
9963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9964 printf "%s\n" "$OBJDUMP" >&6; }
9965 else
9966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9967 printf "%s\n" "no" >&6; }
9968 fi
9969
9970
9971 fi
9972 if test -z "$ac_cv_prog_OBJDUMP"; then
9973   ac_ct_OBJDUMP=$OBJDUMP
9974   # Extract the first word of "objdump", so it can be a program name with args.
9975 set dummy objdump; ac_word=$2
9976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9977 printf %s "checking for $ac_word... " >&6; }
9978 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
9979 then :
9980   printf %s "(cached) " >&6
9981 else $as_nop
9982   if test -n "$ac_ct_OBJDUMP"; then
9983   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9984 else
9985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9986 for as_dir in $PATH
9987 do
9988   IFS=$as_save_IFS
9989   case $as_dir in #(((
9990     '') as_dir=./ ;;
9991     */) ;;
9992     *) as_dir=$as_dir/ ;;
9993   esac
9994     for ac_exec_ext in '' $ac_executable_extensions; do
9995   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9996     ac_cv_prog_ac_ct_OBJDUMP="objdump"
9997     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9998     break 2
9999   fi
10000 done
10001   done
10002 IFS=$as_save_IFS
10003
10004 fi
10005 fi
10006 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
10007 if test -n "$ac_ct_OBJDUMP"; then
10008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
10009 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
10010 else
10011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10012 printf "%s\n" "no" >&6; }
10013 fi
10014
10015   if test "x$ac_ct_OBJDUMP" = x; then
10016     OBJDUMP="false"
10017   else
10018     case $cross_compiling:$ac_tool_warned in
10019 yes:)
10020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10022 ac_tool_warned=yes ;;
10023 esac
10024     OBJDUMP=$ac_ct_OBJDUMP
10025   fi
10026 else
10027   OBJDUMP="$ac_cv_prog_OBJDUMP"
10028 fi
10029
10030 test -z "$OBJDUMP" && OBJDUMP=objdump
10031
10032
10033
10034
10035
10036
10037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
10038 printf %s "checking how to recognize dependent libraries... " >&6; }
10039 if test ${lt_cv_deplibs_check_method+y}
10040 then :
10041   printf %s "(cached) " >&6
10042 else $as_nop
10043   lt_cv_file_magic_cmd='$MAGIC_CMD'
10044 lt_cv_file_magic_test_file=
10045 lt_cv_deplibs_check_method='unknown'
10046 # Need to set the preceding variable on all platforms that support
10047 # interlibrary dependencies.
10048 # 'none' -- dependencies not supported.
10049 # 'unknown' -- same as none, but documents that we really don't know.
10050 # 'pass_all' -- all dependencies passed with no checks.
10051 # 'test_compile' -- check by making test program.
10052 # 'file_magic [[regex]]' -- check by looking for files in library path
10053 # that responds to the $file_magic_cmd with a given extended regex.
10054 # If you have 'file' or equivalent on your system and you're not sure
10055 # whether 'pass_all' will *always* work, you probably want this one.
10056
10057 case $host_os in
10058 aix[4-9]*)
10059   lt_cv_deplibs_check_method=pass_all
10060   ;;
10061
10062 beos*)
10063   lt_cv_deplibs_check_method=pass_all
10064   ;;
10065
10066 bsdi[45]*)
10067   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
10068   lt_cv_file_magic_cmd='$FILECMD -L'
10069   lt_cv_file_magic_test_file=/shlib/libc.so
10070   ;;
10071
10072 cygwin*)
10073   # func_win32_libid is a shell function defined in ltmain.sh
10074   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10075   lt_cv_file_magic_cmd='func_win32_libid'
10076   ;;
10077
10078 mingw* | pw32*)
10079   # Base MSYS/MinGW do not provide the 'file' command needed by
10080   # func_win32_libid shell function, so use a weaker test based on 'objdump',
10081   # unless we find 'file', for example because we are cross-compiling.
10082   if ( file / ) >/dev/null 2>&1; then
10083     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
10084     lt_cv_file_magic_cmd='func_win32_libid'
10085   else
10086     # Keep this pattern in sync with the one in func_win32_libid.
10087     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
10088     lt_cv_file_magic_cmd='$OBJDUMP -f'
10089   fi
10090   ;;
10091
10092 cegcc*)
10093   # use the weaker test based on 'objdump'. See mingw*.
10094   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
10095   lt_cv_file_magic_cmd='$OBJDUMP -f'
10096   ;;
10097
10098 darwin* | rhapsody*)
10099   lt_cv_deplibs_check_method=pass_all
10100   ;;
10101
10102 freebsd* | dragonfly* | midnightbsd*)
10103   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
10104     case $host_cpu in
10105     i*86 )
10106       # Not sure whether the presence of OpenBSD here was a mistake.
10107       # Let's accept both of them until this is cleared up.
10108       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
10109       lt_cv_file_magic_cmd=$FILECMD
10110       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
10111       ;;
10112     esac
10113   else
10114     lt_cv_deplibs_check_method=pass_all
10115   fi
10116   ;;
10117
10118 haiku*)
10119   lt_cv_deplibs_check_method=pass_all
10120   ;;
10121
10122 hpux10.20* | hpux11*)
10123   lt_cv_file_magic_cmd=$FILECMD
10124   case $host_cpu in
10125   ia64*)
10126     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
10127     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
10128     ;;
10129   hppa*64*)
10130     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]'
10131     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
10132     ;;
10133   *)
10134     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
10135     lt_cv_file_magic_test_file=/usr/lib/libc.sl
10136     ;;
10137   esac
10138   ;;
10139
10140 interix[3-9]*)
10141   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
10142   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
10143   ;;
10144
10145 irix5* | irix6* | nonstopux*)
10146   case $LD in
10147   *-32|*"-32 ") libmagic=32-bit;;
10148   *-n32|*"-n32 ") libmagic=N32;;
10149   *-64|*"-64 ") libmagic=64-bit;;
10150   *) libmagic=never-match;;
10151   esac
10152   lt_cv_deplibs_check_method=pass_all
10153   ;;
10154
10155 # This must be glibc/ELF.
10156 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10157   lt_cv_deplibs_check_method=pass_all
10158   ;;
10159
10160 netbsd*)
10161   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
10162     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10163   else
10164     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
10165   fi
10166   ;;
10167
10168 newos6*)
10169   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
10170   lt_cv_file_magic_cmd=$FILECMD
10171   lt_cv_file_magic_test_file=/usr/lib/libnls.so
10172   ;;
10173
10174 *nto* | *qnx*)
10175   lt_cv_deplibs_check_method=pass_all
10176   ;;
10177
10178 openbsd* | bitrig*)
10179   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10180     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
10181   else
10182     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
10183   fi
10184   ;;
10185
10186 osf3* | osf4* | osf5*)
10187   lt_cv_deplibs_check_method=pass_all
10188   ;;
10189
10190 rdos*)
10191   lt_cv_deplibs_check_method=pass_all
10192   ;;
10193
10194 solaris*)
10195   lt_cv_deplibs_check_method=pass_all
10196   ;;
10197
10198 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10199   lt_cv_deplibs_check_method=pass_all
10200   ;;
10201
10202 sysv4 | sysv4.3*)
10203   case $host_vendor in
10204   motorola)
10205     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]'
10206     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
10207     ;;
10208   ncr)
10209     lt_cv_deplibs_check_method=pass_all
10210     ;;
10211   sequent)
10212     lt_cv_file_magic_cmd='/bin/file'
10213     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
10214     ;;
10215   sni)
10216     lt_cv_file_magic_cmd='/bin/file'
10217     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
10218     lt_cv_file_magic_test_file=/lib/libc.so
10219     ;;
10220   siemens)
10221     lt_cv_deplibs_check_method=pass_all
10222     ;;
10223   pc)
10224     lt_cv_deplibs_check_method=pass_all
10225     ;;
10226   esac
10227   ;;
10228
10229 tpf*)
10230   lt_cv_deplibs_check_method=pass_all
10231   ;;
10232 os2*)
10233   lt_cv_deplibs_check_method=pass_all
10234   ;;
10235 esac
10236
10237 fi
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
10239 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
10240
10241 file_magic_glob=
10242 want_nocaseglob=no
10243 if test "$build" = "$host"; then
10244   case $host_os in
10245   mingw* | pw32*)
10246     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
10247       want_nocaseglob=yes
10248     else
10249       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
10250     fi
10251     ;;
10252   esac
10253 fi
10254
10255 file_magic_cmd=$lt_cv_file_magic_cmd
10256 deplibs_check_method=$lt_cv_deplibs_check_method
10257 test -z "$deplibs_check_method" && deplibs_check_method=unknown
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280 if test -n "$ac_tool_prefix"; then
10281   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
10282 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
10283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10284 printf %s "checking for $ac_word... " >&6; }
10285 if test ${ac_cv_prog_DLLTOOL+y}
10286 then :
10287   printf %s "(cached) " >&6
10288 else $as_nop
10289   if test -n "$DLLTOOL"; then
10290   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10291 else
10292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10293 for as_dir in $PATH
10294 do
10295   IFS=$as_save_IFS
10296   case $as_dir in #(((
10297     '') as_dir=./ ;;
10298     */) ;;
10299     *) as_dir=$as_dir/ ;;
10300   esac
10301     for ac_exec_ext in '' $ac_executable_extensions; do
10302   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10303     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
10304     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10305     break 2
10306   fi
10307 done
10308   done
10309 IFS=$as_save_IFS
10310
10311 fi
10312 fi
10313 DLLTOOL=$ac_cv_prog_DLLTOOL
10314 if test -n "$DLLTOOL"; then
10315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
10316 printf "%s\n" "$DLLTOOL" >&6; }
10317 else
10318   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10319 printf "%s\n" "no" >&6; }
10320 fi
10321
10322
10323 fi
10324 if test -z "$ac_cv_prog_DLLTOOL"; then
10325   ac_ct_DLLTOOL=$DLLTOOL
10326   # Extract the first word of "dlltool", so it can be a program name with args.
10327 set dummy dlltool; ac_word=$2
10328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10329 printf %s "checking for $ac_word... " >&6; }
10330 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
10331 then :
10332   printf %s "(cached) " >&6
10333 else $as_nop
10334   if test -n "$ac_ct_DLLTOOL"; then
10335   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
10336 else
10337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10338 for as_dir in $PATH
10339 do
10340   IFS=$as_save_IFS
10341   case $as_dir in #(((
10342     '') as_dir=./ ;;
10343     */) ;;
10344     *) as_dir=$as_dir/ ;;
10345   esac
10346     for ac_exec_ext in '' $ac_executable_extensions; do
10347   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10348     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
10349     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10350     break 2
10351   fi
10352 done
10353   done
10354 IFS=$as_save_IFS
10355
10356 fi
10357 fi
10358 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
10359 if test -n "$ac_ct_DLLTOOL"; then
10360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10361 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
10362 else
10363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10364 printf "%s\n" "no" >&6; }
10365 fi
10366
10367   if test "x$ac_ct_DLLTOOL" = x; then
10368     DLLTOOL="false"
10369   else
10370     case $cross_compiling:$ac_tool_warned in
10371 yes:)
10372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10373 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10374 ac_tool_warned=yes ;;
10375 esac
10376     DLLTOOL=$ac_ct_DLLTOOL
10377   fi
10378 else
10379   DLLTOOL="$ac_cv_prog_DLLTOOL"
10380 fi
10381
10382 test -z "$DLLTOOL" && DLLTOOL=dlltool
10383
10384
10385
10386
10387
10388
10389
10390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
10391 printf %s "checking how to associate runtime and link libraries... " >&6; }
10392 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
10393 then :
10394   printf %s "(cached) " >&6
10395 else $as_nop
10396   lt_cv_sharedlib_from_linklib_cmd='unknown'
10397
10398 case $host_os in
10399 cygwin* | mingw* | pw32* | cegcc*)
10400   # two different shell functions defined in ltmain.sh;
10401   # decide which one to use based on capabilities of $DLLTOOL
10402   case `$DLLTOOL --help 2>&1` in
10403   *--identify-strict*)
10404     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
10405     ;;
10406   *)
10407     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
10408     ;;
10409   esac
10410   ;;
10411 *)
10412   # fallback: assume linklib IS sharedlib
10413   lt_cv_sharedlib_from_linklib_cmd=$ECHO
10414   ;;
10415 esac
10416
10417 fi
10418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
10419 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
10420 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
10421 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
10422
10423
10424
10425
10426
10427
10428
10429 if test -n "$ac_tool_prefix"; then
10430   for ac_prog in ar
10431   do
10432     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10435 printf %s "checking for $ac_word... " >&6; }
10436 if test ${ac_cv_prog_AR+y}
10437 then :
10438   printf %s "(cached) " >&6
10439 else $as_nop
10440   if test -n "$AR"; then
10441   ac_cv_prog_AR="$AR" # Let the user override the test.
10442 else
10443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10444 for as_dir in $PATH
10445 do
10446   IFS=$as_save_IFS
10447   case $as_dir in #(((
10448     '') as_dir=./ ;;
10449     */) ;;
10450     *) as_dir=$as_dir/ ;;
10451   esac
10452     for ac_exec_ext in '' $ac_executable_extensions; do
10453   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10454     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
10455     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10456     break 2
10457   fi
10458 done
10459   done
10460 IFS=$as_save_IFS
10461
10462 fi
10463 fi
10464 AR=$ac_cv_prog_AR
10465 if test -n "$AR"; then
10466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
10467 printf "%s\n" "$AR" >&6; }
10468 else
10469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10470 printf "%s\n" "no" >&6; }
10471 fi
10472
10473
10474     test -n "$AR" && break
10475   done
10476 fi
10477 if test -z "$AR"; then
10478   ac_ct_AR=$AR
10479   for ac_prog in ar
10480 do
10481   # Extract the first word of "$ac_prog", so it can be a program name with args.
10482 set dummy $ac_prog; ac_word=$2
10483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10484 printf %s "checking for $ac_word... " >&6; }
10485 if test ${ac_cv_prog_ac_ct_AR+y}
10486 then :
10487   printf %s "(cached) " >&6
10488 else $as_nop
10489   if test -n "$ac_ct_AR"; then
10490   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10491 else
10492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10493 for as_dir in $PATH
10494 do
10495   IFS=$as_save_IFS
10496   case $as_dir in #(((
10497     '') as_dir=./ ;;
10498     */) ;;
10499     *) as_dir=$as_dir/ ;;
10500   esac
10501     for ac_exec_ext in '' $ac_executable_extensions; do
10502   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10503     ac_cv_prog_ac_ct_AR="$ac_prog"
10504     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10505     break 2
10506   fi
10507 done
10508   done
10509 IFS=$as_save_IFS
10510
10511 fi
10512 fi
10513 ac_ct_AR=$ac_cv_prog_ac_ct_AR
10514 if test -n "$ac_ct_AR"; then
10515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
10516 printf "%s\n" "$ac_ct_AR" >&6; }
10517 else
10518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10519 printf "%s\n" "no" >&6; }
10520 fi
10521
10522
10523   test -n "$ac_ct_AR" && break
10524 done
10525
10526   if test "x$ac_ct_AR" = x; then
10527     AR="false"
10528   else
10529     case $cross_compiling:$ac_tool_warned in
10530 yes:)
10531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10532 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10533 ac_tool_warned=yes ;;
10534 esac
10535     AR=$ac_ct_AR
10536   fi
10537 fi
10538
10539 : ${AR=ar}
10540
10541
10542
10543
10544
10545
10546 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
10547 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
10548 # higher priority because thats what people were doing historically (setting
10549 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
10550 # variable obsoleted/removed.
10551
10552 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
10553 lt_ar_flags=$AR_FLAGS
10554
10555
10556
10557
10558
10559
10560 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
10561 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
10562
10563
10564
10565
10566
10567
10568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
10569 printf %s "checking for archiver @FILE support... " >&6; }
10570 if test ${lt_cv_ar_at_file+y}
10571 then :
10572   printf %s "(cached) " >&6
10573 else $as_nop
10574   lt_cv_ar_at_file=no
10575    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h.  */
10577
10578 int
10579 main (void)
10580 {
10581
10582   ;
10583   return 0;
10584 }
10585 _ACEOF
10586 if ac_fn_c_try_compile "$LINENO"
10587 then :
10588   echo conftest.$ac_objext > conftest.lst
10589       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
10590       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10591   (eval $lt_ar_try) 2>&5
10592   ac_status=$?
10593   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10594   test $ac_status = 0; }
10595       if test 0 -eq "$ac_status"; then
10596         # Ensure the archiver fails upon bogus file names.
10597         rm -f conftest.$ac_objext libconftest.a
10598         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10599   (eval $lt_ar_try) 2>&5
10600   ac_status=$?
10601   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10602   test $ac_status = 0; }
10603         if test 0 -ne "$ac_status"; then
10604           lt_cv_ar_at_file=@
10605         fi
10606       fi
10607       rm -f conftest.* libconftest.a
10608
10609 fi
10610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10611
10612 fi
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
10614 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
10615
10616 if test no = "$lt_cv_ar_at_file"; then
10617   archiver_list_spec=
10618 else
10619   archiver_list_spec=$lt_cv_ar_at_file
10620 fi
10621
10622
10623
10624
10625
10626
10627
10628 if test -n "$ac_tool_prefix"; then
10629   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10630 set dummy ${ac_tool_prefix}strip; ac_word=$2
10631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10632 printf %s "checking for $ac_word... " >&6; }
10633 if test ${ac_cv_prog_STRIP+y}
10634 then :
10635   printf %s "(cached) " >&6
10636 else $as_nop
10637   if test -n "$STRIP"; then
10638   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10639 else
10640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10641 for as_dir in $PATH
10642 do
10643   IFS=$as_save_IFS
10644   case $as_dir in #(((
10645     '') as_dir=./ ;;
10646     */) ;;
10647     *) as_dir=$as_dir/ ;;
10648   esac
10649     for ac_exec_ext in '' $ac_executable_extensions; do
10650   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10651     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10652     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10653     break 2
10654   fi
10655 done
10656   done
10657 IFS=$as_save_IFS
10658
10659 fi
10660 fi
10661 STRIP=$ac_cv_prog_STRIP
10662 if test -n "$STRIP"; then
10663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10664 printf "%s\n" "$STRIP" >&6; }
10665 else
10666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10667 printf "%s\n" "no" >&6; }
10668 fi
10669
10670
10671 fi
10672 if test -z "$ac_cv_prog_STRIP"; then
10673   ac_ct_STRIP=$STRIP
10674   # Extract the first word of "strip", so it can be a program name with args.
10675 set dummy strip; ac_word=$2
10676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10677 printf %s "checking for $ac_word... " >&6; }
10678 if test ${ac_cv_prog_ac_ct_STRIP+y}
10679 then :
10680   printf %s "(cached) " >&6
10681 else $as_nop
10682   if test -n "$ac_ct_STRIP"; then
10683   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10684 else
10685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10686 for as_dir in $PATH
10687 do
10688   IFS=$as_save_IFS
10689   case $as_dir in #(((
10690     '') as_dir=./ ;;
10691     */) ;;
10692     *) as_dir=$as_dir/ ;;
10693   esac
10694     for ac_exec_ext in '' $ac_executable_extensions; do
10695   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10696     ac_cv_prog_ac_ct_STRIP="strip"
10697     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10698     break 2
10699   fi
10700 done
10701   done
10702 IFS=$as_save_IFS
10703
10704 fi
10705 fi
10706 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10707 if test -n "$ac_ct_STRIP"; then
10708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10709 printf "%s\n" "$ac_ct_STRIP" >&6; }
10710 else
10711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10712 printf "%s\n" "no" >&6; }
10713 fi
10714
10715   if test "x$ac_ct_STRIP" = x; then
10716     STRIP=":"
10717   else
10718     case $cross_compiling:$ac_tool_warned in
10719 yes:)
10720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10722 ac_tool_warned=yes ;;
10723 esac
10724     STRIP=$ac_ct_STRIP
10725   fi
10726 else
10727   STRIP="$ac_cv_prog_STRIP"
10728 fi
10729
10730 test -z "$STRIP" && STRIP=:
10731
10732
10733
10734
10735
10736
10737 if test -n "$ac_tool_prefix"; then
10738   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10739 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10741 printf %s "checking for $ac_word... " >&6; }
10742 if test ${ac_cv_prog_RANLIB+y}
10743 then :
10744   printf %s "(cached) " >&6
10745 else $as_nop
10746   if test -n "$RANLIB"; then
10747   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10748 else
10749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10750 for as_dir in $PATH
10751 do
10752   IFS=$as_save_IFS
10753   case $as_dir in #(((
10754     '') as_dir=./ ;;
10755     */) ;;
10756     *) as_dir=$as_dir/ ;;
10757   esac
10758     for ac_exec_ext in '' $ac_executable_extensions; do
10759   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10760     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10761     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10762     break 2
10763   fi
10764 done
10765   done
10766 IFS=$as_save_IFS
10767
10768 fi
10769 fi
10770 RANLIB=$ac_cv_prog_RANLIB
10771 if test -n "$RANLIB"; then
10772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10773 printf "%s\n" "$RANLIB" >&6; }
10774 else
10775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10776 printf "%s\n" "no" >&6; }
10777 fi
10778
10779
10780 fi
10781 if test -z "$ac_cv_prog_RANLIB"; then
10782   ac_ct_RANLIB=$RANLIB
10783   # Extract the first word of "ranlib", so it can be a program name with args.
10784 set dummy ranlib; ac_word=$2
10785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10786 printf %s "checking for $ac_word... " >&6; }
10787 if test ${ac_cv_prog_ac_ct_RANLIB+y}
10788 then :
10789   printf %s "(cached) " >&6
10790 else $as_nop
10791   if test -n "$ac_ct_RANLIB"; then
10792   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10793 else
10794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10795 for as_dir in $PATH
10796 do
10797   IFS=$as_save_IFS
10798   case $as_dir in #(((
10799     '') as_dir=./ ;;
10800     */) ;;
10801     *) as_dir=$as_dir/ ;;
10802   esac
10803     for ac_exec_ext in '' $ac_executable_extensions; do
10804   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10805     ac_cv_prog_ac_ct_RANLIB="ranlib"
10806     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10807     break 2
10808   fi
10809 done
10810   done
10811 IFS=$as_save_IFS
10812
10813 fi
10814 fi
10815 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10816 if test -n "$ac_ct_RANLIB"; then
10817   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10818 printf "%s\n" "$ac_ct_RANLIB" >&6; }
10819 else
10820   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10821 printf "%s\n" "no" >&6; }
10822 fi
10823
10824   if test "x$ac_ct_RANLIB" = x; then
10825     RANLIB=":"
10826   else
10827     case $cross_compiling:$ac_tool_warned in
10828 yes:)
10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10830 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10831 ac_tool_warned=yes ;;
10832 esac
10833     RANLIB=$ac_ct_RANLIB
10834   fi
10835 else
10836   RANLIB="$ac_cv_prog_RANLIB"
10837 fi
10838
10839 test -z "$RANLIB" && RANLIB=:
10840
10841
10842
10843
10844
10845
10846 # Determine commands to create old-style static archives.
10847 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
10848 old_postinstall_cmds='chmod 644 $oldlib'
10849 old_postuninstall_cmds=
10850
10851 if test -n "$RANLIB"; then
10852   case $host_os in
10853   bitrig* | openbsd*)
10854     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
10855     ;;
10856   *)
10857     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
10858     ;;
10859   esac
10860   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
10861 fi
10862
10863 case $host_os in
10864   darwin*)
10865     lock_old_archive_extraction=yes ;;
10866   *)
10867     lock_old_archive_extraction=no ;;
10868 esac
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908 # If no C compiler was specified, use CC.
10909 LTCC=${LTCC-"$CC"}
10910
10911 # If no C compiler flags were specified, use CFLAGS.
10912 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10913
10914 # Allow CC to be a program name with arguments.
10915 compiler=$CC
10916
10917
10918 # Check for command to grab the raw symbol name followed by C symbol from nm.
10919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
10920 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
10921 if test ${lt_cv_sys_global_symbol_pipe+y}
10922 then :
10923   printf %s "(cached) " >&6
10924 else $as_nop
10925
10926 # These are sane defaults that work on at least a few old systems.
10927 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
10928
10929 # Character class describing NM global symbol codes.
10930 symcode='[BCDEGRST]'
10931
10932 # Regexp to match symbols that can be accessed directly from C.
10933 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10934
10935 # Define system-specific variables.
10936 case $host_os in
10937 aix*)
10938   symcode='[BCDT]'
10939   ;;
10940 cygwin* | mingw* | pw32* | cegcc*)
10941   symcode='[ABCDGISTW]'
10942   ;;
10943 hpux*)
10944   if test ia64 = "$host_cpu"; then
10945     symcode='[ABCDEGRST]'
10946   fi
10947   ;;
10948 irix* | nonstopux*)
10949   symcode='[BCDEGRST]'
10950   ;;
10951 osf*)
10952   symcode='[BCDEGQRST]'
10953   ;;
10954 solaris*)
10955   symcode='[BDRT]'
10956   ;;
10957 sco3.2v5*)
10958   symcode='[DT]'
10959   ;;
10960 sysv4.2uw2*)
10961   symcode='[DT]'
10962   ;;
10963 sysv5* | sco5v6* | unixware* | OpenUNIX*)
10964   symcode='[ABDT]'
10965   ;;
10966 sysv4)
10967   symcode='[DFNSTU]'
10968   ;;
10969 esac
10970
10971 # If we're using GNU nm, then use its standard symbol codes.
10972 case `$NM -V 2>&1` in
10973 *GNU* | *'with BFD'*)
10974   symcode='[ABCDGIRSTW]' ;;
10975 esac
10976
10977 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10978   # Gets list of data symbols to import.
10979   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
10980   # Adjust the below global symbol transforms to fixup imported variables.
10981   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
10982   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
10983   lt_c_name_lib_hook="\
10984   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
10985   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
10986 else
10987   # Disable hooks by default.
10988   lt_cv_sys_global_symbol_to_import=
10989   lt_cdecl_hook=
10990   lt_c_name_hook=
10991   lt_c_name_lib_hook=
10992 fi
10993
10994 # Transform an extracted symbol line into a proper C declaration.
10995 # Some systems (esp. on ia64) link data and code symbols differently,
10996 # so use this general approach.
10997 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
10998 $lt_cdecl_hook\
10999 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
11000 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
11001
11002 # Transform an extracted symbol line into symbol name and symbol address
11003 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
11004 $lt_c_name_hook\
11005 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
11006 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
11007
11008 # Transform an extracted symbol line into symbol name with lib prefix and
11009 # symbol address.
11010 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
11011 $lt_c_name_lib_hook\
11012 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
11013 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
11014 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
11015
11016 # Handle CRLF in mingw tool chain
11017 opt_cr=
11018 case $build_os in
11019 mingw*)
11020   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
11021   ;;
11022 esac
11023
11024 # Try without a prefix underscore, then with it.
11025 for ac_symprfx in "" "_"; do
11026
11027   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
11028   symxfrm="\\1 $ac_symprfx\\2 \\2"
11029
11030   # Write the raw and C identifiers.
11031   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
11032     # Fake it for dumpbin and say T for any non-static function,
11033     # D for any global variable and I for any imported variable.
11034     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
11035     # which start with @ or ?.
11036     lt_cv_sys_global_symbol_pipe="$AWK '"\
11037 "     {last_section=section; section=\$ 3};"\
11038 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
11039 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
11040 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
11041 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
11042 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
11043 "     \$ 0!~/External *\|/{next};"\
11044 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
11045 "     {if(hide[section]) next};"\
11046 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
11047 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
11048 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
11049 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
11050 "     ' prfx=^$ac_symprfx"
11051   else
11052     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
11053   fi
11054   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
11055
11056   # Check to see that the pipe works correctly.
11057   pipe_works=no
11058
11059   rm -f conftest*
11060   cat > conftest.$ac_ext <<_LT_EOF
11061 #ifdef __cplusplus
11062 extern "C" {
11063 #endif
11064 char nm_test_var;
11065 void nm_test_func(void);
11066 void nm_test_func(void){}
11067 #ifdef __cplusplus
11068 }
11069 #endif
11070 int main(){nm_test_var='a';nm_test_func();return(0);}
11071 _LT_EOF
11072
11073   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11074   (eval $ac_compile) 2>&5
11075   ac_status=$?
11076   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11077   test $ac_status = 0; }; then
11078     # Now try to grab the symbols.
11079     nlist=conftest.nm
11080     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
11081   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
11082   ac_status=$?
11083   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11084   test $ac_status = 0; } && test -s "$nlist"; then
11085       # Try sorting and uniquifying the output.
11086       if sort "$nlist" | uniq > "$nlist"T; then
11087         mv -f "$nlist"T "$nlist"
11088       else
11089         rm -f "$nlist"T
11090       fi
11091
11092       # Make sure that we snagged all the symbols we need.
11093       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
11094         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
11095           cat <<_LT_EOF > conftest.$ac_ext
11096 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
11097 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
11098 /* DATA imports from DLLs on WIN32 can't be const, because runtime
11099    relocations are performed -- see ld's documentation on pseudo-relocs.  */
11100 # define LT_DLSYM_CONST
11101 #elif defined __osf__
11102 /* This system does not cope well with relocations in const data.  */
11103 # define LT_DLSYM_CONST
11104 #else
11105 # define LT_DLSYM_CONST const
11106 #endif
11107
11108 #ifdef __cplusplus
11109 extern "C" {
11110 #endif
11111
11112 _LT_EOF
11113           # Now generate the symbol file.
11114           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
11115
11116           cat <<_LT_EOF >> conftest.$ac_ext
11117
11118 /* The mapping between symbol names and symbols.  */
11119 LT_DLSYM_CONST struct {
11120   const char *name;
11121   void       *address;
11122 }
11123 lt__PROGRAM__LTX_preloaded_symbols[] =
11124 {
11125   { "@PROGRAM@", (void *) 0 },
11126 _LT_EOF
11127           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
11128           cat <<\_LT_EOF >> conftest.$ac_ext
11129   {0, (void *) 0}
11130 };
11131
11132 /* This works around a problem in FreeBSD linker */
11133 #ifdef FREEBSD_WORKAROUND
11134 static const void *lt_preloaded_setup() {
11135   return lt__PROGRAM__LTX_preloaded_symbols;
11136 }
11137 #endif
11138
11139 #ifdef __cplusplus
11140 }
11141 #endif
11142 _LT_EOF
11143           # Now try linking the two files.
11144           mv conftest.$ac_objext conftstm.$ac_objext
11145           lt_globsym_save_LIBS=$LIBS
11146           lt_globsym_save_CFLAGS=$CFLAGS
11147           LIBS=conftstm.$ac_objext
11148           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11149           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11150   (eval $ac_link) 2>&5
11151   ac_status=$?
11152   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11153   test $ac_status = 0; } && test -s conftest$ac_exeext; then
11154             pipe_works=yes
11155           fi
11156           LIBS=$lt_globsym_save_LIBS
11157           CFLAGS=$lt_globsym_save_CFLAGS
11158         else
11159           echo "cannot find nm_test_func in $nlist" >&5
11160         fi
11161       else
11162         echo "cannot find nm_test_var in $nlist" >&5
11163       fi
11164     else
11165       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
11166     fi
11167   else
11168     echo "$progname: failed program was:" >&5
11169     cat conftest.$ac_ext >&5
11170   fi
11171   rm -rf conftest* conftst*
11172
11173   # Do not use the global_symbol_pipe unless it works.
11174   if test yes = "$pipe_works"; then
11175     break
11176   else
11177     lt_cv_sys_global_symbol_pipe=
11178   fi
11179 done
11180
11181 fi
11182
11183 if test -z "$lt_cv_sys_global_symbol_pipe"; then
11184   lt_cv_sys_global_symbol_to_cdecl=
11185 fi
11186 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
11187   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
11188 printf "%s\n" "failed" >&6; }
11189 else
11190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
11191 printf "%s\n" "ok" >&6; }
11192 fi
11193
11194 # Response file support.
11195 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
11196   nm_file_list_spec='@'
11197 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
11198   nm_file_list_spec='@'
11199 fi
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
11238 printf %s "checking for sysroot... " >&6; }
11239
11240 # Check whether --with-sysroot was given.
11241 if test ${with_sysroot+y}
11242 then :
11243   withval=$with_sysroot;
11244 else $as_nop
11245   with_sysroot=no
11246 fi
11247
11248
11249 lt_sysroot=
11250 case $with_sysroot in #(
11251  yes)
11252    if test yes = "$GCC"; then
11253      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
11254    fi
11255    ;; #(
11256  /*)
11257    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
11258    ;; #(
11259  no|'')
11260    ;; #(
11261  *)
11262    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
11263 printf "%s\n" "$with_sysroot" >&6; }
11264    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
11265    ;;
11266 esac
11267
11268  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
11269 printf "%s\n" "${lt_sysroot:-no}" >&6; }
11270
11271
11272
11273
11274
11275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
11276 printf %s "checking for a working dd... " >&6; }
11277 if test ${ac_cv_path_lt_DD+y}
11278 then :
11279   printf %s "(cached) " >&6
11280 else $as_nop
11281   printf 0123456789abcdef0123456789abcdef >conftest.i
11282 cat conftest.i conftest.i >conftest2.i
11283 : ${lt_DD:=$DD}
11284 if test -z "$lt_DD"; then
11285   ac_path_lt_DD_found=false
11286   # Loop through the user's path and test for each of PROGNAME-LIST
11287   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11288 for as_dir in $PATH
11289 do
11290   IFS=$as_save_IFS
11291   case $as_dir in #(((
11292     '') as_dir=./ ;;
11293     */) ;;
11294     *) as_dir=$as_dir/ ;;
11295   esac
11296     for ac_prog in dd
11297    do
11298     for ac_exec_ext in '' $ac_executable_extensions; do
11299       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
11300       as_fn_executable_p "$ac_path_lt_DD" || continue
11301 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
11302   cmp -s conftest.i conftest.out \
11303   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
11304 fi
11305       $ac_path_lt_DD_found && break 3
11306     done
11307   done
11308   done
11309 IFS=$as_save_IFS
11310   if test -z "$ac_cv_path_lt_DD"; then
11311     :
11312   fi
11313 else
11314   ac_cv_path_lt_DD=$lt_DD
11315 fi
11316
11317 rm -f conftest.i conftest2.i conftest.out
11318 fi
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
11320 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
11321
11322
11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
11324 printf %s "checking how to truncate binary pipes... " >&6; }
11325 if test ${lt_cv_truncate_bin+y}
11326 then :
11327   printf %s "(cached) " >&6
11328 else $as_nop
11329   printf 0123456789abcdef0123456789abcdef >conftest.i
11330 cat conftest.i conftest.i >conftest2.i
11331 lt_cv_truncate_bin=
11332 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
11333   cmp -s conftest.i conftest.out \
11334   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
11335 fi
11336 rm -f conftest.i conftest2.i conftest.out
11337 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
11338 fi
11339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
11340 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
11341
11342
11343
11344
11345
11346
11347
11348 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
11349 func_cc_basename ()
11350 {
11351     for cc_temp in $*""; do
11352       case $cc_temp in
11353         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11354         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11355         \-*) ;;
11356         *) break;;
11357       esac
11358     done
11359     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11360 }
11361
11362 # Check whether --enable-libtool-lock was given.
11363 if test ${enable_libtool_lock+y}
11364 then :
11365   enableval=$enable_libtool_lock;
11366 fi
11367
11368 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
11369
11370 # Some flags need to be propagated to the compiler or linker for good
11371 # libtool support.
11372 case $host in
11373 ia64-*-hpux*)
11374   # Find out what ABI is being produced by ac_compile, and set mode
11375   # options accordingly.
11376   echo 'int i;' > conftest.$ac_ext
11377   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11378   (eval $ac_compile) 2>&5
11379   ac_status=$?
11380   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11381   test $ac_status = 0; }; then
11382     case `$FILECMD conftest.$ac_objext` in
11383       *ELF-32*)
11384         HPUX_IA64_MODE=32
11385         ;;
11386       *ELF-64*)
11387         HPUX_IA64_MODE=64
11388         ;;
11389     esac
11390   fi
11391   rm -rf conftest*
11392   ;;
11393 *-*-irix6*)
11394   # Find out what ABI is being produced by ac_compile, and set linker
11395   # options accordingly.
11396   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
11397   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11398   (eval $ac_compile) 2>&5
11399   ac_status=$?
11400   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11401   test $ac_status = 0; }; then
11402     if test yes = "$lt_cv_prog_gnu_ld"; then
11403       case `$FILECMD conftest.$ac_objext` in
11404         *32-bit*)
11405           LD="${LD-ld} -melf32bsmip"
11406           ;;
11407         *N32*)
11408           LD="${LD-ld} -melf32bmipn32"
11409           ;;
11410         *64-bit*)
11411           LD="${LD-ld} -melf64bmip"
11412         ;;
11413       esac
11414     else
11415       case `$FILECMD conftest.$ac_objext` in
11416         *32-bit*)
11417           LD="${LD-ld} -32"
11418           ;;
11419         *N32*)
11420           LD="${LD-ld} -n32"
11421           ;;
11422         *64-bit*)
11423           LD="${LD-ld} -64"
11424           ;;
11425       esac
11426     fi
11427   fi
11428   rm -rf conftest*
11429   ;;
11430
11431 mips64*-*linux*)
11432   # Find out what ABI is being produced by ac_compile, and set linker
11433   # options accordingly.
11434   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
11435   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11436   (eval $ac_compile) 2>&5
11437   ac_status=$?
11438   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11439   test $ac_status = 0; }; then
11440     emul=elf
11441     case `$FILECMD conftest.$ac_objext` in
11442       *32-bit*)
11443         emul="${emul}32"
11444         ;;
11445       *64-bit*)
11446         emul="${emul}64"
11447         ;;
11448     esac
11449     case `$FILECMD conftest.$ac_objext` in
11450       *MSB*)
11451         emul="${emul}btsmip"
11452         ;;
11453       *LSB*)
11454         emul="${emul}ltsmip"
11455         ;;
11456     esac
11457     case `$FILECMD conftest.$ac_objext` in
11458       *N32*)
11459         emul="${emul}n32"
11460         ;;
11461     esac
11462     LD="${LD-ld} -m $emul"
11463   fi
11464   rm -rf conftest*
11465   ;;
11466
11467 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
11468 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
11469   # Find out what ABI is being produced by ac_compile, and set linker
11470   # options accordingly.  Note that the listed cases only cover the
11471   # situations where additional linker options are needed (such as when
11472   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
11473   # vice versa); the common cases where no linker options are needed do
11474   # not appear in the list.
11475   echo 'int i;' > conftest.$ac_ext
11476   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11477   (eval $ac_compile) 2>&5
11478   ac_status=$?
11479   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11480   test $ac_status = 0; }; then
11481     case `$FILECMD conftest.o` in
11482       *32-bit*)
11483         case $host in
11484           x86_64-*kfreebsd*-gnu)
11485             LD="${LD-ld} -m elf_i386_fbsd"
11486             ;;
11487           x86_64-*linux*)
11488             case `$FILECMD conftest.o` in
11489               *x86-64*)
11490                 LD="${LD-ld} -m elf32_x86_64"
11491                 ;;
11492               *)
11493                 LD="${LD-ld} -m elf_i386"
11494                 ;;
11495             esac
11496             ;;
11497           powerpc64le-*linux*)
11498             LD="${LD-ld} -m elf32lppclinux"
11499             ;;
11500           powerpc64-*linux*)
11501             LD="${LD-ld} -m elf32ppclinux"
11502             ;;
11503           s390x-*linux*)
11504             LD="${LD-ld} -m elf_s390"
11505             ;;
11506           sparc64-*linux*)
11507             LD="${LD-ld} -m elf32_sparc"
11508             ;;
11509         esac
11510         ;;
11511       *64-bit*)
11512         case $host in
11513           x86_64-*kfreebsd*-gnu)
11514             LD="${LD-ld} -m elf_x86_64_fbsd"
11515             ;;
11516           x86_64-*linux*)
11517             LD="${LD-ld} -m elf_x86_64"
11518             ;;
11519           powerpcle-*linux*|powerpc64le-*linux*)
11520             LD="${LD-ld} -m elf64lppc"
11521             ;;
11522           powerpc-*linux*|powerpc64-*linux*)
11523             LD="${LD-ld} -m elf64ppc"
11524             ;;
11525           s390*-*linux*|s390*-*tpf*)
11526             LD="${LD-ld} -m elf64_s390"
11527             ;;
11528           sparc*-*linux*)
11529             LD="${LD-ld} -m elf64_sparc"
11530             ;;
11531         esac
11532         ;;
11533     esac
11534   fi
11535   rm -rf conftest*
11536   ;;
11537
11538 *-*-sco3.2v5*)
11539   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11540   SAVE_CFLAGS=$CFLAGS
11541   CFLAGS="$CFLAGS -belf"
11542   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
11543 printf %s "checking whether the C compiler needs -belf... " >&6; }
11544 if test ${lt_cv_cc_needs_belf+y}
11545 then :
11546   printf %s "(cached) " >&6
11547 else $as_nop
11548   ac_ext=c
11549 ac_cpp='$CPP $CPPFLAGS'
11550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11553
11554      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11555 /* end confdefs.h.  */
11556
11557 int
11558 main (void)
11559 {
11560
11561   ;
11562   return 0;
11563 }
11564 _ACEOF
11565 if ac_fn_c_try_link "$LINENO"
11566 then :
11567   lt_cv_cc_needs_belf=yes
11568 else $as_nop
11569   lt_cv_cc_needs_belf=no
11570 fi
11571 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11572     conftest$ac_exeext conftest.$ac_ext
11573      ac_ext=c
11574 ac_cpp='$CPP $CPPFLAGS'
11575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11578
11579 fi
11580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
11581 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
11582   if test yes != "$lt_cv_cc_needs_belf"; then
11583     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11584     CFLAGS=$SAVE_CFLAGS
11585   fi
11586   ;;
11587 *-*solaris*)
11588   # Find out what ABI is being produced by ac_compile, and set linker
11589   # options accordingly.
11590   echo 'int i;' > conftest.$ac_ext
11591   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11592   (eval $ac_compile) 2>&5
11593   ac_status=$?
11594   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11595   test $ac_status = 0; }; then
11596     case `$FILECMD conftest.o` in
11597     *64-bit*)
11598       case $lt_cv_prog_gnu_ld in
11599       yes*)
11600         case $host in
11601         i?86-*-solaris*|x86_64-*-solaris*)
11602           LD="${LD-ld} -m elf_x86_64"
11603           ;;
11604         sparc*-*-solaris*)
11605           LD="${LD-ld} -m elf64_sparc"
11606           ;;
11607         esac
11608         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
11609         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
11610           LD=${LD-ld}_sol2
11611         fi
11612         ;;
11613       *)
11614         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
11615           LD="${LD-ld} -64"
11616         fi
11617         ;;
11618       esac
11619       ;;
11620     esac
11621   fi
11622   rm -rf conftest*
11623   ;;
11624 esac
11625
11626 need_locks=$enable_libtool_lock
11627
11628 if test -n "$ac_tool_prefix"; then
11629   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
11630 set dummy ${ac_tool_prefix}mt; ac_word=$2
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11632 printf %s "checking for $ac_word... " >&6; }
11633 if test ${ac_cv_prog_MANIFEST_TOOL+y}
11634 then :
11635   printf %s "(cached) " >&6
11636 else $as_nop
11637   if test -n "$MANIFEST_TOOL"; then
11638   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
11639 else
11640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11641 for as_dir in $PATH
11642 do
11643   IFS=$as_save_IFS
11644   case $as_dir in #(((
11645     '') as_dir=./ ;;
11646     */) ;;
11647     *) as_dir=$as_dir/ ;;
11648   esac
11649     for ac_exec_ext in '' $ac_executable_extensions; do
11650   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11651     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
11652     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11653     break 2
11654   fi
11655 done
11656   done
11657 IFS=$as_save_IFS
11658
11659 fi
11660 fi
11661 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
11662 if test -n "$MANIFEST_TOOL"; then
11663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
11664 printf "%s\n" "$MANIFEST_TOOL" >&6; }
11665 else
11666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11667 printf "%s\n" "no" >&6; }
11668 fi
11669
11670
11671 fi
11672 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
11673   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
11674   # Extract the first word of "mt", so it can be a program name with args.
11675 set dummy mt; ac_word=$2
11676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11677 printf %s "checking for $ac_word... " >&6; }
11678 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
11679 then :
11680   printf %s "(cached) " >&6
11681 else $as_nop
11682   if test -n "$ac_ct_MANIFEST_TOOL"; then
11683   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
11684 else
11685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11686 for as_dir in $PATH
11687 do
11688   IFS=$as_save_IFS
11689   case $as_dir in #(((
11690     '') as_dir=./ ;;
11691     */) ;;
11692     *) as_dir=$as_dir/ ;;
11693   esac
11694     for ac_exec_ext in '' $ac_executable_extensions; do
11695   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11696     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
11697     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11698     break 2
11699   fi
11700 done
11701   done
11702 IFS=$as_save_IFS
11703
11704 fi
11705 fi
11706 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
11707 if test -n "$ac_ct_MANIFEST_TOOL"; then
11708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
11709 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
11710 else
11711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11712 printf "%s\n" "no" >&6; }
11713 fi
11714
11715   if test "x$ac_ct_MANIFEST_TOOL" = x; then
11716     MANIFEST_TOOL=":"
11717   else
11718     case $cross_compiling:$ac_tool_warned in
11719 yes:)
11720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11722 ac_tool_warned=yes ;;
11723 esac
11724     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
11725   fi
11726 else
11727   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
11728 fi
11729
11730 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
11731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
11732 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
11733 if test ${lt_cv_path_mainfest_tool+y}
11734 then :
11735   printf %s "(cached) " >&6
11736 else $as_nop
11737   lt_cv_path_mainfest_tool=no
11738   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
11739   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
11740   cat conftest.err >&5
11741   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
11742     lt_cv_path_mainfest_tool=yes
11743   fi
11744   rm -f conftest*
11745 fi
11746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
11747 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
11748 if test yes != "$lt_cv_path_mainfest_tool"; then
11749   MANIFEST_TOOL=:
11750 fi
11751
11752
11753
11754
11755
11756
11757   case $host_os in
11758     rhapsody* | darwin*)
11759     if test -n "$ac_tool_prefix"; then
11760   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
11761 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
11762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11763 printf %s "checking for $ac_word... " >&6; }
11764 if test ${ac_cv_prog_DSYMUTIL+y}
11765 then :
11766   printf %s "(cached) " >&6
11767 else $as_nop
11768   if test -n "$DSYMUTIL"; then
11769   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11770 else
11771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11772 for as_dir in $PATH
11773 do
11774   IFS=$as_save_IFS
11775   case $as_dir in #(((
11776     '') as_dir=./ ;;
11777     */) ;;
11778     *) as_dir=$as_dir/ ;;
11779   esac
11780     for ac_exec_ext in '' $ac_executable_extensions; do
11781   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11782     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
11783     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11784     break 2
11785   fi
11786 done
11787   done
11788 IFS=$as_save_IFS
11789
11790 fi
11791 fi
11792 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11793 if test -n "$DSYMUTIL"; then
11794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
11795 printf "%s\n" "$DSYMUTIL" >&6; }
11796 else
11797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11798 printf "%s\n" "no" >&6; }
11799 fi
11800
11801
11802 fi
11803 if test -z "$ac_cv_prog_DSYMUTIL"; then
11804   ac_ct_DSYMUTIL=$DSYMUTIL
11805   # Extract the first word of "dsymutil", so it can be a program name with args.
11806 set dummy dsymutil; ac_word=$2
11807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11808 printf %s "checking for $ac_word... " >&6; }
11809 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
11810 then :
11811   printf %s "(cached) " >&6
11812 else $as_nop
11813   if test -n "$ac_ct_DSYMUTIL"; then
11814   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
11815 else
11816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11817 for as_dir in $PATH
11818 do
11819   IFS=$as_save_IFS
11820   case $as_dir in #(((
11821     '') as_dir=./ ;;
11822     */) ;;
11823     *) as_dir=$as_dir/ ;;
11824   esac
11825     for ac_exec_ext in '' $ac_executable_extensions; do
11826   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11827     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
11828     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11829     break 2
11830   fi
11831 done
11832   done
11833 IFS=$as_save_IFS
11834
11835 fi
11836 fi
11837 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
11838 if test -n "$ac_ct_DSYMUTIL"; then
11839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
11840 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
11841 else
11842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11843 printf "%s\n" "no" >&6; }
11844 fi
11845
11846   if test "x$ac_ct_DSYMUTIL" = x; then
11847     DSYMUTIL=":"
11848   else
11849     case $cross_compiling:$ac_tool_warned in
11850 yes:)
11851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11852 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11853 ac_tool_warned=yes ;;
11854 esac
11855     DSYMUTIL=$ac_ct_DSYMUTIL
11856   fi
11857 else
11858   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
11859 fi
11860
11861     if test -n "$ac_tool_prefix"; then
11862   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
11863 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11865 printf %s "checking for $ac_word... " >&6; }
11866 if test ${ac_cv_prog_NMEDIT+y}
11867 then :
11868   printf %s "(cached) " >&6
11869 else $as_nop
11870   if test -n "$NMEDIT"; then
11871   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
11872 else
11873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11874 for as_dir in $PATH
11875 do
11876   IFS=$as_save_IFS
11877   case $as_dir in #(((
11878     '') as_dir=./ ;;
11879     */) ;;
11880     *) as_dir=$as_dir/ ;;
11881   esac
11882     for ac_exec_ext in '' $ac_executable_extensions; do
11883   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11884     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
11885     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11886     break 2
11887   fi
11888 done
11889   done
11890 IFS=$as_save_IFS
11891
11892 fi
11893 fi
11894 NMEDIT=$ac_cv_prog_NMEDIT
11895 if test -n "$NMEDIT"; then
11896   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
11897 printf "%s\n" "$NMEDIT" >&6; }
11898 else
11899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 printf "%s\n" "no" >&6; }
11901 fi
11902
11903
11904 fi
11905 if test -z "$ac_cv_prog_NMEDIT"; then
11906   ac_ct_NMEDIT=$NMEDIT
11907   # Extract the first word of "nmedit", so it can be a program name with args.
11908 set dummy nmedit; ac_word=$2
11909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11910 printf %s "checking for $ac_word... " >&6; }
11911 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
11912 then :
11913   printf %s "(cached) " >&6
11914 else $as_nop
11915   if test -n "$ac_ct_NMEDIT"; then
11916   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
11917 else
11918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11919 for as_dir in $PATH
11920 do
11921   IFS=$as_save_IFS
11922   case $as_dir in #(((
11923     '') as_dir=./ ;;
11924     */) ;;
11925     *) as_dir=$as_dir/ ;;
11926   esac
11927     for ac_exec_ext in '' $ac_executable_extensions; do
11928   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11929     ac_cv_prog_ac_ct_NMEDIT="nmedit"
11930     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11931     break 2
11932   fi
11933 done
11934   done
11935 IFS=$as_save_IFS
11936
11937 fi
11938 fi
11939 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
11940 if test -n "$ac_ct_NMEDIT"; then
11941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
11942 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
11943 else
11944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11945 printf "%s\n" "no" >&6; }
11946 fi
11947
11948   if test "x$ac_ct_NMEDIT" = x; then
11949     NMEDIT=":"
11950   else
11951     case $cross_compiling:$ac_tool_warned in
11952 yes:)
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11954 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11955 ac_tool_warned=yes ;;
11956 esac
11957     NMEDIT=$ac_ct_NMEDIT
11958   fi
11959 else
11960   NMEDIT="$ac_cv_prog_NMEDIT"
11961 fi
11962
11963     if test -n "$ac_tool_prefix"; then
11964   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
11965 set dummy ${ac_tool_prefix}lipo; ac_word=$2
11966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11967 printf %s "checking for $ac_word... " >&6; }
11968 if test ${ac_cv_prog_LIPO+y}
11969 then :
11970   printf %s "(cached) " >&6
11971 else $as_nop
11972   if test -n "$LIPO"; then
11973   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11974 else
11975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11976 for as_dir in $PATH
11977 do
11978   IFS=$as_save_IFS
11979   case $as_dir in #(((
11980     '') as_dir=./ ;;
11981     */) ;;
11982     *) as_dir=$as_dir/ ;;
11983   esac
11984     for ac_exec_ext in '' $ac_executable_extensions; do
11985   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11986     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
11987     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11988     break 2
11989   fi
11990 done
11991   done
11992 IFS=$as_save_IFS
11993
11994 fi
11995 fi
11996 LIPO=$ac_cv_prog_LIPO
11997 if test -n "$LIPO"; then
11998   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
11999 printf "%s\n" "$LIPO" >&6; }
12000 else
12001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12002 printf "%s\n" "no" >&6; }
12003 fi
12004
12005
12006 fi
12007 if test -z "$ac_cv_prog_LIPO"; then
12008   ac_ct_LIPO=$LIPO
12009   # Extract the first word of "lipo", so it can be a program name with args.
12010 set dummy lipo; ac_word=$2
12011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12012 printf %s "checking for $ac_word... " >&6; }
12013 if test ${ac_cv_prog_ac_ct_LIPO+y}
12014 then :
12015   printf %s "(cached) " >&6
12016 else $as_nop
12017   if test -n "$ac_ct_LIPO"; then
12018   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
12019 else
12020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12021 for as_dir in $PATH
12022 do
12023   IFS=$as_save_IFS
12024   case $as_dir in #(((
12025     '') as_dir=./ ;;
12026     */) ;;
12027     *) as_dir=$as_dir/ ;;
12028   esac
12029     for ac_exec_ext in '' $ac_executable_extensions; do
12030   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12031     ac_cv_prog_ac_ct_LIPO="lipo"
12032     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12033     break 2
12034   fi
12035 done
12036   done
12037 IFS=$as_save_IFS
12038
12039 fi
12040 fi
12041 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
12042 if test -n "$ac_ct_LIPO"; then
12043   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
12044 printf "%s\n" "$ac_ct_LIPO" >&6; }
12045 else
12046   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12047 printf "%s\n" "no" >&6; }
12048 fi
12049
12050   if test "x$ac_ct_LIPO" = x; then
12051     LIPO=":"
12052   else
12053     case $cross_compiling:$ac_tool_warned in
12054 yes:)
12055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12056 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12057 ac_tool_warned=yes ;;
12058 esac
12059     LIPO=$ac_ct_LIPO
12060   fi
12061 else
12062   LIPO="$ac_cv_prog_LIPO"
12063 fi
12064
12065     if test -n "$ac_tool_prefix"; then
12066   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
12067 set dummy ${ac_tool_prefix}otool; ac_word=$2
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12069 printf %s "checking for $ac_word... " >&6; }
12070 if test ${ac_cv_prog_OTOOL+y}
12071 then :
12072   printf %s "(cached) " >&6
12073 else $as_nop
12074   if test -n "$OTOOL"; then
12075   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12076 else
12077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12078 for as_dir in $PATH
12079 do
12080   IFS=$as_save_IFS
12081   case $as_dir in #(((
12082     '') as_dir=./ ;;
12083     */) ;;
12084     *) as_dir=$as_dir/ ;;
12085   esac
12086     for ac_exec_ext in '' $ac_executable_extensions; do
12087   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12088     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
12089     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12090     break 2
12091   fi
12092 done
12093   done
12094 IFS=$as_save_IFS
12095
12096 fi
12097 fi
12098 OTOOL=$ac_cv_prog_OTOOL
12099 if test -n "$OTOOL"; then
12100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
12101 printf "%s\n" "$OTOOL" >&6; }
12102 else
12103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12104 printf "%s\n" "no" >&6; }
12105 fi
12106
12107
12108 fi
12109 if test -z "$ac_cv_prog_OTOOL"; then
12110   ac_ct_OTOOL=$OTOOL
12111   # Extract the first word of "otool", so it can be a program name with args.
12112 set dummy otool; ac_word=$2
12113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12114 printf %s "checking for $ac_word... " >&6; }
12115 if test ${ac_cv_prog_ac_ct_OTOOL+y}
12116 then :
12117   printf %s "(cached) " >&6
12118 else $as_nop
12119   if test -n "$ac_ct_OTOOL"; then
12120   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
12121 else
12122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12123 for as_dir in $PATH
12124 do
12125   IFS=$as_save_IFS
12126   case $as_dir in #(((
12127     '') as_dir=./ ;;
12128     */) ;;
12129     *) as_dir=$as_dir/ ;;
12130   esac
12131     for ac_exec_ext in '' $ac_executable_extensions; do
12132   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12133     ac_cv_prog_ac_ct_OTOOL="otool"
12134     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12135     break 2
12136   fi
12137 done
12138   done
12139 IFS=$as_save_IFS
12140
12141 fi
12142 fi
12143 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
12144 if test -n "$ac_ct_OTOOL"; then
12145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
12146 printf "%s\n" "$ac_ct_OTOOL" >&6; }
12147 else
12148   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12149 printf "%s\n" "no" >&6; }
12150 fi
12151
12152   if test "x$ac_ct_OTOOL" = x; then
12153     OTOOL=":"
12154   else
12155     case $cross_compiling:$ac_tool_warned in
12156 yes:)
12157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12158 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12159 ac_tool_warned=yes ;;
12160 esac
12161     OTOOL=$ac_ct_OTOOL
12162   fi
12163 else
12164   OTOOL="$ac_cv_prog_OTOOL"
12165 fi
12166
12167     if test -n "$ac_tool_prefix"; then
12168   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
12169 set dummy ${ac_tool_prefix}otool64; ac_word=$2
12170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12171 printf %s "checking for $ac_word... " >&6; }
12172 if test ${ac_cv_prog_OTOOL64+y}
12173 then :
12174   printf %s "(cached) " >&6
12175 else $as_nop
12176   if test -n "$OTOOL64"; then
12177   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
12178 else
12179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12180 for as_dir in $PATH
12181 do
12182   IFS=$as_save_IFS
12183   case $as_dir in #(((
12184     '') as_dir=./ ;;
12185     */) ;;
12186     *) as_dir=$as_dir/ ;;
12187   esac
12188     for ac_exec_ext in '' $ac_executable_extensions; do
12189   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12190     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
12191     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12192     break 2
12193   fi
12194 done
12195   done
12196 IFS=$as_save_IFS
12197
12198 fi
12199 fi
12200 OTOOL64=$ac_cv_prog_OTOOL64
12201 if test -n "$OTOOL64"; then
12202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
12203 printf "%s\n" "$OTOOL64" >&6; }
12204 else
12205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12206 printf "%s\n" "no" >&6; }
12207 fi
12208
12209
12210 fi
12211 if test -z "$ac_cv_prog_OTOOL64"; then
12212   ac_ct_OTOOL64=$OTOOL64
12213   # Extract the first word of "otool64", so it can be a program name with args.
12214 set dummy otool64; ac_word=$2
12215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12216 printf %s "checking for $ac_word... " >&6; }
12217 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
12218 then :
12219   printf %s "(cached) " >&6
12220 else $as_nop
12221   if test -n "$ac_ct_OTOOL64"; then
12222   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
12223 else
12224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12225 for as_dir in $PATH
12226 do
12227   IFS=$as_save_IFS
12228   case $as_dir in #(((
12229     '') as_dir=./ ;;
12230     */) ;;
12231     *) as_dir=$as_dir/ ;;
12232   esac
12233     for ac_exec_ext in '' $ac_executable_extensions; do
12234   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12235     ac_cv_prog_ac_ct_OTOOL64="otool64"
12236     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12237     break 2
12238   fi
12239 done
12240   done
12241 IFS=$as_save_IFS
12242
12243 fi
12244 fi
12245 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
12246 if test -n "$ac_ct_OTOOL64"; then
12247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
12248 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
12249 else
12250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12251 printf "%s\n" "no" >&6; }
12252 fi
12253
12254   if test "x$ac_ct_OTOOL64" = x; then
12255     OTOOL64=":"
12256   else
12257     case $cross_compiling:$ac_tool_warned in
12258 yes:)
12259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12260 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12261 ac_tool_warned=yes ;;
12262 esac
12263     OTOOL64=$ac_ct_OTOOL64
12264   fi
12265 else
12266   OTOOL64="$ac_cv_prog_OTOOL64"
12267 fi
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
12296 printf %s "checking for -single_module linker flag... " >&6; }
12297 if test ${lt_cv_apple_cc_single_mod+y}
12298 then :
12299   printf %s "(cached) " >&6
12300 else $as_nop
12301   lt_cv_apple_cc_single_mod=no
12302       if test -z "$LT_MULTI_MODULE"; then
12303         # By default we will add the -single_module flag. You can override
12304         # by either setting the environment variable LT_MULTI_MODULE
12305         # non-empty at configure time, or by adding -multi_module to the
12306         # link flags.
12307         rm -rf libconftest.dylib*
12308         echo "int foo(void){return 1;}" > conftest.c
12309         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12310 -dynamiclib -Wl,-single_module conftest.c" >&5
12311         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12312           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
12313         _lt_result=$?
12314         # If there is a non-empty error log, and "single_module"
12315         # appears in it, assume the flag caused a linker warning
12316         if test -s conftest.err && $GREP single_module conftest.err; then
12317           cat conftest.err >&5
12318         # Otherwise, if the output was created with a 0 exit code from
12319         # the compiler, it worked.
12320         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
12321           lt_cv_apple_cc_single_mod=yes
12322         else
12323           cat conftest.err >&5
12324         fi
12325         rm -rf libconftest.dylib*
12326         rm -f conftest.*
12327       fi
12328 fi
12329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
12330 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
12331
12332     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
12333 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
12334 if test ${lt_cv_ld_exported_symbols_list+y}
12335 then :
12336   printf %s "(cached) " >&6
12337 else $as_nop
12338   lt_cv_ld_exported_symbols_list=no
12339       save_LDFLAGS=$LDFLAGS
12340       echo "_main" > conftest.sym
12341       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
12342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h.  */
12344
12345 int
12346 main (void)
12347 {
12348
12349   ;
12350   return 0;
12351 }
12352 _ACEOF
12353 if ac_fn_c_try_link "$LINENO"
12354 then :
12355   lt_cv_ld_exported_symbols_list=yes
12356 else $as_nop
12357   lt_cv_ld_exported_symbols_list=no
12358 fi
12359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12360     conftest$ac_exeext conftest.$ac_ext
12361         LDFLAGS=$save_LDFLAGS
12362
12363 fi
12364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
12365 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
12366
12367     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
12368 printf %s "checking for -force_load linker flag... " >&6; }
12369 if test ${lt_cv_ld_force_load+y}
12370 then :
12371   printf %s "(cached) " >&6
12372 else $as_nop
12373   lt_cv_ld_force_load=no
12374       cat > conftest.c << _LT_EOF
12375 int forced_loaded() { return 2;}
12376 _LT_EOF
12377       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
12378       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
12379       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
12380       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
12381       echo "$RANLIB libconftest.a" >&5
12382       $RANLIB libconftest.a 2>&5
12383       cat > conftest.c << _LT_EOF
12384 int main() { return 0;}
12385 _LT_EOF
12386       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
12387       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
12388       _lt_result=$?
12389       if test -s conftest.err && $GREP force_load conftest.err; then
12390         cat conftest.err >&5
12391       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
12392         lt_cv_ld_force_load=yes
12393       else
12394         cat conftest.err >&5
12395       fi
12396         rm -f conftest.err libconftest.a conftest conftest.c
12397         rm -rf conftest.dSYM
12398
12399 fi
12400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
12401 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
12402     case $host_os in
12403     rhapsody* | darwin1.[012])
12404       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
12405     darwin1.*)
12406       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
12407     darwin*)
12408       case $MACOSX_DEPLOYMENT_TARGET,$host in
12409         10.[012],*|,*powerpc*-darwin[5-8]*)
12410           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
12411         *)
12412           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
12413       esac
12414     ;;
12415   esac
12416     if test yes = "$lt_cv_apple_cc_single_mod"; then
12417       _lt_dar_single_mod='$single_module'
12418     fi
12419     if test yes = "$lt_cv_ld_exported_symbols_list"; then
12420       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
12421     else
12422       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
12423     fi
12424     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
12425       _lt_dsymutil='~$DSYMUTIL $lib || :'
12426     else
12427       _lt_dsymutil=
12428     fi
12429     ;;
12430   esac
12431
12432 # func_munge_path_list VARIABLE PATH
12433 # -----------------------------------
12434 # VARIABLE is name of variable containing _space_ separated list of
12435 # directories to be munged by the contents of PATH, which is string
12436 # having a format:
12437 # "DIR[:DIR]:"
12438 #       string "DIR[ DIR]" will be prepended to VARIABLE
12439 # ":DIR[:DIR]"
12440 #       string "DIR[ DIR]" will be appended to VARIABLE
12441 # "DIRP[:DIRP]::[DIRA:]DIRA"
12442 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
12443 #       "DIRA[ DIRA]" will be appended to VARIABLE
12444 # "DIR[:DIR]"
12445 #       VARIABLE will be replaced by "DIR[ DIR]"
12446 func_munge_path_list ()
12447 {
12448     case x$2 in
12449     x)
12450         ;;
12451     *:)
12452         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
12453         ;;
12454     x:*)
12455         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
12456         ;;
12457     *::*)
12458         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
12459         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
12460         ;;
12461     *)
12462         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
12463         ;;
12464     esac
12465 }
12466
12467 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
12468 "
12469 if test "x$ac_cv_header_dlfcn_h" = xyes
12470 then :
12471   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
12472
12473 fi
12474
12475
12476
12477 func_stripname_cnf ()
12478 {
12479   case $2 in
12480   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
12481   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
12482   esac
12483 } # func_stripname_cnf
12484
12485
12486
12487
12488
12489 # Set options
12490 # Check whether --enable-static was given.
12491 if test ${enable_static+y}
12492 then :
12493   enableval=$enable_static; p=${PACKAGE-default}
12494     case $enableval in
12495     yes) enable_static=yes ;;
12496     no) enable_static=no ;;
12497     *)
12498      enable_static=no
12499       # Look at the argument we got.  We use all the common list separators.
12500       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
12501       for pkg in $enableval; do
12502         IFS=$lt_save_ifs
12503         if test "X$pkg" = "X$p"; then
12504           enable_static=yes
12505         fi
12506       done
12507       IFS=$lt_save_ifs
12508       ;;
12509     esac
12510 else $as_nop
12511   enable_static=no
12512 fi
12513
12514
12515
12516
12517
12518
12519
12520 enable_win32_dll=yes
12521
12522 case $host in
12523 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
12524   if test -n "$ac_tool_prefix"; then
12525   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
12526 set dummy ${ac_tool_prefix}as; ac_word=$2
12527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12528 printf %s "checking for $ac_word... " >&6; }
12529 if test ${ac_cv_prog_AS+y}
12530 then :
12531   printf %s "(cached) " >&6
12532 else $as_nop
12533   if test -n "$AS"; then
12534   ac_cv_prog_AS="$AS" # Let the user override the test.
12535 else
12536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12537 for as_dir in $PATH
12538 do
12539   IFS=$as_save_IFS
12540   case $as_dir in #(((
12541     '') as_dir=./ ;;
12542     */) ;;
12543     *) as_dir=$as_dir/ ;;
12544   esac
12545     for ac_exec_ext in '' $ac_executable_extensions; do
12546   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12547     ac_cv_prog_AS="${ac_tool_prefix}as"
12548     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12549     break 2
12550   fi
12551 done
12552   done
12553 IFS=$as_save_IFS
12554
12555 fi
12556 fi
12557 AS=$ac_cv_prog_AS
12558 if test -n "$AS"; then
12559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
12560 printf "%s\n" "$AS" >&6; }
12561 else
12562   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12563 printf "%s\n" "no" >&6; }
12564 fi
12565
12566
12567 fi
12568 if test -z "$ac_cv_prog_AS"; then
12569   ac_ct_AS=$AS
12570   # Extract the first word of "as", so it can be a program name with args.
12571 set dummy as; ac_word=$2
12572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12573 printf %s "checking for $ac_word... " >&6; }
12574 if test ${ac_cv_prog_ac_ct_AS+y}
12575 then :
12576   printf %s "(cached) " >&6
12577 else $as_nop
12578   if test -n "$ac_ct_AS"; then
12579   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
12580 else
12581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12582 for as_dir in $PATH
12583 do
12584   IFS=$as_save_IFS
12585   case $as_dir in #(((
12586     '') as_dir=./ ;;
12587     */) ;;
12588     *) as_dir=$as_dir/ ;;
12589   esac
12590     for ac_exec_ext in '' $ac_executable_extensions; do
12591   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12592     ac_cv_prog_ac_ct_AS="as"
12593     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12594     break 2
12595   fi
12596 done
12597   done
12598 IFS=$as_save_IFS
12599
12600 fi
12601 fi
12602 ac_ct_AS=$ac_cv_prog_ac_ct_AS
12603 if test -n "$ac_ct_AS"; then
12604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
12605 printf "%s\n" "$ac_ct_AS" >&6; }
12606 else
12607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12608 printf "%s\n" "no" >&6; }
12609 fi
12610
12611   if test "x$ac_ct_AS" = x; then
12612     AS="false"
12613   else
12614     case $cross_compiling:$ac_tool_warned in
12615 yes:)
12616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12617 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12618 ac_tool_warned=yes ;;
12619 esac
12620     AS=$ac_ct_AS
12621   fi
12622 else
12623   AS="$ac_cv_prog_AS"
12624 fi
12625
12626   if test -n "$ac_tool_prefix"; then
12627   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12628 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12630 printf %s "checking for $ac_word... " >&6; }
12631 if test ${ac_cv_prog_DLLTOOL+y}
12632 then :
12633   printf %s "(cached) " >&6
12634 else $as_nop
12635   if test -n "$DLLTOOL"; then
12636   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12637 else
12638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12639 for as_dir in $PATH
12640 do
12641   IFS=$as_save_IFS
12642   case $as_dir in #(((
12643     '') as_dir=./ ;;
12644     */) ;;
12645     *) as_dir=$as_dir/ ;;
12646   esac
12647     for ac_exec_ext in '' $ac_executable_extensions; do
12648   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12649     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12650     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12651     break 2
12652   fi
12653 done
12654   done
12655 IFS=$as_save_IFS
12656
12657 fi
12658 fi
12659 DLLTOOL=$ac_cv_prog_DLLTOOL
12660 if test -n "$DLLTOOL"; then
12661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
12662 printf "%s\n" "$DLLTOOL" >&6; }
12663 else
12664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12665 printf "%s\n" "no" >&6; }
12666 fi
12667
12668
12669 fi
12670 if test -z "$ac_cv_prog_DLLTOOL"; then
12671   ac_ct_DLLTOOL=$DLLTOOL
12672   # Extract the first word of "dlltool", so it can be a program name with args.
12673 set dummy dlltool; ac_word=$2
12674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12675 printf %s "checking for $ac_word... " >&6; }
12676 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
12677 then :
12678   printf %s "(cached) " >&6
12679 else $as_nop
12680   if test -n "$ac_ct_DLLTOOL"; then
12681   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12682 else
12683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12684 for as_dir in $PATH
12685 do
12686   IFS=$as_save_IFS
12687   case $as_dir in #(((
12688     '') as_dir=./ ;;
12689     */) ;;
12690     *) as_dir=$as_dir/ ;;
12691   esac
12692     for ac_exec_ext in '' $ac_executable_extensions; do
12693   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12694     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12695     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12696     break 2
12697   fi
12698 done
12699   done
12700 IFS=$as_save_IFS
12701
12702 fi
12703 fi
12704 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12705 if test -n "$ac_ct_DLLTOOL"; then
12706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
12707 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
12708 else
12709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12710 printf "%s\n" "no" >&6; }
12711 fi
12712
12713   if test "x$ac_ct_DLLTOOL" = x; then
12714     DLLTOOL="false"
12715   else
12716     case $cross_compiling:$ac_tool_warned in
12717 yes:)
12718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12719 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12720 ac_tool_warned=yes ;;
12721 esac
12722     DLLTOOL=$ac_ct_DLLTOOL
12723   fi
12724 else
12725   DLLTOOL="$ac_cv_prog_DLLTOOL"
12726 fi
12727
12728   if test -n "$ac_tool_prefix"; then
12729   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
12730 set dummy ${ac_tool_prefix}objdump; ac_word=$2
12731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12732 printf %s "checking for $ac_word... " >&6; }
12733 if test ${ac_cv_prog_OBJDUMP+y}
12734 then :
12735   printf %s "(cached) " >&6
12736 else $as_nop
12737   if test -n "$OBJDUMP"; then
12738   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12739 else
12740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12741 for as_dir in $PATH
12742 do
12743   IFS=$as_save_IFS
12744   case $as_dir in #(((
12745     '') as_dir=./ ;;
12746     */) ;;
12747     *) as_dir=$as_dir/ ;;
12748   esac
12749     for ac_exec_ext in '' $ac_executable_extensions; do
12750   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12751     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
12752     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12753     break 2
12754   fi
12755 done
12756   done
12757 IFS=$as_save_IFS
12758
12759 fi
12760 fi
12761 OBJDUMP=$ac_cv_prog_OBJDUMP
12762 if test -n "$OBJDUMP"; then
12763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
12764 printf "%s\n" "$OBJDUMP" >&6; }
12765 else
12766   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12767 printf "%s\n" "no" >&6; }
12768 fi
12769
12770
12771 fi
12772 if test -z "$ac_cv_prog_OBJDUMP"; then
12773   ac_ct_OBJDUMP=$OBJDUMP
12774   # Extract the first word of "objdump", so it can be a program name with args.
12775 set dummy objdump; ac_word=$2
12776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12777 printf %s "checking for $ac_word... " >&6; }
12778 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
12779 then :
12780   printf %s "(cached) " >&6
12781 else $as_nop
12782   if test -n "$ac_ct_OBJDUMP"; then
12783   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
12784 else
12785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12786 for as_dir in $PATH
12787 do
12788   IFS=$as_save_IFS
12789   case $as_dir in #(((
12790     '') as_dir=./ ;;
12791     */) ;;
12792     *) as_dir=$as_dir/ ;;
12793   esac
12794     for ac_exec_ext in '' $ac_executable_extensions; do
12795   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12796     ac_cv_prog_ac_ct_OBJDUMP="objdump"
12797     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12798     break 2
12799   fi
12800 done
12801   done
12802 IFS=$as_save_IFS
12803
12804 fi
12805 fi
12806 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
12807 if test -n "$ac_ct_OBJDUMP"; then
12808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
12809 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
12810 else
12811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12812 printf "%s\n" "no" >&6; }
12813 fi
12814
12815   if test "x$ac_ct_OBJDUMP" = x; then
12816     OBJDUMP="false"
12817   else
12818     case $cross_compiling:$ac_tool_warned in
12819 yes:)
12820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12821 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12822 ac_tool_warned=yes ;;
12823 esac
12824     OBJDUMP=$ac_ct_OBJDUMP
12825   fi
12826 else
12827   OBJDUMP="$ac_cv_prog_OBJDUMP"
12828 fi
12829
12830   ;;
12831 esac
12832
12833 test -z "$AS" && AS=as
12834
12835
12836
12837
12838
12839 test -z "$DLLTOOL" && DLLTOOL=dlltool
12840
12841
12842
12843
12844
12845 test -z "$OBJDUMP" && OBJDUMP=objdump
12846
12847
12848
12849
12850
12851
12852
12853         enable_dlopen=no
12854
12855
12856
12857             # Check whether --enable-shared was given.
12858 if test ${enable_shared+y}
12859 then :
12860   enableval=$enable_shared; p=${PACKAGE-default}
12861     case $enableval in
12862     yes) enable_shared=yes ;;
12863     no) enable_shared=no ;;
12864     *)
12865       enable_shared=no
12866       # Look at the argument we got.  We use all the common list separators.
12867       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
12868       for pkg in $enableval; do
12869         IFS=$lt_save_ifs
12870         if test "X$pkg" = "X$p"; then
12871           enable_shared=yes
12872         fi
12873       done
12874       IFS=$lt_save_ifs
12875       ;;
12876     esac
12877 else $as_nop
12878   enable_shared=yes
12879 fi
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891 # Check whether --with-pic was given.
12892 if test ${with_pic+y}
12893 then :
12894   withval=$with_pic; lt_p=${PACKAGE-default}
12895     case $withval in
12896     yes|no) pic_mode=$withval ;;
12897     *)
12898       pic_mode=default
12899       # Look at the argument we got.  We use all the common list separators.
12900       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
12901       for lt_pkg in $withval; do
12902         IFS=$lt_save_ifs
12903         if test "X$lt_pkg" = "X$lt_p"; then
12904           pic_mode=yes
12905         fi
12906       done
12907       IFS=$lt_save_ifs
12908       ;;
12909     esac
12910 else $as_nop
12911   pic_mode=default
12912 fi
12913
12914
12915
12916
12917
12918
12919
12920
12921   # Check whether --enable-fast-install was given.
12922 if test ${enable_fast_install+y}
12923 then :
12924   enableval=$enable_fast_install; p=${PACKAGE-default}
12925     case $enableval in
12926     yes) enable_fast_install=yes ;;
12927     no) enable_fast_install=no ;;
12928     *)
12929       enable_fast_install=no
12930       # Look at the argument we got.  We use all the common list separators.
12931       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
12932       for pkg in $enableval; do
12933         IFS=$lt_save_ifs
12934         if test "X$pkg" = "X$p"; then
12935           enable_fast_install=yes
12936         fi
12937       done
12938       IFS=$lt_save_ifs
12939       ;;
12940     esac
12941 else $as_nop
12942   enable_fast_install=yes
12943 fi
12944
12945
12946
12947
12948
12949
12950
12951
12952   shared_archive_member_spec=
12953 case $host,$enable_shared in
12954 power*-*-aix[5-9]*,yes)
12955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
12956 printf %s "checking which variant of shared library versioning to provide... " >&6; }
12957
12958 # Check whether --with-aix-soname was given.
12959 if test ${with_aix_soname+y}
12960 then :
12961   withval=$with_aix_soname; case $withval in
12962     aix|svr4|both)
12963       ;;
12964     *)
12965       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
12966       ;;
12967     esac
12968     lt_cv_with_aix_soname=$with_aix_soname
12969 else $as_nop
12970   if test ${lt_cv_with_aix_soname+y}
12971 then :
12972   printf %s "(cached) " >&6
12973 else $as_nop
12974   lt_cv_with_aix_soname=aix
12975 fi
12976
12977     with_aix_soname=$lt_cv_with_aix_soname
12978 fi
12979
12980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
12981 printf "%s\n" "$with_aix_soname" >&6; }
12982   if test aix != "$with_aix_soname"; then
12983     # For the AIX way of multilib, we name the shared archive member
12984     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
12985     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
12986     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
12987     # the AIX toolchain works better with OBJECT_MODE set (default 32).
12988     if test 64 = "${OBJECT_MODE-32}"; then
12989       shared_archive_member_spec=shr_64
12990     else
12991       shared_archive_member_spec=shr
12992     fi
12993   fi
12994   ;;
12995 *)
12996   with_aix_soname=aix
12997   ;;
12998 esac
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009 # This can be used to rebuild libtool when needed
13010 LIBTOOL_DEPS=$ltmain
13011
13012 # Always use our own libtool.
13013 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044 test -z "$LN_S" && LN_S="ln -s"
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059 if test -n "${ZSH_VERSION+set}"; then
13060    setopt NO_GLOB_SUBST
13061 fi
13062
13063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
13064 printf %s "checking for objdir... " >&6; }
13065 if test ${lt_cv_objdir+y}
13066 then :
13067   printf %s "(cached) " >&6
13068 else $as_nop
13069   rm -f .libs 2>/dev/null
13070 mkdir .libs 2>/dev/null
13071 if test -d .libs; then
13072   lt_cv_objdir=.libs
13073 else
13074   # MS-DOS does not allow filenames that begin with a dot.
13075   lt_cv_objdir=_libs
13076 fi
13077 rmdir .libs 2>/dev/null
13078 fi
13079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
13080 printf "%s\n" "$lt_cv_objdir" >&6; }
13081 objdir=$lt_cv_objdir
13082
13083
13084
13085
13086
13087 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
13088
13089
13090
13091
13092 case $host_os in
13093 aix3*)
13094   # AIX sometimes has problems with the GCC collect2 program.  For some
13095   # reason, if we set the COLLECT_NAMES environment variable, the problems
13096   # vanish in a puff of smoke.
13097   if test set != "${COLLECT_NAMES+set}"; then
13098     COLLECT_NAMES=
13099     export COLLECT_NAMES
13100   fi
13101   ;;
13102 esac
13103
13104 # Global variables:
13105 ofile=libtool
13106 can_build_shared=yes
13107
13108 # All known linkers require a '.a' archive for static linking (except MSVC and
13109 # ICC, which need '.lib').
13110 libext=a
13111
13112 with_gnu_ld=$lt_cv_prog_gnu_ld
13113
13114 old_CC=$CC
13115 old_CFLAGS=$CFLAGS
13116
13117 # Set sane defaults for various variables
13118 test -z "$CC" && CC=cc
13119 test -z "$LTCC" && LTCC=$CC
13120 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
13121 test -z "$LD" && LD=ld
13122 test -z "$ac_objext" && ac_objext=o
13123
13124 func_cc_basename $compiler
13125 cc_basename=$func_cc_basename_result
13126
13127
13128 # Only perform the check for file, if the check method requires it
13129 test -z "$MAGIC_CMD" && MAGIC_CMD=file
13130 case $deplibs_check_method in
13131 file_magic*)
13132   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
13133     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
13134 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
13135 if test ${lt_cv_path_MAGIC_CMD+y}
13136 then :
13137   printf %s "(cached) " >&6
13138 else $as_nop
13139   case $MAGIC_CMD in
13140 [\\/*] |  ?:[\\/]*)
13141   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
13142   ;;
13143 *)
13144   lt_save_MAGIC_CMD=$MAGIC_CMD
13145   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13146   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13147   for ac_dir in $ac_dummy; do
13148     IFS=$lt_save_ifs
13149     test -z "$ac_dir" && ac_dir=.
13150     if test -f "$ac_dir/${ac_tool_prefix}file"; then
13151       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
13152       if test -n "$file_magic_test_file"; then
13153         case $deplibs_check_method in
13154         "file_magic "*)
13155           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13156           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13157           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13158             $EGREP "$file_magic_regex" > /dev/null; then
13159             :
13160           else
13161             cat <<_LT_EOF 1>&2
13162
13163 *** Warning: the command libtool uses to detect shared libraries,
13164 *** $file_magic_cmd, produces output that libtool cannot recognize.
13165 *** The result is that libtool may fail to recognize shared libraries
13166 *** as such.  This will affect the creation of libtool libraries that
13167 *** depend on shared libraries, but programs linked with such libtool
13168 *** libraries will work regardless of this problem.  Nevertheless, you
13169 *** may want to report the problem to your system manager and/or to
13170 *** bug-libtool@gnu.org
13171
13172 _LT_EOF
13173           fi ;;
13174         esac
13175       fi
13176       break
13177     fi
13178   done
13179   IFS=$lt_save_ifs
13180   MAGIC_CMD=$lt_save_MAGIC_CMD
13181   ;;
13182 esac
13183 fi
13184
13185 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13186 if test -n "$MAGIC_CMD"; then
13187   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
13188 printf "%s\n" "$MAGIC_CMD" >&6; }
13189 else
13190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13191 printf "%s\n" "no" >&6; }
13192 fi
13193
13194
13195
13196
13197
13198 if test -z "$lt_cv_path_MAGIC_CMD"; then
13199   if test -n "$ac_tool_prefix"; then
13200     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
13201 printf %s "checking for file... " >&6; }
13202 if test ${lt_cv_path_MAGIC_CMD+y}
13203 then :
13204   printf %s "(cached) " >&6
13205 else $as_nop
13206   case $MAGIC_CMD in
13207 [\\/*] |  ?:[\\/]*)
13208   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
13209   ;;
13210 *)
13211   lt_save_MAGIC_CMD=$MAGIC_CMD
13212   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13213   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13214   for ac_dir in $ac_dummy; do
13215     IFS=$lt_save_ifs
13216     test -z "$ac_dir" && ac_dir=.
13217     if test -f "$ac_dir/file"; then
13218       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
13219       if test -n "$file_magic_test_file"; then
13220         case $deplibs_check_method in
13221         "file_magic "*)
13222           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13223           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13224           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13225             $EGREP "$file_magic_regex" > /dev/null; then
13226             :
13227           else
13228             cat <<_LT_EOF 1>&2
13229
13230 *** Warning: the command libtool uses to detect shared libraries,
13231 *** $file_magic_cmd, produces output that libtool cannot recognize.
13232 *** The result is that libtool may fail to recognize shared libraries
13233 *** as such.  This will affect the creation of libtool libraries that
13234 *** depend on shared libraries, but programs linked with such libtool
13235 *** libraries will work regardless of this problem.  Nevertheless, you
13236 *** may want to report the problem to your system manager and/or to
13237 *** bug-libtool@gnu.org
13238
13239 _LT_EOF
13240           fi ;;
13241         esac
13242       fi
13243       break
13244     fi
13245   done
13246   IFS=$lt_save_ifs
13247   MAGIC_CMD=$lt_save_MAGIC_CMD
13248   ;;
13249 esac
13250 fi
13251
13252 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13253 if test -n "$MAGIC_CMD"; then
13254   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
13255 printf "%s\n" "$MAGIC_CMD" >&6; }
13256 else
13257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13258 printf "%s\n" "no" >&6; }
13259 fi
13260
13261
13262   else
13263     MAGIC_CMD=:
13264   fi
13265 fi
13266
13267   fi
13268   ;;
13269 esac
13270
13271 # Use C for the default configuration in the libtool script
13272
13273 lt_save_CC=$CC
13274 ac_ext=c
13275 ac_cpp='$CPP $CPPFLAGS'
13276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13279
13280
13281 # Source file extension for C test sources.
13282 ac_ext=c
13283
13284 # Object file extension for compiled C test sources.
13285 objext=o
13286 objext=$objext
13287
13288 # Code to be used in simple compile tests
13289 lt_simple_compile_test_code="int some_variable = 0;"
13290
13291 # Code to be used in simple link tests
13292 lt_simple_link_test_code='int main(){return(0);}'
13293
13294
13295
13296
13297
13298
13299
13300 # If no C compiler was specified, use CC.
13301 LTCC=${LTCC-"$CC"}
13302
13303 # If no C compiler flags were specified, use CFLAGS.
13304 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13305
13306 # Allow CC to be a program name with arguments.
13307 compiler=$CC
13308
13309 # Save the default compiler, since it gets overwritten when the other
13310 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
13311 compiler_DEFAULT=$CC
13312
13313 # save warnings/boilerplate of simple test code
13314 ac_outfile=conftest.$ac_objext
13315 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13316 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13317 _lt_compiler_boilerplate=`cat conftest.err`
13318 $RM conftest*
13319
13320 ac_outfile=conftest.$ac_objext
13321 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13322 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13323 _lt_linker_boilerplate=`cat conftest.err`
13324 $RM -r conftest*
13325
13326
13327 ## CAVEAT EMPTOR:
13328 ## There is no encapsulation within the following macros, do not change
13329 ## the running order or otherwise move them around unless you know exactly
13330 ## what you are doing...
13331 if test -n "$compiler"; then
13332
13333 lt_prog_compiler_no_builtin_flag=
13334
13335 if test yes = "$GCC"; then
13336   case $cc_basename in
13337   nvcc*)
13338     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
13339   *)
13340     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
13341   esac
13342
13343   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
13344 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
13345 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
13346 then :
13347   printf %s "(cached) " >&6
13348 else $as_nop
13349   lt_cv_prog_compiler_rtti_exceptions=no
13350    ac_outfile=conftest.$ac_objext
13351    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13352    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
13353    # Insert the option either (1) after the last *FLAGS variable, or
13354    # (2) before a word containing "conftest.", or (3) at the end.
13355    # Note that $ac_compile itself does not contain backslashes and begins
13356    # with a dollar sign (not a hyphen), so the echo should work correctly.
13357    # The option is referenced via a variable to avoid confusing sed.
13358    lt_compile=`echo "$ac_compile" | $SED \
13359    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13360    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13361    -e 's:$: $lt_compiler_flag:'`
13362    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13363    (eval "$lt_compile" 2>conftest.err)
13364    ac_status=$?
13365    cat conftest.err >&5
13366    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367    if (exit $ac_status) && test -s "$ac_outfile"; then
13368      # The compiler can only warn and ignore the option if not recognized
13369      # So say no if there are warnings other than the usual output.
13370      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13371      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13372      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13373        lt_cv_prog_compiler_rtti_exceptions=yes
13374      fi
13375    fi
13376    $RM conftest*
13377
13378 fi
13379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13380 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
13381
13382 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
13383     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13384 else
13385     :
13386 fi
13387
13388 fi
13389
13390
13391
13392
13393
13394
13395   lt_prog_compiler_wl=
13396 lt_prog_compiler_pic=
13397 lt_prog_compiler_static=
13398
13399
13400   if test yes = "$GCC"; then
13401     lt_prog_compiler_wl='-Wl,'
13402     lt_prog_compiler_static='-static'
13403
13404     case $host_os in
13405       aix*)
13406       # All AIX code is PIC.
13407       if test ia64 = "$host_cpu"; then
13408         # AIX 5 now supports IA64 processor
13409         lt_prog_compiler_static='-Bstatic'
13410       fi
13411       lt_prog_compiler_pic='-fPIC'
13412       ;;
13413
13414     amigaos*)
13415       case $host_cpu in
13416       powerpc)
13417             # see comment about AmigaOS4 .so support
13418             lt_prog_compiler_pic='-fPIC'
13419         ;;
13420       m68k)
13421             # FIXME: we need at least 68020 code to build shared libraries, but
13422             # adding the '-m68020' flag to GCC prevents building anything better,
13423             # like '-m68040'.
13424             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13425         ;;
13426       esac
13427       ;;
13428
13429     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13430       # PIC is the default for these OSes.
13431       ;;
13432
13433     mingw* | cygwin* | pw32* | os2* | cegcc*)
13434       # This hack is so that the source file can tell whether it is being
13435       # built for inclusion in a dll (and should export symbols for example).
13436       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13437       # (--disable-auto-import) libraries
13438       lt_prog_compiler_pic='-DDLL_EXPORT'
13439       case $host_os in
13440       os2*)
13441         lt_prog_compiler_static='$wl-static'
13442         ;;
13443       esac
13444       ;;
13445
13446     darwin* | rhapsody*)
13447       # PIC is the default on this platform
13448       # Common symbols not allowed in MH_DYLIB files
13449       lt_prog_compiler_pic='-fno-common'
13450       ;;
13451
13452     haiku*)
13453       # PIC is the default for Haiku.
13454       # The "-static" flag exists, but is broken.
13455       lt_prog_compiler_static=
13456       ;;
13457
13458     hpux*)
13459       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13460       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13461       # sets the default TLS model and affects inlining.
13462       case $host_cpu in
13463       hppa*64*)
13464         # +Z the default
13465         ;;
13466       *)
13467         lt_prog_compiler_pic='-fPIC'
13468         ;;
13469       esac
13470       ;;
13471
13472     interix[3-9]*)
13473       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13474       # Instead, we relocate shared libraries at runtime.
13475       ;;
13476
13477     msdosdjgpp*)
13478       # Just because we use GCC doesn't mean we suddenly get shared libraries
13479       # on systems that don't support them.
13480       lt_prog_compiler_can_build_shared=no
13481       enable_shared=no
13482       ;;
13483
13484     *nto* | *qnx*)
13485       # QNX uses GNU C++, but need to define -shared option too, otherwise
13486       # it will coredump.
13487       lt_prog_compiler_pic='-fPIC -shared'
13488       ;;
13489
13490     sysv4*MP*)
13491       if test -d /usr/nec; then
13492         lt_prog_compiler_pic=-Kconform_pic
13493       fi
13494       ;;
13495
13496     *)
13497       lt_prog_compiler_pic='-fPIC'
13498       ;;
13499     esac
13500
13501     case $cc_basename in
13502     nvcc*) # Cuda Compiler Driver 2.2
13503       lt_prog_compiler_wl='-Xlinker '
13504       if test -n "$lt_prog_compiler_pic"; then
13505         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13506       fi
13507       ;;
13508     esac
13509   else
13510     # PORTME Check for flag to pass linker flags through the system compiler.
13511     case $host_os in
13512     aix*)
13513       lt_prog_compiler_wl='-Wl,'
13514       if test ia64 = "$host_cpu"; then
13515         # AIX 5 now supports IA64 processor
13516         lt_prog_compiler_static='-Bstatic'
13517       else
13518         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13519       fi
13520       ;;
13521
13522     darwin* | rhapsody*)
13523       # PIC is the default on this platform
13524       # Common symbols not allowed in MH_DYLIB files
13525       lt_prog_compiler_pic='-fno-common'
13526       case $cc_basename in
13527       nagfor*)
13528         # NAG Fortran compiler
13529         lt_prog_compiler_wl='-Wl,-Wl,,'
13530         lt_prog_compiler_pic='-PIC'
13531         lt_prog_compiler_static='-Bstatic'
13532         ;;
13533       esac
13534       ;;
13535
13536     mingw* | cygwin* | pw32* | os2* | cegcc*)
13537       # This hack is so that the source file can tell whether it is being
13538       # built for inclusion in a dll (and should export symbols for example).
13539       lt_prog_compiler_pic='-DDLL_EXPORT'
13540       case $host_os in
13541       os2*)
13542         lt_prog_compiler_static='$wl-static'
13543         ;;
13544       esac
13545       ;;
13546
13547     hpux9* | hpux10* | hpux11*)
13548       lt_prog_compiler_wl='-Wl,'
13549       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13550       # not for PA HP-UX.
13551       case $host_cpu in
13552       hppa*64*|ia64*)
13553         # +Z the default
13554         ;;
13555       *)
13556         lt_prog_compiler_pic='+Z'
13557         ;;
13558       esac
13559       # Is there a better lt_prog_compiler_static that works with the bundled CC?
13560       lt_prog_compiler_static='$wl-a ${wl}archive'
13561       ;;
13562
13563     irix5* | irix6* | nonstopux*)
13564       lt_prog_compiler_wl='-Wl,'
13565       # PIC (with -KPIC) is the default.
13566       lt_prog_compiler_static='-non_shared'
13567       ;;
13568
13569     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13570       case $cc_basename in
13571       # old Intel for x86_64, which still supported -KPIC.
13572       ecc*)
13573         lt_prog_compiler_wl='-Wl,'
13574         lt_prog_compiler_pic='-KPIC'
13575         lt_prog_compiler_static='-static'
13576         ;;
13577       # icc used to be incompatible with GCC.
13578       # ICC 10 doesn't accept -KPIC any more.
13579       icc* | ifort*)
13580         lt_prog_compiler_wl='-Wl,'
13581         lt_prog_compiler_pic='-fPIC'
13582         lt_prog_compiler_static='-static'
13583         ;;
13584       # Lahey Fortran 8.1.
13585       lf95*)
13586         lt_prog_compiler_wl='-Wl,'
13587         lt_prog_compiler_pic='--shared'
13588         lt_prog_compiler_static='--static'
13589         ;;
13590       nagfor*)
13591         # NAG Fortran compiler
13592         lt_prog_compiler_wl='-Wl,-Wl,,'
13593         lt_prog_compiler_pic='-PIC'
13594         lt_prog_compiler_static='-Bstatic'
13595         ;;
13596       tcc*)
13597         # Fabrice Bellard et al's Tiny C Compiler
13598         lt_prog_compiler_wl='-Wl,'
13599         lt_prog_compiler_pic='-fPIC'
13600         lt_prog_compiler_static='-static'
13601         ;;
13602       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13603         # Portland Group compilers (*not* the Pentium gcc compiler,
13604         # which looks to be a dead project)
13605         lt_prog_compiler_wl='-Wl,'
13606         lt_prog_compiler_pic='-fpic'
13607         lt_prog_compiler_static='-Bstatic'
13608         ;;
13609       ccc*)
13610         lt_prog_compiler_wl='-Wl,'
13611         # All Alpha code is PIC.
13612         lt_prog_compiler_static='-non_shared'
13613         ;;
13614       xl* | bgxl* | bgf* | mpixl*)
13615         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13616         lt_prog_compiler_wl='-Wl,'
13617         lt_prog_compiler_pic='-qpic'
13618         lt_prog_compiler_static='-qstaticlink'
13619         ;;
13620       *)
13621         case `$CC -V 2>&1 | $SED 5q` in
13622         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13623           # Sun Fortran 8.3 passes all unrecognized flags to the linker
13624           lt_prog_compiler_pic='-KPIC'
13625           lt_prog_compiler_static='-Bstatic'
13626           lt_prog_compiler_wl=''
13627           ;;
13628         *Sun\ F* | *Sun*Fortran*)
13629           lt_prog_compiler_pic='-KPIC'
13630           lt_prog_compiler_static='-Bstatic'
13631           lt_prog_compiler_wl='-Qoption ld '
13632           ;;
13633         *Sun\ C*)
13634           # Sun C 5.9
13635           lt_prog_compiler_pic='-KPIC'
13636           lt_prog_compiler_static='-Bstatic'
13637           lt_prog_compiler_wl='-Wl,'
13638           ;;
13639         *Intel*\ [CF]*Compiler*)
13640           lt_prog_compiler_wl='-Wl,'
13641           lt_prog_compiler_pic='-fPIC'
13642           lt_prog_compiler_static='-static'
13643           ;;
13644         *Portland\ Group*)
13645           lt_prog_compiler_wl='-Wl,'
13646           lt_prog_compiler_pic='-fpic'
13647           lt_prog_compiler_static='-Bstatic'
13648           ;;
13649         esac
13650         ;;
13651       esac
13652       ;;
13653
13654     newsos6)
13655       lt_prog_compiler_pic='-KPIC'
13656       lt_prog_compiler_static='-Bstatic'
13657       ;;
13658
13659     *nto* | *qnx*)
13660       # QNX uses GNU C++, but need to define -shared option too, otherwise
13661       # it will coredump.
13662       lt_prog_compiler_pic='-fPIC -shared'
13663       ;;
13664
13665     osf3* | osf4* | osf5*)
13666       lt_prog_compiler_wl='-Wl,'
13667       # All OSF/1 code is PIC.
13668       lt_prog_compiler_static='-non_shared'
13669       ;;
13670
13671     rdos*)
13672       lt_prog_compiler_static='-non_shared'
13673       ;;
13674
13675     solaris*)
13676       lt_prog_compiler_pic='-KPIC'
13677       lt_prog_compiler_static='-Bstatic'
13678       case $cc_basename in
13679       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
13680         lt_prog_compiler_wl='-Qoption ld ';;
13681       *)
13682         lt_prog_compiler_wl='-Wl,';;
13683       esac
13684       ;;
13685
13686     sunos4*)
13687       lt_prog_compiler_wl='-Qoption ld '
13688       lt_prog_compiler_pic='-PIC'
13689       lt_prog_compiler_static='-Bstatic'
13690       ;;
13691
13692     sysv4 | sysv4.2uw2* | sysv4.3*)
13693       lt_prog_compiler_wl='-Wl,'
13694       lt_prog_compiler_pic='-KPIC'
13695       lt_prog_compiler_static='-Bstatic'
13696       ;;
13697
13698     sysv4*MP*)
13699       if test -d /usr/nec; then
13700         lt_prog_compiler_pic='-Kconform_pic'
13701         lt_prog_compiler_static='-Bstatic'
13702       fi
13703       ;;
13704
13705     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13706       lt_prog_compiler_wl='-Wl,'
13707       lt_prog_compiler_pic='-KPIC'
13708       lt_prog_compiler_static='-Bstatic'
13709       ;;
13710
13711     unicos*)
13712       lt_prog_compiler_wl='-Wl,'
13713       lt_prog_compiler_can_build_shared=no
13714       ;;
13715
13716     uts4*)
13717       lt_prog_compiler_pic='-pic'
13718       lt_prog_compiler_static='-Bstatic'
13719       ;;
13720
13721     *)
13722       lt_prog_compiler_can_build_shared=no
13723       ;;
13724     esac
13725   fi
13726
13727 case $host_os in
13728   # For platforms that do not support PIC, -DPIC is meaningless:
13729   *djgpp*)
13730     lt_prog_compiler_pic=
13731     ;;
13732   *)
13733     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13734     ;;
13735 esac
13736
13737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13738 printf %s "checking for $compiler option to produce PIC... " >&6; }
13739 if test ${lt_cv_prog_compiler_pic+y}
13740 then :
13741   printf %s "(cached) " >&6
13742 else $as_nop
13743   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
13744 fi
13745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13746 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
13747 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
13748
13749 #
13750 # Check to make sure the PIC flag actually works.
13751 #
13752 if test -n "$lt_prog_compiler_pic"; then
13753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13754 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
13755 if test ${lt_cv_prog_compiler_pic_works+y}
13756 then :
13757   printf %s "(cached) " >&6
13758 else $as_nop
13759   lt_cv_prog_compiler_pic_works=no
13760    ac_outfile=conftest.$ac_objext
13761    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13762    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
13763    # Insert the option either (1) after the last *FLAGS variable, or
13764    # (2) before a word containing "conftest.", or (3) at the end.
13765    # Note that $ac_compile itself does not contain backslashes and begins
13766    # with a dollar sign (not a hyphen), so the echo should work correctly.
13767    # The option is referenced via a variable to avoid confusing sed.
13768    lt_compile=`echo "$ac_compile" | $SED \
13769    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13770    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13771    -e 's:$: $lt_compiler_flag:'`
13772    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13773    (eval "$lt_compile" 2>conftest.err)
13774    ac_status=$?
13775    cat conftest.err >&5
13776    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777    if (exit $ac_status) && test -s "$ac_outfile"; then
13778      # The compiler can only warn and ignore the option if not recognized
13779      # So say no if there are warnings other than the usual output.
13780      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13781      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13782      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13783        lt_cv_prog_compiler_pic_works=yes
13784      fi
13785    fi
13786    $RM conftest*
13787
13788 fi
13789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13790 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
13791
13792 if test yes = "$lt_cv_prog_compiler_pic_works"; then
13793     case $lt_prog_compiler_pic in
13794      "" | " "*) ;;
13795      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
13796      esac
13797 else
13798     lt_prog_compiler_pic=
13799      lt_prog_compiler_can_build_shared=no
13800 fi
13801
13802 fi
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814 #
13815 # Check to make sure the static flag actually works.
13816 #
13817 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
13818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13819 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13820 if test ${lt_cv_prog_compiler_static_works+y}
13821 then :
13822   printf %s "(cached) " >&6
13823 else $as_nop
13824   lt_cv_prog_compiler_static_works=no
13825    save_LDFLAGS=$LDFLAGS
13826    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13827    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13828    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13829      # The linker can only warn and ignore the option if not recognized
13830      # So say no if there are warnings
13831      if test -s conftest.err; then
13832        # Append any errors to the config.log.
13833        cat conftest.err 1>&5
13834        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13835        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13836        if diff conftest.exp conftest.er2 >/dev/null; then
13837          lt_cv_prog_compiler_static_works=yes
13838        fi
13839      else
13840        lt_cv_prog_compiler_static_works=yes
13841      fi
13842    fi
13843    $RM -r conftest*
13844    LDFLAGS=$save_LDFLAGS
13845
13846 fi
13847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
13848 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
13849
13850 if test yes = "$lt_cv_prog_compiler_static_works"; then
13851     :
13852 else
13853     lt_prog_compiler_static=
13854 fi
13855
13856
13857
13858
13859
13860
13861
13862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13863 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13864 if test ${lt_cv_prog_compiler_c_o+y}
13865 then :
13866   printf %s "(cached) " >&6
13867 else $as_nop
13868   lt_cv_prog_compiler_c_o=no
13869    $RM -r conftest 2>/dev/null
13870    mkdir conftest
13871    cd conftest
13872    mkdir out
13873    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13874
13875    lt_compiler_flag="-o out/conftest2.$ac_objext"
13876    # Insert the option either (1) after the last *FLAGS variable, or
13877    # (2) before a word containing "conftest.", or (3) at the end.
13878    # Note that $ac_compile itself does not contain backslashes and begins
13879    # with a dollar sign (not a hyphen), so the echo should work correctly.
13880    lt_compile=`echo "$ac_compile" | $SED \
13881    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13882    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13883    -e 's:$: $lt_compiler_flag:'`
13884    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13885    (eval "$lt_compile" 2>out/conftest.err)
13886    ac_status=$?
13887    cat out/conftest.err >&5
13888    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13890    then
13891      # The compiler can only warn and ignore the option if not recognized
13892      # So say no if there are warnings
13893      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13894      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13895      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13896        lt_cv_prog_compiler_c_o=yes
13897      fi
13898    fi
13899    chmod u+w . 2>&5
13900    $RM conftest*
13901    # SGI C++ compiler will create directory out/ii_files/ for
13902    # template instantiation
13903    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13904    $RM out/* && rmdir out
13905    cd ..
13906    $RM -r conftest
13907    $RM conftest*
13908
13909 fi
13910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13911 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
13912
13913
13914
13915
13916
13917
13918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13919 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13920 if test ${lt_cv_prog_compiler_c_o+y}
13921 then :
13922   printf %s "(cached) " >&6
13923 else $as_nop
13924   lt_cv_prog_compiler_c_o=no
13925    $RM -r conftest 2>/dev/null
13926    mkdir conftest
13927    cd conftest
13928    mkdir out
13929    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13930
13931    lt_compiler_flag="-o out/conftest2.$ac_objext"
13932    # Insert the option either (1) after the last *FLAGS variable, or
13933    # (2) before a word containing "conftest.", or (3) at the end.
13934    # Note that $ac_compile itself does not contain backslashes and begins
13935    # with a dollar sign (not a hyphen), so the echo should work correctly.
13936    lt_compile=`echo "$ac_compile" | $SED \
13937    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13938    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939    -e 's:$: $lt_compiler_flag:'`
13940    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13941    (eval "$lt_compile" 2>out/conftest.err)
13942    ac_status=$?
13943    cat out/conftest.err >&5
13944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946    then
13947      # The compiler can only warn and ignore the option if not recognized
13948      # So say no if there are warnings
13949      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13950      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13951      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13952        lt_cv_prog_compiler_c_o=yes
13953      fi
13954    fi
13955    chmod u+w . 2>&5
13956    $RM conftest*
13957    # SGI C++ compiler will create directory out/ii_files/ for
13958    # template instantiation
13959    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13960    $RM out/* && rmdir out
13961    cd ..
13962    $RM -r conftest
13963    $RM conftest*
13964
13965 fi
13966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13967 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
13968
13969
13970
13971
13972 hard_links=nottested
13973 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
13974   # do not overwrite the value of need_locks provided by the user
13975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13976 printf %s "checking if we can lock with hard links... " >&6; }
13977   hard_links=yes
13978   $RM conftest*
13979   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13980   touch conftest.a
13981   ln conftest.a conftest.b 2>&5 || hard_links=no
13982   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13984 printf "%s\n" "$hard_links" >&6; }
13985   if test no = "$hard_links"; then
13986     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
13987 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
13988     need_locks=warn
13989   fi
13990 else
13991   need_locks=no
13992 fi
13993
13994
13995
13996
13997
13998
13999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14000 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14001
14002   runpath_var=
14003   allow_undefined_flag=
14004   always_export_symbols=no
14005   archive_cmds=
14006   archive_expsym_cmds=
14007   compiler_needs_object=no
14008   enable_shared_with_static_runtimes=no
14009   export_dynamic_flag_spec=
14010   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14011   hardcode_automatic=no
14012   hardcode_direct=no
14013   hardcode_direct_absolute=no
14014   hardcode_libdir_flag_spec=
14015   hardcode_libdir_separator=
14016   hardcode_minus_L=no
14017   hardcode_shlibpath_var=unsupported
14018   inherit_rpath=no
14019   link_all_deplibs=unknown
14020   module_cmds=
14021   module_expsym_cmds=
14022   old_archive_from_new_cmds=
14023   old_archive_from_expsyms_cmds=
14024   thread_safe_flag_spec=
14025   whole_archive_flag_spec=
14026   # include_expsyms should be a list of space-separated symbols to be *always*
14027   # included in the symbol list
14028   include_expsyms=
14029   # exclude_expsyms can be an extended regexp of symbols to exclude
14030   # it will be wrapped by ' (' and ')$', so one must not match beginning or
14031   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
14032   # as well as any symbol that contains 'd'.
14033   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14034   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14035   # platforms (ab)use it in PIC code, but their linkers get confused if
14036   # the symbol is explicitly referenced.  Since portable code cannot
14037   # rely on this symbol name, it's probably fine to never include it in
14038   # preloaded symbol tables.
14039   # Exclude shared library initialization/finalization symbols.
14040   extract_expsyms_cmds=
14041
14042   case $host_os in
14043   cygwin* | mingw* | pw32* | cegcc*)
14044     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
14045     # When not using gcc, we currently assume that we are using
14046     # Microsoft Visual C++ or Intel C++ Compiler.
14047     if test yes != "$GCC"; then
14048       with_gnu_ld=no
14049     fi
14050     ;;
14051   interix*)
14052     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
14053     with_gnu_ld=yes
14054     ;;
14055   openbsd* | bitrig*)
14056     with_gnu_ld=no
14057     ;;
14058   esac
14059
14060   ld_shlibs=yes
14061
14062   # On some targets, GNU ld is compatible enough with the native linker
14063   # that we're better off using the native interface for both.
14064   lt_use_gnu_ld_interface=no
14065   if test yes = "$with_gnu_ld"; then
14066     case $host_os in
14067       aix*)
14068         # The AIX port of GNU ld has always aspired to compatibility
14069         # with the native linker.  However, as the warning in the GNU ld
14070         # block says, versions before 2.19.5* couldn't really create working
14071         # shared libraries, regardless of the interface used.
14072         case `$LD -v 2>&1` in
14073           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14074           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14075           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14076           *)
14077             lt_use_gnu_ld_interface=yes
14078             ;;
14079         esac
14080         ;;
14081       *)
14082         lt_use_gnu_ld_interface=yes
14083         ;;
14084     esac
14085   fi
14086
14087   if test yes = "$lt_use_gnu_ld_interface"; then
14088     # If archive_cmds runs LD, not CC, wlarc should be empty
14089     wlarc='$wl'
14090
14091     # Set some defaults for GNU ld with shared library support. These
14092     # are reset later if shared libraries are not supported. Putting them
14093     # here allows them to be overridden if necessary.
14094     runpath_var=LD_RUN_PATH
14095     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14096     export_dynamic_flag_spec='$wl--export-dynamic'
14097     # ancient GNU ld didn't support --whole-archive et. al.
14098     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14099       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14100     else
14101       whole_archive_flag_spec=
14102     fi
14103     supports_anon_versioning=no
14104     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
14105       *GNU\ gold*) supports_anon_versioning=yes ;;
14106       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14107       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14108       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14109       *\ 2.11.*) ;; # other 2.11 versions
14110       *) supports_anon_versioning=yes ;;
14111     esac
14112
14113     # See if GNU ld supports shared libraries.
14114     case $host_os in
14115     aix[3-9]*)
14116       # On AIX/PPC, the GNU linker is very broken
14117       if test ia64 != "$host_cpu"; then
14118         ld_shlibs=no
14119         cat <<_LT_EOF 1>&2
14120
14121 *** Warning: the GNU linker, at least up to release 2.19, is reported
14122 *** to be unable to reliably create shared libraries on AIX.
14123 *** Therefore, libtool is disabling shared libraries support.  If you
14124 *** really care for shared libraries, you may want to install binutils
14125 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14126 *** You will then need to restart the configuration process.
14127
14128 _LT_EOF
14129       fi
14130       ;;
14131
14132     amigaos*)
14133       case $host_cpu in
14134       powerpc)
14135             # see comment about AmigaOS4 .so support
14136             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14137             archive_expsym_cmds=''
14138         ;;
14139       m68k)
14140             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)'
14141             hardcode_libdir_flag_spec='-L$libdir'
14142             hardcode_minus_L=yes
14143         ;;
14144       esac
14145       ;;
14146
14147     beos*)
14148       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14149         allow_undefined_flag=unsupported
14150         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14151         # support --undefined.  This deserves some investigation.  FIXME
14152         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14153       else
14154         ld_shlibs=no
14155       fi
14156       ;;
14157
14158     cygwin* | mingw* | pw32* | cegcc*)
14159       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14160       # as there is no search path for DLLs.
14161       hardcode_libdir_flag_spec='-L$libdir'
14162       export_dynamic_flag_spec='$wl--export-all-symbols'
14163       allow_undefined_flag=unsupported
14164       always_export_symbols=no
14165       enable_shared_with_static_runtimes=yes
14166       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'
14167       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14168
14169       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14170         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14171         # If the export-symbols file already is a .def file, use it as
14172         # is; otherwise, prepend EXPORTS...
14173         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14174           cp $export_symbols $output_objdir/$soname.def;
14175         else
14176           echo EXPORTS > $output_objdir/$soname.def;
14177           cat $export_symbols >> $output_objdir/$soname.def;
14178         fi~
14179         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14180       else
14181         ld_shlibs=no
14182       fi
14183       ;;
14184
14185     haiku*)
14186       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14187       link_all_deplibs=yes
14188       ;;
14189
14190     os2*)
14191       hardcode_libdir_flag_spec='-L$libdir'
14192       hardcode_minus_L=yes
14193       allow_undefined_flag=unsupported
14194       shrext_cmds=.dll
14195       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14196         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14197         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14198         $ECHO EXPORTS >> $output_objdir/$libname.def~
14199         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14200         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14201         emximp -o $lib $output_objdir/$libname.def'
14202       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14203         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14204         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14205         $ECHO EXPORTS >> $output_objdir/$libname.def~
14206         prefix_cmds="$SED"~
14207         if test EXPORTS = "`$SED 1q $export_symbols`"; then
14208           prefix_cmds="$prefix_cmds -e 1d";
14209         fi~
14210         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14211         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14212         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14213         emximp -o $lib $output_objdir/$libname.def'
14214       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14215       enable_shared_with_static_runtimes=yes
14216       file_list_spec='@'
14217       ;;
14218
14219     interix[3-9]*)
14220       hardcode_direct=no
14221       hardcode_shlibpath_var=no
14222       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14223       export_dynamic_flag_spec='$wl-E'
14224       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14225       # Instead, shared libraries are loaded at an image base (0x10000000 by
14226       # default) and relocated if they conflict, which is a slow very memory
14227       # consuming and fragmenting process.  To avoid this, we pick a random,
14228       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14229       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14230       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14231       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'
14232       ;;
14233
14234     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
14235       tmp_diet=no
14236       if test linux-dietlibc = "$host_os"; then
14237         case $cc_basename in
14238           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
14239         esac
14240       fi
14241       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14242          && test no = "$tmp_diet"
14243       then
14244         tmp_addflag=' $pic_flag'
14245         tmp_sharedflag='-shared'
14246         case $cc_basename,$host_cpu in
14247         pgcc*)                          # Portland Group C compiler
14248           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'
14249           tmp_addflag=' $pic_flag'
14250           ;;
14251         pgf77* | pgf90* | pgf95* | pgfortran*)
14252                                         # Portland Group f77 and f90 compilers
14253           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'
14254           tmp_addflag=' $pic_flag -Mnomain' ;;
14255         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
14256           tmp_addflag=' -i_dynamic' ;;
14257         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14258           tmp_addflag=' -i_dynamic -nofor_main' ;;
14259         ifc* | ifort*)                  # Intel Fortran compiler
14260           tmp_addflag=' -nofor_main' ;;
14261         lf95*)                          # Lahey Fortran 8.1
14262           whole_archive_flag_spec=
14263           tmp_sharedflag='--shared' ;;
14264         nagfor*)                        # NAGFOR 5.3
14265           tmp_sharedflag='-Wl,-shared' ;;
14266         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14267           tmp_sharedflag='-qmkshrobj'
14268           tmp_addflag= ;;
14269         nvcc*)  # Cuda Compiler Driver 2.2
14270           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'
14271           compiler_needs_object=yes
14272           ;;
14273         esac
14274         case `$CC -V 2>&1 | $SED 5q` in
14275         *Sun\ C*)                       # Sun C 5.9
14276           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'
14277           compiler_needs_object=yes
14278           tmp_sharedflag='-G' ;;
14279         *Sun\ F*)                       # Sun Fortran 8.3
14280           tmp_sharedflag='-G' ;;
14281         esac
14282         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14283
14284         if test yes = "$supports_anon_versioning"; then
14285           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
14286             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14287             echo "local: *; };" >> $output_objdir/$libname.ver~
14288             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14289         fi
14290
14291         case $cc_basename in
14292         tcc*)
14293           export_dynamic_flag_spec='-rdynamic'
14294           ;;
14295         xlf* | bgf* | bgxlf* | mpixlf*)
14296           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14297           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
14298           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14299           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
14300           if test yes = "$supports_anon_versioning"; then
14301             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
14302               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14303               echo "local: *; };" >> $output_objdir/$libname.ver~
14304               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14305           fi
14306           ;;
14307         esac
14308       else
14309         ld_shlibs=no
14310       fi
14311       ;;
14312
14313     netbsd*)
14314       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14315         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14316         wlarc=
14317       else
14318         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14319         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14320       fi
14321       ;;
14322
14323     solaris*)
14324       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14325         ld_shlibs=no
14326         cat <<_LT_EOF 1>&2
14327
14328 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14329 *** create shared libraries on Solaris systems.  Therefore, libtool
14330 *** is disabling shared libraries support.  We urge you to upgrade GNU
14331 *** binutils to release 2.9.1 or newer.  Another option is to modify
14332 *** your PATH or compiler configuration so that the native linker is
14333 *** used, and then restart.
14334
14335 _LT_EOF
14336       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14337         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14338         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14339       else
14340         ld_shlibs=no
14341       fi
14342       ;;
14343
14344     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14345       case `$LD -v 2>&1` in
14346         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14347         ld_shlibs=no
14348         cat <<_LT_EOF 1>&2
14349
14350 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
14351 *** reliably create shared libraries on SCO systems.  Therefore, libtool
14352 *** is disabling shared libraries support.  We urge you to upgrade GNU
14353 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14354 *** your PATH or compiler configuration so that the native linker is
14355 *** used, and then restart.
14356
14357 _LT_EOF
14358         ;;
14359         *)
14360           # For security reasons, it is highly recommended that you always
14361           # use absolute paths for naming shared libraries, and exclude the
14362           # DT_RUNPATH tag from executables and libraries.  But doing so
14363           # requires that you compile everything twice, which is a pain.
14364           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14365             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14366             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14367             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14368           else
14369             ld_shlibs=no
14370           fi
14371         ;;
14372       esac
14373       ;;
14374
14375     sunos4*)
14376       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14377       wlarc=
14378       hardcode_direct=yes
14379       hardcode_shlibpath_var=no
14380       ;;
14381
14382     *)
14383       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14384         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14385         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14386       else
14387         ld_shlibs=no
14388       fi
14389       ;;
14390     esac
14391
14392     if test no = "$ld_shlibs"; then
14393       runpath_var=
14394       hardcode_libdir_flag_spec=
14395       export_dynamic_flag_spec=
14396       whole_archive_flag_spec=
14397     fi
14398   else
14399     # PORTME fill in a description of your system's linker (not GNU ld)
14400     case $host_os in
14401     aix3*)
14402       allow_undefined_flag=unsupported
14403       always_export_symbols=yes
14404       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'
14405       # Note: this linker hardcodes the directories in LIBPATH if there
14406       # are no directories specified by -L.
14407       hardcode_minus_L=yes
14408       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
14409         # Neither direct hardcoding nor static linking is supported with a
14410         # broken collect2.
14411         hardcode_direct=unsupported
14412       fi
14413       ;;
14414
14415     aix[4-9]*)
14416       if test ia64 = "$host_cpu"; then
14417         # On IA64, the linker does run time linking by default, so we don't
14418         # have to do anything special.
14419         aix_use_runtimelinking=no
14420         exp_sym_flag='-Bexport'
14421         no_entry_flag=
14422       else
14423         # If we're using GNU nm, then we don't want the "-C" option.
14424         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
14425         # Without the "-l" option, or with the "-B" option, AIX nm treats
14426         # weak defined symbols like other global defined symbols, whereas
14427         # GNU nm marks them as "W".
14428         # While the 'weak' keyword is ignored in the Export File, we need
14429         # it in the Import File for the 'aix-soname' feature, so we have
14430         # to replace the "-B" option with "-P" for AIX nm.
14431         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14432           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'
14433         else
14434           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 == "L") || (\$ 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'
14435         fi
14436         aix_use_runtimelinking=no
14437
14438         # Test if we are trying to use run time linking or normal
14439         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14440         # have runtime linking enabled, and use it for executables.
14441         # For shared libraries, we enable/disable runtime linking
14442         # depending on the kind of the shared library created -
14443         # when "with_aix_soname,aix_use_runtimelinking" is:
14444         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14445         # "aix,yes"  lib.so          shared, rtl:yes, for executables
14446         #            lib.a           static archive
14447         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14448         #            lib.a(lib.so.V) shared, rtl:no,  for executables
14449         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14450         #            lib.a(lib.so.V) shared, rtl:no
14451         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14452         #            lib.a           static archive
14453         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14454           for ld_flag in $LDFLAGS; do
14455           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
14456             aix_use_runtimelinking=yes
14457             break
14458           fi
14459           done
14460           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14461             # With aix-soname=svr4, we create the lib.so.V shared archives only,
14462             # so we don't have lib.a shared libs to link our executables.
14463             # We have to force runtime linking in this case.
14464             aix_use_runtimelinking=yes
14465             LDFLAGS="$LDFLAGS -Wl,-brtl"
14466           fi
14467           ;;
14468         esac
14469
14470         exp_sym_flag='-bexport'
14471         no_entry_flag='-bnoentry'
14472       fi
14473
14474       # When large executables or shared objects are built, AIX ld can
14475       # have problems creating the table of contents.  If linking a library
14476       # or program results in "error TOC overflow" add -mminimal-toc to
14477       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14478       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14479
14480       archive_cmds=''
14481       hardcode_direct=yes
14482       hardcode_direct_absolute=yes
14483       hardcode_libdir_separator=':'
14484       link_all_deplibs=yes
14485       file_list_spec='$wl-f,'
14486       case $with_aix_soname,$aix_use_runtimelinking in
14487       aix,*) ;; # traditional, no import file
14488       svr4,* | *,yes) # use import file
14489         # The Import File defines what to hardcode.
14490         hardcode_direct=no
14491         hardcode_direct_absolute=no
14492         ;;
14493       esac
14494
14495       if test yes = "$GCC"; then
14496         case $host_os in aix4.[012]|aix4.[012].*)
14497         # We only want to do this on AIX 4.2 and lower, the check
14498         # below for broken collect2 doesn't work under 4.3+
14499           collect2name=`$CC -print-prog-name=collect2`
14500           if test -f "$collect2name" &&
14501            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14502           then
14503           # We have reworked collect2
14504           :
14505           else
14506           # We have old collect2
14507           hardcode_direct=unsupported
14508           # It fails to find uninstalled libraries when the uninstalled
14509           # path is not listed in the libpath.  Setting hardcode_minus_L
14510           # to unsupported forces relinking
14511           hardcode_minus_L=yes
14512           hardcode_libdir_flag_spec='-L$libdir'
14513           hardcode_libdir_separator=
14514           fi
14515           ;;
14516         esac
14517         shared_flag='-shared'
14518         if test yes = "$aix_use_runtimelinking"; then
14519           shared_flag="$shared_flag "'$wl-G'
14520         fi
14521         # Need to ensure runtime linking is disabled for the traditional
14522         # shared library, or the linker may eventually find shared libraries
14523         # /with/ Import File - we do not want to mix them.
14524         shared_flag_aix='-shared'
14525         shared_flag_svr4='-shared $wl-G'
14526       else
14527         # not using gcc
14528         if test ia64 = "$host_cpu"; then
14529         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14530         # chokes on -Wl,-G. The following line is correct:
14531           shared_flag='-G'
14532         else
14533           if test yes = "$aix_use_runtimelinking"; then
14534             shared_flag='$wl-G'
14535           else
14536             shared_flag='$wl-bM:SRE'
14537           fi
14538           shared_flag_aix='$wl-bM:SRE'
14539           shared_flag_svr4='$wl-G'
14540         fi
14541       fi
14542
14543       export_dynamic_flag_spec='$wl-bexpall'
14544       # It seems that -bexpall does not export symbols beginning with
14545       # underscore (_), so it is better to generate a list of symbols to export.
14546       always_export_symbols=yes
14547       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14548         # Warning - without using the other runtime loading flags (-brtl),
14549         # -berok will link without error, but may produce a broken library.
14550         allow_undefined_flag='-berok'
14551         # Determine the default libpath from the value encoded in an
14552         # empty executable.
14553         if test set = "${lt_cv_aix_libpath+set}"; then
14554   aix_libpath=$lt_cv_aix_libpath
14555 else
14556   if test ${lt_cv_aix_libpath_+y}
14557 then :
14558   printf %s "(cached) " >&6
14559 else $as_nop
14560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h.  */
14562
14563 int
14564 main (void)
14565 {
14566
14567   ;
14568   return 0;
14569 }
14570 _ACEOF
14571 if ac_fn_c_try_link "$LINENO"
14572 then :
14573
14574   lt_aix_libpath_sed='
14575       /Import File Strings/,/^$/ {
14576           /^0/ {
14577               s/^0  *\([^ ]*\) *$/\1/
14578               p
14579           }
14580       }'
14581   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14582   # Check for a 64-bit object if we didn't find anything.
14583   if test -z "$lt_cv_aix_libpath_"; then
14584     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14585   fi
14586 fi
14587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14588     conftest$ac_exeext conftest.$ac_ext
14589   if test -z "$lt_cv_aix_libpath_"; then
14590     lt_cv_aix_libpath_=/usr/lib:/lib
14591   fi
14592
14593 fi
14594
14595   aix_libpath=$lt_cv_aix_libpath_
14596 fi
14597
14598         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14599         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
14600       else
14601         if test ia64 = "$host_cpu"; then
14602           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
14603           allow_undefined_flag="-z nodefs"
14604           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"
14605         else
14606          # Determine the default libpath from the value encoded in an
14607          # empty executable.
14608          if test set = "${lt_cv_aix_libpath+set}"; then
14609   aix_libpath=$lt_cv_aix_libpath
14610 else
14611   if test ${lt_cv_aix_libpath_+y}
14612 then :
14613   printf %s "(cached) " >&6
14614 else $as_nop
14615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h.  */
14617
14618 int
14619 main (void)
14620 {
14621
14622   ;
14623   return 0;
14624 }
14625 _ACEOF
14626 if ac_fn_c_try_link "$LINENO"
14627 then :
14628
14629   lt_aix_libpath_sed='
14630       /Import File Strings/,/^$/ {
14631           /^0/ {
14632               s/^0  *\([^ ]*\) *$/\1/
14633               p
14634           }
14635       }'
14636   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14637   # Check for a 64-bit object if we didn't find anything.
14638   if test -z "$lt_cv_aix_libpath_"; then
14639     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14640   fi
14641 fi
14642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14643     conftest$ac_exeext conftest.$ac_ext
14644   if test -z "$lt_cv_aix_libpath_"; then
14645     lt_cv_aix_libpath_=/usr/lib:/lib
14646   fi
14647
14648 fi
14649
14650   aix_libpath=$lt_cv_aix_libpath_
14651 fi
14652
14653          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14654           # Warning - without using the other run time loading flags,
14655           # -berok will link without error, but may produce a broken library.
14656           no_undefined_flag=' $wl-bernotok'
14657           allow_undefined_flag=' $wl-berok'
14658           if test yes = "$with_gnu_ld"; then
14659             # We only use this code for GNU lds that support --whole-archive.
14660             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
14661           else
14662             # Exported symbols can be pulled into shared objects from archives
14663             whole_archive_flag_spec='$convenience'
14664           fi
14665           archive_cmds_need_lc=yes
14666           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14667           # -brtl affects multiple linker settings, -berok does not and is overridden later
14668           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14669           if test svr4 != "$with_aix_soname"; then
14670             # This is similar to how AIX traditionally builds its shared libraries.
14671             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'
14672           fi
14673           if test aix != "$with_aix_soname"; then
14674             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'
14675           else
14676             # used by -dlpreopen to get the symbols
14677             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14678           fi
14679           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
14680         fi
14681       fi
14682       ;;
14683
14684     amigaos*)
14685       case $host_cpu in
14686       powerpc)
14687             # see comment about AmigaOS4 .so support
14688             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14689             archive_expsym_cmds=''
14690         ;;
14691       m68k)
14692             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)'
14693             hardcode_libdir_flag_spec='-L$libdir'
14694             hardcode_minus_L=yes
14695         ;;
14696       esac
14697       ;;
14698
14699     bsdi[45]*)
14700       export_dynamic_flag_spec=-rdynamic
14701       ;;
14702
14703     cygwin* | mingw* | pw32* | cegcc*)
14704       # When not using gcc, we currently assume that we are using
14705       # Microsoft Visual C++ or Intel C++ Compiler.
14706       # hardcode_libdir_flag_spec is actually meaningless, as there is
14707       # no search path for DLLs.
14708       case $cc_basename in
14709       cl* | icl*)
14710         # Native MSVC or ICC
14711         hardcode_libdir_flag_spec=' '
14712         allow_undefined_flag=unsupported
14713         always_export_symbols=yes
14714         file_list_spec='@'
14715         # Tell ltmain to make .lib files, not .a files.
14716         libext=lib
14717         # Tell ltmain to make .dll files, not .so files.
14718         shrext_cmds=.dll
14719         # FIXME: Setting linknames here is a bad hack.
14720         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14721         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14722             cp "$export_symbols" "$output_objdir/$soname.def";
14723             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14724           else
14725             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14726           fi~
14727           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14728           linknames='
14729         # The linker will not automatically build a static lib if we build a DLL.
14730         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
14731         enable_shared_with_static_runtimes=yes
14732         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14733         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14734         # Don't use ranlib
14735         old_postinstall_cmds='chmod 644 $oldlib'
14736         postlink_cmds='lt_outputfile="@OUTPUT@"~
14737           lt_tool_outputfile="@TOOL_OUTPUT@"~
14738           case $lt_outputfile in
14739             *.exe|*.EXE) ;;
14740             *)
14741               lt_outputfile=$lt_outputfile.exe
14742               lt_tool_outputfile=$lt_tool_outputfile.exe
14743               ;;
14744           esac~
14745           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14746             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14747             $RM "$lt_outputfile.manifest";
14748           fi'
14749         ;;
14750       *)
14751         # Assume MSVC and ICC wrapper
14752         hardcode_libdir_flag_spec=' '
14753         allow_undefined_flag=unsupported
14754         # Tell ltmain to make .lib files, not .a files.
14755         libext=lib
14756         # Tell ltmain to make .dll files, not .so files.
14757         shrext_cmds=.dll
14758         # FIXME: Setting linknames here is a bad hack.
14759         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14760         # The linker will automatically build a .lib file if we build a DLL.
14761         old_archive_from_new_cmds='true'
14762         # FIXME: Should let the user specify the lib program.
14763         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
14764         enable_shared_with_static_runtimes=yes
14765         ;;
14766       esac
14767       ;;
14768
14769     darwin* | rhapsody*)
14770
14771
14772   archive_cmds_need_lc=no
14773   hardcode_direct=no
14774   hardcode_automatic=yes
14775   hardcode_shlibpath_var=unsupported
14776   if test yes = "$lt_cv_ld_force_load"; then
14777     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\"`'
14778
14779   else
14780     whole_archive_flag_spec=''
14781   fi
14782   link_all_deplibs=yes
14783   allow_undefined_flag=$_lt_dar_allow_undefined
14784   case $cc_basename in
14785      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14786      *) _lt_dar_can_shared=$GCC ;;
14787   esac
14788   if test yes = "$_lt_dar_can_shared"; then
14789     output_verbose_link_cmd=func_echo_all
14790     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
14791     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14792     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"
14793     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"
14794
14795   else
14796   ld_shlibs=no
14797   fi
14798
14799       ;;
14800
14801     dgux*)
14802       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14803       hardcode_libdir_flag_spec='-L$libdir'
14804       hardcode_shlibpath_var=no
14805       ;;
14806
14807     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14808     # support.  Future versions do this automatically, but an explicit c++rt0.o
14809     # does not break anything, and helps significantly (at the cost of a little
14810     # extra space).
14811     freebsd2.2*)
14812       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14813       hardcode_libdir_flag_spec='-R$libdir'
14814       hardcode_direct=yes
14815       hardcode_shlibpath_var=no
14816       ;;
14817
14818     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14819     freebsd2.*)
14820       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14821       hardcode_direct=yes
14822       hardcode_minus_L=yes
14823       hardcode_shlibpath_var=no
14824       ;;
14825
14826     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14827     freebsd* | dragonfly* | midnightbsd*)
14828       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14829       hardcode_libdir_flag_spec='-R$libdir'
14830       hardcode_direct=yes
14831       hardcode_shlibpath_var=no
14832       ;;
14833
14834     hpux9*)
14835       if test yes = "$GCC"; then
14836         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'
14837       else
14838         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'
14839       fi
14840       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
14841       hardcode_libdir_separator=:
14842       hardcode_direct=yes
14843
14844       # hardcode_minus_L: Not really in the search PATH,
14845       # but as the default location of the library.
14846       hardcode_minus_L=yes
14847       export_dynamic_flag_spec='$wl-E'
14848       ;;
14849
14850     hpux10*)
14851       if test yes,no = "$GCC,$with_gnu_ld"; then
14852         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14853       else
14854         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14855       fi
14856       if test no = "$with_gnu_ld"; then
14857         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
14858         hardcode_libdir_separator=:
14859         hardcode_direct=yes
14860         hardcode_direct_absolute=yes
14861         export_dynamic_flag_spec='$wl-E'
14862         # hardcode_minus_L: Not really in the search PATH,
14863         # but as the default location of the library.
14864         hardcode_minus_L=yes
14865       fi
14866       ;;
14867
14868     hpux11*)
14869       if test yes,no = "$GCC,$with_gnu_ld"; then
14870         case $host_cpu in
14871         hppa*64*)
14872           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14873           ;;
14874         ia64*)
14875           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14876           ;;
14877         *)
14878           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14879           ;;
14880         esac
14881       else
14882         case $host_cpu in
14883         hppa*64*)
14884           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14885           ;;
14886         ia64*)
14887           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14888           ;;
14889         *)
14890
14891           # Older versions of the 11.00 compiler do not understand -b yet
14892           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
14893           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
14894 printf %s "checking if $CC understands -b... " >&6; }
14895 if test ${lt_cv_prog_compiler__b+y}
14896 then :
14897   printf %s "(cached) " >&6
14898 else $as_nop
14899   lt_cv_prog_compiler__b=no
14900    save_LDFLAGS=$LDFLAGS
14901    LDFLAGS="$LDFLAGS -b"
14902    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14903    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14904      # The linker can only warn and ignore the option if not recognized
14905      # So say no if there are warnings
14906      if test -s conftest.err; then
14907        # Append any errors to the config.log.
14908        cat conftest.err 1>&5
14909        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14910        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14911        if diff conftest.exp conftest.er2 >/dev/null; then
14912          lt_cv_prog_compiler__b=yes
14913        fi
14914      else
14915        lt_cv_prog_compiler__b=yes
14916      fi
14917    fi
14918    $RM -r conftest*
14919    LDFLAGS=$save_LDFLAGS
14920
14921 fi
14922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
14923 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
14924
14925 if test yes = "$lt_cv_prog_compiler__b"; then
14926     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14927 else
14928     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14929 fi
14930
14931           ;;
14932         esac
14933       fi
14934       if test no = "$with_gnu_ld"; then
14935         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
14936         hardcode_libdir_separator=:
14937
14938         case $host_cpu in
14939         hppa*64*|ia64*)
14940           hardcode_direct=no
14941           hardcode_shlibpath_var=no
14942           ;;
14943         *)
14944           hardcode_direct=yes
14945           hardcode_direct_absolute=yes
14946           export_dynamic_flag_spec='$wl-E'
14947
14948           # hardcode_minus_L: Not really in the search PATH,
14949           # but as the default location of the library.
14950           hardcode_minus_L=yes
14951           ;;
14952         esac
14953       fi
14954       ;;
14955
14956     irix5* | irix6* | nonstopux*)
14957       if test yes = "$GCC"; then
14958         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'
14959         # Try to use the -exported_symbol ld option, if it does not
14960         # work, assume that -exports_file does not work either and
14961         # implicitly export all symbols.
14962         # This should be the same for all languages, so no per-tag cache variable.
14963         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
14964 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
14965 if test ${lt_cv_irix_exported_symbol+y}
14966 then :
14967   printf %s "(cached) " >&6
14968 else $as_nop
14969   save_LDFLAGS=$LDFLAGS
14970            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
14971            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h.  */
14973 int foo (void) { return 0; }
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"
14976 then :
14977   lt_cv_irix_exported_symbol=yes
14978 else $as_nop
14979   lt_cv_irix_exported_symbol=no
14980 fi
14981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14982     conftest$ac_exeext conftest.$ac_ext
14983            LDFLAGS=$save_LDFLAGS
14984 fi
14985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
14986 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
14987         if test yes = "$lt_cv_irix_exported_symbol"; then
14988           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'
14989         fi
14990       else
14991         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'
14992         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'
14993       fi
14994       archive_cmds_need_lc='no'
14995       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14996       hardcode_libdir_separator=:
14997       inherit_rpath=yes
14998       link_all_deplibs=yes
14999       ;;
15000
15001     linux*)
15002       case $cc_basename in
15003       tcc*)
15004         # Fabrice Bellard et al's Tiny C Compiler
15005         ld_shlibs=yes
15006         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15007         ;;
15008       esac
15009       ;;
15010
15011     netbsd*)
15012       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15013         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15014       else
15015         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15016       fi
15017       hardcode_libdir_flag_spec='-R$libdir'
15018       hardcode_direct=yes
15019       hardcode_shlibpath_var=no
15020       ;;
15021
15022     newsos6)
15023       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15024       hardcode_direct=yes
15025       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15026       hardcode_libdir_separator=:
15027       hardcode_shlibpath_var=no
15028       ;;
15029
15030     *nto* | *qnx*)
15031       ;;
15032
15033     openbsd* | bitrig*)
15034       if test -f /usr/libexec/ld.so; then
15035         hardcode_direct=yes
15036         hardcode_shlibpath_var=no
15037         hardcode_direct_absolute=yes
15038         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15039           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15040           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
15041           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
15042           export_dynamic_flag_spec='$wl-E'
15043         else
15044           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15045           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
15046         fi
15047       else
15048         ld_shlibs=no
15049       fi
15050       ;;
15051
15052     os2*)
15053       hardcode_libdir_flag_spec='-L$libdir'
15054       hardcode_minus_L=yes
15055       allow_undefined_flag=unsupported
15056       shrext_cmds=.dll
15057       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15058         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15059         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15060         $ECHO EXPORTS >> $output_objdir/$libname.def~
15061         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15062         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15063         emximp -o $lib $output_objdir/$libname.def'
15064       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15065         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15066         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15067         $ECHO EXPORTS >> $output_objdir/$libname.def~
15068         prefix_cmds="$SED"~
15069         if test EXPORTS = "`$SED 1q $export_symbols`"; then
15070           prefix_cmds="$prefix_cmds -e 1d";
15071         fi~
15072         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15073         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15074         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15075         emximp -o $lib $output_objdir/$libname.def'
15076       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15077       enable_shared_with_static_runtimes=yes
15078       file_list_spec='@'
15079       ;;
15080
15081     osf3*)
15082       if test yes = "$GCC"; then
15083         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
15084         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'
15085       else
15086         allow_undefined_flag=' -expect_unresolved \*'
15087         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'
15088       fi
15089       archive_cmds_need_lc='no'
15090       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15091       hardcode_libdir_separator=:
15092       ;;
15093
15094     osf4* | osf5*)      # as osf3* with the addition of -msym flag
15095       if test yes = "$GCC"; then
15096         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
15097         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'
15098         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15099       else
15100         allow_undefined_flag=' -expect_unresolved \*'
15101         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'
15102         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~
15103           $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'
15104
15105         # Both c and cxx compiler support -rpath directly
15106         hardcode_libdir_flag_spec='-rpath $libdir'
15107       fi
15108       archive_cmds_need_lc='no'
15109       hardcode_libdir_separator=:
15110       ;;
15111
15112     solaris*)
15113       no_undefined_flag=' -z defs'
15114       if test yes = "$GCC"; then
15115         wlarc='$wl'
15116         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
15117         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15118           $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'
15119       else
15120         case `$CC -V 2>&1` in
15121         *"Compilers 5.0"*)
15122           wlarc=''
15123           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
15124           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15125             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15126           ;;
15127         *)
15128           wlarc='$wl'
15129           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15130           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15131             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15132           ;;
15133         esac
15134       fi
15135       hardcode_libdir_flag_spec='-R$libdir'
15136       hardcode_shlibpath_var=no
15137       case $host_os in
15138       solaris2.[0-5] | solaris2.[0-5].*) ;;
15139       *)
15140         # The compiler driver will combine and reorder linker options,
15141         # but understands '-z linker_flag'.  GCC discards it without '$wl',
15142         # but is careful enough not to reorder.
15143         # Supported since Solaris 2.6 (maybe 2.5.1?)
15144         if test yes = "$GCC"; then
15145           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15146         else
15147           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
15148         fi
15149         ;;
15150       esac
15151       link_all_deplibs=yes
15152       ;;
15153
15154     sunos4*)
15155       if test sequent = "$host_vendor"; then
15156         # Use $CC to link under sequent, because it throws in some extra .o
15157         # files that make .init and .fini sections work.
15158         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15159       else
15160         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15161       fi
15162       hardcode_libdir_flag_spec='-L$libdir'
15163       hardcode_direct=yes
15164       hardcode_minus_L=yes
15165       hardcode_shlibpath_var=no
15166       ;;
15167
15168     sysv4)
15169       case $host_vendor in
15170         sni)
15171           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15172           hardcode_direct=yes # is this really true???
15173         ;;
15174         siemens)
15175           ## LD is ld it makes a PLAMLIB
15176           ## CC just makes a GrossModule.
15177           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15178           reload_cmds='$CC -r -o $output$reload_objs'
15179           hardcode_direct=no
15180         ;;
15181         motorola)
15182           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15183           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
15184         ;;
15185       esac
15186       runpath_var='LD_RUN_PATH'
15187       hardcode_shlibpath_var=no
15188       ;;
15189
15190     sysv4.3*)
15191       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15192       hardcode_shlibpath_var=no
15193       export_dynamic_flag_spec='-Bexport'
15194       ;;
15195
15196     sysv4*MP*)
15197       if test -d /usr/nec; then
15198         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15199         hardcode_shlibpath_var=no
15200         runpath_var=LD_RUN_PATH
15201         hardcode_runpath_var=yes
15202         ld_shlibs=yes
15203       fi
15204       ;;
15205
15206     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15207       no_undefined_flag='$wl-z,text'
15208       archive_cmds_need_lc=no
15209       hardcode_shlibpath_var=no
15210       runpath_var='LD_RUN_PATH'
15211
15212       if test yes = "$GCC"; then
15213         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15214         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15215       else
15216         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15217         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15218       fi
15219       ;;
15220
15221     sysv5* | sco3.2v5* | sco5v6*)
15222       # Note: We CANNOT use -z defs as we might desire, because we do not
15223       # link with -lc, and that would cause any symbols used from libc to
15224       # always be unresolved, which means just about no library would
15225       # ever link correctly.  If we're not using GNU ld we use -z text
15226       # though, which does catch some bad symbols but isn't as heavy-handed
15227       # as -z defs.
15228       no_undefined_flag='$wl-z,text'
15229       allow_undefined_flag='$wl-z,nodefs'
15230       archive_cmds_need_lc=no
15231       hardcode_shlibpath_var=no
15232       hardcode_libdir_flag_spec='$wl-R,$libdir'
15233       hardcode_libdir_separator=':'
15234       link_all_deplibs=yes
15235       export_dynamic_flag_spec='$wl-Bexport'
15236       runpath_var='LD_RUN_PATH'
15237
15238       if test yes = "$GCC"; then
15239         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15240         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15241       else
15242         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15243         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15244       fi
15245       ;;
15246
15247     uts4*)
15248       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15249       hardcode_libdir_flag_spec='-L$libdir'
15250       hardcode_shlibpath_var=no
15251       ;;
15252
15253     *)
15254       ld_shlibs=no
15255       ;;
15256     esac
15257
15258     if test sni = "$host_vendor"; then
15259       case $host in
15260       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15261         export_dynamic_flag_spec='$wl-Blargedynsym'
15262         ;;
15263       esac
15264     fi
15265   fi
15266
15267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
15268 printf "%s\n" "$ld_shlibs" >&6; }
15269 test no = "$ld_shlibs" && can_build_shared=no
15270
15271 with_gnu_ld=$with_gnu_ld
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287 #
15288 # Do we need to explicitly link libc?
15289 #
15290 case "x$archive_cmds_need_lc" in
15291 x|xyes)
15292   # Assume -lc should be added
15293   archive_cmds_need_lc=yes
15294
15295   if test yes,yes = "$GCC,$enable_shared"; then
15296     case $archive_cmds in
15297     *'~'*)
15298       # FIXME: we may have to deal with multi-command sequences.
15299       ;;
15300     '$CC '*)
15301       # Test whether the compiler implicitly links with -lc since on some
15302       # systems, -lgcc has to come before -lc. If gcc already passes -lc
15303       # to ld, don't add -lc before -lgcc.
15304       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15305 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
15306 if test ${lt_cv_archive_cmds_need_lc+y}
15307 then :
15308   printf %s "(cached) " >&6
15309 else $as_nop
15310   $RM conftest*
15311         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15312
15313         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15314   (eval $ac_compile) 2>&5
15315   ac_status=$?
15316   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15317   test $ac_status = 0; } 2>conftest.err; then
15318           soname=conftest
15319           lib=conftest
15320           libobjs=conftest.$ac_objext
15321           deplibs=
15322           wl=$lt_prog_compiler_wl
15323           pic_flag=$lt_prog_compiler_pic
15324           compiler_flags=-v
15325           linker_flags=-v
15326           verstring=
15327           output_objdir=.
15328           libname=conftest
15329           lt_save_allow_undefined_flag=$allow_undefined_flag
15330           allow_undefined_flag=
15331           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15332   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15333   ac_status=$?
15334   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15335   test $ac_status = 0; }
15336           then
15337             lt_cv_archive_cmds_need_lc=no
15338           else
15339             lt_cv_archive_cmds_need_lc=yes
15340           fi
15341           allow_undefined_flag=$lt_save_allow_undefined_flag
15342         else
15343           cat conftest.err 1>&5
15344         fi
15345         $RM conftest*
15346
15347 fi
15348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
15349 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
15350       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
15351       ;;
15352     esac
15353   fi
15354   ;;
15355 esac
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15509 printf %s "checking dynamic linker characteristics... " >&6; }
15510
15511 if test yes = "$GCC"; then
15512   case $host_os in
15513     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
15514     *) lt_awk_arg='/^libraries:/' ;;
15515   esac
15516   case $host_os in
15517     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
15518     *) lt_sed_strip_eq='s|=/|/|g' ;;
15519   esac
15520   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
15521   case $lt_search_path_spec in
15522   *\;*)
15523     # if the path contains ";" then we assume it to be the separator
15524     # otherwise default to the standard path separator (i.e. ":") - it is
15525     # assumed that no part of a normal pathname contains ";" but that should
15526     # okay in the real world where ";" in dirpaths is itself problematic.
15527     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
15528     ;;
15529   *)
15530     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
15531     ;;
15532   esac
15533   # Ok, now we have the path, separated by spaces, we can step through it
15534   # and add multilib dir if necessary...
15535   lt_tmp_lt_search_path_spec=
15536   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
15537   # ...but if some path component already ends with the multilib dir we assume
15538   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
15539   case "$lt_multi_os_dir; $lt_search_path_spec " in
15540   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
15541     lt_multi_os_dir=
15542     ;;
15543   esac
15544   for lt_sys_path in $lt_search_path_spec; do
15545     if test -d "$lt_sys_path$lt_multi_os_dir"; then
15546       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
15547     elif test -n "$lt_multi_os_dir"; then
15548       test -d "$lt_sys_path" && \
15549         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
15550     fi
15551   done
15552   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
15553 BEGIN {RS = " "; FS = "/|\n";} {
15554   lt_foo = "";
15555   lt_count = 0;
15556   for (lt_i = NF; lt_i > 0; lt_i--) {
15557     if ($lt_i != "" && $lt_i != ".") {
15558       if ($lt_i == "..") {
15559         lt_count++;
15560       } else {
15561         if (lt_count == 0) {
15562           lt_foo = "/" $lt_i lt_foo;
15563         } else {
15564           lt_count--;
15565         }
15566       }
15567     }
15568   }
15569   if (lt_foo != "") { lt_freq[lt_foo]++; }
15570   if (lt_freq[lt_foo] == 1) { print lt_foo; }
15571 }'`
15572   # AWK program above erroneously prepends '/' to C:/dos/paths
15573   # for these hosts.
15574   case $host_os in
15575     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
15576       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
15577   esac
15578   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
15579 else
15580   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15581 fi
15582 library_names_spec=
15583 libname_spec='lib$name'
15584 soname_spec=
15585 shrext_cmds=.so
15586 postinstall_cmds=
15587 postuninstall_cmds=
15588 finish_cmds=
15589 finish_eval=
15590 shlibpath_var=
15591 shlibpath_overrides_runpath=unknown
15592 version_type=none
15593 dynamic_linker="$host_os ld.so"
15594 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15595 need_lib_prefix=unknown
15596 hardcode_into_libs=no
15597
15598 # when you set need_version to no, make sure it does not cause -set_version
15599 # flags to be left without arguments
15600 need_version=unknown
15601
15602
15603
15604 case $host_os in
15605 aix3*)
15606   version_type=linux # correct to gnu/linux during the next big refactor
15607   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15608   shlibpath_var=LIBPATH
15609
15610   # AIX 3 has no versioning support, so we append a major version to the name.
15611   soname_spec='$libname$release$shared_ext$major'
15612   ;;
15613
15614 aix[4-9]*)
15615   version_type=linux # correct to gnu/linux during the next big refactor
15616   need_lib_prefix=no
15617   need_version=no
15618   hardcode_into_libs=yes
15619   if test ia64 = "$host_cpu"; then
15620     # AIX 5 supports IA64
15621     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15622     shlibpath_var=LD_LIBRARY_PATH
15623   else
15624     # With GCC up to 2.95.x, collect2 would create an import file
15625     # for dependence libraries.  The import file would start with
15626     # the line '#! .'.  This would cause the generated library to
15627     # depend on '.', always an invalid library.  This was fixed in
15628     # development snapshots of GCC prior to 3.0.
15629     case $host_os in
15630       aix4 | aix4.[01] | aix4.[01].*)
15631       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15632            echo ' yes '
15633            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15634         :
15635       else
15636         can_build_shared=no
15637       fi
15638       ;;
15639     esac
15640     # Using Import Files as archive members, it is possible to support
15641     # filename-based versioning of shared library archives on AIX. While
15642     # this would work for both with and without runtime linking, it will
15643     # prevent static linking of such archives. So we do filename-based
15644     # shared library versioning with .so extension only, which is used
15645     # when both runtime linking and shared linking is enabled.
15646     # Unfortunately, runtime linking may impact performance, so we do
15647     # not want this to be the default eventually. Also, we use the
15648     # versioned .so libs for executables only if there is the -brtl
15649     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15650     # To allow for filename-based versioning support, we need to create
15651     # libNAME.so.V as an archive file, containing:
15652     # *) an Import File, referring to the versioned filename of the
15653     #    archive as well as the shared archive member, telling the
15654     #    bitwidth (32 or 64) of that shared object, and providing the
15655     #    list of exported symbols of that shared object, eventually
15656     #    decorated with the 'weak' keyword
15657     # *) the shared object with the F_LOADONLY flag set, to really avoid
15658     #    it being seen by the linker.
15659     # At run time we better use the real file rather than another symlink,
15660     # but for link time we create the symlink libNAME.so -> libNAME.so.V
15661
15662     case $with_aix_soname,$aix_use_runtimelinking in
15663     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15664     # soname into executable. Probably we can add versioning support to
15665     # collect2, so additional links can be useful in future.
15666     aix,yes) # traditional libtool
15667       dynamic_linker='AIX unversionable lib.so'
15668       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15669       # instead of lib<name>.a to let people know that these are not
15670       # typical AIX shared libraries.
15671       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15672       ;;
15673     aix,no) # traditional AIX only
15674       dynamic_linker='AIX lib.a(lib.so.V)'
15675       # We preserve .a as extension for shared libraries through AIX4.2
15676       # and later when we are not doing run time linking.
15677       library_names_spec='$libname$release.a $libname.a'
15678       soname_spec='$libname$release$shared_ext$major'
15679       ;;
15680     svr4,*) # full svr4 only
15681       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15682       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15683       # We do not specify a path in Import Files, so LIBPATH fires.
15684       shlibpath_overrides_runpath=yes
15685       ;;
15686     *,yes) # both, prefer svr4
15687       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15688       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15689       # unpreferred sharedlib libNAME.a needs extra handling
15690       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"'
15691       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"'
15692       # We do not specify a path in Import Files, so LIBPATH fires.
15693       shlibpath_overrides_runpath=yes
15694       ;;
15695     *,no) # both, prefer aix
15696       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15697       library_names_spec='$libname$release.a $libname.a'
15698       soname_spec='$libname$release$shared_ext$major'
15699       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15700       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)'
15701       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"'
15702       ;;
15703     esac
15704     shlibpath_var=LIBPATH
15705   fi
15706   ;;
15707
15708 amigaos*)
15709   case $host_cpu in
15710   powerpc)
15711     # Since July 2007 AmigaOS4 officially supports .so libraries.
15712     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15713     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15714     ;;
15715   m68k)
15716     library_names_spec='$libname.ixlibrary $libname.a'
15717     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15718     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'
15719     ;;
15720   esac
15721   ;;
15722
15723 beos*)
15724   library_names_spec='$libname$shared_ext'
15725   dynamic_linker="$host_os ld.so"
15726   shlibpath_var=LIBRARY_PATH
15727   ;;
15728
15729 bsdi[45]*)
15730   version_type=linux # correct to gnu/linux during the next big refactor
15731   need_version=no
15732   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15733   soname_spec='$libname$release$shared_ext$major'
15734   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15735   shlibpath_var=LD_LIBRARY_PATH
15736   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15737   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15738   # the default ld.so.conf also contains /usr/contrib/lib and
15739   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15740   # libtool to hard-code these into programs
15741   ;;
15742
15743 cygwin* | mingw* | pw32* | cegcc*)
15744   version_type=windows
15745   shrext_cmds=.dll
15746   need_version=no
15747   need_lib_prefix=no
15748
15749   case $GCC,$cc_basename in
15750   yes,*)
15751     # gcc
15752     library_names_spec='$libname.dll.a'
15753     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15754     postinstall_cmds='base_file=`basename \$file`~
15755       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15756       dldir=$destdir/`dirname \$dlpath`~
15757       test -d \$dldir || mkdir -p \$dldir~
15758       $install_prog $dir/$dlname \$dldir/$dlname~
15759       chmod a+x \$dldir/$dlname~
15760       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15761         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15762       fi'
15763     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15764       dlpath=$dir/\$dldll~
15765        $RM \$dlpath'
15766     shlibpath_overrides_runpath=yes
15767
15768     case $host_os in
15769     cygwin*)
15770       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15771       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15772
15773       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
15774       ;;
15775     mingw* | cegcc*)
15776       # MinGW DLLs use traditional 'lib' prefix
15777       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15778       ;;
15779     pw32*)
15780       # pw32 DLLs use 'pw' prefix rather than 'lib'
15781       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15782       ;;
15783     esac
15784     dynamic_linker='Win32 ld.exe'
15785     ;;
15786
15787   *,cl* | *,icl*)
15788     # Native MSVC or ICC
15789     libname_spec='$name'
15790     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15791     library_names_spec='$libname.dll.lib'
15792
15793     case $build_os in
15794     mingw*)
15795       sys_lib_search_path_spec=
15796       lt_save_ifs=$IFS
15797       IFS=';'
15798       for lt_path in $LIB
15799       do
15800         IFS=$lt_save_ifs
15801         # Let DOS variable expansion print the short 8.3 style file name.
15802         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15803         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15804       done
15805       IFS=$lt_save_ifs
15806       # Convert to MSYS style.
15807       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15808       ;;
15809     cygwin*)
15810       # Convert to unix form, then to dos form, then back to unix form
15811       # but this time dos style (no spaces!) so that the unix form looks
15812       # like /cygdrive/c/PROGRA~1:/cygdr...
15813       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15814       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15815       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15816       ;;
15817     *)
15818       sys_lib_search_path_spec=$LIB
15819       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15820         # It is most probably a Windows format PATH.
15821         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15822       else
15823         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15824       fi
15825       # FIXME: find the short name or the path components, as spaces are
15826       # common. (e.g. "Program Files" -> "PROGRA~1")
15827       ;;
15828     esac
15829
15830     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15831     postinstall_cmds='base_file=`basename \$file`~
15832       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15833       dldir=$destdir/`dirname \$dlpath`~
15834       test -d \$dldir || mkdir -p \$dldir~
15835       $install_prog $dir/$dlname \$dldir/$dlname'
15836     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15837       dlpath=$dir/\$dldll~
15838        $RM \$dlpath'
15839     shlibpath_overrides_runpath=yes
15840     dynamic_linker='Win32 link.exe'
15841     ;;
15842
15843   *)
15844     # Assume MSVC and ICC wrapper
15845     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15846     dynamic_linker='Win32 ld.exe'
15847     ;;
15848   esac
15849   # FIXME: first we should search . and the directory the executable is in
15850   shlibpath_var=PATH
15851   ;;
15852
15853 darwin* | rhapsody*)
15854   dynamic_linker="$host_os dyld"
15855   version_type=darwin
15856   need_lib_prefix=no
15857   need_version=no
15858   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
15859   soname_spec='$libname$release$major$shared_ext'
15860   shlibpath_overrides_runpath=yes
15861   shlibpath_var=DYLD_LIBRARY_PATH
15862   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
15863
15864   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
15865   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15866   ;;
15867
15868 dgux*)
15869   version_type=linux # correct to gnu/linux during the next big refactor
15870   need_lib_prefix=no
15871   need_version=no
15872   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15873   soname_spec='$libname$release$shared_ext$major'
15874   shlibpath_var=LD_LIBRARY_PATH
15875   ;;
15876
15877 freebsd* | dragonfly* | midnightbsd*)
15878   # DragonFly does not have aout.  When/if they implement a new
15879   # versioning mechanism, adjust this.
15880   if test -x /usr/bin/objformat; then
15881     objformat=`/usr/bin/objformat`
15882   else
15883     case $host_os in
15884     freebsd[23].*) objformat=aout ;;
15885     *) objformat=elf ;;
15886     esac
15887   fi
15888   # Handle Gentoo/FreeBSD as it was Linux
15889   case $host_vendor in
15890     gentoo)
15891       version_type=linux ;;
15892     *)
15893       version_type=freebsd-$objformat ;;
15894   esac
15895
15896   case $version_type in
15897     freebsd-elf*)
15898       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15899       soname_spec='$libname$release$shared_ext$major'
15900       need_version=no
15901       need_lib_prefix=no
15902       ;;
15903     freebsd-*)
15904       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15905       need_version=yes
15906       ;;
15907     linux)
15908       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15909       soname_spec='${libname}${release}${shared_ext}$major'
15910       need_lib_prefix=no
15911       need_version=no
15912       ;;
15913   esac
15914   shlibpath_var=LD_LIBRARY_PATH
15915   case $host_os in
15916   freebsd2.*)
15917     shlibpath_overrides_runpath=yes
15918     ;;
15919   freebsd3.[01]* | freebsdelf3.[01]*)
15920     shlibpath_overrides_runpath=yes
15921     hardcode_into_libs=yes
15922     ;;
15923   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15924   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15925     shlibpath_overrides_runpath=no
15926     hardcode_into_libs=yes
15927     ;;
15928   *) # from 4.6 on, and DragonFly
15929     shlibpath_overrides_runpath=yes
15930     hardcode_into_libs=yes
15931     ;;
15932   esac
15933   ;;
15934
15935 haiku*)
15936   version_type=linux # correct to gnu/linux during the next big refactor
15937   need_lib_prefix=no
15938   need_version=no
15939   dynamic_linker="$host_os runtime_loader"
15940   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15941   soname_spec='$libname$release$shared_ext$major'
15942   shlibpath_var=LIBRARY_PATH
15943   shlibpath_overrides_runpath=no
15944   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15945   hardcode_into_libs=yes
15946   ;;
15947
15948 hpux9* | hpux10* | hpux11*)
15949   # Give a soname corresponding to the major version so that dld.sl refuses to
15950   # link against other versions.
15951   version_type=sunos
15952   need_lib_prefix=no
15953   need_version=no
15954   case $host_cpu in
15955   ia64*)
15956     shrext_cmds='.so'
15957     hardcode_into_libs=yes
15958     dynamic_linker="$host_os dld.so"
15959     shlibpath_var=LD_LIBRARY_PATH
15960     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15961     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15962     soname_spec='$libname$release$shared_ext$major'
15963     if test 32 = "$HPUX_IA64_MODE"; then
15964       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15965       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15966     else
15967       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15968       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15969     fi
15970     ;;
15971   hppa*64*)
15972     shrext_cmds='.sl'
15973     hardcode_into_libs=yes
15974     dynamic_linker="$host_os dld.sl"
15975     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15976     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15977     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15978     soname_spec='$libname$release$shared_ext$major'
15979     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15980     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15981     ;;
15982   *)
15983     shrext_cmds='.sl'
15984     dynamic_linker="$host_os dld.sl"
15985     shlibpath_var=SHLIB_PATH
15986     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15987     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15988     soname_spec='$libname$release$shared_ext$major'
15989     ;;
15990   esac
15991   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15992   postinstall_cmds='chmod 555 $lib'
15993   # or fails outright, so override atomically:
15994   install_override_mode=555
15995   ;;
15996
15997 interix[3-9]*)
15998   version_type=linux # correct to gnu/linux during the next big refactor
15999   need_lib_prefix=no
16000   need_version=no
16001   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16002   soname_spec='$libname$release$shared_ext$major'
16003   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16004   shlibpath_var=LD_LIBRARY_PATH
16005   shlibpath_overrides_runpath=no
16006   hardcode_into_libs=yes
16007   ;;
16008
16009 irix5* | irix6* | nonstopux*)
16010   case $host_os in
16011     nonstopux*) version_type=nonstopux ;;
16012     *)
16013         if test yes = "$lt_cv_prog_gnu_ld"; then
16014                 version_type=linux # correct to gnu/linux during the next big refactor
16015         else
16016                 version_type=irix
16017         fi ;;
16018   esac
16019   need_lib_prefix=no
16020   need_version=no
16021   soname_spec='$libname$release$shared_ext$major'
16022   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16023   case $host_os in
16024   irix5* | nonstopux*)
16025     libsuff= shlibsuff=
16026     ;;
16027   *)
16028     case $LD in # libtool.m4 will add one of these switches to LD
16029     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16030       libsuff= shlibsuff= libmagic=32-bit;;
16031     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16032       libsuff=32 shlibsuff=N32 libmagic=N32;;
16033     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16034       libsuff=64 shlibsuff=64 libmagic=64-bit;;
16035     *) libsuff= shlibsuff= libmagic=never-match;;
16036     esac
16037     ;;
16038   esac
16039   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16040   shlibpath_overrides_runpath=no
16041   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16042   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16043   hardcode_into_libs=yes
16044   ;;
16045
16046 # No shared lib support for Linux oldld, aout, or coff.
16047 linux*oldld* | linux*aout* | linux*coff*)
16048   dynamic_linker=no
16049   ;;
16050
16051 linux*android*)
16052   version_type=none # Android doesn't support versioned libraries.
16053   need_lib_prefix=no
16054   need_version=no
16055   library_names_spec='$libname$release$shared_ext'
16056   soname_spec='$libname$release$shared_ext'
16057   finish_cmds=
16058   shlibpath_var=LD_LIBRARY_PATH
16059   shlibpath_overrides_runpath=yes
16060
16061   # This implies no fast_install, which is unacceptable.
16062   # Some rework will be needed to allow for fast_install
16063   # before this can be enabled.
16064   hardcode_into_libs=yes
16065
16066   dynamic_linker='Android linker'
16067   # Don't embed -rpath directories since the linker doesn't support them.
16068   hardcode_libdir_flag_spec='-L$libdir'
16069   ;;
16070
16071 # This must be glibc/ELF.
16072 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16073   version_type=linux # correct to gnu/linux during the next big refactor
16074   need_lib_prefix=no
16075   need_version=no
16076   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16077   soname_spec='$libname$release$shared_ext$major'
16078   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16079   shlibpath_var=LD_LIBRARY_PATH
16080   shlibpath_overrides_runpath=no
16081
16082   # Some binutils ld are patched to set DT_RUNPATH
16083   if test ${lt_cv_shlibpath_overrides_runpath+y}
16084 then :
16085   printf %s "(cached) " >&6
16086 else $as_nop
16087   lt_cv_shlibpath_overrides_runpath=no
16088     save_LDFLAGS=$LDFLAGS
16089     save_libdir=$libdir
16090     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
16091          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
16092     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h.  */
16094
16095 int
16096 main (void)
16097 {
16098
16099   ;
16100   return 0;
16101 }
16102 _ACEOF
16103 if ac_fn_c_try_link "$LINENO"
16104 then :
16105   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
16106 then :
16107   lt_cv_shlibpath_overrides_runpath=yes
16108 fi
16109 fi
16110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16111     conftest$ac_exeext conftest.$ac_ext
16112     LDFLAGS=$save_LDFLAGS
16113     libdir=$save_libdir
16114
16115 fi
16116
16117   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16118
16119   # This implies no fast_install, which is unacceptable.
16120   # Some rework will be needed to allow for fast_install
16121   # before this can be enabled.
16122   hardcode_into_libs=yes
16123
16124   # Ideally, we could use ldconfig to report *all* directores which are
16125   # searched for libraries, however this is still not possible.  Aside from not
16126   # being certain /sbin/ldconfig is available, command
16127   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16128   # even though it is searched at run-time.  Try to do the best guess by
16129   # appending ld.so.conf contents (and includes) to the search path.
16130   if test -f /etc/ld.so.conf; then
16131     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' ' '`
16132     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16133   fi
16134
16135   # We used to test for /lib/ld.so.1 and disable shared libraries on
16136   # powerpc, because MkLinux only supported shared libraries with the
16137   # GNU dynamic linker.  Since this was broken with cross compilers,
16138   # most powerpc-linux boxes support dynamic linking these days and
16139   # people can always --disable-shared, the test was removed, and we
16140   # assume the GNU/Linux dynamic linker is in use.
16141   dynamic_linker='GNU/Linux ld.so'
16142   ;;
16143
16144 netbsd*)
16145   version_type=sunos
16146   need_lib_prefix=no
16147   need_version=no
16148   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16149     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16150     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16151     dynamic_linker='NetBSD (a.out) ld.so'
16152   else
16153     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16154     soname_spec='$libname$release$shared_ext$major'
16155     dynamic_linker='NetBSD ld.elf_so'
16156   fi
16157   shlibpath_var=LD_LIBRARY_PATH
16158   shlibpath_overrides_runpath=yes
16159   hardcode_into_libs=yes
16160   ;;
16161
16162 newsos6)
16163   version_type=linux # correct to gnu/linux during the next big refactor
16164   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16165   shlibpath_var=LD_LIBRARY_PATH
16166   shlibpath_overrides_runpath=yes
16167   ;;
16168
16169 *nto* | *qnx*)
16170   version_type=qnx
16171   need_lib_prefix=no
16172   need_version=no
16173   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16174   soname_spec='$libname$release$shared_ext$major'
16175   shlibpath_var=LD_LIBRARY_PATH
16176   shlibpath_overrides_runpath=no
16177   hardcode_into_libs=yes
16178   dynamic_linker='ldqnx.so'
16179   ;;
16180
16181 openbsd* | bitrig*)
16182   version_type=sunos
16183   sys_lib_dlsearch_path_spec=/usr/lib
16184   need_lib_prefix=no
16185   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16186     need_version=no
16187   else
16188     need_version=yes
16189   fi
16190   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16191   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16192   shlibpath_var=LD_LIBRARY_PATH
16193   shlibpath_overrides_runpath=yes
16194   ;;
16195
16196 os2*)
16197   libname_spec='$name'
16198   version_type=windows
16199   shrext_cmds=.dll
16200   need_version=no
16201   need_lib_prefix=no
16202   # OS/2 can only load a DLL with a base name of 8 characters or less.
16203   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16204     v=$($ECHO $release$versuffix | tr -d .-);
16205     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16206     $ECHO $n$v`$shared_ext'
16207   library_names_spec='${libname}_dll.$libext'
16208   dynamic_linker='OS/2 ld.exe'
16209   shlibpath_var=BEGINLIBPATH
16210   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16211   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16212   postinstall_cmds='base_file=`basename \$file`~
16213     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16214     dldir=$destdir/`dirname \$dlpath`~
16215     test -d \$dldir || mkdir -p \$dldir~
16216     $install_prog $dir/$dlname \$dldir/$dlname~
16217     chmod a+x \$dldir/$dlname~
16218     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16219       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16220     fi'
16221   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16222     dlpath=$dir/\$dldll~
16223     $RM \$dlpath'
16224   ;;
16225
16226 osf3* | osf4* | osf5*)
16227   version_type=osf
16228   need_lib_prefix=no
16229   need_version=no
16230   soname_spec='$libname$release$shared_ext$major'
16231   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16232   shlibpath_var=LD_LIBRARY_PATH
16233   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16234   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16235   ;;
16236
16237 rdos*)
16238   dynamic_linker=no
16239   ;;
16240
16241 solaris*)
16242   version_type=linux # correct to gnu/linux during the next big refactor
16243   need_lib_prefix=no
16244   need_version=no
16245   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16246   soname_spec='$libname$release$shared_ext$major'
16247   shlibpath_var=LD_LIBRARY_PATH
16248   shlibpath_overrides_runpath=yes
16249   hardcode_into_libs=yes
16250   # ldd complains unless libraries are executable
16251   postinstall_cmds='chmod +x $lib'
16252   ;;
16253
16254 sunos4*)
16255   version_type=sunos
16256   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16257   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16258   shlibpath_var=LD_LIBRARY_PATH
16259   shlibpath_overrides_runpath=yes
16260   if test yes = "$with_gnu_ld"; then
16261     need_lib_prefix=no
16262   fi
16263   need_version=yes
16264   ;;
16265
16266 sysv4 | sysv4.3*)
16267   version_type=linux # correct to gnu/linux during the next big refactor
16268   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16269   soname_spec='$libname$release$shared_ext$major'
16270   shlibpath_var=LD_LIBRARY_PATH
16271   case $host_vendor in
16272     sni)
16273       shlibpath_overrides_runpath=no
16274       need_lib_prefix=no
16275       runpath_var=LD_RUN_PATH
16276       ;;
16277     siemens)
16278       need_lib_prefix=no
16279       ;;
16280     motorola)
16281       need_lib_prefix=no
16282       need_version=no
16283       shlibpath_overrides_runpath=no
16284       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16285       ;;
16286   esac
16287   ;;
16288
16289 sysv4*MP*)
16290   if test -d /usr/nec; then
16291     version_type=linux # correct to gnu/linux during the next big refactor
16292     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16293     soname_spec='$libname$shared_ext.$major'
16294     shlibpath_var=LD_LIBRARY_PATH
16295   fi
16296   ;;
16297
16298 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16299   version_type=sco
16300   need_lib_prefix=no
16301   need_version=no
16302   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16303   soname_spec='$libname$release$shared_ext$major'
16304   shlibpath_var=LD_LIBRARY_PATH
16305   shlibpath_overrides_runpath=yes
16306   hardcode_into_libs=yes
16307   if test yes = "$with_gnu_ld"; then
16308     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16309   else
16310     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16311     case $host_os in
16312       sco3.2v5*)
16313         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16314         ;;
16315     esac
16316   fi
16317   sys_lib_dlsearch_path_spec='/usr/lib'
16318   ;;
16319
16320 tpf*)
16321   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16322   version_type=linux # correct to gnu/linux during the next big refactor
16323   need_lib_prefix=no
16324   need_version=no
16325   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16326   shlibpath_var=LD_LIBRARY_PATH
16327   shlibpath_overrides_runpath=no
16328   hardcode_into_libs=yes
16329   ;;
16330
16331 uts4*)
16332   version_type=linux # correct to gnu/linux during the next big refactor
16333   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16334   soname_spec='$libname$release$shared_ext$major'
16335   shlibpath_var=LD_LIBRARY_PATH
16336   ;;
16337
16338 *)
16339   dynamic_linker=no
16340   ;;
16341 esac
16342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16343 printf "%s\n" "$dynamic_linker" >&6; }
16344 test no = "$dynamic_linker" && can_build_shared=no
16345
16346 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16347 if test yes = "$GCC"; then
16348   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16349 fi
16350
16351 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16352   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16353 fi
16354
16355 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16356   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16357 fi
16358
16359 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16360 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16361
16362 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16363 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16364
16365 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16366 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16465 printf %s "checking how to hardcode library paths into programs... " >&6; }
16466 hardcode_action=
16467 if test -n "$hardcode_libdir_flag_spec" ||
16468    test -n "$runpath_var" ||
16469    test yes = "$hardcode_automatic"; then
16470
16471   # We can hardcode non-existent directories.
16472   if test no != "$hardcode_direct" &&
16473      # If the only mechanism to avoid hardcoding is shlibpath_var, we
16474      # have to relink, otherwise we might link with an installed library
16475      # when we should be linking with a yet-to-be-installed one
16476      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
16477      test no != "$hardcode_minus_L"; then
16478     # Linking always hardcodes the temporary library directory.
16479     hardcode_action=relink
16480   else
16481     # We can link without hardcoding, and we can hardcode nonexisting dirs.
16482     hardcode_action=immediate
16483   fi
16484 else
16485   # We cannot hardcode anything, or else we can only hardcode existing
16486   # directories.
16487   hardcode_action=unsupported
16488 fi
16489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
16490 printf "%s\n" "$hardcode_action" >&6; }
16491
16492 if test relink = "$hardcode_action" ||
16493    test yes = "$inherit_rpath"; then
16494   # Fast installation is not supported
16495   enable_fast_install=no
16496 elif test yes = "$shlibpath_overrides_runpath" ||
16497      test no = "$enable_shared"; then
16498   # Fast installation is not necessary
16499   enable_fast_install=needless
16500 fi
16501
16502
16503
16504
16505
16506
16507   if test yes != "$enable_dlopen"; then
16508   enable_dlopen=unknown
16509   enable_dlopen_self=unknown
16510   enable_dlopen_self_static=unknown
16511 else
16512   lt_cv_dlopen=no
16513   lt_cv_dlopen_libs=
16514
16515   case $host_os in
16516   beos*)
16517     lt_cv_dlopen=load_add_on
16518     lt_cv_dlopen_libs=
16519     lt_cv_dlopen_self=yes
16520     ;;
16521
16522   mingw* | pw32* | cegcc*)
16523     lt_cv_dlopen=LoadLibrary
16524     lt_cv_dlopen_libs=
16525     ;;
16526
16527   cygwin*)
16528     lt_cv_dlopen=dlopen
16529     lt_cv_dlopen_libs=
16530     ;;
16531
16532   darwin*)
16533     # if libdl is installed we need to link against it
16534     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16535 printf %s "checking for dlopen in -ldl... " >&6; }
16536 if test ${ac_cv_lib_dl_dlopen+y}
16537 then :
16538   printf %s "(cached) " >&6
16539 else $as_nop
16540   ac_check_lib_save_LIBS=$LIBS
16541 LIBS="-ldl  $LIBS"
16542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16543 /* end confdefs.h.  */
16544
16545 /* Override any GCC internal prototype to avoid an error.
16546    Use char because int might match the return type of a GCC
16547    builtin and then its argument prototype would still apply.
16548    The 'extern "C"' is for builds by C++ compilers;
16549    although this is not generally supported in C code supporting it here
16550    has little cost and some practical benefit (sr 110532).  */
16551 #ifdef __cplusplus
16552 extern "C"
16553 #endif
16554 char dlopen (void);
16555 int
16556 main (void)
16557 {
16558 return dlopen ();
16559   ;
16560   return 0;
16561 }
16562 _ACEOF
16563 if ac_fn_c_try_link "$LINENO"
16564 then :
16565   ac_cv_lib_dl_dlopen=yes
16566 else $as_nop
16567   ac_cv_lib_dl_dlopen=no
16568 fi
16569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16570     conftest$ac_exeext conftest.$ac_ext
16571 LIBS=$ac_check_lib_save_LIBS
16572 fi
16573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16574 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
16575 if test "x$ac_cv_lib_dl_dlopen" = xyes
16576 then :
16577   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16578 else $as_nop
16579
16580     lt_cv_dlopen=dyld
16581     lt_cv_dlopen_libs=
16582     lt_cv_dlopen_self=yes
16583
16584 fi
16585
16586     ;;
16587
16588   tpf*)
16589     # Don't try to run any link tests for TPF.  We know it's impossible
16590     # because TPF is a cross-compiler, and we know how we open DSOs.
16591     lt_cv_dlopen=dlopen
16592     lt_cv_dlopen_libs=
16593     lt_cv_dlopen_self=no
16594     ;;
16595
16596   *)
16597     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
16598 if test "x$ac_cv_func_shl_load" = xyes
16599 then :
16600   lt_cv_dlopen=shl_load
16601 else $as_nop
16602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
16603 printf %s "checking for shl_load in -ldld... " >&6; }
16604 if test ${ac_cv_lib_dld_shl_load+y}
16605 then :
16606   printf %s "(cached) " >&6
16607 else $as_nop
16608   ac_check_lib_save_LIBS=$LIBS
16609 LIBS="-ldld  $LIBS"
16610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16611 /* end confdefs.h.  */
16612
16613 /* Override any GCC internal prototype to avoid an error.
16614    Use char because int might match the return type of a GCC
16615    builtin and then its argument prototype would still apply.
16616    The 'extern "C"' is for builds by C++ compilers;
16617    although this is not generally supported in C code supporting it here
16618    has little cost and some practical benefit (sr 110532).  */
16619 #ifdef __cplusplus
16620 extern "C"
16621 #endif
16622 char shl_load (void);
16623 int
16624 main (void)
16625 {
16626 return shl_load ();
16627   ;
16628   return 0;
16629 }
16630 _ACEOF
16631 if ac_fn_c_try_link "$LINENO"
16632 then :
16633   ac_cv_lib_dld_shl_load=yes
16634 else $as_nop
16635   ac_cv_lib_dld_shl_load=no
16636 fi
16637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16638     conftest$ac_exeext conftest.$ac_ext
16639 LIBS=$ac_check_lib_save_LIBS
16640 fi
16641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
16642 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
16643 if test "x$ac_cv_lib_dld_shl_load" = xyes
16644 then :
16645   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
16646 else $as_nop
16647   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
16648 if test "x$ac_cv_func_dlopen" = xyes
16649 then :
16650   lt_cv_dlopen=dlopen
16651 else $as_nop
16652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16653 printf %s "checking for dlopen in -ldl... " >&6; }
16654 if test ${ac_cv_lib_dl_dlopen+y}
16655 then :
16656   printf %s "(cached) " >&6
16657 else $as_nop
16658   ac_check_lib_save_LIBS=$LIBS
16659 LIBS="-ldl  $LIBS"
16660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16661 /* end confdefs.h.  */
16662
16663 /* Override any GCC internal prototype to avoid an error.
16664    Use char because int might match the return type of a GCC
16665    builtin and then its argument prototype would still apply.
16666    The 'extern "C"' is for builds by C++ compilers;
16667    although this is not generally supported in C code supporting it here
16668    has little cost and some practical benefit (sr 110532).  */
16669 #ifdef __cplusplus
16670 extern "C"
16671 #endif
16672 char dlopen (void);
16673 int
16674 main (void)
16675 {
16676 return dlopen ();
16677   ;
16678   return 0;
16679 }
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"
16682 then :
16683   ac_cv_lib_dl_dlopen=yes
16684 else $as_nop
16685   ac_cv_lib_dl_dlopen=no
16686 fi
16687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16688     conftest$ac_exeext conftest.$ac_ext
16689 LIBS=$ac_check_lib_save_LIBS
16690 fi
16691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16692 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
16693 if test "x$ac_cv_lib_dl_dlopen" = xyes
16694 then :
16695   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16696 else $as_nop
16697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
16698 printf %s "checking for dlopen in -lsvld... " >&6; }
16699 if test ${ac_cv_lib_svld_dlopen+y}
16700 then :
16701   printf %s "(cached) " >&6
16702 else $as_nop
16703   ac_check_lib_save_LIBS=$LIBS
16704 LIBS="-lsvld  $LIBS"
16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h.  */
16707
16708 /* Override any GCC internal prototype to avoid an error.
16709    Use char because int might match the return type of a GCC
16710    builtin and then its argument prototype would still apply.
16711    The 'extern "C"' is for builds by C++ compilers;
16712    although this is not generally supported in C code supporting it here
16713    has little cost and some practical benefit (sr 110532).  */
16714 #ifdef __cplusplus
16715 extern "C"
16716 #endif
16717 char dlopen (void);
16718 int
16719 main (void)
16720 {
16721 return dlopen ();
16722   ;
16723   return 0;
16724 }
16725 _ACEOF
16726 if ac_fn_c_try_link "$LINENO"
16727 then :
16728   ac_cv_lib_svld_dlopen=yes
16729 else $as_nop
16730   ac_cv_lib_svld_dlopen=no
16731 fi
16732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16733     conftest$ac_exeext conftest.$ac_ext
16734 LIBS=$ac_check_lib_save_LIBS
16735 fi
16736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
16737 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
16738 if test "x$ac_cv_lib_svld_dlopen" = xyes
16739 then :
16740   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
16741 else $as_nop
16742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
16743 printf %s "checking for dld_link in -ldld... " >&6; }
16744 if test ${ac_cv_lib_dld_dld_link+y}
16745 then :
16746   printf %s "(cached) " >&6
16747 else $as_nop
16748   ac_check_lib_save_LIBS=$LIBS
16749 LIBS="-ldld  $LIBS"
16750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16751 /* end confdefs.h.  */
16752
16753 /* Override any GCC internal prototype to avoid an error.
16754    Use char because int might match the return type of a GCC
16755    builtin and then its argument prototype would still apply.
16756    The 'extern "C"' is for builds by C++ compilers;
16757    although this is not generally supported in C code supporting it here
16758    has little cost and some practical benefit (sr 110532).  */
16759 #ifdef __cplusplus
16760 extern "C"
16761 #endif
16762 char dld_link (void);
16763 int
16764 main (void)
16765 {
16766 return dld_link ();
16767   ;
16768   return 0;
16769 }
16770 _ACEOF
16771 if ac_fn_c_try_link "$LINENO"
16772 then :
16773   ac_cv_lib_dld_dld_link=yes
16774 else $as_nop
16775   ac_cv_lib_dld_dld_link=no
16776 fi
16777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16778     conftest$ac_exeext conftest.$ac_ext
16779 LIBS=$ac_check_lib_save_LIBS
16780 fi
16781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
16782 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
16783 if test "x$ac_cv_lib_dld_dld_link" = xyes
16784 then :
16785   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
16786 fi
16787
16788
16789 fi
16790
16791
16792 fi
16793
16794
16795 fi
16796
16797
16798 fi
16799
16800
16801 fi
16802
16803     ;;
16804   esac
16805
16806   if test no = "$lt_cv_dlopen"; then
16807     enable_dlopen=no
16808   else
16809     enable_dlopen=yes
16810   fi
16811
16812   case $lt_cv_dlopen in
16813   dlopen)
16814     save_CPPFLAGS=$CPPFLAGS
16815     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16816
16817     save_LDFLAGS=$LDFLAGS
16818     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16819
16820     save_LIBS=$LIBS
16821     LIBS="$lt_cv_dlopen_libs $LIBS"
16822
16823     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
16824 printf %s "checking whether a program can dlopen itself... " >&6; }
16825 if test ${lt_cv_dlopen_self+y}
16826 then :
16827   printf %s "(cached) " >&6
16828 else $as_nop
16829           if test yes = "$cross_compiling"; then :
16830   lt_cv_dlopen_self=cross
16831 else
16832   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16833   lt_status=$lt_dlunknown
16834   cat > conftest.$ac_ext <<_LT_EOF
16835 #line $LINENO "configure"
16836 #include "confdefs.h"
16837
16838 #if HAVE_DLFCN_H
16839 #include <dlfcn.h>
16840 #endif
16841
16842 #include <stdio.h>
16843
16844 #ifdef RTLD_GLOBAL
16845 #  define LT_DLGLOBAL           RTLD_GLOBAL
16846 #else
16847 #  ifdef DL_GLOBAL
16848 #    define LT_DLGLOBAL         DL_GLOBAL
16849 #  else
16850 #    define LT_DLGLOBAL         0
16851 #  endif
16852 #endif
16853
16854 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16855    find out it does not work in some platform. */
16856 #ifndef LT_DLLAZY_OR_NOW
16857 #  ifdef RTLD_LAZY
16858 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
16859 #  else
16860 #    ifdef DL_LAZY
16861 #      define LT_DLLAZY_OR_NOW          DL_LAZY
16862 #    else
16863 #      ifdef RTLD_NOW
16864 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
16865 #      else
16866 #        ifdef DL_NOW
16867 #          define LT_DLLAZY_OR_NOW      DL_NOW
16868 #        else
16869 #          define LT_DLLAZY_OR_NOW      0
16870 #        endif
16871 #      endif
16872 #    endif
16873 #  endif
16874 #endif
16875
16876 /* When -fvisibility=hidden is used, assume the code has been annotated
16877    correspondingly for the symbols needed.  */
16878 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
16879 int fnord () __attribute__((visibility("default")));
16880 #endif
16881
16882 int fnord () { return 42; }
16883 int main ()
16884 {
16885   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16886   int status = $lt_dlunknown;
16887
16888   if (self)
16889     {
16890       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16891       else
16892         {
16893           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
16894           else puts (dlerror ());
16895         }
16896       /* dlclose (self); */
16897     }
16898   else
16899     puts (dlerror ());
16900
16901   return status;
16902 }
16903 _LT_EOF
16904   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16905   (eval $ac_link) 2>&5
16906   ac_status=$?
16907   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16908   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16909     (./conftest; exit; ) >&5 2>/dev/null
16910     lt_status=$?
16911     case x$lt_status in
16912       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16913       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16914       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
16915     esac
16916   else :
16917     # compilation failed
16918     lt_cv_dlopen_self=no
16919   fi
16920 fi
16921 rm -fr conftest*
16922
16923
16924 fi
16925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
16926 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
16927
16928     if test yes = "$lt_cv_dlopen_self"; then
16929       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
16930       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
16931 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
16932 if test ${lt_cv_dlopen_self_static+y}
16933 then :
16934   printf %s "(cached) " >&6
16935 else $as_nop
16936           if test yes = "$cross_compiling"; then :
16937   lt_cv_dlopen_self_static=cross
16938 else
16939   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16940   lt_status=$lt_dlunknown
16941   cat > conftest.$ac_ext <<_LT_EOF
16942 #line $LINENO "configure"
16943 #include "confdefs.h"
16944
16945 #if HAVE_DLFCN_H
16946 #include <dlfcn.h>
16947 #endif
16948
16949 #include <stdio.h>
16950
16951 #ifdef RTLD_GLOBAL
16952 #  define LT_DLGLOBAL           RTLD_GLOBAL
16953 #else
16954 #  ifdef DL_GLOBAL
16955 #    define LT_DLGLOBAL         DL_GLOBAL
16956 #  else
16957 #    define LT_DLGLOBAL         0
16958 #  endif
16959 #endif
16960
16961 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16962    find out it does not work in some platform. */
16963 #ifndef LT_DLLAZY_OR_NOW
16964 #  ifdef RTLD_LAZY
16965 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
16966 #  else
16967 #    ifdef DL_LAZY
16968 #      define LT_DLLAZY_OR_NOW          DL_LAZY
16969 #    else
16970 #      ifdef RTLD_NOW
16971 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
16972 #      else
16973 #        ifdef DL_NOW
16974 #          define LT_DLLAZY_OR_NOW      DL_NOW
16975 #        else
16976 #          define LT_DLLAZY_OR_NOW      0
16977 #        endif
16978 #      endif
16979 #    endif
16980 #  endif
16981 #endif
16982
16983 /* When -fvisibility=hidden is used, assume the code has been annotated
16984    correspondingly for the symbols needed.  */
16985 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
16986 int fnord () __attribute__((visibility("default")));
16987 #endif
16988
16989 int fnord () { return 42; }
16990 int main ()
16991 {
16992   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16993   int status = $lt_dlunknown;
16994
16995   if (self)
16996     {
16997       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
16998       else
16999         {
17000           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
17001           else puts (dlerror ());
17002         }
17003       /* dlclose (self); */
17004     }
17005   else
17006     puts (dlerror ());
17007
17008   return status;
17009 }
17010 _LT_EOF
17011   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17012   (eval $ac_link) 2>&5
17013   ac_status=$?
17014   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17015   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
17016     (./conftest; exit; ) >&5 2>/dev/null
17017     lt_status=$?
17018     case x$lt_status in
17019       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17020       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17021       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17022     esac
17023   else :
17024     # compilation failed
17025     lt_cv_dlopen_self_static=no
17026   fi
17027 fi
17028 rm -fr conftest*
17029
17030
17031 fi
17032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
17033 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
17034     fi
17035
17036     CPPFLAGS=$save_CPPFLAGS
17037     LDFLAGS=$save_LDFLAGS
17038     LIBS=$save_LIBS
17039     ;;
17040   esac
17041
17042   case $lt_cv_dlopen_self in
17043   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17044   *) enable_dlopen_self=unknown ;;
17045   esac
17046
17047   case $lt_cv_dlopen_self_static in
17048   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17049   *) enable_dlopen_self_static=unknown ;;
17050   esac
17051 fi
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069 striplib=
17070 old_striplib=
17071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
17072 printf %s "checking whether stripping libraries is possible... " >&6; }
17073 if test -z "$STRIP"; then
17074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17075 printf "%s\n" "no" >&6; }
17076 else
17077   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
17078     old_striplib="$STRIP --strip-debug"
17079     striplib="$STRIP --strip-unneeded"
17080     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17081 printf "%s\n" "yes" >&6; }
17082   else
17083     case $host_os in
17084     darwin*)
17085       # FIXME - insert some real tests, host_os isn't really good enough
17086       striplib="$STRIP -x"
17087       old_striplib="$STRIP -S"
17088       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17089 printf "%s\n" "yes" >&6; }
17090       ;;
17091     freebsd*)
17092       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
17093         old_striplib="$STRIP --strip-debug"
17094         striplib="$STRIP --strip-unneeded"
17095         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17096 printf "%s\n" "yes" >&6; }
17097       else
17098         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17099 printf "%s\n" "no" >&6; }
17100       fi
17101       ;;
17102     *)
17103       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17104 printf "%s\n" "no" >&6; }
17105       ;;
17106     esac
17107   fi
17108 fi
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121   # Report what library types will actually be built
17122   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
17123 printf %s "checking if libtool supports shared libraries... " >&6; }
17124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
17125 printf "%s\n" "$can_build_shared" >&6; }
17126
17127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
17128 printf %s "checking whether to build shared libraries... " >&6; }
17129   test no = "$can_build_shared" && enable_shared=no
17130
17131   # On AIX, shared libraries and static libraries use the same namespace, and
17132   # are all built from PIC.
17133   case $host_os in
17134   aix3*)
17135     test yes = "$enable_shared" && enable_static=no
17136     if test -n "$RANLIB"; then
17137       archive_cmds="$archive_cmds~\$RANLIB \$lib"
17138       postinstall_cmds='$RANLIB $lib'
17139     fi
17140     ;;
17141
17142   aix[4-9]*)
17143     if test ia64 != "$host_cpu"; then
17144       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
17145       yes,aix,yes) ;;                   # shared object as lib.so file only
17146       yes,svr4,*) ;;                    # shared object as lib.so archive member only
17147       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
17148       esac
17149     fi
17150     ;;
17151   esac
17152   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
17153 printf "%s\n" "$enable_shared" >&6; }
17154
17155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
17156 printf %s "checking whether to build static libraries... " >&6; }
17157   # Make sure either enable_shared or enable_static is yes.
17158   test yes = "$enable_shared" || enable_static=yes
17159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
17160 printf "%s\n" "$enable_static" >&6; }
17161
17162
17163
17164
17165 fi
17166 ac_ext=c
17167 ac_cpp='$CPP $CPPFLAGS'
17168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17171
17172 CC=$lt_save_CC
17173
17174       if test -n "$CXX" && ( test no != "$CXX" &&
17175     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
17176     (test g++ != "$CXX"))); then
17177   ac_ext=cpp
17178 ac_cpp='$CXXCPP $CPPFLAGS'
17179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17183 printf %s "checking how to run the C++ preprocessor... " >&6; }
17184 if test -z "$CXXCPP"; then
17185   if test ${ac_cv_prog_CXXCPP+y}
17186 then :
17187   printf %s "(cached) " >&6
17188 else $as_nop
17189       # Double quotes because $CXX needs to be expanded
17190     for CXXCPP in "$CXX -E" cpp /lib/cpp
17191     do
17192       ac_preproc_ok=false
17193 for ac_cxx_preproc_warn_flag in '' yes
17194 do
17195   # Use a header file that comes with gcc, so configuring glibc
17196   # with a fresh cross-compiler works.
17197   # On the NeXT, cc -E runs the code through the compiler's parser,
17198   # not just through cpp. "Syntax error" is here to catch this case.
17199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h.  */
17201 #include <limits.h>
17202                      Syntax error
17203 _ACEOF
17204 if ac_fn_cxx_try_cpp "$LINENO"
17205 then :
17206
17207 else $as_nop
17208   # Broken: fails on valid input.
17209 continue
17210 fi
17211 rm -f conftest.err conftest.i conftest.$ac_ext
17212
17213   # OK, works on sane cases.  Now check whether nonexistent headers
17214   # can be detected and how.
17215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h.  */
17217 #include <ac_nonexistent.h>
17218 _ACEOF
17219 if ac_fn_cxx_try_cpp "$LINENO"
17220 then :
17221   # Broken: success on invalid input.
17222 continue
17223 else $as_nop
17224   # Passes both tests.
17225 ac_preproc_ok=:
17226 break
17227 fi
17228 rm -f conftest.err conftest.i conftest.$ac_ext
17229
17230 done
17231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17232 rm -f conftest.i conftest.err conftest.$ac_ext
17233 if $ac_preproc_ok
17234 then :
17235   break
17236 fi
17237
17238     done
17239     ac_cv_prog_CXXCPP=$CXXCPP
17240
17241 fi
17242   CXXCPP=$ac_cv_prog_CXXCPP
17243 else
17244   ac_cv_prog_CXXCPP=$CXXCPP
17245 fi
17246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17247 printf "%s\n" "$CXXCPP" >&6; }
17248 ac_preproc_ok=false
17249 for ac_cxx_preproc_warn_flag in '' yes
17250 do
17251   # Use a header file that comes with gcc, so configuring glibc
17252   # with a fresh cross-compiler works.
17253   # On the NeXT, cc -E runs the code through the compiler's parser,
17254   # not just through cpp. "Syntax error" is here to catch this case.
17255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h.  */
17257 #include <limits.h>
17258                      Syntax error
17259 _ACEOF
17260 if ac_fn_cxx_try_cpp "$LINENO"
17261 then :
17262
17263 else $as_nop
17264   # Broken: fails on valid input.
17265 continue
17266 fi
17267 rm -f conftest.err conftest.i conftest.$ac_ext
17268
17269   # OK, works on sane cases.  Now check whether nonexistent headers
17270   # can be detected and how.
17271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h.  */
17273 #include <ac_nonexistent.h>
17274 _ACEOF
17275 if ac_fn_cxx_try_cpp "$LINENO"
17276 then :
17277   # Broken: success on invalid input.
17278 continue
17279 else $as_nop
17280   # Passes both tests.
17281 ac_preproc_ok=:
17282 break
17283 fi
17284 rm -f conftest.err conftest.i conftest.$ac_ext
17285
17286 done
17287 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17288 rm -f conftest.i conftest.err conftest.$ac_ext
17289 if $ac_preproc_ok
17290 then :
17291
17292 else $as_nop
17293   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17294 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17295 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
17296 See \`config.log' for more details" "$LINENO" 5; }
17297 fi
17298
17299 ac_ext=c
17300 ac_cpp='$CPP $CPPFLAGS'
17301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17304
17305 else
17306   _lt_caught_CXX_error=yes
17307 fi
17308
17309 ac_ext=cpp
17310 ac_cpp='$CXXCPP $CPPFLAGS'
17311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17314
17315 archive_cmds_need_lc_CXX=no
17316 allow_undefined_flag_CXX=
17317 always_export_symbols_CXX=no
17318 archive_expsym_cmds_CXX=
17319 compiler_needs_object_CXX=no
17320 export_dynamic_flag_spec_CXX=
17321 hardcode_direct_CXX=no
17322 hardcode_direct_absolute_CXX=no
17323 hardcode_libdir_flag_spec_CXX=
17324 hardcode_libdir_separator_CXX=
17325 hardcode_minus_L_CXX=no
17326 hardcode_shlibpath_var_CXX=unsupported
17327 hardcode_automatic_CXX=no
17328 inherit_rpath_CXX=no
17329 module_cmds_CXX=
17330 module_expsym_cmds_CXX=
17331 link_all_deplibs_CXX=unknown
17332 old_archive_cmds_CXX=$old_archive_cmds
17333 reload_flag_CXX=$reload_flag
17334 reload_cmds_CXX=$reload_cmds
17335 no_undefined_flag_CXX=
17336 whole_archive_flag_spec_CXX=
17337 enable_shared_with_static_runtimes_CXX=no
17338
17339 # Source file extension for C++ test sources.
17340 ac_ext=cpp
17341
17342 # Object file extension for compiled C++ test sources.
17343 objext=o
17344 objext_CXX=$objext
17345
17346 # No sense in running all these tests if we already determined that
17347 # the CXX compiler isn't working.  Some variables (like enable_shared)
17348 # are currently assumed to apply to all compilers on this platform,
17349 # and will be corrupted by setting them based on a non-working compiler.
17350 if test yes != "$_lt_caught_CXX_error"; then
17351   # Code to be used in simple compile tests
17352   lt_simple_compile_test_code="int some_variable = 0;"
17353
17354   # Code to be used in simple link tests
17355   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17356
17357   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17358
17359
17360
17361
17362
17363
17364 # If no C compiler was specified, use CC.
17365 LTCC=${LTCC-"$CC"}
17366
17367 # If no C compiler flags were specified, use CFLAGS.
17368 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17369
17370 # Allow CC to be a program name with arguments.
17371 compiler=$CC
17372
17373
17374   # save warnings/boilerplate of simple test code
17375   ac_outfile=conftest.$ac_objext
17376 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17377 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17378 _lt_compiler_boilerplate=`cat conftest.err`
17379 $RM conftest*
17380
17381   ac_outfile=conftest.$ac_objext
17382 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17383 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17384 _lt_linker_boilerplate=`cat conftest.err`
17385 $RM -r conftest*
17386
17387
17388   # Allow CC to be a program name with arguments.
17389   lt_save_CC=$CC
17390   lt_save_CFLAGS=$CFLAGS
17391   lt_save_LD=$LD
17392   lt_save_GCC=$GCC
17393   GCC=$GXX
17394   lt_save_with_gnu_ld=$with_gnu_ld
17395   lt_save_path_LD=$lt_cv_path_LD
17396   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17397     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17398   else
17399     $as_unset lt_cv_prog_gnu_ld
17400   fi
17401   if test -n "${lt_cv_path_LDCXX+set}"; then
17402     lt_cv_path_LD=$lt_cv_path_LDCXX
17403   else
17404     $as_unset lt_cv_path_LD
17405   fi
17406   test -z "${LDCXX+set}" || LD=$LDCXX
17407   CC=${CXX-"c++"}
17408   CFLAGS=$CXXFLAGS
17409   compiler=$CC
17410   compiler_CXX=$CC
17411   func_cc_basename $compiler
17412 cc_basename=$func_cc_basename_result
17413
17414
17415   if test -n "$compiler"; then
17416     # We don't want -fno-exception when compiling C++ code, so set the
17417     # no_builtin_flag separately
17418     if test yes = "$GXX"; then
17419       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17420     else
17421       lt_prog_compiler_no_builtin_flag_CXX=
17422     fi
17423
17424     if test yes = "$GXX"; then
17425       # Set up default GNU C++ configuration
17426
17427
17428
17429 # Check whether --with-gnu-ld was given.
17430 if test ${with_gnu_ld+y}
17431 then :
17432   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
17433 else $as_nop
17434   with_gnu_ld=no
17435 fi
17436
17437 ac_prog=ld
17438 if test yes = "$GCC"; then
17439   # Check if gcc -print-prog-name=ld gives a path.
17440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17441 printf %s "checking for ld used by $CC... " >&6; }
17442   case $host in
17443   *-*-mingw*)
17444     # gcc leaves a trailing carriage return, which upsets mingw
17445     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17446   *)
17447     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17448   esac
17449   case $ac_prog in
17450     # Accept absolute paths.
17451     [\\/]* | ?:[\\/]*)
17452       re_direlt='/[^/][^/]*/\.\./'
17453       # Canonicalize the pathname of ld
17454       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17455       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17456         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17457       done
17458       test -z "$LD" && LD=$ac_prog
17459       ;;
17460   "")
17461     # If it fails, then pretend we aren't using GCC.
17462     ac_prog=ld
17463     ;;
17464   *)
17465     # If it is relative, then search for the first ld in PATH.
17466     with_gnu_ld=unknown
17467     ;;
17468   esac
17469 elif test yes = "$with_gnu_ld"; then
17470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17471 printf %s "checking for GNU ld... " >&6; }
17472 else
17473   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17474 printf %s "checking for non-GNU ld... " >&6; }
17475 fi
17476 if test ${lt_cv_path_LD+y}
17477 then :
17478   printf %s "(cached) " >&6
17479 else $as_nop
17480   if test -z "$LD"; then
17481   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
17482   for ac_dir in $PATH; do
17483     IFS=$lt_save_ifs
17484     test -z "$ac_dir" && ac_dir=.
17485     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17486       lt_cv_path_LD=$ac_dir/$ac_prog
17487       # Check to see if the program is GNU ld.  I'd rather use --version,
17488       # but apparently some variants of GNU ld only accept -v.
17489       # Break only if it was the GNU/non-GNU ld that we prefer.
17490       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17491       *GNU* | *'with BFD'*)
17492         test no != "$with_gnu_ld" && break
17493         ;;
17494       *)
17495         test yes != "$with_gnu_ld" && break
17496         ;;
17497       esac
17498     fi
17499   done
17500   IFS=$lt_save_ifs
17501 else
17502   lt_cv_path_LD=$LD # Let the user override the test with a path.
17503 fi
17504 fi
17505
17506 LD=$lt_cv_path_LD
17507 if test -n "$LD"; then
17508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17509 printf "%s\n" "$LD" >&6; }
17510 else
17511   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17512 printf "%s\n" "no" >&6; }
17513 fi
17514 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17516 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
17517 if test ${lt_cv_prog_gnu_ld+y}
17518 then :
17519   printf %s "(cached) " >&6
17520 else $as_nop
17521   # I'd rather use --version here, but apparently some GNU lds only accept -v.
17522 case `$LD -v 2>&1 </dev/null` in
17523 *GNU* | *'with BFD'*)
17524   lt_cv_prog_gnu_ld=yes
17525   ;;
17526 *)
17527   lt_cv_prog_gnu_ld=no
17528   ;;
17529 esac
17530 fi
17531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17532 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
17533 with_gnu_ld=$lt_cv_prog_gnu_ld
17534
17535
17536
17537
17538
17539
17540
17541       # Check if GNU C++ uses GNU ld as the underlying linker, since the
17542       # archiving commands below assume that GNU ld is being used.
17543       if test yes = "$with_gnu_ld"; then
17544         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
17545         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
17546
17547         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
17548         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
17549
17550         # If archive_cmds runs LD, not CC, wlarc should be empty
17551         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17552         #     investigate it a little bit more. (MM)
17553         wlarc='$wl'
17554
17555         # ancient GNU ld didn't support --whole-archive et. al.
17556         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17557           $GREP 'no-whole-archive' > /dev/null; then
17558           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
17559         else
17560           whole_archive_flag_spec_CXX=
17561         fi
17562       else
17563         with_gnu_ld=no
17564         wlarc=
17565
17566         # A generic and very simple default shared library creation
17567         # command for GNU C++ for the case where it uses the native
17568         # linker, instead of GNU ld.  If possible, this setting should
17569         # overridden to take advantage of the native linker features on
17570         # the platform it is being used on.
17571         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17572       fi
17573
17574       # Commands to make compiler produce verbose output that lists
17575       # what "hidden" libraries, object files and flags are used when
17576       # linking a shared library.
17577       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17578
17579     else
17580       GXX=no
17581       with_gnu_ld=no
17582       wlarc=
17583     fi
17584
17585     # PORTME: fill in a description of your system's C++ link characteristics
17586     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17587 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17588     ld_shlibs_CXX=yes
17589     case $host_os in
17590       aix3*)
17591         # FIXME: insert proper C++ library support
17592         ld_shlibs_CXX=no
17593         ;;
17594       aix[4-9]*)
17595         if test ia64 = "$host_cpu"; then
17596           # On IA64, the linker does run time linking by default, so we don't
17597           # have to do anything special.
17598           aix_use_runtimelinking=no
17599           exp_sym_flag='-Bexport'
17600           no_entry_flag=
17601         else
17602           aix_use_runtimelinking=no
17603
17604           # Test if we are trying to use run time linking or normal
17605           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17606           # have runtime linking enabled, and use it for executables.
17607           # For shared libraries, we enable/disable runtime linking
17608           # depending on the kind of the shared library created -
17609           # when "with_aix_soname,aix_use_runtimelinking" is:
17610           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
17611           # "aix,yes"  lib.so          shared, rtl:yes, for executables
17612           #            lib.a           static archive
17613           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
17614           #            lib.a(lib.so.V) shared, rtl:no,  for executables
17615           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
17616           #            lib.a(lib.so.V) shared, rtl:no
17617           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
17618           #            lib.a           static archive
17619           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17620             for ld_flag in $LDFLAGS; do
17621               case $ld_flag in
17622               *-brtl*)
17623                 aix_use_runtimelinking=yes
17624                 break
17625                 ;;
17626               esac
17627             done
17628             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
17629               # With aix-soname=svr4, we create the lib.so.V shared archives only,
17630               # so we don't have lib.a shared libs to link our executables.
17631               # We have to force runtime linking in this case.
17632               aix_use_runtimelinking=yes
17633               LDFLAGS="$LDFLAGS -Wl,-brtl"
17634             fi
17635             ;;
17636           esac
17637
17638           exp_sym_flag='-bexport'
17639           no_entry_flag='-bnoentry'
17640         fi
17641
17642         # When large executables or shared objects are built, AIX ld can
17643         # have problems creating the table of contents.  If linking a library
17644         # or program results in "error TOC overflow" add -mminimal-toc to
17645         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17646         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17647
17648         archive_cmds_CXX=''
17649         hardcode_direct_CXX=yes
17650         hardcode_direct_absolute_CXX=yes
17651         hardcode_libdir_separator_CXX=':'
17652         link_all_deplibs_CXX=yes
17653         file_list_spec_CXX='$wl-f,'
17654         case $with_aix_soname,$aix_use_runtimelinking in
17655         aix,*) ;;       # no import file
17656         svr4,* | *,yes) # use import file
17657           # The Import File defines what to hardcode.
17658           hardcode_direct_CXX=no
17659           hardcode_direct_absolute_CXX=no
17660           ;;
17661         esac
17662
17663         if test yes = "$GXX"; then
17664           case $host_os in aix4.[012]|aix4.[012].*)
17665           # We only want to do this on AIX 4.2 and lower, the check
17666           # below for broken collect2 doesn't work under 4.3+
17667           collect2name=`$CC -print-prog-name=collect2`
17668           if test -f "$collect2name" &&
17669              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17670           then
17671             # We have reworked collect2
17672             :
17673           else
17674             # We have old collect2
17675             hardcode_direct_CXX=unsupported
17676             # It fails to find uninstalled libraries when the uninstalled
17677             # path is not listed in the libpath.  Setting hardcode_minus_L
17678             # to unsupported forces relinking
17679             hardcode_minus_L_CXX=yes
17680             hardcode_libdir_flag_spec_CXX='-L$libdir'
17681             hardcode_libdir_separator_CXX=
17682           fi
17683           esac
17684           shared_flag='-shared'
17685           if test yes = "$aix_use_runtimelinking"; then
17686             shared_flag=$shared_flag' $wl-G'
17687           fi
17688           # Need to ensure runtime linking is disabled for the traditional
17689           # shared library, or the linker may eventually find shared libraries
17690           # /with/ Import File - we do not want to mix them.
17691           shared_flag_aix='-shared'
17692           shared_flag_svr4='-shared $wl-G'
17693         else
17694           # not using gcc
17695           if test ia64 = "$host_cpu"; then
17696           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17697           # chokes on -Wl,-G. The following line is correct:
17698           shared_flag='-G'
17699           else
17700             if test yes = "$aix_use_runtimelinking"; then
17701               shared_flag='$wl-G'
17702             else
17703               shared_flag='$wl-bM:SRE'
17704             fi
17705             shared_flag_aix='$wl-bM:SRE'
17706             shared_flag_svr4='$wl-G'
17707           fi
17708         fi
17709
17710         export_dynamic_flag_spec_CXX='$wl-bexpall'
17711         # It seems that -bexpall does not export symbols beginning with
17712         # underscore (_), so it is better to generate a list of symbols to
17713         # export.
17714         always_export_symbols_CXX=yes
17715         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
17716           # Warning - without using the other runtime loading flags (-brtl),
17717           # -berok will link without error, but may produce a broken library.
17718           # The "-G" linker flag allows undefined symbols.
17719           no_undefined_flag_CXX='-bernotok'
17720           # Determine the default libpath from the value encoded in an empty
17721           # executable.
17722           if test set = "${lt_cv_aix_libpath+set}"; then
17723   aix_libpath=$lt_cv_aix_libpath
17724 else
17725   if test ${lt_cv_aix_libpath__CXX+y}
17726 then :
17727   printf %s "(cached) " >&6
17728 else $as_nop
17729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h.  */
17731
17732 int
17733 main (void)
17734 {
17735
17736   ;
17737   return 0;
17738 }
17739 _ACEOF
17740 if ac_fn_cxx_try_link "$LINENO"
17741 then :
17742
17743   lt_aix_libpath_sed='
17744       /Import File Strings/,/^$/ {
17745           /^0/ {
17746               s/^0  *\([^ ]*\) *$/\1/
17747               p
17748           }
17749       }'
17750   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17751   # Check for a 64-bit object if we didn't find anything.
17752   if test -z "$lt_cv_aix_libpath__CXX"; then
17753     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17754   fi
17755 fi
17756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17757     conftest$ac_exeext conftest.$ac_ext
17758   if test -z "$lt_cv_aix_libpath__CXX"; then
17759     lt_cv_aix_libpath__CXX=/usr/lib:/lib
17760   fi
17761
17762 fi
17763
17764   aix_libpath=$lt_cv_aix_libpath__CXX
17765 fi
17766
17767           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
17768
17769           archive_expsym_cmds_CXX='$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
17770         else
17771           if test ia64 = "$host_cpu"; then
17772             hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
17773             allow_undefined_flag_CXX="-z nodefs"
17774             archive_expsym_cmds_CXX="\$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"
17775           else
17776             # Determine the default libpath from the value encoded in an
17777             # empty executable.
17778             if test set = "${lt_cv_aix_libpath+set}"; then
17779   aix_libpath=$lt_cv_aix_libpath
17780 else
17781   if test ${lt_cv_aix_libpath__CXX+y}
17782 then :
17783   printf %s "(cached) " >&6
17784 else $as_nop
17785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h.  */
17787
17788 int
17789 main (void)
17790 {
17791
17792   ;
17793   return 0;
17794 }
17795 _ACEOF
17796 if ac_fn_cxx_try_link "$LINENO"
17797 then :
17798
17799   lt_aix_libpath_sed='
17800       /Import File Strings/,/^$/ {
17801           /^0/ {
17802               s/^0  *\([^ ]*\) *$/\1/
17803               p
17804           }
17805       }'
17806   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17807   # Check for a 64-bit object if we didn't find anything.
17808   if test -z "$lt_cv_aix_libpath__CXX"; then
17809     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17810   fi
17811 fi
17812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17813     conftest$ac_exeext conftest.$ac_ext
17814   if test -z "$lt_cv_aix_libpath__CXX"; then
17815     lt_cv_aix_libpath__CXX=/usr/lib:/lib
17816   fi
17817
17818 fi
17819
17820   aix_libpath=$lt_cv_aix_libpath__CXX
17821 fi
17822
17823             hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
17824             # Warning - without using the other run time loading flags,
17825             # -berok will link without error, but may produce a broken library.
17826             no_undefined_flag_CXX=' $wl-bernotok'
17827             allow_undefined_flag_CXX=' $wl-berok'
17828             if test yes = "$with_gnu_ld"; then
17829               # We only use this code for GNU lds that support --whole-archive.
17830               whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
17831             else
17832               # Exported symbols can be pulled into shared objects from archives
17833               whole_archive_flag_spec_CXX='$convenience'
17834             fi
17835             archive_cmds_need_lc_CXX=yes
17836             archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
17837             # -brtl affects multiple linker settings, -berok does not and is overridden later
17838             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
17839             if test svr4 != "$with_aix_soname"; then
17840               # This is similar to how AIX traditionally builds its shared
17841               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
17842               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
17843             fi
17844             if test aix != "$with_aix_soname"; then
17845               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
17846             else
17847               # used by -dlpreopen to get the symbols
17848               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
17849             fi
17850             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
17851           fi
17852         fi
17853         ;;
17854
17855       beos*)
17856         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17857           allow_undefined_flag_CXX=unsupported
17858           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17859           # support --undefined.  This deserves some investigation.  FIXME
17860           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
17861         else
17862           ld_shlibs_CXX=no
17863         fi
17864         ;;
17865
17866       chorus*)
17867         case $cc_basename in
17868           *)
17869           # FIXME: insert proper C++ library support
17870           ld_shlibs_CXX=no
17871           ;;
17872         esac
17873         ;;
17874
17875       cygwin* | mingw* | pw32* | cegcc*)
17876         case $GXX,$cc_basename in
17877         ,cl* | no,cl* | ,icl* | no,icl*)
17878           # Native MSVC or ICC
17879           # hardcode_libdir_flag_spec is actually meaningless, as there is
17880           # no search path for DLLs.
17881           hardcode_libdir_flag_spec_CXX=' '
17882           allow_undefined_flag_CXX=unsupported
17883           always_export_symbols_CXX=yes
17884           file_list_spec_CXX='@'
17885           # Tell ltmain to make .lib files, not .a files.
17886           libext=lib
17887           # Tell ltmain to make .dll files, not .so files.
17888           shrext_cmds=.dll
17889           # FIXME: Setting linknames here is a bad hack.
17890           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
17891           archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
17892               cp "$export_symbols" "$output_objdir/$soname.def";
17893               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
17894             else
17895               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
17896             fi~
17897             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
17898             linknames='
17899           # The linker will not automatically build a static lib if we build a DLL.
17900           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
17901           enable_shared_with_static_runtimes_CXX=yes
17902           # Don't use ranlib
17903           old_postinstall_cmds_CXX='chmod 644 $oldlib'
17904           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
17905             lt_tool_outputfile="@TOOL_OUTPUT@"~
17906             case $lt_outputfile in
17907               *.exe|*.EXE) ;;
17908               *)
17909                 lt_outputfile=$lt_outputfile.exe
17910                 lt_tool_outputfile=$lt_tool_outputfile.exe
17911                 ;;
17912             esac~
17913             func_to_tool_file "$lt_outputfile"~
17914             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
17915               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
17916               $RM "$lt_outputfile.manifest";
17917             fi'
17918           ;;
17919         *)
17920           # g++
17921           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17922           # as there is no search path for DLLs.
17923           hardcode_libdir_flag_spec_CXX='-L$libdir'
17924           export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
17925           allow_undefined_flag_CXX=unsupported
17926           always_export_symbols_CXX=no
17927           enable_shared_with_static_runtimes_CXX=yes
17928
17929           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17930             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17931             # If the export-symbols file already is a .def file, use it as
17932             # is; otherwise, prepend EXPORTS...
17933             archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
17934               cp $export_symbols $output_objdir/$soname.def;
17935             else
17936               echo EXPORTS > $output_objdir/$soname.def;
17937               cat $export_symbols >> $output_objdir/$soname.def;
17938             fi~
17939             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17940           else
17941             ld_shlibs_CXX=no
17942           fi
17943           ;;
17944         esac
17945         ;;
17946       darwin* | rhapsody*)
17947
17948
17949   archive_cmds_need_lc_CXX=no
17950   hardcode_direct_CXX=no
17951   hardcode_automatic_CXX=yes
17952   hardcode_shlibpath_var_CXX=unsupported
17953   if test yes = "$lt_cv_ld_force_load"; then
17954     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
17955
17956   else
17957     whole_archive_flag_spec_CXX=''
17958   fi
17959   link_all_deplibs_CXX=yes
17960   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
17961   case $cc_basename in
17962      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
17963      *) _lt_dar_can_shared=$GCC ;;
17964   esac
17965   if test yes = "$_lt_dar_can_shared"; then
17966     output_verbose_link_cmd=func_echo_all
17967     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
17968     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
17969     archive_expsym_cmds_CXX="$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"
17970     module_expsym_cmds_CXX="$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"
17971        if test yes != "$lt_cv_apple_cc_single_mod"; then
17972       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
17973       archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
17974     fi
17975
17976   else
17977   ld_shlibs_CXX=no
17978   fi
17979
17980         ;;
17981
17982       os2*)
17983         hardcode_libdir_flag_spec_CXX='-L$libdir'
17984         hardcode_minus_L_CXX=yes
17985         allow_undefined_flag_CXX=unsupported
17986         shrext_cmds=.dll
17987         archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
17988           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
17989           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
17990           $ECHO EXPORTS >> $output_objdir/$libname.def~
17991           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
17992           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
17993           emximp -o $lib $output_objdir/$libname.def'
17994         archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
17995           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
17996           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
17997           $ECHO EXPORTS >> $output_objdir/$libname.def~
17998           prefix_cmds="$SED"~
17999           if test EXPORTS = "`$SED 1q $export_symbols`"; then
18000             prefix_cmds="$prefix_cmds -e 1d";
18001           fi~
18002           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
18003           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
18004           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
18005           emximp -o $lib $output_objdir/$libname.def'
18006         old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
18007         enable_shared_with_static_runtimes_CXX=yes
18008         file_list_spec_CXX='@'
18009         ;;
18010
18011       dgux*)
18012         case $cc_basename in
18013           ec++*)
18014             # FIXME: insert proper C++ library support
18015             ld_shlibs_CXX=no
18016             ;;
18017           ghcx*)
18018             # Green Hills C++ Compiler
18019             # FIXME: insert proper C++ library support
18020             ld_shlibs_CXX=no
18021             ;;
18022           *)
18023             # FIXME: insert proper C++ library support
18024             ld_shlibs_CXX=no
18025             ;;
18026         esac
18027         ;;
18028
18029       freebsd2.*)
18030         # C++ shared libraries reported to be fairly broken before
18031         # switch to ELF
18032         ld_shlibs_CXX=no
18033         ;;
18034
18035       freebsd-elf*)
18036         archive_cmds_need_lc_CXX=no
18037         ;;
18038
18039       freebsd* | dragonfly* | midnightbsd*)
18040         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18041         # conventions
18042         ld_shlibs_CXX=yes
18043         ;;
18044
18045       haiku*)
18046         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
18047         link_all_deplibs_CXX=yes
18048         ;;
18049
18050       hpux9*)
18051         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
18052         hardcode_libdir_separator_CXX=:
18053         export_dynamic_flag_spec_CXX='$wl-E'
18054         hardcode_direct_CXX=yes
18055         hardcode_minus_L_CXX=yes # Not in the search PATH,
18056                                              # but as the default
18057                                              # location of the library.
18058
18059         case $cc_basename in
18060           CC*)
18061             # FIXME: insert proper C++ library support
18062             ld_shlibs_CXX=no
18063             ;;
18064           aCC*)
18065             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
18066             # Commands to make compiler produce verbose output that lists
18067             # what "hidden" libraries, object files and flags are used when
18068             # linking a shared library.
18069             #
18070             # There doesn't appear to be a way to prevent this compiler from
18071             # explicitly linking system object files so we need to strip them
18072             # from the output so that they don't get included in the library
18073             # dependencies.
18074             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18075             ;;
18076           *)
18077             if test yes = "$GXX"; then
18078               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
18079             else
18080               # FIXME: insert proper C++ library support
18081               ld_shlibs_CXX=no
18082             fi
18083             ;;
18084         esac
18085         ;;
18086
18087       hpux10*|hpux11*)
18088         if test no = "$with_gnu_ld"; then
18089           hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
18090           hardcode_libdir_separator_CXX=:
18091
18092           case $host_cpu in
18093             hppa*64*|ia64*)
18094               ;;
18095             *)
18096               export_dynamic_flag_spec_CXX='$wl-E'
18097               ;;
18098           esac
18099         fi
18100         case $host_cpu in
18101           hppa*64*|ia64*)
18102             hardcode_direct_CXX=no
18103             hardcode_shlibpath_var_CXX=no
18104             ;;
18105           *)
18106             hardcode_direct_CXX=yes
18107             hardcode_direct_absolute_CXX=yes
18108             hardcode_minus_L_CXX=yes # Not in the search PATH,
18109                                                  # but as the default
18110                                                  # location of the library.
18111             ;;
18112         esac
18113
18114         case $cc_basename in
18115           CC*)
18116             # FIXME: insert proper C++ library support
18117             ld_shlibs_CXX=no
18118             ;;
18119           aCC*)
18120             case $host_cpu in
18121               hppa*64*)
18122                 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18123                 ;;
18124               ia64*)
18125                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18126                 ;;
18127               *)
18128                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18129                 ;;
18130             esac
18131             # Commands to make compiler produce verbose output that lists
18132             # what "hidden" libraries, object files and flags are used when
18133             # linking a shared library.
18134             #
18135             # There doesn't appear to be a way to prevent this compiler from
18136             # explicitly linking system object files so we need to strip them
18137             # from the output so that they don't get included in the library
18138             # dependencies.
18139             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18140             ;;
18141           *)
18142             if test yes = "$GXX"; then
18143               if test no = "$with_gnu_ld"; then
18144                 case $host_cpu in
18145                   hppa*64*)
18146                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18147                     ;;
18148                   ia64*)
18149                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18150                     ;;
18151                   *)
18152                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18153                     ;;
18154                 esac
18155               fi
18156             else
18157               # FIXME: insert proper C++ library support
18158               ld_shlibs_CXX=no
18159             fi
18160             ;;
18161         esac
18162         ;;
18163
18164       interix[3-9]*)
18165         hardcode_direct_CXX=no
18166         hardcode_shlibpath_var_CXX=no
18167         hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
18168         export_dynamic_flag_spec_CXX='$wl-E'
18169         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18170         # Instead, shared libraries are loaded at an image base (0x10000000 by
18171         # default) and relocated if they conflict, which is a slow very memory
18172         # consuming and fragmenting process.  To avoid this, we pick a random,
18173         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18174         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18175         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18176         archive_expsym_cmds_CXX='$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'
18177         ;;
18178       irix5* | irix6*)
18179         case $cc_basename in
18180           CC*)
18181             # SGI C++
18182             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
18183
18184             # Archives containing C++ object files must be created using
18185             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
18186             # necessary to make sure instantiated templates are included
18187             # in the archive.
18188             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18189             ;;
18190           *)
18191             if test yes = "$GXX"; then
18192               if test no = "$with_gnu_ld"; then
18193                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
18194               else
18195                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
18196               fi
18197             fi
18198             link_all_deplibs_CXX=yes
18199             ;;
18200         esac
18201         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
18202         hardcode_libdir_separator_CXX=:
18203         inherit_rpath_CXX=yes
18204         ;;
18205
18206       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18207         case $cc_basename in
18208           KCC*)
18209             # Kuck and Associates, Inc. (KAI) C++ Compiler
18210
18211             # KCC will only create a shared library if the output file
18212             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18213             # to its proper name (with version) after linking.
18214             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18215             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
18216             # Commands to make compiler produce verbose output that lists
18217             # what "hidden" libraries, object files and flags are used when
18218             # linking a shared library.
18219             #
18220             # There doesn't appear to be a way to prevent this compiler from
18221             # explicitly linking system object files so we need to strip them
18222             # from the output so that they don't get included in the library
18223             # dependencies.
18224             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18225
18226             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
18227             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
18228
18229             # Archives containing C++ object files must be created using
18230             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18231             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18232             ;;
18233           icpc* | ecpc* )
18234             # Intel C++
18235             with_gnu_ld=yes
18236             # version 8.0 and above of icpc choke on multiply defined symbols
18237             # if we add $predep_objects and $postdep_objects, however 7.1 and
18238             # earlier do not add the objects themselves.
18239             case `$CC -V 2>&1` in
18240               *"Version 7."*)
18241                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
18242                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
18243                 ;;
18244               *)  # Version 8.0 or newer
18245                 tmp_idyn=
18246                 case $host_cpu in
18247                   ia64*) tmp_idyn=' -i_dynamic';;
18248                 esac
18249                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
18250                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
18251                 ;;
18252             esac
18253             archive_cmds_need_lc_CXX=no
18254             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
18255             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
18256             whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
18257             ;;
18258           pgCC* | pgcpp*)
18259             # Portland Group C++ compiler
18260             case `$CC -V` in
18261             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
18262               prelink_cmds_CXX='tpldir=Template.dir~
18263                rm -rf $tpldir~
18264                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18265                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
18266               old_archive_cmds_CXX='tpldir=Template.dir~
18267                 rm -rf $tpldir~
18268                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18269                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
18270                 $RANLIB $oldlib'
18271               archive_cmds_CXX='tpldir=Template.dir~
18272                 rm -rf $tpldir~
18273                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18274                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
18275               archive_expsym_cmds_CXX='tpldir=Template.dir~
18276                 rm -rf $tpldir~
18277                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18278                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
18279               ;;
18280             *) # Version 6 and above use weak symbols
18281               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
18282               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
18283               ;;
18284             esac
18285
18286             hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
18287             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
18288             whole_archive_flag_spec_CXX='$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'
18289             ;;
18290           cxx*)
18291             # Compaq C++
18292             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
18293             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
18294
18295             runpath_var=LD_RUN_PATH
18296             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18297             hardcode_libdir_separator_CXX=:
18298
18299             # Commands to make compiler produce verbose output that lists
18300             # what "hidden" libraries, object files and flags are used when
18301             # linking a shared library.
18302             #
18303             # There doesn't appear to be a way to prevent this compiler from
18304             # explicitly linking system object files so we need to strip them
18305             # from the output so that they don't get included in the library
18306             # dependencies.
18307             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
18308             ;;
18309           xl* | mpixl* | bgxl*)
18310             # IBM XL 8.0 on PPC, with GNU ld
18311             hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
18312             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
18313             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
18314             if test yes = "$supports_anon_versioning"; then
18315               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18316                 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18317                 echo "local: *; };" >> $output_objdir/$libname.ver~
18318                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
18319             fi
18320             ;;
18321           *)
18322             case `$CC -V 2>&1 | $SED 5q` in
18323             *Sun\ C*)
18324               # Sun C++ 5.9
18325               no_undefined_flag_CXX=' -zdefs'
18326               archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18327               archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
18328               hardcode_libdir_flag_spec_CXX='-R$libdir'
18329               whole_archive_flag_spec_CXX='$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'
18330               compiler_needs_object_CXX=yes
18331
18332               # Not sure whether something based on
18333               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18334               # would be better.
18335               output_verbose_link_cmd='func_echo_all'
18336
18337               # Archives containing C++ object files must be created using
18338               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18339               # necessary to make sure instantiated templates are included
18340               # in the archive.
18341               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18342               ;;
18343             esac
18344             ;;
18345         esac
18346         ;;
18347
18348       lynxos*)
18349         # FIXME: insert proper C++ library support
18350         ld_shlibs_CXX=no
18351         ;;
18352
18353       m88k*)
18354         # FIXME: insert proper C++ library support
18355         ld_shlibs_CXX=no
18356         ;;
18357
18358       mvs*)
18359         case $cc_basename in
18360           cxx*)
18361             # FIXME: insert proper C++ library support
18362             ld_shlibs_CXX=no
18363             ;;
18364           *)
18365             # FIXME: insert proper C++ library support
18366             ld_shlibs_CXX=no
18367             ;;
18368         esac
18369         ;;
18370
18371       netbsd*)
18372         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18373           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18374           wlarc=
18375           hardcode_libdir_flag_spec_CXX='-R$libdir'
18376           hardcode_direct_CXX=yes
18377           hardcode_shlibpath_var_CXX=no
18378         fi
18379         # Workaround some broken pre-1.5 toolchains
18380         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18381         ;;
18382
18383       *nto* | *qnx*)
18384         ld_shlibs_CXX=yes
18385         ;;
18386
18387       openbsd* | bitrig*)
18388         if test -f /usr/libexec/ld.so; then
18389           hardcode_direct_CXX=yes
18390           hardcode_shlibpath_var_CXX=no
18391           hardcode_direct_absolute_CXX=yes
18392           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18393           hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
18394           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
18395             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
18396             export_dynamic_flag_spec_CXX='$wl-E'
18397             whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
18398           fi
18399           output_verbose_link_cmd=func_echo_all
18400         else
18401           ld_shlibs_CXX=no
18402         fi
18403         ;;
18404
18405       osf3* | osf4* | osf5*)
18406         case $cc_basename in
18407           KCC*)
18408             # Kuck and Associates, Inc. (KAI) C++ Compiler
18409
18410             # KCC will only create a shared library if the output file
18411             # ends with ".so" (or ".sl" for HP-UX), so rename the library
18412             # to its proper name (with version) after linking.
18413             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18414
18415             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
18416             hardcode_libdir_separator_CXX=:
18417
18418             # Archives containing C++ object files must be created using
18419             # the KAI C++ compiler.
18420             case $host in
18421               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18422               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18423             esac
18424             ;;
18425           RCC*)
18426             # Rational C++ 2.4.1
18427             # FIXME: insert proper C++ library support
18428             ld_shlibs_CXX=no
18429             ;;
18430           cxx*)
18431             case $host in
18432               osf3*)
18433                 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
18434                 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
18435                 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
18436                 ;;
18437               *)
18438                 allow_undefined_flag_CXX=' -expect_unresolved \*'
18439                 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
18440                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18441                   echo "-hidden">> $lib.exp~
18442                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
18443                   $RM $lib.exp'
18444                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18445                 ;;
18446             esac
18447
18448             hardcode_libdir_separator_CXX=:
18449
18450             # Commands to make compiler produce verbose output that lists
18451             # what "hidden" libraries, object files and flags are used when
18452             # linking a shared library.
18453             #
18454             # There doesn't appear to be a way to prevent this compiler from
18455             # explicitly linking system object files so we need to strip them
18456             # from the output so that they don't get included in the library
18457             # dependencies.
18458             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18459             ;;
18460           *)
18461             if test yes,no = "$GXX,$with_gnu_ld"; then
18462               allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
18463               case $host in
18464                 osf3*)
18465                   archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
18466                   ;;
18467                 *)
18468                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
18469                   ;;
18470               esac
18471
18472               hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
18473               hardcode_libdir_separator_CXX=:
18474
18475               # Commands to make compiler produce verbose output that lists
18476               # what "hidden" libraries, object files and flags are used when
18477               # linking a shared library.
18478               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18479
18480             else
18481               # FIXME: insert proper C++ library support
18482               ld_shlibs_CXX=no
18483             fi
18484             ;;
18485         esac
18486         ;;
18487
18488       psos*)
18489         # FIXME: insert proper C++ library support
18490         ld_shlibs_CXX=no
18491         ;;
18492
18493       sunos4*)
18494         case $cc_basename in
18495           CC*)
18496             # Sun C++ 4.x
18497             # FIXME: insert proper C++ library support
18498             ld_shlibs_CXX=no
18499             ;;
18500           lcc*)
18501             # Lucid
18502             # FIXME: insert proper C++ library support
18503             ld_shlibs_CXX=no
18504             ;;
18505           *)
18506             # FIXME: insert proper C++ library support
18507             ld_shlibs_CXX=no
18508             ;;
18509         esac
18510         ;;
18511
18512       solaris*)
18513         case $cc_basename in
18514           CC* | sunCC*)
18515             # Sun C++ 4.2, 5.x and Centerline C++
18516             archive_cmds_need_lc_CXX=yes
18517             no_undefined_flag_CXX=' -zdefs'
18518             archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18519             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18520               $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18521
18522             hardcode_libdir_flag_spec_CXX='-R$libdir'
18523             hardcode_shlibpath_var_CXX=no
18524             case $host_os in
18525               solaris2.[0-5] | solaris2.[0-5].*) ;;
18526               *)
18527                 # The compiler driver will combine and reorder linker options,
18528                 # but understands '-z linker_flag'.
18529                 # Supported since Solaris 2.6 (maybe 2.5.1?)
18530                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
18531                 ;;
18532             esac
18533             link_all_deplibs_CXX=yes
18534
18535             output_verbose_link_cmd='func_echo_all'
18536
18537             # Archives containing C++ object files must be created using
18538             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
18539             # necessary to make sure instantiated templates are included
18540             # in the archive.
18541             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18542             ;;
18543           gcx*)
18544             # Green Hills C++ Compiler
18545             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
18546
18547             # The C++ compiler must be used to create the archive.
18548             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18549             ;;
18550           *)
18551             # GNU C++ compiler with Solaris linker
18552             if test yes,no = "$GXX,$with_gnu_ld"; then
18553               no_undefined_flag_CXX=' $wl-z ${wl}defs'
18554               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18555                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
18556                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18557                   $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18558
18559                 # Commands to make compiler produce verbose output that lists
18560                 # what "hidden" libraries, object files and flags are used when
18561                 # linking a shared library.
18562                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18563               else
18564                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
18565                 # platform.
18566                 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
18567                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18568                   $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18569
18570                 # Commands to make compiler produce verbose output that lists
18571                 # what "hidden" libraries, object files and flags are used when
18572                 # linking a shared library.
18573                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18574               fi
18575
18576               hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
18577               case $host_os in
18578                 solaris2.[0-5] | solaris2.[0-5].*) ;;
18579                 *)
18580                   whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
18581                   ;;
18582               esac
18583             fi
18584             ;;
18585         esac
18586         ;;
18587
18588     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18589       no_undefined_flag_CXX='$wl-z,text'
18590       archive_cmds_need_lc_CXX=no
18591       hardcode_shlibpath_var_CXX=no
18592       runpath_var='LD_RUN_PATH'
18593
18594       case $cc_basename in
18595         CC*)
18596           archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18597           archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18598           ;;
18599         *)
18600           archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18601           archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18602           ;;
18603       esac
18604       ;;
18605
18606       sysv5* | sco3.2v5* | sco5v6*)
18607         # Note: We CANNOT use -z defs as we might desire, because we do not
18608         # link with -lc, and that would cause any symbols used from libc to
18609         # always be unresolved, which means just about no library would
18610         # ever link correctly.  If we're not using GNU ld we use -z text
18611         # though, which does catch some bad symbols but isn't as heavy-handed
18612         # as -z defs.
18613         no_undefined_flag_CXX='$wl-z,text'
18614         allow_undefined_flag_CXX='$wl-z,nodefs'
18615         archive_cmds_need_lc_CXX=no
18616         hardcode_shlibpath_var_CXX=no
18617         hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
18618         hardcode_libdir_separator_CXX=':'
18619         link_all_deplibs_CXX=yes
18620         export_dynamic_flag_spec_CXX='$wl-Bexport'
18621         runpath_var='LD_RUN_PATH'
18622
18623         case $cc_basename in
18624           CC*)
18625             archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18626             archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18627             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
18628               '"$old_archive_cmds_CXX"
18629             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
18630               '"$reload_cmds_CXX"
18631             ;;
18632           *)
18633             archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18634             archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18635             ;;
18636         esac
18637       ;;
18638
18639       tandem*)
18640         case $cc_basename in
18641           NCC*)
18642             # NonStop-UX NCC 3.20
18643             # FIXME: insert proper C++ library support
18644             ld_shlibs_CXX=no
18645             ;;
18646           *)
18647             # FIXME: insert proper C++ library support
18648             ld_shlibs_CXX=no
18649             ;;
18650         esac
18651         ;;
18652
18653       vxworks*)
18654         # FIXME: insert proper C++ library support
18655         ld_shlibs_CXX=no
18656         ;;
18657
18658       *)
18659         # FIXME: insert proper C++ library support
18660         ld_shlibs_CXX=no
18661         ;;
18662     esac
18663
18664     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18665 printf "%s\n" "$ld_shlibs_CXX" >&6; }
18666     test no = "$ld_shlibs_CXX" && can_build_shared=no
18667
18668     GCC_CXX=$GXX
18669     LD_CXX=$LD
18670
18671     ## CAVEAT EMPTOR:
18672     ## There is no encapsulation within the following macros, do not change
18673     ## the running order or otherwise move them around unless you know exactly
18674     ## what you are doing...
18675     # Dependencies to place before and after the object being linked:
18676 predep_objects_CXX=
18677 postdep_objects_CXX=
18678 predeps_CXX=
18679 postdeps_CXX=
18680 compiler_lib_search_path_CXX=
18681
18682 cat > conftest.$ac_ext <<_LT_EOF
18683 class Foo
18684 {
18685 public:
18686   Foo (void) { a = 0; }
18687 private:
18688   int a;
18689 };
18690 _LT_EOF
18691
18692
18693 _lt_libdeps_save_CFLAGS=$CFLAGS
18694 case "$CC $CFLAGS " in #(
18695 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
18696 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
18697 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
18698 esac
18699
18700 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18701   (eval $ac_compile) 2>&5
18702   ac_status=$?
18703   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18704   test $ac_status = 0; }; then
18705   # Parse the compiler output and extract the necessary
18706   # objects, libraries and library flags.
18707
18708   # Sentinel used to keep track of whether or not we are before
18709   # the conftest object file.
18710   pre_test_object_deps_done=no
18711
18712   for p in `eval "$output_verbose_link_cmd"`; do
18713     case $prev$p in
18714
18715     -L* | -R* | -l*)
18716        # Some compilers place space between "-{L,R}" and the path.
18717        # Remove the space.
18718        if test x-L = "$p" ||
18719           test x-R = "$p"; then
18720          prev=$p
18721          continue
18722        fi
18723
18724        # Expand the sysroot to ease extracting the directories later.
18725        if test -z "$prev"; then
18726          case $p in
18727          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
18728          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
18729          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
18730          esac
18731        fi
18732        case $p in
18733        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
18734        esac
18735        if test no = "$pre_test_object_deps_done"; then
18736          case $prev in
18737          -L | -R)
18738            # Internal compiler library paths should come after those
18739            # provided the user.  The postdeps already come after the
18740            # user supplied libs so there is no need to process them.
18741            if test -z "$compiler_lib_search_path_CXX"; then
18742              compiler_lib_search_path_CXX=$prev$p
18743            else
18744              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
18745            fi
18746            ;;
18747          # The "-l" case would never come before the object being
18748          # linked, so don't bother handling this case.
18749          esac
18750        else
18751          if test -z "$postdeps_CXX"; then
18752            postdeps_CXX=$prev$p
18753          else
18754            postdeps_CXX="${postdeps_CXX} $prev$p"
18755          fi
18756        fi
18757        prev=
18758        ;;
18759
18760     *.lto.$objext) ;; # Ignore GCC LTO objects
18761     *.$objext)
18762        # This assumes that the test object file only shows up
18763        # once in the compiler output.
18764        if test "$p" = "conftest.$objext"; then
18765          pre_test_object_deps_done=yes
18766          continue
18767        fi
18768
18769        if test no = "$pre_test_object_deps_done"; then
18770          if test -z "$predep_objects_CXX"; then
18771            predep_objects_CXX=$p
18772          else
18773            predep_objects_CXX="$predep_objects_CXX $p"
18774          fi
18775        else
18776          if test -z "$postdep_objects_CXX"; then
18777            postdep_objects_CXX=$p
18778          else
18779            postdep_objects_CXX="$postdep_objects_CXX $p"
18780          fi
18781        fi
18782        ;;
18783
18784     *) ;; # Ignore the rest.
18785
18786     esac
18787   done
18788
18789   # Clean up.
18790   rm -f a.out a.exe
18791 else
18792   echo "libtool.m4: error: problem compiling CXX test program"
18793 fi
18794
18795 $RM -f confest.$objext
18796 CFLAGS=$_lt_libdeps_save_CFLAGS
18797
18798 # PORTME: override above test on systems where it is broken
18799 case $host_os in
18800 interix[3-9]*)
18801   # Interix 3.5 installs completely hosed .la files for C++, so rather than
18802   # hack all around it, let's just trust "g++" to DTRT.
18803   predep_objects_CXX=
18804   postdep_objects_CXX=
18805   postdeps_CXX=
18806   ;;
18807 esac
18808
18809
18810 case " $postdeps_CXX " in
18811 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
18812 esac
18813  compiler_lib_search_dirs_CXX=
18814 if test -n "${compiler_lib_search_path_CXX}"; then
18815  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
18816 fi
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848     lt_prog_compiler_wl_CXX=
18849 lt_prog_compiler_pic_CXX=
18850 lt_prog_compiler_static_CXX=
18851
18852
18853   # C++ specific cases for pic, static, wl, etc.
18854   if test yes = "$GXX"; then
18855     lt_prog_compiler_wl_CXX='-Wl,'
18856     lt_prog_compiler_static_CXX='-static'
18857
18858     case $host_os in
18859     aix*)
18860       # All AIX code is PIC.
18861       if test ia64 = "$host_cpu"; then
18862         # AIX 5 now supports IA64 processor
18863         lt_prog_compiler_static_CXX='-Bstatic'
18864       fi
18865       lt_prog_compiler_pic_CXX='-fPIC'
18866       ;;
18867
18868     amigaos*)
18869       case $host_cpu in
18870       powerpc)
18871             # see comment about AmigaOS4 .so support
18872             lt_prog_compiler_pic_CXX='-fPIC'
18873         ;;
18874       m68k)
18875             # FIXME: we need at least 68020 code to build shared libraries, but
18876             # adding the '-m68020' flag to GCC prevents building anything better,
18877             # like '-m68040'.
18878             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
18879         ;;
18880       esac
18881       ;;
18882
18883     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18884       # PIC is the default for these OSes.
18885       ;;
18886     mingw* | cygwin* | os2* | pw32* | cegcc*)
18887       # This hack is so that the source file can tell whether it is being
18888       # built for inclusion in a dll (and should export symbols for example).
18889       # Although the cygwin gcc ignores -fPIC, still need this for old-style
18890       # (--disable-auto-import) libraries
18891       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18892       case $host_os in
18893       os2*)
18894         lt_prog_compiler_static_CXX='$wl-static'
18895         ;;
18896       esac
18897       ;;
18898     darwin* | rhapsody*)
18899       # PIC is the default on this platform
18900       # Common symbols not allowed in MH_DYLIB files
18901       lt_prog_compiler_pic_CXX='-fno-common'
18902       ;;
18903     *djgpp*)
18904       # DJGPP does not support shared libraries at all
18905       lt_prog_compiler_pic_CXX=
18906       ;;
18907     haiku*)
18908       # PIC is the default for Haiku.
18909       # The "-static" flag exists, but is broken.
18910       lt_prog_compiler_static_CXX=
18911       ;;
18912     interix[3-9]*)
18913       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18914       # Instead, we relocate shared libraries at runtime.
18915       ;;
18916     sysv4*MP*)
18917       if test -d /usr/nec; then
18918         lt_prog_compiler_pic_CXX=-Kconform_pic
18919       fi
18920       ;;
18921     hpux*)
18922       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18923       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
18924       # sets the default TLS model and affects inlining.
18925       case $host_cpu in
18926       hppa*64*)
18927         ;;
18928       *)
18929         lt_prog_compiler_pic_CXX='-fPIC'
18930         ;;
18931       esac
18932       ;;
18933     *qnx* | *nto*)
18934       # QNX uses GNU C++, but need to define -shared option too, otherwise
18935       # it will coredump.
18936       lt_prog_compiler_pic_CXX='-fPIC -shared'
18937       ;;
18938     *)
18939       lt_prog_compiler_pic_CXX='-fPIC'
18940       ;;
18941     esac
18942   else
18943     case $host_os in
18944       aix[4-9]*)
18945         # All AIX code is PIC.
18946         if test ia64 = "$host_cpu"; then
18947           # AIX 5 now supports IA64 processor
18948           lt_prog_compiler_static_CXX='-Bstatic'
18949         else
18950           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
18951         fi
18952         ;;
18953       chorus*)
18954         case $cc_basename in
18955         cxch68*)
18956           # Green Hills C++ Compiler
18957           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
18958           ;;
18959         esac
18960         ;;
18961       mingw* | cygwin* | os2* | pw32* | cegcc*)
18962         # This hack is so that the source file can tell whether it is being
18963         # built for inclusion in a dll (and should export symbols for example).
18964         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18965         ;;
18966       dgux*)
18967         case $cc_basename in
18968           ec++*)
18969             lt_prog_compiler_pic_CXX='-KPIC'
18970             ;;
18971           ghcx*)
18972             # Green Hills C++ Compiler
18973             lt_prog_compiler_pic_CXX='-pic'
18974             ;;
18975           *)
18976             ;;
18977         esac
18978         ;;
18979       freebsd* | dragonfly* | midnightbsd*)
18980         # FreeBSD uses GNU C++
18981         ;;
18982       hpux9* | hpux10* | hpux11*)
18983         case $cc_basename in
18984           CC*)
18985             lt_prog_compiler_wl_CXX='-Wl,'
18986             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
18987             if test ia64 != "$host_cpu"; then
18988               lt_prog_compiler_pic_CXX='+Z'
18989             fi
18990             ;;
18991           aCC*)
18992             lt_prog_compiler_wl_CXX='-Wl,'
18993             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
18994             case $host_cpu in
18995             hppa*64*|ia64*)
18996               # +Z the default
18997               ;;
18998             *)
18999               lt_prog_compiler_pic_CXX='+Z'
19000               ;;
19001             esac
19002             ;;
19003           *)
19004             ;;
19005         esac
19006         ;;
19007       interix*)
19008         # This is c89, which is MS Visual C++ (no shared libs)
19009         # Anyone wants to do a port?
19010         ;;
19011       irix5* | irix6* | nonstopux*)
19012         case $cc_basename in
19013           CC*)
19014             lt_prog_compiler_wl_CXX='-Wl,'
19015             lt_prog_compiler_static_CXX='-non_shared'
19016             # CC pic flag -KPIC is the default.
19017             ;;
19018           *)
19019             ;;
19020         esac
19021         ;;
19022       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
19023         case $cc_basename in
19024           KCC*)
19025             # KAI C++ Compiler
19026             lt_prog_compiler_wl_CXX='--backend -Wl,'
19027             lt_prog_compiler_pic_CXX='-fPIC'
19028             ;;
19029           ecpc* )
19030             # old Intel C++ for x86_64, which still supported -KPIC.
19031             lt_prog_compiler_wl_CXX='-Wl,'
19032             lt_prog_compiler_pic_CXX='-KPIC'
19033             lt_prog_compiler_static_CXX='-static'
19034             ;;
19035           icpc* )
19036             # Intel C++, used to be incompatible with GCC.
19037             # ICC 10 doesn't accept -KPIC any more.
19038             lt_prog_compiler_wl_CXX='-Wl,'
19039             lt_prog_compiler_pic_CXX='-fPIC'
19040             lt_prog_compiler_static_CXX='-static'
19041             ;;
19042           pgCC* | pgcpp*)
19043             # Portland Group C++ compiler
19044             lt_prog_compiler_wl_CXX='-Wl,'
19045             lt_prog_compiler_pic_CXX='-fpic'
19046             lt_prog_compiler_static_CXX='-Bstatic'
19047             ;;
19048           cxx*)
19049             # Compaq C++
19050             # Make sure the PIC flag is empty.  It appears that all Alpha
19051             # Linux and Compaq Tru64 Unix objects are PIC.
19052             lt_prog_compiler_pic_CXX=
19053             lt_prog_compiler_static_CXX='-non_shared'
19054             ;;
19055           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
19056             # IBM XL 8.0, 9.0 on PPC and BlueGene
19057             lt_prog_compiler_wl_CXX='-Wl,'
19058             lt_prog_compiler_pic_CXX='-qpic'
19059             lt_prog_compiler_static_CXX='-qstaticlink'
19060             ;;
19061           *)
19062             case `$CC -V 2>&1 | $SED 5q` in
19063             *Sun\ C*)
19064               # Sun C++ 5.9
19065               lt_prog_compiler_pic_CXX='-KPIC'
19066               lt_prog_compiler_static_CXX='-Bstatic'
19067               lt_prog_compiler_wl_CXX='-Qoption ld '
19068               ;;
19069             esac
19070             ;;
19071         esac
19072         ;;
19073       lynxos*)
19074         ;;
19075       m88k*)
19076         ;;
19077       mvs*)
19078         case $cc_basename in
19079           cxx*)
19080             lt_prog_compiler_pic_CXX='-W c,exportall'
19081             ;;
19082           *)
19083             ;;
19084         esac
19085         ;;
19086       netbsd*)
19087         ;;
19088       *qnx* | *nto*)
19089         # QNX uses GNU C++, but need to define -shared option too, otherwise
19090         # it will coredump.
19091         lt_prog_compiler_pic_CXX='-fPIC -shared'
19092         ;;
19093       osf3* | osf4* | osf5*)
19094         case $cc_basename in
19095           KCC*)
19096             lt_prog_compiler_wl_CXX='--backend -Wl,'
19097             ;;
19098           RCC*)
19099             # Rational C++ 2.4.1
19100             lt_prog_compiler_pic_CXX='-pic'
19101             ;;
19102           cxx*)
19103             # Digital/Compaq C++
19104             lt_prog_compiler_wl_CXX='-Wl,'
19105             # Make sure the PIC flag is empty.  It appears that all Alpha
19106             # Linux and Compaq Tru64 Unix objects are PIC.
19107             lt_prog_compiler_pic_CXX=
19108             lt_prog_compiler_static_CXX='-non_shared'
19109             ;;
19110           *)
19111             ;;
19112         esac
19113         ;;
19114       psos*)
19115         ;;
19116       solaris*)
19117         case $cc_basename in
19118           CC* | sunCC*)
19119             # Sun C++ 4.2, 5.x and Centerline C++
19120             lt_prog_compiler_pic_CXX='-KPIC'
19121             lt_prog_compiler_static_CXX='-Bstatic'
19122             lt_prog_compiler_wl_CXX='-Qoption ld '
19123             ;;
19124           gcx*)
19125             # Green Hills C++ Compiler
19126             lt_prog_compiler_pic_CXX='-PIC'
19127             ;;
19128           *)
19129             ;;
19130         esac
19131         ;;
19132       sunos4*)
19133         case $cc_basename in
19134           CC*)
19135             # Sun C++ 4.x
19136             lt_prog_compiler_pic_CXX='-pic'
19137             lt_prog_compiler_static_CXX='-Bstatic'
19138             ;;
19139           lcc*)
19140             # Lucid
19141             lt_prog_compiler_pic_CXX='-pic'
19142             ;;
19143           *)
19144             ;;
19145         esac
19146         ;;
19147       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19148         case $cc_basename in
19149           CC*)
19150             lt_prog_compiler_wl_CXX='-Wl,'
19151             lt_prog_compiler_pic_CXX='-KPIC'
19152             lt_prog_compiler_static_CXX='-Bstatic'
19153             ;;
19154         esac
19155         ;;
19156       tandem*)
19157         case $cc_basename in
19158           NCC*)
19159             # NonStop-UX NCC 3.20
19160             lt_prog_compiler_pic_CXX='-KPIC'
19161             ;;
19162           *)
19163             ;;
19164         esac
19165         ;;
19166       vxworks*)
19167         ;;
19168       *)
19169         lt_prog_compiler_can_build_shared_CXX=no
19170         ;;
19171     esac
19172   fi
19173
19174 case $host_os in
19175   # For platforms that do not support PIC, -DPIC is meaningless:
19176   *djgpp*)
19177     lt_prog_compiler_pic_CXX=
19178     ;;
19179   *)
19180     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19181     ;;
19182 esac
19183
19184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
19185 printf %s "checking for $compiler option to produce PIC... " >&6; }
19186 if test ${lt_cv_prog_compiler_pic_CXX+y}
19187 then :
19188   printf %s "(cached) " >&6
19189 else $as_nop
19190   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
19191 fi
19192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
19193 printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
19194 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
19195
19196 #
19197 # Check to make sure the PIC flag actually works.
19198 #
19199 if test -n "$lt_prog_compiler_pic_CXX"; then
19200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19201 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19202 if test ${lt_cv_prog_compiler_pic_works_CXX+y}
19203 then :
19204   printf %s "(cached) " >&6
19205 else $as_nop
19206   lt_cv_prog_compiler_pic_works_CXX=no
19207    ac_outfile=conftest.$ac_objext
19208    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19209    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
19210    # Insert the option either (1) after the last *FLAGS variable, or
19211    # (2) before a word containing "conftest.", or (3) at the end.
19212    # Note that $ac_compile itself does not contain backslashes and begins
19213    # with a dollar sign (not a hyphen), so the echo should work correctly.
19214    # The option is referenced via a variable to avoid confusing sed.
19215    lt_compile=`echo "$ac_compile" | $SED \
19216    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19217    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19218    -e 's:$: $lt_compiler_flag:'`
19219    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19220    (eval "$lt_compile" 2>conftest.err)
19221    ac_status=$?
19222    cat conftest.err >&5
19223    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224    if (exit $ac_status) && test -s "$ac_outfile"; then
19225      # The compiler can only warn and ignore the option if not recognized
19226      # So say no if there are warnings other than the usual output.
19227      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
19228      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19229      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19230        lt_cv_prog_compiler_pic_works_CXX=yes
19231      fi
19232    fi
19233    $RM conftest*
19234
19235 fi
19236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19237 printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19238
19239 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
19240     case $lt_prog_compiler_pic_CXX in
19241      "" | " "*) ;;
19242      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19243      esac
19244 else
19245     lt_prog_compiler_pic_CXX=
19246      lt_prog_compiler_can_build_shared_CXX=no
19247 fi
19248
19249 fi
19250
19251
19252
19253
19254
19255 #
19256 # Check to make sure the static flag actually works.
19257 #
19258 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19260 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19261 if test ${lt_cv_prog_compiler_static_works_CXX+y}
19262 then :
19263   printf %s "(cached) " >&6
19264 else $as_nop
19265   lt_cv_prog_compiler_static_works_CXX=no
19266    save_LDFLAGS=$LDFLAGS
19267    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19268    echo "$lt_simple_link_test_code" > conftest.$ac_ext
19269    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19270      # The linker can only warn and ignore the option if not recognized
19271      # So say no if there are warnings
19272      if test -s conftest.err; then
19273        # Append any errors to the config.log.
19274        cat conftest.err 1>&5
19275        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
19276        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19277        if diff conftest.exp conftest.er2 >/dev/null; then
19278          lt_cv_prog_compiler_static_works_CXX=yes
19279        fi
19280      else
19281        lt_cv_prog_compiler_static_works_CXX=yes
19282      fi
19283    fi
19284    $RM -r conftest*
19285    LDFLAGS=$save_LDFLAGS
19286
19287 fi
19288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19289 printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19290
19291 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
19292     :
19293 else
19294     lt_prog_compiler_static_CXX=
19295 fi
19296
19297
19298
19299
19300     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19301 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19302 if test ${lt_cv_prog_compiler_c_o_CXX+y}
19303 then :
19304   printf %s "(cached) " >&6
19305 else $as_nop
19306   lt_cv_prog_compiler_c_o_CXX=no
19307    $RM -r conftest 2>/dev/null
19308    mkdir conftest
19309    cd conftest
19310    mkdir out
19311    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19312
19313    lt_compiler_flag="-o out/conftest2.$ac_objext"
19314    # Insert the option either (1) after the last *FLAGS variable, or
19315    # (2) before a word containing "conftest.", or (3) at the end.
19316    # Note that $ac_compile itself does not contain backslashes and begins
19317    # with a dollar sign (not a hyphen), so the echo should work correctly.
19318    lt_compile=`echo "$ac_compile" | $SED \
19319    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19320    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19321    -e 's:$: $lt_compiler_flag:'`
19322    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19323    (eval "$lt_compile" 2>out/conftest.err)
19324    ac_status=$?
19325    cat out/conftest.err >&5
19326    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19328    then
19329      # The compiler can only warn and ignore the option if not recognized
19330      # So say no if there are warnings
19331      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19332      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19333      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19334        lt_cv_prog_compiler_c_o_CXX=yes
19335      fi
19336    fi
19337    chmod u+w . 2>&5
19338    $RM conftest*
19339    # SGI C++ compiler will create directory out/ii_files/ for
19340    # template instantiation
19341    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19342    $RM out/* && rmdir out
19343    cd ..
19344    $RM -r conftest
19345    $RM conftest*
19346
19347 fi
19348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19349 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19350
19351
19352
19353     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19354 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19355 if test ${lt_cv_prog_compiler_c_o_CXX+y}
19356 then :
19357   printf %s "(cached) " >&6
19358 else $as_nop
19359   lt_cv_prog_compiler_c_o_CXX=no
19360    $RM -r conftest 2>/dev/null
19361    mkdir conftest
19362    cd conftest
19363    mkdir out
19364    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19365
19366    lt_compiler_flag="-o out/conftest2.$ac_objext"
19367    # Insert the option either (1) after the last *FLAGS variable, or
19368    # (2) before a word containing "conftest.", or (3) at the end.
19369    # Note that $ac_compile itself does not contain backslashes and begins
19370    # with a dollar sign (not a hyphen), so the echo should work correctly.
19371    lt_compile=`echo "$ac_compile" | $SED \
19372    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19373    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19374    -e 's:$: $lt_compiler_flag:'`
19375    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19376    (eval "$lt_compile" 2>out/conftest.err)
19377    ac_status=$?
19378    cat out/conftest.err >&5
19379    echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380    if (exit $ac_status) && test -s out/conftest2.$ac_objext
19381    then
19382      # The compiler can only warn and ignore the option if not recognized
19383      # So say no if there are warnings
19384      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19385      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19386      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19387        lt_cv_prog_compiler_c_o_CXX=yes
19388      fi
19389    fi
19390    chmod u+w . 2>&5
19391    $RM conftest*
19392    # SGI C++ compiler will create directory out/ii_files/ for
19393    # template instantiation
19394    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19395    $RM out/* && rmdir out
19396    cd ..
19397    $RM -r conftest
19398    $RM conftest*
19399
19400 fi
19401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19402 printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19403
19404
19405
19406
19407 hard_links=nottested
19408 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
19409   # do not overwrite the value of need_locks provided by the user
19410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19411 printf %s "checking if we can lock with hard links... " >&6; }
19412   hard_links=yes
19413   $RM conftest*
19414   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19415   touch conftest.a
19416   ln conftest.a conftest.b 2>&5 || hard_links=no
19417   ln conftest.a conftest.b 2>/dev/null && hard_links=no
19418   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19419 printf "%s\n" "$hard_links" >&6; }
19420   if test no = "$hard_links"; then
19421     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
19422 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
19423     need_locks=warn
19424   fi
19425 else
19426   need_locks=no
19427 fi
19428
19429
19430
19431     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19432 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19433
19434   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19435   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19436   case $host_os in
19437   aix[4-9]*)
19438     # If we're using GNU nm, then we don't want the "-C" option.
19439     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
19440     # Without the "-l" option, or with the "-B" option, AIX nm treats
19441     # weak defined symbols like other global defined symbols, whereas
19442     # GNU nm marks them as "W".
19443     # While the 'weak' keyword is ignored in the Export File, we need
19444     # it in the Import File for the 'aix-soname' feature, so we have
19445     # to replace the "-B" option with "-P" for AIX nm.
19446     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19447       export_symbols_cmds_CXX='$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'
19448     else
19449       export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 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'
19450     fi
19451     ;;
19452   pw32*)
19453     export_symbols_cmds_CXX=$ltdll_cmds
19454     ;;
19455   cygwin* | mingw* | cegcc*)
19456     case $cc_basename in
19457     cl* | icl*)
19458       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
19459       ;;
19460     *)
19461       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
19462       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
19463       ;;
19464     esac
19465     ;;
19466   *)
19467     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19468     ;;
19469   esac
19470
19471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19472 printf "%s\n" "$ld_shlibs_CXX" >&6; }
19473 test no = "$ld_shlibs_CXX" && can_build_shared=no
19474
19475 with_gnu_ld_CXX=$with_gnu_ld
19476
19477
19478
19479
19480
19481
19482 #
19483 # Do we need to explicitly link libc?
19484 #
19485 case "x$archive_cmds_need_lc_CXX" in
19486 x|xyes)
19487   # Assume -lc should be added
19488   archive_cmds_need_lc_CXX=yes
19489
19490   if test yes,yes = "$GCC,$enable_shared"; then
19491     case $archive_cmds_CXX in
19492     *'~'*)
19493       # FIXME: we may have to deal with multi-command sequences.
19494       ;;
19495     '$CC '*)
19496       # Test whether the compiler implicitly links with -lc since on some
19497       # systems, -lgcc has to come before -lc. If gcc already passes -lc
19498       # to ld, don't add -lc before -lgcc.
19499       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
19500 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
19501 if test ${lt_cv_archive_cmds_need_lc_CXX+y}
19502 then :
19503   printf %s "(cached) " >&6
19504 else $as_nop
19505   $RM conftest*
19506         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19507
19508         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19509   (eval $ac_compile) 2>&5
19510   ac_status=$?
19511   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19512   test $ac_status = 0; } 2>conftest.err; then
19513           soname=conftest
19514           lib=conftest
19515           libobjs=conftest.$ac_objext
19516           deplibs=
19517           wl=$lt_prog_compiler_wl_CXX
19518           pic_flag=$lt_prog_compiler_pic_CXX
19519           compiler_flags=-v
19520           linker_flags=-v
19521           verstring=
19522           output_objdir=.
19523           libname=conftest
19524           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19525           allow_undefined_flag_CXX=
19526           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
19527   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
19528   ac_status=$?
19529   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19530   test $ac_status = 0; }
19531           then
19532             lt_cv_archive_cmds_need_lc_CXX=no
19533           else
19534             lt_cv_archive_cmds_need_lc_CXX=yes
19535           fi
19536           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19537         else
19538           cat conftest.err 1>&5
19539         fi
19540         $RM conftest*
19541
19542 fi
19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
19544 printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
19545       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
19546       ;;
19547     esac
19548   fi
19549   ;;
19550 esac
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
19614 printf %s "checking dynamic linker characteristics... " >&6; }
19615
19616 library_names_spec=
19617 libname_spec='lib$name'
19618 soname_spec=
19619 shrext_cmds=.so
19620 postinstall_cmds=
19621 postuninstall_cmds=
19622 finish_cmds=
19623 finish_eval=
19624 shlibpath_var=
19625 shlibpath_overrides_runpath=unknown
19626 version_type=none
19627 dynamic_linker="$host_os ld.so"
19628 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19629 need_lib_prefix=unknown
19630 hardcode_into_libs=no
19631
19632 # when you set need_version to no, make sure it does not cause -set_version
19633 # flags to be left without arguments
19634 need_version=unknown
19635
19636
19637
19638 case $host_os in
19639 aix3*)
19640   version_type=linux # correct to gnu/linux during the next big refactor
19641   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
19642   shlibpath_var=LIBPATH
19643
19644   # AIX 3 has no versioning support, so we append a major version to the name.
19645   soname_spec='$libname$release$shared_ext$major'
19646   ;;
19647
19648 aix[4-9]*)
19649   version_type=linux # correct to gnu/linux during the next big refactor
19650   need_lib_prefix=no
19651   need_version=no
19652   hardcode_into_libs=yes
19653   if test ia64 = "$host_cpu"; then
19654     # AIX 5 supports IA64
19655     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
19656     shlibpath_var=LD_LIBRARY_PATH
19657   else
19658     # With GCC up to 2.95.x, collect2 would create an import file
19659     # for dependence libraries.  The import file would start with
19660     # the line '#! .'.  This would cause the generated library to
19661     # depend on '.', always an invalid library.  This was fixed in
19662     # development snapshots of GCC prior to 3.0.
19663     case $host_os in
19664       aix4 | aix4.[01] | aix4.[01].*)
19665       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19666            echo ' yes '
19667            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
19668         :
19669       else
19670         can_build_shared=no
19671       fi
19672       ;;
19673     esac
19674     # Using Import Files as archive members, it is possible to support
19675     # filename-based versioning of shared library archives on AIX. While
19676     # this would work for both with and without runtime linking, it will
19677     # prevent static linking of such archives. So we do filename-based
19678     # shared library versioning with .so extension only, which is used
19679     # when both runtime linking and shared linking is enabled.
19680     # Unfortunately, runtime linking may impact performance, so we do
19681     # not want this to be the default eventually. Also, we use the
19682     # versioned .so libs for executables only if there is the -brtl
19683     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
19684     # To allow for filename-based versioning support, we need to create
19685     # libNAME.so.V as an archive file, containing:
19686     # *) an Import File, referring to the versioned filename of the
19687     #    archive as well as the shared archive member, telling the
19688     #    bitwidth (32 or 64) of that shared object, and providing the
19689     #    list of exported symbols of that shared object, eventually
19690     #    decorated with the 'weak' keyword
19691     # *) the shared object with the F_LOADONLY flag set, to really avoid
19692     #    it being seen by the linker.
19693     # At run time we better use the real file rather than another symlink,
19694     # but for link time we create the symlink libNAME.so -> libNAME.so.V
19695
19696     case $with_aix_soname,$aix_use_runtimelinking in
19697     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
19698     # soname into executable. Probably we can add versioning support to
19699     # collect2, so additional links can be useful in future.
19700     aix,yes) # traditional libtool
19701       dynamic_linker='AIX unversionable lib.so'
19702       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19703       # instead of lib<name>.a to let people know that these are not
19704       # typical AIX shared libraries.
19705       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19706       ;;
19707     aix,no) # traditional AIX only
19708       dynamic_linker='AIX lib.a(lib.so.V)'
19709       # We preserve .a as extension for shared libraries through AIX4.2
19710       # and later when we are not doing run time linking.
19711       library_names_spec='$libname$release.a $libname.a'
19712       soname_spec='$libname$release$shared_ext$major'
19713       ;;
19714     svr4,*) # full svr4 only
19715       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
19716       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
19717       # We do not specify a path in Import Files, so LIBPATH fires.
19718       shlibpath_overrides_runpath=yes
19719       ;;
19720     *,yes) # both, prefer svr4
19721       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
19722       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
19723       # unpreferred sharedlib libNAME.a needs extra handling
19724       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"'
19725       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"'
19726       # We do not specify a path in Import Files, so LIBPATH fires.
19727       shlibpath_overrides_runpath=yes
19728       ;;
19729     *,no) # both, prefer aix
19730       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
19731       library_names_spec='$libname$release.a $libname.a'
19732       soname_spec='$libname$release$shared_ext$major'
19733       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
19734       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)'
19735       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"'
19736       ;;
19737     esac
19738     shlibpath_var=LIBPATH
19739   fi
19740   ;;
19741
19742 amigaos*)
19743   case $host_cpu in
19744   powerpc)
19745     # Since July 2007 AmigaOS4 officially supports .so libraries.
19746     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19747     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19748     ;;
19749   m68k)
19750     library_names_spec='$libname.ixlibrary $libname.a'
19751     # Create ${libname}_ixlibrary.a entries in /sys/libs.
19752     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'
19753     ;;
19754   esac
19755   ;;
19756
19757 beos*)
19758   library_names_spec='$libname$shared_ext'
19759   dynamic_linker="$host_os ld.so"
19760   shlibpath_var=LIBRARY_PATH
19761   ;;
19762
19763 bsdi[45]*)
19764   version_type=linux # correct to gnu/linux during the next big refactor
19765   need_version=no
19766   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19767   soname_spec='$libname$release$shared_ext$major'
19768   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19769   shlibpath_var=LD_LIBRARY_PATH
19770   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19771   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19772   # the default ld.so.conf also contains /usr/contrib/lib and
19773   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19774   # libtool to hard-code these into programs
19775   ;;
19776
19777 cygwin* | mingw* | pw32* | cegcc*)
19778   version_type=windows
19779   shrext_cmds=.dll
19780   need_version=no
19781   need_lib_prefix=no
19782
19783   case $GCC,$cc_basename in
19784   yes,*)
19785     # gcc
19786     library_names_spec='$libname.dll.a'
19787     # DLL is installed to $(libdir)/../bin by postinstall_cmds
19788     postinstall_cmds='base_file=`basename \$file`~
19789       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
19790       dldir=$destdir/`dirname \$dlpath`~
19791       test -d \$dldir || mkdir -p \$dldir~
19792       $install_prog $dir/$dlname \$dldir/$dlname~
19793       chmod a+x \$dldir/$dlname~
19794       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19795         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19796       fi'
19797     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19798       dlpath=$dir/\$dldll~
19799        $RM \$dlpath'
19800     shlibpath_overrides_runpath=yes
19801
19802     case $host_os in
19803     cygwin*)
19804       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19805       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
19806
19807       ;;
19808     mingw* | cegcc*)
19809       # MinGW DLLs use traditional 'lib' prefix
19810       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
19811       ;;
19812     pw32*)
19813       # pw32 DLLs use 'pw' prefix rather than 'lib'
19814       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
19815       ;;
19816     esac
19817     dynamic_linker='Win32 ld.exe'
19818     ;;
19819
19820   *,cl* | *,icl*)
19821     # Native MSVC or ICC
19822     libname_spec='$name'
19823     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
19824     library_names_spec='$libname.dll.lib'
19825
19826     case $build_os in
19827     mingw*)
19828       sys_lib_search_path_spec=
19829       lt_save_ifs=$IFS
19830       IFS=';'
19831       for lt_path in $LIB
19832       do
19833         IFS=$lt_save_ifs
19834         # Let DOS variable expansion print the short 8.3 style file name.
19835         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
19836         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
19837       done
19838       IFS=$lt_save_ifs
19839       # Convert to MSYS style.
19840       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
19841       ;;
19842     cygwin*)
19843       # Convert to unix form, then to dos form, then back to unix form
19844       # but this time dos style (no spaces!) so that the unix form looks
19845       # like /cygdrive/c/PROGRA~1:/cygdr...
19846       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
19847       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
19848       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19849       ;;
19850     *)
19851       sys_lib_search_path_spec=$LIB
19852       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19853         # It is most probably a Windows format PATH.
19854         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19855       else
19856         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19857       fi
19858       # FIXME: find the short name or the path components, as spaces are
19859       # common. (e.g. "Program Files" -> "PROGRA~1")
19860       ;;
19861     esac
19862
19863     # DLL is installed to $(libdir)/../bin by postinstall_cmds
19864     postinstall_cmds='base_file=`basename \$file`~
19865       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
19866       dldir=$destdir/`dirname \$dlpath`~
19867       test -d \$dldir || mkdir -p \$dldir~
19868       $install_prog $dir/$dlname \$dldir/$dlname'
19869     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19870       dlpath=$dir/\$dldll~
19871        $RM \$dlpath'
19872     shlibpath_overrides_runpath=yes
19873     dynamic_linker='Win32 link.exe'
19874     ;;
19875
19876   *)
19877     # Assume MSVC and ICC wrapper
19878     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
19879     dynamic_linker='Win32 ld.exe'
19880     ;;
19881   esac
19882   # FIXME: first we should search . and the directory the executable is in
19883   shlibpath_var=PATH
19884   ;;
19885
19886 darwin* | rhapsody*)
19887   dynamic_linker="$host_os dyld"
19888   version_type=darwin
19889   need_lib_prefix=no
19890   need_version=no
19891   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
19892   soname_spec='$libname$release$major$shared_ext'
19893   shlibpath_overrides_runpath=yes
19894   shlibpath_var=DYLD_LIBRARY_PATH
19895   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
19896
19897   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19898   ;;
19899
19900 dgux*)
19901   version_type=linux # correct to gnu/linux during the next big refactor
19902   need_lib_prefix=no
19903   need_version=no
19904   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19905   soname_spec='$libname$release$shared_ext$major'
19906   shlibpath_var=LD_LIBRARY_PATH
19907   ;;
19908
19909 freebsd* | dragonfly* | midnightbsd*)
19910   # DragonFly does not have aout.  When/if they implement a new
19911   # versioning mechanism, adjust this.
19912   if test -x /usr/bin/objformat; then
19913     objformat=`/usr/bin/objformat`
19914   else
19915     case $host_os in
19916     freebsd[23].*) objformat=aout ;;
19917     *) objformat=elf ;;
19918     esac
19919   fi
19920   # Handle Gentoo/FreeBSD as it was Linux
19921   case $host_vendor in
19922     gentoo)
19923       version_type=linux ;;
19924     *)
19925       version_type=freebsd-$objformat ;;
19926   esac
19927
19928   case $version_type in
19929     freebsd-elf*)
19930       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19931       soname_spec='$libname$release$shared_ext$major'
19932       need_version=no
19933       need_lib_prefix=no
19934       ;;
19935     freebsd-*)
19936       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
19937       need_version=yes
19938       ;;
19939     linux)
19940       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19941       soname_spec='${libname}${release}${shared_ext}$major'
19942       need_lib_prefix=no
19943       need_version=no
19944       ;;
19945   esac
19946   shlibpath_var=LD_LIBRARY_PATH
19947   case $host_os in
19948   freebsd2.*)
19949     shlibpath_overrides_runpath=yes
19950     ;;
19951   freebsd3.[01]* | freebsdelf3.[01]*)
19952     shlibpath_overrides_runpath=yes
19953     hardcode_into_libs=yes
19954     ;;
19955   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19956   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19957     shlibpath_overrides_runpath=no
19958     hardcode_into_libs=yes
19959     ;;
19960   *) # from 4.6 on, and DragonFly
19961     shlibpath_overrides_runpath=yes
19962     hardcode_into_libs=yes
19963     ;;
19964   esac
19965   ;;
19966
19967 haiku*)
19968   version_type=linux # correct to gnu/linux during the next big refactor
19969   need_lib_prefix=no
19970   need_version=no
19971   dynamic_linker="$host_os runtime_loader"
19972   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19973   soname_spec='$libname$release$shared_ext$major'
19974   shlibpath_var=LIBRARY_PATH
19975   shlibpath_overrides_runpath=no
19976   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
19977   hardcode_into_libs=yes
19978   ;;
19979
19980 hpux9* | hpux10* | hpux11*)
19981   # Give a soname corresponding to the major version so that dld.sl refuses to
19982   # link against other versions.
19983   version_type=sunos
19984   need_lib_prefix=no
19985   need_version=no
19986   case $host_cpu in
19987   ia64*)
19988     shrext_cmds='.so'
19989     hardcode_into_libs=yes
19990     dynamic_linker="$host_os dld.so"
19991     shlibpath_var=LD_LIBRARY_PATH
19992     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19993     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
19994     soname_spec='$libname$release$shared_ext$major'
19995     if test 32 = "$HPUX_IA64_MODE"; then
19996       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19997       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
19998     else
19999       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20000       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
20001     fi
20002     ;;
20003   hppa*64*)
20004     shrext_cmds='.sl'
20005     hardcode_into_libs=yes
20006     dynamic_linker="$host_os dld.sl"
20007     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20008     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20009     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20010     soname_spec='$libname$release$shared_ext$major'
20011     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20012     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20013     ;;
20014   *)
20015     shrext_cmds='.sl'
20016     dynamic_linker="$host_os dld.sl"
20017     shlibpath_var=SHLIB_PATH
20018     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20019     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20020     soname_spec='$libname$release$shared_ext$major'
20021     ;;
20022   esac
20023   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20024   postinstall_cmds='chmod 555 $lib'
20025   # or fails outright, so override atomically:
20026   install_override_mode=555
20027   ;;
20028
20029 interix[3-9]*)
20030   version_type=linux # correct to gnu/linux during the next big refactor
20031   need_lib_prefix=no
20032   need_version=no
20033   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20034   soname_spec='$libname$release$shared_ext$major'
20035   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20036   shlibpath_var=LD_LIBRARY_PATH
20037   shlibpath_overrides_runpath=no
20038   hardcode_into_libs=yes
20039   ;;
20040
20041 irix5* | irix6* | nonstopux*)
20042   case $host_os in
20043     nonstopux*) version_type=nonstopux ;;
20044     *)
20045         if test yes = "$lt_cv_prog_gnu_ld"; then
20046                 version_type=linux # correct to gnu/linux during the next big refactor
20047         else
20048                 version_type=irix
20049         fi ;;
20050   esac
20051   need_lib_prefix=no
20052   need_version=no
20053   soname_spec='$libname$release$shared_ext$major'
20054   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
20055   case $host_os in
20056   irix5* | nonstopux*)
20057     libsuff= shlibsuff=
20058     ;;
20059   *)
20060     case $LD in # libtool.m4 will add one of these switches to LD
20061     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20062       libsuff= shlibsuff= libmagic=32-bit;;
20063     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20064       libsuff=32 shlibsuff=N32 libmagic=N32;;
20065     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20066       libsuff=64 shlibsuff=64 libmagic=64-bit;;
20067     *) libsuff= shlibsuff= libmagic=never-match;;
20068     esac
20069     ;;
20070   esac
20071   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20072   shlibpath_overrides_runpath=no
20073   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
20074   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
20075   hardcode_into_libs=yes
20076   ;;
20077
20078 # No shared lib support for Linux oldld, aout, or coff.
20079 linux*oldld* | linux*aout* | linux*coff*)
20080   dynamic_linker=no
20081   ;;
20082
20083 linux*android*)
20084   version_type=none # Android doesn't support versioned libraries.
20085   need_lib_prefix=no
20086   need_version=no
20087   library_names_spec='$libname$release$shared_ext'
20088   soname_spec='$libname$release$shared_ext'
20089   finish_cmds=
20090   shlibpath_var=LD_LIBRARY_PATH
20091   shlibpath_overrides_runpath=yes
20092
20093   # This implies no fast_install, which is unacceptable.
20094   # Some rework will be needed to allow for fast_install
20095   # before this can be enabled.
20096   hardcode_into_libs=yes
20097
20098   dynamic_linker='Android linker'
20099   # Don't embed -rpath directories since the linker doesn't support them.
20100   hardcode_libdir_flag_spec_CXX='-L$libdir'
20101   ;;
20102
20103 # This must be glibc/ELF.
20104 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
20105   version_type=linux # correct to gnu/linux during the next big refactor
20106   need_lib_prefix=no
20107   need_version=no
20108   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20109   soname_spec='$libname$release$shared_ext$major'
20110   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20111   shlibpath_var=LD_LIBRARY_PATH
20112   shlibpath_overrides_runpath=no
20113
20114   # Some binutils ld are patched to set DT_RUNPATH
20115   if test ${lt_cv_shlibpath_overrides_runpath+y}
20116 then :
20117   printf %s "(cached) " >&6
20118 else $as_nop
20119   lt_cv_shlibpath_overrides_runpath=no
20120     save_LDFLAGS=$LDFLAGS
20121     save_libdir=$libdir
20122     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
20123          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
20124     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20125 /* end confdefs.h.  */
20126
20127 int
20128 main (void)
20129 {
20130
20131   ;
20132   return 0;
20133 }
20134 _ACEOF
20135 if ac_fn_cxx_try_link "$LINENO"
20136 then :
20137   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
20138 then :
20139   lt_cv_shlibpath_overrides_runpath=yes
20140 fi
20141 fi
20142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20143     conftest$ac_exeext conftest.$ac_ext
20144     LDFLAGS=$save_LDFLAGS
20145     libdir=$save_libdir
20146
20147 fi
20148
20149   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20150
20151   # This implies no fast_install, which is unacceptable.
20152   # Some rework will be needed to allow for fast_install
20153   # before this can be enabled.
20154   hardcode_into_libs=yes
20155
20156   # Ideally, we could use ldconfig to report *all* directores which are
20157   # searched for libraries, however this is still not possible.  Aside from not
20158   # being certain /sbin/ldconfig is available, command
20159   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
20160   # even though it is searched at run-time.  Try to do the best guess by
20161   # appending ld.so.conf contents (and includes) to the search path.
20162   if test -f /etc/ld.so.conf; then
20163     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' ' '`
20164     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20165   fi
20166
20167   # We used to test for /lib/ld.so.1 and disable shared libraries on
20168   # powerpc, because MkLinux only supported shared libraries with the
20169   # GNU dynamic linker.  Since this was broken with cross compilers,
20170   # most powerpc-linux boxes support dynamic linking these days and
20171   # people can always --disable-shared, the test was removed, and we
20172   # assume the GNU/Linux dynamic linker is in use.
20173   dynamic_linker='GNU/Linux ld.so'
20174   ;;
20175
20176 netbsd*)
20177   version_type=sunos
20178   need_lib_prefix=no
20179   need_version=no
20180   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20181     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20182     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20183     dynamic_linker='NetBSD (a.out) ld.so'
20184   else
20185     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20186     soname_spec='$libname$release$shared_ext$major'
20187     dynamic_linker='NetBSD ld.elf_so'
20188   fi
20189   shlibpath_var=LD_LIBRARY_PATH
20190   shlibpath_overrides_runpath=yes
20191   hardcode_into_libs=yes
20192   ;;
20193
20194 newsos6)
20195   version_type=linux # correct to gnu/linux during the next big refactor
20196   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20197   shlibpath_var=LD_LIBRARY_PATH
20198   shlibpath_overrides_runpath=yes
20199   ;;
20200
20201 *nto* | *qnx*)
20202   version_type=qnx
20203   need_lib_prefix=no
20204   need_version=no
20205   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20206   soname_spec='$libname$release$shared_ext$major'
20207   shlibpath_var=LD_LIBRARY_PATH
20208   shlibpath_overrides_runpath=no
20209   hardcode_into_libs=yes
20210   dynamic_linker='ldqnx.so'
20211   ;;
20212
20213 openbsd* | bitrig*)
20214   version_type=sunos
20215   sys_lib_dlsearch_path_spec=/usr/lib
20216   need_lib_prefix=no
20217   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
20218     need_version=no
20219   else
20220     need_version=yes
20221   fi
20222   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20223   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20224   shlibpath_var=LD_LIBRARY_PATH
20225   shlibpath_overrides_runpath=yes
20226   ;;
20227
20228 os2*)
20229   libname_spec='$name'
20230   version_type=windows
20231   shrext_cmds=.dll
20232   need_version=no
20233   need_lib_prefix=no
20234   # OS/2 can only load a DLL with a base name of 8 characters or less.
20235   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
20236     v=$($ECHO $release$versuffix | tr -d .-);
20237     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
20238     $ECHO $n$v`$shared_ext'
20239   library_names_spec='${libname}_dll.$libext'
20240   dynamic_linker='OS/2 ld.exe'
20241   shlibpath_var=BEGINLIBPATH
20242   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20243   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20244   postinstall_cmds='base_file=`basename \$file`~
20245     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
20246     dldir=$destdir/`dirname \$dlpath`~
20247     test -d \$dldir || mkdir -p \$dldir~
20248     $install_prog $dir/$dlname \$dldir/$dlname~
20249     chmod a+x \$dldir/$dlname~
20250     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20251       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20252     fi'
20253   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
20254     dlpath=$dir/\$dldll~
20255     $RM \$dlpath'
20256   ;;
20257
20258 osf3* | osf4* | osf5*)
20259   version_type=osf
20260   need_lib_prefix=no
20261   need_version=no
20262   soname_spec='$libname$release$shared_ext$major'
20263   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20264   shlibpath_var=LD_LIBRARY_PATH
20265   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20266   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20267   ;;
20268
20269 rdos*)
20270   dynamic_linker=no
20271   ;;
20272
20273 solaris*)
20274   version_type=linux # correct to gnu/linux during the next big refactor
20275   need_lib_prefix=no
20276   need_version=no
20277   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20278   soname_spec='$libname$release$shared_ext$major'
20279   shlibpath_var=LD_LIBRARY_PATH
20280   shlibpath_overrides_runpath=yes
20281   hardcode_into_libs=yes
20282   # ldd complains unless libraries are executable
20283   postinstall_cmds='chmod +x $lib'
20284   ;;
20285
20286 sunos4*)
20287   version_type=sunos
20288   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20289   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20290   shlibpath_var=LD_LIBRARY_PATH
20291   shlibpath_overrides_runpath=yes
20292   if test yes = "$with_gnu_ld"; then
20293     need_lib_prefix=no
20294   fi
20295   need_version=yes
20296   ;;
20297
20298 sysv4 | sysv4.3*)
20299   version_type=linux # correct to gnu/linux during the next big refactor
20300   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20301   soname_spec='$libname$release$shared_ext$major'
20302   shlibpath_var=LD_LIBRARY_PATH
20303   case $host_vendor in
20304     sni)
20305       shlibpath_overrides_runpath=no
20306       need_lib_prefix=no
20307       runpath_var=LD_RUN_PATH
20308       ;;
20309     siemens)
20310       need_lib_prefix=no
20311       ;;
20312     motorola)
20313       need_lib_prefix=no
20314       need_version=no
20315       shlibpath_overrides_runpath=no
20316       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20317       ;;
20318   esac
20319   ;;
20320
20321 sysv4*MP*)
20322   if test -d /usr/nec; then
20323     version_type=linux # correct to gnu/linux during the next big refactor
20324     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
20325     soname_spec='$libname$shared_ext.$major'
20326     shlibpath_var=LD_LIBRARY_PATH
20327   fi
20328   ;;
20329
20330 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20331   version_type=sco
20332   need_lib_prefix=no
20333   need_version=no
20334   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
20335   soname_spec='$libname$release$shared_ext$major'
20336   shlibpath_var=LD_LIBRARY_PATH
20337   shlibpath_overrides_runpath=yes
20338   hardcode_into_libs=yes
20339   if test yes = "$with_gnu_ld"; then
20340     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20341   else
20342     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20343     case $host_os in
20344       sco3.2v5*)
20345         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20346         ;;
20347     esac
20348   fi
20349   sys_lib_dlsearch_path_spec='/usr/lib'
20350   ;;
20351
20352 tpf*)
20353   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
20354   version_type=linux # correct to gnu/linux during the next big refactor
20355   need_lib_prefix=no
20356   need_version=no
20357   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20358   shlibpath_var=LD_LIBRARY_PATH
20359   shlibpath_overrides_runpath=no
20360   hardcode_into_libs=yes
20361   ;;
20362
20363 uts4*)
20364   version_type=linux # correct to gnu/linux during the next big refactor
20365   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20366   soname_spec='$libname$release$shared_ext$major'
20367   shlibpath_var=LD_LIBRARY_PATH
20368   ;;
20369
20370 *)
20371   dynamic_linker=no
20372   ;;
20373 esac
20374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20375 printf "%s\n" "$dynamic_linker" >&6; }
20376 test no = "$dynamic_linker" && can_build_shared=no
20377
20378 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20379 if test yes = "$GCC"; then
20380   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20381 fi
20382
20383 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
20384   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
20385 fi
20386
20387 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
20388   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
20389 fi
20390
20391 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
20392 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
20393
20394 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
20395 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
20396
20397 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
20398 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20440 printf %s "checking how to hardcode library paths into programs... " >&6; }
20441 hardcode_action_CXX=
20442 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20443    test -n "$runpath_var_CXX" ||
20444    test yes = "$hardcode_automatic_CXX"; then
20445
20446   # We can hardcode non-existent directories.
20447   if test no != "$hardcode_direct_CXX" &&
20448      # If the only mechanism to avoid hardcoding is shlibpath_var, we
20449      # have to relink, otherwise we might link with an installed library
20450      # when we should be linking with a yet-to-be-installed one
20451      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
20452      test no != "$hardcode_minus_L_CXX"; then
20453     # Linking always hardcodes the temporary library directory.
20454     hardcode_action_CXX=relink
20455   else
20456     # We can link without hardcoding, and we can hardcode nonexisting dirs.
20457     hardcode_action_CXX=immediate
20458   fi
20459 else
20460   # We cannot hardcode anything, or else we can only hardcode existing
20461   # directories.
20462   hardcode_action_CXX=unsupported
20463 fi
20464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20465 printf "%s\n" "$hardcode_action_CXX" >&6; }
20466
20467 if test relink = "$hardcode_action_CXX" ||
20468    test yes = "$inherit_rpath_CXX"; then
20469   # Fast installation is not supported
20470   enable_fast_install=no
20471 elif test yes = "$shlibpath_overrides_runpath" ||
20472      test no = "$enable_shared"; then
20473   # Fast installation is not necessary
20474   enable_fast_install=needless
20475 fi
20476
20477
20478
20479
20480
20481
20482
20483   fi # test -n "$compiler"
20484
20485   CC=$lt_save_CC
20486   CFLAGS=$lt_save_CFLAGS
20487   LDCXX=$LD
20488   LD=$lt_save_LD
20489   GCC=$lt_save_GCC
20490   with_gnu_ld=$lt_save_with_gnu_ld
20491   lt_cv_path_LDCXX=$lt_cv_path_LD
20492   lt_cv_path_LD=$lt_save_path_LD
20493   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20494   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20495 fi # test yes != "$_lt_caught_CXX_error"
20496
20497 ac_ext=c
20498 ac_cpp='$CPP $CPPFLAGS'
20499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517         ac_config_commands="$ac_config_commands libtool"
20518
20519
20520
20521
20522 # Only expand once:
20523
20524
20525 if test -n "$ac_tool_prefix"; then
20526   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20527 set dummy ${ac_tool_prefix}windres; ac_word=$2
20528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20529 printf %s "checking for $ac_word... " >&6; }
20530 if test ${ac_cv_prog_RC+y}
20531 then :
20532   printf %s "(cached) " >&6
20533 else $as_nop
20534   if test -n "$RC"; then
20535   ac_cv_prog_RC="$RC" # Let the user override the test.
20536 else
20537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20538 for as_dir in $PATH
20539 do
20540   IFS=$as_save_IFS
20541   case $as_dir in #(((
20542     '') as_dir=./ ;;
20543     */) ;;
20544     *) as_dir=$as_dir/ ;;
20545   esac
20546     for ac_exec_ext in '' $ac_executable_extensions; do
20547   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20548     ac_cv_prog_RC="${ac_tool_prefix}windres"
20549     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20550     break 2
20551   fi
20552 done
20553   done
20554 IFS=$as_save_IFS
20555
20556 fi
20557 fi
20558 RC=$ac_cv_prog_RC
20559 if test -n "$RC"; then
20560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
20561 printf "%s\n" "$RC" >&6; }
20562 else
20563   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20564 printf "%s\n" "no" >&6; }
20565 fi
20566
20567
20568 fi
20569 if test -z "$ac_cv_prog_RC"; then
20570   ac_ct_RC=$RC
20571   # Extract the first word of "windres", so it can be a program name with args.
20572 set dummy windres; ac_word=$2
20573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20574 printf %s "checking for $ac_word... " >&6; }
20575 if test ${ac_cv_prog_ac_ct_RC+y}
20576 then :
20577   printf %s "(cached) " >&6
20578 else $as_nop
20579   if test -n "$ac_ct_RC"; then
20580   ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
20581 else
20582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20583 for as_dir in $PATH
20584 do
20585   IFS=$as_save_IFS
20586   case $as_dir in #(((
20587     '') as_dir=./ ;;
20588     */) ;;
20589     *) as_dir=$as_dir/ ;;
20590   esac
20591     for ac_exec_ext in '' $ac_executable_extensions; do
20592   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20593     ac_cv_prog_ac_ct_RC="windres"
20594     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20595     break 2
20596   fi
20597 done
20598   done
20599 IFS=$as_save_IFS
20600
20601 fi
20602 fi
20603 ac_ct_RC=$ac_cv_prog_ac_ct_RC
20604 if test -n "$ac_ct_RC"; then
20605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
20606 printf "%s\n" "$ac_ct_RC" >&6; }
20607 else
20608   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20609 printf "%s\n" "no" >&6; }
20610 fi
20611
20612   if test "x$ac_ct_RC" = x; then
20613     RC=""
20614   else
20615     case $cross_compiling:$ac_tool_warned in
20616 yes:)
20617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20618 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20619 ac_tool_warned=yes ;;
20620 esac
20621     RC=$ac_ct_RC
20622   fi
20623 else
20624   RC="$ac_cv_prog_RC"
20625 fi
20626
20627
20628
20629 # Source file extension for RC test sources.
20630 ac_ext=rc
20631
20632 # Object file extension for compiled RC test sources.
20633 objext=o
20634 objext_RC=$objext
20635
20636 # Code to be used in simple compile tests
20637 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20638
20639 # Code to be used in simple link tests
20640 lt_simple_link_test_code=$lt_simple_compile_test_code
20641
20642 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20643
20644
20645
20646
20647
20648
20649 # If no C compiler was specified, use CC.
20650 LTCC=${LTCC-"$CC"}
20651
20652 # If no C compiler flags were specified, use CFLAGS.
20653 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20654
20655 # Allow CC to be a program name with arguments.
20656 compiler=$CC
20657
20658
20659 # save warnings/boilerplate of simple test code
20660 ac_outfile=conftest.$ac_objext
20661 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20662 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20663 _lt_compiler_boilerplate=`cat conftest.err`
20664 $RM conftest*
20665
20666 ac_outfile=conftest.$ac_objext
20667 echo "$lt_simple_link_test_code" >conftest.$ac_ext
20668 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20669 _lt_linker_boilerplate=`cat conftest.err`
20670 $RM -r conftest*
20671
20672
20673 # Allow CC to be a program name with arguments.
20674 lt_save_CC=$CC
20675 lt_save_CFLAGS=$CFLAGS
20676 lt_save_GCC=$GCC
20677 GCC=
20678 CC=${RC-"windres"}
20679 CFLAGS=
20680 compiler=$CC
20681 compiler_RC=$CC
20682 func_cc_basename $compiler
20683 cc_basename=$func_cc_basename_result
20684
20685 lt_cv_prog_compiler_c_o_RC=yes
20686
20687 if test -n "$compiler"; then
20688   :
20689
20690
20691
20692 fi
20693
20694 GCC=$lt_save_GCC
20695 ac_ext=c
20696 ac_cpp='$CPP $CPPFLAGS'
20697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20700
20701 CC=$lt_save_CC
20702 CFLAGS=$lt_save_CFLAGS
20703
20704
20705
20706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
20707 printf %s "checking whether ln -s works... " >&6; }
20708 LN_S=$as_ln_s
20709 if test "$LN_S" = "ln -s"; then
20710   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20711 printf "%s\n" "yes" >&6; }
20712 else
20713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
20714 printf "%s\n" "no, using $LN_S" >&6; }
20715 fi
20716
20717
20718
20719
20720
20721
20722
20723
20724         # Find any Python interpreter.
20725     if test -z "$PYTHON"; then
20726       for ac_prog in python python2 python3  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0
20727 do
20728   # Extract the first word of "$ac_prog", so it can be a program name with args.
20729 set dummy $ac_prog; ac_word=$2
20730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20731 printf %s "checking for $ac_word... " >&6; }
20732 if test ${ac_cv_path_PYTHON+y}
20733 then :
20734   printf %s "(cached) " >&6
20735 else $as_nop
20736   case $PYTHON in
20737   [\\/]* | ?:[\\/]*)
20738   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
20739   ;;
20740   *)
20741   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20742 for as_dir in $PATH
20743 do
20744   IFS=$as_save_IFS
20745   case $as_dir in #(((
20746     '') as_dir=./ ;;
20747     */) ;;
20748     *) as_dir=$as_dir/ ;;
20749   esac
20750     for ac_exec_ext in '' $ac_executable_extensions; do
20751   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20752     ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
20753     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20754     break 2
20755   fi
20756 done
20757   done
20758 IFS=$as_save_IFS
20759
20760   ;;
20761 esac
20762 fi
20763 PYTHON=$ac_cv_path_PYTHON
20764 if test -n "$PYTHON"; then
20765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
20766 printf "%s\n" "$PYTHON" >&6; }
20767 else
20768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20769 printf "%s\n" "no" >&6; }
20770 fi
20771
20772
20773   test -n "$PYTHON" && break
20774 done
20775 test -n "$PYTHON" || PYTHON=":"
20776
20777     fi
20778     am_display_PYTHON=python
20779
20780
20781   if test "$PYTHON" = :; then
20782         as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
20783   else
20784
20785               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
20786 printf %s "checking for $am_display_PYTHON version... " >&6; }
20787 if test ${am_cv_python_version+y}
20788 then :
20789   printf %s "(cached) " >&6
20790 else $as_nop
20791   am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
20792 fi
20793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
20794 printf "%s\n" "$am_cv_python_version" >&6; }
20795   PYTHON_VERSION=$am_cv_python_version
20796
20797
20798         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
20799 printf %s "checking for $am_display_PYTHON platform... " >&6; }
20800 if test ${am_cv_python_platform+y}
20801 then :
20802   printf %s "(cached) " >&6
20803 else $as_nop
20804   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
20805 fi
20806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
20807 printf "%s\n" "$am_cv_python_platform" >&6; }
20808   PYTHON_PLATFORM=$am_cv_python_platform
20809
20810
20811                             if test "x$prefix" = xNONE; then
20812     am__usable_prefix=$ac_default_prefix
20813   else
20814     am__usable_prefix=$prefix
20815   fi
20816
20817   # Allow user to request using sys.* values from Python,
20818   # instead of the GNU $prefix values.
20819
20820 # Check whether --with-python-sys-prefix was given.
20821 if test ${with_python_sys_prefix+y}
20822 then :
20823   withval=$with_python_sys_prefix; am_use_python_sys=:
20824 else $as_nop
20825   am_use_python_sys=false
20826 fi
20827
20828
20829   # Allow user to override whatever the default Python prefix is.
20830
20831 # Check whether --with-python_prefix was given.
20832 if test ${with_python_prefix+y}
20833 then :
20834   withval=$with_python_prefix; am_python_prefix_subst=$withval
20835    am_cv_python_prefix=$withval
20836    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
20837 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
20838    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
20839 printf "%s\n" "$am_cv_python_prefix" >&6; }
20840 else $as_nop
20841
20842    if $am_use_python_sys; then
20843      # using python sys.prefix value, not GNU
20844      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
20845 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
20846 if test ${am_cv_python_prefix+y}
20847 then :
20848   printf %s "(cached) " >&6
20849 else $as_nop
20850   am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
20851 fi
20852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
20853 printf "%s\n" "$am_cv_python_prefix" >&6; }
20854
20855                case $am_cv_python_prefix in
20856      $am__usable_prefix*)
20857        am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
20858        am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
20859        ;;
20860      *)
20861        am_python_prefix_subst=$am_cv_python_prefix
20862        ;;
20863      esac
20864    else # using GNU prefix value, not python sys.prefix
20865      am_python_prefix_subst='${prefix}'
20866      am_python_prefix=$am_python_prefix_subst
20867      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
20868 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
20869      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
20870 printf "%s\n" "$am_python_prefix" >&6; }
20871    fi
20872 fi
20873
20874   # Substituting python_prefix_subst value.
20875   PYTHON_PREFIX=$am_python_prefix_subst
20876
20877
20878   # emacs-page Now do it all over again for Python exec_prefix, but with yet
20879   # another conditional: fall back to regular prefix if that was specified.
20880
20881 # Check whether --with-python_exec_prefix was given.
20882 if test ${with_python_exec_prefix+y}
20883 then :
20884   withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
20885    am_cv_python_exec_prefix=$withval
20886    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
20887 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
20888    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
20889 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
20890 else $as_nop
20891
20892    # no explicit --with-python_exec_prefix, but if
20893    # --with-python_prefix was given, use its value for python_exec_prefix too.
20894    if test -n "$with_python_prefix"
20895 then :
20896   am_python_exec_prefix_subst=$with_python_prefix
20897     am_cv_python_exec_prefix=$with_python_prefix
20898     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
20899 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
20900     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
20901 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
20902 else $as_nop
20903
20904     # Set am__usable_exec_prefix whether using GNU or Python values,
20905     # since we use that variable for pyexecdir.
20906     if test "x$exec_prefix" = xNONE; then
20907       am__usable_exec_prefix=$am__usable_prefix
20908     else
20909       am__usable_exec_prefix=$exec_prefix
20910     fi
20911     #
20912     if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
20913       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
20914 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
20915 if test ${am_cv_python_exec_prefix+y}
20916 then :
20917   printf %s "(cached) " >&6
20918 else $as_nop
20919   am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
20920 fi
20921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
20922 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
20923                         case $am_cv_python_exec_prefix in
20924       $am__usable_exec_prefix*)
20925         am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
20926         am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
20927         ;;
20928       *)
20929         am_python_exec_prefix_subst=$am_cv_python_exec_prefix
20930         ;;
20931      esac
20932    else # using GNU $exec_prefix, not python sys.exec_prefix
20933      am_python_exec_prefix_subst='${exec_prefix}'
20934      am_python_exec_prefix=$am_python_exec_prefix_subst
20935      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
20936 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
20937      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
20938 printf "%s\n" "$am_python_exec_prefix" >&6; }
20939    fi
20940 fi
20941 fi
20942
20943   # Substituting python_exec_prefix_subst.
20944   PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
20945
20946
20947   # Factor out some code duplication into this shell variable.
20948   am_python_setup_sysconfig="\
20949 import sys
20950 # Prefer sysconfig over distutils.sysconfig, for better compatibility
20951 # with python 3.x.  See automake bug#10227.
20952 try:
20953     import sysconfig
20954 except ImportError:
20955     can_use_sysconfig = 0
20956 else:
20957     can_use_sysconfig = 1
20958 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
20959 # <https://github.com/pypa/virtualenv/issues/118>
20960 try:
20961     from platform import python_implementation
20962     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
20963         can_use_sysconfig = 0
20964 except ImportError:
20965     pass"
20966
20967
20968               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
20969 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
20970 if test ${am_cv_python_pythondir+y}
20971 then :
20972   printf %s "(cached) " >&6
20973 else $as_nop
20974   if test "x$am_cv_python_prefix" = x; then
20975      am_py_prefix=$am__usable_prefix
20976    else
20977      am_py_prefix=$am_cv_python_prefix
20978    fi
20979    am_cv_python_pythondir=`$PYTHON -c "
20980 $am_python_setup_sysconfig
20981 if can_use_sysconfig:
20982   sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
20983 else:
20984   from distutils import sysconfig
20985   sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
20986 sys.stdout.write(sitedir)"`
20987    #
20988    case $am_cv_python_pythondir in
20989    $am_py_prefix*)
20990      am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
20991      am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
20992      ;;
20993    *)
20994      case $am_py_prefix in
20995        /usr|/System*) ;;
20996        *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
20997           ;;
20998      esac
20999      ;;
21000    esac
21001
21002 fi
21003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
21004 printf "%s\n" "$am_cv_python_pythondir" >&6; }
21005   pythondir=$am_cv_python_pythondir
21006
21007
21008           pkgpythondir=\${pythondir}/$PACKAGE
21009
21010
21011           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
21012 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
21013 if test ${am_cv_python_pyexecdir+y}
21014 then :
21015   printf %s "(cached) " >&6
21016 else $as_nop
21017   if test "x$am_cv_python_exec_prefix" = x; then
21018      am_py_exec_prefix=$am__usable_exec_prefix
21019    else
21020      am_py_exec_prefix=$am_cv_python_exec_prefix
21021    fi
21022    am_cv_python_pyexecdir=`$PYTHON -c "
21023 $am_python_setup_sysconfig
21024 if can_use_sysconfig:
21025   sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
21026 else:
21027   from distutils import sysconfig
21028   sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
21029 sys.stdout.write(sitedir)"`
21030    #
21031    case $am_cv_python_pyexecdir in
21032    $am_py_exec_prefix*)
21033      am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
21034      am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
21035      ;;
21036    *)
21037      case $am_py_exec_prefix in
21038        /usr|/System*) ;;
21039        *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
21040           ;;
21041      esac
21042      ;;
21043    esac
21044
21045 fi
21046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
21047 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
21048   pyexecdir=$am_cv_python_pyexecdir
21049
21050
21051       pkgpyexecdir=\${pyexecdir}/$PACKAGE
21052
21053
21054
21055   fi
21056
21057
21058 # Extract the first word of "autogen", so it can be a program name with args.
21059 set dummy autogen; ac_word=$2
21060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21061 printf %s "checking for $ac_word... " >&6; }
21062 if test ${ac_cv_prog_HAVE_AUTOGEN+y}
21063 then :
21064   printf %s "(cached) " >&6
21065 else $as_nop
21066   if test -n "$HAVE_AUTOGEN"; then
21067   ac_cv_prog_HAVE_AUTOGEN="$HAVE_AUTOGEN" # Let the user override the test.
21068 else
21069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21070 for as_dir in $PATH
21071 do
21072   IFS=$as_save_IFS
21073   case $as_dir in #(((
21074     '') as_dir=./ ;;
21075     */) ;;
21076     *) as_dir=$as_dir/ ;;
21077   esac
21078     for ac_exec_ext in '' $ac_executable_extensions; do
21079   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21080     ac_cv_prog_HAVE_AUTOGEN="yes"
21081     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21082     break 2
21083   fi
21084 done
21085   done
21086 IFS=$as_save_IFS
21087
21088   test -z "$ac_cv_prog_HAVE_AUTOGEN" && ac_cv_prog_HAVE_AUTOGEN="no"
21089 fi
21090 fi
21091 HAVE_AUTOGEN=$ac_cv_prog_HAVE_AUTOGEN
21092 if test -n "$HAVE_AUTOGEN"; then
21093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_AUTOGEN" >&5
21094 printf "%s\n" "$HAVE_AUTOGEN" >&6; }
21095 else
21096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21097 printf "%s\n" "no" >&6; }
21098 fi
21099
21100
21101 # Extract the first word of "wine", so it can be a program name with args.
21102 set dummy wine; ac_word=$2
21103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21104 printf %s "checking for $ac_word... " >&6; }
21105 if test ${ac_cv_prog_HAVE_WINE+y}
21106 then :
21107   printf %s "(cached) " >&6
21108 else $as_nop
21109   if test -n "$HAVE_WINE"; then
21110   ac_cv_prog_HAVE_WINE="$HAVE_WINE" # Let the user override the test.
21111 else
21112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21113 for as_dir in $PATH
21114 do
21115   IFS=$as_save_IFS
21116   case $as_dir in #(((
21117     '') as_dir=./ ;;
21118     */) ;;
21119     *) as_dir=$as_dir/ ;;
21120   esac
21121     for ac_exec_ext in '' $ac_executable_extensions; do
21122   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21123     ac_cv_prog_HAVE_WINE="yes"
21124     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21125     break 2
21126   fi
21127 done
21128   done
21129 IFS=$as_save_IFS
21130
21131   test -z "$ac_cv_prog_HAVE_WINE" && ac_cv_prog_HAVE_WINE="no"
21132 fi
21133 fi
21134 HAVE_WINE=$ac_cv_prog_HAVE_WINE
21135 if test -n "$HAVE_WINE"; then
21136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_WINE" >&5
21137 printf "%s\n" "$HAVE_WINE" >&6; }
21138 else
21139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21140 printf "%s\n" "no" >&6; }
21141 fi
21142
21143
21144 # Extract the first word of "xcode-select", so it can be a program name with args.
21145 set dummy xcode-select; ac_word=$2
21146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21147 printf %s "checking for $ac_word... " >&6; }
21148 if test ${ac_cv_prog_HAVE_XCODE_SELECT+y}
21149 then :
21150   printf %s "(cached) " >&6
21151 else $as_nop
21152   if test -n "$HAVE_XCODE_SELECT"; then
21153   ac_cv_prog_HAVE_XCODE_SELECT="$HAVE_XCODE_SELECT" # Let the user override the test.
21154 else
21155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21156 for as_dir in $PATH
21157 do
21158   IFS=$as_save_IFS
21159   case $as_dir in #(((
21160     '') as_dir=./ ;;
21161     */) ;;
21162     *) as_dir=$as_dir/ ;;
21163   esac
21164     for ac_exec_ext in '' $ac_executable_extensions; do
21165   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21166     ac_cv_prog_HAVE_XCODE_SELECT="yes"
21167     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21168     break 2
21169   fi
21170 done
21171   done
21172 IFS=$as_save_IFS
21173
21174   test -z "$ac_cv_prog_HAVE_XCODE_SELECT" && ac_cv_prog_HAVE_XCODE_SELECT="no"
21175 fi
21176 fi
21177 HAVE_XCODE_SELECT=$ac_cv_prog_HAVE_XCODE_SELECT
21178 if test -n "$HAVE_XCODE_SELECT"; then
21179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_XCODE_SELECT" >&5
21180 printf "%s\n" "$HAVE_XCODE_SELECT" >&6; }
21181 else
21182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21183 printf "%s\n" "no" >&6; }
21184 fi
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200 ac_fn_c_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
21201 if test "x$ac_cv_header_endian_h" = xyes
21202 then :
21203   printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h
21204
21205 fi
21206
21207 ac_fn_c_check_header_compile "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
21208 if test "x$ac_cv_header_byteswap_h" = xyes
21209 then :
21210   printf "%s\n" "#define HAVE_BYTESWAP_H 1" >>confdefs.h
21211
21212 fi
21213
21214 ac_fn_c_check_header_compile "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21215 if test "x$ac_cv_header_locale_h" = xyes
21216 then :
21217   printf "%s\n" "#define HAVE_LOCALE_H 1" >>confdefs.h
21218
21219 fi
21220
21221 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
21222 if test "x$ac_cv_header_sys_time_h" = xyes
21223 then :
21224   printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
21225
21226 fi
21227
21228 ac_fn_c_check_header_compile "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
21229 if test "x$ac_cv_header_immintrin_h" = xyes
21230 then :
21231   printf "%s\n" "#define HAVE_IMMINTRIN_H 1" >>confdefs.h
21232
21233 fi
21234
21235 ac_fn_c_check_header_compile "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
21236 if test "x$ac_cv_header_stdbool_h" = xyes
21237 then :
21238   printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h
21239
21240 fi
21241
21242
21243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
21244 printf %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
21245 if test ${ac_cv_header_sys_wait_h+y}
21246 then :
21247   printf %s "(cached) " >&6
21248 else $as_nop
21249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21250 /* end confdefs.h.  */
21251 #include <sys/types.h>
21252 #include <sys/wait.h>
21253 #ifndef WEXITSTATUS
21254 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
21255 #endif
21256 #ifndef WIFEXITED
21257 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
21258 #endif
21259
21260 int
21261 main (void)
21262 {
21263   int s;
21264   wait (&s);
21265   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
21266   ;
21267   return 0;
21268 }
21269 _ACEOF
21270 if ac_fn_c_try_compile "$LINENO"
21271 then :
21272   ac_cv_header_sys_wait_h=yes
21273 else $as_nop
21274   ac_cv_header_sys_wait_h=no
21275 fi
21276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21277 fi
21278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
21279 printf "%s\n" "$ac_cv_header_sys_wait_h" >&6; }
21280 if test $ac_cv_header_sys_wait_h = yes; then
21281
21282 printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
21283
21284 fi
21285
21286
21287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
21288 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
21289 if test ${ac_cv_c_undeclared_builtin_options+y}
21290 then :
21291   printf %s "(cached) " >&6
21292 else $as_nop
21293   ac_save_CFLAGS=$CFLAGS
21294    ac_cv_c_undeclared_builtin_options='cannot detect'
21295    for ac_arg in '' -fno-builtin; do
21296      CFLAGS="$ac_save_CFLAGS $ac_arg"
21297      # This test program should *not* compile successfully.
21298      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21299 /* end confdefs.h.  */
21300
21301 int
21302 main (void)
21303 {
21304 (void) strchr;
21305   ;
21306   return 0;
21307 }
21308 _ACEOF
21309 if ac_fn_c_try_compile "$LINENO"
21310 then :
21311
21312 else $as_nop
21313   # This test program should compile successfully.
21314         # No library function is consistently available on
21315         # freestanding implementations, so test against a dummy
21316         # declaration.  Include always-available headers on the
21317         # off chance that they somehow elicit warnings.
21318         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h.  */
21320 #include <float.h>
21321 #include <limits.h>
21322 #include <stdarg.h>
21323 #include <stddef.h>
21324 extern void ac_decl (int, char *);
21325
21326 int
21327 main (void)
21328 {
21329 (void) ac_decl (0, (char *) 0);
21330   (void) ac_decl;
21331
21332   ;
21333   return 0;
21334 }
21335 _ACEOF
21336 if ac_fn_c_try_compile "$LINENO"
21337 then :
21338   if test x"$ac_arg" = x
21339 then :
21340   ac_cv_c_undeclared_builtin_options='none needed'
21341 else $as_nop
21342   ac_cv_c_undeclared_builtin_options=$ac_arg
21343 fi
21344           break
21345 fi
21346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21347 fi
21348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21349     done
21350     CFLAGS=$ac_save_CFLAGS
21351
21352 fi
21353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
21354 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
21355   case $ac_cv_c_undeclared_builtin_options in #(
21356   'cannot detect') :
21357     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21358 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21359 as_fn_error $? "cannot make $CC report undeclared builtins
21360 See \`config.log' for more details" "$LINENO" 5; } ;; #(
21361   'none needed') :
21362     ac_c_undeclared_builtin_options='' ;; #(
21363   *) :
21364     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
21365 esac
21366
21367 ac_fn_check_decl "$LINENO" "S_IRGRP" "ac_cv_have_decl_S_IRGRP" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
21368 if test "x$ac_cv_have_decl_S_IRGRP" = xyes
21369 then :
21370   ac_have_decl=1
21371 else $as_nop
21372   ac_have_decl=0
21373 fi
21374 printf "%s\n" "#define HAVE_DECL_S_IRGRP $ac_have_decl" >>confdefs.h
21375
21376 if test "x$ac_cv_have_decl_S_IRGRP" = "xyes"
21377 then :
21378
21379
21380 printf "%s\n" "#define HAVE_DECL_S_IRGRP 1" >>confdefs.h
21381
21382
21383 else $as_nop
21384
21385
21386 printf "%s\n" "#define HAVE_DECL_S_IRGRP 0" >>confdefs.h
21387
21388
21389 fi
21390
21391  if test "x${build_os}:${host_os}:${HAVE_WINE}" = "xlinux-gnu:mingw32msvc:yes"; then
21392   LINUX_MINGW_CROSS_TEST_TRUE=
21393   LINUX_MINGW_CROSS_TEST_FALSE='#'
21394 else
21395   LINUX_MINGW_CROSS_TEST_TRUE='#'
21396   LINUX_MINGW_CROSS_TEST_FALSE=
21397 fi
21398
21399
21400
21401 SHLIB_VERSION_ARG=""
21402
21403
21404 # Check whether --enable-experimental was given.
21405 if test ${enable_experimental+y}
21406 then :
21407   enableval=$enable_experimental;
21408 fi
21409
21410
21411 if test "x$enable_experimental" = "xyes"
21412 then :
21413
21414                 EXPERIMENTAL_CODE=1
21415
21416 else $as_nop
21417
21418                 EXPERIMENTAL_CODE=0
21419
21420 fi
21421
21422 printf "%s\n" "#define ENABLE_EXPERIMENTAL_CODE ${EXPERIMENTAL_CODE}" >>confdefs.h
21423
21424
21425 # Check whether --enable-werror was given.
21426 if test ${enable_werror+y}
21427 then :
21428   enableval=$enable_werror;
21429 fi
21430
21431
21432 # Check whether --enable-cpu-clip was given.
21433 if test ${enable_cpu_clip+y}
21434 then :
21435   enableval=$enable_cpu_clip;
21436 fi
21437
21438
21439 # Check whether --enable-bow-docs was given.
21440 if test ${enable_bow_docs+y}
21441 then :
21442   enableval=$enable_bow_docs;
21443 fi
21444
21445
21446 # Check whether --enable-sqlite was given.
21447 if test ${enable_sqlite+y}
21448 then :
21449   enableval=$enable_sqlite;
21450 fi
21451
21452
21453 # Check whether --enable-alsa was given.
21454 if test ${enable_alsa+y}
21455 then :
21456   enableval=$enable_alsa;
21457 else $as_nop
21458   enable_alsa=auto
21459 fi
21460
21461
21462 # Check whether --enable-external-libs was given.
21463 if test ${enable_external_libs+y}
21464 then :
21465   enableval=$enable_external_libs;
21466 fi
21467
21468
21469 # Check whether --enable-mpeg was given.
21470 if test ${enable_mpeg+y}
21471 then :
21472   enableval=$enable_mpeg;
21473 fi
21474
21475
21476 # Check whether --enable-octave was given.
21477 if test ${enable_octave+y}
21478 then :
21479   enableval=$enable_octave;
21480 fi
21481
21482
21483 # Check whether --enable-full-suite was given.
21484 if test ${enable_full_suite+y}
21485 then :
21486   enableval=$enable_full_suite;
21487 fi
21488
21489  if test "x$enable_full_suite" != "xno"; then
21490   FULL_SUITE_TRUE=
21491   FULL_SUITE_FALSE='#'
21492 else
21493   FULL_SUITE_TRUE='#'
21494   FULL_SUITE_FALSE=
21495 fi
21496
21497
21498 # Check whether --enable-test-coverage was given.
21499 if test ${enable_test_coverage+y}
21500 then :
21501   enableval=$enable_test_coverage;
21502 fi
21503
21504  if test "x$enable_test_coverage" = "xyes"; then
21505   ENABLE_TEST_COVERAGE_TRUE=
21506   ENABLE_TEST_COVERAGE_FALSE='#'
21507 else
21508   ENABLE_TEST_COVERAGE_TRUE='#'
21509   ENABLE_TEST_COVERAGE_FALSE=
21510 fi
21511
21512
21513 # Check whether --enable-ossfuzzers was given.
21514 if test ${enable_ossfuzzers+y}
21515 then :
21516   enableval=$enable_ossfuzzers;
21517 fi
21518
21519  if test "x$enable_ossfuzzers" = "xyes"; then
21520   USE_OSSFUZZERS_TRUE=
21521   USE_OSSFUZZERS_FALSE='#'
21522 else
21523   USE_OSSFUZZERS_TRUE='#'
21524   USE_OSSFUZZERS_FALSE=
21525 fi
21526
21527
21528
21529  if test "x$LIB_FUZZING_ENGINE" = "x-fsanitize=fuzzer"; then
21530   USE_OSSFUZZ_FLAG_TRUE=
21531   USE_OSSFUZZ_FLAG_FALSE='#'
21532 else
21533   USE_OSSFUZZ_FLAG_TRUE='#'
21534   USE_OSSFUZZ_FLAG_FALSE=
21535 fi
21536
21537  if test -f "$LIB_FUZZING_ENGINE"; then
21538   USE_OSSFUZZ_STATIC_TRUE=
21539   USE_OSSFUZZ_STATIC_FALSE='#'
21540 else
21541   USE_OSSFUZZ_STATIC_TRUE='#'
21542   USE_OSSFUZZ_STATIC_FALSE=
21543 fi
21544
21545
21546
21547 # The cast to long int works around a bug in the HP C Compiler
21548 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21549 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21550 # This bug is HP SR number 8606223364.
21551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
21552 printf %s "checking size of wchar_t... " >&6; }
21553 if test ${ac_cv_sizeof_wchar_t+y}
21554 then :
21555   printf %s "(cached) " >&6
21556 else $as_nop
21557   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "$ac_includes_default"
21558 then :
21559
21560 else $as_nop
21561   if test "$ac_cv_type_wchar_t" = yes; then
21562      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21563 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21564 as_fn_error 77 "cannot compute sizeof (wchar_t)
21565 See \`config.log' for more details" "$LINENO" 5; }
21566    else
21567      ac_cv_sizeof_wchar_t=0
21568    fi
21569 fi
21570
21571 fi
21572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
21573 printf "%s\n" "$ac_cv_sizeof_wchar_t" >&6; }
21574
21575
21576
21577 printf "%s\n" "#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t" >>confdefs.h
21578
21579
21580 # The cast to long int works around a bug in the HP C Compiler
21581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21583 # This bug is HP SR number 8606223364.
21584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
21585 printf %s "checking size of short... " >&6; }
21586 if test ${ac_cv_sizeof_short+y}
21587 then :
21588   printf %s "(cached) " >&6
21589 else $as_nop
21590   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"
21591 then :
21592
21593 else $as_nop
21594   if test "$ac_cv_type_short" = yes; then
21595      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21596 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21597 as_fn_error 77 "cannot compute sizeof (short)
21598 See \`config.log' for more details" "$LINENO" 5; }
21599    else
21600      ac_cv_sizeof_short=0
21601    fi
21602 fi
21603
21604 fi
21605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
21606 printf "%s\n" "$ac_cv_sizeof_short" >&6; }
21607
21608
21609
21610 printf "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h
21611
21612
21613 # The cast to long int works around a bug in the HP C Compiler
21614 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21615 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21616 # This bug is HP SR number 8606223364.
21617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
21618 printf %s "checking size of int... " >&6; }
21619 if test ${ac_cv_sizeof_int+y}
21620 then :
21621   printf %s "(cached) " >&6
21622 else $as_nop
21623   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"
21624 then :
21625
21626 else $as_nop
21627   if test "$ac_cv_type_int" = yes; then
21628      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21629 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21630 as_fn_error 77 "cannot compute sizeof (int)
21631 See \`config.log' for more details" "$LINENO" 5; }
21632    else
21633      ac_cv_sizeof_int=0
21634    fi
21635 fi
21636
21637 fi
21638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
21639 printf "%s\n" "$ac_cv_sizeof_int" >&6; }
21640
21641
21642
21643 printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h
21644
21645
21646 # The cast to long int works around a bug in the HP C Compiler
21647 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21648 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21649 # This bug is HP SR number 8606223364.
21650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
21651 printf %s "checking size of long... " >&6; }
21652 if test ${ac_cv_sizeof_long+y}
21653 then :
21654   printf %s "(cached) " >&6
21655 else $as_nop
21656   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"
21657 then :
21658
21659 else $as_nop
21660   if test "$ac_cv_type_long" = yes; then
21661      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21662 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21663 as_fn_error 77 "cannot compute sizeof (long)
21664 See \`config.log' for more details" "$LINENO" 5; }
21665    else
21666      ac_cv_sizeof_long=0
21667    fi
21668 fi
21669
21670 fi
21671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
21672 printf "%s\n" "$ac_cv_sizeof_long" >&6; }
21673
21674
21675
21676 printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
21677
21678
21679 # The cast to long int works around a bug in the HP C Compiler
21680 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21681 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21682 # This bug is HP SR number 8606223364.
21683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
21684 printf %s "checking size of float... " >&6; }
21685 if test ${ac_cv_sizeof_float+y}
21686 then :
21687   printf %s "(cached) " >&6
21688 else $as_nop
21689   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"
21690 then :
21691
21692 else $as_nop
21693   if test "$ac_cv_type_float" = yes; then
21694      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21695 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21696 as_fn_error 77 "cannot compute sizeof (float)
21697 See \`config.log' for more details" "$LINENO" 5; }
21698    else
21699      ac_cv_sizeof_float=0
21700    fi
21701 fi
21702
21703 fi
21704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
21705 printf "%s\n" "$ac_cv_sizeof_float" >&6; }
21706
21707
21708
21709 printf "%s\n" "#define SIZEOF_FLOAT $ac_cv_sizeof_float" >>confdefs.h
21710
21711
21712 # The cast to long int works around a bug in the HP C Compiler
21713 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21714 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21715 # This bug is HP SR number 8606223364.
21716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
21717 printf %s "checking size of double... " >&6; }
21718 if test ${ac_cv_sizeof_double+y}
21719 then :
21720   printf %s "(cached) " >&6
21721 else $as_nop
21722   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"
21723 then :
21724
21725 else $as_nop
21726   if test "$ac_cv_type_double" = yes; then
21727      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21728 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21729 as_fn_error 77 "cannot compute sizeof (double)
21730 See \`config.log' for more details" "$LINENO" 5; }
21731    else
21732      ac_cv_sizeof_double=0
21733    fi
21734 fi
21735
21736 fi
21737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
21738 printf "%s\n" "$ac_cv_sizeof_double" >&6; }
21739
21740
21741
21742 printf "%s\n" "#define SIZEOF_DOUBLE $ac_cv_sizeof_double" >>confdefs.h
21743
21744
21745 # The cast to long int works around a bug in the HP C Compiler
21746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21748 # This bug is HP SR number 8606223364.
21749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
21750 printf %s "checking size of void*... " >&6; }
21751 if test ${ac_cv_sizeof_voidp+y}
21752 then :
21753   printf %s "(cached) " >&6
21754 else $as_nop
21755   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"
21756 then :
21757
21758 else $as_nop
21759   if test "$ac_cv_type_voidp" = yes; then
21760      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21761 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21762 as_fn_error 77 "cannot compute sizeof (void*)
21763 See \`config.log' for more details" "$LINENO" 5; }
21764    else
21765      ac_cv_sizeof_voidp=0
21766    fi
21767 fi
21768
21769 fi
21770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
21771 printf "%s\n" "$ac_cv_sizeof_voidp" >&6; }
21772
21773
21774
21775 printf "%s\n" "#define SIZEOF_VOIDP $ac_cv_sizeof_voidp" >>confdefs.h
21776
21777
21778 # The cast to long int works around a bug in the HP C Compiler
21779 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21780 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21781 # This bug is HP SR number 8606223364.
21782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
21783 printf %s "checking size of size_t... " >&6; }
21784 if test ${ac_cv_sizeof_size_t+y}
21785 then :
21786   printf %s "(cached) " >&6
21787 else $as_nop
21788   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"
21789 then :
21790
21791 else $as_nop
21792   if test "$ac_cv_type_size_t" = yes; then
21793      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21794 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21795 as_fn_error 77 "cannot compute sizeof (size_t)
21796 See \`config.log' for more details" "$LINENO" 5; }
21797    else
21798      ac_cv_sizeof_size_t=0
21799    fi
21800 fi
21801
21802 fi
21803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
21804 printf "%s\n" "$ac_cv_sizeof_size_t" >&6; }
21805
21806
21807
21808 printf "%s\n" "#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t" >>confdefs.h
21809
21810
21811 # The cast to long int works around a bug in the HP C Compiler
21812 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21813 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21814 # This bug is HP SR number 8606223364.
21815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
21816 printf %s "checking size of int64_t... " >&6; }
21817 if test ${ac_cv_sizeof_int64_t+y}
21818 then :
21819   printf %s "(cached) " >&6
21820 else $as_nop
21821   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"
21822 then :
21823
21824 else $as_nop
21825   if test "$ac_cv_type_int64_t" = yes; then
21826      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21827 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21828 as_fn_error 77 "cannot compute sizeof (int64_t)
21829 See \`config.log' for more details" "$LINENO" 5; }
21830    else
21831      ac_cv_sizeof_int64_t=0
21832    fi
21833 fi
21834
21835 fi
21836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
21837 printf "%s\n" "$ac_cv_sizeof_int64_t" >&6; }
21838
21839
21840
21841 printf "%s\n" "#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t" >>confdefs.h
21842
21843
21844 # The cast to long int works around a bug in the HP C Compiler
21845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21847 # This bug is HP SR number 8606223364.
21848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
21849 printf %s "checking size of long long... " >&6; }
21850 if test ${ac_cv_sizeof_long_long+y}
21851 then :
21852   printf %s "(cached) " >&6
21853 else $as_nop
21854   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"
21855 then :
21856
21857 else $as_nop
21858   if test "$ac_cv_type_long_long" = yes; then
21859      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21860 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21861 as_fn_error 77 "cannot compute sizeof (long long)
21862 See \`config.log' for more details" "$LINENO" 5; }
21863    else
21864      ac_cv_sizeof_long_long=0
21865    fi
21866 fi
21867
21868 fi
21869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
21870 printf "%s\n" "$ac_cv_sizeof_long_long" >&6; }
21871
21872
21873
21874 printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h
21875
21876
21877
21878 # The cast to long int works around a bug in the HP C Compiler
21879 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21880 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21881 # This bug is HP SR number 8606223364.
21882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
21883 printf %s "checking size of off_t... " >&6; }
21884 if test ${ac_cv_sizeof_off_t+y}
21885 then :
21886   printf %s "(cached) " >&6
21887 else $as_nop
21888   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"
21889 then :
21890
21891 else $as_nop
21892   if test "$ac_cv_type_off_t" = yes; then
21893      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21894 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21895 as_fn_error 77 "cannot compute sizeof (off_t)
21896 See \`config.log' for more details" "$LINENO" 5; }
21897    else
21898      ac_cv_sizeof_off_t=0
21899    fi
21900 fi
21901
21902 fi
21903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
21904 printf "%s\n" "$ac_cv_sizeof_off_t" >&6; }
21905
21906
21907
21908 printf "%s\n" "#define SIZEOF_OFF_T $ac_cv_sizeof_off_t" >>confdefs.h
21909
21910
21911
21912 if test "x$enable_largefile:$ac_cv_sizeof_off_t" = "xno:8"
21913 then :
21914
21915                 as_fn_error $? "\"Error : Cannot disable large file support because sizeof (off_t) == 8.\"" "$LINENO" 5
21916
21917 fi
21918
21919 case $host_os in #(
21920   mingw32*) :
21921
21922
21923 printf "%s\n" "#define __USE_MINGW_ANSI_STDIO 1" >>confdefs.h
21924
21925                  ;; #(
21926   *) :
21927
21928                 if test "x$ac_cv_sizeof_off_t" = "x8"
21929 then :
21930
21931
21932 else $as_nop
21933
21934                                                                                                 pre_largefile_sizeof_off_t=$ac_cv_sizeof_off_t
21935                                 unset ac_cv_sizeof_off_t
21936
21937                                 # Check whether --enable-largefile was given.
21938 if test ${enable_largefile+y}
21939 then :
21940   enableval=$enable_largefile;
21941 fi
21942
21943 if test "$enable_largefile" != no; then
21944
21945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
21946 printf %s "checking for special C compiler options needed for large files... " >&6; }
21947 if test ${ac_cv_sys_largefile_CC+y}
21948 then :
21949   printf %s "(cached) " >&6
21950 else $as_nop
21951   ac_cv_sys_largefile_CC=no
21952      if test "$GCC" != yes; then
21953        ac_save_CC=$CC
21954        while :; do
21955          # IRIX 6.2 and later do not support large files by default,
21956          # so use the C compiler's -n32 option if that helps.
21957          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21958 /* end confdefs.h.  */
21959 #include <sys/types.h>
21960  /* Check that off_t can represent 2**63 - 1 correctly.
21961     We can't simply define LARGE_OFF_T to be 9223372036854775807,
21962     since some C++ compilers masquerading as C compilers
21963     incorrectly reject 9223372036854775807.  */
21964 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
21965   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
21966                        && LARGE_OFF_T % 2147483647 == 1)
21967                       ? 1 : -1];
21968 int
21969 main (void)
21970 {
21971
21972   ;
21973   return 0;
21974 }
21975 _ACEOF
21976          if ac_fn_c_try_compile "$LINENO"
21977 then :
21978   break
21979 fi
21980 rm -f core conftest.err conftest.$ac_objext conftest.beam
21981          CC="$CC -n32"
21982          if ac_fn_c_try_compile "$LINENO"
21983 then :
21984   ac_cv_sys_largefile_CC=' -n32'; break
21985 fi
21986 rm -f core conftest.err conftest.$ac_objext conftest.beam
21987          break
21988        done
21989        CC=$ac_save_CC
21990        rm -f conftest.$ac_ext
21991     fi
21992 fi
21993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
21994 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
21995   if test "$ac_cv_sys_largefile_CC" != no; then
21996     CC=$CC$ac_cv_sys_largefile_CC
21997   fi
21998
21999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22000 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
22001 if test ${ac_cv_sys_file_offset_bits+y}
22002 then :
22003   printf %s "(cached) " >&6
22004 else $as_nop
22005   while :; do
22006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22007 /* end confdefs.h.  */
22008 #include <sys/types.h>
22009  /* Check that off_t can represent 2**63 - 1 correctly.
22010     We can't simply define LARGE_OFF_T to be 9223372036854775807,
22011     since some C++ compilers masquerading as C compilers
22012     incorrectly reject 9223372036854775807.  */
22013 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
22014   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
22015                        && LARGE_OFF_T % 2147483647 == 1)
22016                       ? 1 : -1];
22017 int
22018 main (void)
22019 {
22020
22021   ;
22022   return 0;
22023 }
22024 _ACEOF
22025 if ac_fn_c_try_compile "$LINENO"
22026 then :
22027   ac_cv_sys_file_offset_bits=no; break
22028 fi
22029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22031 /* end confdefs.h.  */
22032 #define _FILE_OFFSET_BITS 64
22033 #include <sys/types.h>
22034  /* Check that off_t can represent 2**63 - 1 correctly.
22035     We can't simply define LARGE_OFF_T to be 9223372036854775807,
22036     since some C++ compilers masquerading as C compilers
22037     incorrectly reject 9223372036854775807.  */
22038 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
22039   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
22040                        && LARGE_OFF_T % 2147483647 == 1)
22041                       ? 1 : -1];
22042 int
22043 main (void)
22044 {
22045
22046   ;
22047   return 0;
22048 }
22049 _ACEOF
22050 if ac_fn_c_try_compile "$LINENO"
22051 then :
22052   ac_cv_sys_file_offset_bits=64; break
22053 fi
22054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22055   ac_cv_sys_file_offset_bits=unknown
22056   break
22057 done
22058 fi
22059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
22060 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
22061 case $ac_cv_sys_file_offset_bits in #(
22062   no | unknown) ;;
22063   *)
22064 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
22065 ;;
22066 esac
22067 rm -rf conftest*
22068   if test $ac_cv_sys_file_offset_bits = unknown; then
22069     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
22070 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
22071 if test ${ac_cv_sys_large_files+y}
22072 then :
22073   printf %s "(cached) " >&6
22074 else $as_nop
22075   while :; do
22076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22077 /* end confdefs.h.  */
22078 #include <sys/types.h>
22079  /* Check that off_t can represent 2**63 - 1 correctly.
22080     We can't simply define LARGE_OFF_T to be 9223372036854775807,
22081     since some C++ compilers masquerading as C compilers
22082     incorrectly reject 9223372036854775807.  */
22083 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
22084   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
22085                        && LARGE_OFF_T % 2147483647 == 1)
22086                       ? 1 : -1];
22087 int
22088 main (void)
22089 {
22090
22091   ;
22092   return 0;
22093 }
22094 _ACEOF
22095 if ac_fn_c_try_compile "$LINENO"
22096 then :
22097   ac_cv_sys_large_files=no; break
22098 fi
22099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22101 /* end confdefs.h.  */
22102 #define _LARGE_FILES 1
22103 #include <sys/types.h>
22104  /* Check that off_t can represent 2**63 - 1 correctly.
22105     We can't simply define LARGE_OFF_T to be 9223372036854775807,
22106     since some C++ compilers masquerading as C compilers
22107     incorrectly reject 9223372036854775807.  */
22108 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
22109   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
22110                        && LARGE_OFF_T % 2147483647 == 1)
22111                       ? 1 : -1];
22112 int
22113 main (void)
22114 {
22115
22116   ;
22117   return 0;
22118 }
22119 _ACEOF
22120 if ac_fn_c_try_compile "$LINENO"
22121 then :
22122   ac_cv_sys_large_files=1; break
22123 fi
22124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22125   ac_cv_sys_large_files=unknown
22126   break
22127 done
22128 fi
22129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
22130 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
22131 case $ac_cv_sys_large_files in #(
22132   no | unknown) ;;
22133   *)
22134 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
22135 ;;
22136 esac
22137 rm -rf conftest*
22138   fi
22139 fi
22140
22141                                 if test "x$ac_cv_sys_largefile_CFLAGS" = "xno"
22142 then :
22143
22144                                                 ac_cv_sys_largefile_CFLAGS=""
22145
22146 fi
22147                                 if test "x$ac_cv_sys_largefile_LDFLAGS" = "xno"
22148 then :
22149
22150                                                 ac_cv_sys_largefile_LDFLAGS=""
22151
22152 fi
22153                                 if test "x$ac_cv_sys_largefile_LIBS" = "xno"
22154 then :
22155
22156                                                 ac_cv_sys_largefile_LIBS=""
22157
22158 fi
22159
22160                                 # The cast to long int works around a bug in the HP C Compiler
22161 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22162 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22163 # This bug is HP SR number 8606223364.
22164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
22165 printf %s "checking size of off_t... " >&6; }
22166 if test ${ac_cv_sizeof_off_t+y}
22167 then :
22168   printf %s "(cached) " >&6
22169 else $as_nop
22170   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"
22171 then :
22172
22173 else $as_nop
22174   if test "$ac_cv_type_off_t" = yes; then
22175      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22176 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
22177 as_fn_error 77 "cannot compute sizeof (off_t)
22178 See \`config.log' for more details" "$LINENO" 5; }
22179    else
22180      ac_cv_sizeof_off_t=0
22181    fi
22182 fi
22183
22184 fi
22185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
22186 printf "%s\n" "$ac_cv_sizeof_off_t" >&6; }
22187
22188
22189
22190 printf "%s\n" "#define SIZEOF_OFF_T $ac_cv_sizeof_off_t" >>confdefs.h
22191
22192
22193
22194 fi
22195          ;;
22196 esac
22197
22198 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
22199 if test "x$ac_cv_type_ssize_t" = xyes
22200 then :
22201
22202 else $as_nop
22203
22204 printf "%s\n" "#define ssize_t int" >>confdefs.h
22205
22206 fi
22207
22208
22209
22210  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
22211 printf %s "checking whether byte ordering is bigendian... " >&6; }
22212 if test ${ac_cv_c_bigendian+y}
22213 then :
22214   printf %s "(cached) " >&6
22215 else $as_nop
22216   ac_cv_c_bigendian=unknown
22217     # See if we're dealing with a universal compiler.
22218     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22219 /* end confdefs.h.  */
22220 #ifndef __APPLE_CC__
22221                not a universal capable compiler
22222              #endif
22223              typedef int dummy;
22224
22225 _ACEOF
22226 if ac_fn_c_try_compile "$LINENO"
22227 then :
22228
22229         # Check for potential -arch flags.  It is not universal unless
22230         # there are at least two -arch flags with different values.
22231         ac_arch=
22232         ac_prev=
22233         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
22234          if test -n "$ac_prev"; then
22235            case $ac_word in
22236              i?86 | x86_64 | ppc | ppc64)
22237                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
22238                  ac_arch=$ac_word
22239                else
22240                  ac_cv_c_bigendian=universal
22241                  break
22242                fi
22243                ;;
22244            esac
22245            ac_prev=
22246          elif test "x$ac_word" = "x-arch"; then
22247            ac_prev=arch
22248          fi
22249        done
22250 fi
22251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22252     if test $ac_cv_c_bigendian = unknown; then
22253       # See if sys/param.h defines the BYTE_ORDER macro.
22254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22255 /* end confdefs.h.  */
22256 #include <sys/types.h>
22257              #include <sys/param.h>
22258
22259 int
22260 main (void)
22261 {
22262 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
22263                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
22264                      && LITTLE_ENDIAN)
22265               bogus endian macros
22266              #endif
22267
22268   ;
22269   return 0;
22270 }
22271 _ACEOF
22272 if ac_fn_c_try_compile "$LINENO"
22273 then :
22274   # It does; now see whether it defined to BIG_ENDIAN or not.
22275          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22276 /* end confdefs.h.  */
22277 #include <sys/types.h>
22278                 #include <sys/param.h>
22279
22280 int
22281 main (void)
22282 {
22283 #if BYTE_ORDER != BIG_ENDIAN
22284                  not big endian
22285                 #endif
22286
22287   ;
22288   return 0;
22289 }
22290 _ACEOF
22291 if ac_fn_c_try_compile "$LINENO"
22292 then :
22293   ac_cv_c_bigendian=yes
22294 else $as_nop
22295   ac_cv_c_bigendian=no
22296 fi
22297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22298 fi
22299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22300     fi
22301     if test $ac_cv_c_bigendian = unknown; then
22302       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
22303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22304 /* end confdefs.h.  */
22305 #include <limits.h>
22306
22307 int
22308 main (void)
22309 {
22310 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
22311               bogus endian macros
22312              #endif
22313
22314   ;
22315   return 0;
22316 }
22317 _ACEOF
22318 if ac_fn_c_try_compile "$LINENO"
22319 then :
22320   # It does; now see whether it defined to _BIG_ENDIAN or not.
22321          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22322 /* end confdefs.h.  */
22323 #include <limits.h>
22324
22325 int
22326 main (void)
22327 {
22328 #ifndef _BIG_ENDIAN
22329                  not big endian
22330                 #endif
22331
22332   ;
22333   return 0;
22334 }
22335 _ACEOF
22336 if ac_fn_c_try_compile "$LINENO"
22337 then :
22338   ac_cv_c_bigendian=yes
22339 else $as_nop
22340   ac_cv_c_bigendian=no
22341 fi
22342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22343 fi
22344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22345     fi
22346     if test $ac_cv_c_bigendian = unknown; then
22347       # Compile a test program.
22348       if test "$cross_compiling" = yes
22349 then :
22350   # Try to guess by grepping values from an object file.
22351          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22352 /* end confdefs.h.  */
22353 unsigned short int ascii_mm[] =
22354                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22355                 unsigned short int ascii_ii[] =
22356                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22357                 int use_ascii (int i) {
22358                   return ascii_mm[i] + ascii_ii[i];
22359                 }
22360                 unsigned short int ebcdic_ii[] =
22361                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22362                 unsigned short int ebcdic_mm[] =
22363                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22364                 int use_ebcdic (int i) {
22365                   return ebcdic_mm[i] + ebcdic_ii[i];
22366                 }
22367                 int
22368                 main (int argc, char **argv)
22369                 {
22370                   /* Intimidate the compiler so that it does not
22371                      optimize the arrays away.  */
22372                   char *p = argv[0];
22373                   ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
22374                   ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
22375                   return use_ascii (argc) == use_ebcdic (*p);
22376                 }
22377 _ACEOF
22378 if ac_fn_c_try_link "$LINENO"
22379 then :
22380   if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
22381               ac_cv_c_bigendian=yes
22382             fi
22383             if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
22384               if test "$ac_cv_c_bigendian" = unknown; then
22385                 ac_cv_c_bigendian=no
22386               else
22387                 # finding both strings is unlikely to happen, but who knows?
22388                 ac_cv_c_bigendian=unknown
22389               fi
22390             fi
22391 fi
22392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22393     conftest$ac_exeext conftest.$ac_ext
22394 else $as_nop
22395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22396 /* end confdefs.h.  */
22397 $ac_includes_default
22398 int
22399 main (void)
22400 {
22401
22402              /* Are we little or big endian?  From Harbison&Steele.  */
22403              union
22404              {
22405                long int l;
22406                char c[sizeof (long int)];
22407              } u;
22408              u.l = 1;
22409              return u.c[sizeof (long int) - 1] == 1;
22410
22411   ;
22412   return 0;
22413 }
22414 _ACEOF
22415 if ac_fn_c_try_run "$LINENO"
22416 then :
22417   ac_cv_c_bigendian=no
22418 else $as_nop
22419   ac_cv_c_bigendian=yes
22420 fi
22421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22422   conftest.$ac_objext conftest.beam conftest.$ac_ext
22423 fi
22424
22425     fi
22426 fi
22427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
22428 printf "%s\n" "$ac_cv_c_bigendian" >&6; }
22429  case $ac_cv_c_bigendian in #(
22430    yes)
22431
22432                                 ac_cv_c_big_endian=1
22433                 ac_cv_c_little_endian=0
22434         ;; #(
22435    no)
22436
22437                                 ac_cv_c_big_endian=0
22438                 ac_cv_c_little_endian=1
22439          ;; #(
22440    universal)
22441
22442 printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
22443
22444      ;; #(
22445    *)
22446      as_fn_error $? "unknown endianness
22447  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
22448  esac
22449
22450
22451
22452 printf "%s\n" "#define CPU_IS_BIG_ENDIAN ${ac_cv_c_big_endian}" >>confdefs.h
22453
22454
22455 printf "%s\n" "#define CPU_IS_LITTLE_ENDIAN ${ac_cv_c_little_endian}" >>confdefs.h
22456
22457
22458
22459 ac_fn_c_check_func "$LINENO" "malloc" "ac_cv_func_malloc"
22460 if test "x$ac_cv_func_malloc" = xyes
22461 then :
22462   printf "%s\n" "#define HAVE_MALLOC 1" >>confdefs.h
22463
22464 fi
22465 ac_fn_c_check_func "$LINENO" "calloc" "ac_cv_func_calloc"
22466 if test "x$ac_cv_func_calloc" = xyes
22467 then :
22468   printf "%s\n" "#define HAVE_CALLOC 1" >>confdefs.h
22469
22470 fi
22471 ac_fn_c_check_func "$LINENO" "realloc" "ac_cv_func_realloc"
22472 if test "x$ac_cv_func_realloc" = xyes
22473 then :
22474   printf "%s\n" "#define HAVE_REALLOC 1" >>confdefs.h
22475
22476 fi
22477 ac_fn_c_check_func "$LINENO" "free" "ac_cv_func_free"
22478 if test "x$ac_cv_func_free" = xyes
22479 then :
22480   printf "%s\n" "#define HAVE_FREE 1" >>confdefs.h
22481
22482 fi
22483
22484 ac_fn_c_check_func "$LINENO" "open" "ac_cv_func_open"
22485 if test "x$ac_cv_func_open" = xyes
22486 then :
22487   printf "%s\n" "#define HAVE_OPEN 1" >>confdefs.h
22488
22489 fi
22490 ac_fn_c_check_func "$LINENO" "read" "ac_cv_func_read"
22491 if test "x$ac_cv_func_read" = xyes
22492 then :
22493   printf "%s\n" "#define HAVE_READ 1" >>confdefs.h
22494
22495 fi
22496 ac_fn_c_check_func "$LINENO" "write" "ac_cv_func_write"
22497 if test "x$ac_cv_func_write" = xyes
22498 then :
22499   printf "%s\n" "#define HAVE_WRITE 1" >>confdefs.h
22500
22501 fi
22502 ac_fn_c_check_func "$LINENO" "lseek" "ac_cv_func_lseek"
22503 if test "x$ac_cv_func_lseek" = xyes
22504 then :
22505   printf "%s\n" "#define HAVE_LSEEK 1" >>confdefs.h
22506
22507 fi
22508 ac_fn_c_check_func "$LINENO" "lseek64" "ac_cv_func_lseek64"
22509 if test "x$ac_cv_func_lseek64" = xyes
22510 then :
22511   printf "%s\n" "#define HAVE_LSEEK64 1" >>confdefs.h
22512
22513 fi
22514
22515 ac_fn_c_check_func "$LINENO" "fstat" "ac_cv_func_fstat"
22516 if test "x$ac_cv_func_fstat" = xyes
22517 then :
22518   printf "%s\n" "#define HAVE_FSTAT 1" >>confdefs.h
22519
22520 fi
22521 ac_fn_c_check_func "$LINENO" "fstat64" "ac_cv_func_fstat64"
22522 if test "x$ac_cv_func_fstat64" = xyes
22523 then :
22524   printf "%s\n" "#define HAVE_FSTAT64 1" >>confdefs.h
22525
22526 fi
22527 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
22528 if test "x$ac_cv_func_ftruncate" = xyes
22529 then :
22530   printf "%s\n" "#define HAVE_FTRUNCATE 1" >>confdefs.h
22531
22532 fi
22533 ac_fn_c_check_func "$LINENO" "fsync" "ac_cv_func_fsync"
22534 if test "x$ac_cv_func_fsync" = xyes
22535 then :
22536   printf "%s\n" "#define HAVE_FSYNC 1" >>confdefs.h
22537
22538 fi
22539
22540 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
22541 if test "x$ac_cv_func_snprintf" = xyes
22542 then :
22543   printf "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h
22544
22545 fi
22546 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
22547 if test "x$ac_cv_func_vsnprintf" = xyes
22548 then :
22549   printf "%s\n" "#define HAVE_VSNPRINTF 1" >>confdefs.h
22550
22551 fi
22552
22553 ac_fn_c_check_func "$LINENO" "gmtime" "ac_cv_func_gmtime"
22554 if test "x$ac_cv_func_gmtime" = xyes
22555 then :
22556   printf "%s\n" "#define HAVE_GMTIME 1" >>confdefs.h
22557
22558 fi
22559 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
22560 if test "x$ac_cv_func_gmtime_r" = xyes
22561 then :
22562   printf "%s\n" "#define HAVE_GMTIME_R 1" >>confdefs.h
22563
22564 fi
22565 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
22566 if test "x$ac_cv_func_localtime" = xyes
22567 then :
22568   printf "%s\n" "#define HAVE_LOCALTIME 1" >>confdefs.h
22569
22570 fi
22571 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
22572 if test "x$ac_cv_func_localtime_r" = xyes
22573 then :
22574   printf "%s\n" "#define HAVE_LOCALTIME_R 1" >>confdefs.h
22575
22576 fi
22577 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
22578 if test "x$ac_cv_func_gettimeofday" = xyes
22579 then :
22580   printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
22581
22582 fi
22583
22584 ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
22585 if test "x$ac_cv_func_mmap" = xyes
22586 then :
22587   printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
22588
22589 fi
22590 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
22591 if test "x$ac_cv_func_getpagesize" = xyes
22592 then :
22593   printf "%s\n" "#define HAVE_GETPAGESIZE 1" >>confdefs.h
22594
22595 fi
22596
22597 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
22598 if test "x$ac_cv_func_setlocale" = xyes
22599 then :
22600   printf "%s\n" "#define HAVE_SETLOCALE 1" >>confdefs.h
22601
22602 fi
22603
22604 ac_fn_c_check_func "$LINENO" "pipe" "ac_cv_func_pipe"
22605 if test "x$ac_cv_func_pipe" = xyes
22606 then :
22607   printf "%s\n" "#define HAVE_PIPE 1" >>confdefs.h
22608
22609 fi
22610 ac_fn_c_check_func "$LINENO" "waitpid" "ac_cv_func_waitpid"
22611 if test "x$ac_cv_func_waitpid" = xyes
22612 then :
22613   printf "%s\n" "#define HAVE_WAITPID 1" >>confdefs.h
22614
22615 fi
22616
22617
22618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
22619 printf %s "checking for library containing floor... " >&6; }
22620 if test ${ac_cv_search_floor+y}
22621 then :
22622   printf %s "(cached) " >&6
22623 else $as_nop
22624   ac_func_search_save_LIBS=$LIBS
22625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22626 /* end confdefs.h.  */
22627
22628 /* Override any GCC internal prototype to avoid an error.
22629    Use char because int might match the return type of a GCC
22630    builtin and then its argument prototype would still apply.
22631    The 'extern "C"' is for builds by C++ compilers;
22632    although this is not generally supported in C code supporting it here
22633    has little cost and some practical benefit (sr 110532).  */
22634 #ifdef __cplusplus
22635 extern "C"
22636 #endif
22637 char floor (void);
22638 int
22639 main (void)
22640 {
22641 return floor ();
22642   ;
22643   return 0;
22644 }
22645 _ACEOF
22646 for ac_lib in '' m
22647 do
22648   if test -z "$ac_lib"; then
22649     ac_res="none required"
22650   else
22651     ac_res=-l$ac_lib
22652     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
22653   fi
22654   if ac_fn_c_try_link "$LINENO"
22655 then :
22656   ac_cv_search_floor=$ac_res
22657 fi
22658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22659     conftest$ac_exeext
22660   if test ${ac_cv_search_floor+y}
22661 then :
22662   break
22663 fi
22664 done
22665 if test ${ac_cv_search_floor+y}
22666 then :
22667
22668 else $as_nop
22669   ac_cv_search_floor=no
22670 fi
22671 rm conftest.$ac_ext
22672 LIBS=$ac_func_search_save_LIBS
22673 fi
22674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
22675 printf "%s\n" "$ac_cv_search_floor" >&6; }
22676 ac_res=$ac_cv_search_floor
22677 if test "$ac_res" != no
22678 then :
22679   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22680
22681 else $as_nop
22682
22683                 as_fn_error $? "unable to find the floor() function!" "$LINENO" 5
22684
22685 fi
22686
22687 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22688 if test "x$ac_cv_func_floor" = xyes
22689 then :
22690   printf "%s\n" "#define HAVE_FLOOR 1" >>confdefs.h
22691
22692 fi
22693 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22694 if test "x$ac_cv_func_ceil" = xyes
22695 then :
22696   printf "%s\n" "#define HAVE_CEIL 1" >>confdefs.h
22697
22698 fi
22699 ac_fn_c_check_func "$LINENO" "fmod" "ac_cv_func_fmod"
22700 if test "x$ac_cv_func_fmod" = xyes
22701 then :
22702   printf "%s\n" "#define HAVE_FMOD 1" >>confdefs.h
22703
22704 fi
22705 ac_fn_c_check_func "$LINENO" "lrint" "ac_cv_func_lrint"
22706 if test "x$ac_cv_func_lrint" = xyes
22707 then :
22708   printf "%s\n" "#define HAVE_LRINT 1" >>confdefs.h
22709
22710 fi
22711 ac_fn_c_check_func "$LINENO" "lrintf" "ac_cv_func_lrintf"
22712 if test "x$ac_cv_func_lrintf" = xyes
22713 then :
22714   printf "%s\n" "#define HAVE_LRINTF 1" >>confdefs.h
22715
22716 fi
22717
22718
22719
22720 if test "x$cross_compiling" = "xno"
22721 then :
22722
22723                 if test "x$enable_octave" = "xno"
22724 then :
22725
22726                                  if false; then
22727   BUILD_OCTAVE_MOD_TRUE=
22728   BUILD_OCTAVE_MOD_FALSE='#'
22729 else
22730   BUILD_OCTAVE_MOD_TRUE='#'
22731   BUILD_OCTAVE_MOD_FALSE=
22732 fi
22733
22734
22735 else $as_nop
22736
22737
22738
22739 OCTAVE_BUILD=no
22740
22741
22742
22743
22744 # Check whether --with-octave was given.
22745 if test ${with_octave+y}
22746 then :
22747   withval=$with_octave;  with_octave=$withval
22748 fi
22749
22750
22751 test -z "$with_octave" && with_octave=octave
22752
22753 # Extract the first word of "$with_octave", so it can be a program name with args.
22754 set dummy $with_octave; ac_word=$2
22755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22756 printf %s "checking for $ac_word... " >&6; }
22757 if test ${ac_cv_prog_HAVE_OCTAVE+y}
22758 then :
22759   printf %s "(cached) " >&6
22760 else $as_nop
22761   if test -n "$HAVE_OCTAVE"; then
22762   ac_cv_prog_HAVE_OCTAVE="$HAVE_OCTAVE" # Let the user override the test.
22763 else
22764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22765 for as_dir in $PATH
22766 do
22767   IFS=$as_save_IFS
22768   case $as_dir in #(((
22769     '') as_dir=./ ;;
22770     */) ;;
22771     *) as_dir=$as_dir/ ;;
22772   esac
22773     for ac_exec_ext in '' $ac_executable_extensions; do
22774   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22775     ac_cv_prog_HAVE_OCTAVE="yes"
22776     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22777     break 2
22778   fi
22779 done
22780   done
22781 IFS=$as_save_IFS
22782
22783   test -z "$ac_cv_prog_HAVE_OCTAVE" && ac_cv_prog_HAVE_OCTAVE="no"
22784 fi
22785 fi
22786 HAVE_OCTAVE=$ac_cv_prog_HAVE_OCTAVE
22787 if test -n "$HAVE_OCTAVE"; then
22788   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_OCTAVE" >&5
22789 printf "%s\n" "$HAVE_OCTAVE" >&6; }
22790 else
22791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22792 printf "%s\n" "no" >&6; }
22793 fi
22794
22795
22796
22797 if test "x$ac_cv_prog_HAVE_OCTAVE" = "xyes" ; then
22798         OCTAVE=$with_octave
22799
22800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OCTAVE_VERSION in $OCTAVE" >&5
22801 printf %s "checking for OCTAVE_VERSION in $OCTAVE... " >&6; }
22802 OCTAVE_VERSION=`TERM=;$OCTAVE -qfH --eval "disp(OCTAVE_VERSION)"`
22803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCTAVE_VERSION" >&5
22804 printf "%s\n" "$OCTAVE_VERSION" >&6; }
22805
22806
22807         fi
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817 # Check whether --with-mkoctfile was given.
22818 if test ${with_mkoctfile+y}
22819 then :
22820   withval=$with_mkoctfile;  with_mkoctfile=$withval
22821 fi
22822
22823
22824 test -z "$with_mkoctfile" && with_mkoctfile=mkoctfile
22825
22826 # Extract the first word of "$with_mkoctfile", so it can be a program name with args.
22827 set dummy $with_mkoctfile; ac_word=$2
22828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22829 printf %s "checking for $ac_word... " >&6; }
22830 if test ${ac_cv_prog_HAVE_MKOCTFILE+y}
22831 then :
22832   printf %s "(cached) " >&6
22833 else $as_nop
22834   if test -n "$HAVE_MKOCTFILE"; then
22835   ac_cv_prog_HAVE_MKOCTFILE="$HAVE_MKOCTFILE" # Let the user override the test.
22836 else
22837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22838 for as_dir in $PATH
22839 do
22840   IFS=$as_save_IFS
22841   case $as_dir in #(((
22842     '') as_dir=./ ;;
22843     */) ;;
22844     *) as_dir=$as_dir/ ;;
22845   esac
22846     for ac_exec_ext in '' $ac_executable_extensions; do
22847   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22848     ac_cv_prog_HAVE_MKOCTFILE="yes"
22849     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22850     break 2
22851   fi
22852 done
22853   done
22854 IFS=$as_save_IFS
22855
22856   test -z "$ac_cv_prog_HAVE_MKOCTFILE" && ac_cv_prog_HAVE_MKOCTFILE="no"
22857 fi
22858 fi
22859 HAVE_MKOCTFILE=$ac_cv_prog_HAVE_MKOCTFILE
22860 if test -n "$HAVE_MKOCTFILE"; then
22861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_MKOCTFILE" >&5
22862 printf "%s\n" "$HAVE_MKOCTFILE" >&6; }
22863 else
22864   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22865 printf "%s\n" "no" >&6; }
22866 fi
22867
22868
22869
22870 if test "x$ac_cv_prog_HAVE_MKOCTFILE" = "xyes" ; then
22871         MKOCTFILE=$with_mkoctfile
22872
22873         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for version of $MKOCTFILE" >&5
22874 printf %s "checking for version of $MKOCTFILE... " >&6; }
22875         MKOCTFILE_VERSION=`$with_mkoctfile --version 2>&1 | sed 's/mkoctfile, version //g'`
22876         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE_VERSION" >&5
22877 printf "%s\n" "$MKOCTFILE_VERSION" >&6; }
22878         fi
22879
22880
22881
22882
22883
22884
22885
22886
22887 # Check whether --with-octave-config was given.
22888 if test ${with_octave_config+y}
22889 then :
22890   withval=$with_octave_config;  with_octave_config=$withval
22891 fi
22892
22893
22894 test -z "$with_octave_config" && with_octave_config=octave-config
22895
22896 # Extract the first word of "$with_octave_config", so it can be a program name with args.
22897 set dummy $with_octave_config; ac_word=$2
22898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22899 printf %s "checking for $ac_word... " >&6; }
22900 if test ${ac_cv_prog_HAVE_OCTAVE_CONFIG+y}
22901 then :
22902   printf %s "(cached) " >&6
22903 else $as_nop
22904   if test -n "$HAVE_OCTAVE_CONFIG"; then
22905   ac_cv_prog_HAVE_OCTAVE_CONFIG="$HAVE_OCTAVE_CONFIG" # Let the user override the test.
22906 else
22907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22908 for as_dir in $PATH
22909 do
22910   IFS=$as_save_IFS
22911   case $as_dir in #(((
22912     '') as_dir=./ ;;
22913     */) ;;
22914     *) as_dir=$as_dir/ ;;
22915   esac
22916     for ac_exec_ext in '' $ac_executable_extensions; do
22917   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
22918     ac_cv_prog_HAVE_OCTAVE_CONFIG="yes"
22919     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22920     break 2
22921   fi
22922 done
22923   done
22924 IFS=$as_save_IFS
22925
22926   test -z "$ac_cv_prog_HAVE_OCTAVE_CONFIG" && ac_cv_prog_HAVE_OCTAVE_CONFIG="no"
22927 fi
22928 fi
22929 HAVE_OCTAVE_CONFIG=$ac_cv_prog_HAVE_OCTAVE_CONFIG
22930 if test -n "$HAVE_OCTAVE_CONFIG"; then
22931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_OCTAVE_CONFIG" >&5
22932 printf "%s\n" "$HAVE_OCTAVE_CONFIG" >&6; }
22933 else
22934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22935 printf "%s\n" "no" >&6; }
22936 fi
22937
22938
22939
22940 if test "x$ac_cv_prog_HAVE_OCTAVE_CONFIG" = "xyes" ; then
22941         OCTAVE_CONFIG=$with_octave_config
22942         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for version of $OCTAVE_CONFIG" >&5
22943 printf %s "checking for version of $OCTAVE_CONFIG... " >&6; }
22944         OCTAVE_CONFIG_VERSION=`$OCTAVE_CONFIG --version`
22945         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OCTAVE_CONFIG_VERSION" >&5
22946 printf "%s\n" "$OCTAVE_CONFIG_VERSION" >&6; }
22947         fi
22948
22949
22950
22951
22952
22953
22954 prog_concat="$ac_cv_prog_HAVE_OCTAVE$ac_cv_prog_HAVE_OCTAVE_CONFIG$ac_cv_prog_HAVE_MKOCTFILE"
22955
22956 if test "x$prog_concat" = "xyesyesyes" ; then
22957         if test "x$OCTAVE_VERSION" != "x$MKOCTFILE_VERSION" ; then
22958                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ** Mismatch between versions of octave and mkoctfile. **" >&5
22959 printf "%s\n" "$as_me: WARNING: ** Mismatch between versions of octave and mkoctfile. **" >&2;}
22960                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ** Octave libsndfile modules will not be built.       **" >&5
22961 printf "%s\n" "$as_me: WARNING: ** Octave libsndfile modules will not be built.       **" >&2;}
22962         elif test "x$OCTAVE_VERSION" != "x$OCTAVE_CONFIG_VERSION" ; then
22963                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ** Mismatch between versions of octave and octave-config. **" >&5
22964 printf "%s\n" "$as_me: WARNING: ** Mismatch between versions of octave and octave-config. **" >&2;}
22965                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ** Octave libsndfile modules will not be built.           **" >&5
22966 printf "%s\n" "$as_me: WARNING: ** Octave libsndfile modules will not be built.           **" >&2;}
22967         else
22968                 case "$MKOCTFILE_VERSION" in
22969                         2.*)
22970                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Octave version 2.X is not supported." >&5
22971 printf "%s\n" "$as_me: WARNING: Octave version 2.X is not supported." >&2;}
22972                                 ;;
22973                         3.*)
22974                                 OCTAVE_DEST_ODIR=`$OCTAVE_CONFIG --oct-site-dir | sed 's%^/usr%${prefix}%'`
22975                                 OCTAVE_DEST_MDIR=`$OCTAVE_CONFIG --m-site-dir | sed 's%^/usr%${prefix}%'`
22976
22977                                 OCTAVE_BUILD=yes
22978                                 ;;
22979                         *)
22980                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Octave version $MKOCTFILE_VERSION is not supported." >&5
22981 printf "%s\n" "$as_me: WARNING: Octave version $MKOCTFILE_VERSION is not supported." >&2;}
22982                                 ;;
22983                                 esac
22984                 fi
22985         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: building octave libsndfile module... $OCTAVE_BUILD" >&5
22986 printf "%s\n" "building octave libsndfile module... $OCTAVE_BUILD" >&6; }
22987         fi
22988
22989
22990
22991
22992
22993
22994  if test "x$OCTAVE_BUILD" = xyes; then
22995   BUILD_OCTAVE_MOD_TRUE=
22996   BUILD_OCTAVE_MOD_FALSE='#'
22997 else
22998   BUILD_OCTAVE_MOD_TRUE='#'
22999   BUILD_OCTAVE_MOD_FALSE=
23000 fi
23001
23002
23003
23004
23005 fi
23006
23007 else $as_nop
23008
23009                  if false; then
23010   BUILD_OCTAVE_MOD_TRUE=
23011   BUILD_OCTAVE_MOD_FALSE='#'
23012 else
23013   BUILD_OCTAVE_MOD_TRUE='#'
23014   BUILD_OCTAVE_MOD_FALSE=
23015 fi
23016
23017
23018 fi
23019
23020
23021 HAVE_EXTERNAL_XIPH_LIBS=0
23022 EXTERNAL_XIPH_CFLAGS=""
23023 EXTERNAL_XIPH_LIBS=""
23024 EXTERNAL_XIPH_REQUIRE=""
23025
23026
23027
23028
23029
23030
23031
23032
23033 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
23034         if test -n "$ac_tool_prefix"; then
23035   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23036 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23038 printf %s "checking for $ac_word... " >&6; }
23039 if test ${ac_cv_path_PKG_CONFIG+y}
23040 then :
23041   printf %s "(cached) " >&6
23042 else $as_nop
23043   case $PKG_CONFIG in
23044   [\\/]* | ?:[\\/]*)
23045   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23046   ;;
23047   *)
23048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23049 for as_dir in $PATH
23050 do
23051   IFS=$as_save_IFS
23052   case $as_dir in #(((
23053     '') as_dir=./ ;;
23054     */) ;;
23055     *) as_dir=$as_dir/ ;;
23056   esac
23057     for ac_exec_ext in '' $ac_executable_extensions; do
23058   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23059     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
23060     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23061     break 2
23062   fi
23063 done
23064   done
23065 IFS=$as_save_IFS
23066
23067   ;;
23068 esac
23069 fi
23070 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23071 if test -n "$PKG_CONFIG"; then
23072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23073 printf "%s\n" "$PKG_CONFIG" >&6; }
23074 else
23075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23076 printf "%s\n" "no" >&6; }
23077 fi
23078
23079
23080 fi
23081 if test -z "$ac_cv_path_PKG_CONFIG"; then
23082   ac_pt_PKG_CONFIG=$PKG_CONFIG
23083   # Extract the first word of "pkg-config", so it can be a program name with args.
23084 set dummy pkg-config; ac_word=$2
23085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23086 printf %s "checking for $ac_word... " >&6; }
23087 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
23088 then :
23089   printf %s "(cached) " >&6
23090 else $as_nop
23091   case $ac_pt_PKG_CONFIG in
23092   [\\/]* | ?:[\\/]*)
23093   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
23094   ;;
23095   *)
23096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23097 for as_dir in $PATH
23098 do
23099   IFS=$as_save_IFS
23100   case $as_dir in #(((
23101     '') as_dir=./ ;;
23102     */) ;;
23103     *) as_dir=$as_dir/ ;;
23104   esac
23105     for ac_exec_ext in '' $ac_executable_extensions; do
23106   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
23107     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
23108     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23109     break 2
23110   fi
23111 done
23112   done
23113 IFS=$as_save_IFS
23114
23115   ;;
23116 esac
23117 fi
23118 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
23119 if test -n "$ac_pt_PKG_CONFIG"; then
23120   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
23121 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
23122 else
23123   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23124 printf "%s\n" "no" >&6; }
23125 fi
23126
23127   if test "x$ac_pt_PKG_CONFIG" = x; then
23128     PKG_CONFIG=""
23129   else
23130     case $cross_compiling:$ac_tool_warned in
23131 yes:)
23132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23133 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23134 ac_tool_warned=yes ;;
23135 esac
23136     PKG_CONFIG=$ac_pt_PKG_CONFIG
23137   fi
23138 else
23139   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
23140 fi
23141
23142 fi
23143 if test -n "$PKG_CONFIG"; then
23144         _pkg_min_version=0.9.0
23145         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
23146 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
23147         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
23148                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23149 printf "%s\n" "yes" >&6; }
23150         else
23151                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23152 printf "%s\n" "no" >&6; }
23153                 PKG_CONFIG=""
23154         fi
23155 fi
23156
23157
23158
23159
23160
23161 # Check whether --with-pkgconfigdir was given.
23162 if test ${with_pkgconfigdir+y}
23163 then :
23164   withval=$with_pkgconfigdir;
23165 else $as_nop
23166   with_pkgconfigdir='${libdir}/pkgconfig'
23167 fi
23168
23169 pkgconfigdir=$with_pkgconfigdir
23170
23171
23172
23173
23174
23175 if test -n "$PKG_CONFIG"
23176 then :
23177
23178                 if test "x$enable_external_libs" = "xno"
23179 then :
23180
23181                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** External libs (FLAC, Ogg, Vorbis) disabled. ***" >&5
23182 printf "%s\n" "$as_me: WARNING: *** External libs (FLAC, Ogg, Vorbis) disabled. ***" >&2;}
23183
23184 else $as_nop
23185
23186
23187 pkg_failed=no
23188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flac >= 1.3.1 " >&5
23189 printf %s "checking for flac >= 1.3.1 ... " >&6; }
23190
23191 if test -n "$FLAC_CFLAGS"; then
23192     pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
23193  elif test -n "$PKG_CONFIG"; then
23194     if test -n "$PKG_CONFIG" && \
23195     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac >= 1.3.1\""; } >&5
23196   ($PKG_CONFIG --exists --print-errors "flac >= 1.3.1") 2>&5
23197   ac_status=$?
23198   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23199   test $ac_status = 0; }; then
23200   pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "flac >= 1.3.1" 2>/dev/null`
23201                       test "x$?" != "x0" && pkg_failed=yes
23202 else
23203   pkg_failed=yes
23204 fi
23205  else
23206     pkg_failed=untried
23207 fi
23208 if test -n "$FLAC_LIBS"; then
23209     pkg_cv_FLAC_LIBS="$FLAC_LIBS"
23210  elif test -n "$PKG_CONFIG"; then
23211     if test -n "$PKG_CONFIG" && \
23212     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac >= 1.3.1\""; } >&5
23213   ($PKG_CONFIG --exists --print-errors "flac >= 1.3.1") 2>&5
23214   ac_status=$?
23215   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23216   test $ac_status = 0; }; then
23217   pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "flac >= 1.3.1" 2>/dev/null`
23218                       test "x$?" != "x0" && pkg_failed=yes
23219 else
23220   pkg_failed=yes
23221 fi
23222  else
23223     pkg_failed=untried
23224 fi
23225
23226 pkg_link_saved_CFLAGS=$CFLAGS
23227 pkg_link_saved_LIBS=$LIBS
23228
23229 eval "pkg_CFLAGS=\${pkg_cv_FLAC_CFLAGS}"
23230 eval "pkg_LIBS=\${pkg_cv_FLAC_LIBS}"
23231
23232 CFLAGS="$CFLAGS $pkg_CFLAGS"
23233 LIBS="$LIBS $pkg_LIBS"
23234
23235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23236 /* end confdefs.h.  */
23237 #include <stdio.h>
23238 int
23239 main (void)
23240 {
23241 puts ("")
23242   ;
23243   return 0;
23244 }
23245 _ACEOF
23246 if ac_fn_c_try_link "$LINENO"
23247 then :
23248   pkg_link=yes
23249 else $as_nop
23250   pkg_link=no
23251 fi
23252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23253     conftest$ac_exeext conftest.$ac_ext
23254
23255 CFLAGS=$pkg_link_saved_CFLAGS
23256 LIBS=$pkg_link_saved_LIBS
23257
23258 if test x$pkg_link = xno
23259 then :
23260
23261         printf %s "link failed ... "
23262         pkg_failed=yes
23263
23264 fi
23265
23266
23267
23268 if test $pkg_failed = yes; then
23269
23270 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23271         _pkg_short_errors_supported=yes
23272 else
23273         _pkg_short_errors_supported=no
23274 fi
23275         if test $_pkg_short_errors_supported = yes; then
23276                 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "flac >= 1.3.1"`
23277         else
23278                 FLAC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "flac >= 1.3.1"`
23279         fi
23280         # Put the nasty error message in config.log where it belongs
23281         echo "$FLAC_PKG_ERRORS" >&5
23282
23283         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23284 printf "%s\n" "no" >&6; }
23285                 ac_cv_flac=no
23286 elif test $pkg_failed = untried; then
23287         ac_cv_flac=no
23288 else
23289         FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
23290         FLAC_LIBS=$pkg_cv_FLAC_LIBS
23291         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23292 printf "%s\n" "yes" >&6; }
23293         ac_cv_flac=yes
23294 fi
23295
23296                                                                 FLAC_CFLAGS=`echo $FLAC_CFLAGS | $SED "s|include/FLAC|include|"`
23297
23298
23299 pkg_failed=no
23300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ogg >= 1.3.0 " >&5
23301 printf %s "checking for ogg >= 1.3.0 ... " >&6; }
23302
23303 if test -n "$OGG_CFLAGS"; then
23304     pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
23305  elif test -n "$PKG_CONFIG"; then
23306     if test -n "$PKG_CONFIG" && \
23307     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.3.0\""; } >&5
23308   ($PKG_CONFIG --exists --print-errors "ogg >= 1.3.0") 2>&5
23309   ac_status=$?
23310   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23311   test $ac_status = 0; }; then
23312   pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.3.0" 2>/dev/null`
23313                       test "x$?" != "x0" && pkg_failed=yes
23314 else
23315   pkg_failed=yes
23316 fi
23317  else
23318     pkg_failed=untried
23319 fi
23320 if test -n "$OGG_LIBS"; then
23321     pkg_cv_OGG_LIBS="$OGG_LIBS"
23322  elif test -n "$PKG_CONFIG"; then
23323     if test -n "$PKG_CONFIG" && \
23324     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.3.0\""; } >&5
23325   ($PKG_CONFIG --exists --print-errors "ogg >= 1.3.0") 2>&5
23326   ac_status=$?
23327   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23328   test $ac_status = 0; }; then
23329   pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.3.0" 2>/dev/null`
23330                       test "x$?" != "x0" && pkg_failed=yes
23331 else
23332   pkg_failed=yes
23333 fi
23334  else
23335     pkg_failed=untried
23336 fi
23337
23338 pkg_link_saved_CFLAGS=$CFLAGS
23339 pkg_link_saved_LIBS=$LIBS
23340
23341 eval "pkg_CFLAGS=\${pkg_cv_OGG_CFLAGS}"
23342 eval "pkg_LIBS=\${pkg_cv_OGG_LIBS}"
23343
23344 CFLAGS="$CFLAGS $pkg_CFLAGS"
23345 LIBS="$LIBS $pkg_LIBS"
23346
23347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23348 /* end confdefs.h.  */
23349 #include <stdio.h>
23350 int
23351 main (void)
23352 {
23353 puts ("")
23354   ;
23355   return 0;
23356 }
23357 _ACEOF
23358 if ac_fn_c_try_link "$LINENO"
23359 then :
23360   pkg_link=yes
23361 else $as_nop
23362   pkg_link=no
23363 fi
23364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23365     conftest$ac_exeext conftest.$ac_ext
23366
23367 CFLAGS=$pkg_link_saved_CFLAGS
23368 LIBS=$pkg_link_saved_LIBS
23369
23370 if test x$pkg_link = xno
23371 then :
23372
23373         printf %s "link failed ... "
23374         pkg_failed=yes
23375
23376 fi
23377
23378
23379
23380 if test $pkg_failed = yes; then
23381
23382 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23383         _pkg_short_errors_supported=yes
23384 else
23385         _pkg_short_errors_supported=no
23386 fi
23387         if test $_pkg_short_errors_supported = yes; then
23388                 OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.3.0"`
23389         else
23390                 OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.3.0"`
23391         fi
23392         # Put the nasty error message in config.log where it belongs
23393         echo "$OGG_PKG_ERRORS" >&5
23394
23395         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23396 printf "%s\n" "no" >&6; }
23397                 ac_cv_ogg=no
23398 elif test $pkg_failed = untried; then
23399         ac_cv_ogg=no
23400 else
23401         OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
23402         OGG_LIBS=$pkg_cv_OGG_LIBS
23403         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23404 printf "%s\n" "yes" >&6; }
23405         ac_cv_ogg=yes
23406 fi
23407
23408                                 if test "x$enable_experimental" = "xyes"
23409 then :
23410
23411
23412 pkg_failed=no
23413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for speex >= 1.2 " >&5
23414 printf %s "checking for speex >= 1.2 ... " >&6; }
23415
23416 if test -n "$SPEEX_CFLAGS"; then
23417     pkg_cv_SPEEX_CFLAGS="$SPEEX_CFLAGS"
23418  elif test -n "$PKG_CONFIG"; then
23419     if test -n "$PKG_CONFIG" && \
23420     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speex >= 1.2\""; } >&5
23421   ($PKG_CONFIG --exists --print-errors "speex >= 1.2") 2>&5
23422   ac_status=$?
23423   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23424   test $ac_status = 0; }; then
23425   pkg_cv_SPEEX_CFLAGS=`$PKG_CONFIG --cflags "speex >= 1.2" 2>/dev/null`
23426                       test "x$?" != "x0" && pkg_failed=yes
23427 else
23428   pkg_failed=yes
23429 fi
23430  else
23431     pkg_failed=untried
23432 fi
23433 if test -n "$SPEEX_LIBS"; then
23434     pkg_cv_SPEEX_LIBS="$SPEEX_LIBS"
23435  elif test -n "$PKG_CONFIG"; then
23436     if test -n "$PKG_CONFIG" && \
23437     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"speex >= 1.2\""; } >&5
23438   ($PKG_CONFIG --exists --print-errors "speex >= 1.2") 2>&5
23439   ac_status=$?
23440   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23441   test $ac_status = 0; }; then
23442   pkg_cv_SPEEX_LIBS=`$PKG_CONFIG --libs "speex >= 1.2" 2>/dev/null`
23443                       test "x$?" != "x0" && pkg_failed=yes
23444 else
23445   pkg_failed=yes
23446 fi
23447  else
23448     pkg_failed=untried
23449 fi
23450
23451 pkg_link_saved_CFLAGS=$CFLAGS
23452 pkg_link_saved_LIBS=$LIBS
23453
23454 eval "pkg_CFLAGS=\${pkg_cv_SPEEX_CFLAGS}"
23455 eval "pkg_LIBS=\${pkg_cv_SPEEX_LIBS}"
23456
23457 CFLAGS="$CFLAGS $pkg_CFLAGS"
23458 LIBS="$LIBS $pkg_LIBS"
23459
23460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23461 /* end confdefs.h.  */
23462 #include <stdio.h>
23463 int
23464 main (void)
23465 {
23466 puts ("")
23467   ;
23468   return 0;
23469 }
23470 _ACEOF
23471 if ac_fn_c_try_link "$LINENO"
23472 then :
23473   pkg_link=yes
23474 else $as_nop
23475   pkg_link=no
23476 fi
23477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23478     conftest$ac_exeext conftest.$ac_ext
23479
23480 CFLAGS=$pkg_link_saved_CFLAGS
23481 LIBS=$pkg_link_saved_LIBS
23482
23483 if test x$pkg_link = xno
23484 then :
23485
23486         printf %s "link failed ... "
23487         pkg_failed=yes
23488
23489 fi
23490
23491
23492
23493 if test $pkg_failed = yes; then
23494
23495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23496         _pkg_short_errors_supported=yes
23497 else
23498         _pkg_short_errors_supported=no
23499 fi
23500         if test $_pkg_short_errors_supported = yes; then
23501                 SPEEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "speex >= 1.2"`
23502         else
23503                 SPEEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "speex >= 1.2"`
23504         fi
23505         # Put the nasty error message in config.log where it belongs
23506         echo "$SPEEX_PKG_ERRORS" >&5
23507
23508         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23509 printf "%s\n" "no" >&6; }
23510                 ac_cv_speex=no
23511 elif test $pkg_failed = untried; then
23512         ac_cv_speex=no
23513 else
23514         SPEEX_CFLAGS=$pkg_cv_SPEEX_CFLAGS
23515         SPEEX_LIBS=$pkg_cv_SPEEX_LIBS
23516         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23517 printf "%s\n" "yes" >&6; }
23518         ac_cv_speex=yes
23519 fi
23520
23521 else $as_nop
23522
23523                                                 SPEEX_CFLAGS=""
23524                                                 SPEEX_LIBS=""
23525
23526 fi
23527
23528
23529 pkg_failed=no
23530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vorbis >= 1.2.3 " >&5
23531 printf %s "checking for vorbis >= 1.2.3 ... " >&6; }
23532
23533 if test -n "$VORBIS_CFLAGS"; then
23534     pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS"
23535  elif test -n "$PKG_CONFIG"; then
23536     if test -n "$PKG_CONFIG" && \
23537     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.2.3\""; } >&5
23538   ($PKG_CONFIG --exists --print-errors "vorbis >= 1.2.3") 2>&5
23539   ac_status=$?
23540   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23541   test $ac_status = 0; }; then
23542   pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbis >= 1.2.3" 2>/dev/null`
23543                       test "x$?" != "x0" && pkg_failed=yes
23544 else
23545   pkg_failed=yes
23546 fi
23547  else
23548     pkg_failed=untried
23549 fi
23550 if test -n "$VORBIS_LIBS"; then
23551     pkg_cv_VORBIS_LIBS="$VORBIS_LIBS"
23552  elif test -n "$PKG_CONFIG"; then
23553     if test -n "$PKG_CONFIG" && \
23554     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.2.3\""; } >&5
23555   ($PKG_CONFIG --exists --print-errors "vorbis >= 1.2.3") 2>&5
23556   ac_status=$?
23557   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23558   test $ac_status = 0; }; then
23559   pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "vorbis >= 1.2.3" 2>/dev/null`
23560                       test "x$?" != "x0" && pkg_failed=yes
23561 else
23562   pkg_failed=yes
23563 fi
23564  else
23565     pkg_failed=untried
23566 fi
23567
23568 pkg_link_saved_CFLAGS=$CFLAGS
23569 pkg_link_saved_LIBS=$LIBS
23570
23571 eval "pkg_CFLAGS=\${pkg_cv_VORBIS_CFLAGS}"
23572 eval "pkg_LIBS=\${pkg_cv_VORBIS_LIBS}"
23573
23574 CFLAGS="$CFLAGS $pkg_CFLAGS"
23575 LIBS="$LIBS $pkg_LIBS"
23576
23577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23578 /* end confdefs.h.  */
23579 #include <stdio.h>
23580 int
23581 main (void)
23582 {
23583 puts ("")
23584   ;
23585   return 0;
23586 }
23587 _ACEOF
23588 if ac_fn_c_try_link "$LINENO"
23589 then :
23590   pkg_link=yes
23591 else $as_nop
23592   pkg_link=no
23593 fi
23594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23595     conftest$ac_exeext conftest.$ac_ext
23596
23597 CFLAGS=$pkg_link_saved_CFLAGS
23598 LIBS=$pkg_link_saved_LIBS
23599
23600 if test x$pkg_link = xno
23601 then :
23602
23603         printf %s "link failed ... "
23604         pkg_failed=yes
23605
23606 fi
23607
23608
23609
23610 if test $pkg_failed = yes; then
23611
23612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23613         _pkg_short_errors_supported=yes
23614 else
23615         _pkg_short_errors_supported=no
23616 fi
23617         if test $_pkg_short_errors_supported = yes; then
23618                 VORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vorbis >= 1.2.3"`
23619         else
23620                 VORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbis >= 1.2.3"`
23621         fi
23622         # Put the nasty error message in config.log where it belongs
23623         echo "$VORBIS_PKG_ERRORS" >&5
23624
23625         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23626 printf "%s\n" "no" >&6; }
23627                 ac_cv_vorbis=no
23628 elif test $pkg_failed = untried; then
23629         ac_cv_vorbis=no
23630 else
23631         VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS
23632         VORBIS_LIBS=$pkg_cv_VORBIS_LIBS
23633         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23634 printf "%s\n" "yes" >&6; }
23635         ac_cv_vorbis=yes
23636 fi
23637
23638 pkg_failed=no
23639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vorbisenc >= 1.2.3 " >&5
23640 printf %s "checking for vorbisenc >= 1.2.3 ... " >&6; }
23641
23642 if test -n "$VORBISENC_CFLAGS"; then
23643     pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
23644  elif test -n "$PKG_CONFIG"; then
23645     if test -n "$PKG_CONFIG" && \
23646     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc >= 1.2.3\""; } >&5
23647   ($PKG_CONFIG --exists --print-errors "vorbisenc >= 1.2.3") 2>&5
23648   ac_status=$?
23649   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23650   test $ac_status = 0; }; then
23651   pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "vorbisenc >= 1.2.3" 2>/dev/null`
23652                       test "x$?" != "x0" && pkg_failed=yes
23653 else
23654   pkg_failed=yes
23655 fi
23656  else
23657     pkg_failed=untried
23658 fi
23659 if test -n "$VORBISENC_LIBS"; then
23660     pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
23661  elif test -n "$PKG_CONFIG"; then
23662     if test -n "$PKG_CONFIG" && \
23663     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vorbisenc >= 1.2.3\""; } >&5
23664   ($PKG_CONFIG --exists --print-errors "vorbisenc >= 1.2.3") 2>&5
23665   ac_status=$?
23666   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23667   test $ac_status = 0; }; then
23668   pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "vorbisenc >= 1.2.3" 2>/dev/null`
23669                       test "x$?" != "x0" && pkg_failed=yes
23670 else
23671   pkg_failed=yes
23672 fi
23673  else
23674     pkg_failed=untried
23675 fi
23676
23677 pkg_link_saved_CFLAGS=$CFLAGS
23678 pkg_link_saved_LIBS=$LIBS
23679
23680 eval "pkg_CFLAGS=\${pkg_cv_VORBISENC_CFLAGS}"
23681 eval "pkg_LIBS=\${pkg_cv_VORBISENC_LIBS}"
23682
23683 CFLAGS="$CFLAGS $pkg_CFLAGS"
23684 LIBS="$LIBS $pkg_LIBS"
23685
23686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23687 /* end confdefs.h.  */
23688 #include <stdio.h>
23689 int
23690 main (void)
23691 {
23692 puts ("")
23693   ;
23694   return 0;
23695 }
23696 _ACEOF
23697 if ac_fn_c_try_link "$LINENO"
23698 then :
23699   pkg_link=yes
23700 else $as_nop
23701   pkg_link=no
23702 fi
23703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23704     conftest$ac_exeext conftest.$ac_ext
23705
23706 CFLAGS=$pkg_link_saved_CFLAGS
23707 LIBS=$pkg_link_saved_LIBS
23708
23709 if test x$pkg_link = xno
23710 then :
23711
23712         printf %s "link failed ... "
23713         pkg_failed=yes
23714
23715 fi
23716
23717
23718
23719 if test $pkg_failed = yes; then
23720
23721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23722         _pkg_short_errors_supported=yes
23723 else
23724         _pkg_short_errors_supported=no
23725 fi
23726         if test $_pkg_short_errors_supported = yes; then
23727                 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vorbisenc >= 1.2.3"`
23728         else
23729                 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbisenc >= 1.2.3"`
23730         fi
23731         # Put the nasty error message in config.log where it belongs
23732         echo "$VORBISENC_PKG_ERRORS" >&5
23733
23734         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23735 printf "%s\n" "no" >&6; }
23736                 ac_cv_vorbisenc=no
23737 elif test $pkg_failed = untried; then
23738         ac_cv_vorbisenc=no
23739 else
23740         VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS
23741         VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS
23742         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23743 printf "%s\n" "yes" >&6; }
23744         ac_cv_vorbisenc=yes
23745 fi
23746
23747
23748 pkg_failed=no
23749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for opus >= 1.1 " >&5
23750 printf %s "checking for opus >= 1.1 ... " >&6; }
23751
23752 if test -n "$OPUS_CFLAGS"; then
23753     pkg_cv_OPUS_CFLAGS="$OPUS_CFLAGS"
23754  elif test -n "$PKG_CONFIG"; then
23755     if test -n "$PKG_CONFIG" && \
23756     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opus >= 1.1\""; } >&5
23757   ($PKG_CONFIG --exists --print-errors "opus >= 1.1") 2>&5
23758   ac_status=$?
23759   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23760   test $ac_status = 0; }; then
23761   pkg_cv_OPUS_CFLAGS=`$PKG_CONFIG --cflags "opus >= 1.1" 2>/dev/null`
23762                       test "x$?" != "x0" && pkg_failed=yes
23763 else
23764   pkg_failed=yes
23765 fi
23766  else
23767     pkg_failed=untried
23768 fi
23769 if test -n "$OPUS_LIBS"; then
23770     pkg_cv_OPUS_LIBS="$OPUS_LIBS"
23771  elif test -n "$PKG_CONFIG"; then
23772     if test -n "$PKG_CONFIG" && \
23773     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opus >= 1.1\""; } >&5
23774   ($PKG_CONFIG --exists --print-errors "opus >= 1.1") 2>&5
23775   ac_status=$?
23776   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23777   test $ac_status = 0; }; then
23778   pkg_cv_OPUS_LIBS=`$PKG_CONFIG --libs "opus >= 1.1" 2>/dev/null`
23779                       test "x$?" != "x0" && pkg_failed=yes
23780 else
23781   pkg_failed=yes
23782 fi
23783  else
23784     pkg_failed=untried
23785 fi
23786
23787 pkg_link_saved_CFLAGS=$CFLAGS
23788 pkg_link_saved_LIBS=$LIBS
23789
23790 eval "pkg_CFLAGS=\${pkg_cv_OPUS_CFLAGS}"
23791 eval "pkg_LIBS=\${pkg_cv_OPUS_LIBS}"
23792
23793 CFLAGS="$CFLAGS $pkg_CFLAGS"
23794 LIBS="$LIBS $pkg_LIBS"
23795
23796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23797 /* end confdefs.h.  */
23798 #include <stdio.h>
23799 int
23800 main (void)
23801 {
23802 puts ("")
23803   ;
23804   return 0;
23805 }
23806 _ACEOF
23807 if ac_fn_c_try_link "$LINENO"
23808 then :
23809   pkg_link=yes
23810 else $as_nop
23811   pkg_link=no
23812 fi
23813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23814     conftest$ac_exeext conftest.$ac_ext
23815
23816 CFLAGS=$pkg_link_saved_CFLAGS
23817 LIBS=$pkg_link_saved_LIBS
23818
23819 if test x$pkg_link = xno
23820 then :
23821
23822         printf %s "link failed ... "
23823         pkg_failed=yes
23824
23825 fi
23826
23827
23828
23829 if test $pkg_failed = yes; then
23830
23831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23832         _pkg_short_errors_supported=yes
23833 else
23834         _pkg_short_errors_supported=no
23835 fi
23836         if test $_pkg_short_errors_supported = yes; then
23837                 OPUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "opus >= 1.1"`
23838         else
23839                 OPUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opus >= 1.1"`
23840         fi
23841         # Put the nasty error message in config.log where it belongs
23842         echo "$OPUS_PKG_ERRORS" >&5
23843
23844         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23845 printf "%s\n" "no" >&6; }
23846                 ac_cv_opus=no
23847 elif test $pkg_failed = untried; then
23848         ac_cv_opus=no
23849 else
23850         OPUS_CFLAGS=$pkg_cv_OPUS_CFLAGS
23851         OPUS_LIBS=$pkg_cv_OPUS_LIBS
23852         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23853 printf "%s\n" "yes" >&6; }
23854         ac_cv_opus=yes
23855 fi
23856                                 enable_external_libs=yes
23857
23858 fi
23859
23860                         if test "x$ac_cv_flac$ac_cv_ogg$ac_cv_vorbis$ac_cv_vorbisenc$ac_cv_opus" = "xyesyesyesyesyes"
23861 then :
23862
23863                                         HAVE_EXTERNAL_XIPH_LIBS=1
23864                                         enable_external_libs=yes
23865
23866                                         EXTERNAL_XIPH_CFLAGS="$FLAC_CFLAGS $VORBIS_CFLAGS $VORBISENC_CFLAGS $SPEEX_CFLAGS $OPUS_CFLAGS $OGG_CFLAGS "
23867                                         EXTERNAL_XIPH_LIBS="$FLAC_LIBS $VORBIS_LIBS $VORBISENC_LIBS $SPEEX_LIBS $OPUS_LIBS $OGG_LIBS "
23868                                         EXTERNAL_XIPH_REQUIRE="flac ogg vorbis vorbisenc opus"
23869
23870                                         if test x$ac_cv_speex = "xyes" ; then
23871                                                 EXTERNAL_XIPH_REQUIRE="$EXTERNAL_XIPH_REQUIRE speex"
23872                                         fi
23873
23874 else $as_nop
23875
23876                                         printf "%s\n" ""
23877                                         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** One or more of the external libraries (ie libflac, libogg," >&5
23878 printf "%s\n" "$as_me: WARNING: *** One or more of the external libraries (ie libflac, libogg," >&2;}
23879                                         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** libvorbis and libopus) is either missing (possibly only the development" >&5
23880 printf "%s\n" "$as_me: WARNING: *** libvorbis and libopus) is either missing (possibly only the development" >&2;}
23881                                         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** headers) or is of an unsupported version." >&5
23882 printf "%s\n" "$as_me: WARNING: *** headers) or is of an unsupported version." >&2;}
23883                                         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ***" >&5
23884 printf "%s\n" "$as_me: WARNING: ***" >&2;}
23885                                         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** Unfortunately, for ease of maintenance, the external libs" >&5
23886 printf "%s\n" "$as_me: WARNING: *** Unfortunately, for ease of maintenance, the external libs" >&2;}
23887                                         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** are an all or nothing affair." >&5
23888 printf "%s\n" "$as_me: WARNING: *** are an all or nothing affair." >&2;}
23889                                         printf "%s\n" ""
23890                                         enable_external_libs=no
23891
23892 fi
23893
23894 fi
23895
23896
23897 printf "%s\n" "#define HAVE_EXTERNAL_XIPH_LIBS $HAVE_EXTERNAL_XIPH_LIBS" >>confdefs.h
23898
23899
23900
23901 ac_cv_lame="no"
23902 ac_cv_mpg123="no"
23903 HAVE_MPEG=0
23904 EXTERNAL_MPEG_REQUIRE=""
23905 EXTERNAL_MPEG_LIBS=""
23906
23907 if test -n "$PKG_CONFIG"
23908 then :
23909
23910                 if test "x$enable_mpeg" = "xno"
23911 then :
23912
23913                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** MPEG (Lame/MPG123) disabled. ***" >&5
23914 printf "%s\n" "$as_me: WARNING: *** MPEG (Lame/MPG123) disabled. ***" >&2;}
23915
23916 else $as_nop
23917
23918                                 ac_fn_c_check_header_compile "$LINENO" "lame/lame.h" "ac_cv_header_lame_lame_h" "$ac_includes_default"
23919 if test "x$ac_cv_header_lame_lame_h" = xyes
23920 then :
23921   lame_header_found="yes"
23922 else $as_nop
23923   lame_header_found="no"
23924 fi
23925
23926                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing lame_set_VBR_q" >&5
23927 printf %s "checking for library containing lame_set_VBR_q... " >&6; }
23928 if test ${ac_cv_search_lame_set_VBR_q+y}
23929 then :
23930   printf %s "(cached) " >&6
23931 else $as_nop
23932   ac_func_search_save_LIBS=$LIBS
23933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23934 /* end confdefs.h.  */
23935
23936 /* Override any GCC internal prototype to avoid an error.
23937    Use char because int might match the return type of a GCC
23938    builtin and then its argument prototype would still apply.
23939    The 'extern "C"' is for builds by C++ compilers;
23940    although this is not generally supported in C code supporting it here
23941    has little cost and some practical benefit (sr 110532).  */
23942 #ifdef __cplusplus
23943 extern "C"
23944 #endif
23945 char lame_set_VBR_q (void);
23946 int
23947 main (void)
23948 {
23949 return lame_set_VBR_q ();
23950   ;
23951   return 0;
23952 }
23953 _ACEOF
23954 for ac_lib in '' lame mp3lame
23955 do
23956   if test -z "$ac_lib"; then
23957     ac_res="none required"
23958   else
23959     ac_res=-l$ac_lib
23960     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23961   fi
23962   if ac_fn_c_try_link "$LINENO"
23963 then :
23964   ac_cv_search_lame_set_VBR_q=$ac_res
23965 fi
23966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23967     conftest$ac_exeext
23968   if test ${ac_cv_search_lame_set_VBR_q+y}
23969 then :
23970   break
23971 fi
23972 done
23973 if test ${ac_cv_search_lame_set_VBR_q+y}
23974 then :
23975
23976 else $as_nop
23977   ac_cv_search_lame_set_VBR_q=no
23978 fi
23979 rm conftest.$ac_ext
23980 LIBS=$ac_func_search_save_LIBS
23981 fi
23982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lame_set_VBR_q" >&5
23983 printf "%s\n" "$ac_cv_search_lame_set_VBR_q" >&6; }
23984 ac_res=$ac_cv_search_lame_set_VBR_q
23985 if test "$ac_res" != no
23986 then :
23987   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23988   lame_lib_found="yes"
23989 else $as_nop
23990   lame_lib_found="no"
23991 fi
23992
23993                                 if test "x$lame_lib_found$lame_header_found" = "xyesyes"
23994 then :
23995
23996                                                 ac_cv_lame="yes"
23997
23998 else $as_nop
23999
24000                                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"MPEG support selected but external Lame library cannot be found." >&5
24001 printf "%s\n" "$as_me: WARNING: \"MPEG support selected but external Lame library cannot be found." >&2;}
24002
24003 fi
24004
24005
24006 pkg_failed=no
24007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmpg123 >= 1.25.10 " >&5
24008 printf %s "checking for libmpg123 >= 1.25.10 ... " >&6; }
24009
24010 if test -n "$MPG123_CFLAGS"; then
24011     pkg_cv_MPG123_CFLAGS="$MPG123_CFLAGS"
24012  elif test -n "$PKG_CONFIG"; then
24013     if test -n "$PKG_CONFIG" && \
24014     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123 >= 1.25.10\""; } >&5
24015   ($PKG_CONFIG --exists --print-errors "libmpg123 >= 1.25.10") 2>&5
24016   ac_status=$?
24017   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24018   test $ac_status = 0; }; then
24019   pkg_cv_MPG123_CFLAGS=`$PKG_CONFIG --cflags "libmpg123 >= 1.25.10" 2>/dev/null`
24020                       test "x$?" != "x0" && pkg_failed=yes
24021 else
24022   pkg_failed=yes
24023 fi
24024  else
24025     pkg_failed=untried
24026 fi
24027 if test -n "$MPG123_LIBS"; then
24028     pkg_cv_MPG123_LIBS="$MPG123_LIBS"
24029  elif test -n "$PKG_CONFIG"; then
24030     if test -n "$PKG_CONFIG" && \
24031     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpg123 >= 1.25.10\""; } >&5
24032   ($PKG_CONFIG --exists --print-errors "libmpg123 >= 1.25.10") 2>&5
24033   ac_status=$?
24034   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24035   test $ac_status = 0; }; then
24036   pkg_cv_MPG123_LIBS=`$PKG_CONFIG --libs "libmpg123 >= 1.25.10" 2>/dev/null`
24037                       test "x$?" != "x0" && pkg_failed=yes
24038 else
24039   pkg_failed=yes
24040 fi
24041  else
24042     pkg_failed=untried
24043 fi
24044
24045 pkg_link_saved_CFLAGS=$CFLAGS
24046 pkg_link_saved_LIBS=$LIBS
24047
24048 eval "pkg_CFLAGS=\${pkg_cv_MPG123_CFLAGS}"
24049 eval "pkg_LIBS=\${pkg_cv_MPG123_LIBS}"
24050
24051 CFLAGS="$CFLAGS $pkg_CFLAGS"
24052 LIBS="$LIBS $pkg_LIBS"
24053
24054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24055 /* end confdefs.h.  */
24056 #include <stdio.h>
24057 int
24058 main (void)
24059 {
24060 puts ("")
24061   ;
24062   return 0;
24063 }
24064 _ACEOF
24065 if ac_fn_c_try_link "$LINENO"
24066 then :
24067   pkg_link=yes
24068 else $as_nop
24069   pkg_link=no
24070 fi
24071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24072     conftest$ac_exeext conftest.$ac_ext
24073
24074 CFLAGS=$pkg_link_saved_CFLAGS
24075 LIBS=$pkg_link_saved_LIBS
24076
24077 if test x$pkg_link = xno
24078 then :
24079
24080         printf %s "link failed ... "
24081         pkg_failed=yes
24082
24083 fi
24084
24085
24086
24087 if test $pkg_failed = yes; then
24088
24089 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24090         _pkg_short_errors_supported=yes
24091 else
24092         _pkg_short_errors_supported=no
24093 fi
24094         if test $_pkg_short_errors_supported = yes; then
24095                 MPG123_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmpg123 >= 1.25.10"`
24096         else
24097                 MPG123_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmpg123 >= 1.25.10"`
24098         fi
24099         # Put the nasty error message in config.log where it belongs
24100         echo "$MPG123_PKG_ERRORS" >&5
24101
24102         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24103 printf "%s\n" "no" >&6; }
24104
24105                                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"MPEG support selected but external MPG123 library cannot be found." >&5
24106 printf "%s\n" "$as_me: WARNING: \"MPEG support selected but external MPG123 library cannot be found." >&2;}
24107
24108 elif test $pkg_failed = untried; then
24109
24110                                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"MPEG support selected but external MPG123 library cannot be found." >&5
24111 printf "%s\n" "$as_me: WARNING: \"MPEG support selected but external MPG123 library cannot be found." >&2;}
24112
24113 else
24114         MPG123_CFLAGS=$pkg_cv_MPG123_CFLAGS
24115         MPG123_LIBS=$pkg_cv_MPG123_LIBS
24116         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24117 printf "%s\n" "yes" >&6; }
24118
24119                                                 ac_cv_mpg123="yes"
24120
24121 fi
24122
24123                                 if test "x$ac_cv_lame$ac_cv_mpg123" = "xyesyes"
24124 then :
24125
24126                                                 enable_mpeg="yes"
24127                                                 HAVE_MPEG=1
24128                                                 EXTERNAL_MPEG_REQUIRE="libmpg123"
24129                                                 EXTERNAL_MPEG_LIBS="-lmp3lame"
24130                                                 MPEG_CFLAGS="$MPG123_CFLAGS"
24131                                                 MPEG_LIBS="$MPG123_LIBS"
24132
24133 else $as_nop
24134
24135                                                 enable_mpeg="no"
24136                                                 printf "%s\n" ""
24137                                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** MPEG support disabled." >&5
24138 printf "%s\n" "$as_me: WARNING: *** MPEG support disabled." >&2;}
24139                                                 printf "%s\n" ""
24140
24141 fi
24142
24143 fi
24144
24145 fi
24146
24147
24148 printf "%s\n" "#define HAVE_MPEG $HAVE_MPEG" >>confdefs.h
24149
24150
24151
24152 ac_cv_sqlite3=0
24153 if test "x$enable_sqlite" != "xno"
24154 then :
24155
24156
24157 pkg_failed=no
24158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3 >= 3.2 " >&5
24159 printf %s "checking for sqlite3 >= 3.2 ... " >&6; }
24160
24161 if test -n "$SQLITE3_CFLAGS"; then
24162     pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
24163  elif test -n "$PKG_CONFIG"; then
24164     if test -n "$PKG_CONFIG" && \
24165     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.2\""; } >&5
24166   ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.2") 2>&5
24167   ac_status=$?
24168   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24169   test $ac_status = 0; }; then
24170   pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= 3.2" 2>/dev/null`
24171                       test "x$?" != "x0" && pkg_failed=yes
24172 else
24173   pkg_failed=yes
24174 fi
24175  else
24176     pkg_failed=untried
24177 fi
24178 if test -n "$SQLITE3_LIBS"; then
24179     pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
24180  elif test -n "$PKG_CONFIG"; then
24181     if test -n "$PKG_CONFIG" && \
24182     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.2\""; } >&5
24183   ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.2") 2>&5
24184   ac_status=$?
24185   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24186   test $ac_status = 0; }; then
24187   pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= 3.2" 2>/dev/null`
24188                       test "x$?" != "x0" && pkg_failed=yes
24189 else
24190   pkg_failed=yes
24191 fi
24192  else
24193     pkg_failed=untried
24194 fi
24195
24196 pkg_link_saved_CFLAGS=$CFLAGS
24197 pkg_link_saved_LIBS=$LIBS
24198
24199 eval "pkg_CFLAGS=\${pkg_cv_SQLITE3_CFLAGS}"
24200 eval "pkg_LIBS=\${pkg_cv_SQLITE3_LIBS}"
24201
24202 CFLAGS="$CFLAGS $pkg_CFLAGS"
24203 LIBS="$LIBS $pkg_LIBS"
24204
24205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24206 /* end confdefs.h.  */
24207 #include <stdio.h>
24208 int
24209 main (void)
24210 {
24211 puts ("")
24212   ;
24213   return 0;
24214 }
24215 _ACEOF
24216 if ac_fn_c_try_link "$LINENO"
24217 then :
24218   pkg_link=yes
24219 else $as_nop
24220   pkg_link=no
24221 fi
24222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24223     conftest$ac_exeext conftest.$ac_ext
24224
24225 CFLAGS=$pkg_link_saved_CFLAGS
24226 LIBS=$pkg_link_saved_LIBS
24227
24228 if test x$pkg_link = xno
24229 then :
24230
24231         printf %s "link failed ... "
24232         pkg_failed=yes
24233
24234 fi
24235
24236
24237
24238 if test $pkg_failed = yes; then
24239
24240 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24241         _pkg_short_errors_supported=yes
24242 else
24243         _pkg_short_errors_supported=no
24244 fi
24245         if test $_pkg_short_errors_supported = yes; then
24246                 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3 >= 3.2"`
24247         else
24248                 SQLITE3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3 >= 3.2"`
24249         fi
24250         # Put the nasty error message in config.log where it belongs
24251         echo "$SQLITE3_PKG_ERRORS" >&5
24252
24253         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24254 printf "%s\n" "no" >&6; }
24255                 ac_cv_sqlite3=0
24256 elif test $pkg_failed = untried; then
24257         ac_cv_sqlite3=0
24258 else
24259         SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
24260         SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
24261         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24262 printf "%s\n" "yes" >&6; }
24263         ac_cv_sqlite3=1
24264 fi
24265
24266 fi
24267
24268
24269 printf "%s\n" "#define HAVE_SQLITE3 ${ac_cv_sqlite3}" >>confdefs.h
24270
24271  if test "x$ac_cv_sqlite3" = "x1"; then
24272   HAVE_SQLITE3_TRUE=
24273   HAVE_SQLITE3_FALSE='#'
24274 else
24275   HAVE_SQLITE3_TRUE='#'
24276   HAVE_SQLITE3_FALSE=
24277 fi
24278
24279
24280
24281 if test "x$enable_cpu_clip" != "xno"
24282 then :
24283
24284                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking processor clipping capabilities" >&5
24285 printf %s "checking processor clipping capabilities... " >&6; }
24286 if test ${ac_cv_c_clip_type+y}
24287 then :
24288   printf %s "(cached) " >&6
24289 else $as_nop
24290   # Initialize to unknown
24291 ac_cv_c_clip_positive=unknown
24292 ac_cv_c_clip_negative=unknown
24293
24294
24295 if test $ac_cv_c_clip_positive = unknown ; then
24296         if test "$cross_compiling" = yes
24297 then :
24298   ac_cv_c_clip_positive=unknown
24299
24300 else $as_nop
24301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24302 /* end confdefs.h.  */
24303
24304         #define _ISOC9X_SOURCE  1
24305         #define _ISOC99_SOURCE  1
24306         #define __USE_ISOC99    1
24307         #define __USE_ISOC9X    1
24308         #include <math.h>
24309         int main (void)
24310         {       double  fval ;
24311                 int k, ival ;
24312
24313                 fval = 1.0 * 0x7FFFFFFF ;
24314                 for (k = 0 ; k < 100 ; k++)
24315                 {       ival = (lrint (fval)) >> 24 ;
24316                         if (ival != 127)
24317                                 return 1 ;
24318
24319                         fval *= 1.2499999 ;
24320                         } ;
24321
24322                         return 0 ;
24323                 }
24324
24325 _ACEOF
24326 if ac_fn_c_try_run "$LINENO"
24327 then :
24328   ac_cv_c_clip_positive=yes
24329 else $as_nop
24330   ac_cv_c_clip_positive=no
24331 fi
24332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24333   conftest.$ac_objext conftest.beam conftest.$ac_ext
24334 fi
24335
24336
24337         if test "$cross_compiling" = yes
24338 then :
24339   ac_cv_c_clip_negative=unknown
24340
24341 else $as_nop
24342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24343 /* end confdefs.h.  */
24344
24345         #define _ISOC9X_SOURCE  1
24346         #define _ISOC99_SOURCE  1
24347         #define __USE_ISOC99    1
24348         #define __USE_ISOC9X    1
24349         #include <math.h>
24350         int main (void)
24351         {       double  fval ;
24352                 int k, ival ;
24353
24354                 fval = -8.0 * 0x10000000 ;
24355                 for (k = 0 ; k < 100 ; k++)
24356                 {       ival = (lrint (fval)) >> 24 ;
24357                         if (ival != -128)
24358                                 return 1 ;
24359
24360                         fval *= 1.2499999 ;
24361                         } ;
24362
24363                         return 0 ;
24364                 }
24365
24366 _ACEOF
24367 if ac_fn_c_try_run "$LINENO"
24368 then :
24369   ac_cv_c_clip_negative=yes
24370 else $as_nop
24371   ac_cv_c_clip_negative=no
24372 fi
24373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24374   conftest.$ac_objext conftest.beam conftest.$ac_ext
24375 fi
24376
24377         fi
24378
24379 if test $ac_cv_c_clip_positive = yes ; then
24380         ac_cv_c_clip_positive=1
24381 else
24382         ac_cv_c_clip_positive=0
24383         fi
24384
24385 if test $ac_cv_c_clip_negative = yes ; then
24386         ac_cv_c_clip_negative=1
24387 else
24388         ac_cv_c_clip_negative=0
24389         fi
24390
24391
24392 case "$ac_cv_c_clip_positive$ac_cv_c_clip_negative" in
24393         "00")
24394                 ac_cv_c_clip_type="none"
24395                 ;;
24396         "10")
24397                 ac_cv_c_clip_type="positive"
24398                 ;;
24399         "01")
24400                 ac_cv_c_clip_type="negative"
24401                 ;;
24402         "11")
24403                 ac_cv_c_clip_type="both"
24404                 ;;
24405         esac
24406
24407
24408
24409 fi
24410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_clip_type" >&5
24411 printf "%s\n" "$ac_cv_c_clip_type" >&6; }
24412
24413
24414
24415
24416 else $as_nop
24417
24418                 printf "%s\n" "checking processor clipping capabilities... disabled"
24419                 ac_cv_c_clip_positive=0
24420                 ac_cv_c_clip_negative=0
24421
24422 fi
24423
24424
24425 printf "%s\n" "#define CPU_CLIPS_POSITIVE ${ac_cv_c_clip_positive}" >>confdefs.h
24426
24427
24428 printf "%s\n" "#define CPU_CLIPS_NEGATIVE ${ac_cv_c_clip_negative}" >>confdefs.h
24429
24430
24431
24432 OS_SPECIFIC_CFLAGS=""
24433 OS_SPECIFIC_LINKS=""
24434 os_is_win32=0
24435 os_is_openbsd=0
24436 use_windows_api=0
24437 case $host_os in #(
24438   darwin* | rhapsody*) :
24439
24440                 if test "x$HAVE_XCODE_SELECT" = "xyes"
24441 then :
24442
24443                                 developer_path=`xcode-select --print-path`
24444
24445 else $as_nop
24446
24447                                 developer_path="/Developer"
24448
24449 fi
24450                 OS_SPECIFIC_LINKS="-framework CoreAudio -framework AudioToolbox -framework CoreFoundation" ;; #(
24451   mingw*) :
24452
24453                 os_is_win32=1
24454                 use_windows_api=1
24455                 OS_SPECIFIC_LINKS="-lwinmm" ;; #(
24456   openbsd*) :
24457
24458                 os_is_openbsd=1
24459          ;; #(
24460   *) :
24461      ;;
24462 esac
24463
24464
24465 printf "%s\n" "#define OS_IS_WIN32 ${os_is_win32}" >>confdefs.h
24466
24467
24468 printf "%s\n" "#define OS_IS_OPENBSD ${os_is_openbsd}" >>confdefs.h
24469
24470
24471 printf "%s\n" "#define USE_WINDOWS_API ${use_windows_api}" >>confdefs.h
24472
24473  if test ${use_windows_api} -eq 1; then
24474   USE_WIN_VERSION_FILE_TRUE=
24475   USE_WIN_VERSION_FILE_FALSE='#'
24476 else
24477   USE_WIN_VERSION_FILE_TRUE='#'
24478   USE_WIN_VERSION_FILE_FALSE=
24479 fi
24480
24481
24482
24483 if test "x$enable_alsa" != "xno"
24484 then :
24485
24486
24487 pkg_failed=no
24488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alsa" >&5
24489 printf %s "checking for alsa... " >&6; }
24490
24491 if test -n "$ALSA_CFLAGS"; then
24492     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
24493  elif test -n "$PKG_CONFIG"; then
24494     if test -n "$PKG_CONFIG" && \
24495     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
24496   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
24497   ac_status=$?
24498   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24499   test $ac_status = 0; }; then
24500   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
24501                       test "x$?" != "x0" && pkg_failed=yes
24502 else
24503   pkg_failed=yes
24504 fi
24505  else
24506     pkg_failed=untried
24507 fi
24508 if test -n "$ALSA_LIBS"; then
24509     pkg_cv_ALSA_LIBS="$ALSA_LIBS"
24510  elif test -n "$PKG_CONFIG"; then
24511     if test -n "$PKG_CONFIG" && \
24512     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
24513   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
24514   ac_status=$?
24515   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24516   test $ac_status = 0; }; then
24517   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
24518                       test "x$?" != "x0" && pkg_failed=yes
24519 else
24520   pkg_failed=yes
24521 fi
24522  else
24523     pkg_failed=untried
24524 fi
24525
24526
24527
24528 if test $pkg_failed = yes; then
24529         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24530 printf "%s\n" "no" >&6; }
24531
24532 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24533         _pkg_short_errors_supported=yes
24534 else
24535         _pkg_short_errors_supported=no
24536 fi
24537         if test $_pkg_short_errors_supported = yes; then
24538                 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa" 2>&1`
24539         else
24540                 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa" 2>&1`
24541         fi
24542         # Put the nasty error message in config.log where it belongs
24543         echo "$ALSA_PKG_ERRORS" >&5
24544
24545
24546                                                                 alsa_works="no"
24547
24548 elif test $pkg_failed = untried; then
24549         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24550 printf "%s\n" "no" >&6; }
24551
24552                                                                 alsa_works="no"
24553
24554 else
24555         ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
24556         ALSA_LIBS=$pkg_cv_ALSA_LIBS
24557         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24558 printf "%s\n" "yes" >&6; }
24559
24560                                                                                                 save_CFLAGS="${CFLAGS}"
24561                                 save_LIBS="${LIBS}"
24562                                 CFLAGS="${CFLAGS} ${ALSA_CFLAGS}"
24563                                 LIBS="${LIBS} ${ALSA_LIBS}"
24564                                 ac_fn_c_check_header_compile "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
24565 if test "x$ac_cv_header_alsa_asoundlib_h" = xyes
24566 then :
24567   printf "%s\n" "#define HAVE_ALSA_ASOUNDLIB_H 1" >>confdefs.h
24568
24569 fi
24570
24571                                 if test "x$ac_cv_header_alsa_asoundlib_h" = "xyes"
24572 then :
24573
24574
24575 printf "%s\n" "#define HAVE_ALSA 1" >>confdefs.h
24576
24577                                                 alsa_works="yes"
24578
24579 else $as_nop
24580
24581                                                                                                 alsa_works="no"
24582
24583                                                                                                 ALSA_CFLAGS=""
24584                                                 ALSA_LIBS=""
24585
24586 fi
24587                                 CFLAGS="${save_CFLAGS}"
24588                                 LIBS="${save_LIBS}"
24589
24590 fi
24591
24592                 if test "x$alsa_works" = "xno"
24593 then :
24594
24595                                 if test "x$enable_alsa" = "xyes"
24596 then :
24597
24598                                                                                                 as_fn_error $? "You explicitly requested alsa support, but alsa could not be found!" "$LINENO" 5
24599
24600 else $as_nop
24601
24602                                                                                                 enable_alsa="no (auto)"
24603
24604 fi
24605
24606 fi
24607
24608 fi
24609
24610
24611 SNDIO_LIBS=""
24612 HAVE_SNDIO_H=0
24613 case $host_os in #(
24614   openbsd*) :
24615
24616                 ac_fn_c_check_header_compile "$LINENO" "sndio.h" "ac_cv_header_sndio_h" "$ac_includes_default"
24617 if test "x$ac_cv_header_sndio_h" = xyes
24618 then :
24619   printf "%s\n" "#define HAVE_SNDIO_H 1" >>confdefs.h
24620
24621 fi
24622
24623                 if test "x$ac_cv_header_sndio_h" = "xyes"
24624 then :
24625
24626                                 SNDIO_LIBS="-lsndio"
24627                                 HAVE_SNDIO_H=1
24628
24629 fi
24630          ;; #(
24631   *) :
24632      ;;
24633 esac
24634
24635
24636 printf "%s\n" "#define HAVE_SNDIO_H ${HAVE_SNDIO_H}" >>confdefs.h
24637
24638
24639
24640 if test "x$ac_cv_sizeof_short" != "x2"
24641 then :
24642
24643                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
24644 printf "%s\n" "$as_me: WARNING: ******************************************************************" >&2;}
24645                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (short) != 2.                                          " >&5
24646 printf "%s\n" "$as_me: WARNING: *** sizeof (short) != 2.                                          " >&2;}
24647                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
24648 printf "%s\n" "$as_me: WARNING: ******************************************************************" >&2;}
24649
24650 fi
24651
24652 if test "x$ac_cv_sizeof_int" != "x4"
24653 then :
24654
24655                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
24656 printf "%s\n" "$as_me: WARNING: ******************************************************************" >&2;}
24657                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (int) != 4                                             " >&5
24658 printf "%s\n" "$as_me: WARNING: *** sizeof (int) != 4                                             " >&2;}
24659                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
24660 printf "%s\n" "$as_me: WARNING: ******************************************************************" >&2;}
24661
24662 fi
24663
24664 if test "x$ac_cv_sizeof_float" != "x4"
24665 then :
24666
24667                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
24668 printf "%s\n" "$as_me: WARNING: ******************************************************************" >&2;}
24669                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (float) != 4.                                          " >&5
24670 printf "%s\n" "$as_me: WARNING: *** sizeof (float) != 4.                                          " >&2;}
24671                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
24672 printf "%s\n" "$as_me: WARNING: ******************************************************************" >&2;}
24673
24674 fi
24675
24676 if test "x$ac_cv_sizeof_double" != "x8"
24677 then :
24678
24679                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
24680 printf "%s\n" "$as_me: WARNING: ******************************************************************" >&2;}
24681                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** sizeof (double) != 8.                                         " >&5
24682 printf "%s\n" "$as_me: WARNING: *** sizeof (double) != 8.                                         " >&2;}
24683                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
24684 printf "%s\n" "$as_me: WARNING: ******************************************************************" >&2;}
24685
24686 fi
24687
24688 if test "x$ac_cv_prog_HAVE_AUTOGEN" = "xno"
24689 then :
24690
24691                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Touching files in directory tests/." >&5
24692 printf "%s\n" "$as_me: WARNING: Touching files in directory tests/." >&2;}
24693                 touch tests/*.c tests/*.h
24694
24695 fi
24696
24697
24698 if test "x$enable_bow_docs" = "xyes"
24699 then :
24700
24701                 HTML_BGCOLOUR="white"
24702                 HTML_FGCOLOUR="black"
24703
24704 else $as_nop
24705
24706                 HTML_BGCOLOUR="black"
24707                 HTML_FGCOLOUR="white"
24708
24709 fi
24710
24711
24712 win32_target_dll=0
24713 COMPILER_IS_GCC=0
24714
24715 if test "x$enable_flags_setting" = "xyes"
24716 then :
24717
24718
24719
24720
24721
24722 for flag in -O2 -pipe; do
24723   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
24724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
24725 printf %s "checking whether C compiler accepts $flag... " >&6; }
24726 if eval test \${$as_CACHEVAR+y}
24727 then :
24728   printf %s "(cached) " >&6
24729 else $as_nop
24730
24731   ax_check_save_flags=$CFLAGS
24732   CFLAGS="$CFLAGS  $flag"
24733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24734 /* end confdefs.h.  */
24735
24736 int
24737 main (void)
24738 {
24739
24740   ;
24741   return 0;
24742 }
24743 _ACEOF
24744 if ac_fn_c_try_compile "$LINENO"
24745 then :
24746   eval "$as_CACHEVAR=yes"
24747 else $as_nop
24748   eval "$as_CACHEVAR=no"
24749 fi
24750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24751   CFLAGS=$ax_check_save_flags
24752 fi
24753 eval ac_res=\$$as_CACHEVAR
24754                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24755 printf "%s\n" "$ac_res" >&6; }
24756 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
24757 then :
24758
24759 if test ${CFLAGS+y}
24760 then :
24761
24762   case " $CFLAGS " in #(
24763   *" $flag "*) :
24764     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
24765   (: CFLAGS already contains $flag) 2>&5
24766   ac_status=$?
24767   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24768   test $ac_status = 0; } ;; #(
24769   *) :
24770
24771      as_fn_append CFLAGS " $flag"
24772      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
24773   (: CFLAGS="$CFLAGS") 2>&5
24774   ac_status=$?
24775   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24776   test $ac_status = 0; }
24777      ;;
24778 esac
24779
24780 else $as_nop
24781
24782   CFLAGS=$flag
24783   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
24784   (: CFLAGS="$CFLAGS") 2>&5
24785   ac_status=$?
24786   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24787   test $ac_status = 0; }
24788
24789 fi
24790
24791 else $as_nop
24792   :
24793 fi
24794
24795 done
24796
24797
24798                 ac_ext=cpp
24799 ac_cpp='$CXXCPP $CPPFLAGS'
24800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24803
24804
24805
24806
24807
24808 for flag in -O2 -pipe; do
24809   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
24810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
24811 printf %s "checking whether C++ compiler accepts $flag... " >&6; }
24812 if eval test \${$as_CACHEVAR+y}
24813 then :
24814   printf %s "(cached) " >&6
24815 else $as_nop
24816
24817   ax_check_save_flags=$CXXFLAGS
24818   CXXFLAGS="$CXXFLAGS  $flag"
24819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24820 /* end confdefs.h.  */
24821
24822 int
24823 main (void)
24824 {
24825
24826   ;
24827   return 0;
24828 }
24829 _ACEOF
24830 if ac_fn_cxx_try_compile "$LINENO"
24831 then :
24832   eval "$as_CACHEVAR=yes"
24833 else $as_nop
24834   eval "$as_CACHEVAR=no"
24835 fi
24836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24837   CXXFLAGS=$ax_check_save_flags
24838 fi
24839 eval ac_res=\$$as_CACHEVAR
24840                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24841 printf "%s\n" "$ac_res" >&6; }
24842 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
24843 then :
24844
24845 if test ${CXXFLAGS+y}
24846 then :
24847
24848   case " $CXXFLAGS " in #(
24849   *" $flag "*) :
24850     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5
24851   (: CXXFLAGS already contains $flag) 2>&5
24852   ac_status=$?
24853   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24854   test $ac_status = 0; } ;; #(
24855   *) :
24856
24857      as_fn_append CXXFLAGS " $flag"
24858      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5
24859   (: CXXFLAGS="$CXXFLAGS") 2>&5
24860   ac_status=$?
24861   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24862   test $ac_status = 0; }
24863      ;;
24864 esac
24865
24866 else $as_nop
24867
24868   CXXFLAGS=$flag
24869   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5
24870   (: CXXFLAGS="$CXXFLAGS") 2>&5
24871   ac_status=$?
24872   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24873   test $ac_status = 0; }
24874
24875 fi
24876
24877 else $as_nop
24878   :
24879 fi
24880
24881 done
24882
24883                 ac_ext=c
24884 ac_cpp='$CPP $CPPFLAGS'
24885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24888
24889
24890                 case ${host_os} in #(
24891   darwin*) :
24892
24893                                 ldflags_test="-Wl,-dead_strip_dylibs" ;; #(
24894   linux*) :
24895
24896                                 ldflags_test="-Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--gc-sections"
24897                          ;; #(
24898   *) :
24899      ;;
24900 esac
24901
24902
24903
24904
24905 for flag in ${ldflags_test}; do
24906   as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags__$flag" | $as_tr_sh`
24907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
24908 printf %s "checking whether the linker accepts $flag... " >&6; }
24909 if eval test \${$as_CACHEVAR+y}
24910 then :
24911   printf %s "(cached) " >&6
24912 else $as_nop
24913
24914   ax_check_save_flags=$LDFLAGS
24915   LDFLAGS="$LDFLAGS  $flag"
24916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24917 /* end confdefs.h.  */
24918
24919 int
24920 main (void)
24921 {
24922
24923   ;
24924   return 0;
24925 }
24926 _ACEOF
24927 if ac_fn_c_try_link "$LINENO"
24928 then :
24929   eval "$as_CACHEVAR=yes"
24930 else $as_nop
24931   eval "$as_CACHEVAR=no"
24932 fi
24933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24934     conftest$ac_exeext conftest.$ac_ext
24935   LDFLAGS=$ax_check_save_flags
24936 fi
24937 eval ac_res=\$$as_CACHEVAR
24938                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24939 printf "%s\n" "$ac_res" >&6; }
24940 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
24941 then :
24942
24943 if test ${LDFLAGS+y}
24944 then :
24945
24946   case " $LDFLAGS " in #(
24947   *" $flag "*) :
24948     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS already contains \$flag"; } >&5
24949   (: LDFLAGS already contains $flag) 2>&5
24950   ac_status=$?
24951   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24952   test $ac_status = 0; } ;; #(
24953   *) :
24954
24955      as_fn_append LDFLAGS " $flag"
24956      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5
24957   (: LDFLAGS="$LDFLAGS") 2>&5
24958   ac_status=$?
24959   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24960   test $ac_status = 0; }
24961      ;;
24962 esac
24963
24964 else $as_nop
24965
24966   LDFLAGS=$flag
24967   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : LDFLAGS=\"\$LDFLAGS\""; } >&5
24968   (: LDFLAGS="$LDFLAGS") 2>&5
24969   ac_status=$?
24970   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24971   test $ac_status = 0; }
24972
24973 fi
24974
24975 else $as_nop
24976   :
24977 fi
24978
24979 done
24980
24981
24982 fi
24983
24984 if test "x$enable_werror" = "xyes"
24985 then :
24986
24987
24988
24989
24990
24991 for flag in -Werror; do
24992   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
24993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
24994 printf %s "checking whether C compiler accepts $flag... " >&6; }
24995 if eval test \${$as_CACHEVAR+y}
24996 then :
24997   printf %s "(cached) " >&6
24998 else $as_nop
24999
25000   ax_check_save_flags=$CFLAGS
25001   CFLAGS="$CFLAGS  $flag"
25002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25003 /* end confdefs.h.  */
25004
25005 int
25006 main (void)
25007 {
25008
25009   ;
25010   return 0;
25011 }
25012 _ACEOF
25013 if ac_fn_c_try_compile "$LINENO"
25014 then :
25015   eval "$as_CACHEVAR=yes"
25016 else $as_nop
25017   eval "$as_CACHEVAR=no"
25018 fi
25019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25020   CFLAGS=$ax_check_save_flags
25021 fi
25022 eval ac_res=\$$as_CACHEVAR
25023                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25024 printf "%s\n" "$ac_res" >&6; }
25025 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
25026 then :
25027
25028 if test ${CFLAGS+y}
25029 then :
25030
25031   case " $CFLAGS " in #(
25032   *" $flag "*) :
25033     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
25034   (: CFLAGS already contains $flag) 2>&5
25035   ac_status=$?
25036   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25037   test $ac_status = 0; } ;; #(
25038   *) :
25039
25040      as_fn_append CFLAGS " $flag"
25041      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
25042   (: CFLAGS="$CFLAGS") 2>&5
25043   ac_status=$?
25044   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25045   test $ac_status = 0; }
25046      ;;
25047 esac
25048
25049 else $as_nop
25050
25051   CFLAGS=$flag
25052   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
25053   (: CFLAGS="$CFLAGS") 2>&5
25054   ac_status=$?
25055   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25056   test $ac_status = 0; }
25057
25058 fi
25059
25060 else $as_nop
25061   :
25062 fi
25063
25064 done
25065
25066
25067                 ac_ext=cpp
25068 ac_cpp='$CXXCPP $CPPFLAGS'
25069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25072
25073
25074
25075
25076
25077 for flag in -Werror; do
25078   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
25079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
25080 printf %s "checking whether C++ compiler accepts $flag... " >&6; }
25081 if eval test \${$as_CACHEVAR+y}
25082 then :
25083   printf %s "(cached) " >&6
25084 else $as_nop
25085
25086   ax_check_save_flags=$CXXFLAGS
25087   CXXFLAGS="$CXXFLAGS  $flag"
25088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25089 /* end confdefs.h.  */
25090
25091 int
25092 main (void)
25093 {
25094
25095   ;
25096   return 0;
25097 }
25098 _ACEOF
25099 if ac_fn_cxx_try_compile "$LINENO"
25100 then :
25101   eval "$as_CACHEVAR=yes"
25102 else $as_nop
25103   eval "$as_CACHEVAR=no"
25104 fi
25105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25106   CXXFLAGS=$ax_check_save_flags
25107 fi
25108 eval ac_res=\$$as_CACHEVAR
25109                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25110 printf "%s\n" "$ac_res" >&6; }
25111 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
25112 then :
25113
25114 if test ${CXXFLAGS+y}
25115 then :
25116
25117   case " $CXXFLAGS " in #(
25118   *" $flag "*) :
25119     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5
25120   (: CXXFLAGS already contains $flag) 2>&5
25121   ac_status=$?
25122   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25123   test $ac_status = 0; } ;; #(
25124   *) :
25125
25126      as_fn_append CXXFLAGS " $flag"
25127      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5
25128   (: CXXFLAGS="$CXXFLAGS") 2>&5
25129   ac_status=$?
25130   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25131   test $ac_status = 0; }
25132      ;;
25133 esac
25134
25135 else $as_nop
25136
25137   CXXFLAGS=$flag
25138   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5
25139   (: CXXFLAGS="$CXXFLAGS") 2>&5
25140   ac_status=$?
25141   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25142   test $ac_status = 0; }
25143
25144 fi
25145
25146 else $as_nop
25147   :
25148 fi
25149
25150 done
25151
25152                 ac_ext=c
25153 ac_cpp='$CPP $CPPFLAGS'
25154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25157
25158
25159 fi
25160
25161 common_flags="-Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wundef -Wuninitialized -Winit-self"
25162 common_cflags="${common_flags}"
25163 if test "x$ax_cv_c_compiler_vendor" = "xgnu"
25164 then :
25165
25166                 common_cflags+=" -Wno-format-truncation"
25167
25168 fi
25169 common_cxxflags="${common_flags}"
25170 if test "x$ax_cv_cxx_compiler_vendor" = "xgnu"
25171 then :
25172
25173                 common_cxxflags+=" -Wno-format-truncation"
25174
25175 fi
25176
25177
25178
25179
25180
25181 for flag in ${common_cflags} -Wvla -Wbad-function-cast -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Waggregate-return; do
25182   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
25183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
25184 printf %s "checking whether C compiler accepts $flag... " >&6; }
25185 if eval test \${$as_CACHEVAR+y}
25186 then :
25187   printf %s "(cached) " >&6
25188 else $as_nop
25189
25190   ax_check_save_flags=$CFLAGS
25191   CFLAGS="$CFLAGS  $flag"
25192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25193 /* end confdefs.h.  */
25194
25195 int
25196 main (void)
25197 {
25198
25199   ;
25200   return 0;
25201 }
25202 _ACEOF
25203 if ac_fn_c_try_compile "$LINENO"
25204 then :
25205   eval "$as_CACHEVAR=yes"
25206 else $as_nop
25207   eval "$as_CACHEVAR=no"
25208 fi
25209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25210   CFLAGS=$ax_check_save_flags
25211 fi
25212 eval ac_res=\$$as_CACHEVAR
25213                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25214 printf "%s\n" "$ac_res" >&6; }
25215 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
25216 then :
25217
25218 if test ${CFLAGS+y}
25219 then :
25220
25221   case " $CFLAGS " in #(
25222   *" $flag "*) :
25223     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
25224   (: CFLAGS already contains $flag) 2>&5
25225   ac_status=$?
25226   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25227   test $ac_status = 0; } ;; #(
25228   *) :
25229
25230      as_fn_append CFLAGS " $flag"
25231      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
25232   (: CFLAGS="$CFLAGS") 2>&5
25233   ac_status=$?
25234   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25235   test $ac_status = 0; }
25236      ;;
25237 esac
25238
25239 else $as_nop
25240
25241   CFLAGS=$flag
25242   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
25243   (: CFLAGS="$CFLAGS") 2>&5
25244   ac_status=$?
25245   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25246   test $ac_status = 0; }
25247
25248 fi
25249
25250 else $as_nop
25251   :
25252 fi
25253
25254 done
25255
25256
25257 ac_ext=cpp
25258 ac_cpp='$CXXCPP $CPPFLAGS'
25259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25262
25263
25264
25265
25266
25267 for flag in ${common_cxxflags} -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-promo; do
25268   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cxxflags__$flag" | $as_tr_sh`
25269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5
25270 printf %s "checking whether C++ compiler accepts $flag... " >&6; }
25271 if eval test \${$as_CACHEVAR+y}
25272 then :
25273   printf %s "(cached) " >&6
25274 else $as_nop
25275
25276   ax_check_save_flags=$CXXFLAGS
25277   CXXFLAGS="$CXXFLAGS  $flag"
25278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25279 /* end confdefs.h.  */
25280
25281 int
25282 main (void)
25283 {
25284
25285   ;
25286   return 0;
25287 }
25288 _ACEOF
25289 if ac_fn_cxx_try_compile "$LINENO"
25290 then :
25291   eval "$as_CACHEVAR=yes"
25292 else $as_nop
25293   eval "$as_CACHEVAR=no"
25294 fi
25295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25296   CXXFLAGS=$ax_check_save_flags
25297 fi
25298 eval ac_res=\$$as_CACHEVAR
25299                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25300 printf "%s\n" "$ac_res" >&6; }
25301 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
25302 then :
25303
25304 if test ${CXXFLAGS+y}
25305 then :
25306
25307   case " $CXXFLAGS " in #(
25308   *" $flag "*) :
25309     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$flag"; } >&5
25310   (: CXXFLAGS already contains $flag) 2>&5
25311   ac_status=$?
25312   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25313   test $ac_status = 0; } ;; #(
25314   *) :
25315
25316      as_fn_append CXXFLAGS " $flag"
25317      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5
25318   (: CXXFLAGS="$CXXFLAGS") 2>&5
25319   ac_status=$?
25320   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25321   test $ac_status = 0; }
25322      ;;
25323 esac
25324
25325 else $as_nop
25326
25327   CXXFLAGS=$flag
25328   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5
25329   (: CXXFLAGS="$CXXFLAGS") 2>&5
25330   ac_status=$?
25331   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25332   test $ac_status = 0; }
25333
25334 fi
25335
25336 else $as_nop
25337   :
25338 fi
25339
25340 done
25341
25342 ac_ext=c
25343 ac_cpp='$CPP $CPPFLAGS'
25344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25347
25348
25349 if test "x$enable_test_coverage" = "xyes"
25350 then :
25351
25352
25353
25354
25355
25356 for flag in -coverage; do
25357   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
25358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
25359 printf %s "checking whether C compiler accepts $flag... " >&6; }
25360 if eval test \${$as_CACHEVAR+y}
25361 then :
25362   printf %s "(cached) " >&6
25363 else $as_nop
25364
25365   ax_check_save_flags=$CFLAGS
25366   CFLAGS="$CFLAGS  $flag"
25367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25368 /* end confdefs.h.  */
25369
25370 int
25371 main (void)
25372 {
25373
25374   ;
25375   return 0;
25376 }
25377 _ACEOF
25378 if ac_fn_c_try_compile "$LINENO"
25379 then :
25380   eval "$as_CACHEVAR=yes"
25381 else $as_nop
25382   eval "$as_CACHEVAR=no"
25383 fi
25384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25385   CFLAGS=$ax_check_save_flags
25386 fi
25387 eval ac_res=\$$as_CACHEVAR
25388                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25389 printf "%s\n" "$ac_res" >&6; }
25390 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
25391 then :
25392
25393 if test ${CFLAGS+y}
25394 then :
25395
25396   case " $CFLAGS " in #(
25397   *" $flag "*) :
25398     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
25399   (: CFLAGS already contains $flag) 2>&5
25400   ac_status=$?
25401   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25402   test $ac_status = 0; } ;; #(
25403   *) :
25404
25405      as_fn_append CFLAGS " $flag"
25406      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
25407   (: CFLAGS="$CFLAGS") 2>&5
25408   ac_status=$?
25409   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25410   test $ac_status = 0; }
25411      ;;
25412 esac
25413
25414 else $as_nop
25415
25416   CFLAGS=$flag
25417   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
25418   (: CFLAGS="$CFLAGS") 2>&5
25419   ac_status=$?
25420   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25421   test $ac_status = 0; }
25422
25423 fi
25424
25425 else $as_nop
25426   :
25427 fi
25428
25429 done
25430
25431
25432 fi
25433
25434
25435     ac_save_cflags=$CFLAGS
25436     ac_cwerror_flag=yes
25437     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror" >&5
25438 printf %s "checking whether C compiler accepts -Werror... " >&6; }
25439 if test ${ax_cv_check_cflags___Werror+y}
25440 then :
25441   printf %s "(cached) " >&6
25442 else $as_nop
25443
25444   ax_check_save_flags=$CFLAGS
25445   CFLAGS="$CFLAGS  -Werror"
25446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25447 /* end confdefs.h.  */
25448
25449 int
25450 main (void)
25451 {
25452
25453   ;
25454   return 0;
25455 }
25456 _ACEOF
25457 if ac_fn_c_try_compile "$LINENO"
25458 then :
25459   ax_cv_check_cflags___Werror=yes
25460 else $as_nop
25461   ax_cv_check_cflags___Werror=no
25462 fi
25463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25464   CFLAGS=$ax_check_save_flags
25465 fi
25466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror" >&5
25467 printf "%s\n" "$ax_cv_check_cflags___Werror" >&6; }
25468 if test "x$ax_cv_check_cflags___Werror" = xyes
25469 then :
25470   CFLAGS="$CFLAGS -Werror"
25471 else $as_nop
25472   :
25473 fi
25474
25475     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS" >&5
25476 printf %s "checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... " >&6; }
25477     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25478 /* end confdefs.h.  */
25479
25480
25481 int
25482 main (void)
25483 {
25484
25485                 #ifndef _FORTIFY_SOURCE
25486                     return 0;
25487                 #else
25488                     this_is_an_error;
25489                 #endif
25490
25491
25492   ;
25493   return 0;
25494 }
25495 _ACEOF
25496 if ac_fn_c_try_link "$LINENO"
25497 then :
25498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25499 /* end confdefs.h.  */
25500
25501
25502                 #define _FORTIFY_SOURCE 2
25503                 #include <string.h>
25504                 int main() {
25505                     char *s = " ";
25506                     strcpy(s, "x");
25507                     return strlen(s)-1;
25508                 }
25509
25510
25511 _ACEOF
25512 if ac_fn_c_try_link "$LINENO"
25513 then :
25514
25515               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25516 printf "%s\n" "yes" >&6; }
25517               CFLAGS=$ac_save_cflags
25518               CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
25519
25520 else $as_nop
25521
25522               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25523 printf "%s\n" "no" >&6; }
25524               CFLAGS=$ac_save_cflags
25525
25526 fi
25527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25528     conftest$ac_exeext conftest.$ac_ext
25529 else $as_nop
25530
25531           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25532 printf "%s\n" "no" >&6; }
25533           CFLAGS=$ac_save_cflags
25534
25535 fi
25536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25537     conftest$ac_exeext conftest.$ac_ext
25538
25539
25540 if test "x$ax_cv_c_compiler_vendor" = "xgnu"
25541 then :
25542
25543                                 case $host_os in #(
25544   darwin* | rhapsody*) :
25545
25546                                                                                                 temp_CFLAGS=`echo $CFLAGS | $SED "s/-Wall -pedantic//" | $SED "s/-Wshadow//" | $SED "s/-Waggregate-return//"`
25547                                 CFLAGS=$temp_CFLAGS
25548                                 SHLIB_VERSION_ARG="-Wl,-exported_symbols_list -Wl,\$(top_srcdir)/src/Symbols.darwin" ;; #(
25549   mingw*) :
25550
25551                                 SHLIB_VERSION_ARG="-Wc,-static-libgcc -Wl,\$(top_srcdir)/src/libsndfile-1.def"
25552                                 win32_target_dll=1
25553                                 if test "x$enable_shared" = "xno"
25554 then :
25555
25556                                                 win32_target_dll=0
25557
25558 fi
25559
25560
25561
25562
25563 for flag in -mstackrealign; do
25564   as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
25565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
25566 printf %s "checking whether C compiler accepts $flag... " >&6; }
25567 if eval test \${$as_CACHEVAR+y}
25568 then :
25569   printf %s "(cached) " >&6
25570 else $as_nop
25571
25572   ax_check_save_flags=$CFLAGS
25573   CFLAGS="$CFLAGS  $flag"
25574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25575 /* end confdefs.h.  */
25576
25577 int
25578 main (void)
25579 {
25580
25581   ;
25582   return 0;
25583 }
25584 _ACEOF
25585 if ac_fn_c_try_compile "$LINENO"
25586 then :
25587   eval "$as_CACHEVAR=yes"
25588 else $as_nop
25589   eval "$as_CACHEVAR=no"
25590 fi
25591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25592   CFLAGS=$ax_check_save_flags
25593 fi
25594 eval ac_res=\$$as_CACHEVAR
25595                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25596 printf "%s\n" "$ac_res" >&6; }
25597 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
25598 then :
25599
25600 if test ${CFLAGS+y}
25601 then :
25602
25603   case " $CFLAGS " in #(
25604   *" $flag "*) :
25605     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
25606   (: CFLAGS already contains $flag) 2>&5
25607   ac_status=$?
25608   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25609   test $ac_status = 0; } ;; #(
25610   *) :
25611
25612      as_fn_append CFLAGS " $flag"
25613      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
25614   (: CFLAGS="$CFLAGS") 2>&5
25615   ac_status=$?
25616   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25617   test $ac_status = 0; }
25618      ;;
25619 esac
25620
25621 else $as_nop
25622
25623   CFLAGS=$flag
25624   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
25625   (: CFLAGS="$CFLAGS") 2>&5
25626   ac_status=$?
25627   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25628   test $ac_status = 0; }
25629
25630 fi
25631
25632 else $as_nop
25633   :
25634 fi
25635
25636 done
25637
25638                                  ;; #(
25639   os2*) :
25640
25641                                 SHLIB_VERSION_ARG="-Wl,-export-symbols \$(top_srcdir)/src/Symbols.os2"
25642                          ;; #(
25643   *) :
25644      ;;
25645 esac
25646
25647                 COMPILER_IS_GCC=1
25648
25649 fi
25650
25651 case $host_os in #(
25652   linux*|kfreebsd*-gnu*|gnu*) :
25653     SHLIB_VERSION_ARG="-Wl,--version-script=\$(top_srcdir)/src/Symbols.gnu-binutils" ;; #(
25654   *) :
25655      ;;
25656 esac
25657
25658
25659 printf "%s\n" "#define WIN32_TARGET_DLL ${win32_target_dll}" >>confdefs.h
25660
25661
25662 printf "%s\n" "#define COMPILER_IS_GCC ${COMPILER_IS_GCC}" >>confdefs.h
25663
25664
25665 CFLAGS="$CFLAGS $OS_SPECIFIC_CFLAGS"
25666
25667 if test "x$CFLAGS" = "x"
25668 then :
25669
25670                 as_fn_error $? "\"Error in configure script. CFLAGS has been screwed up.\"" "$LINENO" 5
25671
25672 fi
25673
25674 HOST_TRIPLET="${host_cpu}-${host_vendor}-${host_os}"
25675
25676
25677 printf "%s\n" "#define HOST_TRIPLET ${HOST_TRIPLET}" >>confdefs.h
25678
25679
25680 if test "$HOST_TRIPLET" = "x86_64-w64-mingw32"
25681 then :
25682
25683                 OS_SPECIFIC_LINKS=" -static-libgcc $OS_SPECIFIC_LINKS"
25684
25685 fi
25686
25687 WIN_RC_VERSION=`echo $PACKAGE_VERSION | $SED -e "s/pre.*//" -e "s/beta.*//" -e "s/\./,/g"`
25688
25689
25690 if test "x$enable_static" = "xno"
25691 then :
25692
25693                 SRC_BINDIR=src/.libs/
25694                 TEST_BINDIR=tests/.libs/
25695
25696 else $as_nop
25697
25698                 SRC_BINDIR=src/
25699                 TEST_BINDIR=tests/
25700
25701 fi
25702
25703
25704
25705
25706
25707
25708
25709
25710 SHARED_VERSION_INFO=1:37:0
25711
25712 ABI_VERSION=1.0.37
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738 ac_config_files="$ac_config_files Makefile Octave/Makefile src/version-metadata.rc tests/test_wrapper.sh tests/pedantic-header-test.sh sndfile.pc Scripts/build-test-tarball.mk"
25739
25740 cat >confcache <<\_ACEOF
25741 # This file is a shell script that caches the results of configure
25742 # tests run on this system so they can be shared between configure
25743 # scripts and configure runs, see configure's option --config-cache.
25744 # It is not useful on other systems.  If it contains results you don't
25745 # want to keep, you may remove or edit it.
25746 #
25747 # config.status only pays attention to the cache file if you give it
25748 # the --recheck option to rerun configure.
25749 #
25750 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25751 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25752 # following values.
25753
25754 _ACEOF
25755
25756 # The following way of writing the cache mishandles newlines in values,
25757 # but we know of no workaround that is simple, portable, and efficient.
25758 # So, we kill variables containing newlines.
25759 # Ultrix sh set writes to stderr and can't be redirected directly,
25760 # and sets the high bit in the cache file unless we assign to the vars.
25761 (
25762   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25763     eval ac_val=\$$ac_var
25764     case $ac_val in #(
25765     *${as_nl}*)
25766       case $ac_var in #(
25767       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25768 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25769       esac
25770       case $ac_var in #(
25771       _ | IFS | as_nl) ;; #(
25772       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25773       *) { eval $ac_var=; unset $ac_var;} ;;
25774       esac ;;
25775     esac
25776   done
25777
25778   (set) 2>&1 |
25779     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25780     *${as_nl}ac_space=\ *)
25781       # `set' does not quote correctly, so add quotes: double-quote
25782       # substitution turns \\\\ into \\, and sed turns \\ into \.
25783       sed -n \
25784         "s/'/'\\\\''/g;
25785           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25786       ;; #(
25787     *)
25788       # `set' quotes correctly as required by POSIX, so do not add quotes.
25789       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25790       ;;
25791     esac |
25792     sort
25793 ) |
25794   sed '
25795      /^ac_cv_env_/b end
25796      t clear
25797      :clear
25798      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
25799      t end
25800      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25801      :end' >>confcache
25802 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25803   if test -w "$cache_file"; then
25804     if test "x$cache_file" != "x/dev/null"; then
25805       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25806 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
25807       if test ! -f "$cache_file" || test -h "$cache_file"; then
25808         cat confcache >"$cache_file"
25809       else
25810         case $cache_file in #(
25811         */* | ?:*)
25812           mv -f confcache "$cache_file"$$ &&
25813           mv -f "$cache_file"$$ "$cache_file" ;; #(
25814         *)
25815           mv -f confcache "$cache_file" ;;
25816         esac
25817       fi
25818     fi
25819   else
25820     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25821 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
25822   fi
25823 fi
25824 rm -f confcache
25825
25826 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25827 # Let make expand exec_prefix.
25828 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25829
25830 DEFS=-DHAVE_CONFIG_H
25831
25832 ac_libobjs=
25833 ac_ltlibobjs=
25834 U=
25835 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25836   # 1. Remove the extension, and $U if already installed.
25837   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25838   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
25839   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25840   #    will be set to the directory where LIBOBJS objects are built.
25841   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25842   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25843 done
25844 LIBOBJS=$ac_libobjs
25845
25846 LTLIBOBJS=$ac_ltlibobjs
25847
25848
25849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
25850 printf %s "checking that generated files are newer than configure... " >&6; }
25851    if test -n "$am_sleep_pid"; then
25852      # Hide warnings about reused PIDs.
25853      wait $am_sleep_pid 2>/dev/null
25854    fi
25855    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
25856 printf "%s\n" "done" >&6; }
25857  if test -n "$EXEEXT"; then
25858   am__EXEEXT_TRUE=
25859   am__EXEEXT_FALSE='#'
25860 else
25861   am__EXEEXT_TRUE='#'
25862   am__EXEEXT_FALSE=
25863 fi
25864
25865 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25866   as_fn_error $? "conditional \"AMDEP\" was never defined.
25867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25868 fi
25869 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25870   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25872 fi
25873 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25874   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
25875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25876 fi
25877 if test -z "${LINUX_MINGW_CROSS_TEST_TRUE}" && test -z "${LINUX_MINGW_CROSS_TEST_FALSE}"; then
25878   as_fn_error $? "conditional \"LINUX_MINGW_CROSS_TEST\" was never defined.
25879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25880 fi
25881 if test -z "${FULL_SUITE_TRUE}" && test -z "${FULL_SUITE_FALSE}"; then
25882   as_fn_error $? "conditional \"FULL_SUITE\" was never defined.
25883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25884 fi
25885 if test -z "${ENABLE_TEST_COVERAGE_TRUE}" && test -z "${ENABLE_TEST_COVERAGE_FALSE}"; then
25886   as_fn_error $? "conditional \"ENABLE_TEST_COVERAGE\" was never defined.
25887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25888 fi
25889 if test -z "${USE_OSSFUZZERS_TRUE}" && test -z "${USE_OSSFUZZERS_FALSE}"; then
25890   as_fn_error $? "conditional \"USE_OSSFUZZERS\" was never defined.
25891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25892 fi
25893 if test -z "${USE_OSSFUZZ_FLAG_TRUE}" && test -z "${USE_OSSFUZZ_FLAG_FALSE}"; then
25894   as_fn_error $? "conditional \"USE_OSSFUZZ_FLAG\" was never defined.
25895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25896 fi
25897 if test -z "${USE_OSSFUZZ_STATIC_TRUE}" && test -z "${USE_OSSFUZZ_STATIC_FALSE}"; then
25898   as_fn_error $? "conditional \"USE_OSSFUZZ_STATIC\" was never defined.
25899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25900 fi
25901
25902 if test -z "${BUILD_OCTAVE_MOD_TRUE}" && test -z "${BUILD_OCTAVE_MOD_FALSE}"; then
25903   as_fn_error $? "conditional \"BUILD_OCTAVE_MOD\" was never defined.
25904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25905 fi
25906 if test -z "${BUILD_OCTAVE_MOD_TRUE}" && test -z "${BUILD_OCTAVE_MOD_FALSE}"; then
25907   as_fn_error $? "conditional \"BUILD_OCTAVE_MOD\" was never defined.
25908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25909 fi
25910 if test -z "${BUILD_OCTAVE_MOD_TRUE}" && test -z "${BUILD_OCTAVE_MOD_FALSE}"; then
25911   as_fn_error $? "conditional \"BUILD_OCTAVE_MOD\" was never defined.
25912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25913 fi
25914 if test -z "${HAVE_SQLITE3_TRUE}" && test -z "${HAVE_SQLITE3_FALSE}"; then
25915   as_fn_error $? "conditional \"HAVE_SQLITE3\" was never defined.
25916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25917 fi
25918 if test -z "${USE_WIN_VERSION_FILE_TRUE}" && test -z "${USE_WIN_VERSION_FILE_FALSE}"; then
25919   as_fn_error $? "conditional \"USE_WIN_VERSION_FILE\" was never defined.
25920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25921 fi
25922
25923 : "${CONFIG_STATUS=./config.status}"
25924 ac_write_fail=0
25925 ac_clean_files_save=$ac_clean_files
25926 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25928 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
25929 as_write_fail=0
25930 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25931 #! $SHELL
25932 # Generated by $as_me.
25933 # Run this file to recreate the current configuration.
25934 # Compiler output produced by configure, useful for debugging
25935 # configure, is in config.log if it exists.
25936
25937 debug=false
25938 ac_cs_recheck=false
25939 ac_cs_silent=false
25940
25941 SHELL=\${CONFIG_SHELL-$SHELL}
25942 export SHELL
25943 _ASEOF
25944 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25945 ## -------------------- ##
25946 ## M4sh Initialization. ##
25947 ## -------------------- ##
25948
25949 # Be more Bourne compatible
25950 DUALCASE=1; export DUALCASE # for MKS sh
25951 as_nop=:
25952 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
25953 then :
25954   emulate sh
25955   NULLCMD=:
25956   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25957   # is contrary to our usage.  Disable this feature.
25958   alias -g '${1+"$@"}'='"$@"'
25959   setopt NO_GLOB_SUBST
25960 else $as_nop
25961   case `(set -o) 2>/dev/null` in #(
25962   *posix*) :
25963     set -o posix ;; #(
25964   *) :
25965      ;;
25966 esac
25967 fi
25968
25969
25970
25971 # Reset variables that may have inherited troublesome values from
25972 # the environment.
25973
25974 # IFS needs to be set, to space, tab, and newline, in precisely that order.
25975 # (If _AS_PATH_WALK were called with IFS unset, it would have the
25976 # side effect of setting IFS to empty, thus disabling word splitting.)
25977 # Quoting is to prevent editors from complaining about space-tab.
25978 as_nl='
25979 '
25980 export as_nl
25981 IFS=" ""        $as_nl"
25982
25983 PS1='$ '
25984 PS2='> '
25985 PS4='+ '
25986
25987 # Ensure predictable behavior from utilities with locale-dependent output.
25988 LC_ALL=C
25989 export LC_ALL
25990 LANGUAGE=C
25991 export LANGUAGE
25992
25993 # We cannot yet rely on "unset" to work, but we need these variables
25994 # to be unset--not just set to an empty or harmless value--now, to
25995 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
25996 # also avoids known problems related to "unset" and subshell syntax
25997 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
25998 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
25999 do eval test \${$as_var+y} \
26000   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26001 done
26002
26003 # Ensure that fds 0, 1, and 2 are open.
26004 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
26005 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
26006 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
26007
26008 # The user is always right.
26009 if ${PATH_SEPARATOR+false} :; then
26010   PATH_SEPARATOR=:
26011   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26012     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26013       PATH_SEPARATOR=';'
26014   }
26015 fi
26016
26017
26018 # Find who we are.  Look in the path if we contain no directory separator.
26019 as_myself=
26020 case $0 in #((
26021   *[\\/]* ) as_myself=$0 ;;
26022   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26023 for as_dir in $PATH
26024 do
26025   IFS=$as_save_IFS
26026   case $as_dir in #(((
26027     '') as_dir=./ ;;
26028     */) ;;
26029     *) as_dir=$as_dir/ ;;
26030   esac
26031     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
26032   done
26033 IFS=$as_save_IFS
26034
26035      ;;
26036 esac
26037 # We did not find ourselves, most probably we were run as `sh COMMAND'
26038 # in which case we are not to be found in the path.
26039 if test "x$as_myself" = x; then
26040   as_myself=$0
26041 fi
26042 if test ! -f "$as_myself"; then
26043   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26044   exit 1
26045 fi
26046
26047
26048
26049 # as_fn_error STATUS ERROR [LINENO LOG_FD]
26050 # ----------------------------------------
26051 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26052 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26053 # script with STATUS, using 1 if that was 0.
26054 as_fn_error ()
26055 {
26056   as_status=$1; test $as_status -eq 0 && as_status=1
26057   if test "$4"; then
26058     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26059     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
26060   fi
26061   printf "%s\n" "$as_me: error: $2" >&2
26062   as_fn_exit $as_status
26063 } # as_fn_error
26064
26065
26066
26067 # as_fn_set_status STATUS
26068 # -----------------------
26069 # Set $? to STATUS, without forking.
26070 as_fn_set_status ()
26071 {
26072   return $1
26073 } # as_fn_set_status
26074
26075 # as_fn_exit STATUS
26076 # -----------------
26077 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26078 as_fn_exit ()
26079 {
26080   set +e
26081   as_fn_set_status $1
26082   exit $1
26083 } # as_fn_exit
26084
26085 # as_fn_unset VAR
26086 # ---------------
26087 # Portably unset VAR.
26088 as_fn_unset ()
26089 {
26090   { eval $1=; unset $1;}
26091 }
26092 as_unset=as_fn_unset
26093
26094 # as_fn_append VAR VALUE
26095 # ----------------------
26096 # Append the text in VALUE to the end of the definition contained in VAR. Take
26097 # advantage of any shell optimizations that allow amortized linear growth over
26098 # repeated appends, instead of the typical quadratic growth present in naive
26099 # implementations.
26100 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
26101 then :
26102   eval 'as_fn_append ()
26103   {
26104     eval $1+=\$2
26105   }'
26106 else $as_nop
26107   as_fn_append ()
26108   {
26109     eval $1=\$$1\$2
26110   }
26111 fi # as_fn_append
26112
26113 # as_fn_arith ARG...
26114 # ------------------
26115 # Perform arithmetic evaluation on the ARGs, and store the result in the
26116 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26117 # must be portable across $(()) and expr.
26118 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
26119 then :
26120   eval 'as_fn_arith ()
26121   {
26122     as_val=$(( $* ))
26123   }'
26124 else $as_nop
26125   as_fn_arith ()
26126   {
26127     as_val=`expr "$@" || test $? -eq 1`
26128   }
26129 fi # as_fn_arith
26130
26131
26132 if expr a : '\(a\)' >/dev/null 2>&1 &&
26133    test "X`expr 00001 : '.*\(...\)'`" = X001; then
26134   as_expr=expr
26135 else
26136   as_expr=false
26137 fi
26138
26139 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26140   as_basename=basename
26141 else
26142   as_basename=false
26143 fi
26144
26145 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26146   as_dirname=dirname
26147 else
26148   as_dirname=false
26149 fi
26150
26151 as_me=`$as_basename -- "$0" ||
26152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26153          X"$0" : 'X\(//\)$' \| \
26154          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26155 printf "%s\n" X/"$0" |
26156     sed '/^.*\/\([^/][^/]*\)\/*$/{
26157             s//\1/
26158             q
26159           }
26160           /^X\/\(\/\/\)$/{
26161             s//\1/
26162             q
26163           }
26164           /^X\/\(\/\).*/{
26165             s//\1/
26166             q
26167           }
26168           s/.*/./; q'`
26169
26170 # Avoid depending upon Character Ranges.
26171 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26172 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26173 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26174 as_cr_digits='0123456789'
26175 as_cr_alnum=$as_cr_Letters$as_cr_digits
26176
26177
26178 # Determine whether it's possible to make 'echo' print without a newline.
26179 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
26180 # for compatibility with existing Makefiles.
26181 ECHO_C= ECHO_N= ECHO_T=
26182 case `echo -n x` in #(((((
26183 -n*)
26184   case `echo 'xy\c'` in
26185   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
26186   xy)  ECHO_C='\c';;
26187   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
26188        ECHO_T=' ';;
26189   esac;;
26190 *)
26191   ECHO_N='-n';;
26192 esac
26193
26194 # For backward compatibility with old third-party macros, we provide
26195 # the shell variables $as_echo and $as_echo_n.  New code should use
26196 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
26197 as_echo='printf %s\n'
26198 as_echo_n='printf %s'
26199
26200 rm -f conf$$ conf$$.exe conf$$.file
26201 if test -d conf$$.dir; then
26202   rm -f conf$$.dir/conf$$.file
26203 else
26204   rm -f conf$$.dir
26205   mkdir conf$$.dir 2>/dev/null
26206 fi
26207 if (echo >conf$$.file) 2>/dev/null; then
26208   if ln -s conf$$.file conf$$ 2>/dev/null; then
26209     as_ln_s='ln -s'
26210     # ... but there are two gotchas:
26211     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26212     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26213     # In both cases, we have to default to `cp -pR'.
26214     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26215       as_ln_s='cp -pR'
26216   elif ln conf$$.file conf$$ 2>/dev/null; then
26217     as_ln_s=ln
26218   else
26219     as_ln_s='cp -pR'
26220   fi
26221 else
26222   as_ln_s='cp -pR'
26223 fi
26224 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26225 rmdir conf$$.dir 2>/dev/null
26226
26227
26228 # as_fn_mkdir_p
26229 # -------------
26230 # Create "$as_dir" as a directory, including parents if necessary.
26231 as_fn_mkdir_p ()
26232 {
26233
26234   case $as_dir in #(
26235   -*) as_dir=./$as_dir;;
26236   esac
26237   test -d "$as_dir" || eval $as_mkdir_p || {
26238     as_dirs=
26239     while :; do
26240       case $as_dir in #(
26241       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26242       *) as_qdir=$as_dir;;
26243       esac
26244       as_dirs="'$as_qdir' $as_dirs"
26245       as_dir=`$as_dirname -- "$as_dir" ||
26246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26247          X"$as_dir" : 'X\(//\)[^/]' \| \
26248          X"$as_dir" : 'X\(//\)$' \| \
26249          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26250 printf "%s\n" X"$as_dir" |
26251     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26252             s//\1/
26253             q
26254           }
26255           /^X\(\/\/\)[^/].*/{
26256             s//\1/
26257             q
26258           }
26259           /^X\(\/\/\)$/{
26260             s//\1/
26261             q
26262           }
26263           /^X\(\/\).*/{
26264             s//\1/
26265             q
26266           }
26267           s/.*/./; q'`
26268       test -d "$as_dir" && break
26269     done
26270     test -z "$as_dirs" || eval "mkdir $as_dirs"
26271   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
26272
26273
26274 } # as_fn_mkdir_p
26275 if mkdir -p . 2>/dev/null; then
26276   as_mkdir_p='mkdir -p "$as_dir"'
26277 else
26278   test -d ./-p && rmdir ./-p
26279   as_mkdir_p=false
26280 fi
26281
26282
26283 # as_fn_executable_p FILE
26284 # -----------------------
26285 # Test if FILE is an executable regular file.
26286 as_fn_executable_p ()
26287 {
26288   test -f "$1" && test -x "$1"
26289 } # as_fn_executable_p
26290 as_test_x='test -x'
26291 as_executable_p=as_fn_executable_p
26292
26293 # Sed expression to map a string onto a valid CPP name.
26294 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26295
26296 # Sed expression to map a string onto a valid variable name.
26297 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26298
26299
26300 exec 6>&1
26301 ## ----------------------------------- ##
26302 ## Main body of $CONFIG_STATUS script. ##
26303 ## ----------------------------------- ##
26304 _ASEOF
26305 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26306
26307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26308 # Save the log message, to keep $0 and so on meaningful, and to
26309 # report actual input values of CONFIG_FILES etc. instead of their
26310 # values after options handling.
26311 ac_log="
26312 This file was extended by libsndfile $as_me 1.2.2, which was
26313 generated by GNU Autoconf 2.71.  Invocation command line was
26314
26315   CONFIG_FILES    = $CONFIG_FILES
26316   CONFIG_HEADERS  = $CONFIG_HEADERS
26317   CONFIG_LINKS    = $CONFIG_LINKS
26318   CONFIG_COMMANDS = $CONFIG_COMMANDS
26319   $ $0 $@
26320
26321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26322 "
26323
26324 _ACEOF
26325
26326 case $ac_config_files in *"
26327 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26328 esac
26329
26330 case $ac_config_headers in *"
26331 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26332 esac
26333
26334
26335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26336 # Files that config.status was made for.
26337 config_files="$ac_config_files"
26338 config_headers="$ac_config_headers"
26339 config_commands="$ac_config_commands"
26340
26341 _ACEOF
26342
26343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26344 ac_cs_usage="\
26345 \`$as_me' instantiates files and other configuration actions
26346 from templates according to the current configuration.  Unless the files
26347 and actions are specified as TAGs, all are instantiated by default.
26348
26349 Usage: $0 [OPTION]... [TAG]...
26350
26351   -h, --help       print this help, then exit
26352   -V, --version    print version number and configuration settings, then exit
26353       --config     print configuration, then exit
26354   -q, --quiet, --silent
26355                    do not print progress messages
26356   -d, --debug      don't remove temporary files
26357       --recheck    update $as_me by reconfiguring in the same conditions
26358       --file=FILE[:TEMPLATE]
26359                    instantiate the configuration file FILE
26360       --header=FILE[:TEMPLATE]
26361                    instantiate the configuration header FILE
26362
26363 Configuration files:
26364 $config_files
26365
26366 Configuration headers:
26367 $config_headers
26368
26369 Configuration commands:
26370 $config_commands
26371
26372 Report bugs to <sndfile@mega-nerd.com>.
26373 libsndfile home page: <http://libsndfile.github.io/libsndfile/>."
26374
26375 _ACEOF
26376 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
26377 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
26378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26379 ac_cs_config='$ac_cs_config_escaped'
26380 ac_cs_version="\\
26381 libsndfile config.status 1.2.2
26382 configured by $0, generated by GNU Autoconf 2.71,
26383   with options \\"\$ac_cs_config\\"
26384
26385 Copyright (C) 2021 Free Software Foundation, Inc.
26386 This config.status script is free software; the Free Software Foundation
26387 gives unlimited permission to copy, distribute and modify it."
26388
26389 ac_pwd='$ac_pwd'
26390 srcdir='$srcdir'
26391 INSTALL='$INSTALL'
26392 MKDIR_P='$MKDIR_P'
26393 AWK='$AWK'
26394 test -n "\$AWK" || AWK=awk
26395 _ACEOF
26396
26397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26398 # The default lists apply if the user does not specify any file.
26399 ac_need_defaults=:
26400 while test $# != 0
26401 do
26402   case $1 in
26403   --*=?*)
26404     ac_option=`expr "X$1" : 'X\([^=]*\)='`
26405     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26406     ac_shift=:
26407     ;;
26408   --*=)
26409     ac_option=`expr "X$1" : 'X\([^=]*\)='`
26410     ac_optarg=
26411     ac_shift=:
26412     ;;
26413   *)
26414     ac_option=$1
26415     ac_optarg=$2
26416     ac_shift=shift
26417     ;;
26418   esac
26419
26420   case $ac_option in
26421   # Handling of the options.
26422   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26423     ac_cs_recheck=: ;;
26424   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26425     printf "%s\n" "$ac_cs_version"; exit ;;
26426   --config | --confi | --conf | --con | --co | --c )
26427     printf "%s\n" "$ac_cs_config"; exit ;;
26428   --debug | --debu | --deb | --de | --d | -d )
26429     debug=: ;;
26430   --file | --fil | --fi | --f )
26431     $ac_shift
26432     case $ac_optarg in
26433     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26434     '') as_fn_error $? "missing file argument" ;;
26435     esac
26436     as_fn_append CONFIG_FILES " '$ac_optarg'"
26437     ac_need_defaults=false;;
26438   --header | --heade | --head | --hea )
26439     $ac_shift
26440     case $ac_optarg in
26441     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26442     esac
26443     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26444     ac_need_defaults=false;;
26445   --he | --h)
26446     # Conflict between --help and --header
26447     as_fn_error $? "ambiguous option: \`$1'
26448 Try \`$0 --help' for more information.";;
26449   --help | --hel | -h )
26450     printf "%s\n" "$ac_cs_usage"; exit ;;
26451   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26452   | -silent | --silent | --silen | --sile | --sil | --si | --s)
26453     ac_cs_silent=: ;;
26454
26455   # This is an error.
26456   -*) as_fn_error $? "unrecognized option: \`$1'
26457 Try \`$0 --help' for more information." ;;
26458
26459   *) as_fn_append ac_config_targets " $1"
26460      ac_need_defaults=false ;;
26461
26462   esac
26463   shift
26464 done
26465
26466 ac_configure_extra_args=
26467
26468 if $ac_cs_silent; then
26469   exec 6>/dev/null
26470   ac_configure_extra_args="$ac_configure_extra_args --silent"
26471 fi
26472
26473 _ACEOF
26474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26475 if \$ac_cs_recheck; then
26476   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26477   shift
26478   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
26479   CONFIG_SHELL='$SHELL'
26480   export CONFIG_SHELL
26481   exec "\$@"
26482 fi
26483
26484 _ACEOF
26485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26486 exec 5>>config.log
26487 {
26488   echo
26489   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26490 ## Running $as_me. ##
26491 _ASBOX
26492   printf "%s\n" "$ac_log"
26493 } >&5
26494
26495 _ACEOF
26496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26497 #
26498 # INIT-COMMANDS
26499 #
26500 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
26501
26502
26503 # The HP-UX ksh and POSIX shell print the target directory to stdout
26504 # if CDPATH is set.
26505 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26506
26507 sed_quote_subst='$sed_quote_subst'
26508 double_quote_subst='$double_quote_subst'
26509 delay_variable_subst='$delay_variable_subst'
26510 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26511 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26512 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26513 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
26514 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
26515 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26516 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26517 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26518 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26519 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
26520 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26521 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26522 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26523 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26524 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26525 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26526 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26527 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26528 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26529 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26530 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26531 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26532 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26533 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26534 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26535 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26536 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26537 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26538 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26539 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26540 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26541 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26542 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26543 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
26544 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
26545 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26546 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26547 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
26548 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26549 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26550 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
26551 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
26552 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
26553 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26554 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
26555 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26556 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
26557 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26558 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26559 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26560 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26561 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26562 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26563 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26564 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26565 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26566 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26567 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26568 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26569 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
26570 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26571 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"`'
26572 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
26573 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
26574 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
26575 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
26576 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26577 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26578 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26579 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26580 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26581 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26582 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26583 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26584 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
26585 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26586 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26587 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26588 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26589 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26590 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26591 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26592 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26593 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26594 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26595 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26596 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26597 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26598 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26599 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26600 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26601 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26602 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26603 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26604 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26605 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26606 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26607 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26608 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26609 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26610 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26611 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26612 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26613 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26614 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26615 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26616 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26617 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26618 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26619 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26620 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26621 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
26622 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26623 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26624 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26625 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26626 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26627 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26628 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26629 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26630 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26631 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26632 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26633 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26634 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26635 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26636 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26637 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26638 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26639 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26640 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
26641 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
26642 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26643 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26644 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26645 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26646 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26647 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26648 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26649 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26650 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26651 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26652 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26653 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26654 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26655 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
26656 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26657 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
26658 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26659 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
26660 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26661 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
26662 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26663 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
26664 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26665 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
26666 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26667 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
26668 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26669 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
26670 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26671 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
26672 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26673 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
26674 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26675 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
26676 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26677 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
26678 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26679 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
26680 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26681 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
26682 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26683 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
26684 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26685 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
26686 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26687 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
26688 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26689 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
26690 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26691 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
26692 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26693 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
26694 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26695 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
26696 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26697 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
26698 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26699 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
26700 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26701 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
26702 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26703 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
26704 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26705 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
26706 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26707 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
26708 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26709 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
26710 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26711 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
26712 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26713 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
26714 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26715 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
26716 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26717 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
26718 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26719 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
26720 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26721 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
26722 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26723 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
26724 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26725 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
26726 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26727 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
26728 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26729 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
26730 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26731 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
26732 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26733 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
26734 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26735 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
26736 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26737 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
26738 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26739 compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`'
26740 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26741 predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`'
26742 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26743 postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`'
26744 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26745 predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`'
26746 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26747 postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`'
26748 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26749 compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`'
26750
26751 LTCC='$LTCC'
26752 LTCFLAGS='$LTCFLAGS'
26753 compiler='$compiler_DEFAULT'
26754
26755 # A function that is used when there is no print builtin or printf.
26756 func_fallback_echo ()
26757 {
26758   eval 'cat <<_LTECHO_EOF
26759 \$1
26760 _LTECHO_EOF'
26761 }
26762
26763 # Quote evaled strings.
26764 for var in AS \
26765 DLLTOOL \
26766 OBJDUMP \
26767 SHELL \
26768 ECHO \
26769 PATH_SEPARATOR \
26770 SED \
26771 GREP \
26772 EGREP \
26773 FGREP \
26774 LD \
26775 NM \
26776 LN_S \
26777 lt_SP2NL \
26778 lt_NL2SP \
26779 reload_flag \
26780 FILECMD \
26781 deplibs_check_method \
26782 file_magic_cmd \
26783 file_magic_glob \
26784 want_nocaseglob \
26785 sharedlib_from_linklib_cmd \
26786 AR \
26787 archiver_list_spec \
26788 STRIP \
26789 RANLIB \
26790 CC \
26791 CFLAGS \
26792 compiler \
26793 lt_cv_sys_global_symbol_pipe \
26794 lt_cv_sys_global_symbol_to_cdecl \
26795 lt_cv_sys_global_symbol_to_import \
26796 lt_cv_sys_global_symbol_to_c_name_address \
26797 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26798 lt_cv_nm_interface \
26799 nm_file_list_spec \
26800 lt_cv_truncate_bin \
26801 lt_prog_compiler_no_builtin_flag \
26802 lt_prog_compiler_pic \
26803 lt_prog_compiler_wl \
26804 lt_prog_compiler_static \
26805 lt_cv_prog_compiler_c_o \
26806 need_locks \
26807 MANIFEST_TOOL \
26808 DSYMUTIL \
26809 NMEDIT \
26810 LIPO \
26811 OTOOL \
26812 OTOOL64 \
26813 shrext_cmds \
26814 export_dynamic_flag_spec \
26815 whole_archive_flag_spec \
26816 compiler_needs_object \
26817 with_gnu_ld \
26818 allow_undefined_flag \
26819 no_undefined_flag \
26820 hardcode_libdir_flag_spec \
26821 hardcode_libdir_separator \
26822 exclude_expsyms \
26823 include_expsyms \
26824 file_list_spec \
26825 variables_saved_for_relink \
26826 libname_spec \
26827 library_names_spec \
26828 soname_spec \
26829 install_override_mode \
26830 finish_eval \
26831 old_striplib \
26832 striplib \
26833 compiler_lib_search_dirs \
26834 predep_objects \
26835 postdep_objects \
26836 predeps \
26837 postdeps \
26838 compiler_lib_search_path \
26839 LD_CXX \
26840 LD_RC \
26841 reload_flag_CXX \
26842 reload_flag_RC \
26843 compiler_CXX \
26844 compiler_RC \
26845 lt_prog_compiler_no_builtin_flag_CXX \
26846 lt_prog_compiler_no_builtin_flag_RC \
26847 lt_prog_compiler_pic_CXX \
26848 lt_prog_compiler_pic_RC \
26849 lt_prog_compiler_wl_CXX \
26850 lt_prog_compiler_wl_RC \
26851 lt_prog_compiler_static_CXX \
26852 lt_prog_compiler_static_RC \
26853 lt_cv_prog_compiler_c_o_CXX \
26854 lt_cv_prog_compiler_c_o_RC \
26855 export_dynamic_flag_spec_CXX \
26856 export_dynamic_flag_spec_RC \
26857 whole_archive_flag_spec_CXX \
26858 whole_archive_flag_spec_RC \
26859 compiler_needs_object_CXX \
26860 compiler_needs_object_RC \
26861 with_gnu_ld_CXX \
26862 with_gnu_ld_RC \
26863 allow_undefined_flag_CXX \
26864 allow_undefined_flag_RC \
26865 no_undefined_flag_CXX \
26866 no_undefined_flag_RC \
26867 hardcode_libdir_flag_spec_CXX \
26868 hardcode_libdir_flag_spec_RC \
26869 hardcode_libdir_separator_CXX \
26870 hardcode_libdir_separator_RC \
26871 exclude_expsyms_CXX \
26872 exclude_expsyms_RC \
26873 include_expsyms_CXX \
26874 include_expsyms_RC \
26875 file_list_spec_CXX \
26876 file_list_spec_RC \
26877 compiler_lib_search_dirs_CXX \
26878 compiler_lib_search_dirs_RC \
26879 predep_objects_CXX \
26880 predep_objects_RC \
26881 postdep_objects_CXX \
26882 postdep_objects_RC \
26883 predeps_CXX \
26884 predeps_RC \
26885 postdeps_CXX \
26886 postdeps_RC \
26887 compiler_lib_search_path_CXX \
26888 compiler_lib_search_path_RC; do
26889     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26890     *[\\\\\\\`\\"\\\$]*)
26891       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
26892       ;;
26893     *)
26894       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26895       ;;
26896     esac
26897 done
26898
26899 # Double-quote double-evaled strings.
26900 for var in reload_cmds \
26901 old_postinstall_cmds \
26902 old_postuninstall_cmds \
26903 old_archive_cmds \
26904 extract_expsyms_cmds \
26905 old_archive_from_new_cmds \
26906 old_archive_from_expsyms_cmds \
26907 archive_cmds \
26908 archive_expsym_cmds \
26909 module_cmds \
26910 module_expsym_cmds \
26911 export_symbols_cmds \
26912 prelink_cmds \
26913 postlink_cmds \
26914 postinstall_cmds \
26915 postuninstall_cmds \
26916 finish_cmds \
26917 sys_lib_search_path_spec \
26918 configure_time_dlsearch_path \
26919 configure_time_lt_sys_library_path \
26920 reload_cmds_CXX \
26921 reload_cmds_RC \
26922 old_archive_cmds_CXX \
26923 old_archive_cmds_RC \
26924 old_archive_from_new_cmds_CXX \
26925 old_archive_from_new_cmds_RC \
26926 old_archive_from_expsyms_cmds_CXX \
26927 old_archive_from_expsyms_cmds_RC \
26928 archive_cmds_CXX \
26929 archive_cmds_RC \
26930 archive_expsym_cmds_CXX \
26931 archive_expsym_cmds_RC \
26932 module_cmds_CXX \
26933 module_cmds_RC \
26934 module_expsym_cmds_CXX \
26935 module_expsym_cmds_RC \
26936 export_symbols_cmds_CXX \
26937 export_symbols_cmds_RC \
26938 prelink_cmds_CXX \
26939 prelink_cmds_RC \
26940 postlink_cmds_CXX \
26941 postlink_cmds_RC; do
26942     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26943     *[\\\\\\\`\\"\\\$]*)
26944       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
26945       ;;
26946     *)
26947       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26948       ;;
26949     esac
26950 done
26951
26952 ac_aux_dir='$ac_aux_dir'
26953
26954 # See if we are running on zsh, and set the options that allow our
26955 # commands through without removal of \ escapes INIT.
26956 if test -n "\${ZSH_VERSION+set}"; then
26957    setopt NO_GLOB_SUBST
26958 fi
26959
26960
26961     PACKAGE='$PACKAGE'
26962     VERSION='$VERSION'
26963     RM='$RM'
26964     ofile='$ofile'
26965
26966
26967
26968
26969
26970
26971
26972
26973 _ACEOF
26974
26975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26976
26977 # Handling of arguments.
26978 for ac_config_target in $ac_config_targets
26979 do
26980   case $ac_config_target in
26981     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
26982     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26983     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26984     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26985     "Octave/Makefile") CONFIG_FILES="$CONFIG_FILES Octave/Makefile" ;;
26986     "src/version-metadata.rc") CONFIG_FILES="$CONFIG_FILES src/version-metadata.rc" ;;
26987     "tests/test_wrapper.sh") CONFIG_FILES="$CONFIG_FILES tests/test_wrapper.sh" ;;
26988     "tests/pedantic-header-test.sh") CONFIG_FILES="$CONFIG_FILES tests/pedantic-header-test.sh" ;;
26989     "sndfile.pc") CONFIG_FILES="$CONFIG_FILES sndfile.pc" ;;
26990     "Scripts/build-test-tarball.mk") CONFIG_FILES="$CONFIG_FILES Scripts/build-test-tarball.mk" ;;
26991
26992   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26993   esac
26994 done
26995
26996
26997 # If the user did not use the arguments to specify the items to instantiate,
26998 # then the envvar interface is used.  Set only those that are not.
26999 # We use the long form for the default assignment because of an extremely
27000 # bizarre bug on SunOS 4.1.3.
27001 if $ac_need_defaults; then
27002   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
27003   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
27004   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
27005 fi
27006
27007 # Have a temporary directory for convenience.  Make it in the build tree
27008 # simply because there is no reason against having it here, and in addition,
27009 # creating and moving files from /tmp can sometimes cause problems.
27010 # Hook for its removal unless debugging.
27011 # Note that there is a small window in which the directory will not be cleaned:
27012 # after its creation but before its name has been assigned to `$tmp'.
27013 $debug ||
27014 {
27015   tmp= ac_tmp=
27016   trap 'exit_status=$?
27017   : "${ac_tmp:=$tmp}"
27018   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
27019 ' 0
27020   trap 'as_fn_exit 1' 1 2 13 15
27021 }
27022 # Create a (secure) tmp directory for tmp files.
27023
27024 {
27025   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27026   test -d "$tmp"
27027 }  ||
27028 {
27029   tmp=./conf$$-$RANDOM
27030   (umask 077 && mkdir "$tmp")
27031 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
27032 ac_tmp=$tmp
27033
27034 # Set up the scripts for CONFIG_FILES section.
27035 # No need to generate them if there are no CONFIG_FILES.
27036 # This happens for instance with `./config.status config.h'.
27037 if test -n "$CONFIG_FILES"; then
27038
27039
27040 ac_cr=`echo X | tr X '\015'`
27041 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27042 # But we know of no other shell where ac_cr would be empty at this
27043 # point, so we can use a bashism as a fallback.
27044 if test "x$ac_cr" = x; then
27045   eval ac_cr=\$\'\\r\'
27046 fi
27047 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27048 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27049   ac_cs_awk_cr='\\r'
27050 else
27051   ac_cs_awk_cr=$ac_cr
27052 fi
27053
27054 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
27055 _ACEOF
27056
27057
27058 {
27059   echo "cat >conf$$subs.awk <<_ACEOF" &&
27060   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27061   echo "_ACEOF"
27062 } >conf$$subs.sh ||
27063   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27064 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
27065 ac_delim='%!_!# '
27066 for ac_last_try in false false false false false :; do
27067   . ./conf$$subs.sh ||
27068     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27069
27070   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27071   if test $ac_delim_n = $ac_delim_num; then
27072     break
27073   elif $ac_last_try; then
27074     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27075   else
27076     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27077   fi
27078 done
27079 rm -f conf$$subs.sh
27080
27081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27082 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
27083 _ACEOF
27084 sed -n '
27085 h
27086 s/^/S["/; s/!.*/"]=/
27087 p
27088 g
27089 s/^[^!]*!//
27090 :repl
27091 t repl
27092 s/'"$ac_delim"'$//
27093 t delim
27094 :nl
27095 h
27096 s/\(.\{148\}\)..*/\1/
27097 t more1
27098 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27099 p
27100 n
27101 b repl
27102 :more1
27103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27104 p
27105 g
27106 s/.\{148\}//
27107 t nl
27108 :delim
27109 h
27110 s/\(.\{148\}\)..*/\1/
27111 t more2
27112 s/["\\]/\\&/g; s/^/"/; s/$/"/
27113 p
27114 b
27115 :more2
27116 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27117 p
27118 g
27119 s/.\{148\}//
27120 t delim
27121 ' <conf$$subs.awk | sed '
27122 /^[^""]/{
27123   N
27124   s/\n//
27125 }
27126 ' >>$CONFIG_STATUS || ac_write_fail=1
27127 rm -f conf$$subs.awk
27128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27129 _ACAWK
27130 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
27131   for (key in S) S_is_set[key] = 1
27132   FS = "\a"
27133
27134 }
27135 {
27136   line = $ 0
27137   nfields = split(line, field, "@")
27138   substed = 0
27139   len = length(field[1])
27140   for (i = 2; i < nfields; i++) {
27141     key = field[i]
27142     keylen = length(key)
27143     if (S_is_set[key]) {
27144       value = S[key]
27145       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27146       len += length(value) + length(field[++i])
27147       substed = 1
27148     } else
27149       len += 1 + keylen
27150   }
27151
27152   print line
27153 }
27154
27155 _ACAWK
27156 _ACEOF
27157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27158 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27159   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27160 else
27161   cat
27162 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
27163   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
27164 _ACEOF
27165
27166 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
27167 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
27168 # trailing colons and then remove the whole line if VPATH becomes empty
27169 # (actually we leave an empty line to preserve line numbers).
27170 if test "x$srcdir" = x.; then
27171   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
27172 h
27173 s///
27174 s/^/:/
27175 s/[      ]*$/:/
27176 s/:\$(srcdir):/:/g
27177 s/:\${srcdir}:/:/g
27178 s/:@srcdir@:/:/g
27179 s/^:*//
27180 s/:*$//
27181 x
27182 s/\(=[   ]*\).*/\1/
27183 G
27184 s/\n//
27185 s/^[^=]*=[       ]*$//
27186 }'
27187 fi
27188
27189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27190 fi # test -n "$CONFIG_FILES"
27191
27192 # Set up the scripts for CONFIG_HEADERS section.
27193 # No need to generate them if there are no CONFIG_HEADERS.
27194 # This happens for instance with `./config.status Makefile'.
27195 if test -n "$CONFIG_HEADERS"; then
27196 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
27197 BEGIN {
27198 _ACEOF
27199
27200 # Transform confdefs.h into an awk script `defines.awk', embedded as
27201 # here-document in config.status, that substitutes the proper values into
27202 # config.h.in to produce config.h.
27203
27204 # Create a delimiter string that does not exist in confdefs.h, to ease
27205 # handling of long lines.
27206 ac_delim='%!_!# '
27207 for ac_last_try in false false :; do
27208   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
27209   if test -z "$ac_tt"; then
27210     break
27211   elif $ac_last_try; then
27212     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
27213   else
27214     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27215   fi
27216 done
27217
27218 # For the awk script, D is an array of macro values keyed by name,
27219 # likewise P contains macro parameters if any.  Preserve backslash
27220 # newline sequences.
27221
27222 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27223 sed -n '
27224 s/.\{148\}/&'"$ac_delim"'/g
27225 t rset
27226 :rset
27227 s/^[     ]*#[    ]*define[       ][      ]*/ /
27228 t def
27229 d
27230 :def
27231 s/\\$//
27232 t bsnl
27233 s/["\\]/\\&/g
27234 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
27235 D["\1"]=" \3"/p
27236 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
27237 d
27238 :bsnl
27239 s/["\\]/\\&/g
27240 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
27241 D["\1"]=" \3\\\\\\n"\\/p
27242 t cont
27243 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27244 t cont
27245 d
27246 :cont
27247 n
27248 s/.\{148\}/&'"$ac_delim"'/g
27249 t clear
27250 :clear
27251 s/\\$//
27252 t bsnlc
27253 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27254 d
27255 :bsnlc
27256 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27257 b cont
27258 ' <confdefs.h | sed '
27259 s/'"$ac_delim"'/"\\\
27260 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27261
27262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27263   for (key in D) D_is_set[key] = 1
27264   FS = "\a"
27265 }
27266 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27267   line = \$ 0
27268   split(line, arg, " ")
27269   if (arg[1] == "#") {
27270     defundef = arg[2]
27271     mac1 = arg[3]
27272   } else {
27273     defundef = substr(arg[1], 2)
27274     mac1 = arg[2]
27275   }
27276   split(mac1, mac2, "(") #)
27277   macro = mac2[1]
27278   prefix = substr(line, 1, index(line, defundef) - 1)
27279   if (D_is_set[macro]) {
27280     # Preserve the white space surrounding the "#".
27281     print prefix "define", macro P[macro] D[macro]
27282     next
27283   } else {
27284     # Replace #undef with comments.  This is necessary, for example,
27285     # in the case of _POSIX_SOURCE, which is predefined and required
27286     # on some systems where configure will not decide to define it.
27287     if (defundef == "undef") {
27288       print "/*", prefix defundef, macro, "*/"
27289       next
27290     }
27291   }
27292 }
27293 { print }
27294 _ACAWK
27295 _ACEOF
27296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27297   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
27298 fi # test -n "$CONFIG_HEADERS"
27299
27300
27301 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
27302 shift
27303 for ac_tag
27304 do
27305   case $ac_tag in
27306   :[FHLC]) ac_mode=$ac_tag; continue;;
27307   esac
27308   case $ac_mode$ac_tag in
27309   :[FHL]*:*);;
27310   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
27311   :[FH]-) ac_tag=-:-;;
27312   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27313   esac
27314   ac_save_IFS=$IFS
27315   IFS=:
27316   set x $ac_tag
27317   IFS=$ac_save_IFS
27318   shift
27319   ac_file=$1
27320   shift
27321
27322   case $ac_mode in
27323   :L) ac_source=$1;;
27324   :[FH])
27325     ac_file_inputs=
27326     for ac_f
27327     do
27328       case $ac_f in
27329       -) ac_f="$ac_tmp/stdin";;
27330       *) # Look for the file first in the build tree, then in the source tree
27331          # (if the path is not absolute).  The absolute path cannot be DOS-style,
27332          # because $ac_f cannot contain `:'.
27333          test -f "$ac_f" ||
27334            case $ac_f in
27335            [\\/$]*) false;;
27336            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27337            esac ||
27338            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27339       esac
27340       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27341       as_fn_append ac_file_inputs " '$ac_f'"
27342     done
27343
27344     # Let's still pretend it is `configure' which instantiates (i.e., don't
27345     # use $as_me), people would be surprised to read:
27346     #    /* config.h.  Generated by config.status.  */
27347     configure_input='Generated from '`
27348           printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27349         `' by configure.'
27350     if test x"$ac_file" != x-; then
27351       configure_input="$ac_file.  $configure_input"
27352       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27353 printf "%s\n" "$as_me: creating $ac_file" >&6;}
27354     fi
27355     # Neutralize special characters interpreted by sed in replacement strings.
27356     case $configure_input in #(
27357     *\&* | *\|* | *\\* )
27358        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
27359        sed 's/[\\\\&|]/\\\\&/g'`;; #(
27360     *) ac_sed_conf_input=$configure_input;;
27361     esac
27362
27363     case $ac_tag in
27364     *:-:* | *:-) cat >"$ac_tmp/stdin" \
27365       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
27366     esac
27367     ;;
27368   esac
27369
27370   ac_dir=`$as_dirname -- "$ac_file" ||
27371 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27372          X"$ac_file" : 'X\(//\)[^/]' \| \
27373          X"$ac_file" : 'X\(//\)$' \| \
27374          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27375 printf "%s\n" X"$ac_file" |
27376     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27377             s//\1/
27378             q
27379           }
27380           /^X\(\/\/\)[^/].*/{
27381             s//\1/
27382             q
27383           }
27384           /^X\(\/\/\)$/{
27385             s//\1/
27386             q
27387           }
27388           /^X\(\/\).*/{
27389             s//\1/
27390             q
27391           }
27392           s/.*/./; q'`
27393   as_dir="$ac_dir"; as_fn_mkdir_p
27394   ac_builddir=.
27395
27396 case "$ac_dir" in
27397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27398 *)
27399   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
27400   # A ".." for each directory in $ac_dir_suffix.
27401   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27402   case $ac_top_builddir_sub in
27403   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27404   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27405   esac ;;
27406 esac
27407 ac_abs_top_builddir=$ac_pwd
27408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27409 # for backward compatibility:
27410 ac_top_builddir=$ac_top_build_prefix
27411
27412 case $srcdir in
27413   .)  # We are building in place.
27414     ac_srcdir=.
27415     ac_top_srcdir=$ac_top_builddir_sub
27416     ac_abs_top_srcdir=$ac_pwd ;;
27417   [\\/]* | ?:[\\/]* )  # Absolute name.
27418     ac_srcdir=$srcdir$ac_dir_suffix;
27419     ac_top_srcdir=$srcdir
27420     ac_abs_top_srcdir=$srcdir ;;
27421   *) # Relative name.
27422     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27423     ac_top_srcdir=$ac_top_build_prefix$srcdir
27424     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27425 esac
27426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27427
27428
27429   case $ac_mode in
27430   :F)
27431   #
27432   # CONFIG_FILE
27433   #
27434
27435   case $INSTALL in
27436   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27437   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27438   esac
27439   ac_MKDIR_P=$MKDIR_P
27440   case $MKDIR_P in
27441   [\\/$]* | ?:[\\/]* ) ;;
27442   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27443   esac
27444 _ACEOF
27445
27446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27447 # If the template does not know about datarootdir, expand it.
27448 # FIXME: This hack should be removed a few years after 2.60.
27449 ac_datarootdir_hack=; ac_datarootdir_seen=
27450 ac_sed_dataroot='
27451 /datarootdir/ {
27452   p
27453   q
27454 }
27455 /@datadir@/p
27456 /@docdir@/p
27457 /@infodir@/p
27458 /@localedir@/p
27459 /@mandir@/p'
27460 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27461 *datarootdir*) ac_datarootdir_seen=yes;;
27462 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27464 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27465 _ACEOF
27466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27467   ac_datarootdir_hack='
27468   s&@datadir@&$datadir&g
27469   s&@docdir@&$docdir&g
27470   s&@infodir@&$infodir&g
27471   s&@localedir@&$localedir&g
27472   s&@mandir@&$mandir&g
27473   s&\\\${datarootdir}&$datarootdir&g' ;;
27474 esac
27475 _ACEOF
27476
27477 # Neutralize VPATH when `$srcdir' = `.'.
27478 # Shell code in configure.ac might set extrasub.
27479 # FIXME: do we really want to maintain this feature?
27480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27481 ac_sed_extra="$ac_vpsub
27482 $extrasub
27483 _ACEOF
27484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27485 :t
27486 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27487 s|@configure_input@|$ac_sed_conf_input|;t t
27488 s&@top_builddir@&$ac_top_builddir_sub&;t t
27489 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27490 s&@srcdir@&$ac_srcdir&;t t
27491 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27492 s&@top_srcdir@&$ac_top_srcdir&;t t
27493 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27494 s&@builddir@&$ac_builddir&;t t
27495 s&@abs_builddir@&$ac_abs_builddir&;t t
27496 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27497 s&@INSTALL@&$ac_INSTALL&;t t
27498 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27499 $ac_datarootdir_hack
27500 "
27501 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
27502   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27503
27504 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27505   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
27506   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
27507       "$ac_tmp/out"`; test -z "$ac_out"; } &&
27508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27509 which seems to be undefined.  Please make sure it is defined" >&5
27510 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27511 which seems to be undefined.  Please make sure it is defined" >&2;}
27512
27513   rm -f "$ac_tmp/stdin"
27514   case $ac_file in
27515   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27516   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27517   esac \
27518   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27519  ;;
27520   :H)
27521   #
27522   # CONFIG_HEADER
27523   #
27524   if test x"$ac_file" != x-; then
27525     {
27526       printf "%s\n" "/* $configure_input  */" >&1 \
27527       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
27528     } >"$ac_tmp/config.h" \
27529       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27530     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
27531       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27532 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
27533     else
27534       rm -f "$ac_file"
27535       mv "$ac_tmp/config.h" "$ac_file" \
27536         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27537     fi
27538   else
27539     printf "%s\n" "/* $configure_input  */" >&1 \
27540       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
27541       || as_fn_error $? "could not create -" "$LINENO" 5
27542   fi
27543 # Compute "$ac_file"'s index in $config_headers.
27544 _am_arg="$ac_file"
27545 _am_stamp_count=1
27546 for _am_header in $config_headers :; do
27547   case $_am_header in
27548     $_am_arg | $_am_arg:* )
27549       break ;;
27550     * )
27551       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27552   esac
27553 done
27554 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27555 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27556          X"$_am_arg" : 'X\(//\)[^/]' \| \
27557          X"$_am_arg" : 'X\(//\)$' \| \
27558          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27559 printf "%s\n" X"$_am_arg" |
27560     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27561             s//\1/
27562             q
27563           }
27564           /^X\(\/\/\)[^/].*/{
27565             s//\1/
27566             q
27567           }
27568           /^X\(\/\/\)$/{
27569             s//\1/
27570             q
27571           }
27572           /^X\(\/\).*/{
27573             s//\1/
27574             q
27575           }
27576           s/.*/./; q'`/stamp-h$_am_stamp_count
27577  ;;
27578
27579   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27580 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
27581  ;;
27582   esac
27583
27584
27585   case $ac_file$ac_mode in
27586     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27587   # Older Autoconf quotes --file arguments for eval, but not when files
27588   # are listed without --file.  Let's play safe and only enable the eval
27589   # if we detect the quoting.
27590   # TODO: see whether this extra hack can be removed once we start
27591   # requiring Autoconf 2.70 or later.
27592   case $CONFIG_FILES in #(
27593   *\'*) :
27594     eval set x "$CONFIG_FILES" ;; #(
27595   *) :
27596     set x $CONFIG_FILES ;; #(
27597   *) :
27598      ;;
27599 esac
27600   shift
27601   # Used to flag and report bootstrapping failures.
27602   am_rc=0
27603   for am_mf
27604   do
27605     # Strip MF so we end up with the name of the file.
27606     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
27607     # Check whether this is an Automake generated Makefile which includes
27608     # dependency-tracking related rules and includes.
27609     # Grep'ing the whole file directly is not great: AIX grep has a line
27610     # limit of 2048, but all sed's we know have understand at least 4000.
27611     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
27612       || continue
27613     am_dirpart=`$as_dirname -- "$am_mf" ||
27614 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27615          X"$am_mf" : 'X\(//\)[^/]' \| \
27616          X"$am_mf" : 'X\(//\)$' \| \
27617          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
27618 printf "%s\n" X"$am_mf" |
27619     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27620             s//\1/
27621             q
27622           }
27623           /^X\(\/\/\)[^/].*/{
27624             s//\1/
27625             q
27626           }
27627           /^X\(\/\/\)$/{
27628             s//\1/
27629             q
27630           }
27631           /^X\(\/\).*/{
27632             s//\1/
27633             q
27634           }
27635           s/.*/./; q'`
27636     am_filepart=`$as_basename -- "$am_mf" ||
27637 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
27638          X"$am_mf" : 'X\(//\)$' \| \
27639          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
27640 printf "%s\n" X/"$am_mf" |
27641     sed '/^.*\/\([^/][^/]*\)\/*$/{
27642             s//\1/
27643             q
27644           }
27645           /^X\/\(\/\/\)$/{
27646             s//\1/
27647             q
27648           }
27649           /^X\/\(\/\).*/{
27650             s//\1/
27651             q
27652           }
27653           s/.*/./; q'`
27654     { echo "$as_me:$LINENO: cd "$am_dirpart" \
27655       && sed -e '/# am--include-marker/d' "$am_filepart" \
27656         | $MAKE -f - am--depfiles" >&5
27657    (cd "$am_dirpart" \
27658       && sed -e '/# am--include-marker/d' "$am_filepart" \
27659         | $MAKE -f - am--depfiles) >&5 2>&5
27660    ac_status=$?
27661    echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662    (exit $ac_status); } || am_rc=$?
27663   done
27664   if test $am_rc -ne 0; then
27665     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27666 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
27667 as_fn_error $? "Something went wrong bootstrapping makefile fragments
27668     for automatic dependency tracking.  If GNU make was not used, consider
27669     re-running the configure script with MAKE=\"gmake\" (or whatever is
27670     necessary).  You can also try re-running configure with the
27671     '--disable-dependency-tracking' option to at least be able to build
27672     the package (albeit without support for automatic dependency tracking).
27673 See \`config.log' for more details" "$LINENO" 5; }
27674   fi
27675   { am_dirpart=; unset am_dirpart;}
27676   { am_filepart=; unset am_filepart;}
27677   { am_mf=; unset am_mf;}
27678   { am_rc=; unset am_rc;}
27679   rm -f conftest-deps.mk
27680 }
27681  ;;
27682     "libtool":C)
27683
27684     # See if we are running on zsh, and set the options that allow our
27685     # commands through without removal of \ escapes.
27686     if test -n "${ZSH_VERSION+set}"; then
27687       setopt NO_GLOB_SUBST
27688     fi
27689
27690     cfgfile=${ofile}T
27691     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27692     $RM "$cfgfile"
27693
27694     cat <<_LT_EOF >> "$cfgfile"
27695 #! $SHELL
27696 # Generated automatically by $as_me ($PACKAGE) $VERSION
27697 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27698 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27699
27700 # Provide generalized library-building support services.
27701 # Written by Gordon Matzigkeit, 1996
27702
27703 # Copyright (C) 2014 Free Software Foundation, Inc.
27704 # This is free software; see the source for copying conditions.  There is NO
27705 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
27706
27707 # GNU Libtool is free software; you can redistribute it and/or modify
27708 # it under the terms of the GNU General Public License as published by
27709 # the Free Software Foundation; either version 2 of of the License, or
27710 # (at your option) any later version.
27711 #
27712 # As a special exception to the GNU General Public License, if you
27713 # distribute this file as part of a program or library that is built
27714 # using GNU Libtool, you may include this file under the  same
27715 # distribution terms that you use for the rest of that program.
27716 #
27717 # GNU Libtool is distributed in the hope that it will be useful, but
27718 # WITHOUT ANY WARRANTY; without even the implied warranty of
27719 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27720 # GNU General Public License for more details.
27721 #
27722 # You should have received a copy of the GNU General Public License
27723 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
27724
27725
27726 # The names of the tagged configurations supported by this script.
27727 available_tags='CXX RC '
27728
27729 # Configured defaults for sys_lib_dlsearch_path munging.
27730 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
27731
27732 # ### BEGIN LIBTOOL CONFIG
27733
27734 # Which release of libtool.m4 was used?
27735 macro_version=$macro_version
27736 macro_revision=$macro_revision
27737
27738 # Whether or not to build static libraries.
27739 build_old_libs=$enable_static
27740
27741 # Assembler program.
27742 AS=$lt_AS
27743
27744 # DLL creation program.
27745 DLLTOOL=$lt_DLLTOOL
27746
27747 # Object dumper program.
27748 OBJDUMP=$lt_OBJDUMP
27749
27750 # Whether or not to build shared libraries.
27751 build_libtool_libs=$enable_shared
27752
27753 # What type of objects to build.
27754 pic_mode=$pic_mode
27755
27756 # Whether or not to optimize for fast installation.
27757 fast_install=$enable_fast_install
27758
27759 # Shared archive member basename,for filename based shared library versioning on AIX.
27760 shared_archive_member_spec=$shared_archive_member_spec
27761
27762 # Shell to use when invoking shell scripts.
27763 SHELL=$lt_SHELL
27764
27765 # An echo program that protects backslashes.
27766 ECHO=$lt_ECHO
27767
27768 # The PATH separator for the build system.
27769 PATH_SEPARATOR=$lt_PATH_SEPARATOR
27770
27771 # The host system.
27772 host_alias=$host_alias
27773 host=$host
27774 host_os=$host_os
27775
27776 # The build system.
27777 build_alias=$build_alias
27778 build=$build
27779 build_os=$build_os
27780
27781 # A sed program that does not truncate output.
27782 SED=$lt_SED
27783
27784 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27785 Xsed="\$SED -e 1s/^X//"
27786
27787 # A grep program that handles long lines.
27788 GREP=$lt_GREP
27789
27790 # An ERE matcher.
27791 EGREP=$lt_EGREP
27792
27793 # A literal string matcher.
27794 FGREP=$lt_FGREP
27795
27796 # A BSD- or MS-compatible name lister.
27797 NM=$lt_NM
27798
27799 # Whether we need soft or hard links.
27800 LN_S=$lt_LN_S
27801
27802 # What is the maximum length of a command?
27803 max_cmd_len=$max_cmd_len
27804
27805 # Object file suffix (normally "o").
27806 objext=$ac_objext
27807
27808 # Executable file suffix (normally "").
27809 exeext=$exeext
27810
27811 # whether the shell understands "unset".
27812 lt_unset=$lt_unset
27813
27814 # turn spaces into newlines.
27815 SP2NL=$lt_lt_SP2NL
27816
27817 # turn newlines into spaces.
27818 NL2SP=$lt_lt_NL2SP
27819
27820 # convert \$build file names to \$host format.
27821 to_host_file_cmd=$lt_cv_to_host_file_cmd
27822
27823 # convert \$build files to toolchain format.
27824 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
27825
27826 # A file(cmd) program that detects file types.
27827 FILECMD=$lt_FILECMD
27828
27829 # Method to check whether dependent libraries are shared objects.
27830 deplibs_check_method=$lt_deplibs_check_method
27831
27832 # Command to use when deplibs_check_method = "file_magic".
27833 file_magic_cmd=$lt_file_magic_cmd
27834
27835 # How to find potential files when deplibs_check_method = "file_magic".
27836 file_magic_glob=$lt_file_magic_glob
27837
27838 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
27839 want_nocaseglob=$lt_want_nocaseglob
27840
27841 # Command to associate shared and link libraries.
27842 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
27843
27844 # The archiver.
27845 AR=$lt_AR
27846
27847 # Flags to create an archive (by configure).
27848 lt_ar_flags=$lt_ar_flags
27849
27850 # Flags to create an archive.
27851 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
27852
27853 # How to feed a file listing to the archiver.
27854 archiver_list_spec=$lt_archiver_list_spec
27855
27856 # A symbol stripping program.
27857 STRIP=$lt_STRIP
27858
27859 # Commands used to install an old-style archive.
27860 RANLIB=$lt_RANLIB
27861 old_postinstall_cmds=$lt_old_postinstall_cmds
27862 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27863
27864 # Whether to use a lock for old archive extraction.
27865 lock_old_archive_extraction=$lock_old_archive_extraction
27866
27867 # A C compiler.
27868 LTCC=$lt_CC
27869
27870 # LTCC compiler flags.
27871 LTCFLAGS=$lt_CFLAGS
27872
27873 # Take the output of nm and produce a listing of raw symbols and C names.
27874 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27875
27876 # Transform the output of nm in a proper C declaration.
27877 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27878
27879 # Transform the output of nm into a list of symbols to manually relocate.
27880 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
27881
27882 # Transform the output of nm in a C name address pair.
27883 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27884
27885 # Transform the output of nm in a C name address pair when lib prefix is needed.
27886 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27887
27888 # The name lister interface.
27889 nm_interface=$lt_lt_cv_nm_interface
27890
27891 # Specify filename containing input files for \$NM.
27892 nm_file_list_spec=$lt_nm_file_list_spec
27893
27894 # The root where to search for dependent libraries,and where our libraries should be installed.
27895 lt_sysroot=$lt_sysroot
27896
27897 # Command to truncate a binary pipe.
27898 lt_truncate_bin=$lt_lt_cv_truncate_bin
27899
27900 # The name of the directory that contains temporary libtool files.
27901 objdir=$objdir
27902
27903 # Used to examine libraries when file_magic_cmd begins with "file".
27904 MAGIC_CMD=$MAGIC_CMD
27905
27906 # Must we lock files when doing compilation?
27907 need_locks=$lt_need_locks
27908
27909 # Manifest tool.
27910 MANIFEST_TOOL=$lt_MANIFEST_TOOL
27911
27912 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27913 DSYMUTIL=$lt_DSYMUTIL
27914
27915 # Tool to change global to local symbols on Mac OS X.
27916 NMEDIT=$lt_NMEDIT
27917
27918 # Tool to manipulate fat objects and archives on Mac OS X.
27919 LIPO=$lt_LIPO
27920
27921 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27922 OTOOL=$lt_OTOOL
27923
27924 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27925 OTOOL64=$lt_OTOOL64
27926
27927 # Old archive suffix (normally "a").
27928 libext=$libext
27929
27930 # Shared library suffix (normally ".so").
27931 shrext_cmds=$lt_shrext_cmds
27932
27933 # The commands to extract the exported symbol list from a shared archive.
27934 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27935
27936 # Variables whose values should be saved in libtool wrapper scripts and
27937 # restored at link time.
27938 variables_saved_for_relink=$lt_variables_saved_for_relink
27939
27940 # Do we need the "lib" prefix for modules?
27941 need_lib_prefix=$need_lib_prefix
27942
27943 # Do we need a version for libraries?
27944 need_version=$need_version
27945
27946 # Library versioning type.
27947 version_type=$version_type
27948
27949 # Shared library runtime path variable.
27950 runpath_var=$runpath_var
27951
27952 # Shared library path variable.
27953 shlibpath_var=$shlibpath_var
27954
27955 # Is shlibpath searched before the hard-coded library search path?
27956 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27957
27958 # Format of library name prefix.
27959 libname_spec=$lt_libname_spec
27960
27961 # List of archive names.  First name is the real one, the rest are links.
27962 # The last name is the one that the linker finds with -lNAME
27963 library_names_spec=$lt_library_names_spec
27964
27965 # The coded name of the library, if different from the real name.
27966 soname_spec=$lt_soname_spec
27967
27968 # Permission mode override for installation of shared libraries.
27969 install_override_mode=$lt_install_override_mode
27970
27971 # Command to use after installation of a shared archive.
27972 postinstall_cmds=$lt_postinstall_cmds
27973
27974 # Command to use after uninstallation of a shared archive.
27975 postuninstall_cmds=$lt_postuninstall_cmds
27976
27977 # Commands used to finish a libtool library installation in a directory.
27978 finish_cmds=$lt_finish_cmds
27979
27980 # As "finish_cmds", except a single script fragment to be evaled but
27981 # not shown.
27982 finish_eval=$lt_finish_eval
27983
27984 # Whether we should hardcode library paths into libraries.
27985 hardcode_into_libs=$hardcode_into_libs
27986
27987 # Compile-time system search path for libraries.
27988 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27989
27990 # Detected run-time system search path for libraries.
27991 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
27992
27993 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
27994 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
27995
27996 # Whether dlopen is supported.
27997 dlopen_support=$enable_dlopen
27998
27999 # Whether dlopen of programs is supported.
28000 dlopen_self=$enable_dlopen_self
28001
28002 # Whether dlopen of statically linked programs is supported.
28003 dlopen_self_static=$enable_dlopen_self_static
28004
28005 # Commands to strip libraries.
28006 old_striplib=$lt_old_striplib
28007 striplib=$lt_striplib
28008
28009
28010 # The linker used to build libraries.
28011 LD=$lt_LD
28012
28013 # How to create reloadable object files.
28014 reload_flag=$lt_reload_flag
28015 reload_cmds=$lt_reload_cmds
28016
28017 # Commands used to build an old-style archive.
28018 old_archive_cmds=$lt_old_archive_cmds
28019
28020 # A language specific compiler.
28021 CC=$lt_compiler
28022
28023 # Is the compiler the GNU compiler?
28024 with_gcc=$GCC
28025
28026 # Compiler flag to turn off builtin functions.
28027 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28028
28029 # Additional compiler flags for building library objects.
28030 pic_flag=$lt_lt_prog_compiler_pic
28031
28032 # How to pass a linker flag through the compiler.
28033 wl=$lt_lt_prog_compiler_wl
28034
28035 # Compiler flag to prevent dynamic linking.
28036 link_static_flag=$lt_lt_prog_compiler_static
28037
28038 # Does compiler simultaneously support -c and -o options?
28039 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28040
28041 # Whether or not to add -lc for building shared libraries.
28042 build_libtool_need_lc=$archive_cmds_need_lc
28043
28044 # Whether or not to disallow shared libs when runtime libs are static.
28045 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28046
28047 # Compiler flag to allow reflexive dlopens.
28048 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28049
28050 # Compiler flag to generate shared objects directly from archives.
28051 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28052
28053 # Whether the compiler copes with passing no objects directly.
28054 compiler_needs_object=$lt_compiler_needs_object
28055
28056 # Create an old-style archive from a shared archive.
28057 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28058
28059 # Create a temporary old-style archive to link instead of a shared archive.
28060 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28061
28062 # Commands used to build a shared archive.
28063 archive_cmds=$lt_archive_cmds
28064 archive_expsym_cmds=$lt_archive_expsym_cmds
28065
28066 # Commands used to build a loadable module if different from building
28067 # a shared archive.
28068 module_cmds=$lt_module_cmds
28069 module_expsym_cmds=$lt_module_expsym_cmds
28070
28071 # Whether we are building with GNU ld or not.
28072 with_gnu_ld=$lt_with_gnu_ld
28073
28074 # Flag that allows shared libraries with undefined symbols to be built.
28075 allow_undefined_flag=$lt_allow_undefined_flag
28076
28077 # Flag that enforces no undefined symbols.
28078 no_undefined_flag=$lt_no_undefined_flag
28079
28080 # Flag to hardcode \$libdir into a binary during linking.
28081 # This must work even if \$libdir does not exist
28082 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28083
28084 # Whether we need a single "-rpath" flag with a separated argument.
28085 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28086
28087 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28088 # DIR into the resulting binary.
28089 hardcode_direct=$hardcode_direct
28090
28091 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28092 # DIR into the resulting binary and the resulting library dependency is
28093 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28094 # library is relocated.
28095 hardcode_direct_absolute=$hardcode_direct_absolute
28096
28097 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28098 # into the resulting binary.
28099 hardcode_minus_L=$hardcode_minus_L
28100
28101 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28102 # into the resulting binary.
28103 hardcode_shlibpath_var=$hardcode_shlibpath_var
28104
28105 # Set to "yes" if building a shared library automatically hardcodes DIR
28106 # into the library and all subsequent libraries and executables linked
28107 # against it.
28108 hardcode_automatic=$hardcode_automatic
28109
28110 # Set to yes if linker adds runtime paths of dependent libraries
28111 # to runtime path list.
28112 inherit_rpath=$inherit_rpath
28113
28114 # Whether libtool must link a program against all its dependency libraries.
28115 link_all_deplibs=$link_all_deplibs
28116
28117 # Set to "yes" if exported symbols are required.
28118 always_export_symbols=$always_export_symbols
28119
28120 # The commands to list exported symbols.
28121 export_symbols_cmds=$lt_export_symbols_cmds
28122
28123 # Symbols that should not be listed in the preloaded symbols.
28124 exclude_expsyms=$lt_exclude_expsyms
28125
28126 # Symbols that must always be exported.
28127 include_expsyms=$lt_include_expsyms
28128
28129 # Commands necessary for linking programs (against libraries) with templates.
28130 prelink_cmds=$lt_prelink_cmds
28131
28132 # Commands necessary for finishing linking programs.
28133 postlink_cmds=$lt_postlink_cmds
28134
28135 # Specify filename containing input files.
28136 file_list_spec=$lt_file_list_spec
28137
28138 # How to hardcode a shared library path into an executable.
28139 hardcode_action=$hardcode_action
28140
28141 # The directories searched by this compiler when creating a shared library.
28142 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28143
28144 # Dependencies to place before and after the objects being linked to
28145 # create a shared library.
28146 predep_objects=$lt_predep_objects
28147 postdep_objects=$lt_postdep_objects
28148 predeps=$lt_predeps
28149 postdeps=$lt_postdeps
28150
28151 # The library search path used internally by the compiler when linking
28152 # a shared library.
28153 compiler_lib_search_path=$lt_compiler_lib_search_path
28154
28155 # ### END LIBTOOL CONFIG
28156
28157 _LT_EOF
28158
28159     cat <<'_LT_EOF' >> "$cfgfile"
28160
28161 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
28162
28163 # func_munge_path_list VARIABLE PATH
28164 # -----------------------------------
28165 # VARIABLE is name of variable containing _space_ separated list of
28166 # directories to be munged by the contents of PATH, which is string
28167 # having a format:
28168 # "DIR[:DIR]:"
28169 #       string "DIR[ DIR]" will be prepended to VARIABLE
28170 # ":DIR[:DIR]"
28171 #       string "DIR[ DIR]" will be appended to VARIABLE
28172 # "DIRP[:DIRP]::[DIRA:]DIRA"
28173 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
28174 #       "DIRA[ DIRA]" will be appended to VARIABLE
28175 # "DIR[:DIR]"
28176 #       VARIABLE will be replaced by "DIR[ DIR]"
28177 func_munge_path_list ()
28178 {
28179     case x$2 in
28180     x)
28181         ;;
28182     *:)
28183         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
28184         ;;
28185     x:*)
28186         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
28187         ;;
28188     *::*)
28189         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
28190         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
28191         ;;
28192     *)
28193         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
28194         ;;
28195     esac
28196 }
28197
28198
28199 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
28200 func_cc_basename ()
28201 {
28202     for cc_temp in $*""; do
28203       case $cc_temp in
28204         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
28205         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
28206         \-*) ;;
28207         *) break;;
28208       esac
28209     done
28210     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
28211 }
28212
28213
28214 # ### END FUNCTIONS SHARED WITH CONFIGURE
28215
28216 _LT_EOF
28217
28218   case $host_os in
28219   aix3*)
28220     cat <<\_LT_EOF >> "$cfgfile"
28221 # AIX sometimes has problems with the GCC collect2 program.  For some
28222 # reason, if we set the COLLECT_NAMES environment variable, the problems
28223 # vanish in a puff of smoke.
28224 if test set != "${COLLECT_NAMES+set}"; then
28225   COLLECT_NAMES=
28226   export COLLECT_NAMES
28227 fi
28228 _LT_EOF
28229     ;;
28230   esac
28231
28232
28233
28234 ltmain=$ac_aux_dir/ltmain.sh
28235
28236
28237   # We use sed instead of cat because bash on DJGPP gets confused if
28238   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
28239   # text mode, it properly converts lines to CR/LF.  This bash problem
28240   # is reportedly fixed, but why not run on old versions too?
28241   $SED '$q' "$ltmain" >> "$cfgfile" \
28242      || (rm -f "$cfgfile"; exit 1)
28243
28244    mv -f "$cfgfile" "$ofile" ||
28245     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28246   chmod +x "$ofile"
28247
28248
28249     cat <<_LT_EOF >> "$ofile"
28250
28251 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28252
28253 # The linker used to build libraries.
28254 LD=$lt_LD_CXX
28255
28256 # How to create reloadable object files.
28257 reload_flag=$lt_reload_flag_CXX
28258 reload_cmds=$lt_reload_cmds_CXX
28259
28260 # Commands used to build an old-style archive.
28261 old_archive_cmds=$lt_old_archive_cmds_CXX
28262
28263 # A language specific compiler.
28264 CC=$lt_compiler_CXX
28265
28266 # Is the compiler the GNU compiler?
28267 with_gcc=$GCC_CXX
28268
28269 # Compiler flag to turn off builtin functions.
28270 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28271
28272 # Additional compiler flags for building library objects.
28273 pic_flag=$lt_lt_prog_compiler_pic_CXX
28274
28275 # How to pass a linker flag through the compiler.
28276 wl=$lt_lt_prog_compiler_wl_CXX
28277
28278 # Compiler flag to prevent dynamic linking.
28279 link_static_flag=$lt_lt_prog_compiler_static_CXX
28280
28281 # Does compiler simultaneously support -c and -o options?
28282 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28283
28284 # Whether or not to add -lc for building shared libraries.
28285 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28286
28287 # Whether or not to disallow shared libs when runtime libs are static.
28288 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28289
28290 # Compiler flag to allow reflexive dlopens.
28291 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28292
28293 # Compiler flag to generate shared objects directly from archives.
28294 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28295
28296 # Whether the compiler copes with passing no objects directly.
28297 compiler_needs_object=$lt_compiler_needs_object_CXX
28298
28299 # Create an old-style archive from a shared archive.
28300 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28301
28302 # Create a temporary old-style archive to link instead of a shared archive.
28303 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28304
28305 # Commands used to build a shared archive.
28306 archive_cmds=$lt_archive_cmds_CXX
28307 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28308
28309 # Commands used to build a loadable module if different from building
28310 # a shared archive.
28311 module_cmds=$lt_module_cmds_CXX
28312 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28313
28314 # Whether we are building with GNU ld or not.
28315 with_gnu_ld=$lt_with_gnu_ld_CXX
28316
28317 # Flag that allows shared libraries with undefined symbols to be built.
28318 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28319
28320 # Flag that enforces no undefined symbols.
28321 no_undefined_flag=$lt_no_undefined_flag_CXX
28322
28323 # Flag to hardcode \$libdir into a binary during linking.
28324 # This must work even if \$libdir does not exist
28325 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28326
28327 # Whether we need a single "-rpath" flag with a separated argument.
28328 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28329
28330 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28331 # DIR into the resulting binary.
28332 hardcode_direct=$hardcode_direct_CXX
28333
28334 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28335 # DIR into the resulting binary and the resulting library dependency is
28336 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28337 # library is relocated.
28338 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28339
28340 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28341 # into the resulting binary.
28342 hardcode_minus_L=$hardcode_minus_L_CXX
28343
28344 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28345 # into the resulting binary.
28346 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28347
28348 # Set to "yes" if building a shared library automatically hardcodes DIR
28349 # into the library and all subsequent libraries and executables linked
28350 # against it.
28351 hardcode_automatic=$hardcode_automatic_CXX
28352
28353 # Set to yes if linker adds runtime paths of dependent libraries
28354 # to runtime path list.
28355 inherit_rpath=$inherit_rpath_CXX
28356
28357 # Whether libtool must link a program against all its dependency libraries.
28358 link_all_deplibs=$link_all_deplibs_CXX
28359
28360 # Set to "yes" if exported symbols are required.
28361 always_export_symbols=$always_export_symbols_CXX
28362
28363 # The commands to list exported symbols.
28364 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28365
28366 # Symbols that should not be listed in the preloaded symbols.
28367 exclude_expsyms=$lt_exclude_expsyms_CXX
28368
28369 # Symbols that must always be exported.
28370 include_expsyms=$lt_include_expsyms_CXX
28371
28372 # Commands necessary for linking programs (against libraries) with templates.
28373 prelink_cmds=$lt_prelink_cmds_CXX
28374
28375 # Commands necessary for finishing linking programs.
28376 postlink_cmds=$lt_postlink_cmds_CXX
28377
28378 # Specify filename containing input files.
28379 file_list_spec=$lt_file_list_spec_CXX
28380
28381 # How to hardcode a shared library path into an executable.
28382 hardcode_action=$hardcode_action_CXX
28383
28384 # The directories searched by this compiler when creating a shared library.
28385 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28386
28387 # Dependencies to place before and after the objects being linked to
28388 # create a shared library.
28389 predep_objects=$lt_predep_objects_CXX
28390 postdep_objects=$lt_postdep_objects_CXX
28391 predeps=$lt_predeps_CXX
28392 postdeps=$lt_postdeps_CXX
28393
28394 # The library search path used internally by the compiler when linking
28395 # a shared library.
28396 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28397
28398 # ### END LIBTOOL TAG CONFIG: CXX
28399 _LT_EOF
28400
28401
28402     cat <<_LT_EOF >> "$ofile"
28403
28404 # ### BEGIN LIBTOOL TAG CONFIG: RC
28405
28406 # The linker used to build libraries.
28407 LD=$lt_LD_RC
28408
28409 # How to create reloadable object files.
28410 reload_flag=$lt_reload_flag_RC
28411 reload_cmds=$lt_reload_cmds_RC
28412
28413 # Commands used to build an old-style archive.
28414 old_archive_cmds=$lt_old_archive_cmds_RC
28415
28416 # A language specific compiler.
28417 CC=$lt_compiler_RC
28418
28419 # Is the compiler the GNU compiler?
28420 with_gcc=$GCC_RC
28421
28422 # Compiler flag to turn off builtin functions.
28423 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
28424
28425 # Additional compiler flags for building library objects.
28426 pic_flag=$lt_lt_prog_compiler_pic_RC
28427
28428 # How to pass a linker flag through the compiler.
28429 wl=$lt_lt_prog_compiler_wl_RC
28430
28431 # Compiler flag to prevent dynamic linking.
28432 link_static_flag=$lt_lt_prog_compiler_static_RC
28433
28434 # Does compiler simultaneously support -c and -o options?
28435 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
28436
28437 # Whether or not to add -lc for building shared libraries.
28438 build_libtool_need_lc=$archive_cmds_need_lc_RC
28439
28440 # Whether or not to disallow shared libs when runtime libs are static.
28441 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
28442
28443 # Compiler flag to allow reflexive dlopens.
28444 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
28445
28446 # Compiler flag to generate shared objects directly from archives.
28447 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
28448
28449 # Whether the compiler copes with passing no objects directly.
28450 compiler_needs_object=$lt_compiler_needs_object_RC
28451
28452 # Create an old-style archive from a shared archive.
28453 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
28454
28455 # Create a temporary old-style archive to link instead of a shared archive.
28456 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
28457
28458 # Commands used to build a shared archive.
28459 archive_cmds=$lt_archive_cmds_RC
28460 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
28461
28462 # Commands used to build a loadable module if different from building
28463 # a shared archive.
28464 module_cmds=$lt_module_cmds_RC
28465 module_expsym_cmds=$lt_module_expsym_cmds_RC
28466
28467 # Whether we are building with GNU ld or not.
28468 with_gnu_ld=$lt_with_gnu_ld_RC
28469
28470 # Flag that allows shared libraries with undefined symbols to be built.
28471 allow_undefined_flag=$lt_allow_undefined_flag_RC
28472
28473 # Flag that enforces no undefined symbols.
28474 no_undefined_flag=$lt_no_undefined_flag_RC
28475
28476 # Flag to hardcode \$libdir into a binary during linking.
28477 # This must work even if \$libdir does not exist
28478 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
28479
28480 # Whether we need a single "-rpath" flag with a separated argument.
28481 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
28482
28483 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28484 # DIR into the resulting binary.
28485 hardcode_direct=$hardcode_direct_RC
28486
28487 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28488 # DIR into the resulting binary and the resulting library dependency is
28489 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28490 # library is relocated.
28491 hardcode_direct_absolute=$hardcode_direct_absolute_RC
28492
28493 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28494 # into the resulting binary.
28495 hardcode_minus_L=$hardcode_minus_L_RC
28496
28497 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28498 # into the resulting binary.
28499 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
28500
28501 # Set to "yes" if building a shared library automatically hardcodes DIR
28502 # into the library and all subsequent libraries and executables linked
28503 # against it.
28504 hardcode_automatic=$hardcode_automatic_RC
28505
28506 # Set to yes if linker adds runtime paths of dependent libraries
28507 # to runtime path list.
28508 inherit_rpath=$inherit_rpath_RC
28509
28510 # Whether libtool must link a program against all its dependency libraries.
28511 link_all_deplibs=$link_all_deplibs_RC
28512
28513 # Set to "yes" if exported symbols are required.
28514 always_export_symbols=$always_export_symbols_RC
28515
28516 # The commands to list exported symbols.
28517 export_symbols_cmds=$lt_export_symbols_cmds_RC
28518
28519 # Symbols that should not be listed in the preloaded symbols.
28520 exclude_expsyms=$lt_exclude_expsyms_RC
28521
28522 # Symbols that must always be exported.
28523 include_expsyms=$lt_include_expsyms_RC
28524
28525 # Commands necessary for linking programs (against libraries) with templates.
28526 prelink_cmds=$lt_prelink_cmds_RC
28527
28528 # Commands necessary for finishing linking programs.
28529 postlink_cmds=$lt_postlink_cmds_RC
28530
28531 # Specify filename containing input files.
28532 file_list_spec=$lt_file_list_spec_RC
28533
28534 # How to hardcode a shared library path into an executable.
28535 hardcode_action=$hardcode_action_RC
28536
28537 # The directories searched by this compiler when creating a shared library.
28538 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
28539
28540 # Dependencies to place before and after the objects being linked to
28541 # create a shared library.
28542 predep_objects=$lt_predep_objects_RC
28543 postdep_objects=$lt_postdep_objects_RC
28544 predeps=$lt_predeps_RC
28545 postdeps=$lt_postdeps_RC
28546
28547 # The library search path used internally by the compiler when linking
28548 # a shared library.
28549 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
28550
28551 # ### END LIBTOOL TAG CONFIG: RC
28552 _LT_EOF
28553
28554  ;;
28555
28556   esac
28557 done # for ac_tag
28558
28559
28560 as_fn_exit 0
28561 _ACEOF
28562 ac_clean_files=$ac_clean_files_save
28563
28564 test $ac_write_fail = 0 ||
28565   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
28566
28567
28568 # configure is writing to config.log, and then calls config.status.
28569 # config.status does its own redirection, appending to config.log.
28570 # Unfortunately, on DOS this fails, as config.log is still kept open
28571 # by configure, so config.status won't be able to write to it; its
28572 # output is simply discarded.  So we exec the FD to /dev/null,
28573 # effectively closing config.log, so it can be properly (re)opened and
28574 # appended to by config.status.  When coming back to configure, we
28575 # need to make the FD available again.
28576 if test "$no_create" != yes; then
28577   ac_cs_success=:
28578   ac_config_status_args=
28579   test "$silent" = yes &&
28580     ac_config_status_args="$ac_config_status_args --quiet"
28581   exec 5>/dev/null
28582   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28583   exec 5>>config.log
28584   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28585   # would make configure fail if this is the last instruction.
28586   $ac_cs_success || as_fn_exit 1
28587 fi
28588 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28590 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28591 fi
28592
28593
28594
28595 if test -z "$PKG_CONFIG"
28596 then :
28597
28598                 printf "%s\n" "    *****************************************************************"
28599                 printf "%s\n" "    ***          The pkg-config program is missing.               ***"
28600                 printf "%s\n" "    *** External FLAC/Ogg/Vorbis libs cannot be found without it. ***"
28601                 printf "%s\n" "    ***       http://pkg-config.freedesktop.org/wiki/             ***"
28602                 printf "%s\n" "    *****************************************************************"
28603
28604 fi
28605
28606 _lcl_receval="$libdir"
28607 full_absolute_libdir=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
28608      test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
28609      _lcl_receval_old=''
28610      while test "$_lcl_receval_old" != "$_lcl_receval"; do
28611        _lcl_receval_old="$_lcl_receval"
28612        eval _lcl_receval="\"$_lcl_receval\""
28613      done
28614      echo "$_lcl_receval")`
28615 _lcl_receval="$bindir"
28616 full_absolute_bindir=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
28617      test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
28618      _lcl_receval_old=''
28619      while test "$_lcl_receval_old" != "$_lcl_receval"; do
28620        _lcl_receval_old="$_lcl_receval"
28621        eval _lcl_receval="\"$_lcl_receval\""
28622      done
28623      echo "$_lcl_receval")`
28624 _lcl_receval="$pkgconfigdir"
28625 full_absolute_pkgconfigdir=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
28626      test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
28627      _lcl_receval_old=''
28628      while test "$_lcl_receval_old" != "$_lcl_receval"; do
28629        _lcl_receval_old="$_lcl_receval"
28630        eval _lcl_receval="\"$_lcl_receval\""
28631      done
28632      echo "$_lcl_receval")`
28633 _lcl_receval="$htmldir"
28634 full_absolute_htmldir=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix"
28635      test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
28636      _lcl_receval_old=''
28637      while test "$_lcl_receval_old" != "$_lcl_receval"; do
28638        _lcl_receval_old="$_lcl_receval"
28639        eval _lcl_receval="\"$_lcl_receval\""
28640      done
28641      echo "$_lcl_receval")`
28642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result:
28643 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-=-
28644
28645   Configuration summary :
28646
28647     libsndfile version : .................. ${VERSION}
28648
28649     Host CPU : ............................ ${host_cpu}
28650     Host Vendor : ......................... ${host_vendor}
28651     Host OS : ............................. ${host_os}
28652
28653     CFLAGS : .............................. ${CFLAGS}
28654     CXXFLAGS : ............................ ${CXXFLAGS}
28655     CPPFLAGS : ............................ ${CPPFLAGS}
28656     LDFLAGS : ............................. ${LDFLAGS}
28657
28658     Experimental code : ................... ${enable_experimental:-no}
28659     Using ALSA in example programs : ...... ${enable_alsa:-no}
28660     External FLAC/Ogg/Vorbis/Opus : ....... ${enable_external_libs:-no}
28661     External MPEG Lame/MPG123 : ........... ${enable_mpeg:-no}
28662     Building Octave interface : ........... ${OCTAVE_BUILD}
28663
28664   Tools :
28665
28666     C Compiler Vendor is : ................ ${ax_cv_c_compiler_vendor} (${ax_cv_c_compiler_version})
28667     CXX Compiler Vendor is : .............. ${ax_cv_cxx_compiler_vendor} (${ax_cv_cxx_compiler_version})
28668
28669     Sanitizer enabled : ................... ${enable_sanitizer:-no}
28670
28671   Installation directories :
28672
28673     Library directory : ................... ${full_absolute_libdir}
28674     Program directory : ................... ${full_absolute_bindir}
28675     Pkgconfig directory : ................. ${full_absolute_pkgconfigdir}
28676     HTML docs directory : ................. ${full_absolute_htmldir}
28677
28678 Compiling some other packages against libsndfile may require
28679 the addition of '$full_absolute_pkgconfigdir' to the
28680 PKG_CONFIG_PATH environment variable.
28681 " >&5
28682 printf "%s\n" "
28683 -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-=-
28684
28685   Configuration summary :
28686
28687     libsndfile version : .................. ${VERSION}
28688
28689     Host CPU : ............................ ${host_cpu}
28690     Host Vendor : ......................... ${host_vendor}
28691     Host OS : ............................. ${host_os}
28692
28693     CFLAGS : .............................. ${CFLAGS}
28694     CXXFLAGS : ............................ ${CXXFLAGS}
28695     CPPFLAGS : ............................ ${CPPFLAGS}
28696     LDFLAGS : ............................. ${LDFLAGS}
28697
28698     Experimental code : ................... ${enable_experimental:-no}
28699     Using ALSA in example programs : ...... ${enable_alsa:-no}
28700     External FLAC/Ogg/Vorbis/Opus : ....... ${enable_external_libs:-no}
28701     External MPEG Lame/MPG123 : ........... ${enable_mpeg:-no}
28702     Building Octave interface : ........... ${OCTAVE_BUILD}
28703
28704   Tools :
28705
28706     C Compiler Vendor is : ................ ${ax_cv_c_compiler_vendor} (${ax_cv_c_compiler_version})
28707     CXX Compiler Vendor is : .............. ${ax_cv_cxx_compiler_vendor} (${ax_cv_cxx_compiler_version})
28708
28709     Sanitizer enabled : ................... ${enable_sanitizer:-no}
28710
28711   Installation directories :
28712
28713     Library directory : ................... ${full_absolute_libdir}
28714     Program directory : ................... ${full_absolute_bindir}
28715     Pkgconfig directory : ................. ${full_absolute_pkgconfigdir}
28716     HTML docs directory : ................. ${full_absolute_htmldir}
28717
28718 Compiling some other packages against libsndfile may require
28719 the addition of '$full_absolute_pkgconfigdir' to the
28720 PKG_CONFIG_PATH environment variable.
28721 " >&6; }
28722
28723 rm -f gdbclient
28724