Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / nlio / repo / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for nlio gf493c3b.
4 #
5 # Report bugs to <nlio-users@google.com>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: nlio-users@google.com about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='nlio'
572 PACKAGE_TARNAME='nlio'
573 PACKAGE_VERSION='gf493c3b'
574 PACKAGE_STRING='nlio gf493c3b'
575 PACKAGE_BUGREPORT='nlio-users@google.com'
576 PACKAGE_URL='https://github.com/nestlabs/nlio/'
577
578 ac_unique_file="include/nlio.h"
579 ac_no_link=no
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 enable_option_checking=no
617 ac_subst_vars='am__EXEEXT_FALSE
618 am__EXEEXT_TRUE
619 LTLIBOBJS
620 LIBOBJS
621 NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY
622 subdirs
623 NLIO_WITH_NLUNIT_TEST_INTERNAL_FALSE
624 NLIO_WITH_NLUNIT_TEST_INTERNAL_TRUE
625 NLUNIT_TEST_SUBDIRS
626 NLUNIT_TEST_LIBS
627 NLUNIT_TEST_LDFLAGS
628 NLUNIT_TEST_CPPFLAGS
629 PKG_CONFIG
630 NLIO_BUILD_DOCS_FALSE
631 NLIO_BUILD_DOCS_TRUE
632 DOXYGEN_USE_DOT
633 DOT
634 DOXYGEN
635 NLIO_BUILD_TESTS_FALSE
636 NLIO_BUILD_TESTS_TRUE
637 NLIO_BUILD_OPTIMIZED_FALSE
638 NLIO_BUILD_OPTIMIZED_TRUE
639 NLIO_BUILD_COVERAGE_REPORTS_FALSE
640 NLIO_BUILD_COVERAGE_REPORTS_TRUE
641 GENHTML
642 LCOV
643 NLIO_BUILD_COVERAGE_FALSE
644 NLIO_BUILD_COVERAGE_TRUE
645 NLIO_BUILD_DEBUG_FALSE
646 NLIO_BUILD_DEBUG_TRUE
647 OTOOL64
648 OTOOL
649 LIPO
650 NMEDIT
651 DSYMUTIL
652 MANIFEST_TOOL
653 ac_ct_AR
654 DLLTOOL
655 OBJDUMP
656 NM
657 ac_ct_DUMPBIN
658 DUMPBIN
659 LD
660 FGREP
661 EGREP
662 GREP
663 SED
664 LIBTOOL
665 PERL
666 CMP
667 LN_S
668 OBJCOPY
669 RANLIB
670 AR
671 CXXCPP
672 am__fastdepCXX_FALSE
673 am__fastdepCXX_TRUE
674 CXXDEPMODE
675 ac_ct_CXX
676 CXXFLAGS
677 CXX
678 CPP
679 am__fastdepCC_FALSE
680 am__fastdepCC_TRUE
681 CCDEPMODE
682 am__nodep
683 AMDEPBACKSLASH
684 AMDEP_FALSE
685 AMDEP_TRUE
686 am__quote
687 am__include
688 DEPDIR
689 OBJEXT
690 EXEEXT
691 ac_ct_CC
692 CPPFLAGS
693 LDFLAGS
694 CFLAGS
695 CC
696 MAINT
697 MAINTAINER_MODE_FALSE
698 MAINTAINER_MODE_TRUE
699 AM_BACKSLASH
700 AM_DEFAULT_VERBOSITY
701 AM_DEFAULT_V
702 AM_V
703 am__untar
704 am__tar
705 AMTAR
706 am__leading_dot
707 SET_MAKE
708 AWK
709 mkdir_p
710 MKDIR_P
711 INSTALL_STRIP_PROGRAM
712 STRIP
713 install_sh
714 MAKEINFO
715 AUTOHEADER
716 AUTOMAKE
717 AUTOCONF
718 ACLOCAL
719 VERSION
720 PACKAGE
721 CYGPATH_W
722 am__isrc
723 INSTALL_DATA
724 INSTALL_SCRIPT
725 INSTALL_PROGRAM
726 nl_filtered_target_os
727 nl_filtered_target_vendor
728 nl_filtered_target_cpu
729 nl_filtered_target
730 nl_filtered_host_os
731 nl_filtered_host_vendor
732 nl_filtered_host_cpu
733 nl_filtered_host
734 nl_filtered_build_os
735 nl_filtered_build_vendor
736 nl_filtered_build_cpu
737 nl_filtered_build
738 target_os
739 target_vendor
740 target_cpu
741 target
742 host_os
743 host_vendor
744 host_cpu
745 host
746 build_os
747 build_vendor
748 build_cpu
749 build
750 LIBNLIO_VERSION_INFO
751 LIBNLIO_VERSION_REVISION
752 LIBNLIO_VERSION_AGE
753 LIBNLIO_VERSION_CURRENT
754 abs_top_nlbuild_autotools_dir
755 nlbuild_autotools_stem
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_silent_rules
798 enable_maintainer_mode
799 enable_dependency_tracking
800 enable_shared
801 enable_static
802 with_pic
803 enable_fast_install
804 with_gnu_ld
805 with_sysroot
806 enable_libtool_lock
807 enable_debug
808 enable_coverage
809 enable_coverage_reports
810 enable_optimization
811 enable_tests
812 enable_docs
813 with_nlunit_test
814 with_nlunit_test_includes
815 with_nlunit_test_libs
816 '
817       ac_precious_vars='build_alias
818 host_alias
819 target_alias
820 CC
821 CFLAGS
822 LDFLAGS
823 LIBS
824 CPPFLAGS
825 CPP
826 CXX
827 CXXFLAGS
828 CCC
829 CXXCPP
830 DOXYGEN
831 DOT
832 NLUNIT_TEST_CPPFLAGS
833 NLUNIT_TEST_LDFLAGS
834 NLUNIT_TEST_LIBS'
835 ac_subdirs_all='third_party/nlunit-test/repo'
836
837 # Initialize some variables set by options.
838 ac_init_help=
839 ac_init_version=false
840 ac_unrecognized_opts=
841 ac_unrecognized_sep=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
844 cache_file=/dev/null
845 exec_prefix=NONE
846 no_create=
847 no_recursion=
848 prefix=NONE
849 program_prefix=NONE
850 program_suffix=NONE
851 program_transform_name=s,x,x,
852 silent=
853 site=
854 srcdir=
855 verbose=
856 x_includes=NONE
857 x_libraries=NONE
858
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir='${exec_prefix}/bin'
866 sbindir='${exec_prefix}/sbin'
867 libexecdir='${exec_prefix}/libexec'
868 datarootdir='${prefix}/share'
869 datadir='${datarootdir}'
870 sysconfdir='${prefix}/etc'
871 sharedstatedir='${prefix}/com'
872 localstatedir='${prefix}/var'
873 includedir='${prefix}/include'
874 oldincludedir='/usr/include'
875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir='${datarootdir}/info'
877 htmldir='${docdir}'
878 dvidir='${docdir}'
879 pdfdir='${docdir}'
880 psdir='${docdir}'
881 libdir='${exec_prefix}/lib'
882 localedir='${datarootdir}/locale'
883 mandir='${datarootdir}/man'
884
885 ac_prev=
886 ac_dashdash=
887 for ac_option
888 do
889   # If the previous option needs an argument, assign it.
890   if test -n "$ac_prev"; then
891     eval $ac_prev=\$ac_option
892     ac_prev=
893     continue
894   fi
895
896   case $ac_option in
897   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898   *=)   ac_optarg= ;;
899   *)    ac_optarg=yes ;;
900   esac
901
902   # Accept the important Cygnus configure options, so we can diagnose typos.
903
904   case $ac_dashdash$ac_option in
905   --)
906     ac_dashdash=yes ;;
907
908   -bindir | --bindir | --bindi | --bind | --bin | --bi)
909     ac_prev=bindir ;;
910   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
911     bindir=$ac_optarg ;;
912
913   -build | --build | --buil | --bui | --bu)
914     ac_prev=build_alias ;;
915   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
916     build_alias=$ac_optarg ;;
917
918   -cache-file | --cache-file | --cache-fil | --cache-fi \
919   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920     ac_prev=cache_file ;;
921   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
922   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
923     cache_file=$ac_optarg ;;
924
925   --config-cache | -C)
926     cache_file=config.cache ;;
927
928   -datadir | --datadir | --datadi | --datad)
929     ac_prev=datadir ;;
930   -datadir=* | --datadir=* | --datadi=* | --datad=*)
931     datadir=$ac_optarg ;;
932
933   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
934   | --dataroo | --dataro | --datar)
935     ac_prev=datarootdir ;;
936   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
937   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
938     datarootdir=$ac_optarg ;;
939
940   -disable-* | --disable-*)
941     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942     # Reject names that are not valid shell variable names.
943     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944       as_fn_error $? "invalid feature name: $ac_useropt"
945     ac_useropt_orig=$ac_useropt
946     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947     case $ac_user_opts in
948       *"
949 "enable_$ac_useropt"
950 "*) ;;
951       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952          ac_unrecognized_sep=', ';;
953     esac
954     eval enable_$ac_useropt=no ;;
955
956   -docdir | --docdir | --docdi | --doc | --do)
957     ac_prev=docdir ;;
958   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
959     docdir=$ac_optarg ;;
960
961   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
962     ac_prev=dvidir ;;
963   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
964     dvidir=$ac_optarg ;;
965
966   -enable-* | --enable-*)
967     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968     # Reject names that are not valid shell variable names.
969     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970       as_fn_error $? "invalid feature name: $ac_useropt"
971     ac_useropt_orig=$ac_useropt
972     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973     case $ac_user_opts in
974       *"
975 "enable_$ac_useropt"
976 "*) ;;
977       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978          ac_unrecognized_sep=', ';;
979     esac
980     eval enable_$ac_useropt=\$ac_optarg ;;
981
982   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
983   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
984   | --exec | --exe | --ex)
985     ac_prev=exec_prefix ;;
986   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
987   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
988   | --exec=* | --exe=* | --ex=*)
989     exec_prefix=$ac_optarg ;;
990
991   -gas | --gas | --ga | --g)
992     # Obsolete; use --with-gas.
993     with_gas=yes ;;
994
995   -help | --help | --hel | --he | -h)
996     ac_init_help=long ;;
997   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998     ac_init_help=recursive ;;
999   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1000     ac_init_help=short ;;
1001
1002   -host | --host | --hos | --ho)
1003     ac_prev=host_alias ;;
1004   -host=* | --host=* | --hos=* | --ho=*)
1005     host_alias=$ac_optarg ;;
1006
1007   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1008     ac_prev=htmldir ;;
1009   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1010   | --ht=*)
1011     htmldir=$ac_optarg ;;
1012
1013   -includedir | --includedir | --includedi | --included | --include \
1014   | --includ | --inclu | --incl | --inc)
1015     ac_prev=includedir ;;
1016   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1017   | --includ=* | --inclu=* | --incl=* | --inc=*)
1018     includedir=$ac_optarg ;;
1019
1020   -infodir | --infodir | --infodi | --infod | --info | --inf)
1021     ac_prev=infodir ;;
1022   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1023     infodir=$ac_optarg ;;
1024
1025   -libdir | --libdir | --libdi | --libd)
1026     ac_prev=libdir ;;
1027   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1028     libdir=$ac_optarg ;;
1029
1030   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1031   | --libexe | --libex | --libe)
1032     ac_prev=libexecdir ;;
1033   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1034   | --libexe=* | --libex=* | --libe=*)
1035     libexecdir=$ac_optarg ;;
1036
1037   -localedir | --localedir | --localedi | --localed | --locale)
1038     ac_prev=localedir ;;
1039   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040     localedir=$ac_optarg ;;
1041
1042   -localstatedir | --localstatedir | --localstatedi | --localstated \
1043   | --localstate | --localstat | --localsta | --localst | --locals)
1044     ac_prev=localstatedir ;;
1045   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1046   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1047     localstatedir=$ac_optarg ;;
1048
1049   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1050     ac_prev=mandir ;;
1051   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1052     mandir=$ac_optarg ;;
1053
1054   -nfp | --nfp | --nf)
1055     # Obsolete; use --without-fp.
1056     with_fp=no ;;
1057
1058   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1059   | --no-cr | --no-c | -n)
1060     no_create=yes ;;
1061
1062   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1063   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1064     no_recursion=yes ;;
1065
1066   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1067   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1068   | --oldin | --oldi | --old | --ol | --o)
1069     ac_prev=oldincludedir ;;
1070   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1071   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1072   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1073     oldincludedir=$ac_optarg ;;
1074
1075   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1076     ac_prev=prefix ;;
1077   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1078     prefix=$ac_optarg ;;
1079
1080   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1081   | --program-pre | --program-pr | --program-p)
1082     ac_prev=program_prefix ;;
1083   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1084   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1085     program_prefix=$ac_optarg ;;
1086
1087   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1088   | --program-suf | --program-su | --program-s)
1089     ac_prev=program_suffix ;;
1090   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1091   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1092     program_suffix=$ac_optarg ;;
1093
1094   -program-transform-name | --program-transform-name \
1095   | --program-transform-nam | --program-transform-na \
1096   | --program-transform-n | --program-transform- \
1097   | --program-transform | --program-transfor \
1098   | --program-transfo | --program-transf \
1099   | --program-trans | --program-tran \
1100   | --progr-tra | --program-tr | --program-t)
1101     ac_prev=program_transform_name ;;
1102   -program-transform-name=* | --program-transform-name=* \
1103   | --program-transform-nam=* | --program-transform-na=* \
1104   | --program-transform-n=* | --program-transform-=* \
1105   | --program-transform=* | --program-transfor=* \
1106   | --program-transfo=* | --program-transf=* \
1107   | --program-trans=* | --program-tran=* \
1108   | --progr-tra=* | --program-tr=* | --program-t=*)
1109     program_transform_name=$ac_optarg ;;
1110
1111   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1112     ac_prev=pdfdir ;;
1113   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1114     pdfdir=$ac_optarg ;;
1115
1116   -psdir | --psdir | --psdi | --psd | --ps)
1117     ac_prev=psdir ;;
1118   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1119     psdir=$ac_optarg ;;
1120
1121   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122   | -silent | --silent | --silen | --sile | --sil)
1123     silent=yes ;;
1124
1125   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1126     ac_prev=sbindir ;;
1127   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1128   | --sbi=* | --sb=*)
1129     sbindir=$ac_optarg ;;
1130
1131   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133   | --sharedst | --shareds | --shared | --share | --shar \
1134   | --sha | --sh)
1135     ac_prev=sharedstatedir ;;
1136   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1139   | --sha=* | --sh=*)
1140     sharedstatedir=$ac_optarg ;;
1141
1142   -site | --site | --sit)
1143     ac_prev=site ;;
1144   -site=* | --site=* | --sit=*)
1145     site=$ac_optarg ;;
1146
1147   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1148     ac_prev=srcdir ;;
1149   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150     srcdir=$ac_optarg ;;
1151
1152   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153   | --syscon | --sysco | --sysc | --sys | --sy)
1154     ac_prev=sysconfdir ;;
1155   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157     sysconfdir=$ac_optarg ;;
1158
1159   -target | --target | --targe | --targ | --tar | --ta | --t)
1160     ac_prev=target_alias ;;
1161   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162     target_alias=$ac_optarg ;;
1163
1164   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1165     verbose=yes ;;
1166
1167   -version | --version | --versio | --versi | --vers | -V)
1168     ac_init_version=: ;;
1169
1170   -with-* | --with-*)
1171     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172     # Reject names that are not valid shell variable names.
1173     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174       as_fn_error $? "invalid package name: $ac_useropt"
1175     ac_useropt_orig=$ac_useropt
1176     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177     case $ac_user_opts in
1178       *"
1179 "with_$ac_useropt"
1180 "*) ;;
1181       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182          ac_unrecognized_sep=', ';;
1183     esac
1184     eval with_$ac_useropt=\$ac_optarg ;;
1185
1186   -without-* | --without-*)
1187     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188     # Reject names that are not valid shell variable names.
1189     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190       as_fn_error $? "invalid package name: $ac_useropt"
1191     ac_useropt_orig=$ac_useropt
1192     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193     case $ac_user_opts in
1194       *"
1195 "with_$ac_useropt"
1196 "*) ;;
1197       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198          ac_unrecognized_sep=', ';;
1199     esac
1200     eval with_$ac_useropt=no ;;
1201
1202   --x)
1203     # Obsolete; use --with-x.
1204     with_x=yes ;;
1205
1206   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207   | --x-incl | --x-inc | --x-in | --x-i)
1208     ac_prev=x_includes ;;
1209   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211     x_includes=$ac_optarg ;;
1212
1213   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215     ac_prev=x_libraries ;;
1216   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218     x_libraries=$ac_optarg ;;
1219
1220   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1222     ;;
1223
1224   *=*)
1225     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226     # Reject names that are not valid shell variable names.
1227     case $ac_envvar in #(
1228       '' | [0-9]* | *[!_$as_cr_alnum]* )
1229       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1230     esac
1231     eval $ac_envvar=\$ac_optarg
1232     export $ac_envvar ;;
1233
1234   *)
1235     # FIXME: should be removed in autoconf 3.0.
1236     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1240     ;;
1241
1242   esac
1243 done
1244
1245 if test -n "$ac_prev"; then
1246   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247   as_fn_error $? "missing argument to $ac_option"
1248 fi
1249
1250 if test -n "$ac_unrecognized_opts"; then
1251   case $enable_option_checking in
1252     no) ;;
1253     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1255   esac
1256 fi
1257
1258 # Check all directory arguments for consistency.
1259 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260                 datadir sysconfdir sharedstatedir localstatedir includedir \
1261                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262                 libdir localedir mandir
1263 do
1264   eval ac_val=\$$ac_var
1265   # Remove trailing slashes.
1266   case $ac_val in
1267     */ )
1268       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269       eval $ac_var=\$ac_val;;
1270   esac
1271   # Be sure to have absolute directory names.
1272   case $ac_val in
1273     [\\/$]* | ?:[\\/]* )  continue;;
1274     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1275   esac
1276   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1277 done
1278
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1282 build=$build_alias
1283 host=$host_alias
1284 target=$target_alias
1285
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x; then
1288   if test "x$build_alias" = x; then
1289     cross_compiling=maybe
1290     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1291     If a cross compiler is detected then cross compile mode will be used" >&2
1292   elif test "x$build_alias" != "x$host_alias"; then
1293     cross_compiling=yes
1294   fi
1295 fi
1296
1297 ac_tool_prefix=
1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299
1300 test "$silent" = yes && exec 6>/dev/null
1301
1302
1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di=`ls -di .` &&
1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1306   as_fn_error $? "working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308   as_fn_error $? "pwd does not report name of working directory"
1309
1310
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313   ac_srcdir_defaulted=yes
1314   # Try the directory containing this script, then the parent directory.
1315   ac_confdir=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317          X"$as_myself" : 'X\(//\)[^/]' \| \
1318          X"$as_myself" : 'X\(//\)$' \| \
1319          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322             s//\1/
1323             q
1324           }
1325           /^X\(\/\/\)[^/].*/{
1326             s//\1/
1327             q
1328           }
1329           /^X\(\/\/\)$/{
1330             s//\1/
1331             q
1332           }
1333           /^X\(\/\).*/{
1334             s//\1/
1335             q
1336           }
1337           s/.*/./; q'`
1338   srcdir=$ac_confdir
1339   if test ! -r "$srcdir/$ac_unique_file"; then
1340     srcdir=..
1341   fi
1342 else
1343   ac_srcdir_defaulted=no
1344 fi
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1347   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1348 fi
1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 ac_abs_confdir=`(
1351         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352         pwd)`
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355   srcdir=.
1356 fi
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1360 case $srcdir in
1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 esac
1363 for ac_var in $ac_precious_vars; do
1364   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1365   eval ac_env_${ac_var}_value=\$${ac_var}
1366   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1367   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1368 done
1369
1370 #
1371 # Report the --help message.
1372 #
1373 if test "$ac_init_help" = "long"; then
1374   # Omit some internal or obsolete options to make the list less imposing.
1375   # This message is too long to be a string in the A/UX 3.1 sh.
1376   cat <<_ACEOF
1377 \`configure' configures nlio gf493c3b to adapt to many kinds of systems.
1378
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1380
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE.  See below for descriptions of some of the useful variables.
1383
1384 Defaults for the options are specified in brackets.
1385
1386 Configuration:
1387   -h, --help              display this help and exit
1388       --help=short        display options specific to this package
1389       --help=recursive    display the short help of all the included packages
1390   -V, --version           display version information and exit
1391   -q, --quiet, --silent   do not print \`checking ...' messages
1392       --cache-file=FILE   cache test results in FILE [disabled]
1393   -C, --config-cache      alias for \`--cache-file=config.cache'
1394   -n, --no-create         do not create output files
1395       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1396
1397 Installation directories:
1398   --prefix=PREFIX         install architecture-independent files in PREFIX
1399                           [$ac_default_prefix]
1400   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1401                           [PREFIX]
1402
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1407
1408 For better control, use the options below.
1409
1410 Fine tuning of the installation directories:
1411   --bindir=DIR            user executables [EPREFIX/bin]
1412   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1413   --libexecdir=DIR        program executables [EPREFIX/libexec]
1414   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1415   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1416   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1417   --libdir=DIR            object code libraries [EPREFIX/lib]
1418   --includedir=DIR        C header files [PREFIX/include]
1419   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1420   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1421   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1422   --infodir=DIR           info documentation [DATAROOTDIR/info]
1423   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1424   --mandir=DIR            man documentation [DATAROOTDIR/man]
1425   --docdir=DIR            documentation root [DATAROOTDIR/doc/nlio]
1426   --htmldir=DIR           html documentation [DOCDIR]
1427   --dvidir=DIR            dvi documentation [DOCDIR]
1428   --pdfdir=DIR            pdf documentation [DOCDIR]
1429   --psdir=DIR             ps documentation [DOCDIR]
1430 _ACEOF
1431
1432   cat <<\_ACEOF
1433
1434 Program names:
1435   --program-prefix=PREFIX            prepend PREFIX to installed program names
1436   --program-suffix=SUFFIX            append SUFFIX to installed program names
1437   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1438
1439 System types:
1440   --build=BUILD     configure for building on BUILD [guessed]
1441   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1442   --target=TARGET   configure for building compilers for TARGET [HOST]
1443 _ACEOF
1444 fi
1445
1446 if test -n "$ac_init_help"; then
1447   case $ac_init_help in
1448      short | recursive ) echo "Configuration of nlio gf493c3b:";;
1449    esac
1450   cat <<\_ACEOF
1451
1452 Optional Features:
1453   --disable-option-checking  ignore unrecognized --enable/--with options
1454   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1455   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1456   --enable-silent-rules   less verbose build output (undo: "make V=1")
1457   --disable-silent-rules  verbose build output (undo: "make V=0")
1458   --enable-maintainer-mode
1459                           enable make rules and dependencies not useful (and
1460                           sometimes confusing) to the casual installer
1461   --enable-dependency-tracking
1462                           do not reject slow dependency extractors
1463   --disable-dependency-tracking
1464                           speeds up one-time build
1465   --enable-shared[=PKGS]  build shared libraries [default=yes]
1466   --enable-static[=PKGS]  build static libraries [default=yes]
1467   --enable-fast-install[=PKGS]
1468                           optimize for fast installation [default=yes]
1469   --disable-libtool-lock  avoid locking (might break parallel builds)
1470   --enable-debug          Enable the generation of debug instances
1471                           [default=no].
1472   --enable-coverage       Enable the generation of code-coverage instances
1473                           [default=no].
1474   --enable-coverage-reports
1475                           Enable the generation of code coverage reports
1476                           (requires lcov) [default=auto].
1477   --enable-optimization   Enable the generation of code-optimized instances
1478                           [default=yes].
1479   --enable-tests          Enable building of tests [default=yes].
1480   --disable-docs          Enable building documentation (requires Doxygen)
1481                           [default=auto].
1482
1483 Optional Packages:
1484   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1485   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1486   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1487                           both]
1488   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1489   --with-sysroot=DIR Search for dependent libraries within DIR
1490                         (or the compiler's sysroot if not specified).
1491   --with-nlunit_test=DIR  Specify location of the required Nlunit-test headers
1492                           and libraries [default=internal].
1493   --with-nlunit_test-includes=DIR
1494                           Specify location of required Nlunit-test headers
1495                           [default=internal].
1496   --with-nlunit_test-libs=DIR
1497                           Specify location of required Nlunit-test libraries
1498                           [default=internal].
1499
1500 Some influential environment variables:
1501   CC          C compiler command
1502   CFLAGS      C compiler flags
1503   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1504               nonstandard directory <lib dir>
1505   LIBS        libraries to pass to the linker, e.g. -l<library>
1506   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1507               you have headers in a nonstandard directory <include dir>
1508   CPP         C preprocessor
1509   CXX         C++ compiler command
1510   CXXFLAGS    C++ compiler flags
1511   CXXCPP      C++ preprocessor
1512   DOXYGEN     Doxygen executable
1513   DOT         GraphViz 'dot' executable, which may be used, when present, to
1514               generate Doxygen class graphs
1515   NLUNIT_TEST_CPPFLAGS
1516               Nlunit-test C preprocessor flags
1517   NLUNIT_TEST_LDFLAGS
1518               Nlunit-test linker flags
1519   NLUNIT_TEST_LIBS
1520               Nlunit-test linker libraries
1521
1522 Use these variables to override the choices made by `configure' or to help
1523 it to find libraries and programs with nonstandard names/locations.
1524
1525 Report bugs to <nlio-users@google.com>.
1526 nlio home page: <https://github.com/nestlabs/nlio/>.
1527 _ACEOF
1528 ac_status=$?
1529 fi
1530
1531 if test "$ac_init_help" = "recursive"; then
1532   # If there are subdirs, report their specific --help.
1533   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534     test -d "$ac_dir" ||
1535       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1536       continue
1537     ac_builddir=.
1538
1539 case "$ac_dir" in
1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 *)
1542   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543   # A ".." for each directory in $ac_dir_suffix.
1544   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545   case $ac_top_builddir_sub in
1546   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1548   esac ;;
1549 esac
1550 ac_abs_top_builddir=$ac_pwd
1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir=$ac_top_build_prefix
1554
1555 case $srcdir in
1556   .)  # We are building in place.
1557     ac_srcdir=.
1558     ac_top_srcdir=$ac_top_builddir_sub
1559     ac_abs_top_srcdir=$ac_pwd ;;
1560   [\\/]* | ?:[\\/]* )  # Absolute name.
1561     ac_srcdir=$srcdir$ac_dir_suffix;
1562     ac_top_srcdir=$srcdir
1563     ac_abs_top_srcdir=$srcdir ;;
1564   *) # Relative name.
1565     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566     ac_top_srcdir=$ac_top_build_prefix$srcdir
1567     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1568 esac
1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1570
1571     cd "$ac_dir" || { ac_status=$?; continue; }
1572     # Check for guested configure.
1573     if test -f "$ac_srcdir/configure.gnu"; then
1574       echo &&
1575       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576     elif test -f "$ac_srcdir/configure"; then
1577       echo &&
1578       $SHELL "$ac_srcdir/configure" --help=recursive
1579     else
1580       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1581     fi || ac_status=$?
1582     cd "$ac_pwd" || { ac_status=$?; break; }
1583   done
1584 fi
1585
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1588   cat <<\_ACEOF
1589 nlio configure gf493c3b
1590 generated by GNU Autoconf 2.68
1591
1592 Copyright (C) 2010 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1595 _ACEOF
1596   exit
1597 fi
1598
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1602
1603 # ac_fn_c_try_compile LINENO
1604 # --------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_c_try_compile ()
1607 {
1608   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609   rm -f conftest.$ac_objext
1610   if { { ac_try="$ac_compile"
1611 case "(($ac_try" in
1612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613   *) ac_try_echo=$ac_try;;
1614 esac
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617   (eval "$ac_compile") 2>conftest.err
1618   ac_status=$?
1619   if test -s conftest.err; then
1620     grep -v '^ *+' conftest.err >conftest.er1
1621     cat conftest.er1 >&5
1622     mv -f conftest.er1 conftest.err
1623   fi
1624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625   test $ac_status = 0; } && {
1626          test -z "$ac_c_werror_flag" ||
1627          test ! -s conftest.err
1628        } && test -s conftest.$ac_objext; then :
1629   ac_retval=0
1630 else
1631   $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1633
1634         ac_retval=1
1635 fi
1636   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637   as_fn_set_status $ac_retval
1638
1639 } # ac_fn_c_try_compile
1640
1641 # ac_fn_c_try_cpp LINENO
1642 # ----------------------
1643 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_cpp ()
1645 {
1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647   if { { ac_try="$ac_cpp conftest.$ac_ext"
1648 case "(($ac_try" in
1649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650   *) ac_try_echo=$ac_try;;
1651 esac
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1655   ac_status=$?
1656   if test -s conftest.err; then
1657     grep -v '^ *+' conftest.err >conftest.er1
1658     cat conftest.er1 >&5
1659     mv -f conftest.er1 conftest.err
1660   fi
1661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662   test $ac_status = 0; } > conftest.i && {
1663          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1664          test ! -s conftest.err
1665        }; then :
1666   ac_retval=0
1667 else
1668   $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1670
1671     ac_retval=1
1672 fi
1673   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674   as_fn_set_status $ac_retval
1675
1676 } # ac_fn_c_try_cpp
1677
1678 # ac_fn_cxx_try_compile LINENO
1679 # ----------------------------
1680 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1681 ac_fn_cxx_try_compile ()
1682 {
1683   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684   rm -f conftest.$ac_objext
1685   if { { ac_try="$ac_compile"
1686 case "(($ac_try" in
1687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688   *) ac_try_echo=$ac_try;;
1689 esac
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692   (eval "$ac_compile") 2>conftest.err
1693   ac_status=$?
1694   if test -s conftest.err; then
1695     grep -v '^ *+' conftest.err >conftest.er1
1696     cat conftest.er1 >&5
1697     mv -f conftest.er1 conftest.err
1698   fi
1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700   test $ac_status = 0; } && {
1701          test -z "$ac_cxx_werror_flag" ||
1702          test ! -s conftest.err
1703        } && test -s conftest.$ac_objext; then :
1704   ac_retval=0
1705 else
1706   $as_echo "$as_me: failed program was:" >&5
1707 sed 's/^/| /' conftest.$ac_ext >&5
1708
1709         ac_retval=1
1710 fi
1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712   as_fn_set_status $ac_retval
1713
1714 } # ac_fn_cxx_try_compile
1715
1716 # ac_fn_cxx_try_cpp LINENO
1717 # ------------------------
1718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_cxx_try_cpp ()
1720 {
1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722   if { { ac_try="$ac_cpp conftest.$ac_ext"
1723 case "(($ac_try" in
1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725   *) ac_try_echo=$ac_try;;
1726 esac
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1730   ac_status=$?
1731   if test -s conftest.err; then
1732     grep -v '^ *+' conftest.err >conftest.er1
1733     cat conftest.er1 >&5
1734     mv -f conftest.er1 conftest.err
1735   fi
1736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737   test $ac_status = 0; } > conftest.i && {
1738          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1739          test ! -s conftest.err
1740        }; then :
1741   ac_retval=0
1742 else
1743   $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1745
1746     ac_retval=1
1747 fi
1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749   as_fn_set_status $ac_retval
1750
1751 } # ac_fn_cxx_try_cpp
1752
1753 # ac_fn_c_try_link LINENO
1754 # -----------------------
1755 # Try to link conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_c_try_link ()
1757 {
1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759   rm -f conftest.$ac_objext conftest$ac_exeext
1760   if { { ac_try="$ac_link"
1761 case "(($ac_try" in
1762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763   *) ac_try_echo=$ac_try;;
1764 esac
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767   (eval "$ac_link") 2>conftest.err
1768   ac_status=$?
1769   if test -s conftest.err; then
1770     grep -v '^ *+' conftest.err >conftest.er1
1771     cat conftest.er1 >&5
1772     mv -f conftest.er1 conftest.err
1773   fi
1774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775   test $ac_status = 0; } && {
1776          test -z "$ac_c_werror_flag" ||
1777          test ! -s conftest.err
1778        } && test -s conftest$ac_exeext && {
1779          test "$cross_compiling" = yes ||
1780          $as_test_x conftest$ac_exeext
1781        }; then :
1782   ac_retval=0
1783 else
1784   $as_echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.$ac_ext >&5
1786
1787         ac_retval=1
1788 fi
1789   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1790   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1791   # interfere with the next link command; also delete a directory that is
1792   # left behind by Apple's compiler.  We do this before executing the actions.
1793   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1794   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795   as_fn_set_status $ac_retval
1796
1797 } # ac_fn_c_try_link
1798
1799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1800 # -------------------------------------------------------
1801 # Tests whether HEADER exists and can be compiled using the include files in
1802 # INCLUDES, setting the cache variable VAR accordingly.
1803 ac_fn_c_check_header_compile ()
1804 {
1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \${$3+:} false; then :
1809   $as_echo_n "(cached) " >&6
1810 else
1811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h.  */
1813 $4
1814 #include <$2>
1815 _ACEOF
1816 if ac_fn_c_try_compile "$LINENO"; then :
1817   eval "$3=yes"
1818 else
1819   eval "$3=no"
1820 fi
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822 fi
1823 eval ac_res=\$$3
1824                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827
1828 } # ac_fn_c_check_header_compile
1829
1830 # ac_fn_c_try_run LINENO
1831 # ----------------------
1832 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1833 # that executables *can* be run.
1834 ac_fn_c_try_run ()
1835 {
1836   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837   if { { ac_try="$ac_link"
1838 case "(($ac_try" in
1839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840   *) ac_try_echo=$ac_try;;
1841 esac
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844   (eval "$ac_link") 2>&5
1845   ac_status=$?
1846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1848   { { case "(($ac_try" in
1849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850   *) ac_try_echo=$ac_try;;
1851 esac
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854   (eval "$ac_try") 2>&5
1855   ac_status=$?
1856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857   test $ac_status = 0; }; }; then :
1858   ac_retval=0
1859 else
1860   $as_echo "$as_me: program exited with status $ac_status" >&5
1861        $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1863
1864        ac_retval=$ac_status
1865 fi
1866   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868   as_fn_set_status $ac_retval
1869
1870 } # ac_fn_c_try_run
1871
1872 # ac_fn_c_check_func LINENO FUNC VAR
1873 # ----------------------------------
1874 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1875 ac_fn_c_check_func ()
1876 {
1877   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if eval \${$3+:} false; then :
1881   $as_echo_n "(cached) " >&6
1882 else
1883   if test x$ac_no_link = xyes; then
1884   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
1885 fi
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h.  */
1888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1889    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1890 #define $2 innocuous_$2
1891
1892 /* System header to define __stub macros and hopefully few prototypes,
1893     which can conflict with char $2 (); below.
1894     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1895     <limits.h> exists even on freestanding compilers.  */
1896
1897 #ifdef __STDC__
1898 # include <limits.h>
1899 #else
1900 # include <assert.h>
1901 #endif
1902
1903 #undef $2
1904
1905 /* Override any GCC internal prototype to avoid an error.
1906    Use char because int might match the return type of a GCC
1907    builtin and then its argument prototype would still apply.  */
1908 #ifdef __cplusplus
1909 extern "C"
1910 #endif
1911 char $2 ();
1912 /* The GNU C library defines this for functions which it implements
1913     to always fail with ENOSYS.  Some functions are actually named
1914     something starting with __ and the normal name is an alias.  */
1915 #if defined __stub_$2 || defined __stub___$2
1916 choke me
1917 #endif
1918
1919 int
1920 main ()
1921 {
1922 return $2 ();
1923   ;
1924   return 0;
1925 }
1926 _ACEOF
1927 if ac_fn_c_try_link "$LINENO"; then :
1928   eval "$3=yes"
1929 else
1930   eval "$3=no"
1931 fi
1932 rm -f core conftest.err conftest.$ac_objext \
1933     conftest$ac_exeext conftest.$ac_ext
1934 fi
1935 eval ac_res=\$$3
1936                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939
1940 } # ac_fn_c_check_func
1941
1942 # ac_fn_cxx_try_link LINENO
1943 # -------------------------
1944 # Try to link conftest.$ac_ext, and return whether this succeeded.
1945 ac_fn_cxx_try_link ()
1946 {
1947   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948   rm -f conftest.$ac_objext conftest$ac_exeext
1949   if { { ac_try="$ac_link"
1950 case "(($ac_try" in
1951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1952   *) ac_try_echo=$ac_try;;
1953 esac
1954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956   (eval "$ac_link") 2>conftest.err
1957   ac_status=$?
1958   if test -s conftest.err; then
1959     grep -v '^ *+' conftest.err >conftest.er1
1960     cat conftest.er1 >&5
1961     mv -f conftest.er1 conftest.err
1962   fi
1963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964   test $ac_status = 0; } && {
1965          test -z "$ac_cxx_werror_flag" ||
1966          test ! -s conftest.err
1967        } && test -s conftest$ac_exeext && {
1968          test "$cross_compiling" = yes ||
1969          $as_test_x conftest$ac_exeext
1970        }; then :
1971   ac_retval=0
1972 else
1973   $as_echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.$ac_ext >&5
1975
1976         ac_retval=1
1977 fi
1978   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1979   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1980   # interfere with the next link command; also delete a directory that is
1981   # left behind by Apple's compiler.  We do this before executing the actions.
1982   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1983   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984   as_fn_set_status $ac_retval
1985
1986 } # ac_fn_cxx_try_link
1987
1988 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1989 # -------------------------------------------------------
1990 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1991 # the include files in INCLUDES and setting the cache variable VAR
1992 # accordingly.
1993 ac_fn_c_check_header_mongrel ()
1994 {
1995   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996   if eval \${$3+:} false; then :
1997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998 $as_echo_n "checking for $2... " >&6; }
1999 if eval \${$3+:} false; then :
2000   $as_echo_n "(cached) " >&6
2001 fi
2002 eval ac_res=\$$3
2003                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004 $as_echo "$ac_res" >&6; }
2005 else
2006   # Is the header compilable?
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2008 $as_echo_n "checking $2 usability... " >&6; }
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h.  */
2011 $4
2012 #include <$2>
2013 _ACEOF
2014 if ac_fn_c_try_compile "$LINENO"; then :
2015   ac_header_compiler=yes
2016 else
2017   ac_header_compiler=no
2018 fi
2019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2021 $as_echo "$ac_header_compiler" >&6; }
2022
2023 # Is the header present?
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2025 $as_echo_n "checking $2 presence... " >&6; }
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h.  */
2028 #include <$2>
2029 _ACEOF
2030 if ac_fn_c_try_cpp "$LINENO"; then :
2031   ac_header_preproc=yes
2032 else
2033   ac_header_preproc=no
2034 fi
2035 rm -f conftest.err conftest.i conftest.$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2037 $as_echo "$ac_header_preproc" >&6; }
2038
2039 # So?  What about this header?
2040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2041   yes:no: )
2042     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2043 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2044     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2046     ;;
2047   no:yes:* )
2048     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2049 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2050     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2051 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2052     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2053 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2054     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2055 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2056     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2057 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2058 ( $as_echo "## ------------------------------------ ##
2059 ## Report this to nlio-users@google.com ##
2060 ## ------------------------------------ ##"
2061      ) | sed "s/^/$as_me: WARNING:     /" >&2
2062     ;;
2063 esac
2064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065 $as_echo_n "checking for $2... " >&6; }
2066 if eval \${$3+:} false; then :
2067   $as_echo_n "(cached) " >&6
2068 else
2069   eval "$3=\$ac_header_compiler"
2070 fi
2071 eval ac_res=\$$3
2072                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074 fi
2075   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076
2077 } # ac_fn_c_check_header_mongrel
2078
2079 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2080 # -------------------------------------------
2081 # Tests whether TYPE exists after having included INCLUDES, setting cache
2082 # variable VAR accordingly.
2083 ac_fn_c_check_type ()
2084 {
2085   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2087 $as_echo_n "checking for $2... " >&6; }
2088 if eval \${$3+:} false; then :
2089   $as_echo_n "(cached) " >&6
2090 else
2091   eval "$3=no"
2092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h.  */
2094 $4
2095 int
2096 main ()
2097 {
2098 if (sizeof ($2))
2099          return 0;
2100   ;
2101   return 0;
2102 }
2103 _ACEOF
2104 if ac_fn_c_try_compile "$LINENO"; then :
2105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h.  */
2107 $4
2108 int
2109 main ()
2110 {
2111 if (sizeof (($2)))
2112             return 0;
2113   ;
2114   return 0;
2115 }
2116 _ACEOF
2117 if ac_fn_c_try_compile "$LINENO"; then :
2118
2119 else
2120   eval "$3=yes"
2121 fi
2122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2123 fi
2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125 fi
2126 eval ac_res=\$$3
2127                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2129   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2130
2131 } # ac_fn_c_check_type
2132
2133 # ac_fn_c_find_intX_t LINENO BITS VAR
2134 # -----------------------------------
2135 # Finds a signed integer type with width BITS, setting cache variable VAR
2136 # accordingly.
2137 ac_fn_c_find_intX_t ()
2138 {
2139   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2141 $as_echo_n "checking for int$2_t... " >&6; }
2142 if eval \${$3+:} false; then :
2143   $as_echo_n "(cached) " >&6
2144 else
2145   eval "$3=no"
2146      # Order is important - never check a type that is potentially smaller
2147      # than half of the expected target width.
2148      for ac_type in int$2_t 'int' 'long int' \
2149          'long long int' 'short int' 'signed char'; do
2150        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h.  */
2152 $ac_includes_default
2153              enum { N = $2 / 2 - 1 };
2154 int
2155 main ()
2156 {
2157 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2158 test_array [0] = 0
2159
2160   ;
2161   return 0;
2162 }
2163 _ACEOF
2164 if ac_fn_c_try_compile "$LINENO"; then :
2165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h.  */
2167 $ac_includes_default
2168                 enum { N = $2 / 2 - 1 };
2169 int
2170 main ()
2171 {
2172 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2173                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2174 test_array [0] = 0
2175
2176   ;
2177   return 0;
2178 }
2179 _ACEOF
2180 if ac_fn_c_try_compile "$LINENO"; then :
2181
2182 else
2183   case $ac_type in #(
2184   int$2_t) :
2185     eval "$3=yes" ;; #(
2186   *) :
2187     eval "$3=\$ac_type" ;;
2188 esac
2189 fi
2190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2191 fi
2192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2193        if eval test \"x\$"$3"\" = x"no"; then :
2194
2195 else
2196   break
2197 fi
2198      done
2199 fi
2200 eval ac_res=\$$3
2201                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2204
2205 } # ac_fn_c_find_intX_t
2206
2207 # ac_fn_c_find_uintX_t LINENO BITS VAR
2208 # ------------------------------------
2209 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2210 # accordingly.
2211 ac_fn_c_find_uintX_t ()
2212 {
2213   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2215 $as_echo_n "checking for uint$2_t... " >&6; }
2216 if eval \${$3+:} false; then :
2217   $as_echo_n "(cached) " >&6
2218 else
2219   eval "$3=no"
2220      # Order is important - never check a type that is potentially smaller
2221      # than half of the expected target width.
2222      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2223          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2224        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h.  */
2226 $ac_includes_default
2227 int
2228 main ()
2229 {
2230 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2231 test_array [0] = 0
2232
2233   ;
2234   return 0;
2235 }
2236 _ACEOF
2237 if ac_fn_c_try_compile "$LINENO"; then :
2238   case $ac_type in #(
2239   uint$2_t) :
2240     eval "$3=yes" ;; #(
2241   *) :
2242     eval "$3=\$ac_type" ;;
2243 esac
2244 fi
2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246        if eval test \"x\$"$3"\" = x"no"; then :
2247
2248 else
2249   break
2250 fi
2251      done
2252 fi
2253 eval ac_res=\$$3
2254                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2255 $as_echo "$ac_res" >&6; }
2256   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2257
2258 } # ac_fn_c_find_uintX_t
2259 cat >config.log <<_ACEOF
2260 This file contains any messages produced by compilers while
2261 running configure, to aid debugging if configure makes a mistake.
2262
2263 It was created by nlio $as_me gf493c3b, which was
2264 generated by GNU Autoconf 2.68.  Invocation command line was
2265
2266   $ $0 $@
2267
2268 _ACEOF
2269 exec 5>>config.log
2270 {
2271 cat <<_ASUNAME
2272 ## --------- ##
2273 ## Platform. ##
2274 ## --------- ##
2275
2276 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2277 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2278 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2279 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2280 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2281
2282 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2283 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2284
2285 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2286 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2287 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2288 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2289 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2290 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2291 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2292
2293 _ASUNAME
2294
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2297 do
2298   IFS=$as_save_IFS
2299   test -z "$as_dir" && as_dir=.
2300     $as_echo "PATH: $as_dir"
2301   done
2302 IFS=$as_save_IFS
2303
2304 } >&5
2305
2306 cat >&5 <<_ACEOF
2307
2308
2309 ## ----------- ##
2310 ## Core tests. ##
2311 ## ----------- ##
2312
2313 _ACEOF
2314
2315
2316 # Keep a trace of the command line.
2317 # Strip out --no-create and --no-recursion so they do not pile up.
2318 # Strip out --silent because we don't want to record it for future runs.
2319 # Also quote any args containing shell meta-characters.
2320 # Make two passes to allow for proper duplicate-argument suppression.
2321 ac_configure_args=
2322 ac_configure_args0=
2323 ac_configure_args1=
2324 ac_must_keep_next=false
2325 for ac_pass in 1 2
2326 do
2327   for ac_arg
2328   do
2329     case $ac_arg in
2330     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2331     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2332     | -silent | --silent | --silen | --sile | --sil)
2333       continue ;;
2334     *\'*)
2335       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2336     esac
2337     case $ac_pass in
2338     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2339     2)
2340       as_fn_append ac_configure_args1 " '$ac_arg'"
2341       if test $ac_must_keep_next = true; then
2342         ac_must_keep_next=false # Got value, back to normal.
2343       else
2344         case $ac_arg in
2345           *=* | --config-cache | -C | -disable-* | --disable-* \
2346           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2347           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2348           | -with-* | --with-* | -without-* | --without-* | --x)
2349             case "$ac_configure_args0 " in
2350               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2351             esac
2352             ;;
2353           -* ) ac_must_keep_next=true ;;
2354         esac
2355       fi
2356       as_fn_append ac_configure_args " '$ac_arg'"
2357       ;;
2358     esac
2359   done
2360 done
2361 { ac_configure_args0=; unset ac_configure_args0;}
2362 { ac_configure_args1=; unset ac_configure_args1;}
2363
2364 # When interrupted or exit'd, cleanup temporary files, and complete
2365 # config.log.  We remove comments because anyway the quotes in there
2366 # would cause problems or look ugly.
2367 # WARNING: Use '\'' to represent an apostrophe within the trap.
2368 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2369 trap 'exit_status=$?
2370   # Save into config.log some information that might help in debugging.
2371   {
2372     echo
2373
2374     $as_echo "## ---------------- ##
2375 ## Cache variables. ##
2376 ## ---------------- ##"
2377     echo
2378     # The following way of writing the cache mishandles newlines in values,
2379 (
2380   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2381     eval ac_val=\$$ac_var
2382     case $ac_val in #(
2383     *${as_nl}*)
2384       case $ac_var in #(
2385       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2386 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2387       esac
2388       case $ac_var in #(
2389       _ | IFS | as_nl) ;; #(
2390       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2391       *) { eval $ac_var=; unset $ac_var;} ;;
2392       esac ;;
2393     esac
2394   done
2395   (set) 2>&1 |
2396     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2397     *${as_nl}ac_space=\ *)
2398       sed -n \
2399         "s/'\''/'\''\\\\'\'''\''/g;
2400           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2401       ;; #(
2402     *)
2403       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2404       ;;
2405     esac |
2406     sort
2407 )
2408     echo
2409
2410     $as_echo "## ----------------- ##
2411 ## Output variables. ##
2412 ## ----------------- ##"
2413     echo
2414     for ac_var in $ac_subst_vars
2415     do
2416       eval ac_val=\$$ac_var
2417       case $ac_val in
2418       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2419       esac
2420       $as_echo "$ac_var='\''$ac_val'\''"
2421     done | sort
2422     echo
2423
2424     if test -n "$ac_subst_files"; then
2425       $as_echo "## ------------------- ##
2426 ## File substitutions. ##
2427 ## ------------------- ##"
2428       echo
2429       for ac_var in $ac_subst_files
2430       do
2431         eval ac_val=\$$ac_var
2432         case $ac_val in
2433         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2434         esac
2435         $as_echo "$ac_var='\''$ac_val'\''"
2436       done | sort
2437       echo
2438     fi
2439
2440     if test -s confdefs.h; then
2441       $as_echo "## ----------- ##
2442 ## confdefs.h. ##
2443 ## ----------- ##"
2444       echo
2445       cat confdefs.h
2446       echo
2447     fi
2448     test "$ac_signal" != 0 &&
2449       $as_echo "$as_me: caught signal $ac_signal"
2450     $as_echo "$as_me: exit $exit_status"
2451   } >&5
2452   rm -f core *.core core.conftest.* &&
2453     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2454     exit $exit_status
2455 ' 0
2456 for ac_signal in 1 2 13 15; do
2457   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2458 done
2459 ac_signal=0
2460
2461 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2462 rm -f -r conftest* confdefs.h
2463
2464 $as_echo "/* confdefs.h */" > confdefs.h
2465
2466 # Predefined preprocessor variables.
2467
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_NAME "$PACKAGE_NAME"
2470 _ACEOF
2471
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2474 _ACEOF
2475
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2478 _ACEOF
2479
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_STRING "$PACKAGE_STRING"
2482 _ACEOF
2483
2484 cat >>confdefs.h <<_ACEOF
2485 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2486 _ACEOF
2487
2488 cat >>confdefs.h <<_ACEOF
2489 #define PACKAGE_URL "$PACKAGE_URL"
2490 _ACEOF
2491
2492
2493 # Let the site file select an alternate cache file if it wants to.
2494 # Prefer an explicitly selected file to automatically selected ones.
2495 ac_site_file1=NONE
2496 ac_site_file2=NONE
2497 if test -n "$CONFIG_SITE"; then
2498   # We do not want a PATH search for config.site.
2499   case $CONFIG_SITE in #((
2500     -*)  ac_site_file1=./$CONFIG_SITE;;
2501     */*) ac_site_file1=$CONFIG_SITE;;
2502     *)   ac_site_file1=./$CONFIG_SITE;;
2503   esac
2504 elif test "x$prefix" != xNONE; then
2505   ac_site_file1=$prefix/share/config.site
2506   ac_site_file2=$prefix/etc/config.site
2507 else
2508   ac_site_file1=$ac_default_prefix/share/config.site
2509   ac_site_file2=$ac_default_prefix/etc/config.site
2510 fi
2511 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2512 do
2513   test "x$ac_site_file" = xNONE && continue
2514   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2515     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2516 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2517     sed 's/^/| /' "$ac_site_file" >&5
2518     . "$ac_site_file" \
2519       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2521 as_fn_error $? "failed to load site script $ac_site_file
2522 See \`config.log' for more details" "$LINENO" 5; }
2523   fi
2524 done
2525
2526 if test -r "$cache_file"; then
2527   # Some versions of bash will fail to source /dev/null (special files
2528   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2529   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2530     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2531 $as_echo "$as_me: loading cache $cache_file" >&6;}
2532     case $cache_file in
2533       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2534       *)                      . "./$cache_file";;
2535     esac
2536   fi
2537 else
2538   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2539 $as_echo "$as_me: creating cache $cache_file" >&6;}
2540   >$cache_file
2541 fi
2542
2543 # Check that the precious variables saved in the cache have kept the same
2544 # value.
2545 ac_cache_corrupted=false
2546 for ac_var in $ac_precious_vars; do
2547   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2548   eval ac_new_set=\$ac_env_${ac_var}_set
2549   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2550   eval ac_new_val=\$ac_env_${ac_var}_value
2551   case $ac_old_set,$ac_new_set in
2552     set,)
2553       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2554 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2555       ac_cache_corrupted=: ;;
2556     ,set)
2557       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2558 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2559       ac_cache_corrupted=: ;;
2560     ,);;
2561     *)
2562       if test "x$ac_old_val" != "x$ac_new_val"; then
2563         # differences in whitespace do not lead to failure.
2564         ac_old_val_w=`echo x $ac_old_val`
2565         ac_new_val_w=`echo x $ac_new_val`
2566         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2567           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2568 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2569           ac_cache_corrupted=:
2570         else
2571           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2572 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2573           eval $ac_var=\$ac_old_val
2574         fi
2575         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2576 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2577         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2578 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2579       fi;;
2580   esac
2581   # Pass precious variables to config.status.
2582   if test "$ac_new_set" = set; then
2583     case $ac_new_val in
2584     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2585     *) ac_arg=$ac_var=$ac_new_val ;;
2586     esac
2587     case " $ac_configure_args " in
2588       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2589       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2590     esac
2591   fi
2592 done
2593 if $ac_cache_corrupted; then
2594   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2596   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2597 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2598   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2599 fi
2600 ## -------------------- ##
2601 ## Main body of script. ##
2602 ## -------------------- ##
2603
2604 ac_ext=c
2605 ac_cpp='$CPP $CPPFLAGS'
2606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2609
2610
2611
2612 # Tell the rest of the build system the absolute path where the
2613 # nlbuild-autotools repository is rooted at.
2614
2615 nlbuild_autotools_stem=third_party/nlbuild-autotools/repo
2616
2617 abs_top_nlbuild_autotools_dir=\${abs_top_srcdir}/\${nlbuild_autotools_stem}
2618
2619
2620 #
2621 # NLIO interface current, revision, and age versions.
2622 #
2623 # NOTE: At present, NLIO makes NO ABI compatibility
2624 #       commitments. Consequently, these simply serve as documentation
2625 #       for how the interfaces have evolved.
2626 #
2627 # Maintainters: Please manage these fields as follows:
2628 #
2629 #   Interfaces removed:    CURRENT++, AGE = 0, REVISION = 0
2630 #   Interfaces added:      CURRENT++, AGE++,   REVISION = 0
2631 #   No interfaces changed:                     REVISION++
2632 #
2633 #
2634 LIBNLIO_VERSION_CURRENT=1
2635
2636 LIBNLIO_VERSION_AGE=0
2637
2638 LIBNLIO_VERSION_REVISION=0
2639
2640 LIBNLIO_VERSION_INFO=${LIBNLIO_VERSION_CURRENT}:${LIBNLIO_VERSION_REVISION}:${LIBNLIO_VERSION_AGE}
2641
2642
2643 #
2644 # Check the sanity of the source directory by checking for the
2645 # presence of a key watch file
2646 #
2647
2648
2649 #
2650 # Tell autoconf where to find auxilliary build tools (e.g. config.guess,
2651 # install-sh, missing, etc.)
2652 #
2653 ac_aux_dir=
2654 for ac_dir in third_party/nlbuild-autotools/repo/third_party/autoconf "$srcdir"/third_party/nlbuild-autotools/repo/third_party/autoconf; do
2655   if test -f "$ac_dir/install-sh"; then
2656     ac_aux_dir=$ac_dir
2657     ac_install_sh="$ac_aux_dir/install-sh -c"
2658     break
2659   elif test -f "$ac_dir/install.sh"; then
2660     ac_aux_dir=$ac_dir
2661     ac_install_sh="$ac_aux_dir/install.sh -c"
2662     break
2663   elif test -f "$ac_dir/shtool"; then
2664     ac_aux_dir=$ac_dir
2665     ac_install_sh="$ac_aux_dir/shtool install -c"
2666     break
2667   fi
2668 done
2669 if test -z "$ac_aux_dir"; then
2670   as_fn_error $? "cannot find install-sh, install.sh, or shtool in third_party/nlbuild-autotools/repo/third_party/autoconf \"$srcdir\"/third_party/nlbuild-autotools/repo/third_party/autoconf" "$LINENO" 5
2671 fi
2672
2673 # These three variables are undocumented and unsupported,
2674 # and are intended to be withdrawn in a future Autoconf release.
2675 # They can cause serious problems if a builder's source tree is in a directory
2676 # whose full name contains unusual characters.
2677 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2678 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2679 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2680
2681
2682
2683 #
2684 # Tell autoconf where to find auxilliary M4 macros
2685 #
2686
2687
2688 #
2689 # Tell autoconf what file the package is using to aggregate C preprocessor
2690 # defines.
2691 #
2692 ac_config_headers="$ac_config_headers include/nlio-config.h"
2693
2694
2695 #
2696 # Figure out what the canonical build, host and target tuples are.
2697 #
2698 # Make sure we can run config.sub.
2699 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2700   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2701
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2703 $as_echo_n "checking build system type... " >&6; }
2704 if ${ac_cv_build+:} false; then :
2705   $as_echo_n "(cached) " >&6
2706 else
2707   ac_build_alias=$build_alias
2708 test "x$ac_build_alias" = x &&
2709   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2710 test "x$ac_build_alias" = x &&
2711   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2712 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2713   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2714
2715 fi
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2717 $as_echo "$ac_cv_build" >&6; }
2718 case $ac_cv_build in
2719 *-*-*) ;;
2720 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2721 esac
2722 build=$ac_cv_build
2723 ac_save_IFS=$IFS; IFS='-'
2724 set x $ac_cv_build
2725 shift
2726 build_cpu=$1
2727 build_vendor=$2
2728 shift; shift
2729 # Remember, the first character of IFS is used to create $*,
2730 # except with old shells:
2731 build_os=$*
2732 IFS=$ac_save_IFS
2733 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2734
2735
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2737 $as_echo_n "checking host system type... " >&6; }
2738 if ${ac_cv_host+:} false; then :
2739   $as_echo_n "(cached) " >&6
2740 else
2741   if test "x$host_alias" = x; then
2742   ac_cv_host=$ac_cv_build
2743 else
2744   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2745     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2746 fi
2747
2748 fi
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2750 $as_echo "$ac_cv_host" >&6; }
2751 case $ac_cv_host in
2752 *-*-*) ;;
2753 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2754 esac
2755 host=$ac_cv_host
2756 ac_save_IFS=$IFS; IFS='-'
2757 set x $ac_cv_host
2758 shift
2759 host_cpu=$1
2760 host_vendor=$2
2761 shift; shift
2762 # Remember, the first character of IFS is used to create $*,
2763 # except with old shells:
2764 host_os=$*
2765 IFS=$ac_save_IFS
2766 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2767
2768
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2770 $as_echo_n "checking target system type... " >&6; }
2771 if ${ac_cv_target+:} false; then :
2772   $as_echo_n "(cached) " >&6
2773 else
2774   if test "x$target_alias" = x; then
2775   ac_cv_target=$ac_cv_host
2776 else
2777   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2778     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2779 fi
2780
2781 fi
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2783 $as_echo "$ac_cv_target" >&6; }
2784 case $ac_cv_target in
2785 *-*-*) ;;
2786 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2787 esac
2788 target=$ac_cv_target
2789 ac_save_IFS=$IFS; IFS='-'
2790 set x $ac_cv_target
2791 shift
2792 target_cpu=$1
2793 target_vendor=$2
2794 shift; shift
2795 # Remember, the first character of IFS is used to create $*,
2796 # except with old shells:
2797 target_os=$*
2798 IFS=$ac_save_IFS
2799 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2800
2801
2802 # The aliases save the names the user supplied, while $host etc.
2803 # will get canonicalized.
2804 test -n "$target_alias" &&
2805   test "$program_prefix$program_suffix$program_transform_name" = \
2806     NONENONEs,x,x, &&
2807   program_prefix=${target_alias}-
2808
2809 #
2810 # Mac OS X / Darwin ends up putting some versioning cruft on the end of its
2811 # tuple that we don't care about in this script. Create "clean" variables
2812 # devoid of it.
2813 #
2814
2815
2816
2817
2818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered build system type" >&5
2819 $as_echo_n "checking filtered build system type... " >&6; }
2820 if ${nl_cv_filtered_build+:} false; then :
2821   $as_echo_n "(cached) " >&6
2822 else
2823   nl_cv_filtered_build=`echo ${build} | sed -e 's/[[:digit:].]*$//g'`
2824         nl_filtered_build=${nl_cv_filtered_build}
2825 fi
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_build" >&5
2827 $as_echo "$nl_cv_filtered_build" >&6; }
2828
2829
2830     case ${nl_cv_filtered_build} in
2831
2832     *-*-*) ;;
2833     *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2834
2835     esac
2836
2837     nl_filtered_build=$nl_cv_filtered_build
2838
2839
2840     nl_save_IFS=$IFS; IFS='-'
2841     set x $nl_cv_filtered_build
2842     shift
2843
2844     nl_filtered_build_cpu=$1
2845
2846     nl_filtered_build_vendor=$2
2847
2848
2849     shift; shift
2850     # Remember, the first character of IFS is used to create $*,
2851     # except with old shells:
2852     nl_filtered_build_os=$*
2853     IFS=$nl_save_IFS
2854
2855     case nl_filtered_$build_os in
2856
2857     *\ *) nl_filtered_build_os=`echo "$build_os" | sed 's/ /-/g'`;;
2858
2859     esac
2860
2861
2862
2863
2864
2865
2866
2867
2868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered host system type" >&5
2869 $as_echo_n "checking filtered host system type... " >&6; }
2870 if ${nl_cv_filtered_host+:} false; then :
2871   $as_echo_n "(cached) " >&6
2872 else
2873   nl_cv_filtered_host=`echo ${host} | sed -e 's/[[:digit:].]*$//g'`
2874         nl_filtered_host=${nl_cv_filtered_host}
2875 fi
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_host" >&5
2877 $as_echo "$nl_cv_filtered_host" >&6; }
2878
2879
2880     case ${nl_cv_filtered_host} in
2881
2882     *-*-*) ;;
2883     *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2884
2885     esac
2886
2887     nl_filtered_host=$nl_cv_filtered_host
2888
2889
2890     nl_save_IFS=$IFS; IFS='-'
2891     set x $nl_cv_filtered_host
2892     shift
2893
2894     nl_filtered_host_cpu=$1
2895
2896     nl_filtered_host_vendor=$2
2897
2898
2899     shift; shift
2900     # Remember, the first character of IFS is used to create $*,
2901     # except with old shells:
2902     nl_filtered_host_os=$*
2903     IFS=$nl_save_IFS
2904
2905     case nl_filtered_$host_os in
2906
2907     *\ *) nl_filtered_host_os=`echo "$host_os" | sed 's/ /-/g'`;;
2908
2909     esac
2910
2911
2912
2913
2914
2915
2916
2917
2918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered target system type" >&5
2919 $as_echo_n "checking filtered target system type... " >&6; }
2920 if ${nl_cv_filtered_target+:} false; then :
2921   $as_echo_n "(cached) " >&6
2922 else
2923   nl_cv_filtered_target=`echo ${target} | sed -e 's/[[:digit:].]*$//g'`
2924         nl_filtered_target=${nl_cv_filtered_target}
2925 fi
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_target" >&5
2927 $as_echo "$nl_cv_filtered_target" >&6; }
2928
2929
2930     case ${nl_cv_filtered_target} in
2931
2932     *-*-*) ;;
2933     *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2934
2935     esac
2936
2937     nl_filtered_target=$nl_cv_filtered_target
2938
2939
2940     nl_save_IFS=$IFS; IFS='-'
2941     set x $nl_cv_filtered_target
2942     shift
2943
2944     nl_filtered_target_cpu=$1
2945
2946     nl_filtered_target_vendor=$2
2947
2948
2949     shift; shift
2950     # Remember, the first character of IFS is used to create $*,
2951     # except with old shells:
2952     nl_filtered_target_os=$*
2953     IFS=$nl_save_IFS
2954
2955     case nl_filtered_$target_os in
2956
2957     *\ *) nl_filtered_target_os=`echo "$target_os" | sed 's/ /-/g'`;;
2958
2959     esac
2960
2961
2962
2963
2964
2965
2966 #
2967 # Configure automake with the desired options, indicating that this is not
2968 # a native GNU package, that we want "silent" build rules, and that we want
2969 # objects built in the same subdirectory as their source rather than collapsed
2970 # together at the top-level directory.
2971 #
2972 # Disable silent build rules by either passing --disable-silent-rules to
2973 # configure or passing V=1 to make
2974 #
2975 am__api_version='1.14'
2976
2977 # Find a good install program.  We prefer a C program (faster),
2978 # so one script is as good as another.  But avoid the broken or
2979 # incompatible versions:
2980 # SysV /etc/install, /usr/sbin/install
2981 # SunOS /usr/etc/install
2982 # IRIX /sbin/install
2983 # AIX /bin/install
2984 # AmigaOS /C/install, which installs bootblocks on floppy discs
2985 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2986 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2987 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2988 # OS/2's system install, which has a completely different semantic
2989 # ./install, which can be erroneously created by make from ./install.sh.
2990 # Reject install programs that cannot install multiple files.
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2992 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2993 if test -z "$INSTALL"; then
2994 if ${ac_cv_path_install+:} false; then :
2995   $as_echo_n "(cached) " >&6
2996 else
2997   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2998 for as_dir in $PATH
2999 do
3000   IFS=$as_save_IFS
3001   test -z "$as_dir" && as_dir=.
3002     # Account for people who put trailing slashes in PATH elements.
3003 case $as_dir/ in #((
3004   ./ | .// | /[cC]/* | \
3005   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3006   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3007   /usr/ucb/* ) ;;
3008   *)
3009     # OSF1 and SCO ODT 3.0 have their own names for install.
3010     # Don't use installbsd from OSF since it installs stuff as root
3011     # by default.
3012     for ac_prog in ginstall scoinst install; do
3013       for ac_exec_ext in '' $ac_executable_extensions; do
3014         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3015           if test $ac_prog = install &&
3016             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3017             # AIX install.  It has an incompatible calling convention.
3018             :
3019           elif test $ac_prog = install &&
3020             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3021             # program-specific install script used by HP pwplus--don't use.
3022             :
3023           else
3024             rm -rf conftest.one conftest.two conftest.dir
3025             echo one > conftest.one
3026             echo two > conftest.two
3027             mkdir conftest.dir
3028             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3029               test -s conftest.one && test -s conftest.two &&
3030               test -s conftest.dir/conftest.one &&
3031               test -s conftest.dir/conftest.two
3032             then
3033               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3034               break 3
3035             fi
3036           fi
3037         fi
3038       done
3039     done
3040     ;;
3041 esac
3042
3043   done
3044 IFS=$as_save_IFS
3045
3046 rm -rf conftest.one conftest.two conftest.dir
3047
3048 fi
3049   if test "${ac_cv_path_install+set}" = set; then
3050     INSTALL=$ac_cv_path_install
3051   else
3052     # As a last resort, use the slow shell script.  Don't cache a
3053     # value for INSTALL within a source directory, because that will
3054     # break other packages using the cache if that directory is
3055     # removed, or if the value is a relative name.
3056     INSTALL=$ac_install_sh
3057   fi
3058 fi
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3060 $as_echo "$INSTALL" >&6; }
3061
3062 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3063 # It thinks the first close brace ends the variable substitution.
3064 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3065
3066 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3067
3068 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3069
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3071 $as_echo_n "checking whether build environment is sane... " >&6; }
3072 # Reject unsafe characters in $srcdir or the absolute working directory
3073 # name.  Accept space and tab only in the latter.
3074 am_lf='
3075 '
3076 case `pwd` in
3077   *[\\\"\#\$\&\'\`$am_lf]*)
3078     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3079 esac
3080 case $srcdir in
3081   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3082     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3083 esac
3084
3085 # Do 'set' in a subshell so we don't clobber the current shell's
3086 # arguments.  Must try -L first in case configure is actually a
3087 # symlink; some systems play weird games with the mod time of symlinks
3088 # (eg FreeBSD returns the mod time of the symlink's containing
3089 # directory).
3090 if (
3091    am_has_slept=no
3092    for am_try in 1 2; do
3093      echo "timestamp, slept: $am_has_slept" > conftest.file
3094      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3095      if test "$*" = "X"; then
3096         # -L didn't work.
3097         set X `ls -t "$srcdir/configure" conftest.file`
3098      fi
3099      if test "$*" != "X $srcdir/configure conftest.file" \
3100         && test "$*" != "X conftest.file $srcdir/configure"; then
3101
3102         # If neither matched, then we have a broken ls.  This can happen
3103         # if, for instance, CONFIG_SHELL is bash and it inherits a
3104         # broken ls alias from the environment.  This has actually
3105         # happened.  Such a system could not be considered "sane".
3106         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3107   alias in your environment" "$LINENO" 5
3108      fi
3109      if test "$2" = conftest.file || test $am_try -eq 2; then
3110        break
3111      fi
3112      # Just in case.
3113      sleep 1
3114      am_has_slept=yes
3115    done
3116    test "$2" = conftest.file
3117    )
3118 then
3119    # Ok.
3120    :
3121 else
3122    as_fn_error $? "newly created file is older than distributed files!
3123 Check your system clock" "$LINENO" 5
3124 fi
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3126 $as_echo "yes" >&6; }
3127 # If we didn't sleep, we still need to ensure time stamps of config.status and
3128 # generated files are strictly newer.
3129 am_sleep_pid=
3130 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3131   ( sleep 1 ) &
3132   am_sleep_pid=$!
3133 fi
3134
3135 rm -f conftest.file
3136
3137 test "$program_prefix" != NONE &&
3138   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3139 # Use a double $ so make ignores it.
3140 test "$program_suffix" != NONE &&
3141   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3142 # Double any \ or $.
3143 # By default was `s,x,x', remove it if useless.
3144 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3145 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3146
3147 # expand $ac_aux_dir to an absolute path
3148 am_aux_dir=`cd $ac_aux_dir && pwd`
3149
3150 if test x"${MISSING+set}" != xset; then
3151   case $am_aux_dir in
3152   *\ * | *\     *)
3153     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3154   *)
3155     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3156   esac
3157 fi
3158 # Use eval to expand $SHELL
3159 if eval "$MISSING --is-lightweight"; then
3160   am_missing_run="$MISSING "
3161 else
3162   am_missing_run=
3163   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3164 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3165 fi
3166
3167 if test x"${install_sh}" != xset; then
3168   case $am_aux_dir in
3169   *\ * | *\     *)
3170     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3171   *)
3172     install_sh="\${SHELL} $am_aux_dir/install-sh"
3173   esac
3174 fi
3175
3176 # Installed binaries are usually stripped using 'strip' when the user
3177 # run "make install-strip".  However 'strip' might not be the right
3178 # tool to use in cross-compilation environments, therefore Automake
3179 # will honor the 'STRIP' environment variable to overrule this program.
3180 if test "$cross_compiling" != no; then
3181   if test -n "$ac_tool_prefix"; then
3182   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3183 set dummy ${ac_tool_prefix}strip; ac_word=$2
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 $as_echo_n "checking for $ac_word... " >&6; }
3186 if ${ac_cv_prog_STRIP+:} false; then :
3187   $as_echo_n "(cached) " >&6
3188 else
3189   if test -n "$STRIP"; then
3190   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3191 else
3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193 for as_dir in $PATH
3194 do
3195   IFS=$as_save_IFS
3196   test -z "$as_dir" && as_dir=.
3197     for ac_exec_ext in '' $ac_executable_extensions; do
3198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3199     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201     break 2
3202   fi
3203 done
3204   done
3205 IFS=$as_save_IFS
3206
3207 fi
3208 fi
3209 STRIP=$ac_cv_prog_STRIP
3210 if test -n "$STRIP"; then
3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3212 $as_echo "$STRIP" >&6; }
3213 else
3214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3216 fi
3217
3218
3219 fi
3220 if test -z "$ac_cv_prog_STRIP"; then
3221   ac_ct_STRIP=$STRIP
3222   # Extract the first word of "strip", so it can be a program name with args.
3223 set dummy strip; ac_word=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3227   $as_echo_n "(cached) " >&6
3228 else
3229   if test -n "$ac_ct_STRIP"; then
3230   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3234 do
3235   IFS=$as_save_IFS
3236   test -z "$as_dir" && as_dir=.
3237     for ac_exec_ext in '' $ac_executable_extensions; do
3238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239     ac_cv_prog_ac_ct_STRIP="strip"
3240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241     break 2
3242   fi
3243 done
3244   done
3245 IFS=$as_save_IFS
3246
3247 fi
3248 fi
3249 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3250 if test -n "$ac_ct_STRIP"; then
3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3252 $as_echo "$ac_ct_STRIP" >&6; }
3253 else
3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256 fi
3257
3258   if test "x$ac_ct_STRIP" = x; then
3259     STRIP=":"
3260   else
3261     case $cross_compiling:$ac_tool_warned in
3262 yes:)
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3265 ac_tool_warned=yes ;;
3266 esac
3267     STRIP=$ac_ct_STRIP
3268   fi
3269 else
3270   STRIP="$ac_cv_prog_STRIP"
3271 fi
3272
3273 fi
3274 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3275
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3277 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3278 if test -z "$MKDIR_P"; then
3279   if ${ac_cv_path_mkdir+:} false; then :
3280   $as_echo_n "(cached) " >&6
3281 else
3282   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3283 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3284 do
3285   IFS=$as_save_IFS
3286   test -z "$as_dir" && as_dir=.
3287     for ac_prog in mkdir gmkdir; do
3288          for ac_exec_ext in '' $ac_executable_extensions; do
3289            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3290            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3291              'mkdir (GNU coreutils) '* | \
3292              'mkdir (coreutils) '* | \
3293              'mkdir (fileutils) '4.1*)
3294                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3295                break 3;;
3296            esac
3297          done
3298        done
3299   done
3300 IFS=$as_save_IFS
3301
3302 fi
3303
3304   test -d ./--version && rmdir ./--version
3305   if test "${ac_cv_path_mkdir+set}" = set; then
3306     MKDIR_P="$ac_cv_path_mkdir -p"
3307   else
3308     # As a last resort, use the slow shell script.  Don't cache a
3309     # value for MKDIR_P within a source directory, because that will
3310     # break other packages using the cache if that directory is
3311     # removed, or if the value is a relative name.
3312     MKDIR_P="$ac_install_sh -d"
3313   fi
3314 fi
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3316 $as_echo "$MKDIR_P" >&6; }
3317
3318 for ac_prog in gawk mawk nawk awk
3319 do
3320   # Extract the first word of "$ac_prog", so it can be a program name with args.
3321 set dummy $ac_prog; ac_word=$2
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3323 $as_echo_n "checking for $ac_word... " >&6; }
3324 if ${ac_cv_prog_AWK+:} false; then :
3325   $as_echo_n "(cached) " >&6
3326 else
3327   if test -n "$AWK"; then
3328   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3329 else
3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3331 for as_dir in $PATH
3332 do
3333   IFS=$as_save_IFS
3334   test -z "$as_dir" && as_dir=.
3335     for ac_exec_ext in '' $ac_executable_extensions; do
3336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3337     ac_cv_prog_AWK="$ac_prog"
3338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3339     break 2
3340   fi
3341 done
3342   done
3343 IFS=$as_save_IFS
3344
3345 fi
3346 fi
3347 AWK=$ac_cv_prog_AWK
3348 if test -n "$AWK"; then
3349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3350 $as_echo "$AWK" >&6; }
3351 else
3352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353 $as_echo "no" >&6; }
3354 fi
3355
3356
3357   test -n "$AWK" && break
3358 done
3359
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3361 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3362 set x ${MAKE-make}
3363 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3364 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3365   $as_echo_n "(cached) " >&6
3366 else
3367   cat >conftest.make <<\_ACEOF
3368 SHELL = /bin/sh
3369 all:
3370         @echo '@@@%%%=$(MAKE)=@@@%%%'
3371 _ACEOF
3372 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3373 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3374   *@@@%%%=?*=@@@%%%*)
3375     eval ac_cv_prog_make_${ac_make}_set=yes;;
3376   *)
3377     eval ac_cv_prog_make_${ac_make}_set=no;;
3378 esac
3379 rm -f conftest.make
3380 fi
3381 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3383 $as_echo "yes" >&6; }
3384   SET_MAKE=
3385 else
3386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3388   SET_MAKE="MAKE=${MAKE-make}"
3389 fi
3390
3391 rm -rf .tst 2>/dev/null
3392 mkdir .tst 2>/dev/null
3393 if test -d .tst; then
3394   am__leading_dot=.
3395 else
3396   am__leading_dot=_
3397 fi
3398 rmdir .tst 2>/dev/null
3399
3400 # Check whether --enable-silent-rules was given.
3401 if test "${enable_silent_rules+set}" = set; then :
3402   enableval=$enable_silent_rules;
3403 fi
3404
3405 case $enable_silent_rules in # (((
3406   yes) AM_DEFAULT_VERBOSITY=0;;
3407    no) AM_DEFAULT_VERBOSITY=1;;
3408     *) AM_DEFAULT_VERBOSITY=1;;
3409 esac
3410 am_make=${MAKE-make}
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3412 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3413 if ${am_cv_make_support_nested_variables+:} false; then :
3414   $as_echo_n "(cached) " >&6
3415 else
3416   if $as_echo 'TRUE=$(BAR$(V))
3417 BAR0=false
3418 BAR1=true
3419 V=1
3420 am__doit:
3421         @$(TRUE)
3422 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3423   am_cv_make_support_nested_variables=yes
3424 else
3425   am_cv_make_support_nested_variables=no
3426 fi
3427 fi
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3429 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3430 if test $am_cv_make_support_nested_variables = yes; then
3431     AM_V='$(V)'
3432   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3433 else
3434   AM_V=$AM_DEFAULT_VERBOSITY
3435   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3436 fi
3437 AM_BACKSLASH='\'
3438
3439 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3440   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3441   # is not polluted with repeated "-I."
3442   am__isrc=' -I$(srcdir)'
3443   # test to see if srcdir already configured
3444   if test -f $srcdir/config.status; then
3445     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3446   fi
3447 fi
3448
3449 # test whether we have cygpath
3450 if test -z "$CYGPATH_W"; then
3451   if (cygpath --version) >/dev/null 2>/dev/null; then
3452     CYGPATH_W='cygpath -w'
3453   else
3454     CYGPATH_W=echo
3455   fi
3456 fi
3457
3458
3459 # Define the identity of the package.
3460  PACKAGE='nlio'
3461  VERSION='gf493c3b'
3462
3463
3464 cat >>confdefs.h <<_ACEOF
3465 #define PACKAGE "$PACKAGE"
3466 _ACEOF
3467
3468
3469 cat >>confdefs.h <<_ACEOF
3470 #define VERSION "$VERSION"
3471 _ACEOF
3472
3473 # Some tools Automake needs.
3474
3475 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3476
3477
3478 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3479
3480
3481 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3482
3483
3484 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3485
3486
3487 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3488
3489 # For better backward compatibility.  To be removed once Automake 1.9.x
3490 # dies out for good.  For more background, see:
3491 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3492 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3493 mkdir_p='$(MKDIR_P)'
3494
3495 # We need awk for the "check" target.  The system "awk" is bad on
3496 # some platforms.
3497 # Always define AMTAR for backward compatibility.  Yes, it's still used
3498 # in the wild :-(  We should find a proper way to deprecate it ...
3499 AMTAR='$${TAR-tar}'
3500
3501
3502 # We'll loop over all known methods to create a tar archive until one works.
3503 _am_tools='gnutar  pax cpio none'
3504
3505
3506
3507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3508 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3509
3510   # Go ahead even if we have the value already cached.  We do so because we
3511   # need to set the values for the 'am__tar' and 'am__untar' variables.
3512   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
3513
3514   for _am_tool in $_am_tools; do
3515     case $_am_tool in
3516     gnutar)
3517       for _am_tar in tar gnutar gtar; do
3518         { echo "$as_me:$LINENO: $_am_tar --version" >&5
3519    ($_am_tar --version) >&5 2>&5
3520    ac_status=$?
3521    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522    (exit $ac_status); } && break
3523       done
3524       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3525       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3526       am__untar="$_am_tar -xf -"
3527       ;;
3528     plaintar)
3529       # Must skip GNU tar: if it does not support --format= it doesn't create
3530       # ustar tarball either.
3531       (tar --version) >/dev/null 2>&1 && continue
3532       am__tar='tar chf - "$$tardir"'
3533       am__tar_='tar chf - "$tardir"'
3534       am__untar='tar xf -'
3535       ;;
3536     pax)
3537       am__tar='pax -L -x pax -w "$$tardir"'
3538       am__tar_='pax -L -x pax -w "$tardir"'
3539       am__untar='pax -r'
3540       ;;
3541     cpio)
3542       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3543       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3544       am__untar='cpio -i -H pax -d'
3545       ;;
3546     none)
3547       am__tar=false
3548       am__tar_=false
3549       am__untar=false
3550       ;;
3551     esac
3552
3553     # If the value was cached, stop now.  We just wanted to have am__tar
3554     # and am__untar set.
3555     test -n "${am_cv_prog_tar_pax}" && break
3556
3557     # tar/untar a dummy directory, and stop if the command works.
3558     rm -rf conftest.dir
3559     mkdir conftest.dir
3560     echo GrepMe > conftest.dir/file
3561     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3562    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3563    ac_status=$?
3564    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565    (exit $ac_status); }
3566     rm -rf conftest.dir
3567     if test -s conftest.tar; then
3568       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3569    ($am__untar <conftest.tar) >&5 2>&5
3570    ac_status=$?
3571    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572    (exit $ac_status); }
3573       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3574    (cat conftest.dir/file) >&5 2>&5
3575    ac_status=$?
3576    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577    (exit $ac_status); }
3578       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3579     fi
3580   done
3581   rm -rf conftest.dir
3582
3583   if ${am_cv_prog_tar_pax+:} false; then :
3584   $as_echo_n "(cached) " >&6
3585 else
3586   am_cv_prog_tar_pax=$_am_tool
3587 fi
3588
3589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3590 $as_echo "$am_cv_prog_tar_pax" >&6; }
3591
3592
3593
3594
3595
3596
3597 # POSIX will say in a future version that running "rm -f" with no argument
3598 # is OK; and we want to be able to make that assumption in our Makefile
3599 # recipes.  So use an aggressive probe to check that the usage we want is
3600 # actually supported "in the wild" to an acceptable degree.
3601 # See automake bug#10828.
3602 # To make any issue more visible, cause the running configure to be aborted
3603 # by default if the 'rm' program in use doesn't match our expectations; the
3604 # user can still override this though.
3605 if rm -f && rm -fr && rm -rf; then : OK; else
3606   cat >&2 <<'END'
3607 Oops!
3608
3609 Your 'rm' program seems unable to run without file operands specified
3610 on the command line, even when the '-f' option is present.  This is contrary
3611 to the behaviour of most rm programs out there, and not conforming with
3612 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3613
3614 Please tell bug-automake@gnu.org about your system, including the value
3615 of your $PATH and any error possibly output before this message.  This
3616 can help us improve future automake versions.
3617
3618 END
3619   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3620     echo 'Configuration will proceed anyway, since you have set the' >&2
3621     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3622     echo >&2
3623   else
3624     cat >&2 <<'END'
3625 Aborting the configuration process, to ensure you take notice of the issue.
3626
3627 You can download and install GNU coreutils to get an 'rm' implementation
3628 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3629
3630 If you want to complete the configuration process using your problematic
3631 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3632 to "yes", and re-run configure.
3633
3634 END
3635     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3636   fi
3637 fi
3638
3639 #
3640 # Silent build rules requires at least automake-1.11. Employ
3641 # techniques for not breaking earlier versions of automake.
3642 #
3643 # Check whether --enable-silent-rules was given.
3644 if test "${enable_silent_rules+set}" = set; then :
3645   enableval=$enable_silent_rules;
3646 fi
3647
3648 case $enable_silent_rules in # (((
3649   yes) AM_DEFAULT_VERBOSITY=0;;
3650    no) AM_DEFAULT_VERBOSITY=1;;
3651     *) AM_DEFAULT_VERBOSITY=0;;
3652 esac
3653 am_make=${MAKE-make}
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3655 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3656 if ${am_cv_make_support_nested_variables+:} false; then :
3657   $as_echo_n "(cached) " >&6
3658 else
3659   if $as_echo 'TRUE=$(BAR$(V))
3660 BAR0=false
3661 BAR1=true
3662 V=1
3663 am__doit:
3664         @$(TRUE)
3665 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3666   am_cv_make_support_nested_variables=yes
3667 else
3668   am_cv_make_support_nested_variables=no
3669 fi
3670 fi
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3672 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3673 if test $am_cv_make_support_nested_variables = yes; then
3674     AM_V='$(V)'
3675   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3676 else
3677   AM_V=$AM_DEFAULT_VERBOSITY
3678   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3679 fi
3680 AM_BACKSLASH='\'
3681
3682 # Check whether --enable-silent-rules was given.
3683 if test "${enable_silent_rules+set}" = set; then :
3684   enableval=$enable_silent_rules;
3685 fi
3686
3687 case $enable_silent_rules in # (((
3688   yes) AM_DEFAULT_VERBOSITY=0;;
3689    no) AM_DEFAULT_VERBOSITY=1;;
3690     *) AM_DEFAULT_VERBOSITY=0;;
3691 esac
3692 am_make=${MAKE-make}
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3694 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3695 if ${am_cv_make_support_nested_variables+:} false; then :
3696   $as_echo_n "(cached) " >&6
3697 else
3698   if $as_echo 'TRUE=$(BAR$(V))
3699 BAR0=false
3700 BAR1=true
3701 V=1
3702 am__doit:
3703         @$(TRUE)
3704 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3705   am_cv_make_support_nested_variables=yes
3706 else
3707   am_cv_make_support_nested_variables=no
3708 fi
3709 fi
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3711 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3712 if test $am_cv_make_support_nested_variables = yes; then
3713     AM_V='$(V)'
3714   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3715 else
3716   AM_V=$AM_DEFAULT_VERBOSITY
3717   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3718 fi
3719 AM_BACKSLASH='\'
3720
3721
3722 #
3723 # Enable maintainer mode to prevent the package from constantly trying
3724 # to rebuild configure, Makefile.in, etc. Rebuilding such files rarely,
3725 # if ever, needs to be done "in the field".
3726 #
3727 # Use the included 'bootstrap' script instead when necessary.
3728 #
3729
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3731 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3732     # Check whether --enable-maintainer-mode was given.
3733 if test "${enable_maintainer_mode+set}" = set; then :
3734   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3735 else
3736   USE_MAINTAINER_MODE=no
3737 fi
3738
3739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3740 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3741    if test $USE_MAINTAINER_MODE = yes; then
3742   MAINTAINER_MODE_TRUE=
3743   MAINTAINER_MODE_FALSE='#'
3744 else
3745   MAINTAINER_MODE_TRUE='#'
3746   MAINTAINER_MODE_FALSE=
3747 fi
3748
3749   MAINT=$MAINTAINER_MODE_TRUE
3750
3751
3752
3753 #
3754 # Checks for build host programs
3755 #
3756
3757 # If we are cross-compiling and we are on an embedded target that
3758 # doesn't support independent, standalone executables, then all
3759 # compiler tests that attempt to create an executable will fail. In
3760 # such circumstances, set AC_NO_EXECUTABLES (see http://sourceware.org/
3761 # ml/newlib/2006/msg00353.html).
3762
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable executable checking" >&5
3764 $as_echo_n "checking whether to disable executable checking... " >&6; }
3765 if test "$cross_compiling" = yes; then
3766
3767     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3768 $as_echo "yes" >&6; }
3769 else
3770     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3772 fi
3773
3774 # Passing -Werror to GCC-based or -compatible compilers breaks some
3775 # autoconf tests (see
3776 # http://lists.gnu.org/archive/html/autoconf-patches/2008-09/msg00014.html).
3777 #
3778 # If -Werror has been passed transform it into -Wno-error. We'll
3779 # transform it back later with NL_RESTORE_WERROR.
3780
3781
3782
3783     if echo "${CPPFLAGS}" | grep -q '\-Werror'; then
3784         CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3785         nl_had_CPPFLAGS_werror=yes
3786     else
3787         nl_had_CPPFLAGS_werror=no
3788     fi
3789
3790
3791     if echo "${CFLAGS}" | grep -q '\-Werror'; then
3792         CFLAGS="`echo ${CFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3793         nl_had_CFLAGS_werror=yes
3794     else
3795         nl_had_CFLAGS_werror=no
3796     fi
3797
3798
3799     if echo "${CXXFLAGS}" | grep -q '\-Werror'; then
3800         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3801         nl_had_CXXFLAGS_werror=yes
3802     else
3803         nl_had_CXXFLAGS_werror=no
3804     fi
3805
3806
3807     if echo "${OBJCFLAGS}" | grep -q '\-Werror'; then
3808         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3809         nl_had_OBJCFLAGS_werror=yes
3810     else
3811         nl_had_OBJCFLAGS_werror=no
3812     fi
3813
3814
3815     if echo "${OBJCXXFLAGS}" | grep -q '\-Werror'; then
3816         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3817         nl_had_OBJCXXFLAGS_werror=yes
3818     else
3819         nl_had_OBJCXXFLAGS_werror=no
3820     fi
3821
3822
3823
3824 # Check for compilers.
3825 #
3826 # These should be checked BEFORE we check for and, implicitly,
3827 # initialize libtool such that libtool knows what languages it has to
3828 # work with.
3829
3830 DEPDIR="${am__leading_dot}deps"
3831
3832 ac_config_commands="$ac_config_commands depfiles"
3833
3834
3835 am_make=${MAKE-make}
3836 cat > confinc << 'END'
3837 am__doit:
3838         @echo this is the am__doit target
3839 .PHONY: am__doit
3840 END
3841 # If we don't find an include directive, just comment out the code.
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3843 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3844 am__include="#"
3845 am__quote=
3846 _am_result=none
3847 # First try GNU make style include.
3848 echo "include confinc" > confmf
3849 # Ignore all kinds of additional output from 'make'.
3850 case `$am_make -s -f confmf 2> /dev/null` in #(
3851 *the\ am__doit\ target*)
3852   am__include=include
3853   am__quote=
3854   _am_result=GNU
3855   ;;
3856 esac
3857 # Now try BSD make style include.
3858 if test "$am__include" = "#"; then
3859    echo '.include "confinc"' > confmf
3860    case `$am_make -s -f confmf 2> /dev/null` in #(
3861    *the\ am__doit\ target*)
3862      am__include=.include
3863      am__quote="\""
3864      _am_result=BSD
3865      ;;
3866    esac
3867 fi
3868
3869
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3871 $as_echo "$_am_result" >&6; }
3872 rm -f confinc confmf
3873
3874 # Check whether --enable-dependency-tracking was given.
3875 if test "${enable_dependency_tracking+set}" = set; then :
3876   enableval=$enable_dependency_tracking;
3877 fi
3878
3879 if test "x$enable_dependency_tracking" != xno; then
3880   am_depcomp="$ac_aux_dir/depcomp"
3881   AMDEPBACKSLASH='\'
3882   am__nodep='_no'
3883 fi
3884  if test "x$enable_dependency_tracking" != xno; then
3885   AMDEP_TRUE=
3886   AMDEP_FALSE='#'
3887 else
3888   AMDEP_TRUE='#'
3889   AMDEP_FALSE=
3890 fi
3891
3892
3893 ac_ext=c
3894 ac_cpp='$CPP $CPPFLAGS'
3895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3898 if test -n "$ac_tool_prefix"; then
3899   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3900 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902 $as_echo_n "checking for $ac_word... " >&6; }
3903 if ${ac_cv_prog_CC+:} false; then :
3904   $as_echo_n "(cached) " >&6
3905 else
3906   if test -n "$CC"; then
3907   ac_cv_prog_CC="$CC" # Let the user override the test.
3908 else
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910 for as_dir in $PATH
3911 do
3912   IFS=$as_save_IFS
3913   test -z "$as_dir" && as_dir=.
3914     for ac_exec_ext in '' $ac_executable_extensions; do
3915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3916     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918     break 2
3919   fi
3920 done
3921   done
3922 IFS=$as_save_IFS
3923
3924 fi
3925 fi
3926 CC=$ac_cv_prog_CC
3927 if test -n "$CC"; then
3928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3929 $as_echo "$CC" >&6; }
3930 else
3931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3932 $as_echo "no" >&6; }
3933 fi
3934
3935
3936 fi
3937 if test -z "$ac_cv_prog_CC"; then
3938   ac_ct_CC=$CC
3939   # Extract the first word of "gcc", so it can be a program name with args.
3940 set dummy gcc; ac_word=$2
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942 $as_echo_n "checking for $ac_word... " >&6; }
3943 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3944   $as_echo_n "(cached) " >&6
3945 else
3946   if test -n "$ac_ct_CC"; then
3947   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3948 else
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 for as_dir in $PATH
3951 do
3952   IFS=$as_save_IFS
3953   test -z "$as_dir" && as_dir=.
3954     for ac_exec_ext in '' $ac_executable_extensions; do
3955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3956     ac_cv_prog_ac_ct_CC="gcc"
3957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958     break 2
3959   fi
3960 done
3961   done
3962 IFS=$as_save_IFS
3963
3964 fi
3965 fi
3966 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3967 if test -n "$ac_ct_CC"; then
3968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3969 $as_echo "$ac_ct_CC" >&6; }
3970 else
3971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 $as_echo "no" >&6; }
3973 fi
3974
3975   if test "x$ac_ct_CC" = x; then
3976     CC=""
3977   else
3978     case $cross_compiling:$ac_tool_warned in
3979 yes:)
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3982 ac_tool_warned=yes ;;
3983 esac
3984     CC=$ac_ct_CC
3985   fi
3986 else
3987   CC="$ac_cv_prog_CC"
3988 fi
3989
3990 if test -z "$CC"; then
3991           if test -n "$ac_tool_prefix"; then
3992     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3993 set dummy ${ac_tool_prefix}cc; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_prog_CC+:} false; then :
3997   $as_echo_n "(cached) " >&6
3998 else
3999   if test -n "$CC"; then
4000   ac_cv_prog_CC="$CC" # Let the user override the test.
4001 else
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH
4004 do
4005   IFS=$as_save_IFS
4006   test -z "$as_dir" && as_dir=.
4007     for ac_exec_ext in '' $ac_executable_extensions; do
4008   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4009     ac_cv_prog_CC="${ac_tool_prefix}cc"
4010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011     break 2
4012   fi
4013 done
4014   done
4015 IFS=$as_save_IFS
4016
4017 fi
4018 fi
4019 CC=$ac_cv_prog_CC
4020 if test -n "$CC"; then
4021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 $as_echo "$CC" >&6; }
4023 else
4024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4026 fi
4027
4028
4029   fi
4030 fi
4031 if test -z "$CC"; then
4032   # Extract the first word of "cc", so it can be a program name with args.
4033 set dummy cc; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_CC+:} false; then :
4037   $as_echo_n "(cached) " >&6
4038 else
4039   if test -n "$CC"; then
4040   ac_cv_prog_CC="$CC" # Let the user override the test.
4041 else
4042   ac_prog_rejected=no
4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 for as_dir in $PATH
4045 do
4046   IFS=$as_save_IFS
4047   test -z "$as_dir" && as_dir=.
4048     for ac_exec_ext in '' $ac_executable_extensions; do
4049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4050     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4051        ac_prog_rejected=yes
4052        continue
4053      fi
4054     ac_cv_prog_CC="cc"
4055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056     break 2
4057   fi
4058 done
4059   done
4060 IFS=$as_save_IFS
4061
4062 if test $ac_prog_rejected = yes; then
4063   # We found a bogon in the path, so make sure we never use it.
4064   set dummy $ac_cv_prog_CC
4065   shift
4066   if test $# != 0; then
4067     # We chose a different compiler from the bogus one.
4068     # However, it has the same basename, so the bogon will be chosen
4069     # first if we set CC to just the basename; use the full file name.
4070     shift
4071     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4072   fi
4073 fi
4074 fi
4075 fi
4076 CC=$ac_cv_prog_CC
4077 if test -n "$CC"; then
4078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4079 $as_echo "$CC" >&6; }
4080 else
4081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4083 fi
4084
4085
4086 fi
4087 if test -z "$CC"; then
4088   if test -n "$ac_tool_prefix"; then
4089   for ac_prog in cl.exe
4090   do
4091     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4092 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if ${ac_cv_prog_CC+:} false; then :
4096   $as_echo_n "(cached) " >&6
4097 else
4098   if test -n "$CC"; then
4099   ac_cv_prog_CC="$CC" # Let the user override the test.
4100 else
4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4102 for as_dir in $PATH
4103 do
4104   IFS=$as_save_IFS
4105   test -z "$as_dir" && as_dir=.
4106     for ac_exec_ext in '' $ac_executable_extensions; do
4107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4108     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4110     break 2
4111   fi
4112 done
4113   done
4114 IFS=$as_save_IFS
4115
4116 fi
4117 fi
4118 CC=$ac_cv_prog_CC
4119 if test -n "$CC"; then
4120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4121 $as_echo "$CC" >&6; }
4122 else
4123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4125 fi
4126
4127
4128     test -n "$CC" && break
4129   done
4130 fi
4131 if test -z "$CC"; then
4132   ac_ct_CC=$CC
4133   for ac_prog in cl.exe
4134 do
4135   # Extract the first word of "$ac_prog", so it can be a program name with args.
4136 set dummy $ac_prog; ac_word=$2
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4138 $as_echo_n "checking for $ac_word... " >&6; }
4139 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4140   $as_echo_n "(cached) " >&6
4141 else
4142   if test -n "$ac_ct_CC"; then
4143   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4144 else
4145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4146 for as_dir in $PATH
4147 do
4148   IFS=$as_save_IFS
4149   test -z "$as_dir" && as_dir=.
4150     for ac_exec_ext in '' $ac_executable_extensions; do
4151   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4152     ac_cv_prog_ac_ct_CC="$ac_prog"
4153     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4154     break 2
4155   fi
4156 done
4157   done
4158 IFS=$as_save_IFS
4159
4160 fi
4161 fi
4162 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4163 if test -n "$ac_ct_CC"; then
4164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4165 $as_echo "$ac_ct_CC" >&6; }
4166 else
4167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4168 $as_echo "no" >&6; }
4169 fi
4170
4171
4172   test -n "$ac_ct_CC" && break
4173 done
4174
4175   if test "x$ac_ct_CC" = x; then
4176     CC=""
4177   else
4178     case $cross_compiling:$ac_tool_warned in
4179 yes:)
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4182 ac_tool_warned=yes ;;
4183 esac
4184     CC=$ac_ct_CC
4185   fi
4186 fi
4187
4188 fi
4189
4190
4191 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4193 as_fn_error $? "no acceptable C compiler found in \$PATH
4194 See \`config.log' for more details" "$LINENO" 5; }
4195
4196 # Provide some information about the compiler.
4197 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4198 set X $ac_compile
4199 ac_compiler=$2
4200 for ac_option in --version -v -V -qversion; do
4201   { { ac_try="$ac_compiler $ac_option >&5"
4202 case "(($ac_try" in
4203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4204   *) ac_try_echo=$ac_try;;
4205 esac
4206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4207 $as_echo "$ac_try_echo"; } >&5
4208   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4209   ac_status=$?
4210   if test -s conftest.err; then
4211     sed '10a\
4212 ... rest of stderr output deleted ...
4213          10q' conftest.err >conftest.er1
4214     cat conftest.er1 >&5
4215   fi
4216   rm -f conftest.er1 conftest.err
4217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4218   test $ac_status = 0; }
4219 done
4220
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h.  */
4223
4224 int
4225 main ()
4226 {
4227
4228   ;
4229   return 0;
4230 }
4231 _ACEOF
4232 if { { ac_try="$ac_link"
4233 case "(($ac_try" in
4234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235   *) ac_try_echo=$ac_try;;
4236 esac
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4238 $as_echo "$ac_try_echo"; } >&5
4239   (eval "$ac_link") 2>&5
4240   ac_status=$?
4241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4242   test $ac_status = 0; }; then
4243   ac_no_link=no
4244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h.  */
4246
4247 int
4248 main ()
4249 {
4250
4251   ;
4252   return 0;
4253 }
4254 _ACEOF
4255 ac_clean_files_save=$ac_clean_files
4256 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4257 # Try to create an executable without -o first, disregard a.out.
4258 # It will help us diagnose broken compilers, and finding out an intuition
4259 # of exeext.
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4261 $as_echo_n "checking whether the C compiler works... " >&6; }
4262 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4263
4264 # The possible output files:
4265 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4266
4267 ac_rmfiles=
4268 for ac_file in $ac_files
4269 do
4270   case $ac_file in
4271     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4272     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4273   esac
4274 done
4275 rm -f $ac_rmfiles
4276
4277 if { { ac_try="$ac_link_default"
4278 case "(($ac_try" in
4279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4280   *) ac_try_echo=$ac_try;;
4281 esac
4282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4283 $as_echo "$ac_try_echo"; } >&5
4284   (eval "$ac_link_default") 2>&5
4285   ac_status=$?
4286   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4287   test $ac_status = 0; }; then :
4288   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4289 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4290 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4291 # so that the user can short-circuit this test for compilers unknown to
4292 # Autoconf.
4293 for ac_file in $ac_files ''
4294 do
4295   test -f "$ac_file" || continue
4296   case $ac_file in
4297     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4298         ;;
4299     [ab].out )
4300         # We found the default executable, but exeext='' is most
4301         # certainly right.
4302         break;;
4303     *.* )
4304         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4305         then :; else
4306            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4307         fi
4308         # We set ac_cv_exeext here because the later test for it is not
4309         # safe: cross compilers may not add the suffix if given an `-o'
4310         # argument, so we may need to know it at that point already.
4311         # Even if this section looks crufty: it has the advantage of
4312         # actually working.
4313         break;;
4314     * )
4315         break;;
4316   esac
4317 done
4318 test "$ac_cv_exeext" = no && ac_cv_exeext=
4319
4320 else
4321   ac_file=''
4322 fi
4323 if test -z "$ac_file"; then :
4324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4326 $as_echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.$ac_ext >&5
4328
4329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4331 as_fn_error 77 "C compiler cannot create executables
4332 See \`config.log' for more details" "$LINENO" 5; }
4333 else
4334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4335 $as_echo "yes" >&6; }
4336 fi
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4338 $as_echo_n "checking for C compiler default output file name... " >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4340 $as_echo "$ac_file" >&6; }
4341 ac_exeext=$ac_cv_exeext
4342
4343 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4344 ac_clean_files=$ac_clean_files_save
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4346 $as_echo_n "checking for suffix of executables... " >&6; }
4347 if { { ac_try="$ac_link"
4348 case "(($ac_try" in
4349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350   *) ac_try_echo=$ac_try;;
4351 esac
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354   (eval "$ac_link") 2>&5
4355   ac_status=$?
4356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357   test $ac_status = 0; }; then :
4358   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4359 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4360 # work properly (i.e., refer to `conftest.exe'), while it won't with
4361 # `rm'.
4362 for ac_file in conftest.exe conftest conftest.*; do
4363   test -f "$ac_file" || continue
4364   case $ac_file in
4365     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4366     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4367           break;;
4368     * ) break;;
4369   esac
4370 done
4371 else
4372   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4374 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4375 See \`config.log' for more details" "$LINENO" 5; }
4376 fi
4377 rm -f conftest conftest$ac_cv_exeext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4379 $as_echo "$ac_cv_exeext" >&6; }
4380
4381 rm -f conftest.$ac_ext
4382 EXEEXT=$ac_cv_exeext
4383 ac_exeext=$EXEEXT
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h.  */
4386 #include <stdio.h>
4387 int
4388 main ()
4389 {
4390 FILE *f = fopen ("conftest.out", "w");
4391  return ferror (f) || fclose (f) != 0;
4392
4393   ;
4394   return 0;
4395 }
4396 _ACEOF
4397 ac_clean_files="$ac_clean_files conftest.out"
4398 # Check that the compiler produces executables we can run.  If not, either
4399 # the compiler is broken, or we cross compile.
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4401 $as_echo_n "checking whether we are cross compiling... " >&6; }
4402 if test "$cross_compiling" != yes; then
4403   { { ac_try="$ac_link"
4404 case "(($ac_try" in
4405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4406   *) ac_try_echo=$ac_try;;
4407 esac
4408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4409 $as_echo "$ac_try_echo"; } >&5
4410   (eval "$ac_link") 2>&5
4411   ac_status=$?
4412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4413   test $ac_status = 0; }
4414   if { ac_try='./conftest$ac_cv_exeext'
4415   { { case "(($ac_try" in
4416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4417   *) ac_try_echo=$ac_try;;
4418 esac
4419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4420 $as_echo "$ac_try_echo"; } >&5
4421   (eval "$ac_try") 2>&5
4422   ac_status=$?
4423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4424   test $ac_status = 0; }; }; then
4425     cross_compiling=no
4426   else
4427     if test "$cross_compiling" = maybe; then
4428         cross_compiling=yes
4429     else
4430         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4432 as_fn_error $? "cannot run C compiled programs.
4433 If you meant to cross compile, use \`--host'.
4434 See \`config.log' for more details" "$LINENO" 5; }
4435     fi
4436   fi
4437 fi
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4439 $as_echo "$cross_compiling" >&6; }
4440
4441 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4442 ac_clean_files=$ac_clean_files_save
4443
4444 else
4445   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
4446   ac_no_link=yes
4447   # Setting cross_compile will disable run tests; it will
4448   # also disable AC_CHECK_FILE but that's generally
4449   # correct if we can't link.
4450   cross_compiling=yes
4451   EXEEXT=
4452   # Check that the compiler produces executables we can run.  If not, either
4453 # the compiler is broken, or we cross compile.
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4455 $as_echo_n "checking whether we are cross compiling... " >&6; }
4456 if test "$cross_compiling" != yes; then
4457   { { ac_try="$ac_link"
4458 case "(($ac_try" in
4459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4460   *) ac_try_echo=$ac_try;;
4461 esac
4462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 $as_echo "$ac_try_echo"; } >&5
4464   (eval "$ac_link") 2>&5
4465   ac_status=$?
4466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4467   test $ac_status = 0; }
4468   if { ac_try='./conftest$ac_cv_exeext'
4469   { { case "(($ac_try" in
4470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471   *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475   (eval "$ac_try") 2>&5
4476   ac_status=$?
4477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478   test $ac_status = 0; }; }; then
4479     cross_compiling=no
4480   else
4481     if test "$cross_compiling" = maybe; then
4482         cross_compiling=yes
4483     else
4484         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4486 as_fn_error $? "cannot run C compiled programs.
4487 If you meant to cross compile, use \`--host'.
4488 See \`config.log' for more details" "$LINENO" 5; }
4489     fi
4490   fi
4491 fi
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4493 $as_echo "$cross_compiling" >&6; }
4494
4495 fi
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4497 $as_echo_n "checking for suffix of object files... " >&6; }
4498 if ${ac_cv_objext+:} false; then :
4499   $as_echo_n "(cached) " >&6
4500 else
4501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h.  */
4503
4504 int
4505 main ()
4506 {
4507
4508   ;
4509   return 0;
4510 }
4511 _ACEOF
4512 rm -f conftest.o conftest.obj
4513 if { { ac_try="$ac_compile"
4514 case "(($ac_try" in
4515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516   *) ac_try_echo=$ac_try;;
4517 esac
4518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4519 $as_echo "$ac_try_echo"; } >&5
4520   (eval "$ac_compile") 2>&5
4521   ac_status=$?
4522   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4523   test $ac_status = 0; }; then :
4524   for ac_file in conftest.o conftest.obj conftest.*; do
4525   test -f "$ac_file" || continue;
4526   case $ac_file in
4527     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4528     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4529        break;;
4530   esac
4531 done
4532 else
4533   $as_echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4535
4536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4538 as_fn_error $? "cannot compute suffix of object files: cannot compile
4539 See \`config.log' for more details" "$LINENO" 5; }
4540 fi
4541 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4542 fi
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4544 $as_echo "$ac_cv_objext" >&6; }
4545 OBJEXT=$ac_cv_objext
4546 ac_objext=$OBJEXT
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4548 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4549 if ${ac_cv_c_compiler_gnu+:} false; then :
4550   $as_echo_n "(cached) " >&6
4551 else
4552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h.  */
4554
4555 int
4556 main ()
4557 {
4558 #ifndef __GNUC__
4559        choke me
4560 #endif
4561
4562   ;
4563   return 0;
4564 }
4565 _ACEOF
4566 if ac_fn_c_try_compile "$LINENO"; then :
4567   ac_compiler_gnu=yes
4568 else
4569   ac_compiler_gnu=no
4570 fi
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4573
4574 fi
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4576 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4577 if test $ac_compiler_gnu = yes; then
4578   GCC=yes
4579 else
4580   GCC=
4581 fi
4582 ac_test_CFLAGS=${CFLAGS+set}
4583 ac_save_CFLAGS=$CFLAGS
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4585 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4586 if ${ac_cv_prog_cc_g+:} false; then :
4587   $as_echo_n "(cached) " >&6
4588 else
4589   ac_save_c_werror_flag=$ac_c_werror_flag
4590    ac_c_werror_flag=yes
4591    ac_cv_prog_cc_g=no
4592    CFLAGS="-g"
4593    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h.  */
4595
4596 int
4597 main ()
4598 {
4599
4600   ;
4601   return 0;
4602 }
4603 _ACEOF
4604 if ac_fn_c_try_compile "$LINENO"; then :
4605   ac_cv_prog_cc_g=yes
4606 else
4607   CFLAGS=""
4608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h.  */
4610
4611 int
4612 main ()
4613 {
4614
4615   ;
4616   return 0;
4617 }
4618 _ACEOF
4619 if ac_fn_c_try_compile "$LINENO"; then :
4620
4621 else
4622   ac_c_werror_flag=$ac_save_c_werror_flag
4623          CFLAGS="-g"
4624          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h.  */
4626
4627 int
4628 main ()
4629 {
4630
4631   ;
4632   return 0;
4633 }
4634 _ACEOF
4635 if ac_fn_c_try_compile "$LINENO"; then :
4636   ac_cv_prog_cc_g=yes
4637 fi
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4639 fi
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 fi
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643    ac_c_werror_flag=$ac_save_c_werror_flag
4644 fi
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4646 $as_echo "$ac_cv_prog_cc_g" >&6; }
4647 if test "$ac_test_CFLAGS" = set; then
4648   CFLAGS=$ac_save_CFLAGS
4649 elif test $ac_cv_prog_cc_g = yes; then
4650   if test "$GCC" = yes; then
4651     CFLAGS="-g -O2"
4652   else
4653     CFLAGS="-g"
4654   fi
4655 else
4656   if test "$GCC" = yes; then
4657     CFLAGS="-O2"
4658   else
4659     CFLAGS=
4660   fi
4661 fi
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4663 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4664 if ${ac_cv_prog_cc_c89+:} false; then :
4665   $as_echo_n "(cached) " >&6
4666 else
4667   ac_cv_prog_cc_c89=no
4668 ac_save_CC=$CC
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h.  */
4671 #include <stdarg.h>
4672 #include <stdio.h>
4673 #include <sys/types.h>
4674 #include <sys/stat.h>
4675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4676 struct buf { int x; };
4677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4678 static char *e (p, i)
4679      char **p;
4680      int i;
4681 {
4682   return p[i];
4683 }
4684 static char *f (char * (*g) (char **, int), char **p, ...)
4685 {
4686   char *s;
4687   va_list v;
4688   va_start (v,p);
4689   s = g (p, va_arg (v,int));
4690   va_end (v);
4691   return s;
4692 }
4693
4694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4695    function prototypes and stuff, but not '\xHH' hex character constants.
4696    These don't provoke an error unfortunately, instead are silently treated
4697    as 'x'.  The following induces an error, until -std is added to get
4698    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4699    array size at least.  It's necessary to write '\x00'==0 to get something
4700    that's true only with -std.  */
4701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4702
4703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4704    inside strings and character constants.  */
4705 #define FOO(x) 'x'
4706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4707
4708 int test (int i, double x);
4709 struct s1 {int (*f) (int a);};
4710 struct s2 {int (*f) (double a);};
4711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4712 int argc;
4713 char **argv;
4714 int
4715 main ()
4716 {
4717 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4718   ;
4719   return 0;
4720 }
4721 _ACEOF
4722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4723         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4724 do
4725   CC="$ac_save_CC $ac_arg"
4726   if ac_fn_c_try_compile "$LINENO"; then :
4727   ac_cv_prog_cc_c89=$ac_arg
4728 fi
4729 rm -f core conftest.err conftest.$ac_objext
4730   test "x$ac_cv_prog_cc_c89" != "xno" && break
4731 done
4732 rm -f conftest.$ac_ext
4733 CC=$ac_save_CC
4734
4735 fi
4736 # AC_CACHE_VAL
4737 case "x$ac_cv_prog_cc_c89" in
4738   x)
4739     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4740 $as_echo "none needed" >&6; } ;;
4741   xno)
4742     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4743 $as_echo "unsupported" >&6; } ;;
4744   *)
4745     CC="$CC $ac_cv_prog_cc_c89"
4746     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4748 esac
4749 if test "x$ac_cv_prog_cc_c89" != xno; then :
4750
4751 fi
4752
4753 ac_ext=c
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4758
4759 ac_ext=c
4760 ac_cpp='$CPP $CPPFLAGS'
4761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4765 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4766 if ${am_cv_prog_cc_c_o+:} false; then :
4767   $as_echo_n "(cached) " >&6
4768 else
4769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h.  */
4771
4772 int
4773 main ()
4774 {
4775
4776   ;
4777   return 0;
4778 }
4779 _ACEOF
4780   # Make sure it works both with $CC and with simple cc.
4781   # Following AC_PROG_CC_C_O, we do the test twice because some
4782   # compilers refuse to overwrite an existing .o file with -o,
4783   # though they will create one.
4784   am_cv_prog_cc_c_o=yes
4785   for am_i in 1 2; do
4786     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4787    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4788    ac_status=$?
4789    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790    (exit $ac_status); } \
4791          && test -f conftest2.$ac_objext; then
4792       : OK
4793     else
4794       am_cv_prog_cc_c_o=no
4795       break
4796     fi
4797   done
4798   rm -f core conftest*
4799   unset am_i
4800 fi
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4802 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4803 if test "$am_cv_prog_cc_c_o" != yes; then
4804    # Losing compiler, so override with the script.
4805    # FIXME: It is wrong to rewrite CC.
4806    # But if we don't then we get into trouble of one sort or another.
4807    # A longer-term fix would be to have automake use am__CC in this case,
4808    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4809    CC="$am_aux_dir/compile $CC"
4810 fi
4811 ac_ext=c
4812 ac_cpp='$CPP $CPPFLAGS'
4813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4816
4817
4818 depcc="$CC"   am_compiler_list=
4819
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4821 $as_echo_n "checking dependency style of $depcc... " >&6; }
4822 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4823   $as_echo_n "(cached) " >&6
4824 else
4825   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4826   # We make a subdir and do the tests there.  Otherwise we can end up
4827   # making bogus files that we don't know about and never remove.  For
4828   # instance it was reported that on HP-UX the gcc test will end up
4829   # making a dummy file named 'D' -- because '-MD' means "put the output
4830   # in D".
4831   rm -rf conftest.dir
4832   mkdir conftest.dir
4833   # Copy depcomp to subdir because otherwise we won't find it if we're
4834   # using a relative directory.
4835   cp "$am_depcomp" conftest.dir
4836   cd conftest.dir
4837   # We will build objects and dependencies in a subdirectory because
4838   # it helps to detect inapplicable dependency modes.  For instance
4839   # both Tru64's cc and ICC support -MD to output dependencies as a
4840   # side effect of compilation, but ICC will put the dependencies in
4841   # the current directory while Tru64 will put them in the object
4842   # directory.
4843   mkdir sub
4844
4845   am_cv_CC_dependencies_compiler_type=none
4846   if test "$am_compiler_list" = ""; then
4847      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4848   fi
4849   am__universal=false
4850   case " $depcc " in #(
4851      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4852      esac
4853
4854   for depmode in $am_compiler_list; do
4855     # Setup a source with many dependencies, because some compilers
4856     # like to wrap large dependency lists on column 80 (with \), and
4857     # we should not choose a depcomp mode which is confused by this.
4858     #
4859     # We need to recreate these files for each test, as the compiler may
4860     # overwrite some of them when testing with obscure command lines.
4861     # This happens at least with the AIX C compiler.
4862     : > sub/conftest.c
4863     for i in 1 2 3 4 5 6; do
4864       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4865       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4866       # Solaris 10 /bin/sh.
4867       echo '/* dummy */' > sub/conftst$i.h
4868     done
4869     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4870
4871     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4872     # mode.  It turns out that the SunPro C++ compiler does not properly
4873     # handle '-M -o', and we need to detect this.  Also, some Intel
4874     # versions had trouble with output in subdirs.
4875     am__obj=sub/conftest.${OBJEXT-o}
4876     am__minus_obj="-o $am__obj"
4877     case $depmode in
4878     gcc)
4879       # This depmode causes a compiler race in universal mode.
4880       test "$am__universal" = false || continue
4881       ;;
4882     nosideeffect)
4883       # After this tag, mechanisms are not by side-effect, so they'll
4884       # only be used when explicitly requested.
4885       if test "x$enable_dependency_tracking" = xyes; then
4886         continue
4887       else
4888         break
4889       fi
4890       ;;
4891     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4892       # This compiler won't grok '-c -o', but also, the minuso test has
4893       # not run yet.  These depmodes are late enough in the game, and
4894       # so weak that their functioning should not be impacted.
4895       am__obj=conftest.${OBJEXT-o}
4896       am__minus_obj=
4897       ;;
4898     none) break ;;
4899     esac
4900     if depmode=$depmode \
4901        source=sub/conftest.c object=$am__obj \
4902        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4903        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4904          >/dev/null 2>conftest.err &&
4905        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4906        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4907        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4908        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4909       # icc doesn't choke on unknown options, it will just issue warnings
4910       # or remarks (even with -Werror).  So we grep stderr for any message
4911       # that says an option was ignored or not supported.
4912       # When given -MP, icc 7.0 and 7.1 complain thusly:
4913       #   icc: Command line warning: ignoring option '-M'; no argument required
4914       # The diagnosis changed in icc 8.0:
4915       #   icc: Command line remark: option '-MP' not supported
4916       if (grep 'ignoring option' conftest.err ||
4917           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4918         am_cv_CC_dependencies_compiler_type=$depmode
4919         break
4920       fi
4921     fi
4922   done
4923
4924   cd ..
4925   rm -rf conftest.dir
4926 else
4927   am_cv_CC_dependencies_compiler_type=none
4928 fi
4929
4930 fi
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4932 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4933 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4934
4935  if
4936   test "x$enable_dependency_tracking" != xno \
4937   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4938   am__fastdepCC_TRUE=
4939   am__fastdepCC_FALSE='#'
4940 else
4941   am__fastdepCC_TRUE='#'
4942   am__fastdepCC_FALSE=
4943 fi
4944
4945
4946 ac_ext=c
4947 ac_cpp='$CPP $CPPFLAGS'
4948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4952 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4953 # On Suns, sometimes $CPP names a directory.
4954 if test -n "$CPP" && test -d "$CPP"; then
4955   CPP=
4956 fi
4957 if test -z "$CPP"; then
4958   if ${ac_cv_prog_CPP+:} false; then :
4959   $as_echo_n "(cached) " >&6
4960 else
4961       # Double quotes because CPP needs to be expanded
4962     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4963     do
4964       ac_preproc_ok=false
4965 for ac_c_preproc_warn_flag in '' yes
4966 do
4967   # Use a header file that comes with gcc, so configuring glibc
4968   # with a fresh cross-compiler works.
4969   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4970   # <limits.h> exists even on freestanding compilers.
4971   # On the NeXT, cc -E runs the code through the compiler's parser,
4972   # not just through cpp. "Syntax error" is here to catch this case.
4973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h.  */
4975 #ifdef __STDC__
4976 # include <limits.h>
4977 #else
4978 # include <assert.h>
4979 #endif
4980                      Syntax error
4981 _ACEOF
4982 if ac_fn_c_try_cpp "$LINENO"; then :
4983
4984 else
4985   # Broken: fails on valid input.
4986 continue
4987 fi
4988 rm -f conftest.err conftest.i conftest.$ac_ext
4989
4990   # OK, works on sane cases.  Now check whether nonexistent headers
4991   # can be detected and how.
4992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h.  */
4994 #include <ac_nonexistent.h>
4995 _ACEOF
4996 if ac_fn_c_try_cpp "$LINENO"; then :
4997   # Broken: success on invalid input.
4998 continue
4999 else
5000   # Passes both tests.
5001 ac_preproc_ok=:
5002 break
5003 fi
5004 rm -f conftest.err conftest.i conftest.$ac_ext
5005
5006 done
5007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5008 rm -f conftest.i conftest.err conftest.$ac_ext
5009 if $ac_preproc_ok; then :
5010   break
5011 fi
5012
5013     done
5014     ac_cv_prog_CPP=$CPP
5015
5016 fi
5017   CPP=$ac_cv_prog_CPP
5018 else
5019   ac_cv_prog_CPP=$CPP
5020 fi
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5022 $as_echo "$CPP" >&6; }
5023 ac_preproc_ok=false
5024 for ac_c_preproc_warn_flag in '' yes
5025 do
5026   # Use a header file that comes with gcc, so configuring glibc
5027   # with a fresh cross-compiler works.
5028   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5029   # <limits.h> exists even on freestanding compilers.
5030   # On the NeXT, cc -E runs the code through the compiler's parser,
5031   # not just through cpp. "Syntax error" is here to catch this case.
5032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h.  */
5034 #ifdef __STDC__
5035 # include <limits.h>
5036 #else
5037 # include <assert.h>
5038 #endif
5039                      Syntax error
5040 _ACEOF
5041 if ac_fn_c_try_cpp "$LINENO"; then :
5042
5043 else
5044   # Broken: fails on valid input.
5045 continue
5046 fi
5047 rm -f conftest.err conftest.i conftest.$ac_ext
5048
5049   # OK, works on sane cases.  Now check whether nonexistent headers
5050   # can be detected and how.
5051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h.  */
5053 #include <ac_nonexistent.h>
5054 _ACEOF
5055 if ac_fn_c_try_cpp "$LINENO"; then :
5056   # Broken: success on invalid input.
5057 continue
5058 else
5059   # Passes both tests.
5060 ac_preproc_ok=:
5061 break
5062 fi
5063 rm -f conftest.err conftest.i conftest.$ac_ext
5064
5065 done
5066 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5067 rm -f conftest.i conftest.err conftest.$ac_ext
5068 if $ac_preproc_ok; then :
5069
5070 else
5071   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5073 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5074 See \`config.log' for more details" "$LINENO" 5; }
5075 fi
5076
5077 ac_ext=c
5078 ac_cpp='$CPP $CPPFLAGS'
5079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5082
5083 ac_c_preproc_warn_flag=yes
5084
5085 ac_ext=c
5086 ac_cpp='$CPP $CPPFLAGS'
5087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5090 if test -n "$ac_tool_prefix"; then
5091   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5092 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if ${ac_cv_prog_CC+:} false; then :
5096   $as_echo_n "(cached) " >&6
5097 else
5098   if test -n "$CC"; then
5099   ac_cv_prog_CC="$CC" # Let the user override the test.
5100 else
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 for as_dir in $PATH
5103 do
5104   IFS=$as_save_IFS
5105   test -z "$as_dir" && as_dir=.
5106     for ac_exec_ext in '' $ac_executable_extensions; do
5107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5108     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110     break 2
5111   fi
5112 done
5113   done
5114 IFS=$as_save_IFS
5115
5116 fi
5117 fi
5118 CC=$ac_cv_prog_CC
5119 if test -n "$CC"; then
5120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5121 $as_echo "$CC" >&6; }
5122 else
5123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5125 fi
5126
5127
5128 fi
5129 if test -z "$ac_cv_prog_CC"; then
5130   ac_ct_CC=$CC
5131   # Extract the first word of "gcc", so it can be a program name with args.
5132 set dummy gcc; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5136   $as_echo_n "(cached) " >&6
5137 else
5138   if test -n "$ac_ct_CC"; then
5139   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5140 else
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH
5143 do
5144   IFS=$as_save_IFS
5145   test -z "$as_dir" && as_dir=.
5146     for ac_exec_ext in '' $ac_executable_extensions; do
5147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5148     ac_cv_prog_ac_ct_CC="gcc"
5149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5150     break 2
5151   fi
5152 done
5153   done
5154 IFS=$as_save_IFS
5155
5156 fi
5157 fi
5158 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5159 if test -n "$ac_ct_CC"; then
5160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5161 $as_echo "$ac_ct_CC" >&6; }
5162 else
5163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5165 fi
5166
5167   if test "x$ac_ct_CC" = x; then
5168     CC=""
5169   else
5170     case $cross_compiling:$ac_tool_warned in
5171 yes:)
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5174 ac_tool_warned=yes ;;
5175 esac
5176     CC=$ac_ct_CC
5177   fi
5178 else
5179   CC="$ac_cv_prog_CC"
5180 fi
5181
5182 if test -z "$CC"; then
5183           if test -n "$ac_tool_prefix"; then
5184     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5185 set dummy ${ac_tool_prefix}cc; ac_word=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_CC+:} false; then :
5189   $as_echo_n "(cached) " >&6
5190 else
5191   if test -n "$CC"; then
5192   ac_cv_prog_CC="$CC" # Let the user override the test.
5193 else
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195 for as_dir in $PATH
5196 do
5197   IFS=$as_save_IFS
5198   test -z "$as_dir" && as_dir=.
5199     for ac_exec_ext in '' $ac_executable_extensions; do
5200   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5201     ac_cv_prog_CC="${ac_tool_prefix}cc"
5202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203     break 2
5204   fi
5205 done
5206   done
5207 IFS=$as_save_IFS
5208
5209 fi
5210 fi
5211 CC=$ac_cv_prog_CC
5212 if test -n "$CC"; then
5213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5214 $as_echo "$CC" >&6; }
5215 else
5216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5218 fi
5219
5220
5221   fi
5222 fi
5223 if test -z "$CC"; then
5224   # Extract the first word of "cc", so it can be a program name with args.
5225 set dummy cc; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_CC+:} false; then :
5229   $as_echo_n "(cached) " >&6
5230 else
5231   if test -n "$CC"; then
5232   ac_cv_prog_CC="$CC" # Let the user override the test.
5233 else
5234   ac_prog_rejected=no
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5237 do
5238   IFS=$as_save_IFS
5239   test -z "$as_dir" && as_dir=.
5240     for ac_exec_ext in '' $ac_executable_extensions; do
5241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5243        ac_prog_rejected=yes
5244        continue
5245      fi
5246     ac_cv_prog_CC="cc"
5247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248     break 2
5249   fi
5250 done
5251   done
5252 IFS=$as_save_IFS
5253
5254 if test $ac_prog_rejected = yes; then
5255   # We found a bogon in the path, so make sure we never use it.
5256   set dummy $ac_cv_prog_CC
5257   shift
5258   if test $# != 0; then
5259     # We chose a different compiler from the bogus one.
5260     # However, it has the same basename, so the bogon will be chosen
5261     # first if we set CC to just the basename; use the full file name.
5262     shift
5263     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5264   fi
5265 fi
5266 fi
5267 fi
5268 CC=$ac_cv_prog_CC
5269 if test -n "$CC"; then
5270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5271 $as_echo "$CC" >&6; }
5272 else
5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5275 fi
5276
5277
5278 fi
5279 if test -z "$CC"; then
5280   if test -n "$ac_tool_prefix"; then
5281   for ac_prog in cl.exe
5282   do
5283     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_CC+:} false; then :
5288   $as_echo_n "(cached) " >&6
5289 else
5290   if test -n "$CC"; then
5291   ac_cv_prog_CC="$CC" # Let the user override the test.
5292 else
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 for as_dir in $PATH
5295 do
5296   IFS=$as_save_IFS
5297   test -z "$as_dir" && as_dir=.
5298     for ac_exec_ext in '' $ac_executable_extensions; do
5299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5300     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5302     break 2
5303   fi
5304 done
5305   done
5306 IFS=$as_save_IFS
5307
5308 fi
5309 fi
5310 CC=$ac_cv_prog_CC
5311 if test -n "$CC"; then
5312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5313 $as_echo "$CC" >&6; }
5314 else
5315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5317 fi
5318
5319
5320     test -n "$CC" && break
5321   done
5322 fi
5323 if test -z "$CC"; then
5324   ac_ct_CC=$CC
5325   for ac_prog in cl.exe
5326 do
5327   # Extract the first word of "$ac_prog", so it can be a program name with args.
5328 set dummy $ac_prog; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5332   $as_echo_n "(cached) " >&6
5333 else
5334   if test -n "$ac_ct_CC"; then
5335   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5336 else
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 for as_dir in $PATH
5339 do
5340   IFS=$as_save_IFS
5341   test -z "$as_dir" && as_dir=.
5342     for ac_exec_ext in '' $ac_executable_extensions; do
5343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344     ac_cv_prog_ac_ct_CC="$ac_prog"
5345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5346     break 2
5347   fi
5348 done
5349   done
5350 IFS=$as_save_IFS
5351
5352 fi
5353 fi
5354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5355 if test -n "$ac_ct_CC"; then
5356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5357 $as_echo "$ac_ct_CC" >&6; }
5358 else
5359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5361 fi
5362
5363
5364   test -n "$ac_ct_CC" && break
5365 done
5366
5367   if test "x$ac_ct_CC" = x; then
5368     CC=""
5369   else
5370     case $cross_compiling:$ac_tool_warned in
5371 yes:)
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5374 ac_tool_warned=yes ;;
5375 esac
5376     CC=$ac_ct_CC
5377   fi
5378 fi
5379
5380 fi
5381
5382
5383 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5385 as_fn_error $? "no acceptable C compiler found in \$PATH
5386 See \`config.log' for more details" "$LINENO" 5; }
5387
5388 # Provide some information about the compiler.
5389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5390 set X $ac_compile
5391 ac_compiler=$2
5392 for ac_option in --version -v -V -qversion; do
5393   { { ac_try="$ac_compiler $ac_option >&5"
5394 case "(($ac_try" in
5395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5396   *) ac_try_echo=$ac_try;;
5397 esac
5398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5399 $as_echo "$ac_try_echo"; } >&5
5400   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5401   ac_status=$?
5402   if test -s conftest.err; then
5403     sed '10a\
5404 ... rest of stderr output deleted ...
5405          10q' conftest.err >conftest.er1
5406     cat conftest.er1 >&5
5407   fi
5408   rm -f conftest.er1 conftest.err
5409   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5410   test $ac_status = 0; }
5411 done
5412
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5414 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5415 if ${ac_cv_c_compiler_gnu+:} false; then :
5416   $as_echo_n "(cached) " >&6
5417 else
5418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h.  */
5420
5421 int
5422 main ()
5423 {
5424 #ifndef __GNUC__
5425        choke me
5426 #endif
5427
5428   ;
5429   return 0;
5430 }
5431 _ACEOF
5432 if ac_fn_c_try_compile "$LINENO"; then :
5433   ac_compiler_gnu=yes
5434 else
5435   ac_compiler_gnu=no
5436 fi
5437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5438 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5439
5440 fi
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5442 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5443 if test $ac_compiler_gnu = yes; then
5444   GCC=yes
5445 else
5446   GCC=
5447 fi
5448 ac_test_CFLAGS=${CFLAGS+set}
5449 ac_save_CFLAGS=$CFLAGS
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5451 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5452 if ${ac_cv_prog_cc_g+:} false; then :
5453   $as_echo_n "(cached) " >&6
5454 else
5455   ac_save_c_werror_flag=$ac_c_werror_flag
5456    ac_c_werror_flag=yes
5457    ac_cv_prog_cc_g=no
5458    CFLAGS="-g"
5459    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5460 /* end confdefs.h.  */
5461
5462 int
5463 main ()
5464 {
5465
5466   ;
5467   return 0;
5468 }
5469 _ACEOF
5470 if ac_fn_c_try_compile "$LINENO"; then :
5471   ac_cv_prog_cc_g=yes
5472 else
5473   CFLAGS=""
5474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475 /* end confdefs.h.  */
5476
5477 int
5478 main ()
5479 {
5480
5481   ;
5482   return 0;
5483 }
5484 _ACEOF
5485 if ac_fn_c_try_compile "$LINENO"; then :
5486
5487 else
5488   ac_c_werror_flag=$ac_save_c_werror_flag
5489          CFLAGS="-g"
5490          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h.  */
5492
5493 int
5494 main ()
5495 {
5496
5497   ;
5498   return 0;
5499 }
5500 _ACEOF
5501 if ac_fn_c_try_compile "$LINENO"; then :
5502   ac_cv_prog_cc_g=yes
5503 fi
5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5505 fi
5506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5507 fi
5508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509    ac_c_werror_flag=$ac_save_c_werror_flag
5510 fi
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5512 $as_echo "$ac_cv_prog_cc_g" >&6; }
5513 if test "$ac_test_CFLAGS" = set; then
5514   CFLAGS=$ac_save_CFLAGS
5515 elif test $ac_cv_prog_cc_g = yes; then
5516   if test "$GCC" = yes; then
5517     CFLAGS="-g -O2"
5518   else
5519     CFLAGS="-g"
5520   fi
5521 else
5522   if test "$GCC" = yes; then
5523     CFLAGS="-O2"
5524   else
5525     CFLAGS=
5526   fi
5527 fi
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5529 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5530 if ${ac_cv_prog_cc_c89+:} false; then :
5531   $as_echo_n "(cached) " >&6
5532 else
5533   ac_cv_prog_cc_c89=no
5534 ac_save_CC=$CC
5535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5536 /* end confdefs.h.  */
5537 #include <stdarg.h>
5538 #include <stdio.h>
5539 #include <sys/types.h>
5540 #include <sys/stat.h>
5541 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5542 struct buf { int x; };
5543 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5544 static char *e (p, i)
5545      char **p;
5546      int i;
5547 {
5548   return p[i];
5549 }
5550 static char *f (char * (*g) (char **, int), char **p, ...)
5551 {
5552   char *s;
5553   va_list v;
5554   va_start (v,p);
5555   s = g (p, va_arg (v,int));
5556   va_end (v);
5557   return s;
5558 }
5559
5560 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5561    function prototypes and stuff, but not '\xHH' hex character constants.
5562    These don't provoke an error unfortunately, instead are silently treated
5563    as 'x'.  The following induces an error, until -std is added to get
5564    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5565    array size at least.  It's necessary to write '\x00'==0 to get something
5566    that's true only with -std.  */
5567 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5568
5569 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5570    inside strings and character constants.  */
5571 #define FOO(x) 'x'
5572 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5573
5574 int test (int i, double x);
5575 struct s1 {int (*f) (int a);};
5576 struct s2 {int (*f) (double a);};
5577 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5578 int argc;
5579 char **argv;
5580 int
5581 main ()
5582 {
5583 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5584   ;
5585   return 0;
5586 }
5587 _ACEOF
5588 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5589         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5590 do
5591   CC="$ac_save_CC $ac_arg"
5592   if ac_fn_c_try_compile "$LINENO"; then :
5593   ac_cv_prog_cc_c89=$ac_arg
5594 fi
5595 rm -f core conftest.err conftest.$ac_objext
5596   test "x$ac_cv_prog_cc_c89" != "xno" && break
5597 done
5598 rm -f conftest.$ac_ext
5599 CC=$ac_save_CC
5600
5601 fi
5602 # AC_CACHE_VAL
5603 case "x$ac_cv_prog_cc_c89" in
5604   x)
5605     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5606 $as_echo "none needed" >&6; } ;;
5607   xno)
5608     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5609 $as_echo "unsupported" >&6; } ;;
5610   *)
5611     CC="$CC $ac_cv_prog_cc_c89"
5612     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5613 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5614 esac
5615 if test "x$ac_cv_prog_cc_c89" != xno; then :
5616
5617 fi
5618
5619 ac_ext=c
5620 ac_cpp='$CPP $CPPFLAGS'
5621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5624
5625 ac_ext=c
5626 ac_cpp='$CPP $CPPFLAGS'
5627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5631 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5632 if ${am_cv_prog_cc_c_o+:} false; then :
5633   $as_echo_n "(cached) " >&6
5634 else
5635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h.  */
5637
5638 int
5639 main ()
5640 {
5641
5642   ;
5643   return 0;
5644 }
5645 _ACEOF
5646   # Make sure it works both with $CC and with simple cc.
5647   # Following AC_PROG_CC_C_O, we do the test twice because some
5648   # compilers refuse to overwrite an existing .o file with -o,
5649   # though they will create one.
5650   am_cv_prog_cc_c_o=yes
5651   for am_i in 1 2; do
5652     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5653    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5654    ac_status=$?
5655    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656    (exit $ac_status); } \
5657          && test -f conftest2.$ac_objext; then
5658       : OK
5659     else
5660       am_cv_prog_cc_c_o=no
5661       break
5662     fi
5663   done
5664   rm -f core conftest*
5665   unset am_i
5666 fi
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5668 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5669 if test "$am_cv_prog_cc_c_o" != yes; then
5670    # Losing compiler, so override with the script.
5671    # FIXME: It is wrong to rewrite CC.
5672    # But if we don't then we get into trouble of one sort or another.
5673    # A longer-term fix would be to have automake use am__CC in this case,
5674    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5675    CC="$am_aux_dir/compile $CC"
5676 fi
5677 ac_ext=c
5678 ac_cpp='$CPP $CPPFLAGS'
5679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5682
5683
5684 depcc="$CC"   am_compiler_list=
5685
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5687 $as_echo_n "checking dependency style of $depcc... " >&6; }
5688 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5689   $as_echo_n "(cached) " >&6
5690 else
5691   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5692   # We make a subdir and do the tests there.  Otherwise we can end up
5693   # making bogus files that we don't know about and never remove.  For
5694   # instance it was reported that on HP-UX the gcc test will end up
5695   # making a dummy file named 'D' -- because '-MD' means "put the output
5696   # in D".
5697   rm -rf conftest.dir
5698   mkdir conftest.dir
5699   # Copy depcomp to subdir because otherwise we won't find it if we're
5700   # using a relative directory.
5701   cp "$am_depcomp" conftest.dir
5702   cd conftest.dir
5703   # We will build objects and dependencies in a subdirectory because
5704   # it helps to detect inapplicable dependency modes.  For instance
5705   # both Tru64's cc and ICC support -MD to output dependencies as a
5706   # side effect of compilation, but ICC will put the dependencies in
5707   # the current directory while Tru64 will put them in the object
5708   # directory.
5709   mkdir sub
5710
5711   am_cv_CC_dependencies_compiler_type=none
5712   if test "$am_compiler_list" = ""; then
5713      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5714   fi
5715   am__universal=false
5716   case " $depcc " in #(
5717      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5718      esac
5719
5720   for depmode in $am_compiler_list; do
5721     # Setup a source with many dependencies, because some compilers
5722     # like to wrap large dependency lists on column 80 (with \), and
5723     # we should not choose a depcomp mode which is confused by this.
5724     #
5725     # We need to recreate these files for each test, as the compiler may
5726     # overwrite some of them when testing with obscure command lines.
5727     # This happens at least with the AIX C compiler.
5728     : > sub/conftest.c
5729     for i in 1 2 3 4 5 6; do
5730       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5731       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5732       # Solaris 10 /bin/sh.
5733       echo '/* dummy */' > sub/conftst$i.h
5734     done
5735     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5736
5737     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5738     # mode.  It turns out that the SunPro C++ compiler does not properly
5739     # handle '-M -o', and we need to detect this.  Also, some Intel
5740     # versions had trouble with output in subdirs.
5741     am__obj=sub/conftest.${OBJEXT-o}
5742     am__minus_obj="-o $am__obj"
5743     case $depmode in
5744     gcc)
5745       # This depmode causes a compiler race in universal mode.
5746       test "$am__universal" = false || continue
5747       ;;
5748     nosideeffect)
5749       # After this tag, mechanisms are not by side-effect, so they'll
5750       # only be used when explicitly requested.
5751       if test "x$enable_dependency_tracking" = xyes; then
5752         continue
5753       else
5754         break
5755       fi
5756       ;;
5757     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5758       # This compiler won't grok '-c -o', but also, the minuso test has
5759       # not run yet.  These depmodes are late enough in the game, and
5760       # so weak that their functioning should not be impacted.
5761       am__obj=conftest.${OBJEXT-o}
5762       am__minus_obj=
5763       ;;
5764     none) break ;;
5765     esac
5766     if depmode=$depmode \
5767        source=sub/conftest.c object=$am__obj \
5768        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5769        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5770          >/dev/null 2>conftest.err &&
5771        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5772        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5773        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5774        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5775       # icc doesn't choke on unknown options, it will just issue warnings
5776       # or remarks (even with -Werror).  So we grep stderr for any message
5777       # that says an option was ignored or not supported.
5778       # When given -MP, icc 7.0 and 7.1 complain thusly:
5779       #   icc: Command line warning: ignoring option '-M'; no argument required
5780       # The diagnosis changed in icc 8.0:
5781       #   icc: Command line remark: option '-MP' not supported
5782       if (grep 'ignoring option' conftest.err ||
5783           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5784         am_cv_CC_dependencies_compiler_type=$depmode
5785         break
5786       fi
5787     fi
5788   done
5789
5790   cd ..
5791   rm -rf conftest.dir
5792 else
5793   am_cv_CC_dependencies_compiler_type=none
5794 fi
5795
5796 fi
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5798 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5799 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5800
5801  if
5802   test "x$enable_dependency_tracking" != xno \
5803   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5804   am__fastdepCC_TRUE=
5805   am__fastdepCC_FALSE='#'
5806 else
5807   am__fastdepCC_TRUE='#'
5808   am__fastdepCC_FALSE=
5809 fi
5810
5811
5812 if test "x$CC" != xcc; then
5813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5814 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5815 else
5816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5817 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5818 fi
5819 set dummy $CC; ac_cc=`$as_echo "$2" |
5820                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5821 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5822   $as_echo_n "(cached) " >&6
5823 else
5824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h.  */
5826
5827 int
5828 main ()
5829 {
5830
5831   ;
5832   return 0;
5833 }
5834 _ACEOF
5835 # Make sure it works both with $CC and with simple cc.
5836 # We do the test twice because some compilers refuse to overwrite an
5837 # existing .o file with -o, though they will create one.
5838 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5839 rm -f conftest2.*
5840 if { { case "(($ac_try" in
5841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5842   *) ac_try_echo=$ac_try;;
5843 esac
5844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5845 $as_echo "$ac_try_echo"; } >&5
5846   (eval "$ac_try") 2>&5
5847   ac_status=$?
5848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5849   test $ac_status = 0; } &&
5850    test -f conftest2.$ac_objext && { { case "(($ac_try" in
5851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5852   *) ac_try_echo=$ac_try;;
5853 esac
5854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5855 $as_echo "$ac_try_echo"; } >&5
5856   (eval "$ac_try") 2>&5
5857   ac_status=$?
5858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5859   test $ac_status = 0; };
5860 then
5861   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5862   if test "x$CC" != xcc; then
5863     # Test first that cc exists at all.
5864     if { ac_try='cc -c conftest.$ac_ext >&5'
5865   { { case "(($ac_try" in
5866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5867   *) ac_try_echo=$ac_try;;
5868 esac
5869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5870 $as_echo "$ac_try_echo"; } >&5
5871   (eval "$ac_try") 2>&5
5872   ac_status=$?
5873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5874   test $ac_status = 0; }; }; then
5875       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5876       rm -f conftest2.*
5877       if { { case "(($ac_try" in
5878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5879   *) ac_try_echo=$ac_try;;
5880 esac
5881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5882 $as_echo "$ac_try_echo"; } >&5
5883   (eval "$ac_try") 2>&5
5884   ac_status=$?
5885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5886   test $ac_status = 0; } &&
5887          test -f conftest2.$ac_objext && { { case "(($ac_try" in
5888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5889   *) ac_try_echo=$ac_try;;
5890 esac
5891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5892 $as_echo "$ac_try_echo"; } >&5
5893   (eval "$ac_try") 2>&5
5894   ac_status=$?
5895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5896   test $ac_status = 0; };
5897       then
5898         # cc works too.
5899         :
5900       else
5901         # cc exists but doesn't like -o.
5902         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5903       fi
5904     fi
5905   fi
5906 else
5907   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5908 fi
5909 rm -f core conftest*
5910
5911 fi
5912 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5914 $as_echo "yes" >&6; }
5915 else
5916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5918
5919 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5920
5921 fi
5922
5923
5924 ac_ext=cpp
5925 ac_cpp='$CXXCPP $CPPFLAGS'
5926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5929 if test -z "$CXX"; then
5930   if test -n "$CCC"; then
5931     CXX=$CCC
5932   else
5933     if test -n "$ac_tool_prefix"; then
5934   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5935   do
5936     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5937 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if ${ac_cv_prog_CXX+:} false; then :
5941   $as_echo_n "(cached) " >&6
5942 else
5943   if test -n "$CXX"; then
5944   ac_cv_prog_CXX="$CXX" # Let the user override the test.
5945 else
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 for as_dir in $PATH
5948 do
5949   IFS=$as_save_IFS
5950   test -z "$as_dir" && as_dir=.
5951     for ac_exec_ext in '' $ac_executable_extensions; do
5952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955     break 2
5956   fi
5957 done
5958   done
5959 IFS=$as_save_IFS
5960
5961 fi
5962 fi
5963 CXX=$ac_cv_prog_CXX
5964 if test -n "$CXX"; then
5965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5966 $as_echo "$CXX" >&6; }
5967 else
5968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969 $as_echo "no" >&6; }
5970 fi
5971
5972
5973     test -n "$CXX" && break
5974   done
5975 fi
5976 if test -z "$CXX"; then
5977   ac_ct_CXX=$CXX
5978   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5979 do
5980   # Extract the first word of "$ac_prog", so it can be a program name with args.
5981 set dummy $ac_prog; ac_word=$2
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5985   $as_echo_n "(cached) " >&6
5986 else
5987   if test -n "$ac_ct_CXX"; then
5988   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5989 else
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 for as_dir in $PATH
5992 do
5993   IFS=$as_save_IFS
5994   test -z "$as_dir" && as_dir=.
5995     for ac_exec_ext in '' $ac_executable_extensions; do
5996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997     ac_cv_prog_ac_ct_CXX="$ac_prog"
5998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999     break 2
6000   fi
6001 done
6002   done
6003 IFS=$as_save_IFS
6004
6005 fi
6006 fi
6007 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6008 if test -n "$ac_ct_CXX"; then
6009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6010 $as_echo "$ac_ct_CXX" >&6; }
6011 else
6012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6014 fi
6015
6016
6017   test -n "$ac_ct_CXX" && break
6018 done
6019
6020   if test "x$ac_ct_CXX" = x; then
6021     CXX="g++"
6022   else
6023     case $cross_compiling:$ac_tool_warned in
6024 yes:)
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6027 ac_tool_warned=yes ;;
6028 esac
6029     CXX=$ac_ct_CXX
6030   fi
6031 fi
6032
6033   fi
6034 fi
6035 # Provide some information about the compiler.
6036 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6037 set X $ac_compile
6038 ac_compiler=$2
6039 for ac_option in --version -v -V -qversion; do
6040   { { ac_try="$ac_compiler $ac_option >&5"
6041 case "(($ac_try" in
6042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6043   *) ac_try_echo=$ac_try;;
6044 esac
6045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6046 $as_echo "$ac_try_echo"; } >&5
6047   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6048   ac_status=$?
6049   if test -s conftest.err; then
6050     sed '10a\
6051 ... rest of stderr output deleted ...
6052          10q' conftest.err >conftest.er1
6053     cat conftest.er1 >&5
6054   fi
6055   rm -f conftest.er1 conftest.err
6056   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6057   test $ac_status = 0; }
6058 done
6059
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6061 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6062 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6063   $as_echo_n "(cached) " >&6
6064 else
6065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h.  */
6067
6068 int
6069 main ()
6070 {
6071 #ifndef __GNUC__
6072        choke me
6073 #endif
6074
6075   ;
6076   return 0;
6077 }
6078 _ACEOF
6079 if ac_fn_cxx_try_compile "$LINENO"; then :
6080   ac_compiler_gnu=yes
6081 else
6082   ac_compiler_gnu=no
6083 fi
6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6085 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6086
6087 fi
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6089 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6090 if test $ac_compiler_gnu = yes; then
6091   GXX=yes
6092 else
6093   GXX=
6094 fi
6095 ac_test_CXXFLAGS=${CXXFLAGS+set}
6096 ac_save_CXXFLAGS=$CXXFLAGS
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6098 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6099 if ${ac_cv_prog_cxx_g+:} false; then :
6100   $as_echo_n "(cached) " >&6
6101 else
6102   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6103    ac_cxx_werror_flag=yes
6104    ac_cv_prog_cxx_g=no
6105    CXXFLAGS="-g"
6106    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h.  */
6108
6109 int
6110 main ()
6111 {
6112
6113   ;
6114   return 0;
6115 }
6116 _ACEOF
6117 if ac_fn_cxx_try_compile "$LINENO"; then :
6118   ac_cv_prog_cxx_g=yes
6119 else
6120   CXXFLAGS=""
6121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6122 /* end confdefs.h.  */
6123
6124 int
6125 main ()
6126 {
6127
6128   ;
6129   return 0;
6130 }
6131 _ACEOF
6132 if ac_fn_cxx_try_compile "$LINENO"; then :
6133
6134 else
6135   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6136          CXXFLAGS="-g"
6137          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h.  */
6139
6140 int
6141 main ()
6142 {
6143
6144   ;
6145   return 0;
6146 }
6147 _ACEOF
6148 if ac_fn_cxx_try_compile "$LINENO"; then :
6149   ac_cv_prog_cxx_g=yes
6150 fi
6151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6152 fi
6153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6154 fi
6155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6156    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6157 fi
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6159 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6160 if test "$ac_test_CXXFLAGS" = set; then
6161   CXXFLAGS=$ac_save_CXXFLAGS
6162 elif test $ac_cv_prog_cxx_g = yes; then
6163   if test "$GXX" = yes; then
6164     CXXFLAGS="-g -O2"
6165   else
6166     CXXFLAGS="-g"
6167   fi
6168 else
6169   if test "$GXX" = yes; then
6170     CXXFLAGS="-O2"
6171   else
6172     CXXFLAGS=
6173   fi
6174 fi
6175 ac_ext=c
6176 ac_cpp='$CPP $CPPFLAGS'
6177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6180
6181 depcc="$CXX"  am_compiler_list=
6182
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6184 $as_echo_n "checking dependency style of $depcc... " >&6; }
6185 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6186   $as_echo_n "(cached) " >&6
6187 else
6188   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6189   # We make a subdir and do the tests there.  Otherwise we can end up
6190   # making bogus files that we don't know about and never remove.  For
6191   # instance it was reported that on HP-UX the gcc test will end up
6192   # making a dummy file named 'D' -- because '-MD' means "put the output
6193   # in D".
6194   rm -rf conftest.dir
6195   mkdir conftest.dir
6196   # Copy depcomp to subdir because otherwise we won't find it if we're
6197   # using a relative directory.
6198   cp "$am_depcomp" conftest.dir
6199   cd conftest.dir
6200   # We will build objects and dependencies in a subdirectory because
6201   # it helps to detect inapplicable dependency modes.  For instance
6202   # both Tru64's cc and ICC support -MD to output dependencies as a
6203   # side effect of compilation, but ICC will put the dependencies in
6204   # the current directory while Tru64 will put them in the object
6205   # directory.
6206   mkdir sub
6207
6208   am_cv_CXX_dependencies_compiler_type=none
6209   if test "$am_compiler_list" = ""; then
6210      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6211   fi
6212   am__universal=false
6213   case " $depcc " in #(
6214      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6215      esac
6216
6217   for depmode in $am_compiler_list; do
6218     # Setup a source with many dependencies, because some compilers
6219     # like to wrap large dependency lists on column 80 (with \), and
6220     # we should not choose a depcomp mode which is confused by this.
6221     #
6222     # We need to recreate these files for each test, as the compiler may
6223     # overwrite some of them when testing with obscure command lines.
6224     # This happens at least with the AIX C compiler.
6225     : > sub/conftest.c
6226     for i in 1 2 3 4 5 6; do
6227       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6228       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6229       # Solaris 10 /bin/sh.
6230       echo '/* dummy */' > sub/conftst$i.h
6231     done
6232     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6233
6234     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6235     # mode.  It turns out that the SunPro C++ compiler does not properly
6236     # handle '-M -o', and we need to detect this.  Also, some Intel
6237     # versions had trouble with output in subdirs.
6238     am__obj=sub/conftest.${OBJEXT-o}
6239     am__minus_obj="-o $am__obj"
6240     case $depmode in
6241     gcc)
6242       # This depmode causes a compiler race in universal mode.
6243       test "$am__universal" = false || continue
6244       ;;
6245     nosideeffect)
6246       # After this tag, mechanisms are not by side-effect, so they'll
6247       # only be used when explicitly requested.
6248       if test "x$enable_dependency_tracking" = xyes; then
6249         continue
6250       else
6251         break
6252       fi
6253       ;;
6254     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6255       # This compiler won't grok '-c -o', but also, the minuso test has
6256       # not run yet.  These depmodes are late enough in the game, and
6257       # so weak that their functioning should not be impacted.
6258       am__obj=conftest.${OBJEXT-o}
6259       am__minus_obj=
6260       ;;
6261     none) break ;;
6262     esac
6263     if depmode=$depmode \
6264        source=sub/conftest.c object=$am__obj \
6265        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6266        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6267          >/dev/null 2>conftest.err &&
6268        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6269        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6270        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6271        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6272       # icc doesn't choke on unknown options, it will just issue warnings
6273       # or remarks (even with -Werror).  So we grep stderr for any message
6274       # that says an option was ignored or not supported.
6275       # When given -MP, icc 7.0 and 7.1 complain thusly:
6276       #   icc: Command line warning: ignoring option '-M'; no argument required
6277       # The diagnosis changed in icc 8.0:
6278       #   icc: Command line remark: option '-MP' not supported
6279       if (grep 'ignoring option' conftest.err ||
6280           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6281         am_cv_CXX_dependencies_compiler_type=$depmode
6282         break
6283       fi
6284     fi
6285   done
6286
6287   cd ..
6288   rm -rf conftest.dir
6289 else
6290   am_cv_CXX_dependencies_compiler_type=none
6291 fi
6292
6293 fi
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6295 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6296 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6297
6298  if
6299   test "x$enable_dependency_tracking" != xno \
6300   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6301   am__fastdepCXX_TRUE=
6302   am__fastdepCXX_FALSE='#'
6303 else
6304   am__fastdepCXX_TRUE='#'
6305   am__fastdepCXX_FALSE=
6306 fi
6307
6308
6309 ac_ext=cpp
6310 ac_cpp='$CXXCPP $CPPFLAGS'
6311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6315 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6316 if test -z "$CXXCPP"; then
6317   if ${ac_cv_prog_CXXCPP+:} false; then :
6318   $as_echo_n "(cached) " >&6
6319 else
6320       # Double quotes because CXXCPP needs to be expanded
6321     for CXXCPP in "$CXX -E" "/lib/cpp"
6322     do
6323       ac_preproc_ok=false
6324 for ac_cxx_preproc_warn_flag in '' yes
6325 do
6326   # Use a header file that comes with gcc, so configuring glibc
6327   # with a fresh cross-compiler works.
6328   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6329   # <limits.h> exists even on freestanding compilers.
6330   # On the NeXT, cc -E runs the code through the compiler's parser,
6331   # not just through cpp. "Syntax error" is here to catch this case.
6332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h.  */
6334 #ifdef __STDC__
6335 # include <limits.h>
6336 #else
6337 # include <assert.h>
6338 #endif
6339                      Syntax error
6340 _ACEOF
6341 if ac_fn_cxx_try_cpp "$LINENO"; then :
6342
6343 else
6344   # Broken: fails on valid input.
6345 continue
6346 fi
6347 rm -f conftest.err conftest.i conftest.$ac_ext
6348
6349   # OK, works on sane cases.  Now check whether nonexistent headers
6350   # can be detected and how.
6351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h.  */
6353 #include <ac_nonexistent.h>
6354 _ACEOF
6355 if ac_fn_cxx_try_cpp "$LINENO"; then :
6356   # Broken: success on invalid input.
6357 continue
6358 else
6359   # Passes both tests.
6360 ac_preproc_ok=:
6361 break
6362 fi
6363 rm -f conftest.err conftest.i conftest.$ac_ext
6364
6365 done
6366 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6367 rm -f conftest.i conftest.err conftest.$ac_ext
6368 if $ac_preproc_ok; then :
6369   break
6370 fi
6371
6372     done
6373     ac_cv_prog_CXXCPP=$CXXCPP
6374
6375 fi
6376   CXXCPP=$ac_cv_prog_CXXCPP
6377 else
6378   ac_cv_prog_CXXCPP=$CXXCPP
6379 fi
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6381 $as_echo "$CXXCPP" >&6; }
6382 ac_preproc_ok=false
6383 for ac_cxx_preproc_warn_flag in '' yes
6384 do
6385   # Use a header file that comes with gcc, so configuring glibc
6386   # with a fresh cross-compiler works.
6387   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6388   # <limits.h> exists even on freestanding compilers.
6389   # On the NeXT, cc -E runs the code through the compiler's parser,
6390   # not just through cpp. "Syntax error" is here to catch this case.
6391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6392 /* end confdefs.h.  */
6393 #ifdef __STDC__
6394 # include <limits.h>
6395 #else
6396 # include <assert.h>
6397 #endif
6398                      Syntax error
6399 _ACEOF
6400 if ac_fn_cxx_try_cpp "$LINENO"; then :
6401
6402 else
6403   # Broken: fails on valid input.
6404 continue
6405 fi
6406 rm -f conftest.err conftest.i conftest.$ac_ext
6407
6408   # OK, works on sane cases.  Now check whether nonexistent headers
6409   # can be detected and how.
6410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h.  */
6412 #include <ac_nonexistent.h>
6413 _ACEOF
6414 if ac_fn_cxx_try_cpp "$LINENO"; then :
6415   # Broken: success on invalid input.
6416 continue
6417 else
6418   # Passes both tests.
6419 ac_preproc_ok=:
6420 break
6421 fi
6422 rm -f conftest.err conftest.i conftest.$ac_ext
6423
6424 done
6425 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6426 rm -f conftest.i conftest.err conftest.$ac_ext
6427 if $ac_preproc_ok; then :
6428
6429 else
6430   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6432 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6433 See \`config.log' for more details" "$LINENO" 5; }
6434 fi
6435
6436 ac_ext=c
6437 ac_cpp='$CPP $CPPFLAGS'
6438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6441
6442
6443 ac_ext=cpp
6444 ac_cpp='$CXXCPP $CPPFLAGS'
6445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6448 if test -z "$CXX"; then
6449   if test -n "$CCC"; then
6450     CXX=$CCC
6451   else
6452     if test -n "$ac_tool_prefix"; then
6453   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6454   do
6455     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6456 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6458 $as_echo_n "checking for $ac_word... " >&6; }
6459 if ${ac_cv_prog_CXX+:} false; then :
6460   $as_echo_n "(cached) " >&6
6461 else
6462   if test -n "$CXX"; then
6463   ac_cv_prog_CXX="$CXX" # Let the user override the test.
6464 else
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in $PATH
6467 do
6468   IFS=$as_save_IFS
6469   test -z "$as_dir" && as_dir=.
6470     for ac_exec_ext in '' $ac_executable_extensions; do
6471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6474     break 2
6475   fi
6476 done
6477   done
6478 IFS=$as_save_IFS
6479
6480 fi
6481 fi
6482 CXX=$ac_cv_prog_CXX
6483 if test -n "$CXX"; then
6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6485 $as_echo "$CXX" >&6; }
6486 else
6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6488 $as_echo "no" >&6; }
6489 fi
6490
6491
6492     test -n "$CXX" && break
6493   done
6494 fi
6495 if test -z "$CXX"; then
6496   ac_ct_CXX=$CXX
6497   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6498 do
6499   # Extract the first word of "$ac_prog", so it can be a program name with args.
6500 set dummy $ac_prog; ac_word=$2
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6502 $as_echo_n "checking for $ac_word... " >&6; }
6503 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6504   $as_echo_n "(cached) " >&6
6505 else
6506   if test -n "$ac_ct_CXX"; then
6507   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6508 else
6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6511 do
6512   IFS=$as_save_IFS
6513   test -z "$as_dir" && as_dir=.
6514     for ac_exec_ext in '' $ac_executable_extensions; do
6515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516     ac_cv_prog_ac_ct_CXX="$ac_prog"
6517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518     break 2
6519   fi
6520 done
6521   done
6522 IFS=$as_save_IFS
6523
6524 fi
6525 fi
6526 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6527 if test -n "$ac_ct_CXX"; then
6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6529 $as_echo "$ac_ct_CXX" >&6; }
6530 else
6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6533 fi
6534
6535
6536   test -n "$ac_ct_CXX" && break
6537 done
6538
6539   if test "x$ac_ct_CXX" = x; then
6540     CXX="g++"
6541   else
6542     case $cross_compiling:$ac_tool_warned in
6543 yes:)
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6546 ac_tool_warned=yes ;;
6547 esac
6548     CXX=$ac_ct_CXX
6549   fi
6550 fi
6551
6552   fi
6553 fi
6554 # Provide some information about the compiler.
6555 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6556 set X $ac_compile
6557 ac_compiler=$2
6558 for ac_option in --version -v -V -qversion; do
6559   { { ac_try="$ac_compiler $ac_option >&5"
6560 case "(($ac_try" in
6561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6562   *) ac_try_echo=$ac_try;;
6563 esac
6564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6565 $as_echo "$ac_try_echo"; } >&5
6566   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6567   ac_status=$?
6568   if test -s conftest.err; then
6569     sed '10a\
6570 ... rest of stderr output deleted ...
6571          10q' conftest.err >conftest.er1
6572     cat conftest.er1 >&5
6573   fi
6574   rm -f conftest.er1 conftest.err
6575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6576   test $ac_status = 0; }
6577 done
6578
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6580 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6581 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6582   $as_echo_n "(cached) " >&6
6583 else
6584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h.  */
6586
6587 int
6588 main ()
6589 {
6590 #ifndef __GNUC__
6591        choke me
6592 #endif
6593
6594   ;
6595   return 0;
6596 }
6597 _ACEOF
6598 if ac_fn_cxx_try_compile "$LINENO"; then :
6599   ac_compiler_gnu=yes
6600 else
6601   ac_compiler_gnu=no
6602 fi
6603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6604 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6605
6606 fi
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6608 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6609 if test $ac_compiler_gnu = yes; then
6610   GXX=yes
6611 else
6612   GXX=
6613 fi
6614 ac_test_CXXFLAGS=${CXXFLAGS+set}
6615 ac_save_CXXFLAGS=$CXXFLAGS
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6617 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6618 if ${ac_cv_prog_cxx_g+:} false; then :
6619   $as_echo_n "(cached) " >&6
6620 else
6621   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6622    ac_cxx_werror_flag=yes
6623    ac_cv_prog_cxx_g=no
6624    CXXFLAGS="-g"
6625    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6626 /* end confdefs.h.  */
6627
6628 int
6629 main ()
6630 {
6631
6632   ;
6633   return 0;
6634 }
6635 _ACEOF
6636 if ac_fn_cxx_try_compile "$LINENO"; then :
6637   ac_cv_prog_cxx_g=yes
6638 else
6639   CXXFLAGS=""
6640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h.  */
6642
6643 int
6644 main ()
6645 {
6646
6647   ;
6648   return 0;
6649 }
6650 _ACEOF
6651 if ac_fn_cxx_try_compile "$LINENO"; then :
6652
6653 else
6654   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6655          CXXFLAGS="-g"
6656          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h.  */
6658
6659 int
6660 main ()
6661 {
6662
6663   ;
6664   return 0;
6665 }
6666 _ACEOF
6667 if ac_fn_cxx_try_compile "$LINENO"; then :
6668   ac_cv_prog_cxx_g=yes
6669 fi
6670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6671 fi
6672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6673 fi
6674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6675    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6676 fi
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6678 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6679 if test "$ac_test_CXXFLAGS" = set; then
6680   CXXFLAGS=$ac_save_CXXFLAGS
6681 elif test $ac_cv_prog_cxx_g = yes; then
6682   if test "$GXX" = yes; then
6683     CXXFLAGS="-g -O2"
6684   else
6685     CXXFLAGS="-g"
6686   fi
6687 else
6688   if test "$GXX" = yes; then
6689     CXXFLAGS="-O2"
6690   else
6691     CXXFLAGS=
6692   fi
6693 fi
6694 ac_ext=c
6695 ac_cpp='$CPP $CPPFLAGS'
6696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6699
6700 depcc="$CXX"  am_compiler_list=
6701
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6703 $as_echo_n "checking dependency style of $depcc... " >&6; }
6704 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6705   $as_echo_n "(cached) " >&6
6706 else
6707   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6708   # We make a subdir and do the tests there.  Otherwise we can end up
6709   # making bogus files that we don't know about and never remove.  For
6710   # instance it was reported that on HP-UX the gcc test will end up
6711   # making a dummy file named 'D' -- because '-MD' means "put the output
6712   # in D".
6713   rm -rf conftest.dir
6714   mkdir conftest.dir
6715   # Copy depcomp to subdir because otherwise we won't find it if we're
6716   # using a relative directory.
6717   cp "$am_depcomp" conftest.dir
6718   cd conftest.dir
6719   # We will build objects and dependencies in a subdirectory because
6720   # it helps to detect inapplicable dependency modes.  For instance
6721   # both Tru64's cc and ICC support -MD to output dependencies as a
6722   # side effect of compilation, but ICC will put the dependencies in
6723   # the current directory while Tru64 will put them in the object
6724   # directory.
6725   mkdir sub
6726
6727   am_cv_CXX_dependencies_compiler_type=none
6728   if test "$am_compiler_list" = ""; then
6729      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6730   fi
6731   am__universal=false
6732   case " $depcc " in #(
6733      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6734      esac
6735
6736   for depmode in $am_compiler_list; do
6737     # Setup a source with many dependencies, because some compilers
6738     # like to wrap large dependency lists on column 80 (with \), and
6739     # we should not choose a depcomp mode which is confused by this.
6740     #
6741     # We need to recreate these files for each test, as the compiler may
6742     # overwrite some of them when testing with obscure command lines.
6743     # This happens at least with the AIX C compiler.
6744     : > sub/conftest.c
6745     for i in 1 2 3 4 5 6; do
6746       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6747       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6748       # Solaris 10 /bin/sh.
6749       echo '/* dummy */' > sub/conftst$i.h
6750     done
6751     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6752
6753     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6754     # mode.  It turns out that the SunPro C++ compiler does not properly
6755     # handle '-M -o', and we need to detect this.  Also, some Intel
6756     # versions had trouble with output in subdirs.
6757     am__obj=sub/conftest.${OBJEXT-o}
6758     am__minus_obj="-o $am__obj"
6759     case $depmode in
6760     gcc)
6761       # This depmode causes a compiler race in universal mode.
6762       test "$am__universal" = false || continue
6763       ;;
6764     nosideeffect)
6765       # After this tag, mechanisms are not by side-effect, so they'll
6766       # only be used when explicitly requested.
6767       if test "x$enable_dependency_tracking" = xyes; then
6768         continue
6769       else
6770         break
6771       fi
6772       ;;
6773     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6774       # This compiler won't grok '-c -o', but also, the minuso test has
6775       # not run yet.  These depmodes are late enough in the game, and
6776       # so weak that their functioning should not be impacted.
6777       am__obj=conftest.${OBJEXT-o}
6778       am__minus_obj=
6779       ;;
6780     none) break ;;
6781     esac
6782     if depmode=$depmode \
6783        source=sub/conftest.c object=$am__obj \
6784        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6785        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6786          >/dev/null 2>conftest.err &&
6787        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6788        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6789        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6790        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6791       # icc doesn't choke on unknown options, it will just issue warnings
6792       # or remarks (even with -Werror).  So we grep stderr for any message
6793       # that says an option was ignored or not supported.
6794       # When given -MP, icc 7.0 and 7.1 complain thusly:
6795       #   icc: Command line warning: ignoring option '-M'; no argument required
6796       # The diagnosis changed in icc 8.0:
6797       #   icc: Command line remark: option '-MP' not supported
6798       if (grep 'ignoring option' conftest.err ||
6799           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6800         am_cv_CXX_dependencies_compiler_type=$depmode
6801         break
6802       fi
6803     fi
6804   done
6805
6806   cd ..
6807   rm -rf conftest.dir
6808 else
6809   am_cv_CXX_dependencies_compiler_type=none
6810 fi
6811
6812 fi
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6814 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6815 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6816
6817  if
6818   test "x$enable_dependency_tracking" != xno \
6819   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6820   am__fastdepCXX_TRUE=
6821   am__fastdepCXX_FALSE='#'
6822 else
6823   am__fastdepCXX_TRUE='#'
6824   am__fastdepCXX_FALSE=
6825 fi
6826
6827
6828 ac_ext=cpp
6829 ac_cpp='$CXXCPP $CPPFLAGS'
6830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX understands -c and -o together" >&5
6834 $as_echo_n "checking whether $CXX understands -c and -o together... " >&6; }
6835 if ${ac_cv_prog_cxx_c_o+:} false; then :
6836   $as_echo_n "(cached) " >&6
6837 else
6838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h.  */
6840
6841 int
6842 main ()
6843 {
6844
6845   ;
6846   return 0;
6847 }
6848 _ACEOF
6849 # We test twice because some compilers refuse to overwrite an existing
6850 # `.o' file with `-o', although they will create one.
6851 ac_try='$CXX $CXXFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6852 rm -f conftest2.*
6853 if { { case "(($ac_try" in
6854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6855   *) ac_try_echo=$ac_try;;
6856 esac
6857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6858 $as_echo "$ac_try_echo"; } >&5
6859   (eval "$ac_try") 2>&5
6860   ac_status=$?
6861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6862   test $ac_status = 0; } &&
6863      test -f conftest2.$ac_objext &&
6864      { { case "(($ac_try" in
6865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6866   *) ac_try_echo=$ac_try;;
6867 esac
6868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6869 $as_echo "$ac_try_echo"; } >&5
6870   (eval "$ac_try") 2>&5
6871   ac_status=$?
6872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6873   test $ac_status = 0; }; then
6874   ac_cv_prog_cxx_c_o=yes
6875 else
6876   ac_cv_prog_cxx_c_o=no
6877 fi
6878 rm -f conftest*
6879 fi
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_c_o" >&5
6881 $as_echo "$ac_cv_prog_cxx_c_o" >&6; }
6882 if test $ac_cv_prog_cxx_c_o = no; then
6883
6884 $as_echo "#define CXX_NO_MINUS_C_MINUS_O 1" >>confdefs.h
6885
6886 fi
6887 ac_ext=c
6888 ac_cpp='$CPP $CPPFLAGS'
6889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6892
6893
6894 # Check for other compiler toolchain tools.
6895
6896 if test -n "$ac_tool_prefix"; then
6897   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6898 set dummy ${ac_tool_prefix}ar; ac_word=$2
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6900 $as_echo_n "checking for $ac_word... " >&6; }
6901 if ${ac_cv_prog_AR+:} false; then :
6902   $as_echo_n "(cached) " >&6
6903 else
6904   if test -n "$AR"; then
6905   ac_cv_prog_AR="$AR" # Let the user override the test.
6906 else
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 for as_dir in $PATH
6909 do
6910   IFS=$as_save_IFS
6911   test -z "$as_dir" && as_dir=.
6912     for ac_exec_ext in '' $ac_executable_extensions; do
6913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914     ac_cv_prog_AR="${ac_tool_prefix}ar"
6915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6916     break 2
6917   fi
6918 done
6919   done
6920 IFS=$as_save_IFS
6921
6922 fi
6923 fi
6924 AR=$ac_cv_prog_AR
6925 if test -n "$AR"; then
6926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6927 $as_echo "$AR" >&6; }
6928 else
6929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930 $as_echo "no" >&6; }
6931 fi
6932
6933
6934 fi
6935 if test -z "$ac_cv_prog_AR"; then
6936   ac_ct_AR=$AR
6937   # Extract the first word of "ar", so it can be a program name with args.
6938 set dummy ar; ac_word=$2
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940 $as_echo_n "checking for $ac_word... " >&6; }
6941 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6942   $as_echo_n "(cached) " >&6
6943 else
6944   if test -n "$ac_ct_AR"; then
6945   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6946 else
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 for as_dir in $PATH
6949 do
6950   IFS=$as_save_IFS
6951   test -z "$as_dir" && as_dir=.
6952     for ac_exec_ext in '' $ac_executable_extensions; do
6953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954     ac_cv_prog_ac_ct_AR="ar"
6955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6956     break 2
6957   fi
6958 done
6959   done
6960 IFS=$as_save_IFS
6961
6962 fi
6963 fi
6964 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6965 if test -n "$ac_ct_AR"; then
6966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6967 $as_echo "$ac_ct_AR" >&6; }
6968 else
6969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970 $as_echo "no" >&6; }
6971 fi
6972
6973   if test "x$ac_ct_AR" = x; then
6974     AR=""
6975   else
6976     case $cross_compiling:$ac_tool_warned in
6977 yes:)
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6980 ac_tool_warned=yes ;;
6981 esac
6982     AR=$ac_ct_AR
6983   fi
6984 else
6985   AR="$ac_cv_prog_AR"
6986 fi
6987
6988 if test -n "$ac_tool_prefix"; then
6989   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6990 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6992 $as_echo_n "checking for $ac_word... " >&6; }
6993 if ${ac_cv_prog_RANLIB+:} false; then :
6994   $as_echo_n "(cached) " >&6
6995 else
6996   if test -n "$RANLIB"; then
6997   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6998 else
6999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000 for as_dir in $PATH
7001 do
7002   IFS=$as_save_IFS
7003   test -z "$as_dir" && as_dir=.
7004     for ac_exec_ext in '' $ac_executable_extensions; do
7005   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7006     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7008     break 2
7009   fi
7010 done
7011   done
7012 IFS=$as_save_IFS
7013
7014 fi
7015 fi
7016 RANLIB=$ac_cv_prog_RANLIB
7017 if test -n "$RANLIB"; then
7018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7019 $as_echo "$RANLIB" >&6; }
7020 else
7021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7022 $as_echo "no" >&6; }
7023 fi
7024
7025
7026 fi
7027 if test -z "$ac_cv_prog_RANLIB"; then
7028   ac_ct_RANLIB=$RANLIB
7029   # Extract the first word of "ranlib", so it can be a program name with args.
7030 set dummy ranlib; ac_word=$2
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7032 $as_echo_n "checking for $ac_word... " >&6; }
7033 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7034   $as_echo_n "(cached) " >&6
7035 else
7036   if test -n "$ac_ct_RANLIB"; then
7037   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7038 else
7039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 for as_dir in $PATH
7041 do
7042   IFS=$as_save_IFS
7043   test -z "$as_dir" && as_dir=.
7044     for ac_exec_ext in '' $ac_executable_extensions; do
7045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7046     ac_cv_prog_ac_ct_RANLIB="ranlib"
7047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7048     break 2
7049   fi
7050 done
7051   done
7052 IFS=$as_save_IFS
7053
7054 fi
7055 fi
7056 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7057 if test -n "$ac_ct_RANLIB"; then
7058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7059 $as_echo "$ac_ct_RANLIB" >&6; }
7060 else
7061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7062 $as_echo "no" >&6; }
7063 fi
7064
7065   if test "x$ac_ct_RANLIB" = x; then
7066     RANLIB=""
7067   else
7068     case $cross_compiling:$ac_tool_warned in
7069 yes:)
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7072 ac_tool_warned=yes ;;
7073 esac
7074     RANLIB=$ac_ct_RANLIB
7075   fi
7076 else
7077   RANLIB="$ac_cv_prog_RANLIB"
7078 fi
7079
7080 if test -n "$ac_tool_prefix"; then
7081   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
7082 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084 $as_echo_n "checking for $ac_word... " >&6; }
7085 if ${ac_cv_prog_OBJCOPY+:} false; then :
7086   $as_echo_n "(cached) " >&6
7087 else
7088   if test -n "$OBJCOPY"; then
7089   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7090 else
7091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092 for as_dir in $PATH
7093 do
7094   IFS=$as_save_IFS
7095   test -z "$as_dir" && as_dir=.
7096     for ac_exec_ext in '' $ac_executable_extensions; do
7097   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7098     ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
7099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100     break 2
7101   fi
7102 done
7103   done
7104 IFS=$as_save_IFS
7105
7106 fi
7107 fi
7108 OBJCOPY=$ac_cv_prog_OBJCOPY
7109 if test -n "$OBJCOPY"; then
7110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
7111 $as_echo "$OBJCOPY" >&6; }
7112 else
7113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7114 $as_echo "no" >&6; }
7115 fi
7116
7117
7118 fi
7119 if test -z "$ac_cv_prog_OBJCOPY"; then
7120   ac_ct_OBJCOPY=$OBJCOPY
7121   # Extract the first word of "objcopy", so it can be a program name with args.
7122 set dummy objcopy; ac_word=$2
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7124 $as_echo_n "checking for $ac_word... " >&6; }
7125 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
7126   $as_echo_n "(cached) " >&6
7127 else
7128   if test -n "$ac_ct_OBJCOPY"; then
7129   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
7130 else
7131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 for as_dir in $PATH
7133 do
7134   IFS=$as_save_IFS
7135   test -z "$as_dir" && as_dir=.
7136     for ac_exec_ext in '' $ac_executable_extensions; do
7137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7138     ac_cv_prog_ac_ct_OBJCOPY="objcopy"
7139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7140     break 2
7141   fi
7142 done
7143   done
7144 IFS=$as_save_IFS
7145
7146 fi
7147 fi
7148 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
7149 if test -n "$ac_ct_OBJCOPY"; then
7150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
7151 $as_echo "$ac_ct_OBJCOPY" >&6; }
7152 else
7153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7154 $as_echo "no" >&6; }
7155 fi
7156
7157   if test "x$ac_ct_OBJCOPY" = x; then
7158     OBJCOPY=""
7159   else
7160     case $cross_compiling:$ac_tool_warned in
7161 yes:)
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7164 ac_tool_warned=yes ;;
7165 esac
7166     OBJCOPY=$ac_ct_OBJCOPY
7167   fi
7168 else
7169   OBJCOPY="$ac_cv_prog_OBJCOPY"
7170 fi
7171
7172 if test -n "$ac_tool_prefix"; then
7173   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7174 set dummy ${ac_tool_prefix}strip; ac_word=$2
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 $as_echo_n "checking for $ac_word... " >&6; }
7177 if ${ac_cv_prog_STRIP+:} false; then :
7178   $as_echo_n "(cached) " >&6
7179 else
7180   if test -n "$STRIP"; then
7181   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7182 else
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 for as_dir in $PATH
7185 do
7186   IFS=$as_save_IFS
7187   test -z "$as_dir" && as_dir=.
7188     for ac_exec_ext in '' $ac_executable_extensions; do
7189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7190     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192     break 2
7193   fi
7194 done
7195   done
7196 IFS=$as_save_IFS
7197
7198 fi
7199 fi
7200 STRIP=$ac_cv_prog_STRIP
7201 if test -n "$STRIP"; then
7202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7203 $as_echo "$STRIP" >&6; }
7204 else
7205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206 $as_echo "no" >&6; }
7207 fi
7208
7209
7210 fi
7211 if test -z "$ac_cv_prog_STRIP"; then
7212   ac_ct_STRIP=$STRIP
7213   # Extract the first word of "strip", so it can be a program name with args.
7214 set dummy strip; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7218   $as_echo_n "(cached) " >&6
7219 else
7220   if test -n "$ac_ct_STRIP"; then
7221   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7222 else
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 for as_dir in $PATH
7225 do
7226   IFS=$as_save_IFS
7227   test -z "$as_dir" && as_dir=.
7228     for ac_exec_ext in '' $ac_executable_extensions; do
7229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7230     ac_cv_prog_ac_ct_STRIP="strip"
7231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232     break 2
7233   fi
7234 done
7235   done
7236 IFS=$as_save_IFS
7237
7238 fi
7239 fi
7240 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7241 if test -n "$ac_ct_STRIP"; then
7242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7243 $as_echo "$ac_ct_STRIP" >&6; }
7244 else
7245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7247 fi
7248
7249   if test "x$ac_ct_STRIP" = x; then
7250     STRIP=""
7251   else
7252     case $cross_compiling:$ac_tool_warned in
7253 yes:)
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7256 ac_tool_warned=yes ;;
7257 esac
7258     STRIP=$ac_ct_STRIP
7259   fi
7260 else
7261   STRIP="$ac_cv_prog_STRIP"
7262 fi
7263
7264
7265 # Check for other host tools.
7266
7267
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7269 $as_echo_n "checking whether ln -s works... " >&6; }
7270 LN_S=$as_ln_s
7271 if test "$LN_S" = "ln -s"; then
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7273 $as_echo "yes" >&6; }
7274 else
7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7276 $as_echo "no, using $LN_S" >&6; }
7277 fi
7278
7279
7280 # Extract the first word of "cmp", so it can be a program name with args.
7281 set dummy cmp; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if ${ac_cv_path_CMP+:} false; then :
7285   $as_echo_n "(cached) " >&6
7286 else
7287   case $CMP in
7288   [\\/]* | ?:[\\/]*)
7289   ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
7290   ;;
7291   *)
7292   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 for as_dir in $PATH
7294 do
7295   IFS=$as_save_IFS
7296   test -z "$as_dir" && as_dir=.
7297     for ac_exec_ext in '' $ac_executable_extensions; do
7298   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7299     ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
7300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301     break 2
7302   fi
7303 done
7304   done
7305 IFS=$as_save_IFS
7306
7307   ;;
7308 esac
7309 fi
7310 CMP=$ac_cv_path_CMP
7311 if test -n "$CMP"; then
7312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5
7313 $as_echo "$CMP" >&6; }
7314 else
7315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7317 fi
7318
7319
7320 # Extract the first word of "perl", so it can be a program name with args.
7321 set dummy perl; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_path_PERL+:} false; then :
7325   $as_echo_n "(cached) " >&6
7326 else
7327   case $PERL in
7328   [\\/]* | ?:[\\/]*)
7329   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7330   ;;
7331   *)
7332   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7334 do
7335   IFS=$as_save_IFS
7336   test -z "$as_dir" && as_dir=.
7337     for ac_exec_ext in '' $ac_executable_extensions; do
7338   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7339     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341     break 2
7342   fi
7343 done
7344   done
7345 IFS=$as_save_IFS
7346
7347   ;;
7348 esac
7349 fi
7350 PERL=$ac_cv_path_PERL
7351 if test -n "$PERL"; then
7352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
7353 $as_echo "$PERL" >&6; }
7354 else
7355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7357 fi
7358
7359
7360
7361 #
7362 # Checks for specific compiler characteristics
7363 #
7364
7365 #
7366 # Common compiler flags we would like to have.
7367 #
7368 #   -Wall                        CC, CXX
7369 #
7370
7371 PROSPECTIVE_CFLAGS="-Wall"
7372 PROSPECTIVE_CXXFLAGS=""
7373
7374
7375
7376
7377             for ax_compiler_option in ${PROSPECTIVE_CFLAGS}; do
7378
7379     ac_ext=c
7380 ac_cpp='$CPP $CPPFLAGS'
7381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7384
7385     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler understands $ax_compiler_option" >&5
7386 $as_echo_n "checking whether the C compiler understands $ax_compiler_option... " >&6; }
7387     SAVE_CFLAGS=${CFLAGS}
7388     CFLAGS=$ax_compiler_option
7389     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7390 /* end confdefs.h.  */
7391
7392 int
7393 main ()
7394 {
7395 ;
7396   ;
7397   return 0;
7398 }
7399 _ACEOF
7400 if ac_fn_c_try_compile "$LINENO"; then :
7401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7402 $as_echo "yes" >&6; }; CFLAGS="${SAVE_CFLAGS} $ax_compiler_option"
7403 else
7404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }; CFLAGS=${SAVE_CFLAGS}
7406 fi
7407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
7408     unset SAVE_CFLAGS
7409     ac_ext=c
7410 ac_cpp='$CPP $CPPFLAGS'
7411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7414
7415
7416             done
7417
7418
7419
7420
7421
7422             for ax_compiler_option in ${PROSPECTIVE_CFLAGS} ${PROSPECTIVE_CXXFLAGS}; do
7423
7424     ac_ext=cpp
7425 ac_cpp='$CXXCPP $CPPFLAGS'
7426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7429
7430     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands $ax_compiler_option" >&5
7431 $as_echo_n "checking whether the C++ compiler understands $ax_compiler_option... " >&6; }
7432     SAVE_CXXFLAGS=${CXXFLAGS}
7433     CXXFLAGS=$ax_compiler_option
7434     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7435 /* end confdefs.h.  */
7436
7437 int
7438 main ()
7439 {
7440 ;
7441   ;
7442   return 0;
7443 }
7444 _ACEOF
7445 if ac_fn_cxx_try_compile "$LINENO"; then :
7446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7447 $as_echo "yes" >&6; }; CXXFLAGS="${SAVE_CXXFLAGS} $ax_compiler_option"
7448 else
7449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }; CXXFLAGS=${SAVE_CXXFLAGS}
7451 fi
7452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
7453     unset SAVE_CXXFLAGS
7454     ac_ext=c
7455 ac_cpp='$CPP $CPPFLAGS'
7456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7459
7460
7461             done
7462
7463
7464
7465 # Check for and initialize libtool
7466
7467 case `pwd` in
7468   *\ * | *\     *)
7469     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7470 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7471 esac
7472
7473
7474
7475 macro_version='2.4.2'
7476 macro_revision='1.3337'
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490 ltmain="$ac_aux_dir/ltmain.sh"
7491
7492 # Backslashify metacharacters that are still active within
7493 # double-quoted strings.
7494 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7495
7496 # Same as above, but do not quote variable references.
7497 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7498
7499 # Sed substitution to delay expansion of an escaped shell variable in a
7500 # double_quote_subst'ed string.
7501 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7502
7503 # Sed substitution to delay expansion of an escaped single quote.
7504 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7505
7506 # Sed substitution to avoid accidental globbing in evaled expressions
7507 no_glob_subst='s/\*/\\\*/g'
7508
7509 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7510 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7511 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7512
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7514 $as_echo_n "checking how to print strings... " >&6; }
7515 # Test print first, because it will be a builtin if present.
7516 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7517    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7518   ECHO='print -r --'
7519 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7520   ECHO='printf %s\n'
7521 else
7522   # Use this function as a fallback that always works.
7523   func_fallback_echo ()
7524   {
7525     eval 'cat <<_LTECHO_EOF
7526 $1
7527 _LTECHO_EOF'
7528   }
7529   ECHO='func_fallback_echo'
7530 fi
7531
7532 # func_echo_all arg...
7533 # Invoke $ECHO with all args, space-separated.
7534 func_echo_all ()
7535 {
7536     $ECHO ""
7537 }
7538
7539 case "$ECHO" in
7540   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7541 $as_echo "printf" >&6; } ;;
7542   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7543 $as_echo "print -r" >&6; } ;;
7544   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7545 $as_echo "cat" >&6; } ;;
7546 esac
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7562 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7563 if ${ac_cv_path_SED+:} false; then :
7564   $as_echo_n "(cached) " >&6
7565 else
7566             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7567      for ac_i in 1 2 3 4 5 6 7; do
7568        ac_script="$ac_script$as_nl$ac_script"
7569      done
7570      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7571      { ac_script=; unset ac_script;}
7572      if test -z "$SED"; then
7573   ac_path_SED_found=false
7574   # Loop through the user's path and test for each of PROGNAME-LIST
7575   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7576 for as_dir in $PATH
7577 do
7578   IFS=$as_save_IFS
7579   test -z "$as_dir" && as_dir=.
7580     for ac_prog in sed gsed; do
7581     for ac_exec_ext in '' $ac_executable_extensions; do
7582       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7583       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7584 # Check for GNU ac_path_SED and select it if it is found.
7585   # Check for GNU $ac_path_SED
7586 case `"$ac_path_SED" --version 2>&1` in
7587 *GNU*)
7588   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7589 *)
7590   ac_count=0
7591   $as_echo_n 0123456789 >"conftest.in"
7592   while :
7593   do
7594     cat "conftest.in" "conftest.in" >"conftest.tmp"
7595     mv "conftest.tmp" "conftest.in"
7596     cp "conftest.in" "conftest.nl"
7597     $as_echo '' >> "conftest.nl"
7598     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7599     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7600     as_fn_arith $ac_count + 1 && ac_count=$as_val
7601     if test $ac_count -gt ${ac_path_SED_max-0}; then
7602       # Best one so far, save it but keep looking for a better one
7603       ac_cv_path_SED="$ac_path_SED"
7604       ac_path_SED_max=$ac_count
7605     fi
7606     # 10*(2^10) chars as input seems more than enough
7607     test $ac_count -gt 10 && break
7608   done
7609   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7610 esac
7611
7612       $ac_path_SED_found && break 3
7613     done
7614   done
7615   done
7616 IFS=$as_save_IFS
7617   if test -z "$ac_cv_path_SED"; then
7618     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7619   fi
7620 else
7621   ac_cv_path_SED=$SED
7622 fi
7623
7624 fi
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7626 $as_echo "$ac_cv_path_SED" >&6; }
7627  SED="$ac_cv_path_SED"
7628   rm -f conftest.sed
7629
7630 test -z "$SED" && SED=sed
7631 Xsed="$SED -e 1s/^X//"
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7644 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7645 if ${ac_cv_path_GREP+:} false; then :
7646   $as_echo_n "(cached) " >&6
7647 else
7648   if test -z "$GREP"; then
7649   ac_path_GREP_found=false
7650   # Loop through the user's path and test for each of PROGNAME-LIST
7651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7653 do
7654   IFS=$as_save_IFS
7655   test -z "$as_dir" && as_dir=.
7656     for ac_prog in grep ggrep; do
7657     for ac_exec_ext in '' $ac_executable_extensions; do
7658       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7659       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7660 # Check for GNU ac_path_GREP and select it if it is found.
7661   # Check for GNU $ac_path_GREP
7662 case `"$ac_path_GREP" --version 2>&1` in
7663 *GNU*)
7664   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7665 *)
7666   ac_count=0
7667   $as_echo_n 0123456789 >"conftest.in"
7668   while :
7669   do
7670     cat "conftest.in" "conftest.in" >"conftest.tmp"
7671     mv "conftest.tmp" "conftest.in"
7672     cp "conftest.in" "conftest.nl"
7673     $as_echo 'GREP' >> "conftest.nl"
7674     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7675     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7676     as_fn_arith $ac_count + 1 && ac_count=$as_val
7677     if test $ac_count -gt ${ac_path_GREP_max-0}; then
7678       # Best one so far, save it but keep looking for a better one
7679       ac_cv_path_GREP="$ac_path_GREP"
7680       ac_path_GREP_max=$ac_count
7681     fi
7682     # 10*(2^10) chars as input seems more than enough
7683     test $ac_count -gt 10 && break
7684   done
7685   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7686 esac
7687
7688       $ac_path_GREP_found && break 3
7689     done
7690   done
7691   done
7692 IFS=$as_save_IFS
7693   if test -z "$ac_cv_path_GREP"; then
7694     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7695   fi
7696 else
7697   ac_cv_path_GREP=$GREP
7698 fi
7699
7700 fi
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7702 $as_echo "$ac_cv_path_GREP" >&6; }
7703  GREP="$ac_cv_path_GREP"
7704
7705
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7707 $as_echo_n "checking for egrep... " >&6; }
7708 if ${ac_cv_path_EGREP+:} false; then :
7709   $as_echo_n "(cached) " >&6
7710 else
7711   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7712    then ac_cv_path_EGREP="$GREP -E"
7713    else
7714      if test -z "$EGREP"; then
7715   ac_path_EGREP_found=false
7716   # Loop through the user's path and test for each of PROGNAME-LIST
7717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7719 do
7720   IFS=$as_save_IFS
7721   test -z "$as_dir" && as_dir=.
7722     for ac_prog in egrep; do
7723     for ac_exec_ext in '' $ac_executable_extensions; do
7724       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7725       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7726 # Check for GNU ac_path_EGREP and select it if it is found.
7727   # Check for GNU $ac_path_EGREP
7728 case `"$ac_path_EGREP" --version 2>&1` in
7729 *GNU*)
7730   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7731 *)
7732   ac_count=0
7733   $as_echo_n 0123456789 >"conftest.in"
7734   while :
7735   do
7736     cat "conftest.in" "conftest.in" >"conftest.tmp"
7737     mv "conftest.tmp" "conftest.in"
7738     cp "conftest.in" "conftest.nl"
7739     $as_echo 'EGREP' >> "conftest.nl"
7740     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7741     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7742     as_fn_arith $ac_count + 1 && ac_count=$as_val
7743     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7744       # Best one so far, save it but keep looking for a better one
7745       ac_cv_path_EGREP="$ac_path_EGREP"
7746       ac_path_EGREP_max=$ac_count
7747     fi
7748     # 10*(2^10) chars as input seems more than enough
7749     test $ac_count -gt 10 && break
7750   done
7751   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7752 esac
7753
7754       $ac_path_EGREP_found && break 3
7755     done
7756   done
7757   done
7758 IFS=$as_save_IFS
7759   if test -z "$ac_cv_path_EGREP"; then
7760     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7761   fi
7762 else
7763   ac_cv_path_EGREP=$EGREP
7764 fi
7765
7766    fi
7767 fi
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7769 $as_echo "$ac_cv_path_EGREP" >&6; }
7770  EGREP="$ac_cv_path_EGREP"
7771
7772
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7774 $as_echo_n "checking for fgrep... " >&6; }
7775 if ${ac_cv_path_FGREP+:} false; then :
7776   $as_echo_n "(cached) " >&6
7777 else
7778   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7779    then ac_cv_path_FGREP="$GREP -F"
7780    else
7781      if test -z "$FGREP"; then
7782   ac_path_FGREP_found=false
7783   # Loop through the user's path and test for each of PROGNAME-LIST
7784   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7785 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7786 do
7787   IFS=$as_save_IFS
7788   test -z "$as_dir" && as_dir=.
7789     for ac_prog in fgrep; do
7790     for ac_exec_ext in '' $ac_executable_extensions; do
7791       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7792       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7793 # Check for GNU ac_path_FGREP and select it if it is found.
7794   # Check for GNU $ac_path_FGREP
7795 case `"$ac_path_FGREP" --version 2>&1` in
7796 *GNU*)
7797   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7798 *)
7799   ac_count=0
7800   $as_echo_n 0123456789 >"conftest.in"
7801   while :
7802   do
7803     cat "conftest.in" "conftest.in" >"conftest.tmp"
7804     mv "conftest.tmp" "conftest.in"
7805     cp "conftest.in" "conftest.nl"
7806     $as_echo 'FGREP' >> "conftest.nl"
7807     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7808     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7809     as_fn_arith $ac_count + 1 && ac_count=$as_val
7810     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7811       # Best one so far, save it but keep looking for a better one
7812       ac_cv_path_FGREP="$ac_path_FGREP"
7813       ac_path_FGREP_max=$ac_count
7814     fi
7815     # 10*(2^10) chars as input seems more than enough
7816     test $ac_count -gt 10 && break
7817   done
7818   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7819 esac
7820
7821       $ac_path_FGREP_found && break 3
7822     done
7823   done
7824   done
7825 IFS=$as_save_IFS
7826   if test -z "$ac_cv_path_FGREP"; then
7827     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7828   fi
7829 else
7830   ac_cv_path_FGREP=$FGREP
7831 fi
7832
7833    fi
7834 fi
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7836 $as_echo "$ac_cv_path_FGREP" >&6; }
7837  FGREP="$ac_cv_path_FGREP"
7838
7839
7840 test -z "$GREP" && GREP=grep
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860 # Check whether --with-gnu-ld was given.
7861 if test "${with_gnu_ld+set}" = set; then :
7862   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7863 else
7864   with_gnu_ld=no
7865 fi
7866
7867 ac_prog=ld
7868 if test "$GCC" = yes; then
7869   # Check if gcc -print-prog-name=ld gives a path.
7870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7871 $as_echo_n "checking for ld used by $CC... " >&6; }
7872   case $host in
7873   *-*-mingw*)
7874     # gcc leaves a trailing carriage return which upsets mingw
7875     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7876   *)
7877     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7878   esac
7879   case $ac_prog in
7880     # Accept absolute paths.
7881     [\\/]* | ?:[\\/]*)
7882       re_direlt='/[^/][^/]*/\.\./'
7883       # Canonicalize the pathname of ld
7884       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7885       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7886         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7887       done
7888       test -z "$LD" && LD="$ac_prog"
7889       ;;
7890   "")
7891     # If it fails, then pretend we aren't using GCC.
7892     ac_prog=ld
7893     ;;
7894   *)
7895     # If it is relative, then search for the first ld in PATH.
7896     with_gnu_ld=unknown
7897     ;;
7898   esac
7899 elif test "$with_gnu_ld" = yes; then
7900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7901 $as_echo_n "checking for GNU ld... " >&6; }
7902 else
7903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7904 $as_echo_n "checking for non-GNU ld... " >&6; }
7905 fi
7906 if ${lt_cv_path_LD+:} false; then :
7907   $as_echo_n "(cached) " >&6
7908 else
7909   if test -z "$LD"; then
7910   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7911   for ac_dir in $PATH; do
7912     IFS="$lt_save_ifs"
7913     test -z "$ac_dir" && ac_dir=.
7914     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7915       lt_cv_path_LD="$ac_dir/$ac_prog"
7916       # Check to see if the program is GNU ld.  I'd rather use --version,
7917       # but apparently some variants of GNU ld only accept -v.
7918       # Break only if it was the GNU/non-GNU ld that we prefer.
7919       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7920       *GNU* | *'with BFD'*)
7921         test "$with_gnu_ld" != no && break
7922         ;;
7923       *)
7924         test "$with_gnu_ld" != yes && break
7925         ;;
7926       esac
7927     fi
7928   done
7929   IFS="$lt_save_ifs"
7930 else
7931   lt_cv_path_LD="$LD" # Let the user override the test with a path.
7932 fi
7933 fi
7934
7935 LD="$lt_cv_path_LD"
7936 if test -n "$LD"; then
7937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7938 $as_echo "$LD" >&6; }
7939 else
7940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7941 $as_echo "no" >&6; }
7942 fi
7943 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7945 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7946 if ${lt_cv_prog_gnu_ld+:} false; then :
7947   $as_echo_n "(cached) " >&6
7948 else
7949   # I'd rather use --version here, but apparently some GNU lds only accept -v.
7950 case `$LD -v 2>&1 </dev/null` in
7951 *GNU* | *'with BFD'*)
7952   lt_cv_prog_gnu_ld=yes
7953   ;;
7954 *)
7955   lt_cv_prog_gnu_ld=no
7956   ;;
7957 esac
7958 fi
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7960 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7961 with_gnu_ld=$lt_cv_prog_gnu_ld
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7972 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7973 if ${lt_cv_path_NM+:} false; then :
7974   $as_echo_n "(cached) " >&6
7975 else
7976   if test -n "$NM"; then
7977   # Let the user override the test.
7978   lt_cv_path_NM="$NM"
7979 else
7980   lt_nm_to_check="${ac_tool_prefix}nm"
7981   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7982     lt_nm_to_check="$lt_nm_to_check nm"
7983   fi
7984   for lt_tmp_nm in $lt_nm_to_check; do
7985     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7986     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7987       IFS="$lt_save_ifs"
7988       test -z "$ac_dir" && ac_dir=.
7989       tmp_nm="$ac_dir/$lt_tmp_nm"
7990       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7991         # Check to see if the nm accepts a BSD-compat flag.
7992         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7993         #   nm: unknown option "B" ignored
7994         # Tru64's nm complains that /dev/null is an invalid object file
7995         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7996         */dev/null* | *'Invalid file or object type'*)
7997           lt_cv_path_NM="$tmp_nm -B"
7998           break
7999           ;;
8000         *)
8001           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8002           */dev/null*)
8003             lt_cv_path_NM="$tmp_nm -p"
8004             break
8005             ;;
8006           *)
8007             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8008             continue # so that we can try to find one that supports BSD flags
8009             ;;
8010           esac
8011           ;;
8012         esac
8013       fi
8014     done
8015     IFS="$lt_save_ifs"
8016   done
8017   : ${lt_cv_path_NM=no}
8018 fi
8019 fi
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8021 $as_echo "$lt_cv_path_NM" >&6; }
8022 if test "$lt_cv_path_NM" != "no"; then
8023   NM="$lt_cv_path_NM"
8024 else
8025   # Didn't find any BSD compatible name lister, look for dumpbin.
8026   if test -n "$DUMPBIN"; then :
8027     # Let the user override the test.
8028   else
8029     if test -n "$ac_tool_prefix"; then
8030   for ac_prog in dumpbin "link -dump"
8031   do
8032     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8035 $as_echo_n "checking for $ac_word... " >&6; }
8036 if ${ac_cv_prog_DUMPBIN+:} false; then :
8037   $as_echo_n "(cached) " >&6
8038 else
8039   if test -n "$DUMPBIN"; then
8040   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8041 else
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043 for as_dir in $PATH
8044 do
8045   IFS=$as_save_IFS
8046   test -z "$as_dir" && as_dir=.
8047     for ac_exec_ext in '' $ac_executable_extensions; do
8048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8049     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8051     break 2
8052   fi
8053 done
8054   done
8055 IFS=$as_save_IFS
8056
8057 fi
8058 fi
8059 DUMPBIN=$ac_cv_prog_DUMPBIN
8060 if test -n "$DUMPBIN"; then
8061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8062 $as_echo "$DUMPBIN" >&6; }
8063 else
8064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065 $as_echo "no" >&6; }
8066 fi
8067
8068
8069     test -n "$DUMPBIN" && break
8070   done
8071 fi
8072 if test -z "$DUMPBIN"; then
8073   ac_ct_DUMPBIN=$DUMPBIN
8074   for ac_prog in dumpbin "link -dump"
8075 do
8076   # Extract the first word of "$ac_prog", so it can be a program name with args.
8077 set dummy $ac_prog; ac_word=$2
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8079 $as_echo_n "checking for $ac_word... " >&6; }
8080 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
8081   $as_echo_n "(cached) " >&6
8082 else
8083   if test -n "$ac_ct_DUMPBIN"; then
8084   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8085 else
8086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 for as_dir in $PATH
8088 do
8089   IFS=$as_save_IFS
8090   test -z "$as_dir" && as_dir=.
8091     for ac_exec_ext in '' $ac_executable_extensions; do
8092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8093     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8095     break 2
8096   fi
8097 done
8098   done
8099 IFS=$as_save_IFS
8100
8101 fi
8102 fi
8103 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8104 if test -n "$ac_ct_DUMPBIN"; then
8105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8106 $as_echo "$ac_ct_DUMPBIN" >&6; }
8107 else
8108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8109 $as_echo "no" >&6; }
8110 fi
8111
8112
8113   test -n "$ac_ct_DUMPBIN" && break
8114 done
8115
8116   if test "x$ac_ct_DUMPBIN" = x; then
8117     DUMPBIN=":"
8118   else
8119     case $cross_compiling:$ac_tool_warned in
8120 yes:)
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8123 ac_tool_warned=yes ;;
8124 esac
8125     DUMPBIN=$ac_ct_DUMPBIN
8126   fi
8127 fi
8128
8129     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8130     *COFF*)
8131       DUMPBIN="$DUMPBIN -symbols"
8132       ;;
8133     *)
8134       DUMPBIN=:
8135       ;;
8136     esac
8137   fi
8138
8139   if test "$DUMPBIN" != ":"; then
8140     NM="$DUMPBIN"
8141   fi
8142 fi
8143 test -z "$NM" && NM=nm
8144
8145
8146
8147
8148
8149
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8151 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8152 if ${lt_cv_nm_interface+:} false; then :
8153   $as_echo_n "(cached) " >&6
8154 else
8155   lt_cv_nm_interface="BSD nm"
8156   echo "int some_variable = 0;" > conftest.$ac_ext
8157   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8158   (eval "$ac_compile" 2>conftest.err)
8159   cat conftest.err >&5
8160   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8161   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8162   cat conftest.err >&5
8163   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8164   cat conftest.out >&5
8165   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8166     lt_cv_nm_interface="MS dumpbin"
8167   fi
8168   rm -f conftest*
8169 fi
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8171 $as_echo "$lt_cv_nm_interface" >&6; }
8172
8173 # find the maximum length of command line arguments
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8175 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8176 if ${lt_cv_sys_max_cmd_len+:} false; then :
8177   $as_echo_n "(cached) " >&6
8178 else
8179     i=0
8180   teststring="ABCD"
8181
8182   case $build_os in
8183   msdosdjgpp*)
8184     # On DJGPP, this test can blow up pretty badly due to problems in libc
8185     # (any single argument exceeding 2000 bytes causes a buffer overrun
8186     # during glob expansion).  Even if it were fixed, the result of this
8187     # check would be larger than it should be.
8188     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8189     ;;
8190
8191   gnu*)
8192     # Under GNU Hurd, this test is not required because there is
8193     # no limit to the length of command line arguments.
8194     # Libtool will interpret -1 as no limit whatsoever
8195     lt_cv_sys_max_cmd_len=-1;
8196     ;;
8197
8198   cygwin* | mingw* | cegcc*)
8199     # On Win9x/ME, this test blows up -- it succeeds, but takes
8200     # about 5 minutes as the teststring grows exponentially.
8201     # Worse, since 9x/ME are not pre-emptively multitasking,
8202     # you end up with a "frozen" computer, even though with patience
8203     # the test eventually succeeds (with a max line length of 256k).
8204     # Instead, let's just punt: use the minimum linelength reported by
8205     # all of the supported platforms: 8192 (on NT/2K/XP).
8206     lt_cv_sys_max_cmd_len=8192;
8207     ;;
8208
8209   mint*)
8210     # On MiNT this can take a long time and run out of memory.
8211     lt_cv_sys_max_cmd_len=8192;
8212     ;;
8213
8214   amigaos*)
8215     # On AmigaOS with pdksh, this test takes hours, literally.
8216     # So we just punt and use a minimum line length of 8192.
8217     lt_cv_sys_max_cmd_len=8192;
8218     ;;
8219
8220   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8221     # This has been around since 386BSD, at least.  Likely further.
8222     if test -x /sbin/sysctl; then
8223       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8224     elif test -x /usr/sbin/sysctl; then
8225       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8226     else
8227       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
8228     fi
8229     # And add a safety zone
8230     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8231     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8232     ;;
8233
8234   interix*)
8235     # We know the value 262144 and hardcode it with a safety zone (like BSD)
8236     lt_cv_sys_max_cmd_len=196608
8237     ;;
8238
8239   os2*)
8240     # The test takes a long time on OS/2.
8241     lt_cv_sys_max_cmd_len=8192
8242     ;;
8243
8244   osf*)
8245     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8246     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8247     # nice to cause kernel panics so lets avoid the loop below.
8248     # First set a reasonable default.
8249     lt_cv_sys_max_cmd_len=16384
8250     #
8251     if test -x /sbin/sysconfig; then
8252       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8253         *1*) lt_cv_sys_max_cmd_len=-1 ;;
8254       esac
8255     fi
8256     ;;
8257   sco3.2v5*)
8258     lt_cv_sys_max_cmd_len=102400
8259     ;;
8260   sysv5* | sco5v6* | sysv4.2uw2*)
8261     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8262     if test -n "$kargmax"; then
8263       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
8264     else
8265       lt_cv_sys_max_cmd_len=32768
8266     fi
8267     ;;
8268   *)
8269     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8270     if test -n "$lt_cv_sys_max_cmd_len"; then
8271       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8272       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8273     else
8274       # Make teststring a little bigger before we do anything with it.
8275       # a 1K string should be a reasonable start.
8276       for i in 1 2 3 4 5 6 7 8 ; do
8277         teststring=$teststring$teststring
8278       done
8279       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8280       # If test is not a shell built-in, we'll probably end up computing a
8281       # maximum length that is only half of the actual maximum length, but
8282       # we can't tell.
8283       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
8284                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8285               test $i != 17 # 1/2 MB should be enough
8286       do
8287         i=`expr $i + 1`
8288         teststring=$teststring$teststring
8289       done
8290       # Only check the string length outside the loop.
8291       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8292       teststring=
8293       # Add a significant safety factor because C++ compilers can tack on
8294       # massive amounts of additional arguments before passing them to the
8295       # linker.  It appears as though 1/2 is a usable value.
8296       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8297     fi
8298     ;;
8299   esac
8300
8301 fi
8302
8303 if test -n $lt_cv_sys_max_cmd_len ; then
8304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8305 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8306 else
8307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8308 $as_echo "none" >&6; }
8309 fi
8310 max_cmd_len=$lt_cv_sys_max_cmd_len
8311
8312
8313
8314
8315
8316
8317 : ${CP="cp -f"}
8318 : ${MV="mv -f"}
8319 : ${RM="rm -f"}
8320
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8322 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8323 # Try some XSI features
8324 xsi_shell=no
8325 ( _lt_dummy="a/b/c"
8326   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8327       = c,a/b,b/c, \
8328     && eval 'test $(( 1 + 1 )) -eq 2 \
8329     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8330   && xsi_shell=yes
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8332 $as_echo "$xsi_shell" >&6; }
8333
8334
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8336 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8337 lt_shell_append=no
8338 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8339     >/dev/null 2>&1 \
8340   && lt_shell_append=yes
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8342 $as_echo "$lt_shell_append" >&6; }
8343
8344
8345 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8346   lt_unset=unset
8347 else
8348   lt_unset=false
8349 fi
8350
8351
8352
8353
8354
8355 # test EBCDIC or ASCII
8356 case `echo X|tr X '\101'` in
8357  A) # ASCII based system
8358     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8359   lt_SP2NL='tr \040 \012'
8360   lt_NL2SP='tr \015\012 \040\040'
8361   ;;
8362  *) # EBCDIC based system
8363   lt_SP2NL='tr \100 \n'
8364   lt_NL2SP='tr \r\n \100\100'
8365   ;;
8366 esac
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8377 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8378 if ${lt_cv_to_host_file_cmd+:} false; then :
8379   $as_echo_n "(cached) " >&6
8380 else
8381   case $host in
8382   *-*-mingw* )
8383     case $build in
8384       *-*-mingw* ) # actually msys
8385         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8386         ;;
8387       *-*-cygwin* )
8388         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8389         ;;
8390       * ) # otherwise, assume *nix
8391         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8392         ;;
8393     esac
8394     ;;
8395   *-*-cygwin* )
8396     case $build in
8397       *-*-mingw* ) # actually msys
8398         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8399         ;;
8400       *-*-cygwin* )
8401         lt_cv_to_host_file_cmd=func_convert_file_noop
8402         ;;
8403       * ) # otherwise, assume *nix
8404         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8405         ;;
8406     esac
8407     ;;
8408   * ) # unhandled hosts (and "normal" native builds)
8409     lt_cv_to_host_file_cmd=func_convert_file_noop
8410     ;;
8411 esac
8412
8413 fi
8414
8415 to_host_file_cmd=$lt_cv_to_host_file_cmd
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8417 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8418
8419
8420
8421
8422
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8424 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8425 if ${lt_cv_to_tool_file_cmd+:} false; then :
8426   $as_echo_n "(cached) " >&6
8427 else
8428   #assume ordinary cross tools, or native build.
8429 lt_cv_to_tool_file_cmd=func_convert_file_noop
8430 case $host in
8431   *-*-mingw* )
8432     case $build in
8433       *-*-mingw* ) # actually msys
8434         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8435         ;;
8436     esac
8437     ;;
8438 esac
8439
8440 fi
8441
8442 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8444 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8445
8446
8447
8448
8449
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8451 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8452 if ${lt_cv_ld_reload_flag+:} false; then :
8453   $as_echo_n "(cached) " >&6
8454 else
8455   lt_cv_ld_reload_flag='-r'
8456 fi
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8458 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8459 reload_flag=$lt_cv_ld_reload_flag
8460 case $reload_flag in
8461 "" | " "*) ;;
8462 *) reload_flag=" $reload_flag" ;;
8463 esac
8464 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8465 case $host_os in
8466   cygwin* | mingw* | pw32* | cegcc*)
8467     if test "$GCC" != yes; then
8468       reload_cmds=false
8469     fi
8470     ;;
8471   darwin*)
8472     if test "$GCC" = yes; then
8473       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8474     else
8475       reload_cmds='$LD$reload_flag -o $output$reload_objs'
8476     fi
8477     ;;
8478 esac
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488 if test -n "$ac_tool_prefix"; then
8489   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8490 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if ${ac_cv_prog_OBJDUMP+:} false; then :
8494   $as_echo_n "(cached) " >&6
8495 else
8496   if test -n "$OBJDUMP"; then
8497   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8498 else
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500 for as_dir in $PATH
8501 do
8502   IFS=$as_save_IFS
8503   test -z "$as_dir" && as_dir=.
8504     for ac_exec_ext in '' $ac_executable_extensions; do
8505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8508     break 2
8509   fi
8510 done
8511   done
8512 IFS=$as_save_IFS
8513
8514 fi
8515 fi
8516 OBJDUMP=$ac_cv_prog_OBJDUMP
8517 if test -n "$OBJDUMP"; then
8518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8519 $as_echo "$OBJDUMP" >&6; }
8520 else
8521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8523 fi
8524
8525
8526 fi
8527 if test -z "$ac_cv_prog_OBJDUMP"; then
8528   ac_ct_OBJDUMP=$OBJDUMP
8529   # Extract the first word of "objdump", so it can be a program name with args.
8530 set dummy objdump; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8534   $as_echo_n "(cached) " >&6
8535 else
8536   if test -n "$ac_ct_OBJDUMP"; then
8537   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8538 else
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540 for as_dir in $PATH
8541 do
8542   IFS=$as_save_IFS
8543   test -z "$as_dir" && as_dir=.
8544     for ac_exec_ext in '' $ac_executable_extensions; do
8545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548     break 2
8549   fi
8550 done
8551   done
8552 IFS=$as_save_IFS
8553
8554 fi
8555 fi
8556 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8557 if test -n "$ac_ct_OBJDUMP"; then
8558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8559 $as_echo "$ac_ct_OBJDUMP" >&6; }
8560 else
8561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8563 fi
8564
8565   if test "x$ac_ct_OBJDUMP" = x; then
8566     OBJDUMP="false"
8567   else
8568     case $cross_compiling:$ac_tool_warned in
8569 yes:)
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572 ac_tool_warned=yes ;;
8573 esac
8574     OBJDUMP=$ac_ct_OBJDUMP
8575   fi
8576 else
8577   OBJDUMP="$ac_cv_prog_OBJDUMP"
8578 fi
8579
8580 test -z "$OBJDUMP" && OBJDUMP=objdump
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8591 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8592 if ${lt_cv_deplibs_check_method+:} false; then :
8593   $as_echo_n "(cached) " >&6
8594 else
8595   lt_cv_file_magic_cmd='$MAGIC_CMD'
8596 lt_cv_file_magic_test_file=
8597 lt_cv_deplibs_check_method='unknown'
8598 # Need to set the preceding variable on all platforms that support
8599 # interlibrary dependencies.
8600 # 'none' -- dependencies not supported.
8601 # `unknown' -- same as none, but documents that we really don't know.
8602 # 'pass_all' -- all dependencies passed with no checks.
8603 # 'test_compile' -- check by making test program.
8604 # 'file_magic [[regex]]' -- check by looking for files in library path
8605 # which responds to the $file_magic_cmd with a given extended regex.
8606 # If you have `file' or equivalent on your system and you're not sure
8607 # whether `pass_all' will *always* work, you probably want this one.
8608
8609 case $host_os in
8610 aix[4-9]*)
8611   lt_cv_deplibs_check_method=pass_all
8612   ;;
8613
8614 beos*)
8615   lt_cv_deplibs_check_method=pass_all
8616   ;;
8617
8618 bsdi[45]*)
8619   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8620   lt_cv_file_magic_cmd='/usr/bin/file -L'
8621   lt_cv_file_magic_test_file=/shlib/libc.so
8622   ;;
8623
8624 cygwin*)
8625   # func_win32_libid is a shell function defined in ltmain.sh
8626   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8627   lt_cv_file_magic_cmd='func_win32_libid'
8628   ;;
8629
8630 mingw* | pw32*)
8631   # Base MSYS/MinGW do not provide the 'file' command needed by
8632   # func_win32_libid shell function, so use a weaker test based on 'objdump',
8633   # unless we find 'file', for example because we are cross-compiling.
8634   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8635   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8636     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8637     lt_cv_file_magic_cmd='func_win32_libid'
8638   else
8639     # Keep this pattern in sync with the one in func_win32_libid.
8640     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8641     lt_cv_file_magic_cmd='$OBJDUMP -f'
8642   fi
8643   ;;
8644
8645 cegcc*)
8646   # use the weaker test based on 'objdump'. See mingw*.
8647   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8648   lt_cv_file_magic_cmd='$OBJDUMP -f'
8649   ;;
8650
8651 darwin* | rhapsody*)
8652   lt_cv_deplibs_check_method=pass_all
8653   ;;
8654
8655 freebsd* | dragonfly*)
8656   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8657     case $host_cpu in
8658     i*86 )
8659       # Not sure whether the presence of OpenBSD here was a mistake.
8660       # Let's accept both of them until this is cleared up.
8661       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8662       lt_cv_file_magic_cmd=/usr/bin/file
8663       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8664       ;;
8665     esac
8666   else
8667     lt_cv_deplibs_check_method=pass_all
8668   fi
8669   ;;
8670
8671 gnu*)
8672   lt_cv_deplibs_check_method=pass_all
8673   ;;
8674
8675 haiku*)
8676   lt_cv_deplibs_check_method=pass_all
8677   ;;
8678
8679 hpux10.20* | hpux11*)
8680   lt_cv_file_magic_cmd=/usr/bin/file
8681   case $host_cpu in
8682   ia64*)
8683     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8684     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8685     ;;
8686   hppa*64*)
8687     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]'
8688     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8689     ;;
8690   *)
8691     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8692     lt_cv_file_magic_test_file=/usr/lib/libc.sl
8693     ;;
8694   esac
8695   ;;
8696
8697 interix[3-9]*)
8698   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8699   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8700   ;;
8701
8702 irix5* | irix6* | nonstopux*)
8703   case $LD in
8704   *-32|*"-32 ") libmagic=32-bit;;
8705   *-n32|*"-n32 ") libmagic=N32;;
8706   *-64|*"-64 ") libmagic=64-bit;;
8707   *) libmagic=never-match;;
8708   esac
8709   lt_cv_deplibs_check_method=pass_all
8710   ;;
8711
8712 # This must be glibc/ELF.
8713 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8714   lt_cv_deplibs_check_method=pass_all
8715   ;;
8716
8717 netbsd*)
8718   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8719     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8720   else
8721     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8722   fi
8723   ;;
8724
8725 newos6*)
8726   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8727   lt_cv_file_magic_cmd=/usr/bin/file
8728   lt_cv_file_magic_test_file=/usr/lib/libnls.so
8729   ;;
8730
8731 *nto* | *qnx*)
8732   lt_cv_deplibs_check_method=pass_all
8733   ;;
8734
8735 openbsd*)
8736   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8737     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8738   else
8739     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8740   fi
8741   ;;
8742
8743 osf3* | osf4* | osf5*)
8744   lt_cv_deplibs_check_method=pass_all
8745   ;;
8746
8747 rdos*)
8748   lt_cv_deplibs_check_method=pass_all
8749   ;;
8750
8751 solaris*)
8752   lt_cv_deplibs_check_method=pass_all
8753   ;;
8754
8755 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8756   lt_cv_deplibs_check_method=pass_all
8757   ;;
8758
8759 sysv4 | sysv4.3*)
8760   case $host_vendor in
8761   motorola)
8762     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]'
8763     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8764     ;;
8765   ncr)
8766     lt_cv_deplibs_check_method=pass_all
8767     ;;
8768   sequent)
8769     lt_cv_file_magic_cmd='/bin/file'
8770     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8771     ;;
8772   sni)
8773     lt_cv_file_magic_cmd='/bin/file'
8774     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8775     lt_cv_file_magic_test_file=/lib/libc.so
8776     ;;
8777   siemens)
8778     lt_cv_deplibs_check_method=pass_all
8779     ;;
8780   pc)
8781     lt_cv_deplibs_check_method=pass_all
8782     ;;
8783   esac
8784   ;;
8785
8786 tpf*)
8787   lt_cv_deplibs_check_method=pass_all
8788   ;;
8789 esac
8790
8791 fi
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8793 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8794
8795 file_magic_glob=
8796 want_nocaseglob=no
8797 if test "$build" = "$host"; then
8798   case $host_os in
8799   mingw* | pw32*)
8800     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8801       want_nocaseglob=yes
8802     else
8803       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8804     fi
8805     ;;
8806   esac
8807 fi
8808
8809 file_magic_cmd=$lt_cv_file_magic_cmd
8810 deplibs_check_method=$lt_cv_deplibs_check_method
8811 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834 if test -n "$ac_tool_prefix"; then
8835   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8836 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8838 $as_echo_n "checking for $ac_word... " >&6; }
8839 if ${ac_cv_prog_DLLTOOL+:} false; then :
8840   $as_echo_n "(cached) " >&6
8841 else
8842   if test -n "$DLLTOOL"; then
8843   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8844 else
8845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8846 for as_dir in $PATH
8847 do
8848   IFS=$as_save_IFS
8849   test -z "$as_dir" && as_dir=.
8850     for ac_exec_ext in '' $ac_executable_extensions; do
8851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8852     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8853     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8854     break 2
8855   fi
8856 done
8857   done
8858 IFS=$as_save_IFS
8859
8860 fi
8861 fi
8862 DLLTOOL=$ac_cv_prog_DLLTOOL
8863 if test -n "$DLLTOOL"; then
8864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8865 $as_echo "$DLLTOOL" >&6; }
8866 else
8867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8868 $as_echo "no" >&6; }
8869 fi
8870
8871
8872 fi
8873 if test -z "$ac_cv_prog_DLLTOOL"; then
8874   ac_ct_DLLTOOL=$DLLTOOL
8875   # Extract the first word of "dlltool", so it can be a program name with args.
8876 set dummy dlltool; ac_word=$2
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8878 $as_echo_n "checking for $ac_word... " >&6; }
8879 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8880   $as_echo_n "(cached) " >&6
8881 else
8882   if test -n "$ac_ct_DLLTOOL"; then
8883   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8884 else
8885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8886 for as_dir in $PATH
8887 do
8888   IFS=$as_save_IFS
8889   test -z "$as_dir" && as_dir=.
8890     for ac_exec_ext in '' $ac_executable_extensions; do
8891   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8892     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8894     break 2
8895   fi
8896 done
8897   done
8898 IFS=$as_save_IFS
8899
8900 fi
8901 fi
8902 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8903 if test -n "$ac_ct_DLLTOOL"; then
8904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8905 $as_echo "$ac_ct_DLLTOOL" >&6; }
8906 else
8907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8908 $as_echo "no" >&6; }
8909 fi
8910
8911   if test "x$ac_ct_DLLTOOL" = x; then
8912     DLLTOOL="false"
8913   else
8914     case $cross_compiling:$ac_tool_warned in
8915 yes:)
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8918 ac_tool_warned=yes ;;
8919 esac
8920     DLLTOOL=$ac_ct_DLLTOOL
8921   fi
8922 else
8923   DLLTOOL="$ac_cv_prog_DLLTOOL"
8924 fi
8925
8926 test -z "$DLLTOOL" && DLLTOOL=dlltool
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8938 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8939 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8940   $as_echo_n "(cached) " >&6
8941 else
8942   lt_cv_sharedlib_from_linklib_cmd='unknown'
8943
8944 case $host_os in
8945 cygwin* | mingw* | pw32* | cegcc*)
8946   # two different shell functions defined in ltmain.sh
8947   # decide which to use based on capabilities of $DLLTOOL
8948   case `$DLLTOOL --help 2>&1` in
8949   *--identify-strict*)
8950     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8951     ;;
8952   *)
8953     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8954     ;;
8955   esac
8956   ;;
8957 *)
8958   # fallback: assume linklib IS sharedlib
8959   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8960   ;;
8961 esac
8962
8963 fi
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8965 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8966 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8967 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8968
8969
8970
8971
8972
8973
8974
8975 if test -n "$ac_tool_prefix"; then
8976   for ac_prog in ar
8977   do
8978     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8979 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8981 $as_echo_n "checking for $ac_word... " >&6; }
8982 if ${ac_cv_prog_AR+:} false; then :
8983   $as_echo_n "(cached) " >&6
8984 else
8985   if test -n "$AR"; then
8986   ac_cv_prog_AR="$AR" # Let the user override the test.
8987 else
8988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8989 for as_dir in $PATH
8990 do
8991   IFS=$as_save_IFS
8992   test -z "$as_dir" && as_dir=.
8993     for ac_exec_ext in '' $ac_executable_extensions; do
8994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8995     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8997     break 2
8998   fi
8999 done
9000   done
9001 IFS=$as_save_IFS
9002
9003 fi
9004 fi
9005 AR=$ac_cv_prog_AR
9006 if test -n "$AR"; then
9007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9008 $as_echo "$AR" >&6; }
9009 else
9010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9012 fi
9013
9014
9015     test -n "$AR" && break
9016   done
9017 fi
9018 if test -z "$AR"; then
9019   ac_ct_AR=$AR
9020   for ac_prog in ar
9021 do
9022   # Extract the first word of "$ac_prog", so it can be a program name with args.
9023 set dummy $ac_prog; ac_word=$2
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9025 $as_echo_n "checking for $ac_word... " >&6; }
9026 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9027   $as_echo_n "(cached) " >&6
9028 else
9029   if test -n "$ac_ct_AR"; then
9030   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9031 else
9032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9033 for as_dir in $PATH
9034 do
9035   IFS=$as_save_IFS
9036   test -z "$as_dir" && as_dir=.
9037     for ac_exec_ext in '' $ac_executable_extensions; do
9038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9039     ac_cv_prog_ac_ct_AR="$ac_prog"
9040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9041     break 2
9042   fi
9043 done
9044   done
9045 IFS=$as_save_IFS
9046
9047 fi
9048 fi
9049 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9050 if test -n "$ac_ct_AR"; then
9051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9052 $as_echo "$ac_ct_AR" >&6; }
9053 else
9054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9055 $as_echo "no" >&6; }
9056 fi
9057
9058
9059   test -n "$ac_ct_AR" && break
9060 done
9061
9062   if test "x$ac_ct_AR" = x; then
9063     AR="false"
9064   else
9065     case $cross_compiling:$ac_tool_warned in
9066 yes:)
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9069 ac_tool_warned=yes ;;
9070 esac
9071     AR=$ac_ct_AR
9072   fi
9073 fi
9074
9075 : ${AR=ar}
9076 : ${AR_FLAGS=cru}
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9089 $as_echo_n "checking for archiver @FILE support... " >&6; }
9090 if ${lt_cv_ar_at_file+:} false; then :
9091   $as_echo_n "(cached) " >&6
9092 else
9093   lt_cv_ar_at_file=no
9094    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h.  */
9096
9097 int
9098 main ()
9099 {
9100
9101   ;
9102   return 0;
9103 }
9104 _ACEOF
9105 if ac_fn_c_try_compile "$LINENO"; then :
9106   echo conftest.$ac_objext > conftest.lst
9107       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9108       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9109   (eval $lt_ar_try) 2>&5
9110   ac_status=$?
9111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9112   test $ac_status = 0; }
9113       if test "$ac_status" -eq 0; then
9114         # Ensure the archiver fails upon bogus file names.
9115         rm -f conftest.$ac_objext libconftest.a
9116         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9117   (eval $lt_ar_try) 2>&5
9118   ac_status=$?
9119   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9120   test $ac_status = 0; }
9121         if test "$ac_status" -ne 0; then
9122           lt_cv_ar_at_file=@
9123         fi
9124       fi
9125       rm -f conftest.* libconftest.a
9126
9127 fi
9128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9129
9130 fi
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9132 $as_echo "$lt_cv_ar_at_file" >&6; }
9133
9134 if test "x$lt_cv_ar_at_file" = xno; then
9135   archiver_list_spec=
9136 else
9137   archiver_list_spec=$lt_cv_ar_at_file
9138 fi
9139
9140
9141
9142
9143
9144
9145
9146 if test -n "$ac_tool_prefix"; then
9147   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9148 set dummy ${ac_tool_prefix}strip; ac_word=$2
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9150 $as_echo_n "checking for $ac_word... " >&6; }
9151 if ${ac_cv_prog_STRIP+:} false; then :
9152   $as_echo_n "(cached) " >&6
9153 else
9154   if test -n "$STRIP"; then
9155   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9156 else
9157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9158 for as_dir in $PATH
9159 do
9160   IFS=$as_save_IFS
9161   test -z "$as_dir" && as_dir=.
9162     for ac_exec_ext in '' $ac_executable_extensions; do
9163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9164     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9166     break 2
9167   fi
9168 done
9169   done
9170 IFS=$as_save_IFS
9171
9172 fi
9173 fi
9174 STRIP=$ac_cv_prog_STRIP
9175 if test -n "$STRIP"; then
9176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9177 $as_echo "$STRIP" >&6; }
9178 else
9179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9180 $as_echo "no" >&6; }
9181 fi
9182
9183
9184 fi
9185 if test -z "$ac_cv_prog_STRIP"; then
9186   ac_ct_STRIP=$STRIP
9187   # Extract the first word of "strip", so it can be a program name with args.
9188 set dummy strip; ac_word=$2
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9190 $as_echo_n "checking for $ac_word... " >&6; }
9191 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9192   $as_echo_n "(cached) " >&6
9193 else
9194   if test -n "$ac_ct_STRIP"; then
9195   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9196 else
9197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9198 for as_dir in $PATH
9199 do
9200   IFS=$as_save_IFS
9201   test -z "$as_dir" && as_dir=.
9202     for ac_exec_ext in '' $ac_executable_extensions; do
9203   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9204     ac_cv_prog_ac_ct_STRIP="strip"
9205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9206     break 2
9207   fi
9208 done
9209   done
9210 IFS=$as_save_IFS
9211
9212 fi
9213 fi
9214 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9215 if test -n "$ac_ct_STRIP"; then
9216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9217 $as_echo "$ac_ct_STRIP" >&6; }
9218 else
9219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9220 $as_echo "no" >&6; }
9221 fi
9222
9223   if test "x$ac_ct_STRIP" = x; then
9224     STRIP=":"
9225   else
9226     case $cross_compiling:$ac_tool_warned in
9227 yes:)
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9230 ac_tool_warned=yes ;;
9231 esac
9232     STRIP=$ac_ct_STRIP
9233   fi
9234 else
9235   STRIP="$ac_cv_prog_STRIP"
9236 fi
9237
9238 test -z "$STRIP" && STRIP=:
9239
9240
9241
9242
9243
9244
9245 if test -n "$ac_tool_prefix"; then
9246   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9247 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 $as_echo_n "checking for $ac_word... " >&6; }
9250 if ${ac_cv_prog_RANLIB+:} false; then :
9251   $as_echo_n "(cached) " >&6
9252 else
9253   if test -n "$RANLIB"; then
9254   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9255 else
9256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9257 for as_dir in $PATH
9258 do
9259   IFS=$as_save_IFS
9260   test -z "$as_dir" && as_dir=.
9261     for ac_exec_ext in '' $ac_executable_extensions; do
9262   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9263     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9265     break 2
9266   fi
9267 done
9268   done
9269 IFS=$as_save_IFS
9270
9271 fi
9272 fi
9273 RANLIB=$ac_cv_prog_RANLIB
9274 if test -n "$RANLIB"; then
9275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9276 $as_echo "$RANLIB" >&6; }
9277 else
9278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9279 $as_echo "no" >&6; }
9280 fi
9281
9282
9283 fi
9284 if test -z "$ac_cv_prog_RANLIB"; then
9285   ac_ct_RANLIB=$RANLIB
9286   # Extract the first word of "ranlib", so it can be a program name with args.
9287 set dummy ranlib; ac_word=$2
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9289 $as_echo_n "checking for $ac_word... " >&6; }
9290 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9291   $as_echo_n "(cached) " >&6
9292 else
9293   if test -n "$ac_ct_RANLIB"; then
9294   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9295 else
9296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9297 for as_dir in $PATH
9298 do
9299   IFS=$as_save_IFS
9300   test -z "$as_dir" && as_dir=.
9301     for ac_exec_ext in '' $ac_executable_extensions; do
9302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9303     ac_cv_prog_ac_ct_RANLIB="ranlib"
9304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9305     break 2
9306   fi
9307 done
9308   done
9309 IFS=$as_save_IFS
9310
9311 fi
9312 fi
9313 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9314 if test -n "$ac_ct_RANLIB"; then
9315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9316 $as_echo "$ac_ct_RANLIB" >&6; }
9317 else
9318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9319 $as_echo "no" >&6; }
9320 fi
9321
9322   if test "x$ac_ct_RANLIB" = x; then
9323     RANLIB=":"
9324   else
9325     case $cross_compiling:$ac_tool_warned in
9326 yes:)
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9329 ac_tool_warned=yes ;;
9330 esac
9331     RANLIB=$ac_ct_RANLIB
9332   fi
9333 else
9334   RANLIB="$ac_cv_prog_RANLIB"
9335 fi
9336
9337 test -z "$RANLIB" && RANLIB=:
9338
9339
9340
9341
9342
9343
9344 # Determine commands to create old-style static archives.
9345 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9346 old_postinstall_cmds='chmod 644 $oldlib'
9347 old_postuninstall_cmds=
9348
9349 if test -n "$RANLIB"; then
9350   case $host_os in
9351   openbsd*)
9352     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9353     ;;
9354   *)
9355     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9356     ;;
9357   esac
9358   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9359 fi
9360
9361 case $host_os in
9362   darwin*)
9363     lock_old_archive_extraction=yes ;;
9364   *)
9365     lock_old_archive_extraction=no ;;
9366 esac
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406 # If no C compiler was specified, use CC.
9407 LTCC=${LTCC-"$CC"}
9408
9409 # If no C compiler flags were specified, use CFLAGS.
9410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9411
9412 # Allow CC to be a program name with arguments.
9413 compiler=$CC
9414
9415
9416 # Check for command to grab the raw symbol name followed by C symbol from nm.
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9418 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9419 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9420   $as_echo_n "(cached) " >&6
9421 else
9422
9423 # These are sane defaults that work on at least a few old systems.
9424 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9425
9426 # Character class describing NM global symbol codes.
9427 symcode='[BCDEGRST]'
9428
9429 # Regexp to match symbols that can be accessed directly from C.
9430 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9431
9432 # Define system-specific variables.
9433 case $host_os in
9434 aix*)
9435   symcode='[BCDT]'
9436   ;;
9437 cygwin* | mingw* | pw32* | cegcc*)
9438   symcode='[ABCDGISTW]'
9439   ;;
9440 hpux*)
9441   if test "$host_cpu" = ia64; then
9442     symcode='[ABCDEGRST]'
9443   fi
9444   ;;
9445 irix* | nonstopux*)
9446   symcode='[BCDEGRST]'
9447   ;;
9448 osf*)
9449   symcode='[BCDEGQRST]'
9450   ;;
9451 solaris*)
9452   symcode='[BDRT]'
9453   ;;
9454 sco3.2v5*)
9455   symcode='[DT]'
9456   ;;
9457 sysv4.2uw2*)
9458   symcode='[DT]'
9459   ;;
9460 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9461   symcode='[ABDT]'
9462   ;;
9463 sysv4)
9464   symcode='[DFNSTU]'
9465   ;;
9466 esac
9467
9468 # If we're using GNU nm, then use its standard symbol codes.
9469 case `$NM -V 2>&1` in
9470 *GNU* | *'with BFD'*)
9471   symcode='[ABCDGIRSTW]' ;;
9472 esac
9473
9474 # Transform an extracted symbol line into a proper C declaration.
9475 # Some systems (esp. on ia64) link data and code symbols differently,
9476 # so use this general approach.
9477 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9478
9479 # Transform an extracted symbol line into symbol name and symbol address
9480 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
9481 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
9482
9483 # Handle CRLF in mingw tool chain
9484 opt_cr=
9485 case $build_os in
9486 mingw*)
9487   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9488   ;;
9489 esac
9490
9491 # Try without a prefix underscore, then with it.
9492 for ac_symprfx in "" "_"; do
9493
9494   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9495   symxfrm="\\1 $ac_symprfx\\2 \\2"
9496
9497   # Write the raw and C identifiers.
9498   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9499     # Fake it for dumpbin and say T for any non-static function
9500     # and D for any global variable.
9501     # Also find C++ and __fastcall symbols from MSVC++,
9502     # which start with @ or ?.
9503     lt_cv_sys_global_symbol_pipe="$AWK '"\
9504 "     {last_section=section; section=\$ 3};"\
9505 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9506 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9507 "     \$ 0!~/External *\|/{next};"\
9508 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9509 "     {if(hide[section]) next};"\
9510 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9511 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9512 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
9513 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9514 "     ' prfx=^$ac_symprfx"
9515   else
9516     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9517   fi
9518   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9519
9520   # Check to see that the pipe works correctly.
9521   pipe_works=no
9522
9523   rm -f conftest*
9524   cat > conftest.$ac_ext <<_LT_EOF
9525 #ifdef __cplusplus
9526 extern "C" {
9527 #endif
9528 char nm_test_var;
9529 void nm_test_func(void);
9530 void nm_test_func(void){}
9531 #ifdef __cplusplus
9532 }
9533 #endif
9534 int main(){nm_test_var='a';nm_test_func();return(0);}
9535 _LT_EOF
9536
9537   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9538   (eval $ac_compile) 2>&5
9539   ac_status=$?
9540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9541   test $ac_status = 0; }; then
9542     # Now try to grab the symbols.
9543     nlist=conftest.nm
9544     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9545   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9546   ac_status=$?
9547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9548   test $ac_status = 0; } && test -s "$nlist"; then
9549       # Try sorting and uniquifying the output.
9550       if sort "$nlist" | uniq > "$nlist"T; then
9551         mv -f "$nlist"T "$nlist"
9552       else
9553         rm -f "$nlist"T
9554       fi
9555
9556       # Make sure that we snagged all the symbols we need.
9557       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9558         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9559           cat <<_LT_EOF > conftest.$ac_ext
9560 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
9561 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9562 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9563    relocations are performed -- see ld's documentation on pseudo-relocs.  */
9564 # define LT_DLSYM_CONST
9565 #elif defined(__osf__)
9566 /* This system does not cope well with relocations in const data.  */
9567 # define LT_DLSYM_CONST
9568 #else
9569 # define LT_DLSYM_CONST const
9570 #endif
9571
9572 #ifdef __cplusplus
9573 extern "C" {
9574 #endif
9575
9576 _LT_EOF
9577           # Now generate the symbol file.
9578           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9579
9580           cat <<_LT_EOF >> conftest.$ac_ext
9581
9582 /* The mapping between symbol names and symbols.  */
9583 LT_DLSYM_CONST struct {
9584   const char *name;
9585   void       *address;
9586 }
9587 lt__PROGRAM__LTX_preloaded_symbols[] =
9588 {
9589   { "@PROGRAM@", (void *) 0 },
9590 _LT_EOF
9591           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9592           cat <<\_LT_EOF >> conftest.$ac_ext
9593   {0, (void *) 0}
9594 };
9595
9596 /* This works around a problem in FreeBSD linker */
9597 #ifdef FREEBSD_WORKAROUND
9598 static const void *lt_preloaded_setup() {
9599   return lt__PROGRAM__LTX_preloaded_symbols;
9600 }
9601 #endif
9602
9603 #ifdef __cplusplus
9604 }
9605 #endif
9606 _LT_EOF
9607           # Now try linking the two files.
9608           mv conftest.$ac_objext conftstm.$ac_objext
9609           lt_globsym_save_LIBS=$LIBS
9610           lt_globsym_save_CFLAGS=$CFLAGS
9611           LIBS="conftstm.$ac_objext"
9612           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9613           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9614   (eval $ac_link) 2>&5
9615   ac_status=$?
9616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9617   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9618             pipe_works=yes
9619           fi
9620           LIBS=$lt_globsym_save_LIBS
9621           CFLAGS=$lt_globsym_save_CFLAGS
9622         else
9623           echo "cannot find nm_test_func in $nlist" >&5
9624         fi
9625       else
9626         echo "cannot find nm_test_var in $nlist" >&5
9627       fi
9628     else
9629       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9630     fi
9631   else
9632     echo "$progname: failed program was:" >&5
9633     cat conftest.$ac_ext >&5
9634   fi
9635   rm -rf conftest* conftst*
9636
9637   # Do not use the global_symbol_pipe unless it works.
9638   if test "$pipe_works" = yes; then
9639     break
9640   else
9641     lt_cv_sys_global_symbol_pipe=
9642   fi
9643 done
9644
9645 fi
9646
9647 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9648   lt_cv_sys_global_symbol_to_cdecl=
9649 fi
9650 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9652 $as_echo "failed" >&6; }
9653 else
9654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9655 $as_echo "ok" >&6; }
9656 fi
9657
9658 # Response file support.
9659 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9660   nm_file_list_spec='@'
9661 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9662   nm_file_list_spec='@'
9663 fi
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9692 $as_echo_n "checking for sysroot... " >&6; }
9693
9694 # Check whether --with-sysroot was given.
9695 if test "${with_sysroot+set}" = set; then :
9696   withval=$with_sysroot;
9697 else
9698   with_sysroot=no
9699 fi
9700
9701
9702 lt_sysroot=
9703 case ${with_sysroot} in #(
9704  yes)
9705    if test "$GCC" = yes; then
9706      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9707    fi
9708    ;; #(
9709  /*)
9710    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9711    ;; #(
9712  no|'')
9713    ;; #(
9714  *)
9715    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9716 $as_echo "${with_sysroot}" >&6; }
9717    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9718    ;;
9719 esac
9720
9721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9722 $as_echo "${lt_sysroot:-no}" >&6; }
9723
9724
9725
9726
9727
9728 # Check whether --enable-libtool-lock was given.
9729 if test "${enable_libtool_lock+set}" = set; then :
9730   enableval=$enable_libtool_lock;
9731 fi
9732
9733 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9734
9735 # Some flags need to be propagated to the compiler or linker for good
9736 # libtool support.
9737 case $host in
9738 ia64-*-hpux*)
9739   # Find out which ABI we are using.
9740   echo 'int i;' > conftest.$ac_ext
9741   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9742   (eval $ac_compile) 2>&5
9743   ac_status=$?
9744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9745   test $ac_status = 0; }; then
9746     case `/usr/bin/file conftest.$ac_objext` in
9747       *ELF-32*)
9748         HPUX_IA64_MODE="32"
9749         ;;
9750       *ELF-64*)
9751         HPUX_IA64_MODE="64"
9752         ;;
9753     esac
9754   fi
9755   rm -rf conftest*
9756   ;;
9757 *-*-irix6*)
9758   # Find out which ABI we are using.
9759   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9760   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9761   (eval $ac_compile) 2>&5
9762   ac_status=$?
9763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9764   test $ac_status = 0; }; then
9765     if test "$lt_cv_prog_gnu_ld" = yes; then
9766       case `/usr/bin/file conftest.$ac_objext` in
9767         *32-bit*)
9768           LD="${LD-ld} -melf32bsmip"
9769           ;;
9770         *N32*)
9771           LD="${LD-ld} -melf32bmipn32"
9772           ;;
9773         *64-bit*)
9774           LD="${LD-ld} -melf64bmip"
9775         ;;
9776       esac
9777     else
9778       case `/usr/bin/file conftest.$ac_objext` in
9779         *32-bit*)
9780           LD="${LD-ld} -32"
9781           ;;
9782         *N32*)
9783           LD="${LD-ld} -n32"
9784           ;;
9785         *64-bit*)
9786           LD="${LD-ld} -64"
9787           ;;
9788       esac
9789     fi
9790   fi
9791   rm -rf conftest*
9792   ;;
9793
9794 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9795 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9796   # Find out which ABI we are using.
9797   echo 'int i;' > conftest.$ac_ext
9798   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9799   (eval $ac_compile) 2>&5
9800   ac_status=$?
9801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9802   test $ac_status = 0; }; then
9803     case `/usr/bin/file conftest.o` in
9804       *32-bit*)
9805         case $host in
9806           x86_64-*kfreebsd*-gnu)
9807             LD="${LD-ld} -m elf_i386_fbsd"
9808             ;;
9809           x86_64-*linux*)
9810             LD="${LD-ld} -m elf_i386"
9811             ;;
9812           ppc64-*linux*|powerpc64-*linux*)
9813             LD="${LD-ld} -m elf32ppclinux"
9814             ;;
9815           s390x-*linux*)
9816             LD="${LD-ld} -m elf_s390"
9817             ;;
9818           sparc64-*linux*)
9819             LD="${LD-ld} -m elf32_sparc"
9820             ;;
9821         esac
9822         ;;
9823       *64-bit*)
9824         case $host in
9825           x86_64-*kfreebsd*-gnu)
9826             LD="${LD-ld} -m elf_x86_64_fbsd"
9827             ;;
9828           x86_64-*linux*)
9829             LD="${LD-ld} -m elf_x86_64"
9830             ;;
9831           ppc*-*linux*|powerpc*-*linux*)
9832             LD="${LD-ld} -m elf64ppc"
9833             ;;
9834           s390*-*linux*|s390*-*tpf*)
9835             LD="${LD-ld} -m elf64_s390"
9836             ;;
9837           sparc*-*linux*)
9838             LD="${LD-ld} -m elf64_sparc"
9839             ;;
9840         esac
9841         ;;
9842     esac
9843   fi
9844   rm -rf conftest*
9845   ;;
9846
9847 *-*-sco3.2v5*)
9848   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9849   SAVE_CFLAGS="$CFLAGS"
9850   CFLAGS="$CFLAGS -belf"
9851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9852 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9853 if ${lt_cv_cc_needs_belf+:} false; then :
9854   $as_echo_n "(cached) " >&6
9855 else
9856   ac_ext=c
9857 ac_cpp='$CPP $CPPFLAGS'
9858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9861
9862      if test x$ac_no_link = xyes; then
9863   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
9864 fi
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h.  */
9867
9868 int
9869 main ()
9870 {
9871
9872   ;
9873   return 0;
9874 }
9875 _ACEOF
9876 if ac_fn_c_try_link "$LINENO"; then :
9877   lt_cv_cc_needs_belf=yes
9878 else
9879   lt_cv_cc_needs_belf=no
9880 fi
9881 rm -f core conftest.err conftest.$ac_objext \
9882     conftest$ac_exeext conftest.$ac_ext
9883      ac_ext=c
9884 ac_cpp='$CPP $CPPFLAGS'
9885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9888
9889 fi
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9891 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9892   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9893     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9894     CFLAGS="$SAVE_CFLAGS"
9895   fi
9896   ;;
9897 *-*solaris*)
9898   # Find out which ABI we are using.
9899   echo 'int i;' > conftest.$ac_ext
9900   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9901   (eval $ac_compile) 2>&5
9902   ac_status=$?
9903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9904   test $ac_status = 0; }; then
9905     case `/usr/bin/file conftest.o` in
9906     *64-bit*)
9907       case $lt_cv_prog_gnu_ld in
9908       yes*)
9909         case $host in
9910         i?86-*-solaris*)
9911           LD="${LD-ld} -m elf_x86_64"
9912           ;;
9913         sparc*-*-solaris*)
9914           LD="${LD-ld} -m elf64_sparc"
9915           ;;
9916         esac
9917         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
9918         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9919           LD="${LD-ld}_sol2"
9920         fi
9921         ;;
9922       *)
9923         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9924           LD="${LD-ld} -64"
9925         fi
9926         ;;
9927       esac
9928       ;;
9929     esac
9930   fi
9931   rm -rf conftest*
9932   ;;
9933 esac
9934
9935 need_locks="$enable_libtool_lock"
9936
9937 if test -n "$ac_tool_prefix"; then
9938   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9939 set dummy ${ac_tool_prefix}mt; ac_word=$2
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9941 $as_echo_n "checking for $ac_word... " >&6; }
9942 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9943   $as_echo_n "(cached) " >&6
9944 else
9945   if test -n "$MANIFEST_TOOL"; then
9946   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9947 else
9948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9949 for as_dir in $PATH
9950 do
9951   IFS=$as_save_IFS
9952   test -z "$as_dir" && as_dir=.
9953     for ac_exec_ext in '' $ac_executable_extensions; do
9954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9955     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9957     break 2
9958   fi
9959 done
9960   done
9961 IFS=$as_save_IFS
9962
9963 fi
9964 fi
9965 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9966 if test -n "$MANIFEST_TOOL"; then
9967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9968 $as_echo "$MANIFEST_TOOL" >&6; }
9969 else
9970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9971 $as_echo "no" >&6; }
9972 fi
9973
9974
9975 fi
9976 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9977   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9978   # Extract the first word of "mt", so it can be a program name with args.
9979 set dummy mt; ac_word=$2
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9981 $as_echo_n "checking for $ac_word... " >&6; }
9982 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9983   $as_echo_n "(cached) " >&6
9984 else
9985   if test -n "$ac_ct_MANIFEST_TOOL"; then
9986   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9987 else
9988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9989 for as_dir in $PATH
9990 do
9991   IFS=$as_save_IFS
9992   test -z "$as_dir" && as_dir=.
9993     for ac_exec_ext in '' $ac_executable_extensions; do
9994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9995     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9997     break 2
9998   fi
9999 done
10000   done
10001 IFS=$as_save_IFS
10002
10003 fi
10004 fi
10005 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10006 if test -n "$ac_ct_MANIFEST_TOOL"; then
10007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10008 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10009 else
10010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10011 $as_echo "no" >&6; }
10012 fi
10013
10014   if test "x$ac_ct_MANIFEST_TOOL" = x; then
10015     MANIFEST_TOOL=":"
10016   else
10017     case $cross_compiling:$ac_tool_warned in
10018 yes:)
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10021 ac_tool_warned=yes ;;
10022 esac
10023     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10024   fi
10025 else
10026   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10027 fi
10028
10029 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10031 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10032 if ${lt_cv_path_mainfest_tool+:} false; then :
10033   $as_echo_n "(cached) " >&6
10034 else
10035   lt_cv_path_mainfest_tool=no
10036   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10037   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10038   cat conftest.err >&5
10039   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10040     lt_cv_path_mainfest_tool=yes
10041   fi
10042   rm -f conftest*
10043 fi
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10045 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10046 if test "x$lt_cv_path_mainfest_tool" != xyes; then
10047   MANIFEST_TOOL=:
10048 fi
10049
10050
10051
10052
10053
10054
10055   case $host_os in
10056     rhapsody* | darwin*)
10057     if test -n "$ac_tool_prefix"; then
10058   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10059 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10061 $as_echo_n "checking for $ac_word... " >&6; }
10062 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10063   $as_echo_n "(cached) " >&6
10064 else
10065   if test -n "$DSYMUTIL"; then
10066   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10067 else
10068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10069 for as_dir in $PATH
10070 do
10071   IFS=$as_save_IFS
10072   test -z "$as_dir" && as_dir=.
10073     for ac_exec_ext in '' $ac_executable_extensions; do
10074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10075     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10077     break 2
10078   fi
10079 done
10080   done
10081 IFS=$as_save_IFS
10082
10083 fi
10084 fi
10085 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10086 if test -n "$DSYMUTIL"; then
10087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10088 $as_echo "$DSYMUTIL" >&6; }
10089 else
10090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10091 $as_echo "no" >&6; }
10092 fi
10093
10094
10095 fi
10096 if test -z "$ac_cv_prog_DSYMUTIL"; then
10097   ac_ct_DSYMUTIL=$DSYMUTIL
10098   # Extract the first word of "dsymutil", so it can be a program name with args.
10099 set dummy dsymutil; ac_word=$2
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10101 $as_echo_n "checking for $ac_word... " >&6; }
10102 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10103   $as_echo_n "(cached) " >&6
10104 else
10105   if test -n "$ac_ct_DSYMUTIL"; then
10106   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10107 else
10108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10109 for as_dir in $PATH
10110 do
10111   IFS=$as_save_IFS
10112   test -z "$as_dir" && as_dir=.
10113     for ac_exec_ext in '' $ac_executable_extensions; do
10114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10115     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10117     break 2
10118   fi
10119 done
10120   done
10121 IFS=$as_save_IFS
10122
10123 fi
10124 fi
10125 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10126 if test -n "$ac_ct_DSYMUTIL"; then
10127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10128 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10129 else
10130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10131 $as_echo "no" >&6; }
10132 fi
10133
10134   if test "x$ac_ct_DSYMUTIL" = x; then
10135     DSYMUTIL=":"
10136   else
10137     case $cross_compiling:$ac_tool_warned in
10138 yes:)
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10141 ac_tool_warned=yes ;;
10142 esac
10143     DSYMUTIL=$ac_ct_DSYMUTIL
10144   fi
10145 else
10146   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10147 fi
10148
10149     if test -n "$ac_tool_prefix"; then
10150   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10151 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10153 $as_echo_n "checking for $ac_word... " >&6; }
10154 if ${ac_cv_prog_NMEDIT+:} false; then :
10155   $as_echo_n "(cached) " >&6
10156 else
10157   if test -n "$NMEDIT"; then
10158   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10159 else
10160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10161 for as_dir in $PATH
10162 do
10163   IFS=$as_save_IFS
10164   test -z "$as_dir" && as_dir=.
10165     for ac_exec_ext in '' $ac_executable_extensions; do
10166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10167     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10169     break 2
10170   fi
10171 done
10172   done
10173 IFS=$as_save_IFS
10174
10175 fi
10176 fi
10177 NMEDIT=$ac_cv_prog_NMEDIT
10178 if test -n "$NMEDIT"; then
10179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10180 $as_echo "$NMEDIT" >&6; }
10181 else
10182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10183 $as_echo "no" >&6; }
10184 fi
10185
10186
10187 fi
10188 if test -z "$ac_cv_prog_NMEDIT"; then
10189   ac_ct_NMEDIT=$NMEDIT
10190   # Extract the first word of "nmedit", so it can be a program name with args.
10191 set dummy nmedit; ac_word=$2
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10193 $as_echo_n "checking for $ac_word... " >&6; }
10194 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10195   $as_echo_n "(cached) " >&6
10196 else
10197   if test -n "$ac_ct_NMEDIT"; then
10198   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10199 else
10200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10201 for as_dir in $PATH
10202 do
10203   IFS=$as_save_IFS
10204   test -z "$as_dir" && as_dir=.
10205     for ac_exec_ext in '' $ac_executable_extensions; do
10206   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10207     ac_cv_prog_ac_ct_NMEDIT="nmedit"
10208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10209     break 2
10210   fi
10211 done
10212   done
10213 IFS=$as_save_IFS
10214
10215 fi
10216 fi
10217 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10218 if test -n "$ac_ct_NMEDIT"; then
10219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10220 $as_echo "$ac_ct_NMEDIT" >&6; }
10221 else
10222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10223 $as_echo "no" >&6; }
10224 fi
10225
10226   if test "x$ac_ct_NMEDIT" = x; then
10227     NMEDIT=":"
10228   else
10229     case $cross_compiling:$ac_tool_warned in
10230 yes:)
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10233 ac_tool_warned=yes ;;
10234 esac
10235     NMEDIT=$ac_ct_NMEDIT
10236   fi
10237 else
10238   NMEDIT="$ac_cv_prog_NMEDIT"
10239 fi
10240
10241     if test -n "$ac_tool_prefix"; then
10242   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10243 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10245 $as_echo_n "checking for $ac_word... " >&6; }
10246 if ${ac_cv_prog_LIPO+:} false; then :
10247   $as_echo_n "(cached) " >&6
10248 else
10249   if test -n "$LIPO"; then
10250   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10251 else
10252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10253 for as_dir in $PATH
10254 do
10255   IFS=$as_save_IFS
10256   test -z "$as_dir" && as_dir=.
10257     for ac_exec_ext in '' $ac_executable_extensions; do
10258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10259     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10261     break 2
10262   fi
10263 done
10264   done
10265 IFS=$as_save_IFS
10266
10267 fi
10268 fi
10269 LIPO=$ac_cv_prog_LIPO
10270 if test -n "$LIPO"; then
10271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10272 $as_echo "$LIPO" >&6; }
10273 else
10274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10275 $as_echo "no" >&6; }
10276 fi
10277
10278
10279 fi
10280 if test -z "$ac_cv_prog_LIPO"; then
10281   ac_ct_LIPO=$LIPO
10282   # Extract the first word of "lipo", so it can be a program name with args.
10283 set dummy lipo; ac_word=$2
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10285 $as_echo_n "checking for $ac_word... " >&6; }
10286 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10287   $as_echo_n "(cached) " >&6
10288 else
10289   if test -n "$ac_ct_LIPO"; then
10290   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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   test -z "$as_dir" && as_dir=.
10297     for ac_exec_ext in '' $ac_executable_extensions; do
10298   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10299     ac_cv_prog_ac_ct_LIPO="lipo"
10300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10301     break 2
10302   fi
10303 done
10304   done
10305 IFS=$as_save_IFS
10306
10307 fi
10308 fi
10309 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10310 if test -n "$ac_ct_LIPO"; then
10311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10312 $as_echo "$ac_ct_LIPO" >&6; }
10313 else
10314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10315 $as_echo "no" >&6; }
10316 fi
10317
10318   if test "x$ac_ct_LIPO" = x; then
10319     LIPO=":"
10320   else
10321     case $cross_compiling:$ac_tool_warned in
10322 yes:)
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10325 ac_tool_warned=yes ;;
10326 esac
10327     LIPO=$ac_ct_LIPO
10328   fi
10329 else
10330   LIPO="$ac_cv_prog_LIPO"
10331 fi
10332
10333     if test -n "$ac_tool_prefix"; then
10334   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10335 set dummy ${ac_tool_prefix}otool; ac_word=$2
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10337 $as_echo_n "checking for $ac_word... " >&6; }
10338 if ${ac_cv_prog_OTOOL+:} false; then :
10339   $as_echo_n "(cached) " >&6
10340 else
10341   if test -n "$OTOOL"; then
10342   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10343 else
10344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10345 for as_dir in $PATH
10346 do
10347   IFS=$as_save_IFS
10348   test -z "$as_dir" && as_dir=.
10349     for ac_exec_ext in '' $ac_executable_extensions; do
10350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10351     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10353     break 2
10354   fi
10355 done
10356   done
10357 IFS=$as_save_IFS
10358
10359 fi
10360 fi
10361 OTOOL=$ac_cv_prog_OTOOL
10362 if test -n "$OTOOL"; then
10363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10364 $as_echo "$OTOOL" >&6; }
10365 else
10366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10367 $as_echo "no" >&6; }
10368 fi
10369
10370
10371 fi
10372 if test -z "$ac_cv_prog_OTOOL"; then
10373   ac_ct_OTOOL=$OTOOL
10374   # Extract the first word of "otool", so it can be a program name with args.
10375 set dummy otool; ac_word=$2
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10377 $as_echo_n "checking for $ac_word... " >&6; }
10378 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10379   $as_echo_n "(cached) " >&6
10380 else
10381   if test -n "$ac_ct_OTOOL"; then
10382   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10383 else
10384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10385 for as_dir in $PATH
10386 do
10387   IFS=$as_save_IFS
10388   test -z "$as_dir" && as_dir=.
10389     for ac_exec_ext in '' $ac_executable_extensions; do
10390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10391     ac_cv_prog_ac_ct_OTOOL="otool"
10392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10393     break 2
10394   fi
10395 done
10396   done
10397 IFS=$as_save_IFS
10398
10399 fi
10400 fi
10401 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10402 if test -n "$ac_ct_OTOOL"; then
10403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10404 $as_echo "$ac_ct_OTOOL" >&6; }
10405 else
10406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10407 $as_echo "no" >&6; }
10408 fi
10409
10410   if test "x$ac_ct_OTOOL" = x; then
10411     OTOOL=":"
10412   else
10413     case $cross_compiling:$ac_tool_warned in
10414 yes:)
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10417 ac_tool_warned=yes ;;
10418 esac
10419     OTOOL=$ac_ct_OTOOL
10420   fi
10421 else
10422   OTOOL="$ac_cv_prog_OTOOL"
10423 fi
10424
10425     if test -n "$ac_tool_prefix"; then
10426   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10427 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10429 $as_echo_n "checking for $ac_word... " >&6; }
10430 if ${ac_cv_prog_OTOOL64+:} false; then :
10431   $as_echo_n "(cached) " >&6
10432 else
10433   if test -n "$OTOOL64"; then
10434   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10435 else
10436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10437 for as_dir in $PATH
10438 do
10439   IFS=$as_save_IFS
10440   test -z "$as_dir" && as_dir=.
10441     for ac_exec_ext in '' $ac_executable_extensions; do
10442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10443     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10445     break 2
10446   fi
10447 done
10448   done
10449 IFS=$as_save_IFS
10450
10451 fi
10452 fi
10453 OTOOL64=$ac_cv_prog_OTOOL64
10454 if test -n "$OTOOL64"; then
10455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10456 $as_echo "$OTOOL64" >&6; }
10457 else
10458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10459 $as_echo "no" >&6; }
10460 fi
10461
10462
10463 fi
10464 if test -z "$ac_cv_prog_OTOOL64"; then
10465   ac_ct_OTOOL64=$OTOOL64
10466   # Extract the first word of "otool64", so it can be a program name with args.
10467 set dummy otool64; ac_word=$2
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10469 $as_echo_n "checking for $ac_word... " >&6; }
10470 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10471   $as_echo_n "(cached) " >&6
10472 else
10473   if test -n "$ac_ct_OTOOL64"; then
10474   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10475 else
10476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10477 for as_dir in $PATH
10478 do
10479   IFS=$as_save_IFS
10480   test -z "$as_dir" && as_dir=.
10481     for ac_exec_ext in '' $ac_executable_extensions; do
10482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10483     ac_cv_prog_ac_ct_OTOOL64="otool64"
10484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10485     break 2
10486   fi
10487 done
10488   done
10489 IFS=$as_save_IFS
10490
10491 fi
10492 fi
10493 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10494 if test -n "$ac_ct_OTOOL64"; then
10495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10496 $as_echo "$ac_ct_OTOOL64" >&6; }
10497 else
10498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10499 $as_echo "no" >&6; }
10500 fi
10501
10502   if test "x$ac_ct_OTOOL64" = x; then
10503     OTOOL64=":"
10504   else
10505     case $cross_compiling:$ac_tool_warned in
10506 yes:)
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10509 ac_tool_warned=yes ;;
10510 esac
10511     OTOOL64=$ac_ct_OTOOL64
10512   fi
10513 else
10514   OTOOL64="$ac_cv_prog_OTOOL64"
10515 fi
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10544 $as_echo_n "checking for -single_module linker flag... " >&6; }
10545 if ${lt_cv_apple_cc_single_mod+:} false; then :
10546   $as_echo_n "(cached) " >&6
10547 else
10548   lt_cv_apple_cc_single_mod=no
10549       if test -z "${LT_MULTI_MODULE}"; then
10550         # By default we will add the -single_module flag. You can override
10551         # by either setting the environment variable LT_MULTI_MODULE
10552         # non-empty at configure time, or by adding -multi_module to the
10553         # link flags.
10554         rm -rf libconftest.dylib*
10555         echo "int foo(void){return 1;}" > conftest.c
10556         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10557 -dynamiclib -Wl,-single_module conftest.c" >&5
10558         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10559           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10560         _lt_result=$?
10561         # If there is a non-empty error log, and "single_module"
10562         # appears in it, assume the flag caused a linker warning
10563         if test -s conftest.err && $GREP single_module conftest.err; then
10564           cat conftest.err >&5
10565         # Otherwise, if the output was created with a 0 exit code from
10566         # the compiler, it worked.
10567         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
10568           lt_cv_apple_cc_single_mod=yes
10569         else
10570           cat conftest.err >&5
10571         fi
10572         rm -rf libconftest.dylib*
10573         rm -f conftest.*
10574       fi
10575 fi
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10577 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10578
10579     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10580 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10581 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10582   $as_echo_n "(cached) " >&6
10583 else
10584   lt_cv_ld_exported_symbols_list=no
10585       save_LDFLAGS=$LDFLAGS
10586       echo "_main" > conftest.sym
10587       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10588       if test x$ac_no_link = xyes; then
10589   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
10590 fi
10591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h.  */
10593
10594 int
10595 main ()
10596 {
10597
10598   ;
10599   return 0;
10600 }
10601 _ACEOF
10602 if ac_fn_c_try_link "$LINENO"; then :
10603   lt_cv_ld_exported_symbols_list=yes
10604 else
10605   lt_cv_ld_exported_symbols_list=no
10606 fi
10607 rm -f core conftest.err conftest.$ac_objext \
10608     conftest$ac_exeext conftest.$ac_ext
10609         LDFLAGS="$save_LDFLAGS"
10610
10611 fi
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10613 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10614
10615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10616 $as_echo_n "checking for -force_load linker flag... " >&6; }
10617 if ${lt_cv_ld_force_load+:} false; then :
10618   $as_echo_n "(cached) " >&6
10619 else
10620   lt_cv_ld_force_load=no
10621       cat > conftest.c << _LT_EOF
10622 int forced_loaded() { return 2;}
10623 _LT_EOF
10624       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10625       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10626       echo "$AR cru libconftest.a conftest.o" >&5
10627       $AR cru libconftest.a conftest.o 2>&5
10628       echo "$RANLIB libconftest.a" >&5
10629       $RANLIB libconftest.a 2>&5
10630       cat > conftest.c << _LT_EOF
10631 int main() { return 0;}
10632 _LT_EOF
10633       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10634       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10635       _lt_result=$?
10636       if test -s conftest.err && $GREP force_load conftest.err; then
10637         cat conftest.err >&5
10638       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
10639         lt_cv_ld_force_load=yes
10640       else
10641         cat conftest.err >&5
10642       fi
10643         rm -f conftest.err libconftest.a conftest conftest.c
10644         rm -rf conftest.dSYM
10645
10646 fi
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10648 $as_echo "$lt_cv_ld_force_load" >&6; }
10649     case $host_os in
10650     rhapsody* | darwin1.[012])
10651       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10652     darwin1.*)
10653       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10654     darwin*) # darwin 5.x on
10655       # if running on 10.5 or later, the deployment target defaults
10656       # to the OS version, if on x86, and 10.4, the deployment
10657       # target defaults to 10.4. Don't you love it?
10658       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10659         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10660           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10661         10.[012]*)
10662           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10663         10.*)
10664           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10665       esac
10666     ;;
10667   esac
10668     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10669       _lt_dar_single_mod='$single_module'
10670     fi
10671     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10672       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10673     else
10674       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10675     fi
10676     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10677       _lt_dsymutil='~$DSYMUTIL $lib || :'
10678     else
10679       _lt_dsymutil=
10680     fi
10681     ;;
10682   esac
10683
10684
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10686 $as_echo_n "checking for ANSI C header files... " >&6; }
10687 if ${ac_cv_header_stdc+:} false; then :
10688   $as_echo_n "(cached) " >&6
10689 else
10690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h.  */
10692 #include <stdlib.h>
10693 #include <stdarg.h>
10694 #include <string.h>
10695 #include <float.h>
10696
10697 int
10698 main ()
10699 {
10700
10701   ;
10702   return 0;
10703 }
10704 _ACEOF
10705 if ac_fn_c_try_compile "$LINENO"; then :
10706   ac_cv_header_stdc=yes
10707 else
10708   ac_cv_header_stdc=no
10709 fi
10710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10711
10712 if test $ac_cv_header_stdc = yes; then
10713   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h.  */
10716 #include <string.h>
10717
10718 _ACEOF
10719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10720   $EGREP "memchr" >/dev/null 2>&1; then :
10721
10722 else
10723   ac_cv_header_stdc=no
10724 fi
10725 rm -f conftest*
10726
10727 fi
10728
10729 if test $ac_cv_header_stdc = yes; then
10730   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h.  */
10733 #include <stdlib.h>
10734
10735 _ACEOF
10736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10737   $EGREP "free" >/dev/null 2>&1; then :
10738
10739 else
10740   ac_cv_header_stdc=no
10741 fi
10742 rm -f conftest*
10743
10744 fi
10745
10746 if test $ac_cv_header_stdc = yes; then
10747   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10748   if test "$cross_compiling" = yes; then :
10749   :
10750 else
10751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h.  */
10753 #include <ctype.h>
10754 #include <stdlib.h>
10755 #if ((' ' & 0x0FF) == 0x020)
10756 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10757 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10758 #else
10759 # define ISLOWER(c) \
10760                    (('a' <= (c) && (c) <= 'i') \
10761                      || ('j' <= (c) && (c) <= 'r') \
10762                      || ('s' <= (c) && (c) <= 'z'))
10763 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10764 #endif
10765
10766 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10767 int
10768 main ()
10769 {
10770   int i;
10771   for (i = 0; i < 256; i++)
10772     if (XOR (islower (i), ISLOWER (i))
10773         || toupper (i) != TOUPPER (i))
10774       return 2;
10775   return 0;
10776 }
10777 _ACEOF
10778 if ac_fn_c_try_run "$LINENO"; then :
10779
10780 else
10781   ac_cv_header_stdc=no
10782 fi
10783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10784   conftest.$ac_objext conftest.beam conftest.$ac_ext
10785 fi
10786
10787 fi
10788 fi
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10790 $as_echo "$ac_cv_header_stdc" >&6; }
10791 if test $ac_cv_header_stdc = yes; then
10792
10793 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10794
10795 fi
10796
10797 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10798 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10799                   inttypes.h stdint.h unistd.h
10800 do :
10801   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10802 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10803 "
10804 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10805   cat >>confdefs.h <<_ACEOF
10806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10807 _ACEOF
10808
10809 fi
10810
10811 done
10812
10813
10814 for ac_header in dlfcn.h
10815 do :
10816   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10817 "
10818 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10819   cat >>confdefs.h <<_ACEOF
10820 #define HAVE_DLFCN_H 1
10821 _ACEOF
10822
10823 fi
10824
10825 done
10826
10827
10828
10829 func_stripname_cnf ()
10830 {
10831   case ${2} in
10832   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10833   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10834   esac
10835 } # func_stripname_cnf
10836
10837
10838
10839
10840
10841 # Set options
10842
10843
10844
10845         enable_dlopen=no
10846
10847
10848   enable_win32_dll=no
10849
10850
10851             # Check whether --enable-shared was given.
10852 if test "${enable_shared+set}" = set; then :
10853   enableval=$enable_shared; p=${PACKAGE-default}
10854     case $enableval in
10855     yes) enable_shared=yes ;;
10856     no) enable_shared=no ;;
10857     *)
10858       enable_shared=no
10859       # Look at the argument we got.  We use all the common list separators.
10860       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10861       for pkg in $enableval; do
10862         IFS="$lt_save_ifs"
10863         if test "X$pkg" = "X$p"; then
10864           enable_shared=yes
10865         fi
10866       done
10867       IFS="$lt_save_ifs"
10868       ;;
10869     esac
10870 else
10871   enable_shared=yes
10872 fi
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882   # Check whether --enable-static was given.
10883 if test "${enable_static+set}" = set; then :
10884   enableval=$enable_static; p=${PACKAGE-default}
10885     case $enableval in
10886     yes) enable_static=yes ;;
10887     no) enable_static=no ;;
10888     *)
10889      enable_static=no
10890       # Look at the argument we got.  We use all the common list separators.
10891       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10892       for pkg in $enableval; do
10893         IFS="$lt_save_ifs"
10894         if test "X$pkg" = "X$p"; then
10895           enable_static=yes
10896         fi
10897       done
10898       IFS="$lt_save_ifs"
10899       ;;
10900     esac
10901 else
10902   enable_static=yes
10903 fi
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914 # Check whether --with-pic was given.
10915 if test "${with_pic+set}" = set; then :
10916   withval=$with_pic; lt_p=${PACKAGE-default}
10917     case $withval in
10918     yes|no) pic_mode=$withval ;;
10919     *)
10920       pic_mode=default
10921       # Look at the argument we got.  We use all the common list separators.
10922       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10923       for lt_pkg in $withval; do
10924         IFS="$lt_save_ifs"
10925         if test "X$lt_pkg" = "X$lt_p"; then
10926           pic_mode=yes
10927         fi
10928       done
10929       IFS="$lt_save_ifs"
10930       ;;
10931     esac
10932 else
10933   pic_mode=default
10934 fi
10935
10936
10937 test -z "$pic_mode" && pic_mode=default
10938
10939
10940
10941
10942
10943
10944
10945   # Check whether --enable-fast-install was given.
10946 if test "${enable_fast_install+set}" = set; then :
10947   enableval=$enable_fast_install; p=${PACKAGE-default}
10948     case $enableval in
10949     yes) enable_fast_install=yes ;;
10950     no) enable_fast_install=no ;;
10951     *)
10952       enable_fast_install=no
10953       # Look at the argument we got.  We use all the common list separators.
10954       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10955       for pkg in $enableval; do
10956         IFS="$lt_save_ifs"
10957         if test "X$pkg" = "X$p"; then
10958           enable_fast_install=yes
10959         fi
10960       done
10961       IFS="$lt_save_ifs"
10962       ;;
10963     esac
10964 else
10965   enable_fast_install=yes
10966 fi
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978 # This can be used to rebuild libtool when needed
10979 LIBTOOL_DEPS="$ltmain"
10980
10981 # Always use our own libtool.
10982 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013 test -z "$LN_S" && LN_S="ln -s"
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028 if test -n "${ZSH_VERSION+set}" ; then
11029    setopt NO_GLOB_SUBST
11030 fi
11031
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11033 $as_echo_n "checking for objdir... " >&6; }
11034 if ${lt_cv_objdir+:} false; then :
11035   $as_echo_n "(cached) " >&6
11036 else
11037   rm -f .libs 2>/dev/null
11038 mkdir .libs 2>/dev/null
11039 if test -d .libs; then
11040   lt_cv_objdir=.libs
11041 else
11042   # MS-DOS does not allow filenames that begin with a dot.
11043   lt_cv_objdir=_libs
11044 fi
11045 rmdir .libs 2>/dev/null
11046 fi
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11048 $as_echo "$lt_cv_objdir" >&6; }
11049 objdir=$lt_cv_objdir
11050
11051
11052
11053
11054
11055 cat >>confdefs.h <<_ACEOF
11056 #define LT_OBJDIR "$lt_cv_objdir/"
11057 _ACEOF
11058
11059
11060
11061
11062 case $host_os in
11063 aix3*)
11064   # AIX sometimes has problems with the GCC collect2 program.  For some
11065   # reason, if we set the COLLECT_NAMES environment variable, the problems
11066   # vanish in a puff of smoke.
11067   if test "X${COLLECT_NAMES+set}" != Xset; then
11068     COLLECT_NAMES=
11069     export COLLECT_NAMES
11070   fi
11071   ;;
11072 esac
11073
11074 # Global variables:
11075 ofile=libtool
11076 can_build_shared=yes
11077
11078 # All known linkers require a `.a' archive for static linking (except MSVC,
11079 # which needs '.lib').
11080 libext=a
11081
11082 with_gnu_ld="$lt_cv_prog_gnu_ld"
11083
11084 old_CC="$CC"
11085 old_CFLAGS="$CFLAGS"
11086
11087 # Set sane defaults for various variables
11088 test -z "$CC" && CC=cc
11089 test -z "$LTCC" && LTCC=$CC
11090 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11091 test -z "$LD" && LD=ld
11092 test -z "$ac_objext" && ac_objext=o
11093
11094 for cc_temp in $compiler""; do
11095   case $cc_temp in
11096     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11097     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11098     \-*) ;;
11099     *) break;;
11100   esac
11101 done
11102 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11103
11104
11105 # Only perform the check for file, if the check method requires it
11106 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11107 case $deplibs_check_method in
11108 file_magic*)
11109   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11111 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11112 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11113   $as_echo_n "(cached) " >&6
11114 else
11115   case $MAGIC_CMD in
11116 [\\/*] |  ?:[\\/]*)
11117   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11118   ;;
11119 *)
11120   lt_save_MAGIC_CMD="$MAGIC_CMD"
11121   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11122   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11123   for ac_dir in $ac_dummy; do
11124     IFS="$lt_save_ifs"
11125     test -z "$ac_dir" && ac_dir=.
11126     if test -f $ac_dir/${ac_tool_prefix}file; then
11127       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11128       if test -n "$file_magic_test_file"; then
11129         case $deplibs_check_method in
11130         "file_magic "*)
11131           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11132           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11133           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11134             $EGREP "$file_magic_regex" > /dev/null; then
11135             :
11136           else
11137             cat <<_LT_EOF 1>&2
11138
11139 *** Warning: the command libtool uses to detect shared libraries,
11140 *** $file_magic_cmd, produces output that libtool cannot recognize.
11141 *** The result is that libtool may fail to recognize shared libraries
11142 *** as such.  This will affect the creation of libtool libraries that
11143 *** depend on shared libraries, but programs linked with such libtool
11144 *** libraries will work regardless of this problem.  Nevertheless, you
11145 *** may want to report the problem to your system manager and/or to
11146 *** bug-libtool@gnu.org
11147
11148 _LT_EOF
11149           fi ;;
11150         esac
11151       fi
11152       break
11153     fi
11154   done
11155   IFS="$lt_save_ifs"
11156   MAGIC_CMD="$lt_save_MAGIC_CMD"
11157   ;;
11158 esac
11159 fi
11160
11161 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11162 if test -n "$MAGIC_CMD"; then
11163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11164 $as_echo "$MAGIC_CMD" >&6; }
11165 else
11166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11167 $as_echo "no" >&6; }
11168 fi
11169
11170
11171
11172
11173
11174 if test -z "$lt_cv_path_MAGIC_CMD"; then
11175   if test -n "$ac_tool_prefix"; then
11176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11177 $as_echo_n "checking for file... " >&6; }
11178 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11179   $as_echo_n "(cached) " >&6
11180 else
11181   case $MAGIC_CMD in
11182 [\\/*] |  ?:[\\/]*)
11183   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11184   ;;
11185 *)
11186   lt_save_MAGIC_CMD="$MAGIC_CMD"
11187   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11188   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11189   for ac_dir in $ac_dummy; do
11190     IFS="$lt_save_ifs"
11191     test -z "$ac_dir" && ac_dir=.
11192     if test -f $ac_dir/file; then
11193       lt_cv_path_MAGIC_CMD="$ac_dir/file"
11194       if test -n "$file_magic_test_file"; then
11195         case $deplibs_check_method in
11196         "file_magic "*)
11197           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11198           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11199           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11200             $EGREP "$file_magic_regex" > /dev/null; then
11201             :
11202           else
11203             cat <<_LT_EOF 1>&2
11204
11205 *** Warning: the command libtool uses to detect shared libraries,
11206 *** $file_magic_cmd, produces output that libtool cannot recognize.
11207 *** The result is that libtool may fail to recognize shared libraries
11208 *** as such.  This will affect the creation of libtool libraries that
11209 *** depend on shared libraries, but programs linked with such libtool
11210 *** libraries will work regardless of this problem.  Nevertheless, you
11211 *** may want to report the problem to your system manager and/or to
11212 *** bug-libtool@gnu.org
11213
11214 _LT_EOF
11215           fi ;;
11216         esac
11217       fi
11218       break
11219     fi
11220   done
11221   IFS="$lt_save_ifs"
11222   MAGIC_CMD="$lt_save_MAGIC_CMD"
11223   ;;
11224 esac
11225 fi
11226
11227 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11228 if test -n "$MAGIC_CMD"; then
11229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11230 $as_echo "$MAGIC_CMD" >&6; }
11231 else
11232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11233 $as_echo "no" >&6; }
11234 fi
11235
11236
11237   else
11238     MAGIC_CMD=:
11239   fi
11240 fi
11241
11242   fi
11243   ;;
11244 esac
11245
11246 # Use C for the default configuration in the libtool script
11247
11248 lt_save_CC="$CC"
11249 ac_ext=c
11250 ac_cpp='$CPP $CPPFLAGS'
11251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11254
11255
11256 # Source file extension for C test sources.
11257 ac_ext=c
11258
11259 # Object file extension for compiled C test sources.
11260 objext=o
11261 objext=$objext
11262
11263 # Code to be used in simple compile tests
11264 lt_simple_compile_test_code="int some_variable = 0;"
11265
11266 # Code to be used in simple link tests
11267 lt_simple_link_test_code='int main(){return(0);}'
11268
11269
11270
11271
11272
11273
11274
11275 # If no C compiler was specified, use CC.
11276 LTCC=${LTCC-"$CC"}
11277
11278 # If no C compiler flags were specified, use CFLAGS.
11279 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11280
11281 # Allow CC to be a program name with arguments.
11282 compiler=$CC
11283
11284 # Save the default compiler, since it gets overwritten when the other
11285 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11286 compiler_DEFAULT=$CC
11287
11288 # save warnings/boilerplate of simple test code
11289 ac_outfile=conftest.$ac_objext
11290 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11291 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11292 _lt_compiler_boilerplate=`cat conftest.err`
11293 $RM conftest*
11294
11295 ac_outfile=conftest.$ac_objext
11296 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11297 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11298 _lt_linker_boilerplate=`cat conftest.err`
11299 $RM -r conftest*
11300
11301
11302 ## CAVEAT EMPTOR:
11303 ## There is no encapsulation within the following macros, do not change
11304 ## the running order or otherwise move them around unless you know exactly
11305 ## what you are doing...
11306 if test -n "$compiler"; then
11307
11308 lt_prog_compiler_no_builtin_flag=
11309
11310 if test "$GCC" = yes; then
11311   case $cc_basename in
11312   nvcc*)
11313     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11314   *)
11315     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11316   esac
11317
11318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11319 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11320 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11321   $as_echo_n "(cached) " >&6
11322 else
11323   lt_cv_prog_compiler_rtti_exceptions=no
11324    ac_outfile=conftest.$ac_objext
11325    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11326    lt_compiler_flag="-fno-rtti -fno-exceptions"
11327    # Insert the option either (1) after the last *FLAGS variable, or
11328    # (2) before a word containing "conftest.", or (3) at the end.
11329    # Note that $ac_compile itself does not contain backslashes and begins
11330    # with a dollar sign (not a hyphen), so the echo should work correctly.
11331    # The option is referenced via a variable to avoid confusing sed.
11332    lt_compile=`echo "$ac_compile" | $SED \
11333    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11334    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11335    -e 's:$: $lt_compiler_flag:'`
11336    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11337    (eval "$lt_compile" 2>conftest.err)
11338    ac_status=$?
11339    cat conftest.err >&5
11340    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341    if (exit $ac_status) && test -s "$ac_outfile"; then
11342      # The compiler can only warn and ignore the option if not recognized
11343      # So say no if there are warnings other than the usual output.
11344      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11345      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11346      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11347        lt_cv_prog_compiler_rtti_exceptions=yes
11348      fi
11349    fi
11350    $RM conftest*
11351
11352 fi
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11354 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11355
11356 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11357     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11358 else
11359     :
11360 fi
11361
11362 fi
11363
11364
11365
11366
11367
11368
11369   lt_prog_compiler_wl=
11370 lt_prog_compiler_pic=
11371 lt_prog_compiler_static=
11372
11373
11374   if test "$GCC" = yes; then
11375     lt_prog_compiler_wl='-Wl,'
11376     lt_prog_compiler_static='-static'
11377
11378     case $host_os in
11379       aix*)
11380       # All AIX code is PIC.
11381       if test "$host_cpu" = ia64; then
11382         # AIX 5 now supports IA64 processor
11383         lt_prog_compiler_static='-Bstatic'
11384       fi
11385       ;;
11386
11387     amigaos*)
11388       case $host_cpu in
11389       powerpc)
11390             # see comment about AmigaOS4 .so support
11391             lt_prog_compiler_pic='-fPIC'
11392         ;;
11393       m68k)
11394             # FIXME: we need at least 68020 code to build shared libraries, but
11395             # adding the `-m68020' flag to GCC prevents building anything better,
11396             # like `-m68040'.
11397             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11398         ;;
11399       esac
11400       ;;
11401
11402     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11403       # PIC is the default for these OSes.
11404       ;;
11405
11406     mingw* | cygwin* | pw32* | os2* | cegcc*)
11407       # This hack is so that the source file can tell whether it is being
11408       # built for inclusion in a dll (and should export symbols for example).
11409       # Although the cygwin gcc ignores -fPIC, still need this for old-style
11410       # (--disable-auto-import) libraries
11411       lt_prog_compiler_pic='-DDLL_EXPORT'
11412       ;;
11413
11414     darwin* | rhapsody*)
11415       # PIC is the default on this platform
11416       # Common symbols not allowed in MH_DYLIB files
11417       lt_prog_compiler_pic='-fno-common'
11418       ;;
11419
11420     haiku*)
11421       # PIC is the default for Haiku.
11422       # The "-static" flag exists, but is broken.
11423       lt_prog_compiler_static=
11424       ;;
11425
11426     hpux*)
11427       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11428       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
11429       # sets the default TLS model and affects inlining.
11430       case $host_cpu in
11431       hppa*64*)
11432         # +Z the default
11433         ;;
11434       *)
11435         lt_prog_compiler_pic='-fPIC'
11436         ;;
11437       esac
11438       ;;
11439
11440     interix[3-9]*)
11441       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11442       # Instead, we relocate shared libraries at runtime.
11443       ;;
11444
11445     msdosdjgpp*)
11446       # Just because we use GCC doesn't mean we suddenly get shared libraries
11447       # on systems that don't support them.
11448       lt_prog_compiler_can_build_shared=no
11449       enable_shared=no
11450       ;;
11451
11452     *nto* | *qnx*)
11453       # QNX uses GNU C++, but need to define -shared option too, otherwise
11454       # it will coredump.
11455       lt_prog_compiler_pic='-fPIC -shared'
11456       ;;
11457
11458     sysv4*MP*)
11459       if test -d /usr/nec; then
11460         lt_prog_compiler_pic=-Kconform_pic
11461       fi
11462       ;;
11463
11464     *)
11465       lt_prog_compiler_pic='-fPIC'
11466       ;;
11467     esac
11468
11469     case $cc_basename in
11470     nvcc*) # Cuda Compiler Driver 2.2
11471       lt_prog_compiler_wl='-Xlinker '
11472       if test -n "$lt_prog_compiler_pic"; then
11473         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11474       fi
11475       ;;
11476     esac
11477   else
11478     # PORTME Check for flag to pass linker flags through the system compiler.
11479     case $host_os in
11480     aix*)
11481       lt_prog_compiler_wl='-Wl,'
11482       if test "$host_cpu" = ia64; then
11483         # AIX 5 now supports IA64 processor
11484         lt_prog_compiler_static='-Bstatic'
11485       else
11486         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11487       fi
11488       ;;
11489
11490     mingw* | cygwin* | pw32* | os2* | cegcc*)
11491       # This hack is so that the source file can tell whether it is being
11492       # built for inclusion in a dll (and should export symbols for example).
11493       lt_prog_compiler_pic='-DDLL_EXPORT'
11494       ;;
11495
11496     hpux9* | hpux10* | hpux11*)
11497       lt_prog_compiler_wl='-Wl,'
11498       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11499       # not for PA HP-UX.
11500       case $host_cpu in
11501       hppa*64*|ia64*)
11502         # +Z the default
11503         ;;
11504       *)
11505         lt_prog_compiler_pic='+Z'
11506         ;;
11507       esac
11508       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11509       lt_prog_compiler_static='${wl}-a ${wl}archive'
11510       ;;
11511
11512     irix5* | irix6* | nonstopux*)
11513       lt_prog_compiler_wl='-Wl,'
11514       # PIC (with -KPIC) is the default.
11515       lt_prog_compiler_static='-non_shared'
11516       ;;
11517
11518     linux* | k*bsd*-gnu | kopensolaris*-gnu)
11519       case $cc_basename in
11520       # old Intel for x86_64 which still supported -KPIC.
11521       ecc*)
11522         lt_prog_compiler_wl='-Wl,'
11523         lt_prog_compiler_pic='-KPIC'
11524         lt_prog_compiler_static='-static'
11525         ;;
11526       # icc used to be incompatible with GCC.
11527       # ICC 10 doesn't accept -KPIC any more.
11528       icc* | ifort*)
11529         lt_prog_compiler_wl='-Wl,'
11530         lt_prog_compiler_pic='-fPIC'
11531         lt_prog_compiler_static='-static'
11532         ;;
11533       # Lahey Fortran 8.1.
11534       lf95*)
11535         lt_prog_compiler_wl='-Wl,'
11536         lt_prog_compiler_pic='--shared'
11537         lt_prog_compiler_static='--static'
11538         ;;
11539       nagfor*)
11540         # NAG Fortran compiler
11541         lt_prog_compiler_wl='-Wl,-Wl,,'
11542         lt_prog_compiler_pic='-PIC'
11543         lt_prog_compiler_static='-Bstatic'
11544         ;;
11545       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11546         # Portland Group compilers (*not* the Pentium gcc compiler,
11547         # which looks to be a dead project)
11548         lt_prog_compiler_wl='-Wl,'
11549         lt_prog_compiler_pic='-fpic'
11550         lt_prog_compiler_static='-Bstatic'
11551         ;;
11552       ccc*)
11553         lt_prog_compiler_wl='-Wl,'
11554         # All Alpha code is PIC.
11555         lt_prog_compiler_static='-non_shared'
11556         ;;
11557       xl* | bgxl* | bgf* | mpixl*)
11558         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11559         lt_prog_compiler_wl='-Wl,'
11560         lt_prog_compiler_pic='-qpic'
11561         lt_prog_compiler_static='-qstaticlink'
11562         ;;
11563       *)
11564         case `$CC -V 2>&1 | sed 5q` in
11565         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11566           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11567           lt_prog_compiler_pic='-KPIC'
11568           lt_prog_compiler_static='-Bstatic'
11569           lt_prog_compiler_wl=''
11570           ;;
11571         *Sun\ F* | *Sun*Fortran*)
11572           lt_prog_compiler_pic='-KPIC'
11573           lt_prog_compiler_static='-Bstatic'
11574           lt_prog_compiler_wl='-Qoption ld '
11575           ;;
11576         *Sun\ C*)
11577           # Sun C 5.9
11578           lt_prog_compiler_pic='-KPIC'
11579           lt_prog_compiler_static='-Bstatic'
11580           lt_prog_compiler_wl='-Wl,'
11581           ;;
11582         *Intel*\ [CF]*Compiler*)
11583           lt_prog_compiler_wl='-Wl,'
11584           lt_prog_compiler_pic='-fPIC'
11585           lt_prog_compiler_static='-static'
11586           ;;
11587         *Portland\ Group*)
11588           lt_prog_compiler_wl='-Wl,'
11589           lt_prog_compiler_pic='-fpic'
11590           lt_prog_compiler_static='-Bstatic'
11591           ;;
11592         esac
11593         ;;
11594       esac
11595       ;;
11596
11597     newsos6)
11598       lt_prog_compiler_pic='-KPIC'
11599       lt_prog_compiler_static='-Bstatic'
11600       ;;
11601
11602     *nto* | *qnx*)
11603       # QNX uses GNU C++, but need to define -shared option too, otherwise
11604       # it will coredump.
11605       lt_prog_compiler_pic='-fPIC -shared'
11606       ;;
11607
11608     osf3* | osf4* | osf5*)
11609       lt_prog_compiler_wl='-Wl,'
11610       # All OSF/1 code is PIC.
11611       lt_prog_compiler_static='-non_shared'
11612       ;;
11613
11614     rdos*)
11615       lt_prog_compiler_static='-non_shared'
11616       ;;
11617
11618     solaris*)
11619       lt_prog_compiler_pic='-KPIC'
11620       lt_prog_compiler_static='-Bstatic'
11621       case $cc_basename in
11622       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11623         lt_prog_compiler_wl='-Qoption ld ';;
11624       *)
11625         lt_prog_compiler_wl='-Wl,';;
11626       esac
11627       ;;
11628
11629     sunos4*)
11630       lt_prog_compiler_wl='-Qoption ld '
11631       lt_prog_compiler_pic='-PIC'
11632       lt_prog_compiler_static='-Bstatic'
11633       ;;
11634
11635     sysv4 | sysv4.2uw2* | sysv4.3*)
11636       lt_prog_compiler_wl='-Wl,'
11637       lt_prog_compiler_pic='-KPIC'
11638       lt_prog_compiler_static='-Bstatic'
11639       ;;
11640
11641     sysv4*MP*)
11642       if test -d /usr/nec ;then
11643         lt_prog_compiler_pic='-Kconform_pic'
11644         lt_prog_compiler_static='-Bstatic'
11645       fi
11646       ;;
11647
11648     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11649       lt_prog_compiler_wl='-Wl,'
11650       lt_prog_compiler_pic='-KPIC'
11651       lt_prog_compiler_static='-Bstatic'
11652       ;;
11653
11654     unicos*)
11655       lt_prog_compiler_wl='-Wl,'
11656       lt_prog_compiler_can_build_shared=no
11657       ;;
11658
11659     uts4*)
11660       lt_prog_compiler_pic='-pic'
11661       lt_prog_compiler_static='-Bstatic'
11662       ;;
11663
11664     *)
11665       lt_prog_compiler_can_build_shared=no
11666       ;;
11667     esac
11668   fi
11669
11670 case $host_os in
11671   # For platforms which do not support PIC, -DPIC is meaningless:
11672   *djgpp*)
11673     lt_prog_compiler_pic=
11674     ;;
11675   *)
11676     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11677     ;;
11678 esac
11679
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11681 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11682 if ${lt_cv_prog_compiler_pic+:} false; then :
11683   $as_echo_n "(cached) " >&6
11684 else
11685   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11688 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11689 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11690
11691 #
11692 # Check to make sure the PIC flag actually works.
11693 #
11694 if test -n "$lt_prog_compiler_pic"; then
11695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11696 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11697 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11698   $as_echo_n "(cached) " >&6
11699 else
11700   lt_cv_prog_compiler_pic_works=no
11701    ac_outfile=conftest.$ac_objext
11702    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11703    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11704    # Insert the option either (1) after the last *FLAGS variable, or
11705    # (2) before a word containing "conftest.", or (3) at the end.
11706    # Note that $ac_compile itself does not contain backslashes and begins
11707    # with a dollar sign (not a hyphen), so the echo should work correctly.
11708    # The option is referenced via a variable to avoid confusing sed.
11709    lt_compile=`echo "$ac_compile" | $SED \
11710    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11711    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11712    -e 's:$: $lt_compiler_flag:'`
11713    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11714    (eval "$lt_compile" 2>conftest.err)
11715    ac_status=$?
11716    cat conftest.err >&5
11717    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718    if (exit $ac_status) && test -s "$ac_outfile"; then
11719      # The compiler can only warn and ignore the option if not recognized
11720      # So say no if there are warnings other than the usual output.
11721      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11722      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11723      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11724        lt_cv_prog_compiler_pic_works=yes
11725      fi
11726    fi
11727    $RM conftest*
11728
11729 fi
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11731 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11732
11733 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11734     case $lt_prog_compiler_pic in
11735      "" | " "*) ;;
11736      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11737      esac
11738 else
11739     lt_prog_compiler_pic=
11740      lt_prog_compiler_can_build_shared=no
11741 fi
11742
11743 fi
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755 #
11756 # Check to make sure the static flag actually works.
11757 #
11758 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11760 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11761 if ${lt_cv_prog_compiler_static_works+:} false; then :
11762   $as_echo_n "(cached) " >&6
11763 else
11764   lt_cv_prog_compiler_static_works=no
11765    save_LDFLAGS="$LDFLAGS"
11766    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11767    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11768    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11769      # The linker can only warn and ignore the option if not recognized
11770      # So say no if there are warnings
11771      if test -s conftest.err; then
11772        # Append any errors to the config.log.
11773        cat conftest.err 1>&5
11774        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11775        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11776        if diff conftest.exp conftest.er2 >/dev/null; then
11777          lt_cv_prog_compiler_static_works=yes
11778        fi
11779      else
11780        lt_cv_prog_compiler_static_works=yes
11781      fi
11782    fi
11783    $RM -r conftest*
11784    LDFLAGS="$save_LDFLAGS"
11785
11786 fi
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11788 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11789
11790 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11791     :
11792 else
11793     lt_prog_compiler_static=
11794 fi
11795
11796
11797
11798
11799
11800
11801
11802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11803 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11804 if ${lt_cv_prog_compiler_c_o+:} false; then :
11805   $as_echo_n "(cached) " >&6
11806 else
11807   lt_cv_prog_compiler_c_o=no
11808    $RM -r conftest 2>/dev/null
11809    mkdir conftest
11810    cd conftest
11811    mkdir out
11812    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11813
11814    lt_compiler_flag="-o out/conftest2.$ac_objext"
11815    # Insert the option either (1) after the last *FLAGS variable, or
11816    # (2) before a word containing "conftest.", or (3) at the end.
11817    # Note that $ac_compile itself does not contain backslashes and begins
11818    # with a dollar sign (not a hyphen), so the echo should work correctly.
11819    lt_compile=`echo "$ac_compile" | $SED \
11820    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11821    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11822    -e 's:$: $lt_compiler_flag:'`
11823    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11824    (eval "$lt_compile" 2>out/conftest.err)
11825    ac_status=$?
11826    cat out/conftest.err >&5
11827    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11829    then
11830      # The compiler can only warn and ignore the option if not recognized
11831      # So say no if there are warnings
11832      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11833      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11834      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11835        lt_cv_prog_compiler_c_o=yes
11836      fi
11837    fi
11838    chmod u+w . 2>&5
11839    $RM conftest*
11840    # SGI C++ compiler will create directory out/ii_files/ for
11841    # template instantiation
11842    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11843    $RM out/* && rmdir out
11844    cd ..
11845    $RM -r conftest
11846    $RM conftest*
11847
11848 fi
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11850 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11851
11852
11853
11854
11855
11856
11857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11858 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11859 if ${lt_cv_prog_compiler_c_o+:} false; then :
11860   $as_echo_n "(cached) " >&6
11861 else
11862   lt_cv_prog_compiler_c_o=no
11863    $RM -r conftest 2>/dev/null
11864    mkdir conftest
11865    cd conftest
11866    mkdir out
11867    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11868
11869    lt_compiler_flag="-o out/conftest2.$ac_objext"
11870    # Insert the option either (1) after the last *FLAGS variable, or
11871    # (2) before a word containing "conftest.", or (3) at the end.
11872    # Note that $ac_compile itself does not contain backslashes and begins
11873    # with a dollar sign (not a hyphen), so the echo should work correctly.
11874    lt_compile=`echo "$ac_compile" | $SED \
11875    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11876    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11877    -e 's:$: $lt_compiler_flag:'`
11878    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11879    (eval "$lt_compile" 2>out/conftest.err)
11880    ac_status=$?
11881    cat out/conftest.err >&5
11882    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11884    then
11885      # The compiler can only warn and ignore the option if not recognized
11886      # So say no if there are warnings
11887      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11888      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11889      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11890        lt_cv_prog_compiler_c_o=yes
11891      fi
11892    fi
11893    chmod u+w . 2>&5
11894    $RM conftest*
11895    # SGI C++ compiler will create directory out/ii_files/ for
11896    # template instantiation
11897    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11898    $RM out/* && rmdir out
11899    cd ..
11900    $RM -r conftest
11901    $RM conftest*
11902
11903 fi
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11905 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11906
11907
11908
11909
11910 hard_links="nottested"
11911 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11912   # do not overwrite the value of need_locks provided by the user
11913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11914 $as_echo_n "checking if we can lock with hard links... " >&6; }
11915   hard_links=yes
11916   $RM conftest*
11917   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11918   touch conftest.a
11919   ln conftest.a conftest.b 2>&5 || hard_links=no
11920   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11922 $as_echo "$hard_links" >&6; }
11923   if test "$hard_links" = no; then
11924     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11925 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11926     need_locks=warn
11927   fi
11928 else
11929   need_locks=no
11930 fi
11931
11932
11933
11934
11935
11936
11937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11938 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11939
11940   runpath_var=
11941   allow_undefined_flag=
11942   always_export_symbols=no
11943   archive_cmds=
11944   archive_expsym_cmds=
11945   compiler_needs_object=no
11946   enable_shared_with_static_runtimes=no
11947   export_dynamic_flag_spec=
11948   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11949   hardcode_automatic=no
11950   hardcode_direct=no
11951   hardcode_direct_absolute=no
11952   hardcode_libdir_flag_spec=
11953   hardcode_libdir_separator=
11954   hardcode_minus_L=no
11955   hardcode_shlibpath_var=unsupported
11956   inherit_rpath=no
11957   link_all_deplibs=unknown
11958   module_cmds=
11959   module_expsym_cmds=
11960   old_archive_from_new_cmds=
11961   old_archive_from_expsyms_cmds=
11962   thread_safe_flag_spec=
11963   whole_archive_flag_spec=
11964   # include_expsyms should be a list of space-separated symbols to be *always*
11965   # included in the symbol list
11966   include_expsyms=
11967   # exclude_expsyms can be an extended regexp of symbols to exclude
11968   # it will be wrapped by ` (' and `)$', so one must not match beginning or
11969   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11970   # as well as any symbol that contains `d'.
11971   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11972   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11973   # platforms (ab)use it in PIC code, but their linkers get confused if
11974   # the symbol is explicitly referenced.  Since portable code cannot
11975   # rely on this symbol name, it's probably fine to never include it in
11976   # preloaded symbol tables.
11977   # Exclude shared library initialization/finalization symbols.
11978   extract_expsyms_cmds=
11979
11980   case $host_os in
11981   cygwin* | mingw* | pw32* | cegcc*)
11982     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11983     # When not using gcc, we currently assume that we are using
11984     # Microsoft Visual C++.
11985     if test "$GCC" != yes; then
11986       with_gnu_ld=no
11987     fi
11988     ;;
11989   interix*)
11990     # we just hope/assume this is gcc and not c89 (= MSVC++)
11991     with_gnu_ld=yes
11992     ;;
11993   openbsd*)
11994     with_gnu_ld=no
11995     ;;
11996   esac
11997
11998   ld_shlibs=yes
11999
12000   # On some targets, GNU ld is compatible enough with the native linker
12001   # that we're better off using the native interface for both.
12002   lt_use_gnu_ld_interface=no
12003   if test "$with_gnu_ld" = yes; then
12004     case $host_os in
12005       aix*)
12006         # The AIX port of GNU ld has always aspired to compatibility
12007         # with the native linker.  However, as the warning in the GNU ld
12008         # block says, versions before 2.19.5* couldn't really create working
12009         # shared libraries, regardless of the interface used.
12010         case `$LD -v 2>&1` in
12011           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12012           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12013           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12014           *)
12015             lt_use_gnu_ld_interface=yes
12016             ;;
12017         esac
12018         ;;
12019       *)
12020         lt_use_gnu_ld_interface=yes
12021         ;;
12022     esac
12023   fi
12024
12025   if test "$lt_use_gnu_ld_interface" = yes; then
12026     # If archive_cmds runs LD, not CC, wlarc should be empty
12027     wlarc='${wl}'
12028
12029     # Set some defaults for GNU ld with shared library support. These
12030     # are reset later if shared libraries are not supported. Putting them
12031     # here allows them to be overridden if necessary.
12032     runpath_var=LD_RUN_PATH
12033     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12034     export_dynamic_flag_spec='${wl}--export-dynamic'
12035     # ancient GNU ld didn't support --whole-archive et. al.
12036     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12037       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12038     else
12039       whole_archive_flag_spec=
12040     fi
12041     supports_anon_versioning=no
12042     case `$LD -v 2>&1` in
12043       *GNU\ gold*) supports_anon_versioning=yes ;;
12044       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12045       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12046       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12047       *\ 2.11.*) ;; # other 2.11 versions
12048       *) supports_anon_versioning=yes ;;
12049     esac
12050
12051     # See if GNU ld supports shared libraries.
12052     case $host_os in
12053     aix[3-9]*)
12054       # On AIX/PPC, the GNU linker is very broken
12055       if test "$host_cpu" != ia64; then
12056         ld_shlibs=no
12057         cat <<_LT_EOF 1>&2
12058
12059 *** Warning: the GNU linker, at least up to release 2.19, is reported
12060 *** to be unable to reliably create shared libraries on AIX.
12061 *** Therefore, libtool is disabling shared libraries support.  If you
12062 *** really care for shared libraries, you may want to install binutils
12063 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12064 *** You will then need to restart the configuration process.
12065
12066 _LT_EOF
12067       fi
12068       ;;
12069
12070     amigaos*)
12071       case $host_cpu in
12072       powerpc)
12073             # see comment about AmigaOS4 .so support
12074             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12075             archive_expsym_cmds=''
12076         ;;
12077       m68k)
12078             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)'
12079             hardcode_libdir_flag_spec='-L$libdir'
12080             hardcode_minus_L=yes
12081         ;;
12082       esac
12083       ;;
12084
12085     beos*)
12086       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12087         allow_undefined_flag=unsupported
12088         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12089         # support --undefined.  This deserves some investigation.  FIXME
12090         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12091       else
12092         ld_shlibs=no
12093       fi
12094       ;;
12095
12096     cygwin* | mingw* | pw32* | cegcc*)
12097       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12098       # as there is no search path for DLLs.
12099       hardcode_libdir_flag_spec='-L$libdir'
12100       export_dynamic_flag_spec='${wl}--export-all-symbols'
12101       allow_undefined_flag=unsupported
12102       always_export_symbols=no
12103       enable_shared_with_static_runtimes=yes
12104       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'
12105       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12106
12107       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12108         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12109         # If the export-symbols file already is a .def file (1st line
12110         # is EXPORTS), use it as is; otherwise, prepend...
12111         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12112           cp $export_symbols $output_objdir/$soname.def;
12113         else
12114           echo EXPORTS > $output_objdir/$soname.def;
12115           cat $export_symbols >> $output_objdir/$soname.def;
12116         fi~
12117         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12118       else
12119         ld_shlibs=no
12120       fi
12121       ;;
12122
12123     haiku*)
12124       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12125       link_all_deplibs=yes
12126       ;;
12127
12128     interix[3-9]*)
12129       hardcode_direct=no
12130       hardcode_shlibpath_var=no
12131       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12132       export_dynamic_flag_spec='${wl}-E'
12133       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12134       # Instead, shared libraries are loaded at an image base (0x10000000 by
12135       # default) and relocated if they conflict, which is a slow very memory
12136       # consuming and fragmenting process.  To avoid this, we pick a random,
12137       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12138       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12139       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12140       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'
12141       ;;
12142
12143     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12144       tmp_diet=no
12145       if test "$host_os" = linux-dietlibc; then
12146         case $cc_basename in
12147           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12148         esac
12149       fi
12150       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12151          && test "$tmp_diet" = no
12152       then
12153         tmp_addflag=' $pic_flag'
12154         tmp_sharedflag='-shared'
12155         case $cc_basename,$host_cpu in
12156         pgcc*)                          # Portland Group C compiler
12157           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'
12158           tmp_addflag=' $pic_flag'
12159           ;;
12160         pgf77* | pgf90* | pgf95* | pgfortran*)
12161                                         # Portland Group f77 and f90 compilers
12162           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'
12163           tmp_addflag=' $pic_flag -Mnomain' ;;
12164         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12165           tmp_addflag=' -i_dynamic' ;;
12166         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12167           tmp_addflag=' -i_dynamic -nofor_main' ;;
12168         ifc* | ifort*)                  # Intel Fortran compiler
12169           tmp_addflag=' -nofor_main' ;;
12170         lf95*)                          # Lahey Fortran 8.1
12171           whole_archive_flag_spec=
12172           tmp_sharedflag='--shared' ;;
12173         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12174           tmp_sharedflag='-qmkshrobj'
12175           tmp_addflag= ;;
12176         nvcc*)  # Cuda Compiler Driver 2.2
12177           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'
12178           compiler_needs_object=yes
12179           ;;
12180         esac
12181         case `$CC -V 2>&1 | sed 5q` in
12182         *Sun\ C*)                       # Sun C 5.9
12183           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'
12184           compiler_needs_object=yes
12185           tmp_sharedflag='-G' ;;
12186         *Sun\ F*)                       # Sun Fortran 8.3
12187           tmp_sharedflag='-G' ;;
12188         esac
12189         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12190
12191         if test "x$supports_anon_versioning" = xyes; then
12192           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12193             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12194             echo "local: *; };" >> $output_objdir/$libname.ver~
12195             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12196         fi
12197
12198         case $cc_basename in
12199         xlf* | bgf* | bgxlf* | mpixlf*)
12200           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12201           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12202           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12203           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12204           if test "x$supports_anon_versioning" = xyes; then
12205             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12206               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12207               echo "local: *; };" >> $output_objdir/$libname.ver~
12208               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12209           fi
12210           ;;
12211         esac
12212       else
12213         ld_shlibs=no
12214       fi
12215       ;;
12216
12217     netbsd*)
12218       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12219         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12220         wlarc=
12221       else
12222         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12223         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12224       fi
12225       ;;
12226
12227     solaris*)
12228       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12229         ld_shlibs=no
12230         cat <<_LT_EOF 1>&2
12231
12232 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12233 *** create shared libraries on Solaris systems.  Therefore, libtool
12234 *** is disabling shared libraries support.  We urge you to upgrade GNU
12235 *** binutils to release 2.9.1 or newer.  Another option is to modify
12236 *** your PATH or compiler configuration so that the native linker is
12237 *** used, and then restart.
12238
12239 _LT_EOF
12240       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12241         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12242         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12243       else
12244         ld_shlibs=no
12245       fi
12246       ;;
12247
12248     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12249       case `$LD -v 2>&1` in
12250         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12251         ld_shlibs=no
12252         cat <<_LT_EOF 1>&2
12253
12254 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12255 *** reliably create shared libraries on SCO systems.  Therefore, libtool
12256 *** is disabling shared libraries support.  We urge you to upgrade GNU
12257 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
12258 *** your PATH or compiler configuration so that the native linker is
12259 *** used, and then restart.
12260
12261 _LT_EOF
12262         ;;
12263         *)
12264           # For security reasons, it is highly recommended that you always
12265           # use absolute paths for naming shared libraries, and exclude the
12266           # DT_RUNPATH tag from executables and libraries.  But doing so
12267           # requires that you compile everything twice, which is a pain.
12268           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12269             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12270             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12271             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12272           else
12273             ld_shlibs=no
12274           fi
12275         ;;
12276       esac
12277       ;;
12278
12279     sunos4*)
12280       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12281       wlarc=
12282       hardcode_direct=yes
12283       hardcode_shlibpath_var=no
12284       ;;
12285
12286     *)
12287       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12288         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12289         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12290       else
12291         ld_shlibs=no
12292       fi
12293       ;;
12294     esac
12295
12296     if test "$ld_shlibs" = no; then
12297       runpath_var=
12298       hardcode_libdir_flag_spec=
12299       export_dynamic_flag_spec=
12300       whole_archive_flag_spec=
12301     fi
12302   else
12303     # PORTME fill in a description of your system's linker (not GNU ld)
12304     case $host_os in
12305     aix3*)
12306       allow_undefined_flag=unsupported
12307       always_export_symbols=yes
12308       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'
12309       # Note: this linker hardcodes the directories in LIBPATH if there
12310       # are no directories specified by -L.
12311       hardcode_minus_L=yes
12312       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12313         # Neither direct hardcoding nor static linking is supported with a
12314         # broken collect2.
12315         hardcode_direct=unsupported
12316       fi
12317       ;;
12318
12319     aix[4-9]*)
12320       if test "$host_cpu" = ia64; then
12321         # On IA64, the linker does run time linking by default, so we don't
12322         # have to do anything special.
12323         aix_use_runtimelinking=no
12324         exp_sym_flag='-Bexport'
12325         no_entry_flag=""
12326       else
12327         # If we're using GNU nm, then we don't want the "-C" option.
12328         # -C means demangle to AIX nm, but means don't demangle with GNU nm
12329         # Also, AIX nm treats weak defined symbols like other global
12330         # defined symbols, whereas GNU nm marks them as "W".
12331         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12332           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12333         else
12334           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12335         fi
12336         aix_use_runtimelinking=no
12337
12338         # Test if we are trying to use run time linking or normal
12339         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12340         # need to do runtime linking.
12341         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12342           for ld_flag in $LDFLAGS; do
12343           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12344             aix_use_runtimelinking=yes
12345             break
12346           fi
12347           done
12348           ;;
12349         esac
12350
12351         exp_sym_flag='-bexport'
12352         no_entry_flag='-bnoentry'
12353       fi
12354
12355       # When large executables or shared objects are built, AIX ld can
12356       # have problems creating the table of contents.  If linking a library
12357       # or program results in "error TOC overflow" add -mminimal-toc to
12358       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12359       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12360
12361       archive_cmds=''
12362       hardcode_direct=yes
12363       hardcode_direct_absolute=yes
12364       hardcode_libdir_separator=':'
12365       link_all_deplibs=yes
12366       file_list_spec='${wl}-f,'
12367
12368       if test "$GCC" = yes; then
12369         case $host_os in aix4.[012]|aix4.[012].*)
12370         # We only want to do this on AIX 4.2 and lower, the check
12371         # below for broken collect2 doesn't work under 4.3+
12372           collect2name=`${CC} -print-prog-name=collect2`
12373           if test -f "$collect2name" &&
12374            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12375           then
12376           # We have reworked collect2
12377           :
12378           else
12379           # We have old collect2
12380           hardcode_direct=unsupported
12381           # It fails to find uninstalled libraries when the uninstalled
12382           # path is not listed in the libpath.  Setting hardcode_minus_L
12383           # to unsupported forces relinking
12384           hardcode_minus_L=yes
12385           hardcode_libdir_flag_spec='-L$libdir'
12386           hardcode_libdir_separator=
12387           fi
12388           ;;
12389         esac
12390         shared_flag='-shared'
12391         if test "$aix_use_runtimelinking" = yes; then
12392           shared_flag="$shared_flag "'${wl}-G'
12393         fi
12394       else
12395         # not using gcc
12396         if test "$host_cpu" = ia64; then
12397         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12398         # chokes on -Wl,-G. The following line is correct:
12399           shared_flag='-G'
12400         else
12401           if test "$aix_use_runtimelinking" = yes; then
12402             shared_flag='${wl}-G'
12403           else
12404             shared_flag='${wl}-bM:SRE'
12405           fi
12406         fi
12407       fi
12408
12409       export_dynamic_flag_spec='${wl}-bexpall'
12410       # It seems that -bexpall does not export symbols beginning with
12411       # underscore (_), so it is better to generate a list of symbols to export.
12412       always_export_symbols=yes
12413       if test "$aix_use_runtimelinking" = yes; then
12414         # Warning - without using the other runtime loading flags (-brtl),
12415         # -berok will link without error, but may produce a broken library.
12416         allow_undefined_flag='-berok'
12417         # Determine the default libpath from the value encoded in an
12418         # empty executable.
12419         if test "${lt_cv_aix_libpath+set}" = set; then
12420   aix_libpath=$lt_cv_aix_libpath
12421 else
12422   if ${lt_cv_aix_libpath_+:} false; then :
12423   $as_echo_n "(cached) " >&6
12424 else
12425   if test x$ac_no_link = xyes; then
12426   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12427 fi
12428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h.  */
12430
12431 int
12432 main ()
12433 {
12434
12435   ;
12436   return 0;
12437 }
12438 _ACEOF
12439 if ac_fn_c_try_link "$LINENO"; then :
12440
12441   lt_aix_libpath_sed='
12442       /Import File Strings/,/^$/ {
12443           /^0/ {
12444               s/^0  *\([^ ]*\) *$/\1/
12445               p
12446           }
12447       }'
12448   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12449   # Check for a 64-bit object if we didn't find anything.
12450   if test -z "$lt_cv_aix_libpath_"; then
12451     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12452   fi
12453 fi
12454 rm -f core conftest.err conftest.$ac_objext \
12455     conftest$ac_exeext conftest.$ac_ext
12456   if test -z "$lt_cv_aix_libpath_"; then
12457     lt_cv_aix_libpath_="/usr/lib:/lib"
12458   fi
12459
12460 fi
12461
12462   aix_libpath=$lt_cv_aix_libpath_
12463 fi
12464
12465         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12466         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12467       else
12468         if test "$host_cpu" = ia64; then
12469           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12470           allow_undefined_flag="-z nodefs"
12471           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"
12472         else
12473          # Determine the default libpath from the value encoded in an
12474          # empty executable.
12475          if test "${lt_cv_aix_libpath+set}" = set; then
12476   aix_libpath=$lt_cv_aix_libpath
12477 else
12478   if ${lt_cv_aix_libpath_+:} false; then :
12479   $as_echo_n "(cached) " >&6
12480 else
12481   if test x$ac_no_link = xyes; then
12482   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12483 fi
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h.  */
12486
12487 int
12488 main ()
12489 {
12490
12491   ;
12492   return 0;
12493 }
12494 _ACEOF
12495 if ac_fn_c_try_link "$LINENO"; then :
12496
12497   lt_aix_libpath_sed='
12498       /Import File Strings/,/^$/ {
12499           /^0/ {
12500               s/^0  *\([^ ]*\) *$/\1/
12501               p
12502           }
12503       }'
12504   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12505   # Check for a 64-bit object if we didn't find anything.
12506   if test -z "$lt_cv_aix_libpath_"; then
12507     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12508   fi
12509 fi
12510 rm -f core conftest.err conftest.$ac_objext \
12511     conftest$ac_exeext conftest.$ac_ext
12512   if test -z "$lt_cv_aix_libpath_"; then
12513     lt_cv_aix_libpath_="/usr/lib:/lib"
12514   fi
12515
12516 fi
12517
12518   aix_libpath=$lt_cv_aix_libpath_
12519 fi
12520
12521          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12522           # Warning - without using the other run time loading flags,
12523           # -berok will link without error, but may produce a broken library.
12524           no_undefined_flag=' ${wl}-bernotok'
12525           allow_undefined_flag=' ${wl}-berok'
12526           if test "$with_gnu_ld" = yes; then
12527             # We only use this code for GNU lds that support --whole-archive.
12528             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12529           else
12530             # Exported symbols can be pulled into shared objects from archives
12531             whole_archive_flag_spec='$convenience'
12532           fi
12533           archive_cmds_need_lc=yes
12534           # This is similar to how AIX traditionally builds its shared libraries.
12535           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12536         fi
12537       fi
12538       ;;
12539
12540     amigaos*)
12541       case $host_cpu in
12542       powerpc)
12543             # see comment about AmigaOS4 .so support
12544             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12545             archive_expsym_cmds=''
12546         ;;
12547       m68k)
12548             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)'
12549             hardcode_libdir_flag_spec='-L$libdir'
12550             hardcode_minus_L=yes
12551         ;;
12552       esac
12553       ;;
12554
12555     bsdi[45]*)
12556       export_dynamic_flag_spec=-rdynamic
12557       ;;
12558
12559     cygwin* | mingw* | pw32* | cegcc*)
12560       # When not using gcc, we currently assume that we are using
12561       # Microsoft Visual C++.
12562       # hardcode_libdir_flag_spec is actually meaningless, as there is
12563       # no search path for DLLs.
12564       case $cc_basename in
12565       cl*)
12566         # Native MSVC
12567         hardcode_libdir_flag_spec=' '
12568         allow_undefined_flag=unsupported
12569         always_export_symbols=yes
12570         file_list_spec='@'
12571         # Tell ltmain to make .lib files, not .a files.
12572         libext=lib
12573         # Tell ltmain to make .dll files, not .so files.
12574         shrext_cmds=".dll"
12575         # FIXME: Setting linknames here is a bad hack.
12576         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12577         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12578             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12579           else
12580             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12581           fi~
12582           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12583           linknames='
12584         # The linker will not automatically build a static lib if we build a DLL.
12585         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12586         enable_shared_with_static_runtimes=yes
12587         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12588         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12589         # Don't use ranlib
12590         old_postinstall_cmds='chmod 644 $oldlib'
12591         postlink_cmds='lt_outputfile="@OUTPUT@"~
12592           lt_tool_outputfile="@TOOL_OUTPUT@"~
12593           case $lt_outputfile in
12594             *.exe|*.EXE) ;;
12595             *)
12596               lt_outputfile="$lt_outputfile.exe"
12597               lt_tool_outputfile="$lt_tool_outputfile.exe"
12598               ;;
12599           esac~
12600           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12601             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12602             $RM "$lt_outputfile.manifest";
12603           fi'
12604         ;;
12605       *)
12606         # Assume MSVC wrapper
12607         hardcode_libdir_flag_spec=' '
12608         allow_undefined_flag=unsupported
12609         # Tell ltmain to make .lib files, not .a files.
12610         libext=lib
12611         # Tell ltmain to make .dll files, not .so files.
12612         shrext_cmds=".dll"
12613         # FIXME: Setting linknames here is a bad hack.
12614         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12615         # The linker will automatically build a .lib file if we build a DLL.
12616         old_archive_from_new_cmds='true'
12617         # FIXME: Should let the user specify the lib program.
12618         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12619         enable_shared_with_static_runtimes=yes
12620         ;;
12621       esac
12622       ;;
12623
12624     darwin* | rhapsody*)
12625
12626
12627   archive_cmds_need_lc=no
12628   hardcode_direct=no
12629   hardcode_automatic=yes
12630   hardcode_shlibpath_var=unsupported
12631   if test "$lt_cv_ld_force_load" = "yes"; then
12632     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\"`'
12633
12634   else
12635     whole_archive_flag_spec=''
12636   fi
12637   link_all_deplibs=yes
12638   allow_undefined_flag="$_lt_dar_allow_undefined"
12639   case $cc_basename in
12640      ifort*) _lt_dar_can_shared=yes ;;
12641      *) _lt_dar_can_shared=$GCC ;;
12642   esac
12643   if test "$_lt_dar_can_shared" = "yes"; then
12644     output_verbose_link_cmd=func_echo_all
12645     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12646     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12647     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}"
12648     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}"
12649
12650   else
12651   ld_shlibs=no
12652   fi
12653
12654       ;;
12655
12656     dgux*)
12657       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12658       hardcode_libdir_flag_spec='-L$libdir'
12659       hardcode_shlibpath_var=no
12660       ;;
12661
12662     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12663     # support.  Future versions do this automatically, but an explicit c++rt0.o
12664     # does not break anything, and helps significantly (at the cost of a little
12665     # extra space).
12666     freebsd2.2*)
12667       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12668       hardcode_libdir_flag_spec='-R$libdir'
12669       hardcode_direct=yes
12670       hardcode_shlibpath_var=no
12671       ;;
12672
12673     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12674     freebsd2.*)
12675       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12676       hardcode_direct=yes
12677       hardcode_minus_L=yes
12678       hardcode_shlibpath_var=no
12679       ;;
12680
12681     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12682     freebsd* | dragonfly*)
12683       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12684       hardcode_libdir_flag_spec='-R$libdir'
12685       hardcode_direct=yes
12686       hardcode_shlibpath_var=no
12687       ;;
12688
12689     hpux9*)
12690       if test "$GCC" = yes; then
12691         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12692       else
12693         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12694       fi
12695       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12696       hardcode_libdir_separator=:
12697       hardcode_direct=yes
12698
12699       # hardcode_minus_L: Not really in the search PATH,
12700       # but as the default location of the library.
12701       hardcode_minus_L=yes
12702       export_dynamic_flag_spec='${wl}-E'
12703       ;;
12704
12705     hpux10*)
12706       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12707         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12708       else
12709         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12710       fi
12711       if test "$with_gnu_ld" = no; then
12712         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12713         hardcode_libdir_separator=:
12714         hardcode_direct=yes
12715         hardcode_direct_absolute=yes
12716         export_dynamic_flag_spec='${wl}-E'
12717         # hardcode_minus_L: Not really in the search PATH,
12718         # but as the default location of the library.
12719         hardcode_minus_L=yes
12720       fi
12721       ;;
12722
12723     hpux11*)
12724       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12725         case $host_cpu in
12726         hppa*64*)
12727           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12728           ;;
12729         ia64*)
12730           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12731           ;;
12732         *)
12733           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12734           ;;
12735         esac
12736       else
12737         case $host_cpu in
12738         hppa*64*)
12739           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12740           ;;
12741         ia64*)
12742           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12743           ;;
12744         *)
12745
12746           # Older versions of the 11.00 compiler do not understand -b yet
12747           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12748           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12749 $as_echo_n "checking if $CC understands -b... " >&6; }
12750 if ${lt_cv_prog_compiler__b+:} false; then :
12751   $as_echo_n "(cached) " >&6
12752 else
12753   lt_cv_prog_compiler__b=no
12754    save_LDFLAGS="$LDFLAGS"
12755    LDFLAGS="$LDFLAGS -b"
12756    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12757    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12758      # The linker can only warn and ignore the option if not recognized
12759      # So say no if there are warnings
12760      if test -s conftest.err; then
12761        # Append any errors to the config.log.
12762        cat conftest.err 1>&5
12763        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12764        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12765        if diff conftest.exp conftest.er2 >/dev/null; then
12766          lt_cv_prog_compiler__b=yes
12767        fi
12768      else
12769        lt_cv_prog_compiler__b=yes
12770      fi
12771    fi
12772    $RM -r conftest*
12773    LDFLAGS="$save_LDFLAGS"
12774
12775 fi
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12777 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12778
12779 if test x"$lt_cv_prog_compiler__b" = xyes; then
12780     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12781 else
12782     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12783 fi
12784
12785           ;;
12786         esac
12787       fi
12788       if test "$with_gnu_ld" = no; then
12789         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12790         hardcode_libdir_separator=:
12791
12792         case $host_cpu in
12793         hppa*64*|ia64*)
12794           hardcode_direct=no
12795           hardcode_shlibpath_var=no
12796           ;;
12797         *)
12798           hardcode_direct=yes
12799           hardcode_direct_absolute=yes
12800           export_dynamic_flag_spec='${wl}-E'
12801
12802           # hardcode_minus_L: Not really in the search PATH,
12803           # but as the default location of the library.
12804           hardcode_minus_L=yes
12805           ;;
12806         esac
12807       fi
12808       ;;
12809
12810     irix5* | irix6* | nonstopux*)
12811       if test "$GCC" = yes; then
12812         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'
12813         # Try to use the -exported_symbol ld option, if it does not
12814         # work, assume that -exports_file does not work either and
12815         # implicitly export all symbols.
12816         # This should be the same for all languages, so no per-tag cache variable.
12817         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12818 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12819 if ${lt_cv_irix_exported_symbol+:} false; then :
12820   $as_echo_n "(cached) " >&6
12821 else
12822   save_LDFLAGS="$LDFLAGS"
12823            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12824            if test x$ac_no_link = xyes; then
12825   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12826 fi
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h.  */
12829 int foo (void) { return 0; }
12830 _ACEOF
12831 if ac_fn_c_try_link "$LINENO"; then :
12832   lt_cv_irix_exported_symbol=yes
12833 else
12834   lt_cv_irix_exported_symbol=no
12835 fi
12836 rm -f core conftest.err conftest.$ac_objext \
12837     conftest$ac_exeext conftest.$ac_ext
12838            LDFLAGS="$save_LDFLAGS"
12839 fi
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12841 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12842         if test "$lt_cv_irix_exported_symbol" = yes; then
12843           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'
12844         fi
12845       else
12846         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'
12847         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'
12848       fi
12849       archive_cmds_need_lc='no'
12850       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12851       hardcode_libdir_separator=:
12852       inherit_rpath=yes
12853       link_all_deplibs=yes
12854       ;;
12855
12856     netbsd*)
12857       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12858         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12859       else
12860         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12861       fi
12862       hardcode_libdir_flag_spec='-R$libdir'
12863       hardcode_direct=yes
12864       hardcode_shlibpath_var=no
12865       ;;
12866
12867     newsos6)
12868       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12869       hardcode_direct=yes
12870       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12871       hardcode_libdir_separator=:
12872       hardcode_shlibpath_var=no
12873       ;;
12874
12875     *nto* | *qnx*)
12876       ;;
12877
12878     openbsd*)
12879       if test -f /usr/libexec/ld.so; then
12880         hardcode_direct=yes
12881         hardcode_shlibpath_var=no
12882         hardcode_direct_absolute=yes
12883         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12884           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12885           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12886           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12887           export_dynamic_flag_spec='${wl}-E'
12888         else
12889           case $host_os in
12890            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12891              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12892              hardcode_libdir_flag_spec='-R$libdir'
12893              ;;
12894            *)
12895              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12896              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12897              ;;
12898           esac
12899         fi
12900       else
12901         ld_shlibs=no
12902       fi
12903       ;;
12904
12905     os2*)
12906       hardcode_libdir_flag_spec='-L$libdir'
12907       hardcode_minus_L=yes
12908       allow_undefined_flag=unsupported
12909       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12910       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12911       ;;
12912
12913     osf3*)
12914       if test "$GCC" = yes; then
12915         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12916         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'
12917       else
12918         allow_undefined_flag=' -expect_unresolved \*'
12919         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'
12920       fi
12921       archive_cmds_need_lc='no'
12922       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12923       hardcode_libdir_separator=:
12924       ;;
12925
12926     osf4* | osf5*)      # as osf3* with the addition of -msym flag
12927       if test "$GCC" = yes; then
12928         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12929         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'
12930         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12931       else
12932         allow_undefined_flag=' -expect_unresolved \*'
12933         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'
12934         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~
12935         $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'
12936
12937         # Both c and cxx compiler support -rpath directly
12938         hardcode_libdir_flag_spec='-rpath $libdir'
12939       fi
12940       archive_cmds_need_lc='no'
12941       hardcode_libdir_separator=:
12942       ;;
12943
12944     solaris*)
12945       no_undefined_flag=' -z defs'
12946       if test "$GCC" = yes; then
12947         wlarc='${wl}'
12948         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12949         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12950           $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'
12951       else
12952         case `$CC -V 2>&1` in
12953         *"Compilers 5.0"*)
12954           wlarc=''
12955           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12956           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12957           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12958           ;;
12959         *)
12960           wlarc='${wl}'
12961           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12962           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12963           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12964           ;;
12965         esac
12966       fi
12967       hardcode_libdir_flag_spec='-R$libdir'
12968       hardcode_shlibpath_var=no
12969       case $host_os in
12970       solaris2.[0-5] | solaris2.[0-5].*) ;;
12971       *)
12972         # The compiler driver will combine and reorder linker options,
12973         # but understands `-z linker_flag'.  GCC discards it without `$wl',
12974         # but is careful enough not to reorder.
12975         # Supported since Solaris 2.6 (maybe 2.5.1?)
12976         if test "$GCC" = yes; then
12977           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12978         else
12979           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12980         fi
12981         ;;
12982       esac
12983       link_all_deplibs=yes
12984       ;;
12985
12986     sunos4*)
12987       if test "x$host_vendor" = xsequent; then
12988         # Use $CC to link under sequent, because it throws in some extra .o
12989         # files that make .init and .fini sections work.
12990         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12991       else
12992         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12993       fi
12994       hardcode_libdir_flag_spec='-L$libdir'
12995       hardcode_direct=yes
12996       hardcode_minus_L=yes
12997       hardcode_shlibpath_var=no
12998       ;;
12999
13000     sysv4)
13001       case $host_vendor in
13002         sni)
13003           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13004           hardcode_direct=yes # is this really true???
13005         ;;
13006         siemens)
13007           ## LD is ld it makes a PLAMLIB
13008           ## CC just makes a GrossModule.
13009           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13010           reload_cmds='$CC -r -o $output$reload_objs'
13011           hardcode_direct=no
13012         ;;
13013         motorola)
13014           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13015           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13016         ;;
13017       esac
13018       runpath_var='LD_RUN_PATH'
13019       hardcode_shlibpath_var=no
13020       ;;
13021
13022     sysv4.3*)
13023       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13024       hardcode_shlibpath_var=no
13025       export_dynamic_flag_spec='-Bexport'
13026       ;;
13027
13028     sysv4*MP*)
13029       if test -d /usr/nec; then
13030         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13031         hardcode_shlibpath_var=no
13032         runpath_var=LD_RUN_PATH
13033         hardcode_runpath_var=yes
13034         ld_shlibs=yes
13035       fi
13036       ;;
13037
13038     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13039       no_undefined_flag='${wl}-z,text'
13040       archive_cmds_need_lc=no
13041       hardcode_shlibpath_var=no
13042       runpath_var='LD_RUN_PATH'
13043
13044       if test "$GCC" = yes; then
13045         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13046         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13047       else
13048         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13049         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13050       fi
13051       ;;
13052
13053     sysv5* | sco3.2v5* | sco5v6*)
13054       # Note: We can NOT use -z defs as we might desire, because we do not
13055       # link with -lc, and that would cause any symbols used from libc to
13056       # always be unresolved, which means just about no library would
13057       # ever link correctly.  If we're not using GNU ld we use -z text
13058       # though, which does catch some bad symbols but isn't as heavy-handed
13059       # as -z defs.
13060       no_undefined_flag='${wl}-z,text'
13061       allow_undefined_flag='${wl}-z,nodefs'
13062       archive_cmds_need_lc=no
13063       hardcode_shlibpath_var=no
13064       hardcode_libdir_flag_spec='${wl}-R,$libdir'
13065       hardcode_libdir_separator=':'
13066       link_all_deplibs=yes
13067       export_dynamic_flag_spec='${wl}-Bexport'
13068       runpath_var='LD_RUN_PATH'
13069
13070       if test "$GCC" = yes; then
13071         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13072         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13073       else
13074         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13075         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13076       fi
13077       ;;
13078
13079     uts4*)
13080       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13081       hardcode_libdir_flag_spec='-L$libdir'
13082       hardcode_shlibpath_var=no
13083       ;;
13084
13085     *)
13086       ld_shlibs=no
13087       ;;
13088     esac
13089
13090     if test x$host_vendor = xsni; then
13091       case $host in
13092       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13093         export_dynamic_flag_spec='${wl}-Blargedynsym'
13094         ;;
13095       esac
13096     fi
13097   fi
13098
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13100 $as_echo "$ld_shlibs" >&6; }
13101 test "$ld_shlibs" = no && can_build_shared=no
13102
13103 with_gnu_ld=$with_gnu_ld
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119 #
13120 # Do we need to explicitly link libc?
13121 #
13122 case "x$archive_cmds_need_lc" in
13123 x|xyes)
13124   # Assume -lc should be added
13125   archive_cmds_need_lc=yes
13126
13127   if test "$enable_shared" = yes && test "$GCC" = yes; then
13128     case $archive_cmds in
13129     *'~'*)
13130       # FIXME: we may have to deal with multi-command sequences.
13131       ;;
13132     '$CC '*)
13133       # Test whether the compiler implicitly links with -lc since on some
13134       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13135       # to ld, don't add -lc before -lgcc.
13136       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13137 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13138 if ${lt_cv_archive_cmds_need_lc+:} false; then :
13139   $as_echo_n "(cached) " >&6
13140 else
13141   $RM conftest*
13142         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13143
13144         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13145   (eval $ac_compile) 2>&5
13146   ac_status=$?
13147   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13148   test $ac_status = 0; } 2>conftest.err; then
13149           soname=conftest
13150           lib=conftest
13151           libobjs=conftest.$ac_objext
13152           deplibs=
13153           wl=$lt_prog_compiler_wl
13154           pic_flag=$lt_prog_compiler_pic
13155           compiler_flags=-v
13156           linker_flags=-v
13157           verstring=
13158           output_objdir=.
13159           libname=conftest
13160           lt_save_allow_undefined_flag=$allow_undefined_flag
13161           allow_undefined_flag=
13162           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13163   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13164   ac_status=$?
13165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13166   test $ac_status = 0; }
13167           then
13168             lt_cv_archive_cmds_need_lc=no
13169           else
13170             lt_cv_archive_cmds_need_lc=yes
13171           fi
13172           allow_undefined_flag=$lt_save_allow_undefined_flag
13173         else
13174           cat conftest.err 1>&5
13175         fi
13176         $RM conftest*
13177
13178 fi
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13180 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13181       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13182       ;;
13183     esac
13184   fi
13185   ;;
13186 esac
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13340 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13341
13342 if test "$GCC" = yes; then
13343   case $host_os in
13344     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
13345     *) lt_awk_arg="/^libraries:/" ;;
13346   esac
13347   case $host_os in
13348     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
13349     *) lt_sed_strip_eq="s,=/,/,g" ;;
13350   esac
13351   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13352   case $lt_search_path_spec in
13353   *\;*)
13354     # if the path contains ";" then we assume it to be the separator
13355     # otherwise default to the standard path separator (i.e. ":") - it is
13356     # assumed that no part of a normal pathname contains ";" but that should
13357     # okay in the real world where ";" in dirpaths is itself problematic.
13358     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13359     ;;
13360   *)
13361     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13362     ;;
13363   esac
13364   # Ok, now we have the path, separated by spaces, we can step through it
13365   # and add multilib dir if necessary.
13366   lt_tmp_lt_search_path_spec=
13367   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13368   for lt_sys_path in $lt_search_path_spec; do
13369     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13370       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13371     else
13372       test -d "$lt_sys_path" && \
13373         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13374     fi
13375   done
13376   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13377 BEGIN {RS=" "; FS="/|\n";} {
13378   lt_foo="";
13379   lt_count=0;
13380   for (lt_i = NF; lt_i > 0; lt_i--) {
13381     if ($lt_i != "" && $lt_i != ".") {
13382       if ($lt_i == "..") {
13383         lt_count++;
13384       } else {
13385         if (lt_count == 0) {
13386           lt_foo="/" $lt_i lt_foo;
13387         } else {
13388           lt_count--;
13389         }
13390       }
13391     }
13392   }
13393   if (lt_foo != "") { lt_freq[lt_foo]++; }
13394   if (lt_freq[lt_foo] == 1) { print lt_foo; }
13395 }'`
13396   # AWK program above erroneously prepends '/' to C:/dos/paths
13397   # for these hosts.
13398   case $host_os in
13399     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13400       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
13401   esac
13402   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13403 else
13404   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13405 fi
13406 library_names_spec=
13407 libname_spec='lib$name'
13408 soname_spec=
13409 shrext_cmds=".so"
13410 postinstall_cmds=
13411 postuninstall_cmds=
13412 finish_cmds=
13413 finish_eval=
13414 shlibpath_var=
13415 shlibpath_overrides_runpath=unknown
13416 version_type=none
13417 dynamic_linker="$host_os ld.so"
13418 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13419 need_lib_prefix=unknown
13420 hardcode_into_libs=no
13421
13422 # when you set need_version to no, make sure it does not cause -set_version
13423 # flags to be left without arguments
13424 need_version=unknown
13425
13426 case $host_os in
13427 aix3*)
13428   version_type=linux # correct to gnu/linux during the next big refactor
13429   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13430   shlibpath_var=LIBPATH
13431
13432   # AIX 3 has no versioning support, so we append a major version to the name.
13433   soname_spec='${libname}${release}${shared_ext}$major'
13434   ;;
13435
13436 aix[4-9]*)
13437   version_type=linux # correct to gnu/linux during the next big refactor
13438   need_lib_prefix=no
13439   need_version=no
13440   hardcode_into_libs=yes
13441   if test "$host_cpu" = ia64; then
13442     # AIX 5 supports IA64
13443     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13444     shlibpath_var=LD_LIBRARY_PATH
13445   else
13446     # With GCC up to 2.95.x, collect2 would create an import file
13447     # for dependence libraries.  The import file would start with
13448     # the line `#! .'.  This would cause the generated library to
13449     # depend on `.', always an invalid library.  This was fixed in
13450     # development snapshots of GCC prior to 3.0.
13451     case $host_os in
13452       aix4 | aix4.[01] | aix4.[01].*)
13453       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13454            echo ' yes '
13455            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13456         :
13457       else
13458         can_build_shared=no
13459       fi
13460       ;;
13461     esac
13462     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13463     # soname into executable. Probably we can add versioning support to
13464     # collect2, so additional links can be useful in future.
13465     if test "$aix_use_runtimelinking" = yes; then
13466       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13467       # instead of lib<name>.a to let people know that these are not
13468       # typical AIX shared libraries.
13469       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13470     else
13471       # We preserve .a as extension for shared libraries through AIX4.2
13472       # and later when we are not doing run time linking.
13473       library_names_spec='${libname}${release}.a $libname.a'
13474       soname_spec='${libname}${release}${shared_ext}$major'
13475     fi
13476     shlibpath_var=LIBPATH
13477   fi
13478   ;;
13479
13480 amigaos*)
13481   case $host_cpu in
13482   powerpc)
13483     # Since July 2007 AmigaOS4 officially supports .so libraries.
13484     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13485     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13486     ;;
13487   m68k)
13488     library_names_spec='$libname.ixlibrary $libname.a'
13489     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13490     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13491     ;;
13492   esac
13493   ;;
13494
13495 beos*)
13496   library_names_spec='${libname}${shared_ext}'
13497   dynamic_linker="$host_os ld.so"
13498   shlibpath_var=LIBRARY_PATH
13499   ;;
13500
13501 bsdi[45]*)
13502   version_type=linux # correct to gnu/linux during the next big refactor
13503   need_version=no
13504   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13505   soname_spec='${libname}${release}${shared_ext}$major'
13506   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13507   shlibpath_var=LD_LIBRARY_PATH
13508   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13509   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13510   # the default ld.so.conf also contains /usr/contrib/lib and
13511   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13512   # libtool to hard-code these into programs
13513   ;;
13514
13515 cygwin* | mingw* | pw32* | cegcc*)
13516   version_type=windows
13517   shrext_cmds=".dll"
13518   need_version=no
13519   need_lib_prefix=no
13520
13521   case $GCC,$cc_basename in
13522   yes,*)
13523     # gcc
13524     library_names_spec='$libname.dll.a'
13525     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13526     postinstall_cmds='base_file=`basename \${file}`~
13527       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13528       dldir=$destdir/`dirname \$dlpath`~
13529       test -d \$dldir || mkdir -p \$dldir~
13530       $install_prog $dir/$dlname \$dldir/$dlname~
13531       chmod a+x \$dldir/$dlname~
13532       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13533         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13534       fi'
13535     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13536       dlpath=$dir/\$dldll~
13537        $RM \$dlpath'
13538     shlibpath_overrides_runpath=yes
13539
13540     case $host_os in
13541     cygwin*)
13542       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13543       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13544
13545       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13546       ;;
13547     mingw* | cegcc*)
13548       # MinGW DLLs use traditional 'lib' prefix
13549       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13550       ;;
13551     pw32*)
13552       # pw32 DLLs use 'pw' prefix rather than 'lib'
13553       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13554       ;;
13555     esac
13556     dynamic_linker='Win32 ld.exe'
13557     ;;
13558
13559   *,cl*)
13560     # Native MSVC
13561     libname_spec='$name'
13562     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13563     library_names_spec='${libname}.dll.lib'
13564
13565     case $build_os in
13566     mingw*)
13567       sys_lib_search_path_spec=
13568       lt_save_ifs=$IFS
13569       IFS=';'
13570       for lt_path in $LIB
13571       do
13572         IFS=$lt_save_ifs
13573         # Let DOS variable expansion print the short 8.3 style file name.
13574         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13575         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13576       done
13577       IFS=$lt_save_ifs
13578       # Convert to MSYS style.
13579       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13580       ;;
13581     cygwin*)
13582       # Convert to unix form, then to dos form, then back to unix form
13583       # but this time dos style (no spaces!) so that the unix form looks
13584       # like /cygdrive/c/PROGRA~1:/cygdr...
13585       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13586       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13587       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13588       ;;
13589     *)
13590       sys_lib_search_path_spec="$LIB"
13591       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13592         # It is most probably a Windows format PATH.
13593         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13594       else
13595         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13596       fi
13597       # FIXME: find the short name or the path components, as spaces are
13598       # common. (e.g. "Program Files" -> "PROGRA~1")
13599       ;;
13600     esac
13601
13602     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13603     postinstall_cmds='base_file=`basename \${file}`~
13604       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13605       dldir=$destdir/`dirname \$dlpath`~
13606       test -d \$dldir || mkdir -p \$dldir~
13607       $install_prog $dir/$dlname \$dldir/$dlname'
13608     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13609       dlpath=$dir/\$dldll~
13610        $RM \$dlpath'
13611     shlibpath_overrides_runpath=yes
13612     dynamic_linker='Win32 link.exe'
13613     ;;
13614
13615   *)
13616     # Assume MSVC wrapper
13617     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13618     dynamic_linker='Win32 ld.exe'
13619     ;;
13620   esac
13621   # FIXME: first we should search . and the directory the executable is in
13622   shlibpath_var=PATH
13623   ;;
13624
13625 darwin* | rhapsody*)
13626   dynamic_linker="$host_os dyld"
13627   version_type=darwin
13628   need_lib_prefix=no
13629   need_version=no
13630   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13631   soname_spec='${libname}${release}${major}$shared_ext'
13632   shlibpath_overrides_runpath=yes
13633   shlibpath_var=DYLD_LIBRARY_PATH
13634   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13635
13636   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13637   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13638   ;;
13639
13640 dgux*)
13641   version_type=linux # correct to gnu/linux during the next big refactor
13642   need_lib_prefix=no
13643   need_version=no
13644   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13645   soname_spec='${libname}${release}${shared_ext}$major'
13646   shlibpath_var=LD_LIBRARY_PATH
13647   ;;
13648
13649 freebsd* | dragonfly*)
13650   # DragonFly does not have aout.  When/if they implement a new
13651   # versioning mechanism, adjust this.
13652   if test -x /usr/bin/objformat; then
13653     objformat=`/usr/bin/objformat`
13654   else
13655     case $host_os in
13656     freebsd[23].*) objformat=aout ;;
13657     *) objformat=elf ;;
13658     esac
13659   fi
13660   version_type=freebsd-$objformat
13661   case $version_type in
13662     freebsd-elf*)
13663       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13664       need_version=no
13665       need_lib_prefix=no
13666       ;;
13667     freebsd-*)
13668       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13669       need_version=yes
13670       ;;
13671   esac
13672   shlibpath_var=LD_LIBRARY_PATH
13673   case $host_os in
13674   freebsd2.*)
13675     shlibpath_overrides_runpath=yes
13676     ;;
13677   freebsd3.[01]* | freebsdelf3.[01]*)
13678     shlibpath_overrides_runpath=yes
13679     hardcode_into_libs=yes
13680     ;;
13681   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13682   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13683     shlibpath_overrides_runpath=no
13684     hardcode_into_libs=yes
13685     ;;
13686   *) # from 4.6 on, and DragonFly
13687     shlibpath_overrides_runpath=yes
13688     hardcode_into_libs=yes
13689     ;;
13690   esac
13691   ;;
13692
13693 gnu*)
13694   version_type=linux # correct to gnu/linux during the next big refactor
13695   need_lib_prefix=no
13696   need_version=no
13697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13698   soname_spec='${libname}${release}${shared_ext}$major'
13699   shlibpath_var=LD_LIBRARY_PATH
13700   shlibpath_overrides_runpath=no
13701   hardcode_into_libs=yes
13702   ;;
13703
13704 haiku*)
13705   version_type=linux # correct to gnu/linux during the next big refactor
13706   need_lib_prefix=no
13707   need_version=no
13708   dynamic_linker="$host_os runtime_loader"
13709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13710   soname_spec='${libname}${release}${shared_ext}$major'
13711   shlibpath_var=LIBRARY_PATH
13712   shlibpath_overrides_runpath=yes
13713   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13714   hardcode_into_libs=yes
13715   ;;
13716
13717 hpux9* | hpux10* | hpux11*)
13718   # Give a soname corresponding to the major version so that dld.sl refuses to
13719   # link against other versions.
13720   version_type=sunos
13721   need_lib_prefix=no
13722   need_version=no
13723   case $host_cpu in
13724   ia64*)
13725     shrext_cmds='.so'
13726     hardcode_into_libs=yes
13727     dynamic_linker="$host_os dld.so"
13728     shlibpath_var=LD_LIBRARY_PATH
13729     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13730     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13731     soname_spec='${libname}${release}${shared_ext}$major'
13732     if test "X$HPUX_IA64_MODE" = X32; then
13733       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13734     else
13735       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13736     fi
13737     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13738     ;;
13739   hppa*64*)
13740     shrext_cmds='.sl'
13741     hardcode_into_libs=yes
13742     dynamic_linker="$host_os dld.sl"
13743     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13744     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13745     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13746     soname_spec='${libname}${release}${shared_ext}$major'
13747     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13748     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13749     ;;
13750   *)
13751     shrext_cmds='.sl'
13752     dynamic_linker="$host_os dld.sl"
13753     shlibpath_var=SHLIB_PATH
13754     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13755     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13756     soname_spec='${libname}${release}${shared_ext}$major'
13757     ;;
13758   esac
13759   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13760   postinstall_cmds='chmod 555 $lib'
13761   # or fails outright, so override atomically:
13762   install_override_mode=555
13763   ;;
13764
13765 interix[3-9]*)
13766   version_type=linux # correct to gnu/linux during the next big refactor
13767   need_lib_prefix=no
13768   need_version=no
13769   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13770   soname_spec='${libname}${release}${shared_ext}$major'
13771   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13772   shlibpath_var=LD_LIBRARY_PATH
13773   shlibpath_overrides_runpath=no
13774   hardcode_into_libs=yes
13775   ;;
13776
13777 irix5* | irix6* | nonstopux*)
13778   case $host_os in
13779     nonstopux*) version_type=nonstopux ;;
13780     *)
13781         if test "$lt_cv_prog_gnu_ld" = yes; then
13782                 version_type=linux # correct to gnu/linux during the next big refactor
13783         else
13784                 version_type=irix
13785         fi ;;
13786   esac
13787   need_lib_prefix=no
13788   need_version=no
13789   soname_spec='${libname}${release}${shared_ext}$major'
13790   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13791   case $host_os in
13792   irix5* | nonstopux*)
13793     libsuff= shlibsuff=
13794     ;;
13795   *)
13796     case $LD in # libtool.m4 will add one of these switches to LD
13797     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13798       libsuff= shlibsuff= libmagic=32-bit;;
13799     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13800       libsuff=32 shlibsuff=N32 libmagic=N32;;
13801     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13802       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13803     *) libsuff= shlibsuff= libmagic=never-match;;
13804     esac
13805     ;;
13806   esac
13807   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13808   shlibpath_overrides_runpath=no
13809   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13810   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13811   hardcode_into_libs=yes
13812   ;;
13813
13814 # No shared lib support for Linux oldld, aout, or coff.
13815 linux*oldld* | linux*aout* | linux*coff*)
13816   dynamic_linker=no
13817   ;;
13818
13819 # This must be glibc/ELF.
13820 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13821   version_type=linux # correct to gnu/linux during the next big refactor
13822   need_lib_prefix=no
13823   need_version=no
13824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13825   soname_spec='${libname}${release}${shared_ext}$major'
13826   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13827   shlibpath_var=LD_LIBRARY_PATH
13828   shlibpath_overrides_runpath=no
13829
13830   # Some binutils ld are patched to set DT_RUNPATH
13831   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13832   $as_echo_n "(cached) " >&6
13833 else
13834   lt_cv_shlibpath_overrides_runpath=no
13835     save_LDFLAGS=$LDFLAGS
13836     save_libdir=$libdir
13837     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13838          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13839     if test x$ac_no_link = xyes; then
13840   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
13841 fi
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h.  */
13844
13845 int
13846 main ()
13847 {
13848
13849   ;
13850   return 0;
13851 }
13852 _ACEOF
13853 if ac_fn_c_try_link "$LINENO"; then :
13854   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13855   lt_cv_shlibpath_overrides_runpath=yes
13856 fi
13857 fi
13858 rm -f core conftest.err conftest.$ac_objext \
13859     conftest$ac_exeext conftest.$ac_ext
13860     LDFLAGS=$save_LDFLAGS
13861     libdir=$save_libdir
13862
13863 fi
13864
13865   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13866
13867   # This implies no fast_install, which is unacceptable.
13868   # Some rework will be needed to allow for fast_install
13869   # before this can be enabled.
13870   hardcode_into_libs=yes
13871
13872   # Append ld.so.conf contents to the search path
13873   if test -f /etc/ld.so.conf; then
13874     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' ' '`
13875     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13876   fi
13877
13878   # We used to test for /lib/ld.so.1 and disable shared libraries on
13879   # powerpc, because MkLinux only supported shared libraries with the
13880   # GNU dynamic linker.  Since this was broken with cross compilers,
13881   # most powerpc-linux boxes support dynamic linking these days and
13882   # people can always --disable-shared, the test was removed, and we
13883   # assume the GNU/Linux dynamic linker is in use.
13884   dynamic_linker='GNU/Linux ld.so'
13885   ;;
13886
13887 netbsd*)
13888   version_type=sunos
13889   need_lib_prefix=no
13890   need_version=no
13891   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13892     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13893     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13894     dynamic_linker='NetBSD (a.out) ld.so'
13895   else
13896     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13897     soname_spec='${libname}${release}${shared_ext}$major'
13898     dynamic_linker='NetBSD ld.elf_so'
13899   fi
13900   shlibpath_var=LD_LIBRARY_PATH
13901   shlibpath_overrides_runpath=yes
13902   hardcode_into_libs=yes
13903   ;;
13904
13905 newsos6)
13906   version_type=linux # correct to gnu/linux during the next big refactor
13907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13908   shlibpath_var=LD_LIBRARY_PATH
13909   shlibpath_overrides_runpath=yes
13910   ;;
13911
13912 *nto* | *qnx*)
13913   version_type=qnx
13914   need_lib_prefix=no
13915   need_version=no
13916   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13917   soname_spec='${libname}${release}${shared_ext}$major'
13918   shlibpath_var=LD_LIBRARY_PATH
13919   shlibpath_overrides_runpath=no
13920   hardcode_into_libs=yes
13921   dynamic_linker='ldqnx.so'
13922   ;;
13923
13924 openbsd*)
13925   version_type=sunos
13926   sys_lib_dlsearch_path_spec="/usr/lib"
13927   need_lib_prefix=no
13928   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13929   case $host_os in
13930     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13931     *)                          need_version=no  ;;
13932   esac
13933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13934   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13935   shlibpath_var=LD_LIBRARY_PATH
13936   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13937     case $host_os in
13938       openbsd2.[89] | openbsd2.[89].*)
13939         shlibpath_overrides_runpath=no
13940         ;;
13941       *)
13942         shlibpath_overrides_runpath=yes
13943         ;;
13944       esac
13945   else
13946     shlibpath_overrides_runpath=yes
13947   fi
13948   ;;
13949
13950 os2*)
13951   libname_spec='$name'
13952   shrext_cmds=".dll"
13953   need_lib_prefix=no
13954   library_names_spec='$libname${shared_ext} $libname.a'
13955   dynamic_linker='OS/2 ld.exe'
13956   shlibpath_var=LIBPATH
13957   ;;
13958
13959 osf3* | osf4* | osf5*)
13960   version_type=osf
13961   need_lib_prefix=no
13962   need_version=no
13963   soname_spec='${libname}${release}${shared_ext}$major'
13964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13965   shlibpath_var=LD_LIBRARY_PATH
13966   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13967   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13968   ;;
13969
13970 rdos*)
13971   dynamic_linker=no
13972   ;;
13973
13974 solaris*)
13975   version_type=linux # correct to gnu/linux during the next big refactor
13976   need_lib_prefix=no
13977   need_version=no
13978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13979   soname_spec='${libname}${release}${shared_ext}$major'
13980   shlibpath_var=LD_LIBRARY_PATH
13981   shlibpath_overrides_runpath=yes
13982   hardcode_into_libs=yes
13983   # ldd complains unless libraries are executable
13984   postinstall_cmds='chmod +x $lib'
13985   ;;
13986
13987 sunos4*)
13988   version_type=sunos
13989   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13990   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13991   shlibpath_var=LD_LIBRARY_PATH
13992   shlibpath_overrides_runpath=yes
13993   if test "$with_gnu_ld" = yes; then
13994     need_lib_prefix=no
13995   fi
13996   need_version=yes
13997   ;;
13998
13999 sysv4 | sysv4.3*)
14000   version_type=linux # correct to gnu/linux during the next big refactor
14001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14002   soname_spec='${libname}${release}${shared_ext}$major'
14003   shlibpath_var=LD_LIBRARY_PATH
14004   case $host_vendor in
14005     sni)
14006       shlibpath_overrides_runpath=no
14007       need_lib_prefix=no
14008       runpath_var=LD_RUN_PATH
14009       ;;
14010     siemens)
14011       need_lib_prefix=no
14012       ;;
14013     motorola)
14014       need_lib_prefix=no
14015       need_version=no
14016       shlibpath_overrides_runpath=no
14017       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14018       ;;
14019   esac
14020   ;;
14021
14022 sysv4*MP*)
14023   if test -d /usr/nec ;then
14024     version_type=linux # correct to gnu/linux during the next big refactor
14025     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14026     soname_spec='$libname${shared_ext}.$major'
14027     shlibpath_var=LD_LIBRARY_PATH
14028   fi
14029   ;;
14030
14031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14032   version_type=freebsd-elf
14033   need_lib_prefix=no
14034   need_version=no
14035   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14036   soname_spec='${libname}${release}${shared_ext}$major'
14037   shlibpath_var=LD_LIBRARY_PATH
14038   shlibpath_overrides_runpath=yes
14039   hardcode_into_libs=yes
14040   if test "$with_gnu_ld" = yes; then
14041     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14042   else
14043     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14044     case $host_os in
14045       sco3.2v5*)
14046         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14047         ;;
14048     esac
14049   fi
14050   sys_lib_dlsearch_path_spec='/usr/lib'
14051   ;;
14052
14053 tpf*)
14054   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14055   version_type=linux # correct to gnu/linux during the next big refactor
14056   need_lib_prefix=no
14057   need_version=no
14058   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14059   shlibpath_var=LD_LIBRARY_PATH
14060   shlibpath_overrides_runpath=no
14061   hardcode_into_libs=yes
14062   ;;
14063
14064 uts4*)
14065   version_type=linux # correct to gnu/linux during the next big refactor
14066   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14067   soname_spec='${libname}${release}${shared_ext}$major'
14068   shlibpath_var=LD_LIBRARY_PATH
14069   ;;
14070
14071 *)
14072   dynamic_linker=no
14073   ;;
14074 esac
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14076 $as_echo "$dynamic_linker" >&6; }
14077 test "$dynamic_linker" = no && can_build_shared=no
14078
14079 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14080 if test "$GCC" = yes; then
14081   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14082 fi
14083
14084 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14085   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14086 fi
14087 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14088   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14089 fi
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14183 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14184 hardcode_action=
14185 if test -n "$hardcode_libdir_flag_spec" ||
14186    test -n "$runpath_var" ||
14187    test "X$hardcode_automatic" = "Xyes" ; then
14188
14189   # We can hardcode non-existent directories.
14190   if test "$hardcode_direct" != no &&
14191      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14192      # have to relink, otherwise we might link with an installed library
14193      # when we should be linking with a yet-to-be-installed one
14194      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14195      test "$hardcode_minus_L" != no; then
14196     # Linking always hardcodes the temporary library directory.
14197     hardcode_action=relink
14198   else
14199     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14200     hardcode_action=immediate
14201   fi
14202 else
14203   # We cannot hardcode anything, or else we can only hardcode existing
14204   # directories.
14205   hardcode_action=unsupported
14206 fi
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14208 $as_echo "$hardcode_action" >&6; }
14209
14210 if test "$hardcode_action" = relink ||
14211    test "$inherit_rpath" = yes; then
14212   # Fast installation is not supported
14213   enable_fast_install=no
14214 elif test "$shlibpath_overrides_runpath" = yes ||
14215      test "$enable_shared" = no; then
14216   # Fast installation is not necessary
14217   enable_fast_install=needless
14218 fi
14219
14220
14221
14222
14223
14224
14225   if test "x$enable_dlopen" != xyes; then
14226   enable_dlopen=unknown
14227   enable_dlopen_self=unknown
14228   enable_dlopen_self_static=unknown
14229 else
14230   lt_cv_dlopen=no
14231   lt_cv_dlopen_libs=
14232
14233   case $host_os in
14234   beos*)
14235     lt_cv_dlopen="load_add_on"
14236     lt_cv_dlopen_libs=
14237     lt_cv_dlopen_self=yes
14238     ;;
14239
14240   mingw* | pw32* | cegcc*)
14241     lt_cv_dlopen="LoadLibrary"
14242     lt_cv_dlopen_libs=
14243     ;;
14244
14245   cygwin*)
14246     lt_cv_dlopen="dlopen"
14247     lt_cv_dlopen_libs=
14248     ;;
14249
14250   darwin*)
14251   # if libdl is installed we need to link against it
14252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14253 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14254 if ${ac_cv_lib_dl_dlopen+:} false; then :
14255   $as_echo_n "(cached) " >&6
14256 else
14257   ac_check_lib_save_LIBS=$LIBS
14258 LIBS="-ldl  $LIBS"
14259 if test x$ac_no_link = xyes; then
14260   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14261 fi
14262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h.  */
14264
14265 /* Override any GCC internal prototype to avoid an error.
14266    Use char because int might match the return type of a GCC
14267    builtin and then its argument prototype would still apply.  */
14268 #ifdef __cplusplus
14269 extern "C"
14270 #endif
14271 char dlopen ();
14272 int
14273 main ()
14274 {
14275 return dlopen ();
14276   ;
14277   return 0;
14278 }
14279 _ACEOF
14280 if ac_fn_c_try_link "$LINENO"; then :
14281   ac_cv_lib_dl_dlopen=yes
14282 else
14283   ac_cv_lib_dl_dlopen=no
14284 fi
14285 rm -f core conftest.err conftest.$ac_objext \
14286     conftest$ac_exeext conftest.$ac_ext
14287 LIBS=$ac_check_lib_save_LIBS
14288 fi
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14290 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14291 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14292   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14293 else
14294
14295     lt_cv_dlopen="dyld"
14296     lt_cv_dlopen_libs=
14297     lt_cv_dlopen_self=yes
14298
14299 fi
14300
14301     ;;
14302
14303   *)
14304     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14305 if test "x$ac_cv_func_shl_load" = xyes; then :
14306   lt_cv_dlopen="shl_load"
14307 else
14308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14309 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14310 if ${ac_cv_lib_dld_shl_load+:} false; then :
14311   $as_echo_n "(cached) " >&6
14312 else
14313   ac_check_lib_save_LIBS=$LIBS
14314 LIBS="-ldld  $LIBS"
14315 if test x$ac_no_link = xyes; then
14316   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14317 fi
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h.  */
14320
14321 /* Override any GCC internal prototype to avoid an error.
14322    Use char because int might match the return type of a GCC
14323    builtin and then its argument prototype would still apply.  */
14324 #ifdef __cplusplus
14325 extern "C"
14326 #endif
14327 char shl_load ();
14328 int
14329 main ()
14330 {
14331 return shl_load ();
14332   ;
14333   return 0;
14334 }
14335 _ACEOF
14336 if ac_fn_c_try_link "$LINENO"; then :
14337   ac_cv_lib_dld_shl_load=yes
14338 else
14339   ac_cv_lib_dld_shl_load=no
14340 fi
14341 rm -f core conftest.err conftest.$ac_objext \
14342     conftest$ac_exeext conftest.$ac_ext
14343 LIBS=$ac_check_lib_save_LIBS
14344 fi
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14346 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14347 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14348   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
14349 else
14350   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14351 if test "x$ac_cv_func_dlopen" = xyes; then :
14352   lt_cv_dlopen="dlopen"
14353 else
14354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14355 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14356 if ${ac_cv_lib_dl_dlopen+:} false; then :
14357   $as_echo_n "(cached) " >&6
14358 else
14359   ac_check_lib_save_LIBS=$LIBS
14360 LIBS="-ldl  $LIBS"
14361 if test x$ac_no_link = xyes; then
14362   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14363 fi
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h.  */
14366
14367 /* Override any GCC internal prototype to avoid an error.
14368    Use char because int might match the return type of a GCC
14369    builtin and then its argument prototype would still apply.  */
14370 #ifdef __cplusplus
14371 extern "C"
14372 #endif
14373 char dlopen ();
14374 int
14375 main ()
14376 {
14377 return dlopen ();
14378   ;
14379   return 0;
14380 }
14381 _ACEOF
14382 if ac_fn_c_try_link "$LINENO"; then :
14383   ac_cv_lib_dl_dlopen=yes
14384 else
14385   ac_cv_lib_dl_dlopen=no
14386 fi
14387 rm -f core conftest.err conftest.$ac_objext \
14388     conftest$ac_exeext conftest.$ac_ext
14389 LIBS=$ac_check_lib_save_LIBS
14390 fi
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14392 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14393 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14394   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14395 else
14396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14397 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14398 if ${ac_cv_lib_svld_dlopen+:} false; then :
14399   $as_echo_n "(cached) " >&6
14400 else
14401   ac_check_lib_save_LIBS=$LIBS
14402 LIBS="-lsvld  $LIBS"
14403 if test x$ac_no_link = xyes; then
14404   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14405 fi
14406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14407 /* end confdefs.h.  */
14408
14409 /* Override any GCC internal prototype to avoid an error.
14410    Use char because int might match the return type of a GCC
14411    builtin and then its argument prototype would still apply.  */
14412 #ifdef __cplusplus
14413 extern "C"
14414 #endif
14415 char dlopen ();
14416 int
14417 main ()
14418 {
14419 return dlopen ();
14420   ;
14421   return 0;
14422 }
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"; then :
14425   ac_cv_lib_svld_dlopen=yes
14426 else
14427   ac_cv_lib_svld_dlopen=no
14428 fi
14429 rm -f core conftest.err conftest.$ac_objext \
14430     conftest$ac_exeext conftest.$ac_ext
14431 LIBS=$ac_check_lib_save_LIBS
14432 fi
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14434 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14435 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14436   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14437 else
14438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14439 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14440 if ${ac_cv_lib_dld_dld_link+:} false; then :
14441   $as_echo_n "(cached) " >&6
14442 else
14443   ac_check_lib_save_LIBS=$LIBS
14444 LIBS="-ldld  $LIBS"
14445 if test x$ac_no_link = xyes; then
14446   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14447 fi
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h.  */
14450
14451 /* Override any GCC internal prototype to avoid an error.
14452    Use char because int might match the return type of a GCC
14453    builtin and then its argument prototype would still apply.  */
14454 #ifdef __cplusplus
14455 extern "C"
14456 #endif
14457 char dld_link ();
14458 int
14459 main ()
14460 {
14461 return dld_link ();
14462   ;
14463   return 0;
14464 }
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"; then :
14467   ac_cv_lib_dld_dld_link=yes
14468 else
14469   ac_cv_lib_dld_dld_link=no
14470 fi
14471 rm -f core conftest.err conftest.$ac_objext \
14472     conftest$ac_exeext conftest.$ac_ext
14473 LIBS=$ac_check_lib_save_LIBS
14474 fi
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14476 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14477 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14478   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14479 fi
14480
14481
14482 fi
14483
14484
14485 fi
14486
14487
14488 fi
14489
14490
14491 fi
14492
14493
14494 fi
14495
14496     ;;
14497   esac
14498
14499   if test "x$lt_cv_dlopen" != xno; then
14500     enable_dlopen=yes
14501   else
14502     enable_dlopen=no
14503   fi
14504
14505   case $lt_cv_dlopen in
14506   dlopen)
14507     save_CPPFLAGS="$CPPFLAGS"
14508     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14509
14510     save_LDFLAGS="$LDFLAGS"
14511     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14512
14513     save_LIBS="$LIBS"
14514     LIBS="$lt_cv_dlopen_libs $LIBS"
14515
14516     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14517 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14518 if ${lt_cv_dlopen_self+:} false; then :
14519   $as_echo_n "(cached) " >&6
14520 else
14521           if test "$cross_compiling" = yes; then :
14522   lt_cv_dlopen_self=cross
14523 else
14524   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14525   lt_status=$lt_dlunknown
14526   cat > conftest.$ac_ext <<_LT_EOF
14527 #line $LINENO "configure"
14528 #include "confdefs.h"
14529
14530 #if HAVE_DLFCN_H
14531 #include <dlfcn.h>
14532 #endif
14533
14534 #include <stdio.h>
14535
14536 #ifdef RTLD_GLOBAL
14537 #  define LT_DLGLOBAL           RTLD_GLOBAL
14538 #else
14539 #  ifdef DL_GLOBAL
14540 #    define LT_DLGLOBAL         DL_GLOBAL
14541 #  else
14542 #    define LT_DLGLOBAL         0
14543 #  endif
14544 #endif
14545
14546 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14547    find out it does not work in some platform. */
14548 #ifndef LT_DLLAZY_OR_NOW
14549 #  ifdef RTLD_LAZY
14550 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14551 #  else
14552 #    ifdef DL_LAZY
14553 #      define LT_DLLAZY_OR_NOW          DL_LAZY
14554 #    else
14555 #      ifdef RTLD_NOW
14556 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
14557 #      else
14558 #        ifdef DL_NOW
14559 #          define LT_DLLAZY_OR_NOW      DL_NOW
14560 #        else
14561 #          define LT_DLLAZY_OR_NOW      0
14562 #        endif
14563 #      endif
14564 #    endif
14565 #  endif
14566 #endif
14567
14568 /* When -fvisbility=hidden is used, assume the code has been annotated
14569    correspondingly for the symbols needed.  */
14570 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14571 int fnord () __attribute__((visibility("default")));
14572 #endif
14573
14574 int fnord () { return 42; }
14575 int main ()
14576 {
14577   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14578   int status = $lt_dlunknown;
14579
14580   if (self)
14581     {
14582       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14583       else
14584         {
14585           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14586           else puts (dlerror ());
14587         }
14588       /* dlclose (self); */
14589     }
14590   else
14591     puts (dlerror ());
14592
14593   return status;
14594 }
14595 _LT_EOF
14596   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14597   (eval $ac_link) 2>&5
14598   ac_status=$?
14599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14600   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14601     (./conftest; exit; ) >&5 2>/dev/null
14602     lt_status=$?
14603     case x$lt_status in
14604       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14605       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14606       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14607     esac
14608   else :
14609     # compilation failed
14610     lt_cv_dlopen_self=no
14611   fi
14612 fi
14613 rm -fr conftest*
14614
14615
14616 fi
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14618 $as_echo "$lt_cv_dlopen_self" >&6; }
14619
14620     if test "x$lt_cv_dlopen_self" = xyes; then
14621       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14622       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14623 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14624 if ${lt_cv_dlopen_self_static+:} false; then :
14625   $as_echo_n "(cached) " >&6
14626 else
14627           if test "$cross_compiling" = yes; then :
14628   lt_cv_dlopen_self_static=cross
14629 else
14630   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14631   lt_status=$lt_dlunknown
14632   cat > conftest.$ac_ext <<_LT_EOF
14633 #line $LINENO "configure"
14634 #include "confdefs.h"
14635
14636 #if HAVE_DLFCN_H
14637 #include <dlfcn.h>
14638 #endif
14639
14640 #include <stdio.h>
14641
14642 #ifdef RTLD_GLOBAL
14643 #  define LT_DLGLOBAL           RTLD_GLOBAL
14644 #else
14645 #  ifdef DL_GLOBAL
14646 #    define LT_DLGLOBAL         DL_GLOBAL
14647 #  else
14648 #    define LT_DLGLOBAL         0
14649 #  endif
14650 #endif
14651
14652 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14653    find out it does not work in some platform. */
14654 #ifndef LT_DLLAZY_OR_NOW
14655 #  ifdef RTLD_LAZY
14656 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14657 #  else
14658 #    ifdef DL_LAZY
14659 #      define LT_DLLAZY_OR_NOW          DL_LAZY
14660 #    else
14661 #      ifdef RTLD_NOW
14662 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
14663 #      else
14664 #        ifdef DL_NOW
14665 #          define LT_DLLAZY_OR_NOW      DL_NOW
14666 #        else
14667 #          define LT_DLLAZY_OR_NOW      0
14668 #        endif
14669 #      endif
14670 #    endif
14671 #  endif
14672 #endif
14673
14674 /* When -fvisbility=hidden is used, assume the code has been annotated
14675    correspondingly for the symbols needed.  */
14676 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14677 int fnord () __attribute__((visibility("default")));
14678 #endif
14679
14680 int fnord () { return 42; }
14681 int main ()
14682 {
14683   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14684   int status = $lt_dlunknown;
14685
14686   if (self)
14687     {
14688       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14689       else
14690         {
14691           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14692           else puts (dlerror ());
14693         }
14694       /* dlclose (self); */
14695     }
14696   else
14697     puts (dlerror ());
14698
14699   return status;
14700 }
14701 _LT_EOF
14702   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14703   (eval $ac_link) 2>&5
14704   ac_status=$?
14705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14706   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14707     (./conftest; exit; ) >&5 2>/dev/null
14708     lt_status=$?
14709     case x$lt_status in
14710       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14711       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14712       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14713     esac
14714   else :
14715     # compilation failed
14716     lt_cv_dlopen_self_static=no
14717   fi
14718 fi
14719 rm -fr conftest*
14720
14721
14722 fi
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14724 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14725     fi
14726
14727     CPPFLAGS="$save_CPPFLAGS"
14728     LDFLAGS="$save_LDFLAGS"
14729     LIBS="$save_LIBS"
14730     ;;
14731   esac
14732
14733   case $lt_cv_dlopen_self in
14734   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14735   *) enable_dlopen_self=unknown ;;
14736   esac
14737
14738   case $lt_cv_dlopen_self_static in
14739   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14740   *) enable_dlopen_self_static=unknown ;;
14741   esac
14742 fi
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760 striplib=
14761 old_striplib=
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14763 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14764 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14765   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14766   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14768 $as_echo "yes" >&6; }
14769 else
14770 # FIXME - insert some real tests, host_os isn't really good enough
14771   case $host_os in
14772   darwin*)
14773     if test -n "$STRIP" ; then
14774       striplib="$STRIP -x"
14775       old_striplib="$STRIP -S"
14776       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14777 $as_echo "yes" >&6; }
14778     else
14779       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14780 $as_echo "no" >&6; }
14781     fi
14782     ;;
14783   *)
14784     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14785 $as_echo "no" >&6; }
14786     ;;
14787   esac
14788 fi
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801   # Report which library types will actually be built
14802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14803 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14805 $as_echo "$can_build_shared" >&6; }
14806
14807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14808 $as_echo_n "checking whether to build shared libraries... " >&6; }
14809   test "$can_build_shared" = "no" && enable_shared=no
14810
14811   # On AIX, shared libraries and static libraries use the same namespace, and
14812   # are all built from PIC.
14813   case $host_os in
14814   aix3*)
14815     test "$enable_shared" = yes && enable_static=no
14816     if test -n "$RANLIB"; then
14817       archive_cmds="$archive_cmds~\$RANLIB \$lib"
14818       postinstall_cmds='$RANLIB $lib'
14819     fi
14820     ;;
14821
14822   aix[4-9]*)
14823     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14824       test "$enable_shared" = yes && enable_static=no
14825     fi
14826     ;;
14827   esac
14828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14829 $as_echo "$enable_shared" >&6; }
14830
14831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14832 $as_echo_n "checking whether to build static libraries... " >&6; }
14833   # Make sure either enable_shared or enable_static is yes.
14834   test "$enable_shared" = yes || enable_static=yes
14835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14836 $as_echo "$enable_static" >&6; }
14837
14838
14839
14840
14841 fi
14842 ac_ext=c
14843 ac_cpp='$CPP $CPPFLAGS'
14844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14847
14848 CC="$lt_save_CC"
14849
14850       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14851     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14852     (test "X$CXX" != "Xg++"))) ; then
14853   ac_ext=cpp
14854 ac_cpp='$CXXCPP $CPPFLAGS'
14855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14859 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14860 if test -z "$CXXCPP"; then
14861   if ${ac_cv_prog_CXXCPP+:} false; then :
14862   $as_echo_n "(cached) " >&6
14863 else
14864       # Double quotes because CXXCPP needs to be expanded
14865     for CXXCPP in "$CXX -E" "/lib/cpp"
14866     do
14867       ac_preproc_ok=false
14868 for ac_cxx_preproc_warn_flag in '' yes
14869 do
14870   # Use a header file that comes with gcc, so configuring glibc
14871   # with a fresh cross-compiler works.
14872   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14873   # <limits.h> exists even on freestanding compilers.
14874   # On the NeXT, cc -E runs the code through the compiler's parser,
14875   # not just through cpp. "Syntax error" is here to catch this case.
14876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h.  */
14878 #ifdef __STDC__
14879 # include <limits.h>
14880 #else
14881 # include <assert.h>
14882 #endif
14883                      Syntax error
14884 _ACEOF
14885 if ac_fn_cxx_try_cpp "$LINENO"; then :
14886
14887 else
14888   # Broken: fails on valid input.
14889 continue
14890 fi
14891 rm -f conftest.err conftest.i conftest.$ac_ext
14892
14893   # OK, works on sane cases.  Now check whether nonexistent headers
14894   # can be detected and how.
14895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14896 /* end confdefs.h.  */
14897 #include <ac_nonexistent.h>
14898 _ACEOF
14899 if ac_fn_cxx_try_cpp "$LINENO"; then :
14900   # Broken: success on invalid input.
14901 continue
14902 else
14903   # Passes both tests.
14904 ac_preproc_ok=:
14905 break
14906 fi
14907 rm -f conftest.err conftest.i conftest.$ac_ext
14908
14909 done
14910 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14911 rm -f conftest.i conftest.err conftest.$ac_ext
14912 if $ac_preproc_ok; then :
14913   break
14914 fi
14915
14916     done
14917     ac_cv_prog_CXXCPP=$CXXCPP
14918
14919 fi
14920   CXXCPP=$ac_cv_prog_CXXCPP
14921 else
14922   ac_cv_prog_CXXCPP=$CXXCPP
14923 fi
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14925 $as_echo "$CXXCPP" >&6; }
14926 ac_preproc_ok=false
14927 for ac_cxx_preproc_warn_flag in '' yes
14928 do
14929   # Use a header file that comes with gcc, so configuring glibc
14930   # with a fresh cross-compiler works.
14931   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14932   # <limits.h> exists even on freestanding compilers.
14933   # On the NeXT, cc -E runs the code through the compiler's parser,
14934   # not just through cpp. "Syntax error" is here to catch this case.
14935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h.  */
14937 #ifdef __STDC__
14938 # include <limits.h>
14939 #else
14940 # include <assert.h>
14941 #endif
14942                      Syntax error
14943 _ACEOF
14944 if ac_fn_cxx_try_cpp "$LINENO"; then :
14945
14946 else
14947   # Broken: fails on valid input.
14948 continue
14949 fi
14950 rm -f conftest.err conftest.i conftest.$ac_ext
14951
14952   # OK, works on sane cases.  Now check whether nonexistent headers
14953   # can be detected and how.
14954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h.  */
14956 #include <ac_nonexistent.h>
14957 _ACEOF
14958 if ac_fn_cxx_try_cpp "$LINENO"; then :
14959   # Broken: success on invalid input.
14960 continue
14961 else
14962   # Passes both tests.
14963 ac_preproc_ok=:
14964 break
14965 fi
14966 rm -f conftest.err conftest.i conftest.$ac_ext
14967
14968 done
14969 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14970 rm -f conftest.i conftest.err conftest.$ac_ext
14971 if $ac_preproc_ok; then :
14972
14973 else
14974   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14976 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14977 See \`config.log' for more details" "$LINENO" 5; }
14978 fi
14979
14980 ac_ext=c
14981 ac_cpp='$CPP $CPPFLAGS'
14982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14985
14986 else
14987   _lt_caught_CXX_error=yes
14988 fi
14989
14990 ac_ext=cpp
14991 ac_cpp='$CXXCPP $CPPFLAGS'
14992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14995
14996 archive_cmds_need_lc_CXX=no
14997 allow_undefined_flag_CXX=
14998 always_export_symbols_CXX=no
14999 archive_expsym_cmds_CXX=
15000 compiler_needs_object_CXX=no
15001 export_dynamic_flag_spec_CXX=
15002 hardcode_direct_CXX=no
15003 hardcode_direct_absolute_CXX=no
15004 hardcode_libdir_flag_spec_CXX=
15005 hardcode_libdir_separator_CXX=
15006 hardcode_minus_L_CXX=no
15007 hardcode_shlibpath_var_CXX=unsupported
15008 hardcode_automatic_CXX=no
15009 inherit_rpath_CXX=no
15010 module_cmds_CXX=
15011 module_expsym_cmds_CXX=
15012 link_all_deplibs_CXX=unknown
15013 old_archive_cmds_CXX=$old_archive_cmds
15014 reload_flag_CXX=$reload_flag
15015 reload_cmds_CXX=$reload_cmds
15016 no_undefined_flag_CXX=
15017 whole_archive_flag_spec_CXX=
15018 enable_shared_with_static_runtimes_CXX=no
15019
15020 # Source file extension for C++ test sources.
15021 ac_ext=cpp
15022
15023 # Object file extension for compiled C++ test sources.
15024 objext=o
15025 objext_CXX=$objext
15026
15027 # No sense in running all these tests if we already determined that
15028 # the CXX compiler isn't working.  Some variables (like enable_shared)
15029 # are currently assumed to apply to all compilers on this platform,
15030 # and will be corrupted by setting them based on a non-working compiler.
15031 if test "$_lt_caught_CXX_error" != yes; then
15032   # Code to be used in simple compile tests
15033   lt_simple_compile_test_code="int some_variable = 0;"
15034
15035   # Code to be used in simple link tests
15036   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15037
15038   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15039
15040
15041
15042
15043
15044
15045 # If no C compiler was specified, use CC.
15046 LTCC=${LTCC-"$CC"}
15047
15048 # If no C compiler flags were specified, use CFLAGS.
15049 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15050
15051 # Allow CC to be a program name with arguments.
15052 compiler=$CC
15053
15054
15055   # save warnings/boilerplate of simple test code
15056   ac_outfile=conftest.$ac_objext
15057 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15058 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15059 _lt_compiler_boilerplate=`cat conftest.err`
15060 $RM conftest*
15061
15062   ac_outfile=conftest.$ac_objext
15063 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15064 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15065 _lt_linker_boilerplate=`cat conftest.err`
15066 $RM -r conftest*
15067
15068
15069   # Allow CC to be a program name with arguments.
15070   lt_save_CC=$CC
15071   lt_save_CFLAGS=$CFLAGS
15072   lt_save_LD=$LD
15073   lt_save_GCC=$GCC
15074   GCC=$GXX
15075   lt_save_with_gnu_ld=$with_gnu_ld
15076   lt_save_path_LD=$lt_cv_path_LD
15077   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15078     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15079   else
15080     $as_unset lt_cv_prog_gnu_ld
15081   fi
15082   if test -n "${lt_cv_path_LDCXX+set}"; then
15083     lt_cv_path_LD=$lt_cv_path_LDCXX
15084   else
15085     $as_unset lt_cv_path_LD
15086   fi
15087   test -z "${LDCXX+set}" || LD=$LDCXX
15088   CC=${CXX-"c++"}
15089   CFLAGS=$CXXFLAGS
15090   compiler=$CC
15091   compiler_CXX=$CC
15092   for cc_temp in $compiler""; do
15093   case $cc_temp in
15094     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15095     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15096     \-*) ;;
15097     *) break;;
15098   esac
15099 done
15100 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15101
15102
15103   if test -n "$compiler"; then
15104     # We don't want -fno-exception when compiling C++ code, so set the
15105     # no_builtin_flag separately
15106     if test "$GXX" = yes; then
15107       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15108     else
15109       lt_prog_compiler_no_builtin_flag_CXX=
15110     fi
15111
15112     if test "$GXX" = yes; then
15113       # Set up default GNU C++ configuration
15114
15115
15116
15117 # Check whether --with-gnu-ld was given.
15118 if test "${with_gnu_ld+set}" = set; then :
15119   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15120 else
15121   with_gnu_ld=no
15122 fi
15123
15124 ac_prog=ld
15125 if test "$GCC" = yes; then
15126   # Check if gcc -print-prog-name=ld gives a path.
15127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15128 $as_echo_n "checking for ld used by $CC... " >&6; }
15129   case $host in
15130   *-*-mingw*)
15131     # gcc leaves a trailing carriage return which upsets mingw
15132     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15133   *)
15134     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15135   esac
15136   case $ac_prog in
15137     # Accept absolute paths.
15138     [\\/]* | ?:[\\/]*)
15139       re_direlt='/[^/][^/]*/\.\./'
15140       # Canonicalize the pathname of ld
15141       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15142       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15143         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15144       done
15145       test -z "$LD" && LD="$ac_prog"
15146       ;;
15147   "")
15148     # If it fails, then pretend we aren't using GCC.
15149     ac_prog=ld
15150     ;;
15151   *)
15152     # If it is relative, then search for the first ld in PATH.
15153     with_gnu_ld=unknown
15154     ;;
15155   esac
15156 elif test "$with_gnu_ld" = yes; then
15157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15158 $as_echo_n "checking for GNU ld... " >&6; }
15159 else
15160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15161 $as_echo_n "checking for non-GNU ld... " >&6; }
15162 fi
15163 if ${lt_cv_path_LD+:} false; then :
15164   $as_echo_n "(cached) " >&6
15165 else
15166   if test -z "$LD"; then
15167   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15168   for ac_dir in $PATH; do
15169     IFS="$lt_save_ifs"
15170     test -z "$ac_dir" && ac_dir=.
15171     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15172       lt_cv_path_LD="$ac_dir/$ac_prog"
15173       # Check to see if the program is GNU ld.  I'd rather use --version,
15174       # but apparently some variants of GNU ld only accept -v.
15175       # Break only if it was the GNU/non-GNU ld that we prefer.
15176       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15177       *GNU* | *'with BFD'*)
15178         test "$with_gnu_ld" != no && break
15179         ;;
15180       *)
15181         test "$with_gnu_ld" != yes && break
15182         ;;
15183       esac
15184     fi
15185   done
15186   IFS="$lt_save_ifs"
15187 else
15188   lt_cv_path_LD="$LD" # Let the user override the test with a path.
15189 fi
15190 fi
15191
15192 LD="$lt_cv_path_LD"
15193 if test -n "$LD"; then
15194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15195 $as_echo "$LD" >&6; }
15196 else
15197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15198 $as_echo "no" >&6; }
15199 fi
15200 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15202 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15203 if ${lt_cv_prog_gnu_ld+:} false; then :
15204   $as_echo_n "(cached) " >&6
15205 else
15206   # I'd rather use --version here, but apparently some GNU lds only accept -v.
15207 case `$LD -v 2>&1 </dev/null` in
15208 *GNU* | *'with BFD'*)
15209   lt_cv_prog_gnu_ld=yes
15210   ;;
15211 *)
15212   lt_cv_prog_gnu_ld=no
15213   ;;
15214 esac
15215 fi
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15217 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15218 with_gnu_ld=$lt_cv_prog_gnu_ld
15219
15220
15221
15222
15223
15224
15225
15226       # Check if GNU C++ uses GNU ld as the underlying linker, since the
15227       # archiving commands below assume that GNU ld is being used.
15228       if test "$with_gnu_ld" = yes; then
15229         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15230         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'
15231
15232         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15233         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15234
15235         # If archive_cmds runs LD, not CC, wlarc should be empty
15236         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15237         #     investigate it a little bit more. (MM)
15238         wlarc='${wl}'
15239
15240         # ancient GNU ld didn't support --whole-archive et. al.
15241         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15242           $GREP 'no-whole-archive' > /dev/null; then
15243           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15244         else
15245           whole_archive_flag_spec_CXX=
15246         fi
15247       else
15248         with_gnu_ld=no
15249         wlarc=
15250
15251         # A generic and very simple default shared library creation
15252         # command for GNU C++ for the case where it uses the native
15253         # linker, instead of GNU ld.  If possible, this setting should
15254         # overridden to take advantage of the native linker features on
15255         # the platform it is being used on.
15256         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15257       fi
15258
15259       # Commands to make compiler produce verbose output that lists
15260       # what "hidden" libraries, object files and flags are used when
15261       # linking a shared library.
15262       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15263
15264     else
15265       GXX=no
15266       with_gnu_ld=no
15267       wlarc=
15268     fi
15269
15270     # PORTME: fill in a description of your system's C++ link characteristics
15271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15272 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15273     ld_shlibs_CXX=yes
15274     case $host_os in
15275       aix3*)
15276         # FIXME: insert proper C++ library support
15277         ld_shlibs_CXX=no
15278         ;;
15279       aix[4-9]*)
15280         if test "$host_cpu" = ia64; then
15281           # On IA64, the linker does run time linking by default, so we don't
15282           # have to do anything special.
15283           aix_use_runtimelinking=no
15284           exp_sym_flag='-Bexport'
15285           no_entry_flag=""
15286         else
15287           aix_use_runtimelinking=no
15288
15289           # Test if we are trying to use run time linking or normal
15290           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15291           # need to do runtime linking.
15292           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15293             for ld_flag in $LDFLAGS; do
15294               case $ld_flag in
15295               *-brtl*)
15296                 aix_use_runtimelinking=yes
15297                 break
15298                 ;;
15299               esac
15300             done
15301             ;;
15302           esac
15303
15304           exp_sym_flag='-bexport'
15305           no_entry_flag='-bnoentry'
15306         fi
15307
15308         # When large executables or shared objects are built, AIX ld can
15309         # have problems creating the table of contents.  If linking a library
15310         # or program results in "error TOC overflow" add -mminimal-toc to
15311         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15312         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15313
15314         archive_cmds_CXX=''
15315         hardcode_direct_CXX=yes
15316         hardcode_direct_absolute_CXX=yes
15317         hardcode_libdir_separator_CXX=':'
15318         link_all_deplibs_CXX=yes
15319         file_list_spec_CXX='${wl}-f,'
15320
15321         if test "$GXX" = yes; then
15322           case $host_os in aix4.[012]|aix4.[012].*)
15323           # We only want to do this on AIX 4.2 and lower, the check
15324           # below for broken collect2 doesn't work under 4.3+
15325           collect2name=`${CC} -print-prog-name=collect2`
15326           if test -f "$collect2name" &&
15327              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15328           then
15329             # We have reworked collect2
15330             :
15331           else
15332             # We have old collect2
15333             hardcode_direct_CXX=unsupported
15334             # It fails to find uninstalled libraries when the uninstalled
15335             # path is not listed in the libpath.  Setting hardcode_minus_L
15336             # to unsupported forces relinking
15337             hardcode_minus_L_CXX=yes
15338             hardcode_libdir_flag_spec_CXX='-L$libdir'
15339             hardcode_libdir_separator_CXX=
15340           fi
15341           esac
15342           shared_flag='-shared'
15343           if test "$aix_use_runtimelinking" = yes; then
15344             shared_flag="$shared_flag "'${wl}-G'
15345           fi
15346         else
15347           # not using gcc
15348           if test "$host_cpu" = ia64; then
15349           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15350           # chokes on -Wl,-G. The following line is correct:
15351           shared_flag='-G'
15352           else
15353             if test "$aix_use_runtimelinking" = yes; then
15354               shared_flag='${wl}-G'
15355             else
15356               shared_flag='${wl}-bM:SRE'
15357             fi
15358           fi
15359         fi
15360
15361         export_dynamic_flag_spec_CXX='${wl}-bexpall'
15362         # It seems that -bexpall does not export symbols beginning with
15363         # underscore (_), so it is better to generate a list of symbols to
15364         # export.
15365         always_export_symbols_CXX=yes
15366         if test "$aix_use_runtimelinking" = yes; then
15367           # Warning - without using the other runtime loading flags (-brtl),
15368           # -berok will link without error, but may produce a broken library.
15369           allow_undefined_flag_CXX='-berok'
15370           # Determine the default libpath from the value encoded in an empty
15371           # executable.
15372           if test "${lt_cv_aix_libpath+set}" = set; then
15373   aix_libpath=$lt_cv_aix_libpath
15374 else
15375   if ${lt_cv_aix_libpath__CXX+:} false; then :
15376   $as_echo_n "(cached) " >&6
15377 else
15378   if test x$ac_no_link = xyes; then
15379   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
15380 fi
15381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h.  */
15383
15384 int
15385 main ()
15386 {
15387
15388   ;
15389   return 0;
15390 }
15391 _ACEOF
15392 if ac_fn_cxx_try_link "$LINENO"; then :
15393
15394   lt_aix_libpath_sed='
15395       /Import File Strings/,/^$/ {
15396           /^0/ {
15397               s/^0  *\([^ ]*\) *$/\1/
15398               p
15399           }
15400       }'
15401   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15402   # Check for a 64-bit object if we didn't find anything.
15403   if test -z "$lt_cv_aix_libpath__CXX"; then
15404     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15405   fi
15406 fi
15407 rm -f core conftest.err conftest.$ac_objext \
15408     conftest$ac_exeext conftest.$ac_ext
15409   if test -z "$lt_cv_aix_libpath__CXX"; then
15410     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15411   fi
15412
15413 fi
15414
15415   aix_libpath=$lt_cv_aix_libpath__CXX
15416 fi
15417
15418           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15419
15420           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15421         else
15422           if test "$host_cpu" = ia64; then
15423             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15424             allow_undefined_flag_CXX="-z nodefs"
15425             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"
15426           else
15427             # Determine the default libpath from the value encoded in an
15428             # empty executable.
15429             if test "${lt_cv_aix_libpath+set}" = set; then
15430   aix_libpath=$lt_cv_aix_libpath
15431 else
15432   if ${lt_cv_aix_libpath__CXX+:} false; then :
15433   $as_echo_n "(cached) " >&6
15434 else
15435   if test x$ac_no_link = xyes; then
15436   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
15437 fi
15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h.  */
15440
15441 int
15442 main ()
15443 {
15444
15445   ;
15446   return 0;
15447 }
15448 _ACEOF
15449 if ac_fn_cxx_try_link "$LINENO"; then :
15450
15451   lt_aix_libpath_sed='
15452       /Import File Strings/,/^$/ {
15453           /^0/ {
15454               s/^0  *\([^ ]*\) *$/\1/
15455               p
15456           }
15457       }'
15458   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15459   # Check for a 64-bit object if we didn't find anything.
15460   if test -z "$lt_cv_aix_libpath__CXX"; then
15461     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15462   fi
15463 fi
15464 rm -f core conftest.err conftest.$ac_objext \
15465     conftest$ac_exeext conftest.$ac_ext
15466   if test -z "$lt_cv_aix_libpath__CXX"; then
15467     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15468   fi
15469
15470 fi
15471
15472   aix_libpath=$lt_cv_aix_libpath__CXX
15473 fi
15474
15475             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15476             # Warning - without using the other run time loading flags,
15477             # -berok will link without error, but may produce a broken library.
15478             no_undefined_flag_CXX=' ${wl}-bernotok'
15479             allow_undefined_flag_CXX=' ${wl}-berok'
15480             if test "$with_gnu_ld" = yes; then
15481               # We only use this code for GNU lds that support --whole-archive.
15482               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15483             else
15484               # Exported symbols can be pulled into shared objects from archives
15485               whole_archive_flag_spec_CXX='$convenience'
15486             fi
15487             archive_cmds_need_lc_CXX=yes
15488             # This is similar to how AIX traditionally builds its shared
15489             # libraries.
15490             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15491           fi
15492         fi
15493         ;;
15494
15495       beos*)
15496         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15497           allow_undefined_flag_CXX=unsupported
15498           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15499           # support --undefined.  This deserves some investigation.  FIXME
15500           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15501         else
15502           ld_shlibs_CXX=no
15503         fi
15504         ;;
15505
15506       chorus*)
15507         case $cc_basename in
15508           *)
15509           # FIXME: insert proper C++ library support
15510           ld_shlibs_CXX=no
15511           ;;
15512         esac
15513         ;;
15514
15515       cygwin* | mingw* | pw32* | cegcc*)
15516         case $GXX,$cc_basename in
15517         ,cl* | no,cl*)
15518           # Native MSVC
15519           # hardcode_libdir_flag_spec is actually meaningless, as there is
15520           # no search path for DLLs.
15521           hardcode_libdir_flag_spec_CXX=' '
15522           allow_undefined_flag_CXX=unsupported
15523           always_export_symbols_CXX=yes
15524           file_list_spec_CXX='@'
15525           # Tell ltmain to make .lib files, not .a files.
15526           libext=lib
15527           # Tell ltmain to make .dll files, not .so files.
15528           shrext_cmds=".dll"
15529           # FIXME: Setting linknames here is a bad hack.
15530           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15531           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15532               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15533             else
15534               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15535             fi~
15536             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15537             linknames='
15538           # The linker will not automatically build a static lib if we build a DLL.
15539           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15540           enable_shared_with_static_runtimes_CXX=yes
15541           # Don't use ranlib
15542           old_postinstall_cmds_CXX='chmod 644 $oldlib'
15543           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15544             lt_tool_outputfile="@TOOL_OUTPUT@"~
15545             case $lt_outputfile in
15546               *.exe|*.EXE) ;;
15547               *)
15548                 lt_outputfile="$lt_outputfile.exe"
15549                 lt_tool_outputfile="$lt_tool_outputfile.exe"
15550                 ;;
15551             esac~
15552             func_to_tool_file "$lt_outputfile"~
15553             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15554               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15555               $RM "$lt_outputfile.manifest";
15556             fi'
15557           ;;
15558         *)
15559           # g++
15560           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15561           # as there is no search path for DLLs.
15562           hardcode_libdir_flag_spec_CXX='-L$libdir'
15563           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15564           allow_undefined_flag_CXX=unsupported
15565           always_export_symbols_CXX=no
15566           enable_shared_with_static_runtimes_CXX=yes
15567
15568           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15569             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'
15570             # If the export-symbols file already is a .def file (1st line
15571             # is EXPORTS), use it as is; otherwise, prepend...
15572             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15573               cp $export_symbols $output_objdir/$soname.def;
15574             else
15575               echo EXPORTS > $output_objdir/$soname.def;
15576               cat $export_symbols >> $output_objdir/$soname.def;
15577             fi~
15578             $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'
15579           else
15580             ld_shlibs_CXX=no
15581           fi
15582           ;;
15583         esac
15584         ;;
15585       darwin* | rhapsody*)
15586
15587
15588   archive_cmds_need_lc_CXX=no
15589   hardcode_direct_CXX=no
15590   hardcode_automatic_CXX=yes
15591   hardcode_shlibpath_var_CXX=unsupported
15592   if test "$lt_cv_ld_force_load" = "yes"; then
15593     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\"`'
15594
15595   else
15596     whole_archive_flag_spec_CXX=''
15597   fi
15598   link_all_deplibs_CXX=yes
15599   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15600   case $cc_basename in
15601      ifort*) _lt_dar_can_shared=yes ;;
15602      *) _lt_dar_can_shared=$GCC ;;
15603   esac
15604   if test "$_lt_dar_can_shared" = "yes"; then
15605     output_verbose_link_cmd=func_echo_all
15606     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}"
15607     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15608     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}"
15609     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}"
15610        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15611       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}"
15612       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}"
15613     fi
15614
15615   else
15616   ld_shlibs_CXX=no
15617   fi
15618
15619         ;;
15620
15621       dgux*)
15622         case $cc_basename in
15623           ec++*)
15624             # FIXME: insert proper C++ library support
15625             ld_shlibs_CXX=no
15626             ;;
15627           ghcx*)
15628             # Green Hills C++ Compiler
15629             # FIXME: insert proper C++ library support
15630             ld_shlibs_CXX=no
15631             ;;
15632           *)
15633             # FIXME: insert proper C++ library support
15634             ld_shlibs_CXX=no
15635             ;;
15636         esac
15637         ;;
15638
15639       freebsd2.*)
15640         # C++ shared libraries reported to be fairly broken before
15641         # switch to ELF
15642         ld_shlibs_CXX=no
15643         ;;
15644
15645       freebsd-elf*)
15646         archive_cmds_need_lc_CXX=no
15647         ;;
15648
15649       freebsd* | dragonfly*)
15650         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15651         # conventions
15652         ld_shlibs_CXX=yes
15653         ;;
15654
15655       gnu*)
15656         ;;
15657
15658       haiku*)
15659         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15660         link_all_deplibs_CXX=yes
15661         ;;
15662
15663       hpux9*)
15664         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15665         hardcode_libdir_separator_CXX=:
15666         export_dynamic_flag_spec_CXX='${wl}-E'
15667         hardcode_direct_CXX=yes
15668         hardcode_minus_L_CXX=yes # Not in the search PATH,
15669                                              # but as the default
15670                                              # location of the library.
15671
15672         case $cc_basename in
15673           CC*)
15674             # FIXME: insert proper C++ library support
15675             ld_shlibs_CXX=no
15676             ;;
15677           aCC*)
15678             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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15679             # Commands to make compiler produce verbose output that lists
15680             # what "hidden" libraries, object files and flags are used when
15681             # linking a shared library.
15682             #
15683             # There doesn't appear to be a way to prevent this compiler from
15684             # explicitly linking system object files so we need to strip them
15685             # from the output so that they don't get included in the library
15686             # dependencies.
15687             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"'
15688             ;;
15689           *)
15690             if test "$GXX" = yes; then
15691               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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15692             else
15693               # FIXME: insert proper C++ library support
15694               ld_shlibs_CXX=no
15695             fi
15696             ;;
15697         esac
15698         ;;
15699
15700       hpux10*|hpux11*)
15701         if test $with_gnu_ld = no; then
15702           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15703           hardcode_libdir_separator_CXX=:
15704
15705           case $host_cpu in
15706             hppa*64*|ia64*)
15707               ;;
15708             *)
15709               export_dynamic_flag_spec_CXX='${wl}-E'
15710               ;;
15711           esac
15712         fi
15713         case $host_cpu in
15714           hppa*64*|ia64*)
15715             hardcode_direct_CXX=no
15716             hardcode_shlibpath_var_CXX=no
15717             ;;
15718           *)
15719             hardcode_direct_CXX=yes
15720             hardcode_direct_absolute_CXX=yes
15721             hardcode_minus_L_CXX=yes # Not in the search PATH,
15722                                                  # but as the default
15723                                                  # location of the library.
15724             ;;
15725         esac
15726
15727         case $cc_basename in
15728           CC*)
15729             # FIXME: insert proper C++ library support
15730             ld_shlibs_CXX=no
15731             ;;
15732           aCC*)
15733             case $host_cpu in
15734               hppa*64*)
15735                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15736                 ;;
15737               ia64*)
15738                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15739                 ;;
15740               *)
15741                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15742                 ;;
15743             esac
15744             # Commands to make compiler produce verbose output that lists
15745             # what "hidden" libraries, object files and flags are used when
15746             # linking a shared library.
15747             #
15748             # There doesn't appear to be a way to prevent this compiler from
15749             # explicitly linking system object files so we need to strip them
15750             # from the output so that they don't get included in the library
15751             # dependencies.
15752             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"'
15753             ;;
15754           *)
15755             if test "$GXX" = yes; then
15756               if test $with_gnu_ld = no; then
15757                 case $host_cpu in
15758                   hppa*64*)
15759                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15760                     ;;
15761                   ia64*)
15762                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15763                     ;;
15764                   *)
15765                     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'
15766                     ;;
15767                 esac
15768               fi
15769             else
15770               # FIXME: insert proper C++ library support
15771               ld_shlibs_CXX=no
15772             fi
15773             ;;
15774         esac
15775         ;;
15776
15777       interix[3-9]*)
15778         hardcode_direct_CXX=no
15779         hardcode_shlibpath_var_CXX=no
15780         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15781         export_dynamic_flag_spec_CXX='${wl}-E'
15782         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15783         # Instead, shared libraries are loaded at an image base (0x10000000 by
15784         # default) and relocated if they conflict, which is a slow very memory
15785         # consuming and fragmenting process.  To avoid this, we pick a random,
15786         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15787         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15788         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'
15789         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'
15790         ;;
15791       irix5* | irix6*)
15792         case $cc_basename in
15793           CC*)
15794             # SGI C++
15795             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'
15796
15797             # Archives containing C++ object files must be created using
15798             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15799             # necessary to make sure instantiated templates are included
15800             # in the archive.
15801             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15802             ;;
15803           *)
15804             if test "$GXX" = yes; then
15805               if test "$with_gnu_ld" = no; then
15806                 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'
15807               else
15808                 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'
15809               fi
15810             fi
15811             link_all_deplibs_CXX=yes
15812             ;;
15813         esac
15814         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15815         hardcode_libdir_separator_CXX=:
15816         inherit_rpath_CXX=yes
15817         ;;
15818
15819       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15820         case $cc_basename in
15821           KCC*)
15822             # Kuck and Associates, Inc. (KAI) C++ Compiler
15823
15824             # KCC will only create a shared library if the output file
15825             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15826             # to its proper name (with version) after linking.
15827             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'
15828             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'
15829             # Commands to make compiler produce verbose output that lists
15830             # what "hidden" libraries, object files and flags are used when
15831             # linking a shared library.
15832             #
15833             # There doesn't appear to be a way to prevent this compiler from
15834             # explicitly linking system object files so we need to strip them
15835             # from the output so that they don't get included in the library
15836             # dependencies.
15837             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"'
15838
15839             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15840             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15841
15842             # Archives containing C++ object files must be created using
15843             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15844             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15845             ;;
15846           icpc* | ecpc* )
15847             # Intel C++
15848             with_gnu_ld=yes
15849             # version 8.0 and above of icpc choke on multiply defined symbols
15850             # if we add $predep_objects and $postdep_objects, however 7.1 and
15851             # earlier do not add the objects themselves.
15852             case `$CC -V 2>&1` in
15853               *"Version 7."*)
15854                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15855                 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'
15856                 ;;
15857               *)  # Version 8.0 or newer
15858                 tmp_idyn=
15859                 case $host_cpu in
15860                   ia64*) tmp_idyn=' -i_dynamic';;
15861                 esac
15862                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15863                 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'
15864                 ;;
15865             esac
15866             archive_cmds_need_lc_CXX=no
15867             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15868             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15869             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15870             ;;
15871           pgCC* | pgcpp*)
15872             # Portland Group C++ compiler
15873             case `$CC -V` in
15874             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15875               prelink_cmds_CXX='tpldir=Template.dir~
15876                 rm -rf $tpldir~
15877                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15878                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15879               old_archive_cmds_CXX='tpldir=Template.dir~
15880                 rm -rf $tpldir~
15881                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15882                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15883                 $RANLIB $oldlib'
15884               archive_cmds_CXX='tpldir=Template.dir~
15885                 rm -rf $tpldir~
15886                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15887                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15888               archive_expsym_cmds_CXX='tpldir=Template.dir~
15889                 rm -rf $tpldir~
15890                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15891                 $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'
15892               ;;
15893             *) # Version 6 and above use weak symbols
15894               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15895               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'
15896               ;;
15897             esac
15898
15899             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15900             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15901             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'
15902             ;;
15903           cxx*)
15904             # Compaq C++
15905             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15906             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'
15907
15908             runpath_var=LD_RUN_PATH
15909             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15910             hardcode_libdir_separator_CXX=:
15911
15912             # Commands to make compiler produce verbose output that lists
15913             # what "hidden" libraries, object files and flags are used when
15914             # linking a shared library.
15915             #
15916             # There doesn't appear to be a way to prevent this compiler from
15917             # explicitly linking system object files so we need to strip them
15918             # from the output so that they don't get included in the library
15919             # dependencies.
15920             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'
15921             ;;
15922           xl* | mpixl* | bgxl*)
15923             # IBM XL 8.0 on PPC, with GNU ld
15924             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15925             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15926             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15927             if test "x$supports_anon_versioning" = xyes; then
15928               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15929                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15930                 echo "local: *; };" >> $output_objdir/$libname.ver~
15931                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15932             fi
15933             ;;
15934           *)
15935             case `$CC -V 2>&1 | sed 5q` in
15936             *Sun\ C*)
15937               # Sun C++ 5.9
15938               no_undefined_flag_CXX=' -zdefs'
15939               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15940               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'
15941               hardcode_libdir_flag_spec_CXX='-R$libdir'
15942               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'
15943               compiler_needs_object_CXX=yes
15944
15945               # Not sure whether something based on
15946               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15947               # would be better.
15948               output_verbose_link_cmd='func_echo_all'
15949
15950               # Archives containing C++ object files must be created using
15951               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15952               # necessary to make sure instantiated templates are included
15953               # in the archive.
15954               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15955               ;;
15956             esac
15957             ;;
15958         esac
15959         ;;
15960
15961       lynxos*)
15962         # FIXME: insert proper C++ library support
15963         ld_shlibs_CXX=no
15964         ;;
15965
15966       m88k*)
15967         # FIXME: insert proper C++ library support
15968         ld_shlibs_CXX=no
15969         ;;
15970
15971       mvs*)
15972         case $cc_basename in
15973           cxx*)
15974             # FIXME: insert proper C++ library support
15975             ld_shlibs_CXX=no
15976             ;;
15977           *)
15978             # FIXME: insert proper C++ library support
15979             ld_shlibs_CXX=no
15980             ;;
15981         esac
15982         ;;
15983
15984       netbsd*)
15985         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15986           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15987           wlarc=
15988           hardcode_libdir_flag_spec_CXX='-R$libdir'
15989           hardcode_direct_CXX=yes
15990           hardcode_shlibpath_var_CXX=no
15991         fi
15992         # Workaround some broken pre-1.5 toolchains
15993         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15994         ;;
15995
15996       *nto* | *qnx*)
15997         ld_shlibs_CXX=yes
15998         ;;
15999
16000       openbsd2*)
16001         # C++ shared libraries are fairly broken
16002         ld_shlibs_CXX=no
16003         ;;
16004
16005       openbsd*)
16006         if test -f /usr/libexec/ld.so; then
16007           hardcode_direct_CXX=yes
16008           hardcode_shlibpath_var_CXX=no
16009           hardcode_direct_absolute_CXX=yes
16010           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16011           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16012           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16013             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16014             export_dynamic_flag_spec_CXX='${wl}-E'
16015             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16016           fi
16017           output_verbose_link_cmd=func_echo_all
16018         else
16019           ld_shlibs_CXX=no
16020         fi
16021         ;;
16022
16023       osf3* | osf4* | osf5*)
16024         case $cc_basename in
16025           KCC*)
16026             # Kuck and Associates, Inc. (KAI) C++ Compiler
16027
16028             # KCC will only create a shared library if the output file
16029             # ends with ".so" (or ".sl" for HP-UX), so rename the library
16030             # to its proper name (with version) after linking.
16031             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'
16032
16033             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16034             hardcode_libdir_separator_CXX=:
16035
16036             # Archives containing C++ object files must be created using
16037             # the KAI C++ compiler.
16038             case $host in
16039               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16040               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16041             esac
16042             ;;
16043           RCC*)
16044             # Rational C++ 2.4.1
16045             # FIXME: insert proper C++ library support
16046             ld_shlibs_CXX=no
16047             ;;
16048           cxx*)
16049             case $host in
16050               osf3*)
16051                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16052                 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'
16053                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16054                 ;;
16055               *)
16056                 allow_undefined_flag_CXX=' -expect_unresolved \*'
16057                 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'
16058                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16059                   echo "-hidden">> $lib.exp~
16060                   $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~
16061                   $RM $lib.exp'
16062                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16063                 ;;
16064             esac
16065
16066             hardcode_libdir_separator_CXX=:
16067
16068             # Commands to make compiler produce verbose output that lists
16069             # what "hidden" libraries, object files and flags are used when
16070             # linking a shared library.
16071             #
16072             # There doesn't appear to be a way to prevent this compiler from
16073             # explicitly linking system object files so we need to strip them
16074             # from the output so that they don't get included in the library
16075             # dependencies.
16076             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"'
16077             ;;
16078           *)
16079             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16080               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16081               case $host in
16082                 osf3*)
16083                   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'
16084                   ;;
16085                 *)
16086                   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'
16087                   ;;
16088               esac
16089
16090               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16091               hardcode_libdir_separator_CXX=:
16092
16093               # Commands to make compiler produce verbose output that lists
16094               # what "hidden" libraries, object files and flags are used when
16095               # linking a shared library.
16096               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16097
16098             else
16099               # FIXME: insert proper C++ library support
16100               ld_shlibs_CXX=no
16101             fi
16102             ;;
16103         esac
16104         ;;
16105
16106       psos*)
16107         # FIXME: insert proper C++ library support
16108         ld_shlibs_CXX=no
16109         ;;
16110
16111       sunos4*)
16112         case $cc_basename in
16113           CC*)
16114             # Sun C++ 4.x
16115             # FIXME: insert proper C++ library support
16116             ld_shlibs_CXX=no
16117             ;;
16118           lcc*)
16119             # Lucid
16120             # FIXME: insert proper C++ library support
16121             ld_shlibs_CXX=no
16122             ;;
16123           *)
16124             # FIXME: insert proper C++ library support
16125             ld_shlibs_CXX=no
16126             ;;
16127         esac
16128         ;;
16129
16130       solaris*)
16131         case $cc_basename in
16132           CC* | sunCC*)
16133             # Sun C++ 4.2, 5.x and Centerline C++
16134             archive_cmds_need_lc_CXX=yes
16135             no_undefined_flag_CXX=' -zdefs'
16136             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16137             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16138               $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'
16139
16140             hardcode_libdir_flag_spec_CXX='-R$libdir'
16141             hardcode_shlibpath_var_CXX=no
16142             case $host_os in
16143               solaris2.[0-5] | solaris2.[0-5].*) ;;
16144               *)
16145                 # The compiler driver will combine and reorder linker options,
16146                 # but understands `-z linker_flag'.
16147                 # Supported since Solaris 2.6 (maybe 2.5.1?)
16148                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16149                 ;;
16150             esac
16151             link_all_deplibs_CXX=yes
16152
16153             output_verbose_link_cmd='func_echo_all'
16154
16155             # Archives containing C++ object files must be created using
16156             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
16157             # necessary to make sure instantiated templates are included
16158             # in the archive.
16159             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16160             ;;
16161           gcx*)
16162             # Green Hills C++ Compiler
16163             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16164
16165             # The C++ compiler must be used to create the archive.
16166             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16167             ;;
16168           *)
16169             # GNU C++ compiler with Solaris linker
16170             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16171               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16172               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16173                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16174                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16175                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16176
16177                 # Commands to make compiler produce verbose output that lists
16178                 # what "hidden" libraries, object files and flags are used when
16179                 # linking a shared library.
16180                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16181               else
16182                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16183                 # platform.
16184                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16185                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16186                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16187
16188                 # Commands to make compiler produce verbose output that lists
16189                 # what "hidden" libraries, object files and flags are used when
16190                 # linking a shared library.
16191                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16192               fi
16193
16194               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16195               case $host_os in
16196                 solaris2.[0-5] | solaris2.[0-5].*) ;;
16197                 *)
16198                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16199                   ;;
16200               esac
16201             fi
16202             ;;
16203         esac
16204         ;;
16205
16206     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16207       no_undefined_flag_CXX='${wl}-z,text'
16208       archive_cmds_need_lc_CXX=no
16209       hardcode_shlibpath_var_CXX=no
16210       runpath_var='LD_RUN_PATH'
16211
16212       case $cc_basename in
16213         CC*)
16214           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16215           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16216           ;;
16217         *)
16218           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16219           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16220           ;;
16221       esac
16222       ;;
16223
16224       sysv5* | sco3.2v5* | sco5v6*)
16225         # Note: We can NOT use -z defs as we might desire, because we do not
16226         # link with -lc, and that would cause any symbols used from libc to
16227         # always be unresolved, which means just about no library would
16228         # ever link correctly.  If we're not using GNU ld we use -z text
16229         # though, which does catch some bad symbols but isn't as heavy-handed
16230         # as -z defs.
16231         no_undefined_flag_CXX='${wl}-z,text'
16232         allow_undefined_flag_CXX='${wl}-z,nodefs'
16233         archive_cmds_need_lc_CXX=no
16234         hardcode_shlibpath_var_CXX=no
16235         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
16236         hardcode_libdir_separator_CXX=':'
16237         link_all_deplibs_CXX=yes
16238         export_dynamic_flag_spec_CXX='${wl}-Bexport'
16239         runpath_var='LD_RUN_PATH'
16240
16241         case $cc_basename in
16242           CC*)
16243             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16244             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16245             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16246               '"$old_archive_cmds_CXX"
16247             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16248               '"$reload_cmds_CXX"
16249             ;;
16250           *)
16251             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16252             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16253             ;;
16254         esac
16255       ;;
16256
16257       tandem*)
16258         case $cc_basename in
16259           NCC*)
16260             # NonStop-UX NCC 3.20
16261             # FIXME: insert proper C++ library support
16262             ld_shlibs_CXX=no
16263             ;;
16264           *)
16265             # FIXME: insert proper C++ library support
16266             ld_shlibs_CXX=no
16267             ;;
16268         esac
16269         ;;
16270
16271       vxworks*)
16272         # FIXME: insert proper C++ library support
16273         ld_shlibs_CXX=no
16274         ;;
16275
16276       *)
16277         # FIXME: insert proper C++ library support
16278         ld_shlibs_CXX=no
16279         ;;
16280     esac
16281
16282     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16283 $as_echo "$ld_shlibs_CXX" >&6; }
16284     test "$ld_shlibs_CXX" = no && can_build_shared=no
16285
16286     GCC_CXX="$GXX"
16287     LD_CXX="$LD"
16288
16289     ## CAVEAT EMPTOR:
16290     ## There is no encapsulation within the following macros, do not change
16291     ## the running order or otherwise move them around unless you know exactly
16292     ## what you are doing...
16293     # Dependencies to place before and after the object being linked:
16294 predep_objects_CXX=
16295 postdep_objects_CXX=
16296 predeps_CXX=
16297 postdeps_CXX=
16298 compiler_lib_search_path_CXX=
16299
16300 cat > conftest.$ac_ext <<_LT_EOF
16301 class Foo
16302 {
16303 public:
16304   Foo (void) { a = 0; }
16305 private:
16306   int a;
16307 };
16308 _LT_EOF
16309
16310
16311 _lt_libdeps_save_CFLAGS=$CFLAGS
16312 case "$CC $CFLAGS " in #(
16313 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16314 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16315 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16316 esac
16317
16318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16319   (eval $ac_compile) 2>&5
16320   ac_status=$?
16321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16322   test $ac_status = 0; }; then
16323   # Parse the compiler output and extract the necessary
16324   # objects, libraries and library flags.
16325
16326   # Sentinel used to keep track of whether or not we are before
16327   # the conftest object file.
16328   pre_test_object_deps_done=no
16329
16330   for p in `eval "$output_verbose_link_cmd"`; do
16331     case ${prev}${p} in
16332
16333     -L* | -R* | -l*)
16334        # Some compilers place space between "-{L,R}" and the path.
16335        # Remove the space.
16336        if test $p = "-L" ||
16337           test $p = "-R"; then
16338          prev=$p
16339          continue
16340        fi
16341
16342        # Expand the sysroot to ease extracting the directories later.
16343        if test -z "$prev"; then
16344          case $p in
16345          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16346          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16347          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16348          esac
16349        fi
16350        case $p in
16351        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16352        esac
16353        if test "$pre_test_object_deps_done" = no; then
16354          case ${prev} in
16355          -L | -R)
16356            # Internal compiler library paths should come after those
16357            # provided the user.  The postdeps already come after the
16358            # user supplied libs so there is no need to process them.
16359            if test -z "$compiler_lib_search_path_CXX"; then
16360              compiler_lib_search_path_CXX="${prev}${p}"
16361            else
16362              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16363            fi
16364            ;;
16365          # The "-l" case would never come before the object being
16366          # linked, so don't bother handling this case.
16367          esac
16368        else
16369          if test -z "$postdeps_CXX"; then
16370            postdeps_CXX="${prev}${p}"
16371          else
16372            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16373          fi
16374        fi
16375        prev=
16376        ;;
16377
16378     *.lto.$objext) ;; # Ignore GCC LTO objects
16379     *.$objext)
16380        # This assumes that the test object file only shows up
16381        # once in the compiler output.
16382        if test "$p" = "conftest.$objext"; then
16383          pre_test_object_deps_done=yes
16384          continue
16385        fi
16386
16387        if test "$pre_test_object_deps_done" = no; then
16388          if test -z "$predep_objects_CXX"; then
16389            predep_objects_CXX="$p"
16390          else
16391            predep_objects_CXX="$predep_objects_CXX $p"
16392          fi
16393        else
16394          if test -z "$postdep_objects_CXX"; then
16395            postdep_objects_CXX="$p"
16396          else
16397            postdep_objects_CXX="$postdep_objects_CXX $p"
16398          fi
16399        fi
16400        ;;
16401
16402     *) ;; # Ignore the rest.
16403
16404     esac
16405   done
16406
16407   # Clean up.
16408   rm -f a.out a.exe
16409 else
16410   echo "libtool.m4: error: problem compiling CXX test program"
16411 fi
16412
16413 $RM -f confest.$objext
16414 CFLAGS=$_lt_libdeps_save_CFLAGS
16415
16416 # PORTME: override above test on systems where it is broken
16417 case $host_os in
16418 interix[3-9]*)
16419   # Interix 3.5 installs completely hosed .la files for C++, so rather than
16420   # hack all around it, let's just trust "g++" to DTRT.
16421   predep_objects_CXX=
16422   postdep_objects_CXX=
16423   postdeps_CXX=
16424   ;;
16425
16426 linux*)
16427   case `$CC -V 2>&1 | sed 5q` in
16428   *Sun\ C*)
16429     # Sun C++ 5.9
16430
16431     # The more standards-conforming stlport4 library is
16432     # incompatible with the Cstd library. Avoid specifying
16433     # it if it's in CXXFLAGS. Ignore libCrun as
16434     # -library=stlport4 depends on it.
16435     case " $CXX $CXXFLAGS " in
16436     *" -library=stlport4 "*)
16437       solaris_use_stlport4=yes
16438       ;;
16439     esac
16440
16441     if test "$solaris_use_stlport4" != yes; then
16442       postdeps_CXX='-library=Cstd -library=Crun'
16443     fi
16444     ;;
16445   esac
16446   ;;
16447
16448 solaris*)
16449   case $cc_basename in
16450   CC* | sunCC*)
16451     # The more standards-conforming stlport4 library is
16452     # incompatible with the Cstd library. Avoid specifying
16453     # it if it's in CXXFLAGS. Ignore libCrun as
16454     # -library=stlport4 depends on it.
16455     case " $CXX $CXXFLAGS " in
16456     *" -library=stlport4 "*)
16457       solaris_use_stlport4=yes
16458       ;;
16459     esac
16460
16461     # Adding this requires a known-good setup of shared libraries for
16462     # Sun compiler versions before 5.6, else PIC objects from an old
16463     # archive will be linked into the output, leading to subtle bugs.
16464     if test "$solaris_use_stlport4" != yes; then
16465       postdeps_CXX='-library=Cstd -library=Crun'
16466     fi
16467     ;;
16468   esac
16469   ;;
16470 esac
16471
16472
16473 case " $postdeps_CXX " in
16474 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16475 esac
16476  compiler_lib_search_dirs_CXX=
16477 if test -n "${compiler_lib_search_path_CXX}"; then
16478  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16479 fi
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511     lt_prog_compiler_wl_CXX=
16512 lt_prog_compiler_pic_CXX=
16513 lt_prog_compiler_static_CXX=
16514
16515
16516   # C++ specific cases for pic, static, wl, etc.
16517   if test "$GXX" = yes; then
16518     lt_prog_compiler_wl_CXX='-Wl,'
16519     lt_prog_compiler_static_CXX='-static'
16520
16521     case $host_os in
16522     aix*)
16523       # All AIX code is PIC.
16524       if test "$host_cpu" = ia64; then
16525         # AIX 5 now supports IA64 processor
16526         lt_prog_compiler_static_CXX='-Bstatic'
16527       fi
16528       ;;
16529
16530     amigaos*)
16531       case $host_cpu in
16532       powerpc)
16533             # see comment about AmigaOS4 .so support
16534             lt_prog_compiler_pic_CXX='-fPIC'
16535         ;;
16536       m68k)
16537             # FIXME: we need at least 68020 code to build shared libraries, but
16538             # adding the `-m68020' flag to GCC prevents building anything better,
16539             # like `-m68040'.
16540             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16541         ;;
16542       esac
16543       ;;
16544
16545     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16546       # PIC is the default for these OSes.
16547       ;;
16548     mingw* | cygwin* | os2* | pw32* | cegcc*)
16549       # This hack is so that the source file can tell whether it is being
16550       # built for inclusion in a dll (and should export symbols for example).
16551       # Although the cygwin gcc ignores -fPIC, still need this for old-style
16552       # (--disable-auto-import) libraries
16553       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16554       ;;
16555     darwin* | rhapsody*)
16556       # PIC is the default on this platform
16557       # Common symbols not allowed in MH_DYLIB files
16558       lt_prog_compiler_pic_CXX='-fno-common'
16559       ;;
16560     *djgpp*)
16561       # DJGPP does not support shared libraries at all
16562       lt_prog_compiler_pic_CXX=
16563       ;;
16564     haiku*)
16565       # PIC is the default for Haiku.
16566       # The "-static" flag exists, but is broken.
16567       lt_prog_compiler_static_CXX=
16568       ;;
16569     interix[3-9]*)
16570       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16571       # Instead, we relocate shared libraries at runtime.
16572       ;;
16573     sysv4*MP*)
16574       if test -d /usr/nec; then
16575         lt_prog_compiler_pic_CXX=-Kconform_pic
16576       fi
16577       ;;
16578     hpux*)
16579       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16580       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16581       # sets the default TLS model and affects inlining.
16582       case $host_cpu in
16583       hppa*64*)
16584         ;;
16585       *)
16586         lt_prog_compiler_pic_CXX='-fPIC'
16587         ;;
16588       esac
16589       ;;
16590     *qnx* | *nto*)
16591       # QNX uses GNU C++, but need to define -shared option too, otherwise
16592       # it will coredump.
16593       lt_prog_compiler_pic_CXX='-fPIC -shared'
16594       ;;
16595     *)
16596       lt_prog_compiler_pic_CXX='-fPIC'
16597       ;;
16598     esac
16599   else
16600     case $host_os in
16601       aix[4-9]*)
16602         # All AIX code is PIC.
16603         if test "$host_cpu" = ia64; then
16604           # AIX 5 now supports IA64 processor
16605           lt_prog_compiler_static_CXX='-Bstatic'
16606         else
16607           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16608         fi
16609         ;;
16610       chorus*)
16611         case $cc_basename in
16612         cxch68*)
16613           # Green Hills C++ Compiler
16614           # _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"
16615           ;;
16616         esac
16617         ;;
16618       mingw* | cygwin* | os2* | pw32* | cegcc*)
16619         # This hack is so that the source file can tell whether it is being
16620         # built for inclusion in a dll (and should export symbols for example).
16621         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16622         ;;
16623       dgux*)
16624         case $cc_basename in
16625           ec++*)
16626             lt_prog_compiler_pic_CXX='-KPIC'
16627             ;;
16628           ghcx*)
16629             # Green Hills C++ Compiler
16630             lt_prog_compiler_pic_CXX='-pic'
16631             ;;
16632           *)
16633             ;;
16634         esac
16635         ;;
16636       freebsd* | dragonfly*)
16637         # FreeBSD uses GNU C++
16638         ;;
16639       hpux9* | hpux10* | hpux11*)
16640         case $cc_basename in
16641           CC*)
16642             lt_prog_compiler_wl_CXX='-Wl,'
16643             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16644             if test "$host_cpu" != ia64; then
16645               lt_prog_compiler_pic_CXX='+Z'
16646             fi
16647             ;;
16648           aCC*)
16649             lt_prog_compiler_wl_CXX='-Wl,'
16650             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16651             case $host_cpu in
16652             hppa*64*|ia64*)
16653               # +Z the default
16654               ;;
16655             *)
16656               lt_prog_compiler_pic_CXX='+Z'
16657               ;;
16658             esac
16659             ;;
16660           *)
16661             ;;
16662         esac
16663         ;;
16664       interix*)
16665         # This is c89, which is MS Visual C++ (no shared libs)
16666         # Anyone wants to do a port?
16667         ;;
16668       irix5* | irix6* | nonstopux*)
16669         case $cc_basename in
16670           CC*)
16671             lt_prog_compiler_wl_CXX='-Wl,'
16672             lt_prog_compiler_static_CXX='-non_shared'
16673             # CC pic flag -KPIC is the default.
16674             ;;
16675           *)
16676             ;;
16677         esac
16678         ;;
16679       linux* | k*bsd*-gnu | kopensolaris*-gnu)
16680         case $cc_basename in
16681           KCC*)
16682             # KAI C++ Compiler
16683             lt_prog_compiler_wl_CXX='--backend -Wl,'
16684             lt_prog_compiler_pic_CXX='-fPIC'
16685             ;;
16686           ecpc* )
16687             # old Intel C++ for x86_64 which still supported -KPIC.
16688             lt_prog_compiler_wl_CXX='-Wl,'
16689             lt_prog_compiler_pic_CXX='-KPIC'
16690             lt_prog_compiler_static_CXX='-static'
16691             ;;
16692           icpc* )
16693             # Intel C++, used to be incompatible with GCC.
16694             # ICC 10 doesn't accept -KPIC any more.
16695             lt_prog_compiler_wl_CXX='-Wl,'
16696             lt_prog_compiler_pic_CXX='-fPIC'
16697             lt_prog_compiler_static_CXX='-static'
16698             ;;
16699           pgCC* | pgcpp*)
16700             # Portland Group C++ compiler
16701             lt_prog_compiler_wl_CXX='-Wl,'
16702             lt_prog_compiler_pic_CXX='-fpic'
16703             lt_prog_compiler_static_CXX='-Bstatic'
16704             ;;
16705           cxx*)
16706             # Compaq C++
16707             # Make sure the PIC flag is empty.  It appears that all Alpha
16708             # Linux and Compaq Tru64 Unix objects are PIC.
16709             lt_prog_compiler_pic_CXX=
16710             lt_prog_compiler_static_CXX='-non_shared'
16711             ;;
16712           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16713             # IBM XL 8.0, 9.0 on PPC and BlueGene
16714             lt_prog_compiler_wl_CXX='-Wl,'
16715             lt_prog_compiler_pic_CXX='-qpic'
16716             lt_prog_compiler_static_CXX='-qstaticlink'
16717             ;;
16718           *)
16719             case `$CC -V 2>&1 | sed 5q` in
16720             *Sun\ C*)
16721               # Sun C++ 5.9
16722               lt_prog_compiler_pic_CXX='-KPIC'
16723               lt_prog_compiler_static_CXX='-Bstatic'
16724               lt_prog_compiler_wl_CXX='-Qoption ld '
16725               ;;
16726             esac
16727             ;;
16728         esac
16729         ;;
16730       lynxos*)
16731         ;;
16732       m88k*)
16733         ;;
16734       mvs*)
16735         case $cc_basename in
16736           cxx*)
16737             lt_prog_compiler_pic_CXX='-W c,exportall'
16738             ;;
16739           *)
16740             ;;
16741         esac
16742         ;;
16743       netbsd*)
16744         ;;
16745       *qnx* | *nto*)
16746         # QNX uses GNU C++, but need to define -shared option too, otherwise
16747         # it will coredump.
16748         lt_prog_compiler_pic_CXX='-fPIC -shared'
16749         ;;
16750       osf3* | osf4* | osf5*)
16751         case $cc_basename in
16752           KCC*)
16753             lt_prog_compiler_wl_CXX='--backend -Wl,'
16754             ;;
16755           RCC*)
16756             # Rational C++ 2.4.1
16757             lt_prog_compiler_pic_CXX='-pic'
16758             ;;
16759           cxx*)
16760             # Digital/Compaq C++
16761             lt_prog_compiler_wl_CXX='-Wl,'
16762             # Make sure the PIC flag is empty.  It appears that all Alpha
16763             # Linux and Compaq Tru64 Unix objects are PIC.
16764             lt_prog_compiler_pic_CXX=
16765             lt_prog_compiler_static_CXX='-non_shared'
16766             ;;
16767           *)
16768             ;;
16769         esac
16770         ;;
16771       psos*)
16772         ;;
16773       solaris*)
16774         case $cc_basename in
16775           CC* | sunCC*)
16776             # Sun C++ 4.2, 5.x and Centerline C++
16777             lt_prog_compiler_pic_CXX='-KPIC'
16778             lt_prog_compiler_static_CXX='-Bstatic'
16779             lt_prog_compiler_wl_CXX='-Qoption ld '
16780             ;;
16781           gcx*)
16782             # Green Hills C++ Compiler
16783             lt_prog_compiler_pic_CXX='-PIC'
16784             ;;
16785           *)
16786             ;;
16787         esac
16788         ;;
16789       sunos4*)
16790         case $cc_basename in
16791           CC*)
16792             # Sun C++ 4.x
16793             lt_prog_compiler_pic_CXX='-pic'
16794             lt_prog_compiler_static_CXX='-Bstatic'
16795             ;;
16796           lcc*)
16797             # Lucid
16798             lt_prog_compiler_pic_CXX='-pic'
16799             ;;
16800           *)
16801             ;;
16802         esac
16803         ;;
16804       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16805         case $cc_basename in
16806           CC*)
16807             lt_prog_compiler_wl_CXX='-Wl,'
16808             lt_prog_compiler_pic_CXX='-KPIC'
16809             lt_prog_compiler_static_CXX='-Bstatic'
16810             ;;
16811         esac
16812         ;;
16813       tandem*)
16814         case $cc_basename in
16815           NCC*)
16816             # NonStop-UX NCC 3.20
16817             lt_prog_compiler_pic_CXX='-KPIC'
16818             ;;
16819           *)
16820             ;;
16821         esac
16822         ;;
16823       vxworks*)
16824         ;;
16825       *)
16826         lt_prog_compiler_can_build_shared_CXX=no
16827         ;;
16828     esac
16829   fi
16830
16831 case $host_os in
16832   # For platforms which do not support PIC, -DPIC is meaningless:
16833   *djgpp*)
16834     lt_prog_compiler_pic_CXX=
16835     ;;
16836   *)
16837     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16838     ;;
16839 esac
16840
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16842 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16843 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16844   $as_echo_n "(cached) " >&6
16845 else
16846   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16847 fi
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16849 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16850 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16851
16852 #
16853 # Check to make sure the PIC flag actually works.
16854 #
16855 if test -n "$lt_prog_compiler_pic_CXX"; then
16856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16857 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16858 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16859   $as_echo_n "(cached) " >&6
16860 else
16861   lt_cv_prog_compiler_pic_works_CXX=no
16862    ac_outfile=conftest.$ac_objext
16863    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16864    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16865    # Insert the option either (1) after the last *FLAGS variable, or
16866    # (2) before a word containing "conftest.", or (3) at the end.
16867    # Note that $ac_compile itself does not contain backslashes and begins
16868    # with a dollar sign (not a hyphen), so the echo should work correctly.
16869    # The option is referenced via a variable to avoid confusing sed.
16870    lt_compile=`echo "$ac_compile" | $SED \
16871    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16872    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16873    -e 's:$: $lt_compiler_flag:'`
16874    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16875    (eval "$lt_compile" 2>conftest.err)
16876    ac_status=$?
16877    cat conftest.err >&5
16878    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879    if (exit $ac_status) && test -s "$ac_outfile"; then
16880      # The compiler can only warn and ignore the option if not recognized
16881      # So say no if there are warnings other than the usual output.
16882      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16883      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16884      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16885        lt_cv_prog_compiler_pic_works_CXX=yes
16886      fi
16887    fi
16888    $RM conftest*
16889
16890 fi
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16892 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16893
16894 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16895     case $lt_prog_compiler_pic_CXX in
16896      "" | " "*) ;;
16897      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16898      esac
16899 else
16900     lt_prog_compiler_pic_CXX=
16901      lt_prog_compiler_can_build_shared_CXX=no
16902 fi
16903
16904 fi
16905
16906
16907
16908
16909
16910 #
16911 # Check to make sure the static flag actually works.
16912 #
16913 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16915 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16916 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16917   $as_echo_n "(cached) " >&6
16918 else
16919   lt_cv_prog_compiler_static_works_CXX=no
16920    save_LDFLAGS="$LDFLAGS"
16921    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16922    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16923    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16924      # The linker can only warn and ignore the option if not recognized
16925      # So say no if there are warnings
16926      if test -s conftest.err; then
16927        # Append any errors to the config.log.
16928        cat conftest.err 1>&5
16929        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16930        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16931        if diff conftest.exp conftest.er2 >/dev/null; then
16932          lt_cv_prog_compiler_static_works_CXX=yes
16933        fi
16934      else
16935        lt_cv_prog_compiler_static_works_CXX=yes
16936      fi
16937    fi
16938    $RM -r conftest*
16939    LDFLAGS="$save_LDFLAGS"
16940
16941 fi
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16943 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16944
16945 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16946     :
16947 else
16948     lt_prog_compiler_static_CXX=
16949 fi
16950
16951
16952
16953
16954     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16955 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16956 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16957   $as_echo_n "(cached) " >&6
16958 else
16959   lt_cv_prog_compiler_c_o_CXX=no
16960    $RM -r conftest 2>/dev/null
16961    mkdir conftest
16962    cd conftest
16963    mkdir out
16964    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16965
16966    lt_compiler_flag="-o out/conftest2.$ac_objext"
16967    # Insert the option either (1) after the last *FLAGS variable, or
16968    # (2) before a word containing "conftest.", or (3) at the end.
16969    # Note that $ac_compile itself does not contain backslashes and begins
16970    # with a dollar sign (not a hyphen), so the echo should work correctly.
16971    lt_compile=`echo "$ac_compile" | $SED \
16972    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16973    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16974    -e 's:$: $lt_compiler_flag:'`
16975    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16976    (eval "$lt_compile" 2>out/conftest.err)
16977    ac_status=$?
16978    cat out/conftest.err >&5
16979    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16981    then
16982      # The compiler can only warn and ignore the option if not recognized
16983      # So say no if there are warnings
16984      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16985      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16986      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16987        lt_cv_prog_compiler_c_o_CXX=yes
16988      fi
16989    fi
16990    chmod u+w . 2>&5
16991    $RM conftest*
16992    # SGI C++ compiler will create directory out/ii_files/ for
16993    # template instantiation
16994    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16995    $RM out/* && rmdir out
16996    cd ..
16997    $RM -r conftest
16998    $RM conftest*
16999
17000 fi
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17002 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17003
17004
17005
17006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17007 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17008 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17009   $as_echo_n "(cached) " >&6
17010 else
17011   lt_cv_prog_compiler_c_o_CXX=no
17012    $RM -r conftest 2>/dev/null
17013    mkdir conftest
17014    cd conftest
17015    mkdir out
17016    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17017
17018    lt_compiler_flag="-o out/conftest2.$ac_objext"
17019    # Insert the option either (1) after the last *FLAGS variable, or
17020    # (2) before a word containing "conftest.", or (3) at the end.
17021    # Note that $ac_compile itself does not contain backslashes and begins
17022    # with a dollar sign (not a hyphen), so the echo should work correctly.
17023    lt_compile=`echo "$ac_compile" | $SED \
17024    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17025    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17026    -e 's:$: $lt_compiler_flag:'`
17027    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17028    (eval "$lt_compile" 2>out/conftest.err)
17029    ac_status=$?
17030    cat out/conftest.err >&5
17031    echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032    if (exit $ac_status) && test -s out/conftest2.$ac_objext
17033    then
17034      # The compiler can only warn and ignore the option if not recognized
17035      # So say no if there are warnings
17036      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17037      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17038      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17039        lt_cv_prog_compiler_c_o_CXX=yes
17040      fi
17041    fi
17042    chmod u+w . 2>&5
17043    $RM conftest*
17044    # SGI C++ compiler will create directory out/ii_files/ for
17045    # template instantiation
17046    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17047    $RM out/* && rmdir out
17048    cd ..
17049    $RM -r conftest
17050    $RM conftest*
17051
17052 fi
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17054 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17055
17056
17057
17058
17059 hard_links="nottested"
17060 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17061   # do not overwrite the value of need_locks provided by the user
17062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17063 $as_echo_n "checking if we can lock with hard links... " >&6; }
17064   hard_links=yes
17065   $RM conftest*
17066   ln conftest.a conftest.b 2>/dev/null && hard_links=no
17067   touch conftest.a
17068   ln conftest.a conftest.b 2>&5 || hard_links=no
17069   ln conftest.a conftest.b 2>/dev/null && hard_links=no
17070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17071 $as_echo "$hard_links" >&6; }
17072   if test "$hard_links" = no; then
17073     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17074 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17075     need_locks=warn
17076   fi
17077 else
17078   need_locks=no
17079 fi
17080
17081
17082
17083     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17084 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17085
17086   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17087   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17088   case $host_os in
17089   aix[4-9]*)
17090     # If we're using GNU nm, then we don't want the "-C" option.
17091     # -C means demangle to AIX nm, but means don't demangle with GNU nm
17092     # Also, AIX nm treats weak defined symbols like other global defined
17093     # symbols, whereas GNU nm marks them as "W".
17094     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17095       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17096     else
17097       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17098     fi
17099     ;;
17100   pw32*)
17101     export_symbols_cmds_CXX="$ltdll_cmds"
17102     ;;
17103   cygwin* | mingw* | cegcc*)
17104     case $cc_basename in
17105     cl*)
17106       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17107       ;;
17108     *)
17109       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'
17110       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17111       ;;
17112     esac
17113     ;;
17114   *)
17115     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17116     ;;
17117   esac
17118
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17120 $as_echo "$ld_shlibs_CXX" >&6; }
17121 test "$ld_shlibs_CXX" = no && can_build_shared=no
17122
17123 with_gnu_ld_CXX=$with_gnu_ld
17124
17125
17126
17127
17128
17129
17130 #
17131 # Do we need to explicitly link libc?
17132 #
17133 case "x$archive_cmds_need_lc_CXX" in
17134 x|xyes)
17135   # Assume -lc should be added
17136   archive_cmds_need_lc_CXX=yes
17137
17138   if test "$enable_shared" = yes && test "$GCC" = yes; then
17139     case $archive_cmds_CXX in
17140     *'~'*)
17141       # FIXME: we may have to deal with multi-command sequences.
17142       ;;
17143     '$CC '*)
17144       # Test whether the compiler implicitly links with -lc since on some
17145       # systems, -lgcc has to come before -lc. If gcc already passes -lc
17146       # to ld, don't add -lc before -lgcc.
17147       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17148 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17149 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
17150   $as_echo_n "(cached) " >&6
17151 else
17152   $RM conftest*
17153         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17154
17155         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17156   (eval $ac_compile) 2>&5
17157   ac_status=$?
17158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17159   test $ac_status = 0; } 2>conftest.err; then
17160           soname=conftest
17161           lib=conftest
17162           libobjs=conftest.$ac_objext
17163           deplibs=
17164           wl=$lt_prog_compiler_wl_CXX
17165           pic_flag=$lt_prog_compiler_pic_CXX
17166           compiler_flags=-v
17167           linker_flags=-v
17168           verstring=
17169           output_objdir=.
17170           libname=conftest
17171           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17172           allow_undefined_flag_CXX=
17173           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17174   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17175   ac_status=$?
17176   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17177   test $ac_status = 0; }
17178           then
17179             lt_cv_archive_cmds_need_lc_CXX=no
17180           else
17181             lt_cv_archive_cmds_need_lc_CXX=yes
17182           fi
17183           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17184         else
17185           cat conftest.err 1>&5
17186         fi
17187         $RM conftest*
17188
17189 fi
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17191 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17192       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17193       ;;
17194     esac
17195   fi
17196   ;;
17197 esac
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17261 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17262
17263 library_names_spec=
17264 libname_spec='lib$name'
17265 soname_spec=
17266 shrext_cmds=".so"
17267 postinstall_cmds=
17268 postuninstall_cmds=
17269 finish_cmds=
17270 finish_eval=
17271 shlibpath_var=
17272 shlibpath_overrides_runpath=unknown
17273 version_type=none
17274 dynamic_linker="$host_os ld.so"
17275 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17276 need_lib_prefix=unknown
17277 hardcode_into_libs=no
17278
17279 # when you set need_version to no, make sure it does not cause -set_version
17280 # flags to be left without arguments
17281 need_version=unknown
17282
17283 case $host_os in
17284 aix3*)
17285   version_type=linux # correct to gnu/linux during the next big refactor
17286   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17287   shlibpath_var=LIBPATH
17288
17289   # AIX 3 has no versioning support, so we append a major version to the name.
17290   soname_spec='${libname}${release}${shared_ext}$major'
17291   ;;
17292
17293 aix[4-9]*)
17294   version_type=linux # correct to gnu/linux during the next big refactor
17295   need_lib_prefix=no
17296   need_version=no
17297   hardcode_into_libs=yes
17298   if test "$host_cpu" = ia64; then
17299     # AIX 5 supports IA64
17300     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17301     shlibpath_var=LD_LIBRARY_PATH
17302   else
17303     # With GCC up to 2.95.x, collect2 would create an import file
17304     # for dependence libraries.  The import file would start with
17305     # the line `#! .'.  This would cause the generated library to
17306     # depend on `.', always an invalid library.  This was fixed in
17307     # development snapshots of GCC prior to 3.0.
17308     case $host_os in
17309       aix4 | aix4.[01] | aix4.[01].*)
17310       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17311            echo ' yes '
17312            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17313         :
17314       else
17315         can_build_shared=no
17316       fi
17317       ;;
17318     esac
17319     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17320     # soname into executable. Probably we can add versioning support to
17321     # collect2, so additional links can be useful in future.
17322     if test "$aix_use_runtimelinking" = yes; then
17323       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17324       # instead of lib<name>.a to let people know that these are not
17325       # typical AIX shared libraries.
17326       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17327     else
17328       # We preserve .a as extension for shared libraries through AIX4.2
17329       # and later when we are not doing run time linking.
17330       library_names_spec='${libname}${release}.a $libname.a'
17331       soname_spec='${libname}${release}${shared_ext}$major'
17332     fi
17333     shlibpath_var=LIBPATH
17334   fi
17335   ;;
17336
17337 amigaos*)
17338   case $host_cpu in
17339   powerpc)
17340     # Since July 2007 AmigaOS4 officially supports .so libraries.
17341     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17342     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17343     ;;
17344   m68k)
17345     library_names_spec='$libname.ixlibrary $libname.a'
17346     # Create ${libname}_ixlibrary.a entries in /sys/libs.
17347     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17348     ;;
17349   esac
17350   ;;
17351
17352 beos*)
17353   library_names_spec='${libname}${shared_ext}'
17354   dynamic_linker="$host_os ld.so"
17355   shlibpath_var=LIBRARY_PATH
17356   ;;
17357
17358 bsdi[45]*)
17359   version_type=linux # correct to gnu/linux during the next big refactor
17360   need_version=no
17361   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17362   soname_spec='${libname}${release}${shared_ext}$major'
17363   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17364   shlibpath_var=LD_LIBRARY_PATH
17365   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17366   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17367   # the default ld.so.conf also contains /usr/contrib/lib and
17368   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17369   # libtool to hard-code these into programs
17370   ;;
17371
17372 cygwin* | mingw* | pw32* | cegcc*)
17373   version_type=windows
17374   shrext_cmds=".dll"
17375   need_version=no
17376   need_lib_prefix=no
17377
17378   case $GCC,$cc_basename in
17379   yes,*)
17380     # gcc
17381     library_names_spec='$libname.dll.a'
17382     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17383     postinstall_cmds='base_file=`basename \${file}`~
17384       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17385       dldir=$destdir/`dirname \$dlpath`~
17386       test -d \$dldir || mkdir -p \$dldir~
17387       $install_prog $dir/$dlname \$dldir/$dlname~
17388       chmod a+x \$dldir/$dlname~
17389       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17390         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17391       fi'
17392     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17393       dlpath=$dir/\$dldll~
17394        $RM \$dlpath'
17395     shlibpath_overrides_runpath=yes
17396
17397     case $host_os in
17398     cygwin*)
17399       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17400       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17401
17402       ;;
17403     mingw* | cegcc*)
17404       # MinGW DLLs use traditional 'lib' prefix
17405       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17406       ;;
17407     pw32*)
17408       # pw32 DLLs use 'pw' prefix rather than 'lib'
17409       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17410       ;;
17411     esac
17412     dynamic_linker='Win32 ld.exe'
17413     ;;
17414
17415   *,cl*)
17416     # Native MSVC
17417     libname_spec='$name'
17418     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17419     library_names_spec='${libname}.dll.lib'
17420
17421     case $build_os in
17422     mingw*)
17423       sys_lib_search_path_spec=
17424       lt_save_ifs=$IFS
17425       IFS=';'
17426       for lt_path in $LIB
17427       do
17428         IFS=$lt_save_ifs
17429         # Let DOS variable expansion print the short 8.3 style file name.
17430         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17431         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17432       done
17433       IFS=$lt_save_ifs
17434       # Convert to MSYS style.
17435       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17436       ;;
17437     cygwin*)
17438       # Convert to unix form, then to dos form, then back to unix form
17439       # but this time dos style (no spaces!) so that the unix form looks
17440       # like /cygdrive/c/PROGRA~1:/cygdr...
17441       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17442       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17443       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17444       ;;
17445     *)
17446       sys_lib_search_path_spec="$LIB"
17447       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17448         # It is most probably a Windows format PATH.
17449         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17450       else
17451         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17452       fi
17453       # FIXME: find the short name or the path components, as spaces are
17454       # common. (e.g. "Program Files" -> "PROGRA~1")
17455       ;;
17456     esac
17457
17458     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17459     postinstall_cmds='base_file=`basename \${file}`~
17460       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17461       dldir=$destdir/`dirname \$dlpath`~
17462       test -d \$dldir || mkdir -p \$dldir~
17463       $install_prog $dir/$dlname \$dldir/$dlname'
17464     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17465       dlpath=$dir/\$dldll~
17466        $RM \$dlpath'
17467     shlibpath_overrides_runpath=yes
17468     dynamic_linker='Win32 link.exe'
17469     ;;
17470
17471   *)
17472     # Assume MSVC wrapper
17473     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17474     dynamic_linker='Win32 ld.exe'
17475     ;;
17476   esac
17477   # FIXME: first we should search . and the directory the executable is in
17478   shlibpath_var=PATH
17479   ;;
17480
17481 darwin* | rhapsody*)
17482   dynamic_linker="$host_os dyld"
17483   version_type=darwin
17484   need_lib_prefix=no
17485   need_version=no
17486   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17487   soname_spec='${libname}${release}${major}$shared_ext'
17488   shlibpath_overrides_runpath=yes
17489   shlibpath_var=DYLD_LIBRARY_PATH
17490   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17491
17492   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17493   ;;
17494
17495 dgux*)
17496   version_type=linux # correct to gnu/linux during the next big refactor
17497   need_lib_prefix=no
17498   need_version=no
17499   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17500   soname_spec='${libname}${release}${shared_ext}$major'
17501   shlibpath_var=LD_LIBRARY_PATH
17502   ;;
17503
17504 freebsd* | dragonfly*)
17505   # DragonFly does not have aout.  When/if they implement a new
17506   # versioning mechanism, adjust this.
17507   if test -x /usr/bin/objformat; then
17508     objformat=`/usr/bin/objformat`
17509   else
17510     case $host_os in
17511     freebsd[23].*) objformat=aout ;;
17512     *) objformat=elf ;;
17513     esac
17514   fi
17515   version_type=freebsd-$objformat
17516   case $version_type in
17517     freebsd-elf*)
17518       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17519       need_version=no
17520       need_lib_prefix=no
17521       ;;
17522     freebsd-*)
17523       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17524       need_version=yes
17525       ;;
17526   esac
17527   shlibpath_var=LD_LIBRARY_PATH
17528   case $host_os in
17529   freebsd2.*)
17530     shlibpath_overrides_runpath=yes
17531     ;;
17532   freebsd3.[01]* | freebsdelf3.[01]*)
17533     shlibpath_overrides_runpath=yes
17534     hardcode_into_libs=yes
17535     ;;
17536   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17537   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17538     shlibpath_overrides_runpath=no
17539     hardcode_into_libs=yes
17540     ;;
17541   *) # from 4.6 on, and DragonFly
17542     shlibpath_overrides_runpath=yes
17543     hardcode_into_libs=yes
17544     ;;
17545   esac
17546   ;;
17547
17548 gnu*)
17549   version_type=linux # correct to gnu/linux during the next big refactor
17550   need_lib_prefix=no
17551   need_version=no
17552   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17553   soname_spec='${libname}${release}${shared_ext}$major'
17554   shlibpath_var=LD_LIBRARY_PATH
17555   shlibpath_overrides_runpath=no
17556   hardcode_into_libs=yes
17557   ;;
17558
17559 haiku*)
17560   version_type=linux # correct to gnu/linux during the next big refactor
17561   need_lib_prefix=no
17562   need_version=no
17563   dynamic_linker="$host_os runtime_loader"
17564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17565   soname_spec='${libname}${release}${shared_ext}$major'
17566   shlibpath_var=LIBRARY_PATH
17567   shlibpath_overrides_runpath=yes
17568   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17569   hardcode_into_libs=yes
17570   ;;
17571
17572 hpux9* | hpux10* | hpux11*)
17573   # Give a soname corresponding to the major version so that dld.sl refuses to
17574   # link against other versions.
17575   version_type=sunos
17576   need_lib_prefix=no
17577   need_version=no
17578   case $host_cpu in
17579   ia64*)
17580     shrext_cmds='.so'
17581     hardcode_into_libs=yes
17582     dynamic_linker="$host_os dld.so"
17583     shlibpath_var=LD_LIBRARY_PATH
17584     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17585     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17586     soname_spec='${libname}${release}${shared_ext}$major'
17587     if test "X$HPUX_IA64_MODE" = X32; then
17588       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17589     else
17590       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17591     fi
17592     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17593     ;;
17594   hppa*64*)
17595     shrext_cmds='.sl'
17596     hardcode_into_libs=yes
17597     dynamic_linker="$host_os dld.sl"
17598     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17599     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17600     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17601     soname_spec='${libname}${release}${shared_ext}$major'
17602     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17603     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17604     ;;
17605   *)
17606     shrext_cmds='.sl'
17607     dynamic_linker="$host_os dld.sl"
17608     shlibpath_var=SHLIB_PATH
17609     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17610     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17611     soname_spec='${libname}${release}${shared_ext}$major'
17612     ;;
17613   esac
17614   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17615   postinstall_cmds='chmod 555 $lib'
17616   # or fails outright, so override atomically:
17617   install_override_mode=555
17618   ;;
17619
17620 interix[3-9]*)
17621   version_type=linux # correct to gnu/linux during the next big refactor
17622   need_lib_prefix=no
17623   need_version=no
17624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17625   soname_spec='${libname}${release}${shared_ext}$major'
17626   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17627   shlibpath_var=LD_LIBRARY_PATH
17628   shlibpath_overrides_runpath=no
17629   hardcode_into_libs=yes
17630   ;;
17631
17632 irix5* | irix6* | nonstopux*)
17633   case $host_os in
17634     nonstopux*) version_type=nonstopux ;;
17635     *)
17636         if test "$lt_cv_prog_gnu_ld" = yes; then
17637                 version_type=linux # correct to gnu/linux during the next big refactor
17638         else
17639                 version_type=irix
17640         fi ;;
17641   esac
17642   need_lib_prefix=no
17643   need_version=no
17644   soname_spec='${libname}${release}${shared_ext}$major'
17645   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17646   case $host_os in
17647   irix5* | nonstopux*)
17648     libsuff= shlibsuff=
17649     ;;
17650   *)
17651     case $LD in # libtool.m4 will add one of these switches to LD
17652     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17653       libsuff= shlibsuff= libmagic=32-bit;;
17654     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17655       libsuff=32 shlibsuff=N32 libmagic=N32;;
17656     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17657       libsuff=64 shlibsuff=64 libmagic=64-bit;;
17658     *) libsuff= shlibsuff= libmagic=never-match;;
17659     esac
17660     ;;
17661   esac
17662   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17663   shlibpath_overrides_runpath=no
17664   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17665   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17666   hardcode_into_libs=yes
17667   ;;
17668
17669 # No shared lib support for Linux oldld, aout, or coff.
17670 linux*oldld* | linux*aout* | linux*coff*)
17671   dynamic_linker=no
17672   ;;
17673
17674 # This must be glibc/ELF.
17675 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17676   version_type=linux # correct to gnu/linux during the next big refactor
17677   need_lib_prefix=no
17678   need_version=no
17679   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17680   soname_spec='${libname}${release}${shared_ext}$major'
17681   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17682   shlibpath_var=LD_LIBRARY_PATH
17683   shlibpath_overrides_runpath=no
17684
17685   # Some binutils ld are patched to set DT_RUNPATH
17686   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17687   $as_echo_n "(cached) " >&6
17688 else
17689   lt_cv_shlibpath_overrides_runpath=no
17690     save_LDFLAGS=$LDFLAGS
17691     save_libdir=$libdir
17692     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17693          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17694     if test x$ac_no_link = xyes; then
17695   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
17696 fi
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h.  */
17699
17700 int
17701 main ()
17702 {
17703
17704   ;
17705   return 0;
17706 }
17707 _ACEOF
17708 if ac_fn_cxx_try_link "$LINENO"; then :
17709   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17710   lt_cv_shlibpath_overrides_runpath=yes
17711 fi
17712 fi
17713 rm -f core conftest.err conftest.$ac_objext \
17714     conftest$ac_exeext conftest.$ac_ext
17715     LDFLAGS=$save_LDFLAGS
17716     libdir=$save_libdir
17717
17718 fi
17719
17720   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17721
17722   # This implies no fast_install, which is unacceptable.
17723   # Some rework will be needed to allow for fast_install
17724   # before this can be enabled.
17725   hardcode_into_libs=yes
17726
17727   # Append ld.so.conf contents to the search path
17728   if test -f /etc/ld.so.conf; then
17729     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' ' '`
17730     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17731   fi
17732
17733   # We used to test for /lib/ld.so.1 and disable shared libraries on
17734   # powerpc, because MkLinux only supported shared libraries with the
17735   # GNU dynamic linker.  Since this was broken with cross compilers,
17736   # most powerpc-linux boxes support dynamic linking these days and
17737   # people can always --disable-shared, the test was removed, and we
17738   # assume the GNU/Linux dynamic linker is in use.
17739   dynamic_linker='GNU/Linux ld.so'
17740   ;;
17741
17742 netbsd*)
17743   version_type=sunos
17744   need_lib_prefix=no
17745   need_version=no
17746   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17747     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17748     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17749     dynamic_linker='NetBSD (a.out) ld.so'
17750   else
17751     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17752     soname_spec='${libname}${release}${shared_ext}$major'
17753     dynamic_linker='NetBSD ld.elf_so'
17754   fi
17755   shlibpath_var=LD_LIBRARY_PATH
17756   shlibpath_overrides_runpath=yes
17757   hardcode_into_libs=yes
17758   ;;
17759
17760 newsos6)
17761   version_type=linux # correct to gnu/linux during the next big refactor
17762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17763   shlibpath_var=LD_LIBRARY_PATH
17764   shlibpath_overrides_runpath=yes
17765   ;;
17766
17767 *nto* | *qnx*)
17768   version_type=qnx
17769   need_lib_prefix=no
17770   need_version=no
17771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17772   soname_spec='${libname}${release}${shared_ext}$major'
17773   shlibpath_var=LD_LIBRARY_PATH
17774   shlibpath_overrides_runpath=no
17775   hardcode_into_libs=yes
17776   dynamic_linker='ldqnx.so'
17777   ;;
17778
17779 openbsd*)
17780   version_type=sunos
17781   sys_lib_dlsearch_path_spec="/usr/lib"
17782   need_lib_prefix=no
17783   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17784   case $host_os in
17785     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
17786     *)                          need_version=no  ;;
17787   esac
17788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17789   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17790   shlibpath_var=LD_LIBRARY_PATH
17791   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17792     case $host_os in
17793       openbsd2.[89] | openbsd2.[89].*)
17794         shlibpath_overrides_runpath=no
17795         ;;
17796       *)
17797         shlibpath_overrides_runpath=yes
17798         ;;
17799       esac
17800   else
17801     shlibpath_overrides_runpath=yes
17802   fi
17803   ;;
17804
17805 os2*)
17806   libname_spec='$name'
17807   shrext_cmds=".dll"
17808   need_lib_prefix=no
17809   library_names_spec='$libname${shared_ext} $libname.a'
17810   dynamic_linker='OS/2 ld.exe'
17811   shlibpath_var=LIBPATH
17812   ;;
17813
17814 osf3* | osf4* | osf5*)
17815   version_type=osf
17816   need_lib_prefix=no
17817   need_version=no
17818   soname_spec='${libname}${release}${shared_ext}$major'
17819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17820   shlibpath_var=LD_LIBRARY_PATH
17821   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17822   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17823   ;;
17824
17825 rdos*)
17826   dynamic_linker=no
17827   ;;
17828
17829 solaris*)
17830   version_type=linux # correct to gnu/linux during the next big refactor
17831   need_lib_prefix=no
17832   need_version=no
17833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17834   soname_spec='${libname}${release}${shared_ext}$major'
17835   shlibpath_var=LD_LIBRARY_PATH
17836   shlibpath_overrides_runpath=yes
17837   hardcode_into_libs=yes
17838   # ldd complains unless libraries are executable
17839   postinstall_cmds='chmod +x $lib'
17840   ;;
17841
17842 sunos4*)
17843   version_type=sunos
17844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17845   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17846   shlibpath_var=LD_LIBRARY_PATH
17847   shlibpath_overrides_runpath=yes
17848   if test "$with_gnu_ld" = yes; then
17849     need_lib_prefix=no
17850   fi
17851   need_version=yes
17852   ;;
17853
17854 sysv4 | sysv4.3*)
17855   version_type=linux # correct to gnu/linux during the next big refactor
17856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17857   soname_spec='${libname}${release}${shared_ext}$major'
17858   shlibpath_var=LD_LIBRARY_PATH
17859   case $host_vendor in
17860     sni)
17861       shlibpath_overrides_runpath=no
17862       need_lib_prefix=no
17863       runpath_var=LD_RUN_PATH
17864       ;;
17865     siemens)
17866       need_lib_prefix=no
17867       ;;
17868     motorola)
17869       need_lib_prefix=no
17870       need_version=no
17871       shlibpath_overrides_runpath=no
17872       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17873       ;;
17874   esac
17875   ;;
17876
17877 sysv4*MP*)
17878   if test -d /usr/nec ;then
17879     version_type=linux # correct to gnu/linux during the next big refactor
17880     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17881     soname_spec='$libname${shared_ext}.$major'
17882     shlibpath_var=LD_LIBRARY_PATH
17883   fi
17884   ;;
17885
17886 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17887   version_type=freebsd-elf
17888   need_lib_prefix=no
17889   need_version=no
17890   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17891   soname_spec='${libname}${release}${shared_ext}$major'
17892   shlibpath_var=LD_LIBRARY_PATH
17893   shlibpath_overrides_runpath=yes
17894   hardcode_into_libs=yes
17895   if test "$with_gnu_ld" = yes; then
17896     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17897   else
17898     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17899     case $host_os in
17900       sco3.2v5*)
17901         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17902         ;;
17903     esac
17904   fi
17905   sys_lib_dlsearch_path_spec='/usr/lib'
17906   ;;
17907
17908 tpf*)
17909   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17910   version_type=linux # correct to gnu/linux during the next big refactor
17911   need_lib_prefix=no
17912   need_version=no
17913   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17914   shlibpath_var=LD_LIBRARY_PATH
17915   shlibpath_overrides_runpath=no
17916   hardcode_into_libs=yes
17917   ;;
17918
17919 uts4*)
17920   version_type=linux # correct to gnu/linux during the next big refactor
17921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17922   soname_spec='${libname}${release}${shared_ext}$major'
17923   shlibpath_var=LD_LIBRARY_PATH
17924   ;;
17925
17926 *)
17927   dynamic_linker=no
17928   ;;
17929 esac
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17931 $as_echo "$dynamic_linker" >&6; }
17932 test "$dynamic_linker" = no && can_build_shared=no
17933
17934 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17935 if test "$GCC" = yes; then
17936   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17937 fi
17938
17939 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17940   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17941 fi
17942 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17943   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17944 fi
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17984 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17985 hardcode_action_CXX=
17986 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17987    test -n "$runpath_var_CXX" ||
17988    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17989
17990   # We can hardcode non-existent directories.
17991   if test "$hardcode_direct_CXX" != no &&
17992      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17993      # have to relink, otherwise we might link with an installed library
17994      # when we should be linking with a yet-to-be-installed one
17995      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17996      test "$hardcode_minus_L_CXX" != no; then
17997     # Linking always hardcodes the temporary library directory.
17998     hardcode_action_CXX=relink
17999   else
18000     # We can link without hardcoding, and we can hardcode nonexisting dirs.
18001     hardcode_action_CXX=immediate
18002   fi
18003 else
18004   # We cannot hardcode anything, or else we can only hardcode existing
18005   # directories.
18006   hardcode_action_CXX=unsupported
18007 fi
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18009 $as_echo "$hardcode_action_CXX" >&6; }
18010
18011 if test "$hardcode_action_CXX" = relink ||
18012    test "$inherit_rpath_CXX" = yes; then
18013   # Fast installation is not supported
18014   enable_fast_install=no
18015 elif test "$shlibpath_overrides_runpath" = yes ||
18016      test "$enable_shared" = no; then
18017   # Fast installation is not necessary
18018   enable_fast_install=needless
18019 fi
18020
18021
18022
18023
18024
18025
18026
18027   fi # test -n "$compiler"
18028
18029   CC=$lt_save_CC
18030   CFLAGS=$lt_save_CFLAGS
18031   LDCXX=$LD
18032   LD=$lt_save_LD
18033   GCC=$lt_save_GCC
18034   with_gnu_ld=$lt_save_with_gnu_ld
18035   lt_cv_path_LDCXX=$lt_cv_path_LD
18036   lt_cv_path_LD=$lt_save_path_LD
18037   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18038   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18039 fi # test "$_lt_caught_CXX_error" != yes
18040
18041 ac_ext=c
18042 ac_cpp='$CPP $CPPFLAGS'
18043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061         ac_config_commands="$ac_config_commands libtool"
18062
18063
18064
18065
18066 # Only expand once:
18067
18068
18069
18070 #
18071 # Debug instances
18072 #
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances" >&5
18074 $as_echo "$as_me: checking whether to build debug instances" >&6;}
18075
18076 # Debug
18077
18078
18079     # Check whether or not a default value has been passed in.
18080
18081
18082
18083     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances of programs and libraries" >&5
18084 $as_echo_n "checking whether to build debug instances of programs and libraries... " >&6; }
18085 if ${nl_cv_build_debug+:} false; then :
18086   $as_echo_n "(cached) " >&6
18087 else
18088
18089             # Check whether --enable-debug was given.
18090 if test "${enable_debug+set}" = set; then :
18091   enableval=$enable_debug;
18092                     case "${enableval}" in
18093
18094                     no|yes)
18095                         nl_cv_build_debug=${enableval}
18096                         ;;
18097
18098                     *)
18099                         as_fn_error $? "Invalid value ${enableval} for --enable-debug" "$LINENO" 5
18100                         ;;
18101
18102                     esac
18103
18104 else
18105
18106                     nl_cv_build_debug=no
18107
18108 fi
18109
18110
18111 fi
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_debug" >&5
18113 $as_echo "$nl_cv_build_debug" >&6; }
18114
18115     if test "${nl_cv_build_debug}" = "yes"; then
18116         CFLAGS="${CFLAGS} -DDEBUG"
18117         CXXFLAGS="${CXXFLAGS} -DDEBUG"
18118         OBJCFLAGS="${OBJCFLAGS} -DDEBUG"
18119         OBJCXXFLAGS="${OBJCXXFLAGS} -DDEBUG"
18120     fi
18121
18122
18123
18124  if test "${nl_cv_build_debug}" = "yes"; then
18125   NLIO_BUILD_DEBUG_TRUE=
18126   NLIO_BUILD_DEBUG_FALSE='#'
18127 else
18128   NLIO_BUILD_DEBUG_TRUE='#'
18129   NLIO_BUILD_DEBUG_FALSE=
18130 fi
18131
18132
18133 #
18134 # Code coverage and compiler optimization
18135 #
18136
18137 # Coverage
18138
18139
18140     # Check whether or not a default value has been passed in.
18141
18142
18143
18144     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-coverage instances of programs and libraries" >&5
18145 $as_echo_n "checking whether to build code-coverage instances of programs and libraries... " >&6; }
18146 if ${nl_cv_build_coverage+:} false; then :
18147   $as_echo_n "(cached) " >&6
18148 else
18149
18150             # Check whether --enable-coverage was given.
18151 if test "${enable_coverage+set}" = set; then :
18152   enableval=$enable_coverage;
18153                     case "${enableval}" in
18154
18155                     no|yes)
18156                         nl_cv_build_coverage=${enableval}
18157
18158                         if test "${nl_cv_build_optimized}" = "yes"; then
18159                             as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
18160                         fi
18161                         ;;
18162
18163                     *)
18164                         as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
18165                         ;;
18166
18167                     esac
18168
18169 else
18170
18171                     if test "${nl_cv_build_optimized}" = "yes"; then
18172                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-optimization was specified, coverage disabled" >&5
18173 $as_echo "$as_me: WARNING: --enable-optimization was specified, coverage disabled" >&2;}
18174                         nl_cv_build_coverage=no
18175
18176                     else
18177                         nl_cv_build_coverage=no
18178
18179                     fi
18180
18181 fi
18182
18183
18184 fi
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage" >&5
18186 $as_echo "$nl_cv_build_coverage" >&6; }
18187
18188     if test "${nl_cv_build_coverage}" = "yes"; then
18189         if test "${GCC}" != "yes"; then
18190             as_fn_error $? "GCC or a GCC-compatible toolchain is required for --enable-coverage" "$LINENO" 5
18191         else
18192             NL_COVERAGE_CPPFLAGS="--coverage"
18193             if ${CC} --version | grep -q clang; then
18194                 NL_COVERAGE_LDFLAGS="--coverage"
18195             else
18196                 NL_COVERAGE_LIBS="-lgcov"
18197             fi
18198         fi
18199     fi
18200
18201
18202
18203  if test "${nl_cv_build_coverage}" = "yes"; then
18204   NLIO_BUILD_COVERAGE_TRUE=
18205   NLIO_BUILD_COVERAGE_FALSE='#'
18206 else
18207   NLIO_BUILD_COVERAGE_TRUE='#'
18208   NLIO_BUILD_COVERAGE_FALSE=
18209 fi
18210
18211
18212
18213     # Check whether or not a default value has been passed in.
18214
18215
18216
18217     # Check for the presence of lcov and genhtml, required
18218     # to build and generate the coverage reports.
18219
18220     # Extract the first word of "lcov", so it can be a program name with args.
18221 set dummy lcov; ac_word=$2
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18223 $as_echo_n "checking for $ac_word... " >&6; }
18224 if ${ac_cv_path_LCOV+:} false; then :
18225   $as_echo_n "(cached) " >&6
18226 else
18227   case $LCOV in
18228   [\\/]* | ?:[\\/]*)
18229   ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
18230   ;;
18231   *)
18232   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18233 for as_dir in $PATH
18234 do
18235   IFS=$as_save_IFS
18236   test -z "$as_dir" && as_dir=.
18237     for ac_exec_ext in '' $ac_executable_extensions; do
18238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18239     ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
18240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18241     break 2
18242   fi
18243 done
18244   done
18245 IFS=$as_save_IFS
18246
18247   ;;
18248 esac
18249 fi
18250 LCOV=$ac_cv_path_LCOV
18251 if test -n "$LCOV"; then
18252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
18253 $as_echo "$LCOV" >&6; }
18254 else
18255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18256 $as_echo "no" >&6; }
18257 fi
18258
18259
18260     # Extract the first word of "genhtml", so it can be a program name with args.
18261 set dummy genhtml; ac_word=$2
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18263 $as_echo_n "checking for $ac_word... " >&6; }
18264 if ${ac_cv_path_GENHTML+:} false; then :
18265   $as_echo_n "(cached) " >&6
18266 else
18267   case $GENHTML in
18268   [\\/]* | ?:[\\/]*)
18269   ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
18270   ;;
18271   *)
18272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18273 for as_dir in $PATH
18274 do
18275   IFS=$as_save_IFS
18276   test -z "$as_dir" && as_dir=.
18277     for ac_exec_ext in '' $ac_executable_extensions; do
18278   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18279     ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
18280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18281     break 2
18282   fi
18283 done
18284   done
18285 IFS=$as_save_IFS
18286
18287   ;;
18288 esac
18289 fi
18290 GENHTML=$ac_cv_path_GENHTML
18291 if test -n "$GENHTML"; then
18292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
18293 $as_echo "$GENHTML" >&6; }
18294 else
18295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18296 $as_echo "no" >&6; }
18297 fi
18298
18299
18300
18301     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build graphical code coverage reports" >&5
18302 $as_echo_n "checking whether to build graphical code coverage reports... " >&6; }
18303 if ${nl_cv_build_coverage_reports+:} false; then :
18304   $as_echo_n "(cached) " >&6
18305 else
18306
18307             # Check whether --enable-coverage-reports was given.
18308 if test "${enable_coverage_reports+set}" = set; then :
18309   enableval=$enable_coverage_reports;
18310                     case "${enableval}" in
18311
18312                     auto|no|yes)
18313                         nl_cv_build_coverage_reports=${enableval}
18314                         ;;
18315
18316                     *)
18317                         as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
18318                         ;;
18319
18320                     esac
18321
18322 else
18323
18324                     nl_cv_build_coverage_reports=auto
18325
18326 fi
18327
18328
18329             # If coverage is not enabled, then coverage reports
18330             # defaults to 'no' if it is 'auto' or fails if it is
18331             # 'yes'. Otherwise, availability of lcov and genhtml
18332             # condition behavior. Lack of availability for 'yes'
18333             # results in failure; however, for 'auto' then coverage
18334             # reports default to 'no'.
18335
18336             case "${nl_cv_build_coverage}" in
18337
18338             no)
18339                 case "${nl_cv_build_coverage_reports}" in
18340
18341                     auto)
18342                         nl_cv_build_coverage_reports="no"
18343                         ;;
18344
18345                     yes)
18346                         as_fn_error $? "--enable-coverage must be asserted to use --enable-coverage-reports." "$LINENO" 5
18347                         ;;
18348
18349                     no)
18350                         ;;
18351
18352                 esac
18353                 ;;
18354
18355             yes)
18356                 case "${nl_cv_build_coverage_reports}" in
18357
18358                     auto)
18359                         # Both lcov and genhtml must exist to successfully
18360                         # enable coverage reports.
18361
18362                         if test "x${LCOV}" = "x" || test "x${GENHTML}" = "x"; then
18363                             nl_cv_build_coverage_reports="no"
18364
18365                         else
18366                             nl_cv_build_coverage_reports="yes"
18367
18368                         fi
18369                         ;;
18370
18371                     yes)
18372                         # Both lcov and genhtml must exist to successfully
18373                         # enable coverage reports. Since the default or user
18374                         # ask is 'yes', we must fail if lcov or genhtml cannot
18375                         # be found.
18376
18377                         if test "x${LCOV}" = "x"; then
18378                             as_fn_error $? "Cannot find 'lcov'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
18379
18380                         elif test "x${GENHTML}" = "x"; then
18381                             as_fn_error $? "Cannot find 'genhtml'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
18382
18383                         elif test "${nl_cv_build_coverage_reports}" = "auto"; then
18384                             nl_cv_build_coverage_reports="yes"
18385
18386                         fi
18387                         ;;
18388
18389                     no)
18390                         ;;
18391
18392                 esac
18393                 ;;
18394
18395             esac
18396
18397 fi
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage_reports" >&5
18399 $as_echo "$nl_cv_build_coverage_reports" >&6; }
18400
18401
18402  if test "${nl_cv_build_coverage_reports}" = "yes"; then
18403   NLIO_BUILD_COVERAGE_REPORTS_TRUE=
18404   NLIO_BUILD_COVERAGE_REPORTS_FALSE='#'
18405 else
18406   NLIO_BUILD_COVERAGE_REPORTS_TRUE='#'
18407   NLIO_BUILD_COVERAGE_REPORTS_FALSE=
18408 fi
18409
18410
18411 # Optimization
18412
18413
18414     # Check whether or not a default value has been passed in.
18415
18416
18417
18418     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-optimized instances of programs and libraries" >&5
18419 $as_echo_n "checking whether to build code-optimized instances of programs and libraries... " >&6; }
18420 if ${nl_cv_build_optimized+:} false; then :
18421   $as_echo_n "(cached) " >&6
18422 else
18423
18424             # Check whether --enable-optimization was given.
18425 if test "${enable_optimization+set}" = set; then :
18426   enableval=$enable_optimization;
18427                     case "${enableval}" in
18428
18429                     no|yes)
18430                         nl_cv_build_optimized=${enableval}
18431
18432                         if test "${nl_cv_build_coverage}" = "yes" && test "${nl_cv_build_optimized}" = "yes"; then
18433                             as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
18434                         fi
18435                         ;;
18436
18437                     *)
18438                         as_fn_error $? "Invalid value ${enableval} for --enable-optimized" "$LINENO" 5
18439                         ;;
18440
18441                     esac
18442
18443 else
18444
18445                     if test "${nl_cv_build_coverage}" = "yes"; then
18446                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-coverage was specified, optimization disabled" >&5
18447 $as_echo "$as_me: WARNING: --enable-coverage was specified, optimization disabled" >&2;}
18448                         nl_cv_build_optimized=no
18449
18450                     else
18451                         nl_cv_build_optimized=yes
18452
18453                     fi
18454
18455 fi
18456
18457
18458 fi
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_optimized" >&5
18460 $as_echo "$nl_cv_build_optimized" >&6; }
18461
18462     if test "${nl_cv_build_optimized}" = "no"; then
18463         CFLAGS="`echo ${CFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18464         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18465         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18466         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18467     fi
18468
18469
18470
18471  if test "${nl_cv_build_optimized}" = "yes"; then
18472   NLIO_BUILD_OPTIMIZED_TRUE=
18473   NLIO_BUILD_OPTIMIZED_FALSE='#'
18474 else
18475   NLIO_BUILD_OPTIMIZED_TRUE='#'
18476   NLIO_BUILD_OPTIMIZED_FALSE=
18477 fi
18478
18479
18480 #
18481 # Tests
18482 #
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
18484 $as_echo "$as_me: checking whether to build tests" >&6;}
18485
18486 # Tests
18487
18488
18489     # Check whether or not a default value has been passed in.
18490
18491
18492
18493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
18494 $as_echo_n "checking whether to build tests... " >&6; }
18495 if ${nl_cv_build_tests+:} false; then :
18496   $as_echo_n "(cached) " >&6
18497 else
18498
18499             # Check whether --enable-tests was given.
18500 if test "${enable_tests+set}" = set; then :
18501   enableval=$enable_tests;
18502                     case "${enableval}" in
18503
18504                     no|yes)
18505                         nl_cv_build_tests=${enableval}
18506                         ;;
18507
18508                     *)
18509                         as_fn_error $? "Invalid value ${enableval} for --enable-tests" "$LINENO" 5
18510                         ;;
18511
18512                     esac
18513
18514 else
18515
18516                     nl_cv_build_tests=yes
18517
18518 fi
18519
18520
18521 fi
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_tests" >&5
18523 $as_echo "$nl_cv_build_tests" >&6; }
18524
18525
18526  if test "${nl_cv_build_tests}" = "yes"; then
18527   NLIO_BUILD_TESTS_TRUE=
18528   NLIO_BUILD_TESTS_FALSE='#'
18529 else
18530   NLIO_BUILD_TESTS_TRUE='#'
18531   NLIO_BUILD_TESTS_FALSE=
18532 fi
18533
18534
18535 #
18536 # Documentation
18537 #
18538
18539 # Determine whether or not documentation (via Doxygen) should be built
18540 # or not, with 'auto' as the default and establish a default support
18541 # value for GraphViz 'dot' support.
18542
18543
18544     # Check whether or not the 'default' value is sane.
18545
18546
18547
18548     # Check whether or not the 'dot_default' value is sane.
18549
18550
18551
18552     DOXYGEN_USE_DOT=NO
18553
18554
18555
18556
18557     # Extract the first word of "doxygen", so it can be a program name with args.
18558 set dummy doxygen; ac_word=$2
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18560 $as_echo_n "checking for $ac_word... " >&6; }
18561 if ${ac_cv_path_DOXYGEN+:} false; then :
18562   $as_echo_n "(cached) " >&6
18563 else
18564   case $DOXYGEN in
18565   [\\/]* | ?:[\\/]*)
18566   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
18567   ;;
18568   *)
18569   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18570 for as_dir in $PATH
18571 do
18572   IFS=$as_save_IFS
18573   test -z "$as_dir" && as_dir=.
18574     for ac_exec_ext in '' $ac_executable_extensions; do
18575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18576     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
18577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18578     break 2
18579   fi
18580 done
18581   done
18582 IFS=$as_save_IFS
18583
18584   ;;
18585 esac
18586 fi
18587 DOXYGEN=$ac_cv_path_DOXYGEN
18588 if test -n "$DOXYGEN"; then
18589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18590 $as_echo "$DOXYGEN" >&6; }
18591 else
18592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18593 $as_echo "no" >&6; }
18594 fi
18595
18596
18597     # Extract the first word of "dot", so it can be a program name with args.
18598 set dummy dot; ac_word=$2
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18600 $as_echo_n "checking for $ac_word... " >&6; }
18601 if ${ac_cv_path_DOT+:} false; then :
18602   $as_echo_n "(cached) " >&6
18603 else
18604   case $DOT in
18605   [\\/]* | ?:[\\/]*)
18606   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18607   ;;
18608   *)
18609   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18610 for as_dir in $PATH
18611 do
18612   IFS=$as_save_IFS
18613   test -z "$as_dir" && as_dir=.
18614     for ac_exec_ext in '' $ac_executable_extensions; do
18615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18616     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18618     break 2
18619   fi
18620 done
18621   done
18622 IFS=$as_save_IFS
18623
18624   ;;
18625 esac
18626 fi
18627 DOT=$ac_cv_path_DOT
18628 if test -n "$DOT"; then
18629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
18630 $as_echo "$DOT" >&6; }
18631 else
18632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18633 $as_echo "no" >&6; }
18634 fi
18635
18636
18637
18638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
18639 $as_echo_n "checking whether to build documentation... " >&6; }
18640 if ${nl_cv_build_docs+:} false; then :
18641   $as_echo_n "(cached) " >&6
18642 else
18643
18644             # Check whether --enable-docs was given.
18645 if test "${enable_docs+set}" = set; then :
18646   enableval=$enable_docs;
18647                     case "${enableval}" in
18648
18649                     auto|no|yes)
18650                         nl_cv_build_docs=${enableval}
18651                         ;;
18652
18653                     *)
18654                         as_fn_error $? "Invalid value ${enableval} for --disable-docs" "$LINENO" 5
18655                         ;;
18656
18657                     esac
18658
18659 else
18660   nl_cv_build_docs=auto
18661 fi
18662
18663
18664             if test "x${DOXYGEN}" != "x"; then
18665                 nl_cv_have_doxygen=yes
18666             else
18667                 nl_cv_have_doxygen=no
18668             fi
18669
18670             if test "${nl_cv_build_docs}" = "auto"; then
18671                 if test "${nl_cv_have_doxygen}" = "no"; then
18672                     nl_cv_build_docs=no
18673                 else
18674                     nl_cv_build_docs=yes
18675                 fi
18676             fi
18677
18678             if test "${nl_cv_build_docs}" = "yes"; then
18679                 if test "${nl_cv_have_doxygen}" = "no"; then
18680                     as_fn_error $? "Building docs was explicitly requested but Doxygen cannot be found" "$LINENO" 5
18681                 elif test "${nl_cv_have_doxygen}" = "yes"; then
18682                     if test "x${DOT}" != "x"; then
18683                         DOXYGEN_USE_DOT=YES
18684                     fi
18685                 fi
18686             fi
18687
18688 fi
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_docs" >&5
18690 $as_echo "$nl_cv_build_docs" >&6; }
18691
18692
18693
18694
18695  if test "${nl_cv_build_docs}" = "yes"; then
18696   NLIO_BUILD_DOCS_TRUE=
18697   NLIO_BUILD_DOCS_FALSE='#'
18698 else
18699   NLIO_BUILD_DOCS_TRUE='#'
18700   NLIO_BUILD_DOCS_FALSE=
18701 fi
18702
18703
18704 #
18705 # Checks for libraries and packages.
18706 #
18707 # At minimum, the following packages are optional, depending on
18708 # configuration:
18709 #
18710 #   * nlunit-test
18711 #
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking required package dependencies" >&5
18713 $as_echo "$as_me: checking required package dependencies" >&6;}
18714
18715 # Check if the build host has pkg-config
18716
18717 # Extract the first word of "pkg-config", so it can be a program name with args.
18718 set dummy pkg-config; ac_word=$2
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18720 $as_echo_n "checking for $ac_word... " >&6; }
18721 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18722   $as_echo_n "(cached) " >&6
18723 else
18724   case $PKG_CONFIG in
18725   [\\/]* | ?:[\\/]*)
18726   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18727   ;;
18728   *)
18729   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18730 for as_dir in $PATH
18731 do
18732   IFS=$as_save_IFS
18733   test -z "$as_dir" && as_dir=.
18734     for ac_exec_ext in '' $ac_executable_extensions; do
18735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18736     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18738     break 2
18739   fi
18740 done
18741   done
18742 IFS=$as_save_IFS
18743
18744   ;;
18745 esac
18746 fi
18747 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18748 if test -n "$PKG_CONFIG"; then
18749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18750 $as_echo "$PKG_CONFIG" >&6; }
18751 else
18752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18753 $as_echo "no" >&6; }
18754 fi
18755
18756
18757
18758 #
18759 # Nlunit-test
18760 #
18761
18762 if test "${nl_cv_build_tests}" = "yes"; then
18763
18764
18765
18766
18767
18768     # Influential external variables for the package support
18769
18770
18771
18772
18773
18774     # Allow the user to specify both external headers and libraries
18775     # together (or internal).
18776
18777
18778
18779 # Check whether --with-nlunit_test was given.
18780 if test "${with_nlunit_test+set}" = set; then :
18781   withval=$with_nlunit_test;
18782             if test "${withval}" = "no"; then
18783                 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18784             elif test "${withval}" = "internal"; then
18785                 nlunit_test_dir=${withval}
18786                 nl_with_nlunit_test=${withval}
18787             else
18788                 nlunit_test_dir=${withval}
18789                 nl_with_nlunit_test=external
18790             fi
18791
18792 else
18793   nlunit_test_dir=; nl_with_nlunit_test=internal
18794 fi
18795
18796
18797     # Allow users to specify external headers and libraries independently.
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808 # Check whether --with-nlunit_test-includes was given.
18809 if test "${with_nlunit_test_includes+set}" = set; then :
18810   withval=$with_nlunit_test_includes;
18811             if test "${withval}" = "no"; then
18812                 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18813             fi
18814
18815             if test "x${nlunit_test_dir}" != "x"; then
18816                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&5
18817 $as_echo "$as_me: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&2;}
18818             fi
18819
18820             if test "${withval}" = "internal"; then
18821                 nlunit_test_header_dir=${withval}
18822                 nl_with_nlunit_test=${withval}
18823             else
18824                 nlunit_test_header_dir=${withval}
18825                 nl_with_nlunit_test=external
18826             fi
18827
18828 else
18829
18830             nlunit_test_header_dir=;
18831             if test "x${nl_with_nlunit_test}" = "x"; then
18832                 nl_with_nlunit_test=internal
18833             fi
18834
18835 fi
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847 # Check whether --with-nlunit_test-libs was given.
18848 if test "${with_nlunit_test_libs+set}" = set; then :
18849   withval=$with_nlunit_test_libs;
18850             if test "${withval}" = "no"; then
18851                 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18852             fi
18853
18854             if test "x${nlunit_test_dir}" != "x"; then
18855                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&5
18856 $as_echo "$as_me: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&2;}
18857             fi
18858
18859             if test "${withval}" = "internal"; then
18860                 nlunit_test_library_dir=${withval}
18861                 nl_with_nlunit_test=${withval}
18862             else
18863                 nlunit_test_library_dir=${withval}
18864                 nl_with_nlunit_test=external
18865             fi
18866
18867 else
18868
18869             nlunit_test_library_dir=;
18870             if test "x${nl_with_nlunit_test}" = "x"; then
18871                 nl_with_nlunit_test=internal
18872             fi
18873
18874 fi
18875
18876
18877     if test "${nl_with_nlunit_test}" == "no"; then
18878         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the Nlunit-test package" >&5
18879 $as_echo_n "checking whether to use the Nlunit-test package... " >&6; }
18880         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlunit_test}" >&5
18881 $as_echo "${nl_with_nlunit_test}" >&6; }
18882
18883     else
18884         { $as_echo "$as_me:${as_lineno-$LINENO}: checking source of the Nlunit-test package" >&5
18885 $as_echo_n "checking source of the Nlunit-test package... " >&6; }
18886         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlunit_test}" >&5
18887 $as_echo "${nl_with_nlunit_test}" >&6; }
18888
18889         # If the user has selected or has defaulted into the internal Nlunit-test
18890         # package, set the values appropriately. Otherwise, run through the
18891         # usual routine.
18892
18893         if test "${nl_with_nlunit_test}" = "internal"; then
18894
18895             # At this point, the internal Nlunit-test package will be neither
18896             # configured nor built, so the normal checks we undertake for an
18897             # external package cannot be run here. Simply set the appropriate
18898             # variables and trust all will be well.
18899
18900             NLUNIT_TEST_CPPFLAGS="-I\${abs_top_srcdir}/third_party/nlunit-test/repo/src"
18901             NLUNIT_TEST_LDFLAGS="-L${ac_pwd}/third_party/nlunit-test/repo/src"
18902             NLUNIT_TEST_LIBS="-lnlunit-test"
18903
18904
18905         else
18906             # We always prefer checking the values of the various '--with-nlunit_test-...'
18907             # options first to using pkg-config because the former might be used
18908             # in a cross-compilation environment on a system that also contains
18909             # pkg-config. In such a case, the user wants what he/she specified
18910             # rather than what pkg-config indicates.
18911
18912             if test "x${nlunit_test_dir}" != "x" -o "x${nlunit_test_header_dir}" != "x" -o "x${nlunit_test_library_dir}" != "x"; then
18913                         if test "x${nlunit_test_dir}" != "x"; then
18914                     if test -d "${nlunit_test_dir}"; then
18915                         if test -d "${nlunit_test_dir}/include"; then
18916                             NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_dir}/include"
18917                         else
18918                             NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_dir}"
18919                         fi
18920
18921                         if test -d "${nlunit_test_dir}/lib"; then
18922                             NLUNIT_TEST_LDFLAGS="-L${nlunit_test_dir}/lib"
18923                         else
18924                             NLUNIT_TEST_LDFLAGS="-L${nlunit_test_dir}"
18925                         fi
18926                     else
18927                         as_fn_error $? "No such directory ${nlunit_test_dir}" "$LINENO" 5
18928                     fi
18929                 fi
18930
18931                 if test "x${nlunit_test_header_dir}" != "x"; then
18932                     if test -d "${nlunit_test_header_dir}"; then
18933                         NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_header_dir}"
18934                     else
18935                         as_fn_error $? "No such directory ${nlunit_test_header_dir}" "$LINENO" 5
18936                     fi
18937                 fi
18938
18939                 if test "x${nlunit_test_library_dir}" != "x"; then
18940                     if test -d "${nlunit_test_library_dir}"; then
18941                         NLUNIT_TEST_LDFLAGS="-L${nlunit_test_library_dir}"
18942                     else
18943                         as_fn_error $? "No such directory ${nlunit_test_library_dir}" "$LINENO" 5
18944                     fi
18945                 fi
18946
18947                 NLUNIT_TEST_LIBS="${NLUNIT_TEST_LDFLAGS} -lnlunit-test"
18948
18949             elif test "x${PKG_CONFIG}" != "x"; then
18950                 if ${PKG_CONFIG} --exists "nlunit_test"; then
18951                     NLUNIT_TEST_CPPFLAGS="`${PKG_CONFIG} --cflags nlunit_test`"
18952                     NLUNIT_TEST_LDFLAGS="`${PKG_CONFIG} --libs-only-L nlunit_test`"
18953                     NLUNIT_TEST_LIBS="`${PKG_CONFIG} --libs-only-l nlunit_test`"
18954                 else
18955                     as_fn_error $? "Cannot find the nlunit_test package with ${PKG_CONFIG}. ${PACKAGE_NAME} requires the nlunit_test package. Try installing the package or use the relevant --with options to configure." "$LINENO" 5
18956                 fi
18957
18958             else
18959                 as_fn_error $? "Cannot find the Nlunit-test package. ${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18960             fi
18961         fi
18962
18963
18964
18965
18966
18967         if test "${nl_with_nlunit_test}" != "internal" -a "${nl_with_nlunit_test}" != "no"; then
18968             nl_saved_CPPFLAGS="${CPPFLAGS}"
18969             nl_saved_LDFLAGS="${LDFLAGS}"
18970             nl_saved_LIBS="${LIBS}"
18971
18972             CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
18973             LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
18974             LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
18975
18976
18977             # Check for required nlunit-test headers.
18978
18979             for ac_header in nlunit-test.h
18980 do :
18981   ac_fn_c_check_header_mongrel "$LINENO" "nlunit-test.h" "ac_cv_header_nlunit_test_h" "$ac_includes_default"
18982 if test "x$ac_cv_header_nlunit_test_h" = xyes; then :
18983   cat >>confdefs.h <<_ACEOF
18984 #define HAVE_NLUNIT_TEST_H 1
18985 _ACEOF
18986
18987 else
18988
18989                 as_fn_error $? "The nlunit-test header \"$ac_header\" is required but cannot be found." "$LINENO" 5
18990
18991 fi
18992
18993 done
18994
18995
18996
18997             CPPFLAGS="${nl_saved_CPPFLAGS}"
18998             LDFLAGS="${nl_saved_LDFLAGS}"
18999             LIBS="${nl_saved_LIBS}"
19000         fi
19001     fi
19002
19003 fi
19004
19005 # Depending on whether nlunit-test has been configured for an internal
19006 # location, its directory stem within this package needs to be set
19007 # accordingly. In addition, if the location is internal, then we need
19008 # to attempt to pull it down using the bootstrap makefile.
19009
19010 if test "${nl_with_nlunit_test}" = "internal"; then
19011     maybe_nlunit_test_dirstem="nlunit-test/repo"
19012     nlunit_test_dirstem="third_party/${maybe_nlunit_test_dirstem}"
19013
19014     { $as_echo "$as_me:${as_lineno-$LINENO}: attempting to create internal ${nlunit_test_dirstem}" >&5
19015 $as_echo "$as_me: attempting to create internal ${nlunit_test_dirstem}" >&6;}
19016
19017     ${MAKE-make} --no-print-directory -C ${srcdir} -f Makefile-bootstrap ${nlunit_test_dirstem}
19018
19019     if test $? -ne 0; then
19020         as_fn_error $? "failed to create ${nlunit_test_dirstem}. Please check your network connection or the correctness of 'repos.conf'" "$LINENO" 5
19021     fi
19022 else
19023     maybe_nlunit_test_dirstem=""
19024 fi
19025
19026 NLUNIT_TEST_SUBDIRS=${maybe_nlunit_test_dirstem}
19027
19028  if test "${nl_with_nlunit_test}" = "internal"; then
19029   NLIO_WITH_NLUNIT_TEST_INTERNAL_TRUE=
19030   NLIO_WITH_NLUNIT_TEST_INTERNAL_FALSE='#'
19031 else
19032   NLIO_WITH_NLUNIT_TEST_INTERNAL_TRUE='#'
19033   NLIO_WITH_NLUNIT_TEST_INTERNAL_FALSE=
19034 fi
19035
19036
19037 #
19038 # Check for headers
19039 #
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
19041 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
19042 if ${ac_cv_header_stdbool_h+:} false; then :
19043   $as_echo_n "(cached) " >&6
19044 else
19045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h.  */
19047
19048 #include <stdbool.h>
19049 #ifndef bool
19050  "error: bool is not defined"
19051 #endif
19052 #ifndef false
19053  "error: false is not defined"
19054 #endif
19055 #if false
19056  "error: false is not 0"
19057 #endif
19058 #ifndef true
19059  "error: true is not defined"
19060 #endif
19061 #if true != 1
19062  "error: true is not 1"
19063 #endif
19064 #ifndef __bool_true_false_are_defined
19065  "error: __bool_true_false_are_defined is not defined"
19066 #endif
19067
19068         struct s { _Bool s: 1; _Bool t; } s;
19069
19070         char a[true == 1 ? 1 : -1];
19071         char b[false == 0 ? 1 : -1];
19072         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
19073         char d[(bool) 0.5 == true ? 1 : -1];
19074         /* See body of main program for 'e'.  */
19075         char f[(_Bool) 0.0 == false ? 1 : -1];
19076         char g[true];
19077         char h[sizeof (_Bool)];
19078         char i[sizeof s.t];
19079         enum { j = false, k = true, l = false * true, m = true * 256 };
19080         /* The following fails for
19081            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
19082         _Bool n[m];
19083         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
19084         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
19085         /* Catch a bug in an HP-UX C compiler.  See
19086            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
19087            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
19088          */
19089         _Bool q = true;
19090         _Bool *pq = &q;
19091
19092 int
19093 main ()
19094 {
19095
19096         bool e = &s;
19097         *pq |= q;
19098         *pq |= ! q;
19099         /* Refer to every declared value, to avoid compiler optimizations.  */
19100         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
19101                 + !m + !n + !o + !p + !q + !pq);
19102
19103   ;
19104   return 0;
19105 }
19106 _ACEOF
19107 if ac_fn_c_try_compile "$LINENO"; then :
19108   ac_cv_header_stdbool_h=yes
19109 else
19110   ac_cv_header_stdbool_h=no
19111 fi
19112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19113 fi
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
19115 $as_echo "$ac_cv_header_stdbool_h" >&6; }
19116 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
19117 if test "x$ac_cv_type__Bool" = xyes; then :
19118
19119 cat >>confdefs.h <<_ACEOF
19120 #define HAVE__BOOL 1
19121 _ACEOF
19122
19123
19124 fi
19125
19126 if test $ac_cv_header_stdbool_h = yes; then
19127
19128 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
19129
19130 fi
19131
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19133 $as_echo_n "checking for ANSI C header files... " >&6; }
19134 if ${ac_cv_header_stdc+:} false; then :
19135   $as_echo_n "(cached) " >&6
19136 else
19137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h.  */
19139 #include <stdlib.h>
19140 #include <stdarg.h>
19141 #include <string.h>
19142 #include <float.h>
19143
19144 int
19145 main ()
19146 {
19147
19148   ;
19149   return 0;
19150 }
19151 _ACEOF
19152 if ac_fn_c_try_compile "$LINENO"; then :
19153   ac_cv_header_stdc=yes
19154 else
19155   ac_cv_header_stdc=no
19156 fi
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19158
19159 if test $ac_cv_header_stdc = yes; then
19160   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19162 /* end confdefs.h.  */
19163 #include <string.h>
19164
19165 _ACEOF
19166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19167   $EGREP "memchr" >/dev/null 2>&1; then :
19168
19169 else
19170   ac_cv_header_stdc=no
19171 fi
19172 rm -f conftest*
19173
19174 fi
19175
19176 if test $ac_cv_header_stdc = yes; then
19177   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19179 /* end confdefs.h.  */
19180 #include <stdlib.h>
19181
19182 _ACEOF
19183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19184   $EGREP "free" >/dev/null 2>&1; then :
19185
19186 else
19187   ac_cv_header_stdc=no
19188 fi
19189 rm -f conftest*
19190
19191 fi
19192
19193 if test $ac_cv_header_stdc = yes; then
19194   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19195   if test "$cross_compiling" = yes; then :
19196   :
19197 else
19198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19199 /* end confdefs.h.  */
19200 #include <ctype.h>
19201 #include <stdlib.h>
19202 #if ((' ' & 0x0FF) == 0x020)
19203 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19204 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19205 #else
19206 # define ISLOWER(c) \
19207                    (('a' <= (c) && (c) <= 'i') \
19208                      || ('j' <= (c) && (c) <= 'r') \
19209                      || ('s' <= (c) && (c) <= 'z'))
19210 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19211 #endif
19212
19213 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19214 int
19215 main ()
19216 {
19217   int i;
19218   for (i = 0; i < 256; i++)
19219     if (XOR (islower (i), ISLOWER (i))
19220         || toupper (i) != TOUPPER (i))
19221       return 2;
19222   return 0;
19223 }
19224 _ACEOF
19225 if ac_fn_c_try_run "$LINENO"; then :
19226
19227 else
19228   ac_cv_header_stdc=no
19229 fi
19230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19231   conftest.$ac_objext conftest.beam conftest.$ac_ext
19232 fi
19233
19234 fi
19235 fi
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19237 $as_echo "$ac_cv_header_stdc" >&6; }
19238 if test $ac_cv_header_stdc = yes; then
19239
19240 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19241
19242 fi
19243
19244
19245 for ac_header in stdint.h
19246 do :
19247   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
19248 if test "x$ac_cv_header_stdint_h" = xyes; then :
19249   cat >>confdefs.h <<_ACEOF
19250 #define HAVE_STDINT_H 1
19251 _ACEOF
19252
19253 fi
19254
19255 done
19256
19257 for ac_header in string.h
19258 do :
19259   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
19260 if test "x$ac_cv_header_string_h" = xyes; then :
19261   cat >>confdefs.h <<_ACEOF
19262 #define HAVE_STRING_H 1
19263 _ACEOF
19264
19265 fi
19266
19267 done
19268
19269
19270 #
19271 # Figure out whether the target uses endian.h or machine/endian.h.
19272 #
19273 for ac_header in endian.h
19274 do :
19275   ac_fn_c_check_header_mongrel "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
19276 if test "x$ac_cv_header_endian_h" = xyes; then :
19277   cat >>confdefs.h <<_ACEOF
19278 #define HAVE_ENDIAN_H 1
19279 _ACEOF
19280
19281 fi
19282
19283 done
19284
19285 for ac_header in machine/endian.h
19286 do :
19287   ac_fn_c_check_header_mongrel "$LINENO" "machine/endian.h" "ac_cv_header_machine_endian_h" "$ac_includes_default"
19288 if test "x$ac_cv_header_machine_endian_h" = xyes; then :
19289   cat >>confdefs.h <<_ACEOF
19290 #define HAVE_MACHINE_ENDIAN_H 1
19291 _ACEOF
19292
19293 fi
19294
19295 done
19296
19297
19298 #
19299 # Check for types and structures
19300 #
19301 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
19302 case $ac_cv_c_int8_t in #(
19303   no|yes) ;; #(
19304   *)
19305
19306 cat >>confdefs.h <<_ACEOF
19307 #define int8_t $ac_cv_c_int8_t
19308 _ACEOF
19309 ;;
19310 esac
19311
19312 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
19313 case $ac_cv_c_int16_t in #(
19314   no|yes) ;; #(
19315   *)
19316
19317 cat >>confdefs.h <<_ACEOF
19318 #define int16_t $ac_cv_c_int16_t
19319 _ACEOF
19320 ;;
19321 esac
19322
19323 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
19324 case $ac_cv_c_int32_t in #(
19325   no|yes) ;; #(
19326   *)
19327
19328 cat >>confdefs.h <<_ACEOF
19329 #define int32_t $ac_cv_c_int32_t
19330 _ACEOF
19331 ;;
19332 esac
19333
19334 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
19335 case $ac_cv_c_int64_t in #(
19336   no|yes) ;; #(
19337   *)
19338
19339 cat >>confdefs.h <<_ACEOF
19340 #define int64_t $ac_cv_c_int64_t
19341 _ACEOF
19342 ;;
19343 esac
19344
19345 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
19346 case $ac_cv_c_uint8_t in #(
19347   no|yes) ;; #(
19348   *)
19349
19350 $as_echo "#define _UINT8_T 1" >>confdefs.h
19351
19352
19353 cat >>confdefs.h <<_ACEOF
19354 #define uint8_t $ac_cv_c_uint8_t
19355 _ACEOF
19356 ;;
19357   esac
19358
19359 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
19360 case $ac_cv_c_uint16_t in #(
19361   no|yes) ;; #(
19362   *)
19363
19364
19365 cat >>confdefs.h <<_ACEOF
19366 #define uint16_t $ac_cv_c_uint16_t
19367 _ACEOF
19368 ;;
19369   esac
19370
19371 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
19372 case $ac_cv_c_uint32_t in #(
19373   no|yes) ;; #(
19374   *)
19375
19376 $as_echo "#define _UINT32_T 1" >>confdefs.h
19377
19378
19379 cat >>confdefs.h <<_ACEOF
19380 #define uint32_t $ac_cv_c_uint32_t
19381 _ACEOF
19382 ;;
19383   esac
19384
19385 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
19386 case $ac_cv_c_uint64_t in #(
19387   no|yes) ;; #(
19388   *)
19389
19390 $as_echo "#define _UINT64_T 1" >>confdefs.h
19391
19392
19393 cat >>confdefs.h <<_ACEOF
19394 #define uint64_t $ac_cv_c_uint64_t
19395 _ACEOF
19396 ;;
19397   esac
19398
19399
19400 #
19401 # Checks for library functions
19402 #
19403
19404 if test "${ac_no_link}" != "yes"; then
19405     for ac_func in memcpy
19406 do :
19407   ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
19408 if test "x$ac_cv_func_memcpy" = xyes; then :
19409   cat >>confdefs.h <<_ACEOF
19410 #define HAVE_MEMCPY 1
19411 _ACEOF
19412
19413 fi
19414 done
19415
19416 fi
19417
19418 # Add any nlunit-test CPPFLAGS, LDFLAGS, and LIBS
19419
19420 CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
19421 LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
19422 LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
19423
19424 # Add any code coverage CPPFLAGS and LIBS
19425
19426 CPPFLAGS="${CPPFLAGS} ${NL_COVERAGE_CPPFLAGS}"
19427 LDFLAGS="${LDFLAGS} ${NL_COVERAGE_LDFLAGS}"
19428 LIBS="${LIBS} ${NL_COVERAGE_LIBS}"
19429
19430 # At this point, we can restore the compiler flags to whatever the
19431 # user passed in, now that we're clear of any -Werror issues by
19432 # transforming -Wno-error back to -Werror.
19433
19434
19435
19436     if test "${nl_had_OBJCXXFLAGS_werror}" = "yes"; then
19437         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19438     fi
19439
19440     unset nl_had_OBJCXXFLAGS_werror
19441
19442
19443     if test "${nl_had_OBJCFLAGS_werror}" = "yes"; then
19444         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19445     fi
19446
19447     unset nl_had_OBJCFLAGS_werror
19448
19449
19450     if test "${nl_had_CXXFLAGS_werror}" = "yes"; then
19451         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19452     fi
19453
19454     unset nl_had_CXXFLAGS_werror
19455
19456
19457     if test "${nl_had_CFLAGS_werror}" = "yes"; then
19458         CFLAGS="`echo ${CFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19459     fi
19460
19461     unset nl_had_CFLAGS_werror
19462
19463
19464     if test "${nl_had_CPPFLAGS_werror}" = "yes"; then
19465         CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19466     fi
19467
19468     unset nl_had_CPPFLAGS_werror
19469
19470
19471
19472 # Configure any autotools-based subdirectories
19473
19474 if test "${nl_with_nlunit_test}" = "internal"; then
19475
19476
19477 subdirs="$subdirs third_party/nlunit-test/repo"
19478
19479     NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY="${ac_pwd}/third_party/nlunit-test/repo/src"
19480
19481 fi
19482
19483 #
19484 # Identify the various makefiles and auto-generated files for the package
19485 #
19486 ac_config_files="$ac_config_files Makefile third_party/Makefile include/Makefile tests/Makefile doc/Makefile"
19487
19488
19489 #
19490 # Generate the auto-generated files for the package
19491 #
19492 cat >confcache <<\_ACEOF
19493 # This file is a shell script that caches the results of configure
19494 # tests run on this system so they can be shared between configure
19495 # scripts and configure runs, see configure's option --config-cache.
19496 # It is not useful on other systems.  If it contains results you don't
19497 # want to keep, you may remove or edit it.
19498 #
19499 # config.status only pays attention to the cache file if you give it
19500 # the --recheck option to rerun configure.
19501 #
19502 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19503 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19504 # following values.
19505
19506 _ACEOF
19507
19508 # The following way of writing the cache mishandles newlines in values,
19509 # but we know of no workaround that is simple, portable, and efficient.
19510 # So, we kill variables containing newlines.
19511 # Ultrix sh set writes to stderr and can't be redirected directly,
19512 # and sets the high bit in the cache file unless we assign to the vars.
19513 (
19514   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19515     eval ac_val=\$$ac_var
19516     case $ac_val in #(
19517     *${as_nl}*)
19518       case $ac_var in #(
19519       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19520 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19521       esac
19522       case $ac_var in #(
19523       _ | IFS | as_nl) ;; #(
19524       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19525       *) { eval $ac_var=; unset $ac_var;} ;;
19526       esac ;;
19527     esac
19528   done
19529
19530   (set) 2>&1 |
19531     case $as_nl`(ac_space=' '; set) 2>&1` in #(
19532     *${as_nl}ac_space=\ *)
19533       # `set' does not quote correctly, so add quotes: double-quote
19534       # substitution turns \\\\ into \\, and sed turns \\ into \.
19535       sed -n \
19536         "s/'/'\\\\''/g;
19537           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19538       ;; #(
19539     *)
19540       # `set' quotes correctly as required by POSIX, so do not add quotes.
19541       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19542       ;;
19543     esac |
19544     sort
19545 ) |
19546   sed '
19547      /^ac_cv_env_/b end
19548      t clear
19549      :clear
19550      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19551      t end
19552      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19553      :end' >>confcache
19554 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19555   if test -w "$cache_file"; then
19556     if test "x$cache_file" != "x/dev/null"; then
19557       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19558 $as_echo "$as_me: updating cache $cache_file" >&6;}
19559       if test ! -f "$cache_file" || test -h "$cache_file"; then
19560         cat confcache >"$cache_file"
19561       else
19562         case $cache_file in #(
19563         */* | ?:*)
19564           mv -f confcache "$cache_file"$$ &&
19565           mv -f "$cache_file"$$ "$cache_file" ;; #(
19566         *)
19567           mv -f confcache "$cache_file" ;;
19568         esac
19569       fi
19570     fi
19571   else
19572     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19573 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19574   fi
19575 fi
19576 rm -f confcache
19577
19578 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19579 # Let make expand exec_prefix.
19580 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19581
19582 DEFS=-DHAVE_CONFIG_H
19583
19584 ac_libobjs=
19585 ac_ltlibobjs=
19586 U=
19587 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19588   # 1. Remove the extension, and $U if already installed.
19589   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19590   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19591   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19592   #    will be set to the directory where LIBOBJS objects are built.
19593   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19594   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19595 done
19596 LIBOBJS=$ac_libobjs
19597
19598 LTLIBOBJS=$ac_ltlibobjs
19599
19600
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19602 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19603    if test -n "$am_sleep_pid"; then
19604      # Hide warnings about reused PIDs.
19605      wait $am_sleep_pid 2>/dev/null
19606    fi
19607    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19608 $as_echo "done" >&6; }
19609  if test -n "$EXEEXT"; then
19610   am__EXEEXT_TRUE=
19611   am__EXEEXT_FALSE='#'
19612 else
19613   am__EXEEXT_TRUE='#'
19614   am__EXEEXT_FALSE=
19615 fi
19616
19617 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19618   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19620 fi
19621 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19622   as_fn_error $? "conditional \"AMDEP\" was never defined.
19623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19624 fi
19625 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19626   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19628 fi
19629 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19630   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19632 fi
19633 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19634   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19636 fi
19637 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19638   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19640 fi
19641 if test -z "${NLIO_BUILD_DEBUG_TRUE}" && test -z "${NLIO_BUILD_DEBUG_FALSE}"; then
19642   as_fn_error $? "conditional \"NLIO_BUILD_DEBUG\" was never defined.
19643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19644 fi
19645 if test -z "${NLIO_BUILD_COVERAGE_TRUE}" && test -z "${NLIO_BUILD_COVERAGE_FALSE}"; then
19646   as_fn_error $? "conditional \"NLIO_BUILD_COVERAGE\" was never defined.
19647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19648 fi
19649 if test -z "${NLIO_BUILD_COVERAGE_REPORTS_TRUE}" && test -z "${NLIO_BUILD_COVERAGE_REPORTS_FALSE}"; then
19650   as_fn_error $? "conditional \"NLIO_BUILD_COVERAGE_REPORTS\" was never defined.
19651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19652 fi
19653 if test -z "${NLIO_BUILD_OPTIMIZED_TRUE}" && test -z "${NLIO_BUILD_OPTIMIZED_FALSE}"; then
19654   as_fn_error $? "conditional \"NLIO_BUILD_OPTIMIZED\" was never defined.
19655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19656 fi
19657 if test -z "${NLIO_BUILD_TESTS_TRUE}" && test -z "${NLIO_BUILD_TESTS_FALSE}"; then
19658   as_fn_error $? "conditional \"NLIO_BUILD_TESTS\" was never defined.
19659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19660 fi
19661 if test -z "${NLIO_BUILD_DOCS_TRUE}" && test -z "${NLIO_BUILD_DOCS_FALSE}"; then
19662   as_fn_error $? "conditional \"NLIO_BUILD_DOCS\" was never defined.
19663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19664 fi
19665 if test -z "${NLIO_WITH_NLUNIT_TEST_INTERNAL_TRUE}" && test -z "${NLIO_WITH_NLUNIT_TEST_INTERNAL_FALSE}"; then
19666   as_fn_error $? "conditional \"NLIO_WITH_NLUNIT_TEST_INTERNAL\" was never defined.
19667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19668 fi
19669
19670 : "${CONFIG_STATUS=./config.status}"
19671 ac_write_fail=0
19672 ac_clean_files_save=$ac_clean_files
19673 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19675 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19676 as_write_fail=0
19677 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19678 #! $SHELL
19679 # Generated by $as_me.
19680 # Run this file to recreate the current configuration.
19681 # Compiler output produced by configure, useful for debugging
19682 # configure, is in config.log if it exists.
19683
19684 debug=false
19685 ac_cs_recheck=false
19686 ac_cs_silent=false
19687
19688 SHELL=\${CONFIG_SHELL-$SHELL}
19689 export SHELL
19690 _ASEOF
19691 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19692 ## -------------------- ##
19693 ## M4sh Initialization. ##
19694 ## -------------------- ##
19695
19696 # Be more Bourne compatible
19697 DUALCASE=1; export DUALCASE # for MKS sh
19698 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19699   emulate sh
19700   NULLCMD=:
19701   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19702   # is contrary to our usage.  Disable this feature.
19703   alias -g '${1+"$@"}'='"$@"'
19704   setopt NO_GLOB_SUBST
19705 else
19706   case `(set -o) 2>/dev/null` in #(
19707   *posix*) :
19708     set -o posix ;; #(
19709   *) :
19710      ;;
19711 esac
19712 fi
19713
19714
19715 as_nl='
19716 '
19717 export as_nl
19718 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19719 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19720 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19721 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19722 # Prefer a ksh shell builtin over an external printf program on Solaris,
19723 # but without wasting forks for bash or zsh.
19724 if test -z "$BASH_VERSION$ZSH_VERSION" \
19725     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19726   as_echo='print -r --'
19727   as_echo_n='print -rn --'
19728 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19729   as_echo='printf %s\n'
19730   as_echo_n='printf %s'
19731 else
19732   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19733     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19734     as_echo_n='/usr/ucb/echo -n'
19735   else
19736     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19737     as_echo_n_body='eval
19738       arg=$1;
19739       case $arg in #(
19740       *"$as_nl"*)
19741         expr "X$arg" : "X\\(.*\\)$as_nl";
19742         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19743       esac;
19744       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19745     '
19746     export as_echo_n_body
19747     as_echo_n='sh -c $as_echo_n_body as_echo'
19748   fi
19749   export as_echo_body
19750   as_echo='sh -c $as_echo_body as_echo'
19751 fi
19752
19753 # The user is always right.
19754 if test "${PATH_SEPARATOR+set}" != set; then
19755   PATH_SEPARATOR=:
19756   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19757     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19758       PATH_SEPARATOR=';'
19759   }
19760 fi
19761
19762
19763 # IFS
19764 # We need space, tab and new line, in precisely that order.  Quoting is
19765 # there to prevent editors from complaining about space-tab.
19766 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19767 # splitting by setting IFS to empty value.)
19768 IFS=" ""        $as_nl"
19769
19770 # Find who we are.  Look in the path if we contain no directory separator.
19771 as_myself=
19772 case $0 in #((
19773   *[\\/]* ) as_myself=$0 ;;
19774   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19775 for as_dir in $PATH
19776 do
19777   IFS=$as_save_IFS
19778   test -z "$as_dir" && as_dir=.
19779     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19780   done
19781 IFS=$as_save_IFS
19782
19783      ;;
19784 esac
19785 # We did not find ourselves, most probably we were run as `sh COMMAND'
19786 # in which case we are not to be found in the path.
19787 if test "x$as_myself" = x; then
19788   as_myself=$0
19789 fi
19790 if test ! -f "$as_myself"; then
19791   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19792   exit 1
19793 fi
19794
19795 # Unset variables that we do not need and which cause bugs (e.g. in
19796 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19797 # suppresses any "Segmentation fault" message there.  '((' could
19798 # trigger a bug in pdksh 5.2.14.
19799 for as_var in BASH_ENV ENV MAIL MAILPATH
19800 do eval test x\${$as_var+set} = xset \
19801   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19802 done
19803 PS1='$ '
19804 PS2='> '
19805 PS4='+ '
19806
19807 # NLS nuisances.
19808 LC_ALL=C
19809 export LC_ALL
19810 LANGUAGE=C
19811 export LANGUAGE
19812
19813 # CDPATH.
19814 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19815
19816
19817 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19818 # ----------------------------------------
19819 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19820 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19821 # script with STATUS, using 1 if that was 0.
19822 as_fn_error ()
19823 {
19824   as_status=$1; test $as_status -eq 0 && as_status=1
19825   if test "$4"; then
19826     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19827     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19828   fi
19829   $as_echo "$as_me: error: $2" >&2
19830   as_fn_exit $as_status
19831 } # as_fn_error
19832
19833
19834 # as_fn_set_status STATUS
19835 # -----------------------
19836 # Set $? to STATUS, without forking.
19837 as_fn_set_status ()
19838 {
19839   return $1
19840 } # as_fn_set_status
19841
19842 # as_fn_exit STATUS
19843 # -----------------
19844 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19845 as_fn_exit ()
19846 {
19847   set +e
19848   as_fn_set_status $1
19849   exit $1
19850 } # as_fn_exit
19851
19852 # as_fn_unset VAR
19853 # ---------------
19854 # Portably unset VAR.
19855 as_fn_unset ()
19856 {
19857   { eval $1=; unset $1;}
19858 }
19859 as_unset=as_fn_unset
19860 # as_fn_append VAR VALUE
19861 # ----------------------
19862 # Append the text in VALUE to the end of the definition contained in VAR. Take
19863 # advantage of any shell optimizations that allow amortized linear growth over
19864 # repeated appends, instead of the typical quadratic growth present in naive
19865 # implementations.
19866 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19867   eval 'as_fn_append ()
19868   {
19869     eval $1+=\$2
19870   }'
19871 else
19872   as_fn_append ()
19873   {
19874     eval $1=\$$1\$2
19875   }
19876 fi # as_fn_append
19877
19878 # as_fn_arith ARG...
19879 # ------------------
19880 # Perform arithmetic evaluation on the ARGs, and store the result in the
19881 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19882 # must be portable across $(()) and expr.
19883 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19884   eval 'as_fn_arith ()
19885   {
19886     as_val=$(( $* ))
19887   }'
19888 else
19889   as_fn_arith ()
19890   {
19891     as_val=`expr "$@" || test $? -eq 1`
19892   }
19893 fi # as_fn_arith
19894
19895
19896 if expr a : '\(a\)' >/dev/null 2>&1 &&
19897    test "X`expr 00001 : '.*\(...\)'`" = X001; then
19898   as_expr=expr
19899 else
19900   as_expr=false
19901 fi
19902
19903 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19904   as_basename=basename
19905 else
19906   as_basename=false
19907 fi
19908
19909 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19910   as_dirname=dirname
19911 else
19912   as_dirname=false
19913 fi
19914
19915 as_me=`$as_basename -- "$0" ||
19916 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19917          X"$0" : 'X\(//\)$' \| \
19918          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19919 $as_echo X/"$0" |
19920     sed '/^.*\/\([^/][^/]*\)\/*$/{
19921             s//\1/
19922             q
19923           }
19924           /^X\/\(\/\/\)$/{
19925             s//\1/
19926             q
19927           }
19928           /^X\/\(\/\).*/{
19929             s//\1/
19930             q
19931           }
19932           s/.*/./; q'`
19933
19934 # Avoid depending upon Character Ranges.
19935 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19936 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19937 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19938 as_cr_digits='0123456789'
19939 as_cr_alnum=$as_cr_Letters$as_cr_digits
19940
19941 ECHO_C= ECHO_N= ECHO_T=
19942 case `echo -n x` in #(((((
19943 -n*)
19944   case `echo 'xy\c'` in
19945   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19946   xy)  ECHO_C='\c';;
19947   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19948        ECHO_T=' ';;
19949   esac;;
19950 *)
19951   ECHO_N='-n';;
19952 esac
19953
19954 rm -f conf$$ conf$$.exe conf$$.file
19955 if test -d conf$$.dir; then
19956   rm -f conf$$.dir/conf$$.file
19957 else
19958   rm -f conf$$.dir
19959   mkdir conf$$.dir 2>/dev/null
19960 fi
19961 if (echo >conf$$.file) 2>/dev/null; then
19962   if ln -s conf$$.file conf$$ 2>/dev/null; then
19963     as_ln_s='ln -s'
19964     # ... but there are two gotchas:
19965     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19966     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19967     # In both cases, we have to default to `cp -p'.
19968     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19969       as_ln_s='cp -p'
19970   elif ln conf$$.file conf$$ 2>/dev/null; then
19971     as_ln_s=ln
19972   else
19973     as_ln_s='cp -p'
19974   fi
19975 else
19976   as_ln_s='cp -p'
19977 fi
19978 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19979 rmdir conf$$.dir 2>/dev/null
19980
19981
19982 # as_fn_mkdir_p
19983 # -------------
19984 # Create "$as_dir" as a directory, including parents if necessary.
19985 as_fn_mkdir_p ()
19986 {
19987
19988   case $as_dir in #(
19989   -*) as_dir=./$as_dir;;
19990   esac
19991   test -d "$as_dir" || eval $as_mkdir_p || {
19992     as_dirs=
19993     while :; do
19994       case $as_dir in #(
19995       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19996       *) as_qdir=$as_dir;;
19997       esac
19998       as_dirs="'$as_qdir' $as_dirs"
19999       as_dir=`$as_dirname -- "$as_dir" ||
20000 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20001          X"$as_dir" : 'X\(//\)[^/]' \| \
20002          X"$as_dir" : 'X\(//\)$' \| \
20003          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20004 $as_echo X"$as_dir" |
20005     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20006             s//\1/
20007             q
20008           }
20009           /^X\(\/\/\)[^/].*/{
20010             s//\1/
20011             q
20012           }
20013           /^X\(\/\/\)$/{
20014             s//\1/
20015             q
20016           }
20017           /^X\(\/\).*/{
20018             s//\1/
20019             q
20020           }
20021           s/.*/./; q'`
20022       test -d "$as_dir" && break
20023     done
20024     test -z "$as_dirs" || eval "mkdir $as_dirs"
20025   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20026
20027
20028 } # as_fn_mkdir_p
20029 if mkdir -p . 2>/dev/null; then
20030   as_mkdir_p='mkdir -p "$as_dir"'
20031 else
20032   test -d ./-p && rmdir ./-p
20033   as_mkdir_p=false
20034 fi
20035
20036 if test -x / >/dev/null 2>&1; then
20037   as_test_x='test -x'
20038 else
20039   if ls -dL / >/dev/null 2>&1; then
20040     as_ls_L_option=L
20041   else
20042     as_ls_L_option=
20043   fi
20044   as_test_x='
20045     eval sh -c '\''
20046       if test -d "$1"; then
20047         test -d "$1/.";
20048       else
20049         case $1 in #(
20050         -*)set "./$1";;
20051         esac;
20052         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20053         ???[sx]*):;;*)false;;esac;fi
20054     '\'' sh
20055   '
20056 fi
20057 as_executable_p=$as_test_x
20058
20059 # Sed expression to map a string onto a valid CPP name.
20060 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20061
20062 # Sed expression to map a string onto a valid variable name.
20063 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20064
20065
20066 exec 6>&1
20067 ## ----------------------------------- ##
20068 ## Main body of $CONFIG_STATUS script. ##
20069 ## ----------------------------------- ##
20070 _ASEOF
20071 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20072
20073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20074 # Save the log message, to keep $0 and so on meaningful, and to
20075 # report actual input values of CONFIG_FILES etc. instead of their
20076 # values after options handling.
20077 ac_log="
20078 This file was extended by nlio $as_me gf493c3b, which was
20079 generated by GNU Autoconf 2.68.  Invocation command line was
20080
20081   CONFIG_FILES    = $CONFIG_FILES
20082   CONFIG_HEADERS  = $CONFIG_HEADERS
20083   CONFIG_LINKS    = $CONFIG_LINKS
20084   CONFIG_COMMANDS = $CONFIG_COMMANDS
20085   $ $0 $@
20086
20087 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20088 "
20089
20090 _ACEOF
20091
20092 case $ac_config_files in *"
20093 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20094 esac
20095
20096 case $ac_config_headers in *"
20097 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20098 esac
20099
20100
20101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20102 # Files that config.status was made for.
20103 config_files="$ac_config_files"
20104 config_headers="$ac_config_headers"
20105 config_commands="$ac_config_commands"
20106
20107 _ACEOF
20108
20109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20110 ac_cs_usage="\
20111 \`$as_me' instantiates files and other configuration actions
20112 from templates according to the current configuration.  Unless the files
20113 and actions are specified as TAGs, all are instantiated by default.
20114
20115 Usage: $0 [OPTION]... [TAG]...
20116
20117   -h, --help       print this help, then exit
20118   -V, --version    print version number and configuration settings, then exit
20119       --config     print configuration, then exit
20120   -q, --quiet, --silent
20121                    do not print progress messages
20122   -d, --debug      don't remove temporary files
20123       --recheck    update $as_me by reconfiguring in the same conditions
20124       --file=FILE[:TEMPLATE]
20125                    instantiate the configuration file FILE
20126       --header=FILE[:TEMPLATE]
20127                    instantiate the configuration header FILE
20128
20129 Configuration files:
20130 $config_files
20131
20132 Configuration headers:
20133 $config_headers
20134
20135 Configuration commands:
20136 $config_commands
20137
20138 Report bugs to <nlio-users@google.com>.
20139 nlio home page: <https://github.com/nestlabs/nlio/>."
20140
20141 _ACEOF
20142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20143 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20144 ac_cs_version="\\
20145 nlio config.status gf493c3b
20146 configured by $0, generated by GNU Autoconf 2.68,
20147   with options \\"\$ac_cs_config\\"
20148
20149 Copyright (C) 2010 Free Software Foundation, Inc.
20150 This config.status script is free software; the Free Software Foundation
20151 gives unlimited permission to copy, distribute and modify it."
20152
20153 ac_pwd='$ac_pwd'
20154 srcdir='$srcdir'
20155 INSTALL='$INSTALL'
20156 MKDIR_P='$MKDIR_P'
20157 AWK='$AWK'
20158 test -n "\$AWK" || AWK=awk
20159 _ACEOF
20160
20161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20162 # The default lists apply if the user does not specify any file.
20163 ac_need_defaults=:
20164 while test $# != 0
20165 do
20166   case $1 in
20167   --*=?*)
20168     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20169     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20170     ac_shift=:
20171     ;;
20172   --*=)
20173     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20174     ac_optarg=
20175     ac_shift=:
20176     ;;
20177   *)
20178     ac_option=$1
20179     ac_optarg=$2
20180     ac_shift=shift
20181     ;;
20182   esac
20183
20184   case $ac_option in
20185   # Handling of the options.
20186   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20187     ac_cs_recheck=: ;;
20188   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20189     $as_echo "$ac_cs_version"; exit ;;
20190   --config | --confi | --conf | --con | --co | --c )
20191     $as_echo "$ac_cs_config"; exit ;;
20192   --debug | --debu | --deb | --de | --d | -d )
20193     debug=: ;;
20194   --file | --fil | --fi | --f )
20195     $ac_shift
20196     case $ac_optarg in
20197     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20198     '') as_fn_error $? "missing file argument" ;;
20199     esac
20200     as_fn_append CONFIG_FILES " '$ac_optarg'"
20201     ac_need_defaults=false;;
20202   --header | --heade | --head | --hea )
20203     $ac_shift
20204     case $ac_optarg in
20205     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20206     esac
20207     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20208     ac_need_defaults=false;;
20209   --he | --h)
20210     # Conflict between --help and --header
20211     as_fn_error $? "ambiguous option: \`$1'
20212 Try \`$0 --help' for more information.";;
20213   --help | --hel | -h )
20214     $as_echo "$ac_cs_usage"; exit ;;
20215   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20216   | -silent | --silent | --silen | --sile | --sil | --si | --s)
20217     ac_cs_silent=: ;;
20218
20219   # This is an error.
20220   -*) as_fn_error $? "unrecognized option: \`$1'
20221 Try \`$0 --help' for more information." ;;
20222
20223   *) as_fn_append ac_config_targets " $1"
20224      ac_need_defaults=false ;;
20225
20226   esac
20227   shift
20228 done
20229
20230 ac_configure_extra_args=
20231
20232 if $ac_cs_silent; then
20233   exec 6>/dev/null
20234   ac_configure_extra_args="$ac_configure_extra_args --silent"
20235 fi
20236
20237 _ACEOF
20238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20239 if \$ac_cs_recheck; then
20240   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20241   shift
20242   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20243   CONFIG_SHELL='$SHELL'
20244   export CONFIG_SHELL
20245   exec "\$@"
20246 fi
20247
20248 _ACEOF
20249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20250 exec 5>>config.log
20251 {
20252   echo
20253   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20254 ## Running $as_me. ##
20255 _ASBOX
20256   $as_echo "$ac_log"
20257 } >&5
20258
20259 _ACEOF
20260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20261 #
20262 # INIT-COMMANDS
20263 #
20264 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20265
20266
20267 # The HP-UX ksh and POSIX shell print the target directory to stdout
20268 # if CDPATH is set.
20269 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20270
20271 sed_quote_subst='$sed_quote_subst'
20272 double_quote_subst='$double_quote_subst'
20273 delay_variable_subst='$delay_variable_subst'
20274 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20275 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20276 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20277 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20278 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20279 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20280 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20281 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20282 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20283 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20284 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20285 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20286 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20287 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20288 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20289 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20290 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20291 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20292 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20293 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20294 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20295 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20296 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20297 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20298 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20299 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20300 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20301 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20302 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20303 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20304 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20305 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20306 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20307 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20308 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20309 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20310 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20311 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20312 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20313 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20314 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20315 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20316 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20317 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20318 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20319 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20320 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20321 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20322 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20323 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20324 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20325 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20326 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20327 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20328 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20329 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20330 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"`'
20331 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20332 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20333 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20334 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20335 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20336 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20337 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20338 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20339 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20340 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20341 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20342 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20343 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20344 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20345 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20346 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20347 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20348 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20349 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20350 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20351 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20352 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20353 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20354 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20355 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20356 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20357 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20358 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20359 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20360 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20361 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20362 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20363 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20364 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20365 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20366 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20367 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20368 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20369 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20370 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20371 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20372 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20373 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20374 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20375 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20376 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20377 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20378 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20379 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20380 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20381 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20382 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20383 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20384 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20385 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20386 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20387 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20388 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20389 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20390 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20391 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20392 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20393 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20394 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20395 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20396 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20397 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20398 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20399 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20400 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20401 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20402 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20403 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20404 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20405 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20406 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20407 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20408 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20409 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20410 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20411 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20412 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20413 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20414 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20415 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20416 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20417 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20418 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20419 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20420 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20421 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20422 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20423 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20424 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20425 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20426 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20427 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20428 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20429 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20430 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20431 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20432 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20433 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20434 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20435 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20436 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20437 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20438 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20439 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20440 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20441 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20442 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20443 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20444 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20445 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20446 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20447 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20448 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20449 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20450 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20451 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20452 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20453 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20454 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20455 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20456 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20457 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20458
20459 LTCC='$LTCC'
20460 LTCFLAGS='$LTCFLAGS'
20461 compiler='$compiler_DEFAULT'
20462
20463 # A function that is used when there is no print builtin or printf.
20464 func_fallback_echo ()
20465 {
20466   eval 'cat <<_LTECHO_EOF
20467 \$1
20468 _LTECHO_EOF'
20469 }
20470
20471 # Quote evaled strings.
20472 for var in SHELL \
20473 ECHO \
20474 PATH_SEPARATOR \
20475 SED \
20476 GREP \
20477 EGREP \
20478 FGREP \
20479 LD \
20480 NM \
20481 LN_S \
20482 lt_SP2NL \
20483 lt_NL2SP \
20484 reload_flag \
20485 OBJDUMP \
20486 deplibs_check_method \
20487 file_magic_cmd \
20488 file_magic_glob \
20489 want_nocaseglob \
20490 DLLTOOL \
20491 sharedlib_from_linklib_cmd \
20492 AR \
20493 AR_FLAGS \
20494 archiver_list_spec \
20495 STRIP \
20496 RANLIB \
20497 CC \
20498 CFLAGS \
20499 compiler \
20500 lt_cv_sys_global_symbol_pipe \
20501 lt_cv_sys_global_symbol_to_cdecl \
20502 lt_cv_sys_global_symbol_to_c_name_address \
20503 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20504 nm_file_list_spec \
20505 lt_prog_compiler_no_builtin_flag \
20506 lt_prog_compiler_pic \
20507 lt_prog_compiler_wl \
20508 lt_prog_compiler_static \
20509 lt_cv_prog_compiler_c_o \
20510 need_locks \
20511 MANIFEST_TOOL \
20512 DSYMUTIL \
20513 NMEDIT \
20514 LIPO \
20515 OTOOL \
20516 OTOOL64 \
20517 shrext_cmds \
20518 export_dynamic_flag_spec \
20519 whole_archive_flag_spec \
20520 compiler_needs_object \
20521 with_gnu_ld \
20522 allow_undefined_flag \
20523 no_undefined_flag \
20524 hardcode_libdir_flag_spec \
20525 hardcode_libdir_separator \
20526 exclude_expsyms \
20527 include_expsyms \
20528 file_list_spec \
20529 variables_saved_for_relink \
20530 libname_spec \
20531 library_names_spec \
20532 soname_spec \
20533 install_override_mode \
20534 finish_eval \
20535 old_striplib \
20536 striplib \
20537 compiler_lib_search_dirs \
20538 predep_objects \
20539 postdep_objects \
20540 predeps \
20541 postdeps \
20542 compiler_lib_search_path \
20543 LD_CXX \
20544 reload_flag_CXX \
20545 compiler_CXX \
20546 lt_prog_compiler_no_builtin_flag_CXX \
20547 lt_prog_compiler_pic_CXX \
20548 lt_prog_compiler_wl_CXX \
20549 lt_prog_compiler_static_CXX \
20550 lt_cv_prog_compiler_c_o_CXX \
20551 export_dynamic_flag_spec_CXX \
20552 whole_archive_flag_spec_CXX \
20553 compiler_needs_object_CXX \
20554 with_gnu_ld_CXX \
20555 allow_undefined_flag_CXX \
20556 no_undefined_flag_CXX \
20557 hardcode_libdir_flag_spec_CXX \
20558 hardcode_libdir_separator_CXX \
20559 exclude_expsyms_CXX \
20560 include_expsyms_CXX \
20561 file_list_spec_CXX \
20562 compiler_lib_search_dirs_CXX \
20563 predep_objects_CXX \
20564 postdep_objects_CXX \
20565 predeps_CXX \
20566 postdeps_CXX \
20567 compiler_lib_search_path_CXX; do
20568     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20569     *[\\\\\\\`\\"\\\$]*)
20570       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20571       ;;
20572     *)
20573       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20574       ;;
20575     esac
20576 done
20577
20578 # Double-quote double-evaled strings.
20579 for var in reload_cmds \
20580 old_postinstall_cmds \
20581 old_postuninstall_cmds \
20582 old_archive_cmds \
20583 extract_expsyms_cmds \
20584 old_archive_from_new_cmds \
20585 old_archive_from_expsyms_cmds \
20586 archive_cmds \
20587 archive_expsym_cmds \
20588 module_cmds \
20589 module_expsym_cmds \
20590 export_symbols_cmds \
20591 prelink_cmds \
20592 postlink_cmds \
20593 postinstall_cmds \
20594 postuninstall_cmds \
20595 finish_cmds \
20596 sys_lib_search_path_spec \
20597 sys_lib_dlsearch_path_spec \
20598 reload_cmds_CXX \
20599 old_archive_cmds_CXX \
20600 old_archive_from_new_cmds_CXX \
20601 old_archive_from_expsyms_cmds_CXX \
20602 archive_cmds_CXX \
20603 archive_expsym_cmds_CXX \
20604 module_cmds_CXX \
20605 module_expsym_cmds_CXX \
20606 export_symbols_cmds_CXX \
20607 prelink_cmds_CXX \
20608 postlink_cmds_CXX; do
20609     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20610     *[\\\\\\\`\\"\\\$]*)
20611       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20612       ;;
20613     *)
20614       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20615       ;;
20616     esac
20617 done
20618
20619 ac_aux_dir='$ac_aux_dir'
20620 xsi_shell='$xsi_shell'
20621 lt_shell_append='$lt_shell_append'
20622
20623 # See if we are running on zsh, and set the options which allow our
20624 # commands through without removal of \ escapes INIT.
20625 if test -n "\${ZSH_VERSION+set}" ; then
20626    setopt NO_GLOB_SUBST
20627 fi
20628
20629
20630     PACKAGE='$PACKAGE'
20631     VERSION='$VERSION'
20632     TIMESTAMP='$TIMESTAMP'
20633     RM='$RM'
20634     ofile='$ofile'
20635
20636
20637
20638
20639
20640
20641 _ACEOF
20642
20643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20644
20645 # Handling of arguments.
20646 for ac_config_target in $ac_config_targets
20647 do
20648   case $ac_config_target in
20649     "include/nlio-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/nlio-config.h" ;;
20650     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20651     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20652     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20653     "third_party/Makefile") CONFIG_FILES="$CONFIG_FILES third_party/Makefile" ;;
20654     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20655     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20656     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20657
20658   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20659   esac
20660 done
20661
20662
20663 # If the user did not use the arguments to specify the items to instantiate,
20664 # then the envvar interface is used.  Set only those that are not.
20665 # We use the long form for the default assignment because of an extremely
20666 # bizarre bug on SunOS 4.1.3.
20667 if $ac_need_defaults; then
20668   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20669   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20670   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20671 fi
20672
20673 # Have a temporary directory for convenience.  Make it in the build tree
20674 # simply because there is no reason against having it here, and in addition,
20675 # creating and moving files from /tmp can sometimes cause problems.
20676 # Hook for its removal unless debugging.
20677 # Note that there is a small window in which the directory will not be cleaned:
20678 # after its creation but before its name has been assigned to `$tmp'.
20679 $debug ||
20680 {
20681   tmp= ac_tmp=
20682   trap 'exit_status=$?
20683   : "${ac_tmp:=$tmp}"
20684   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20685 ' 0
20686   trap 'as_fn_exit 1' 1 2 13 15
20687 }
20688 # Create a (secure) tmp directory for tmp files.
20689
20690 {
20691   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20692   test -d "$tmp"
20693 }  ||
20694 {
20695   tmp=./conf$$-$RANDOM
20696   (umask 077 && mkdir "$tmp")
20697 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20698 ac_tmp=$tmp
20699
20700 # Set up the scripts for CONFIG_FILES section.
20701 # No need to generate them if there are no CONFIG_FILES.
20702 # This happens for instance with `./config.status config.h'.
20703 if test -n "$CONFIG_FILES"; then
20704
20705
20706 ac_cr=`echo X | tr X '\015'`
20707 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20708 # But we know of no other shell where ac_cr would be empty at this
20709 # point, so we can use a bashism as a fallback.
20710 if test "x$ac_cr" = x; then
20711   eval ac_cr=\$\'\\r\'
20712 fi
20713 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20714 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20715   ac_cs_awk_cr='\\r'
20716 else
20717   ac_cs_awk_cr=$ac_cr
20718 fi
20719
20720 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20721 _ACEOF
20722
20723
20724 {
20725   echo "cat >conf$$subs.awk <<_ACEOF" &&
20726   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20727   echo "_ACEOF"
20728 } >conf$$subs.sh ||
20729   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20730 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20731 ac_delim='%!_!# '
20732 for ac_last_try in false false false false false :; do
20733   . ./conf$$subs.sh ||
20734     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20735
20736   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20737   if test $ac_delim_n = $ac_delim_num; then
20738     break
20739   elif $ac_last_try; then
20740     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20741   else
20742     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20743   fi
20744 done
20745 rm -f conf$$subs.sh
20746
20747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20748 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20749 _ACEOF
20750 sed -n '
20751 h
20752 s/^/S["/; s/!.*/"]=/
20753 p
20754 g
20755 s/^[^!]*!//
20756 :repl
20757 t repl
20758 s/'"$ac_delim"'$//
20759 t delim
20760 :nl
20761 h
20762 s/\(.\{148\}\)..*/\1/
20763 t more1
20764 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20765 p
20766 n
20767 b repl
20768 :more1
20769 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20770 p
20771 g
20772 s/.\{148\}//
20773 t nl
20774 :delim
20775 h
20776 s/\(.\{148\}\)..*/\1/
20777 t more2
20778 s/["\\]/\\&/g; s/^/"/; s/$/"/
20779 p
20780 b
20781 :more2
20782 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20783 p
20784 g
20785 s/.\{148\}//
20786 t delim
20787 ' <conf$$subs.awk | sed '
20788 /^[^""]/{
20789   N
20790   s/\n//
20791 }
20792 ' >>$CONFIG_STATUS || ac_write_fail=1
20793 rm -f conf$$subs.awk
20794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20795 _ACAWK
20796 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20797   for (key in S) S_is_set[key] = 1
20798   FS = "\a"
20799
20800 }
20801 {
20802   line = $ 0
20803   nfields = split(line, field, "@")
20804   substed = 0
20805   len = length(field[1])
20806   for (i = 2; i < nfields; i++) {
20807     key = field[i]
20808     keylen = length(key)
20809     if (S_is_set[key]) {
20810       value = S[key]
20811       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20812       len += length(value) + length(field[++i])
20813       substed = 1
20814     } else
20815       len += 1 + keylen
20816   }
20817
20818   print line
20819 }
20820
20821 _ACAWK
20822 _ACEOF
20823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20824 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20825   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20826 else
20827   cat
20828 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20829   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20830 _ACEOF
20831
20832 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20833 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20834 # trailing colons and then remove the whole line if VPATH becomes empty
20835 # (actually we leave an empty line to preserve line numbers).
20836 if test "x$srcdir" = x.; then
20837   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
20838 h
20839 s///
20840 s/^/:/
20841 s/[      ]*$/:/
20842 s/:\$(srcdir):/:/g
20843 s/:\${srcdir}:/:/g
20844 s/:@srcdir@:/:/g
20845 s/^:*//
20846 s/:*$//
20847 x
20848 s/\(=[   ]*\).*/\1/
20849 G
20850 s/\n//
20851 s/^[^=]*=[       ]*$//
20852 }'
20853 fi
20854
20855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20856 fi # test -n "$CONFIG_FILES"
20857
20858 # Set up the scripts for CONFIG_HEADERS section.
20859 # No need to generate them if there are no CONFIG_HEADERS.
20860 # This happens for instance with `./config.status Makefile'.
20861 if test -n "$CONFIG_HEADERS"; then
20862 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20863 BEGIN {
20864 _ACEOF
20865
20866 # Transform confdefs.h into an awk script `defines.awk', embedded as
20867 # here-document in config.status, that substitutes the proper values into
20868 # config.h.in to produce config.h.
20869
20870 # Create a delimiter string that does not exist in confdefs.h, to ease
20871 # handling of long lines.
20872 ac_delim='%!_!# '
20873 for ac_last_try in false false :; do
20874   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20875   if test -z "$ac_tt"; then
20876     break
20877   elif $ac_last_try; then
20878     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20879   else
20880     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20881   fi
20882 done
20883
20884 # For the awk script, D is an array of macro values keyed by name,
20885 # likewise P contains macro parameters if any.  Preserve backslash
20886 # newline sequences.
20887
20888 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20889 sed -n '
20890 s/.\{148\}/&'"$ac_delim"'/g
20891 t rset
20892 :rset
20893 s/^[     ]*#[    ]*define[       ][      ]*/ /
20894 t def
20895 d
20896 :def
20897 s/\\$//
20898 t bsnl
20899 s/["\\]/\\&/g
20900 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20901 D["\1"]=" \3"/p
20902 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
20903 d
20904 :bsnl
20905 s/["\\]/\\&/g
20906 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20907 D["\1"]=" \3\\\\\\n"\\/p
20908 t cont
20909 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20910 t cont
20911 d
20912 :cont
20913 n
20914 s/.\{148\}/&'"$ac_delim"'/g
20915 t clear
20916 :clear
20917 s/\\$//
20918 t bsnlc
20919 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20920 d
20921 :bsnlc
20922 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20923 b cont
20924 ' <confdefs.h | sed '
20925 s/'"$ac_delim"'/"\\\
20926 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20927
20928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20929   for (key in D) D_is_set[key] = 1
20930   FS = "\a"
20931 }
20932 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20933   line = \$ 0
20934   split(line, arg, " ")
20935   if (arg[1] == "#") {
20936     defundef = arg[2]
20937     mac1 = arg[3]
20938   } else {
20939     defundef = substr(arg[1], 2)
20940     mac1 = arg[2]
20941   }
20942   split(mac1, mac2, "(") #)
20943   macro = mac2[1]
20944   prefix = substr(line, 1, index(line, defundef) - 1)
20945   if (D_is_set[macro]) {
20946     # Preserve the white space surrounding the "#".
20947     print prefix "define", macro P[macro] D[macro]
20948     next
20949   } else {
20950     # Replace #undef with comments.  This is necessary, for example,
20951     # in the case of _POSIX_SOURCE, which is predefined and required
20952     # on some systems where configure will not decide to define it.
20953     if (defundef == "undef") {
20954       print "/*", prefix defundef, macro, "*/"
20955       next
20956     }
20957   }
20958 }
20959 { print }
20960 _ACAWK
20961 _ACEOF
20962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20963   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20964 fi # test -n "$CONFIG_HEADERS"
20965
20966
20967 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
20968 shift
20969 for ac_tag
20970 do
20971   case $ac_tag in
20972   :[FHLC]) ac_mode=$ac_tag; continue;;
20973   esac
20974   case $ac_mode$ac_tag in
20975   :[FHL]*:*);;
20976   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20977   :[FH]-) ac_tag=-:-;;
20978   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20979   esac
20980   ac_save_IFS=$IFS
20981   IFS=:
20982   set x $ac_tag
20983   IFS=$ac_save_IFS
20984   shift
20985   ac_file=$1
20986   shift
20987
20988   case $ac_mode in
20989   :L) ac_source=$1;;
20990   :[FH])
20991     ac_file_inputs=
20992     for ac_f
20993     do
20994       case $ac_f in
20995       -) ac_f="$ac_tmp/stdin";;
20996       *) # Look for the file first in the build tree, then in the source tree
20997          # (if the path is not absolute).  The absolute path cannot be DOS-style,
20998          # because $ac_f cannot contain `:'.
20999          test -f "$ac_f" ||
21000            case $ac_f in
21001            [\\/$]*) false;;
21002            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21003            esac ||
21004            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21005       esac
21006       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21007       as_fn_append ac_file_inputs " '$ac_f'"
21008     done
21009
21010     # Let's still pretend it is `configure' which instantiates (i.e., don't
21011     # use $as_me), people would be surprised to read:
21012     #    /* config.h.  Generated by config.status.  */
21013     configure_input='Generated from '`
21014           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21015         `' by configure.'
21016     if test x"$ac_file" != x-; then
21017       configure_input="$ac_file.  $configure_input"
21018       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21019 $as_echo "$as_me: creating $ac_file" >&6;}
21020     fi
21021     # Neutralize special characters interpreted by sed in replacement strings.
21022     case $configure_input in #(
21023     *\&* | *\|* | *\\* )
21024        ac_sed_conf_input=`$as_echo "$configure_input" |
21025        sed 's/[\\\\&|]/\\\\&/g'`;; #(
21026     *) ac_sed_conf_input=$configure_input;;
21027     esac
21028
21029     case $ac_tag in
21030     *:-:* | *:-) cat >"$ac_tmp/stdin" \
21031       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21032     esac
21033     ;;
21034   esac
21035
21036   ac_dir=`$as_dirname -- "$ac_file" ||
21037 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21038          X"$ac_file" : 'X\(//\)[^/]' \| \
21039          X"$ac_file" : 'X\(//\)$' \| \
21040          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21041 $as_echo X"$ac_file" |
21042     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21043             s//\1/
21044             q
21045           }
21046           /^X\(\/\/\)[^/].*/{
21047             s//\1/
21048             q
21049           }
21050           /^X\(\/\/\)$/{
21051             s//\1/
21052             q
21053           }
21054           /^X\(\/\).*/{
21055             s//\1/
21056             q
21057           }
21058           s/.*/./; q'`
21059   as_dir="$ac_dir"; as_fn_mkdir_p
21060   ac_builddir=.
21061
21062 case "$ac_dir" in
21063 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21064 *)
21065   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21066   # A ".." for each directory in $ac_dir_suffix.
21067   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21068   case $ac_top_builddir_sub in
21069   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21070   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21071   esac ;;
21072 esac
21073 ac_abs_top_builddir=$ac_pwd
21074 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21075 # for backward compatibility:
21076 ac_top_builddir=$ac_top_build_prefix
21077
21078 case $srcdir in
21079   .)  # We are building in place.
21080     ac_srcdir=.
21081     ac_top_srcdir=$ac_top_builddir_sub
21082     ac_abs_top_srcdir=$ac_pwd ;;
21083   [\\/]* | ?:[\\/]* )  # Absolute name.
21084     ac_srcdir=$srcdir$ac_dir_suffix;
21085     ac_top_srcdir=$srcdir
21086     ac_abs_top_srcdir=$srcdir ;;
21087   *) # Relative name.
21088     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21089     ac_top_srcdir=$ac_top_build_prefix$srcdir
21090     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21091 esac
21092 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21093
21094
21095   case $ac_mode in
21096   :F)
21097   #
21098   # CONFIG_FILE
21099   #
21100
21101   case $INSTALL in
21102   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21103   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21104   esac
21105   ac_MKDIR_P=$MKDIR_P
21106   case $MKDIR_P in
21107   [\\/$]* | ?:[\\/]* ) ;;
21108   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21109   esac
21110 _ACEOF
21111
21112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21113 # If the template does not know about datarootdir, expand it.
21114 # FIXME: This hack should be removed a few years after 2.60.
21115 ac_datarootdir_hack=; ac_datarootdir_seen=
21116 ac_sed_dataroot='
21117 /datarootdir/ {
21118   p
21119   q
21120 }
21121 /@datadir@/p
21122 /@docdir@/p
21123 /@infodir@/p
21124 /@localedir@/p
21125 /@mandir@/p'
21126 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21127 *datarootdir*) ac_datarootdir_seen=yes;;
21128 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21129   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21130 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21131 _ACEOF
21132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21133   ac_datarootdir_hack='
21134   s&@datadir@&$datadir&g
21135   s&@docdir@&$docdir&g
21136   s&@infodir@&$infodir&g
21137   s&@localedir@&$localedir&g
21138   s&@mandir@&$mandir&g
21139   s&\\\${datarootdir}&$datarootdir&g' ;;
21140 esac
21141 _ACEOF
21142
21143 # Neutralize VPATH when `$srcdir' = `.'.
21144 # Shell code in configure.ac might set extrasub.
21145 # FIXME: do we really want to maintain this feature?
21146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21147 ac_sed_extra="$ac_vpsub
21148 $extrasub
21149 _ACEOF
21150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21151 :t
21152 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21153 s|@configure_input@|$ac_sed_conf_input|;t t
21154 s&@top_builddir@&$ac_top_builddir_sub&;t t
21155 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21156 s&@srcdir@&$ac_srcdir&;t t
21157 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21158 s&@top_srcdir@&$ac_top_srcdir&;t t
21159 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21160 s&@builddir@&$ac_builddir&;t t
21161 s&@abs_builddir@&$ac_abs_builddir&;t t
21162 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21163 s&@INSTALL@&$ac_INSTALL&;t t
21164 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21165 $ac_datarootdir_hack
21166 "
21167 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21168   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21169
21170 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21171   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21172   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
21173       "$ac_tmp/out"`; test -z "$ac_out"; } &&
21174   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21175 which seems to be undefined.  Please make sure it is defined" >&5
21176 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21177 which seems to be undefined.  Please make sure it is defined" >&2;}
21178
21179   rm -f "$ac_tmp/stdin"
21180   case $ac_file in
21181   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21182   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21183   esac \
21184   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21185  ;;
21186   :H)
21187   #
21188   # CONFIG_HEADER
21189   #
21190   if test x"$ac_file" != x-; then
21191     {
21192       $as_echo "/* $configure_input  */" \
21193       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21194     } >"$ac_tmp/config.h" \
21195       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21196     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21197       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21198 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21199     else
21200       rm -f "$ac_file"
21201       mv "$ac_tmp/config.h" "$ac_file" \
21202         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21203     fi
21204   else
21205     $as_echo "/* $configure_input  */" \
21206       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21207       || as_fn_error $? "could not create -" "$LINENO" 5
21208   fi
21209 # Compute "$ac_file"'s index in $config_headers.
21210 _am_arg="$ac_file"
21211 _am_stamp_count=1
21212 for _am_header in $config_headers :; do
21213   case $_am_header in
21214     $_am_arg | $_am_arg:* )
21215       break ;;
21216     * )
21217       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21218   esac
21219 done
21220 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21221 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21222          X"$_am_arg" : 'X\(//\)[^/]' \| \
21223          X"$_am_arg" : 'X\(//\)$' \| \
21224          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21225 $as_echo X"$_am_arg" |
21226     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21227             s//\1/
21228             q
21229           }
21230           /^X\(\/\/\)[^/].*/{
21231             s//\1/
21232             q
21233           }
21234           /^X\(\/\/\)$/{
21235             s//\1/
21236             q
21237           }
21238           /^X\(\/\).*/{
21239             s//\1/
21240             q
21241           }
21242           s/.*/./; q'`/stamp-h$_am_stamp_count
21243  ;;
21244
21245   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21246 $as_echo "$as_me: executing $ac_file commands" >&6;}
21247  ;;
21248   esac
21249
21250
21251   case $ac_file$ac_mode in
21252     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21253   # Older Autoconf quotes --file arguments for eval, but not when files
21254   # are listed without --file.  Let's play safe and only enable the eval
21255   # if we detect the quoting.
21256   case $CONFIG_FILES in
21257   *\'*) eval set x "$CONFIG_FILES" ;;
21258   *)   set x $CONFIG_FILES ;;
21259   esac
21260   shift
21261   for mf
21262   do
21263     # Strip MF so we end up with the name of the file.
21264     mf=`echo "$mf" | sed -e 's/:.*$//'`
21265     # Check whether this is an Automake generated Makefile or not.
21266     # We used to match only the files named 'Makefile.in', but
21267     # some people rename them; so instead we look at the file content.
21268     # Grep'ing the first line is not enough: some people post-process
21269     # each Makefile.in and add a new line on top of each file to say so.
21270     # Grep'ing the whole file is not good either: AIX grep has a line
21271     # limit of 2048, but all sed's we know have understand at least 4000.
21272     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21273       dirpart=`$as_dirname -- "$mf" ||
21274 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21275          X"$mf" : 'X\(//\)[^/]' \| \
21276          X"$mf" : 'X\(//\)$' \| \
21277          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21278 $as_echo X"$mf" |
21279     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21280             s//\1/
21281             q
21282           }
21283           /^X\(\/\/\)[^/].*/{
21284             s//\1/
21285             q
21286           }
21287           /^X\(\/\/\)$/{
21288             s//\1/
21289             q
21290           }
21291           /^X\(\/\).*/{
21292             s//\1/
21293             q
21294           }
21295           s/.*/./; q'`
21296     else
21297       continue
21298     fi
21299     # Extract the definition of DEPDIR, am__include, and am__quote
21300     # from the Makefile without running 'make'.
21301     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21302     test -z "$DEPDIR" && continue
21303     am__include=`sed -n 's/^am__include = //p' < "$mf"`
21304     test -z "$am__include" && continue
21305     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21306     # Find all dependency output files, they are included files with
21307     # $(DEPDIR) in their names.  We invoke sed twice because it is the
21308     # simplest approach to changing $(DEPDIR) to its actual value in the
21309     # expansion.
21310     for file in `sed -n "
21311       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21312          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21313       # Make sure the directory exists.
21314       test -f "$dirpart/$file" && continue
21315       fdir=`$as_dirname -- "$file" ||
21316 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21317          X"$file" : 'X\(//\)[^/]' \| \
21318          X"$file" : 'X\(//\)$' \| \
21319          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21320 $as_echo X"$file" |
21321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21322             s//\1/
21323             q
21324           }
21325           /^X\(\/\/\)[^/].*/{
21326             s//\1/
21327             q
21328           }
21329           /^X\(\/\/\)$/{
21330             s//\1/
21331             q
21332           }
21333           /^X\(\/\).*/{
21334             s//\1/
21335             q
21336           }
21337           s/.*/./; q'`
21338       as_dir=$dirpart/$fdir; as_fn_mkdir_p
21339       # echo "creating $dirpart/$file"
21340       echo '# dummy' > "$dirpart/$file"
21341     done
21342   done
21343 }
21344  ;;
21345     "libtool":C)
21346
21347     # See if we are running on zsh, and set the options which allow our
21348     # commands through without removal of \ escapes.
21349     if test -n "${ZSH_VERSION+set}" ; then
21350       setopt NO_GLOB_SUBST
21351     fi
21352
21353     cfgfile="${ofile}T"
21354     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21355     $RM "$cfgfile"
21356
21357     cat <<_LT_EOF >> "$cfgfile"
21358 #! $SHELL
21359
21360 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21361 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21362 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21363 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21364 #
21365 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21366 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21367 #                 Foundation, Inc.
21368 #   Written by Gordon Matzigkeit, 1996
21369 #
21370 #   This file is part of GNU Libtool.
21371 #
21372 # GNU Libtool is free software; you can redistribute it and/or
21373 # modify it under the terms of the GNU General Public License as
21374 # published by the Free Software Foundation; either version 2 of
21375 # the License, or (at your option) any later version.
21376 #
21377 # As a special exception to the GNU General Public License,
21378 # if you distribute this file as part of a program or library that
21379 # is built using GNU Libtool, you may include this file under the
21380 # same distribution terms that you use for the rest of that program.
21381 #
21382 # GNU Libtool is distributed in the hope that it will be useful,
21383 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21384 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21385 # GNU General Public License for more details.
21386 #
21387 # You should have received a copy of the GNU General Public License
21388 # along with GNU Libtool; see the file COPYING.  If not, a copy
21389 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21390 # obtained by writing to the Free Software Foundation, Inc.,
21391 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21392
21393
21394 # The names of the tagged configurations supported by this script.
21395 available_tags="CXX "
21396
21397 # ### BEGIN LIBTOOL CONFIG
21398
21399 # Which release of libtool.m4 was used?
21400 macro_version=$macro_version
21401 macro_revision=$macro_revision
21402
21403 # Whether or not to build shared libraries.
21404 build_libtool_libs=$enable_shared
21405
21406 # Whether or not to build static libraries.
21407 build_old_libs=$enable_static
21408
21409 # What type of objects to build.
21410 pic_mode=$pic_mode
21411
21412 # Whether or not to optimize for fast installation.
21413 fast_install=$enable_fast_install
21414
21415 # Shell to use when invoking shell scripts.
21416 SHELL=$lt_SHELL
21417
21418 # An echo program that protects backslashes.
21419 ECHO=$lt_ECHO
21420
21421 # The PATH separator for the build system.
21422 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21423
21424 # The host system.
21425 host_alias=$host_alias
21426 host=$host
21427 host_os=$host_os
21428
21429 # The build system.
21430 build_alias=$build_alias
21431 build=$build
21432 build_os=$build_os
21433
21434 # A sed program that does not truncate output.
21435 SED=$lt_SED
21436
21437 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21438 Xsed="\$SED -e 1s/^X//"
21439
21440 # A grep program that handles long lines.
21441 GREP=$lt_GREP
21442
21443 # An ERE matcher.
21444 EGREP=$lt_EGREP
21445
21446 # A literal string matcher.
21447 FGREP=$lt_FGREP
21448
21449 # A BSD- or MS-compatible name lister.
21450 NM=$lt_NM
21451
21452 # Whether we need soft or hard links.
21453 LN_S=$lt_LN_S
21454
21455 # What is the maximum length of a command?
21456 max_cmd_len=$max_cmd_len
21457
21458 # Object file suffix (normally "o").
21459 objext=$ac_objext
21460
21461 # Executable file suffix (normally "").
21462 exeext=$exeext
21463
21464 # whether the shell understands "unset".
21465 lt_unset=$lt_unset
21466
21467 # turn spaces into newlines.
21468 SP2NL=$lt_lt_SP2NL
21469
21470 # turn newlines into spaces.
21471 NL2SP=$lt_lt_NL2SP
21472
21473 # convert \$build file names to \$host format.
21474 to_host_file_cmd=$lt_cv_to_host_file_cmd
21475
21476 # convert \$build files to toolchain format.
21477 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21478
21479 # An object symbol dumper.
21480 OBJDUMP=$lt_OBJDUMP
21481
21482 # Method to check whether dependent libraries are shared objects.
21483 deplibs_check_method=$lt_deplibs_check_method
21484
21485 # Command to use when deplibs_check_method = "file_magic".
21486 file_magic_cmd=$lt_file_magic_cmd
21487
21488 # How to find potential files when deplibs_check_method = "file_magic".
21489 file_magic_glob=$lt_file_magic_glob
21490
21491 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21492 want_nocaseglob=$lt_want_nocaseglob
21493
21494 # DLL creation program.
21495 DLLTOOL=$lt_DLLTOOL
21496
21497 # Command to associate shared and link libraries.
21498 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21499
21500 # The archiver.
21501 AR=$lt_AR
21502
21503 # Flags to create an archive.
21504 AR_FLAGS=$lt_AR_FLAGS
21505
21506 # How to feed a file listing to the archiver.
21507 archiver_list_spec=$lt_archiver_list_spec
21508
21509 # A symbol stripping program.
21510 STRIP=$lt_STRIP
21511
21512 # Commands used to install an old-style archive.
21513 RANLIB=$lt_RANLIB
21514 old_postinstall_cmds=$lt_old_postinstall_cmds
21515 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21516
21517 # Whether to use a lock for old archive extraction.
21518 lock_old_archive_extraction=$lock_old_archive_extraction
21519
21520 # A C compiler.
21521 LTCC=$lt_CC
21522
21523 # LTCC compiler flags.
21524 LTCFLAGS=$lt_CFLAGS
21525
21526 # Take the output of nm and produce a listing of raw symbols and C names.
21527 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21528
21529 # Transform the output of nm in a proper C declaration.
21530 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21531
21532 # Transform the output of nm in a C name address pair.
21533 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21534
21535 # Transform the output of nm in a C name address pair when lib prefix is needed.
21536 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21537
21538 # Specify filename containing input files for \$NM.
21539 nm_file_list_spec=$lt_nm_file_list_spec
21540
21541 # The root where to search for dependent libraries,and in which our libraries should be installed.
21542 lt_sysroot=$lt_sysroot
21543
21544 # The name of the directory that contains temporary libtool files.
21545 objdir=$objdir
21546
21547 # Used to examine libraries when file_magic_cmd begins with "file".
21548 MAGIC_CMD=$MAGIC_CMD
21549
21550 # Must we lock files when doing compilation?
21551 need_locks=$lt_need_locks
21552
21553 # Manifest tool.
21554 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21555
21556 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21557 DSYMUTIL=$lt_DSYMUTIL
21558
21559 # Tool to change global to local symbols on Mac OS X.
21560 NMEDIT=$lt_NMEDIT
21561
21562 # Tool to manipulate fat objects and archives on Mac OS X.
21563 LIPO=$lt_LIPO
21564
21565 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21566 OTOOL=$lt_OTOOL
21567
21568 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21569 OTOOL64=$lt_OTOOL64
21570
21571 # Old archive suffix (normally "a").
21572 libext=$libext
21573
21574 # Shared library suffix (normally ".so").
21575 shrext_cmds=$lt_shrext_cmds
21576
21577 # The commands to extract the exported symbol list from a shared archive.
21578 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21579
21580 # Variables whose values should be saved in libtool wrapper scripts and
21581 # restored at link time.
21582 variables_saved_for_relink=$lt_variables_saved_for_relink
21583
21584 # Do we need the "lib" prefix for modules?
21585 need_lib_prefix=$need_lib_prefix
21586
21587 # Do we need a version for libraries?
21588 need_version=$need_version
21589
21590 # Library versioning type.
21591 version_type=$version_type
21592
21593 # Shared library runtime path variable.
21594 runpath_var=$runpath_var
21595
21596 # Shared library path variable.
21597 shlibpath_var=$shlibpath_var
21598
21599 # Is shlibpath searched before the hard-coded library search path?
21600 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21601
21602 # Format of library name prefix.
21603 libname_spec=$lt_libname_spec
21604
21605 # List of archive names.  First name is the real one, the rest are links.
21606 # The last name is the one that the linker finds with -lNAME
21607 library_names_spec=$lt_library_names_spec
21608
21609 # The coded name of the library, if different from the real name.
21610 soname_spec=$lt_soname_spec
21611
21612 # Permission mode override for installation of shared libraries.
21613 install_override_mode=$lt_install_override_mode
21614
21615 # Command to use after installation of a shared archive.
21616 postinstall_cmds=$lt_postinstall_cmds
21617
21618 # Command to use after uninstallation of a shared archive.
21619 postuninstall_cmds=$lt_postuninstall_cmds
21620
21621 # Commands used to finish a libtool library installation in a directory.
21622 finish_cmds=$lt_finish_cmds
21623
21624 # As "finish_cmds", except a single script fragment to be evaled but
21625 # not shown.
21626 finish_eval=$lt_finish_eval
21627
21628 # Whether we should hardcode library paths into libraries.
21629 hardcode_into_libs=$hardcode_into_libs
21630
21631 # Compile-time system search path for libraries.
21632 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21633
21634 # Run-time system search path for libraries.
21635 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21636
21637 # Whether dlopen is supported.
21638 dlopen_support=$enable_dlopen
21639
21640 # Whether dlopen of programs is supported.
21641 dlopen_self=$enable_dlopen_self
21642
21643 # Whether dlopen of statically linked programs is supported.
21644 dlopen_self_static=$enable_dlopen_self_static
21645
21646 # Commands to strip libraries.
21647 old_striplib=$lt_old_striplib
21648 striplib=$lt_striplib
21649
21650
21651 # The linker used to build libraries.
21652 LD=$lt_LD
21653
21654 # How to create reloadable object files.
21655 reload_flag=$lt_reload_flag
21656 reload_cmds=$lt_reload_cmds
21657
21658 # Commands used to build an old-style archive.
21659 old_archive_cmds=$lt_old_archive_cmds
21660
21661 # A language specific compiler.
21662 CC=$lt_compiler
21663
21664 # Is the compiler the GNU compiler?
21665 with_gcc=$GCC
21666
21667 # Compiler flag to turn off builtin functions.
21668 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21669
21670 # Additional compiler flags for building library objects.
21671 pic_flag=$lt_lt_prog_compiler_pic
21672
21673 # How to pass a linker flag through the compiler.
21674 wl=$lt_lt_prog_compiler_wl
21675
21676 # Compiler flag to prevent dynamic linking.
21677 link_static_flag=$lt_lt_prog_compiler_static
21678
21679 # Does compiler simultaneously support -c and -o options?
21680 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21681
21682 # Whether or not to add -lc for building shared libraries.
21683 build_libtool_need_lc=$archive_cmds_need_lc
21684
21685 # Whether or not to disallow shared libs when runtime libs are static.
21686 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21687
21688 # Compiler flag to allow reflexive dlopens.
21689 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21690
21691 # Compiler flag to generate shared objects directly from archives.
21692 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21693
21694 # Whether the compiler copes with passing no objects directly.
21695 compiler_needs_object=$lt_compiler_needs_object
21696
21697 # Create an old-style archive from a shared archive.
21698 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21699
21700 # Create a temporary old-style archive to link instead of a shared archive.
21701 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21702
21703 # Commands used to build a shared archive.
21704 archive_cmds=$lt_archive_cmds
21705 archive_expsym_cmds=$lt_archive_expsym_cmds
21706
21707 # Commands used to build a loadable module if different from building
21708 # a shared archive.
21709 module_cmds=$lt_module_cmds
21710 module_expsym_cmds=$lt_module_expsym_cmds
21711
21712 # Whether we are building with GNU ld or not.
21713 with_gnu_ld=$lt_with_gnu_ld
21714
21715 # Flag that allows shared libraries with undefined symbols to be built.
21716 allow_undefined_flag=$lt_allow_undefined_flag
21717
21718 # Flag that enforces no undefined symbols.
21719 no_undefined_flag=$lt_no_undefined_flag
21720
21721 # Flag to hardcode \$libdir into a binary during linking.
21722 # This must work even if \$libdir does not exist
21723 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21724
21725 # Whether we need a single "-rpath" flag with a separated argument.
21726 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21727
21728 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21729 # DIR into the resulting binary.
21730 hardcode_direct=$hardcode_direct
21731
21732 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21733 # DIR into the resulting binary and the resulting library dependency is
21734 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21735 # library is relocated.
21736 hardcode_direct_absolute=$hardcode_direct_absolute
21737
21738 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21739 # into the resulting binary.
21740 hardcode_minus_L=$hardcode_minus_L
21741
21742 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21743 # into the resulting binary.
21744 hardcode_shlibpath_var=$hardcode_shlibpath_var
21745
21746 # Set to "yes" if building a shared library automatically hardcodes DIR
21747 # into the library and all subsequent libraries and executables linked
21748 # against it.
21749 hardcode_automatic=$hardcode_automatic
21750
21751 # Set to yes if linker adds runtime paths of dependent libraries
21752 # to runtime path list.
21753 inherit_rpath=$inherit_rpath
21754
21755 # Whether libtool must link a program against all its dependency libraries.
21756 link_all_deplibs=$link_all_deplibs
21757
21758 # Set to "yes" if exported symbols are required.
21759 always_export_symbols=$always_export_symbols
21760
21761 # The commands to list exported symbols.
21762 export_symbols_cmds=$lt_export_symbols_cmds
21763
21764 # Symbols that should not be listed in the preloaded symbols.
21765 exclude_expsyms=$lt_exclude_expsyms
21766
21767 # Symbols that must always be exported.
21768 include_expsyms=$lt_include_expsyms
21769
21770 # Commands necessary for linking programs (against libraries) with templates.
21771 prelink_cmds=$lt_prelink_cmds
21772
21773 # Commands necessary for finishing linking programs.
21774 postlink_cmds=$lt_postlink_cmds
21775
21776 # Specify filename containing input files.
21777 file_list_spec=$lt_file_list_spec
21778
21779 # How to hardcode a shared library path into an executable.
21780 hardcode_action=$hardcode_action
21781
21782 # The directories searched by this compiler when creating a shared library.
21783 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21784
21785 # Dependencies to place before and after the objects being linked to
21786 # create a shared library.
21787 predep_objects=$lt_predep_objects
21788 postdep_objects=$lt_postdep_objects
21789 predeps=$lt_predeps
21790 postdeps=$lt_postdeps
21791
21792 # The library search path used internally by the compiler when linking
21793 # a shared library.
21794 compiler_lib_search_path=$lt_compiler_lib_search_path
21795
21796 # ### END LIBTOOL CONFIG
21797
21798 _LT_EOF
21799
21800   case $host_os in
21801   aix3*)
21802     cat <<\_LT_EOF >> "$cfgfile"
21803 # AIX sometimes has problems with the GCC collect2 program.  For some
21804 # reason, if we set the COLLECT_NAMES environment variable, the problems
21805 # vanish in a puff of smoke.
21806 if test "X${COLLECT_NAMES+set}" != Xset; then
21807   COLLECT_NAMES=
21808   export COLLECT_NAMES
21809 fi
21810 _LT_EOF
21811     ;;
21812   esac
21813
21814
21815 ltmain="$ac_aux_dir/ltmain.sh"
21816
21817
21818   # We use sed instead of cat because bash on DJGPP gets confused if
21819   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21820   # text mode, it properly converts lines to CR/LF.  This bash problem
21821   # is reportedly fixed, but why not run on old versions too?
21822   sed '$q' "$ltmain" >> "$cfgfile" \
21823      || (rm -f "$cfgfile"; exit 1)
21824
21825   if test x"$xsi_shell" = xyes; then
21826   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21827 func_dirname ()\
21828 {\
21829 \    case ${1} in\
21830 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21831 \      *  ) func_dirname_result="${3}" ;;\
21832 \    esac\
21833 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21834   && mv -f "$cfgfile.tmp" "$cfgfile" \
21835     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21836 test 0 -eq $? || _lt_function_replace_fail=:
21837
21838
21839   sed -e '/^func_basename ()$/,/^} # func_basename /c\
21840 func_basename ()\
21841 {\
21842 \    func_basename_result="${1##*/}"\
21843 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21844   && mv -f "$cfgfile.tmp" "$cfgfile" \
21845     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21846 test 0 -eq $? || _lt_function_replace_fail=:
21847
21848
21849   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21850 func_dirname_and_basename ()\
21851 {\
21852 \    case ${1} in\
21853 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21854 \      *  ) func_dirname_result="${3}" ;;\
21855 \    esac\
21856 \    func_basename_result="${1##*/}"\
21857 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21858   && mv -f "$cfgfile.tmp" "$cfgfile" \
21859     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21860 test 0 -eq $? || _lt_function_replace_fail=:
21861
21862
21863   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21864 func_stripname ()\
21865 {\
21866 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21867 \    # positional parameters, so assign one to ordinary parameter first.\
21868 \    func_stripname_result=${3}\
21869 \    func_stripname_result=${func_stripname_result#"${1}"}\
21870 \    func_stripname_result=${func_stripname_result%"${2}"}\
21871 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21872   && mv -f "$cfgfile.tmp" "$cfgfile" \
21873     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21874 test 0 -eq $? || _lt_function_replace_fail=:
21875
21876
21877   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21878 func_split_long_opt ()\
21879 {\
21880 \    func_split_long_opt_name=${1%%=*}\
21881 \    func_split_long_opt_arg=${1#*=}\
21882 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21883   && mv -f "$cfgfile.tmp" "$cfgfile" \
21884     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21885 test 0 -eq $? || _lt_function_replace_fail=:
21886
21887
21888   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21889 func_split_short_opt ()\
21890 {\
21891 \    func_split_short_opt_arg=${1#??}\
21892 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21893 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21894   && mv -f "$cfgfile.tmp" "$cfgfile" \
21895     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21896 test 0 -eq $? || _lt_function_replace_fail=:
21897
21898
21899   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21900 func_lo2o ()\
21901 {\
21902 \    case ${1} in\
21903 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21904 \      *)    func_lo2o_result=${1} ;;\
21905 \    esac\
21906 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21907   && mv -f "$cfgfile.tmp" "$cfgfile" \
21908     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21909 test 0 -eq $? || _lt_function_replace_fail=:
21910
21911
21912   sed -e '/^func_xform ()$/,/^} # func_xform /c\
21913 func_xform ()\
21914 {\
21915     func_xform_result=${1%.*}.lo\
21916 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21917   && mv -f "$cfgfile.tmp" "$cfgfile" \
21918     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21919 test 0 -eq $? || _lt_function_replace_fail=:
21920
21921
21922   sed -e '/^func_arith ()$/,/^} # func_arith /c\
21923 func_arith ()\
21924 {\
21925     func_arith_result=$(( $* ))\
21926 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21927   && mv -f "$cfgfile.tmp" "$cfgfile" \
21928     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21929 test 0 -eq $? || _lt_function_replace_fail=:
21930
21931
21932   sed -e '/^func_len ()$/,/^} # func_len /c\
21933 func_len ()\
21934 {\
21935     func_len_result=${#1}\
21936 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21937   && mv -f "$cfgfile.tmp" "$cfgfile" \
21938     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21939 test 0 -eq $? || _lt_function_replace_fail=:
21940
21941 fi
21942
21943 if test x"$lt_shell_append" = xyes; then
21944   sed -e '/^func_append ()$/,/^} # func_append /c\
21945 func_append ()\
21946 {\
21947     eval "${1}+=\\${2}"\
21948 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21949   && mv -f "$cfgfile.tmp" "$cfgfile" \
21950     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21951 test 0 -eq $? || _lt_function_replace_fail=:
21952
21953
21954   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21955 func_append_quoted ()\
21956 {\
21957 \    func_quote_for_eval "${2}"\
21958 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21959 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21960   && mv -f "$cfgfile.tmp" "$cfgfile" \
21961     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21962 test 0 -eq $? || _lt_function_replace_fail=:
21963
21964
21965   # Save a `func_append' function call where possible by direct use of '+='
21966   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21967     && mv -f "$cfgfile.tmp" "$cfgfile" \
21968       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21969   test 0 -eq $? || _lt_function_replace_fail=:
21970 else
21971   # Save a `func_append' function call even when '+=' is not available
21972   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21973     && mv -f "$cfgfile.tmp" "$cfgfile" \
21974       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21975   test 0 -eq $? || _lt_function_replace_fail=:
21976 fi
21977
21978 if test x"$_lt_function_replace_fail" = x":"; then
21979   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21980 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21981 fi
21982
21983
21984    mv -f "$cfgfile" "$ofile" ||
21985     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21986   chmod +x "$ofile"
21987
21988
21989     cat <<_LT_EOF >> "$ofile"
21990
21991 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21992
21993 # The linker used to build libraries.
21994 LD=$lt_LD_CXX
21995
21996 # How to create reloadable object files.
21997 reload_flag=$lt_reload_flag_CXX
21998 reload_cmds=$lt_reload_cmds_CXX
21999
22000 # Commands used to build an old-style archive.
22001 old_archive_cmds=$lt_old_archive_cmds_CXX
22002
22003 # A language specific compiler.
22004 CC=$lt_compiler_CXX
22005
22006 # Is the compiler the GNU compiler?
22007 with_gcc=$GCC_CXX
22008
22009 # Compiler flag to turn off builtin functions.
22010 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22011
22012 # Additional compiler flags for building library objects.
22013 pic_flag=$lt_lt_prog_compiler_pic_CXX
22014
22015 # How to pass a linker flag through the compiler.
22016 wl=$lt_lt_prog_compiler_wl_CXX
22017
22018 # Compiler flag to prevent dynamic linking.
22019 link_static_flag=$lt_lt_prog_compiler_static_CXX
22020
22021 # Does compiler simultaneously support -c and -o options?
22022 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22023
22024 # Whether or not to add -lc for building shared libraries.
22025 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22026
22027 # Whether or not to disallow shared libs when runtime libs are static.
22028 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22029
22030 # Compiler flag to allow reflexive dlopens.
22031 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22032
22033 # Compiler flag to generate shared objects directly from archives.
22034 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22035
22036 # Whether the compiler copes with passing no objects directly.
22037 compiler_needs_object=$lt_compiler_needs_object_CXX
22038
22039 # Create an old-style archive from a shared archive.
22040 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22041
22042 # Create a temporary old-style archive to link instead of a shared archive.
22043 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22044
22045 # Commands used to build a shared archive.
22046 archive_cmds=$lt_archive_cmds_CXX
22047 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22048
22049 # Commands used to build a loadable module if different from building
22050 # a shared archive.
22051 module_cmds=$lt_module_cmds_CXX
22052 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22053
22054 # Whether we are building with GNU ld or not.
22055 with_gnu_ld=$lt_with_gnu_ld_CXX
22056
22057 # Flag that allows shared libraries with undefined symbols to be built.
22058 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22059
22060 # Flag that enforces no undefined symbols.
22061 no_undefined_flag=$lt_no_undefined_flag_CXX
22062
22063 # Flag to hardcode \$libdir into a binary during linking.
22064 # This must work even if \$libdir does not exist
22065 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22066
22067 # Whether we need a single "-rpath" flag with a separated argument.
22068 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22069
22070 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22071 # DIR into the resulting binary.
22072 hardcode_direct=$hardcode_direct_CXX
22073
22074 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22075 # DIR into the resulting binary and the resulting library dependency is
22076 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22077 # library is relocated.
22078 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22079
22080 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22081 # into the resulting binary.
22082 hardcode_minus_L=$hardcode_minus_L_CXX
22083
22084 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22085 # into the resulting binary.
22086 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22087
22088 # Set to "yes" if building a shared library automatically hardcodes DIR
22089 # into the library and all subsequent libraries and executables linked
22090 # against it.
22091 hardcode_automatic=$hardcode_automatic_CXX
22092
22093 # Set to yes if linker adds runtime paths of dependent libraries
22094 # to runtime path list.
22095 inherit_rpath=$inherit_rpath_CXX
22096
22097 # Whether libtool must link a program against all its dependency libraries.
22098 link_all_deplibs=$link_all_deplibs_CXX
22099
22100 # Set to "yes" if exported symbols are required.
22101 always_export_symbols=$always_export_symbols_CXX
22102
22103 # The commands to list exported symbols.
22104 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22105
22106 # Symbols that should not be listed in the preloaded symbols.
22107 exclude_expsyms=$lt_exclude_expsyms_CXX
22108
22109 # Symbols that must always be exported.
22110 include_expsyms=$lt_include_expsyms_CXX
22111
22112 # Commands necessary for linking programs (against libraries) with templates.
22113 prelink_cmds=$lt_prelink_cmds_CXX
22114
22115 # Commands necessary for finishing linking programs.
22116 postlink_cmds=$lt_postlink_cmds_CXX
22117
22118 # Specify filename containing input files.
22119 file_list_spec=$lt_file_list_spec_CXX
22120
22121 # How to hardcode a shared library path into an executable.
22122 hardcode_action=$hardcode_action_CXX
22123
22124 # The directories searched by this compiler when creating a shared library.
22125 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22126
22127 # Dependencies to place before and after the objects being linked to
22128 # create a shared library.
22129 predep_objects=$lt_predep_objects_CXX
22130 postdep_objects=$lt_postdep_objects_CXX
22131 predeps=$lt_predeps_CXX
22132 postdeps=$lt_postdeps_CXX
22133
22134 # The library search path used internally by the compiler when linking
22135 # a shared library.
22136 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22137
22138 # ### END LIBTOOL TAG CONFIG: CXX
22139 _LT_EOF
22140
22141  ;;
22142
22143   esac
22144 done # for ac_tag
22145
22146
22147 as_fn_exit 0
22148 _ACEOF
22149 ac_clean_files=$ac_clean_files_save
22150
22151 test $ac_write_fail = 0 ||
22152   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22153
22154
22155 # configure is writing to config.log, and then calls config.status.
22156 # config.status does its own redirection, appending to config.log.
22157 # Unfortunately, on DOS this fails, as config.log is still kept open
22158 # by configure, so config.status won't be able to write to it; its
22159 # output is simply discarded.  So we exec the FD to /dev/null,
22160 # effectively closing config.log, so it can be properly (re)opened and
22161 # appended to by config.status.  When coming back to configure, we
22162 # need to make the FD available again.
22163 if test "$no_create" != yes; then
22164   ac_cs_success=:
22165   ac_config_status_args=
22166   test "$silent" = yes &&
22167     ac_config_status_args="$ac_config_status_args --quiet"
22168   exec 5>/dev/null
22169   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22170   exec 5>>config.log
22171   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22172   # would make configure fail if this is the last instruction.
22173   $ac_cs_success || as_fn_exit 1
22174 fi
22175
22176 #
22177 # CONFIG_SUBDIRS section.
22178 #
22179 if test "$no_recursion" != yes; then
22180
22181   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22182   # so they do not pile up.
22183   ac_sub_configure_args=
22184   ac_prev=
22185   eval "set x $ac_configure_args"
22186   shift
22187   for ac_arg
22188   do
22189     if test -n "$ac_prev"; then
22190       ac_prev=
22191       continue
22192     fi
22193     case $ac_arg in
22194     -cache-file | --cache-file | --cache-fil | --cache-fi \
22195     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22196       ac_prev=cache_file ;;
22197     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22198     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
22199     | --c=*)
22200       ;;
22201     --config-cache | -C)
22202       ;;
22203     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22204       ac_prev=srcdir ;;
22205     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22206       ;;
22207     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
22208       ac_prev=prefix ;;
22209     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
22210       ;;
22211     --disable-option-checking)
22212       ;;
22213     *)
22214       case $ac_arg in
22215       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22216       esac
22217       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
22218     esac
22219   done
22220
22221   # Always prepend --prefix to ensure using the same prefix
22222   # in subdir configurations.
22223   ac_arg="--prefix=$prefix"
22224   case $ac_arg in
22225   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22226   esac
22227   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
22228
22229   # Pass --silent
22230   if test "$silent" = yes; then
22231     ac_sub_configure_args="--silent $ac_sub_configure_args"
22232   fi
22233
22234   # Always prepend --disable-option-checking to silence warnings, since
22235   # different subdirs can have different --enable and --with options.
22236   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
22237
22238   ac_popdir=`pwd`
22239   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
22240
22241     # Do not complain, so a configure script can configure whichever
22242     # parts of a large source tree are present.
22243     test -d "$srcdir/$ac_dir" || continue
22244
22245     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22246     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22247     $as_echo "$ac_msg" >&6
22248     as_dir="$ac_dir"; as_fn_mkdir_p
22249     ac_builddir=.
22250
22251 case "$ac_dir" in
22252 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22253 *)
22254   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22255   # A ".." for each directory in $ac_dir_suffix.
22256   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22257   case $ac_top_builddir_sub in
22258   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22259   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22260   esac ;;
22261 esac
22262 ac_abs_top_builddir=$ac_pwd
22263 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22264 # for backward compatibility:
22265 ac_top_builddir=$ac_top_build_prefix
22266
22267 case $srcdir in
22268   .)  # We are building in place.
22269     ac_srcdir=.
22270     ac_top_srcdir=$ac_top_builddir_sub
22271     ac_abs_top_srcdir=$ac_pwd ;;
22272   [\\/]* | ?:[\\/]* )  # Absolute name.
22273     ac_srcdir=$srcdir$ac_dir_suffix;
22274     ac_top_srcdir=$srcdir
22275     ac_abs_top_srcdir=$srcdir ;;
22276   *) # Relative name.
22277     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22278     ac_top_srcdir=$ac_top_build_prefix$srcdir
22279     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22280 esac
22281 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22282
22283
22284     cd "$ac_dir"
22285
22286     # Check for guested configure; otherwise get Cygnus style configure.
22287     if test -f "$ac_srcdir/configure.gnu"; then
22288       ac_sub_configure=$ac_srcdir/configure.gnu
22289     elif test -f "$ac_srcdir/configure"; then
22290       ac_sub_configure=$ac_srcdir/configure
22291     elif test -f "$ac_srcdir/configure.in"; then
22292       # This should be Cygnus configure.
22293       ac_sub_configure=$ac_aux_dir/configure
22294     else
22295       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22296 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22297       ac_sub_configure=
22298     fi
22299
22300     # The recursion is here.
22301     if test -n "$ac_sub_configure"; then
22302       # Make the cache file name correct relative to the subdirectory.
22303       case $cache_file in
22304       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
22305       *) # Relative name.
22306         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
22307       esac
22308
22309       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22310 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22311       # The eval makes quoting arguments work.
22312       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22313            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22314         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22315     fi
22316
22317     cd "$ac_popdir"
22318   done
22319 fi
22320 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22321   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22322 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22323 fi
22324
22325
22326 #
22327 # Summarize the package configuration
22328 #
22329
22330 { $as_echo "$as_me:${as_lineno-$LINENO}:
22331
22332   Configuration Summary
22333   ---------------------
22334   Package                                     : ${PACKAGE_NAME}
22335   Version                                     : ${PACKAGE_VERSION}
22336   Interface                                   : ${LIBNLIO_VERSION_INFO//:/.}
22337   Build system                                : ${build}
22338   Host system                                 : ${host}
22339   Target system                               : ${target}
22340   Target architecture                         : ${target_cpu}
22341   Target OS                                   : ${target_os}
22342   Cross compiling                             : ${cross_compiling}
22343   Build shared libraries                      : ${enable_shared}
22344   Build static libraries                      : ${enable_static}
22345   Build debug libraries                       : ${nl_cv_build_debug}
22346   Build optimized libraries                   : ${nl_cv_build_optimized}
22347   Build coverage libraries                    : ${nl_cv_build_coverage}
22348   Build coverage reports                      : ${nl_cv_build_coverage_reports}
22349   Lcov                                        : ${LCOV:--}
22350   Genhtml                                     : ${GENHTML:--}
22351   Build tests                                 : ${nl_cv_build_tests}
22352   Prefix                                      : ${prefix}
22353   Shadow directory program                    : ${LNDIR}
22354   Documentation support                       : ${nl_cv_build_docs}
22355   Doxygen                                     : ${DOXYGEN:--}
22356   GraphViz dot                                : ${DOT:--}
22357   PERL                                        : ${PERL:--}
22358   Nlunit-test source                          : ${nl_with_nlunit_test:--}
22359   Nlunit-test compile flags                   : ${NLUNIT_TEST_CPPFLAGS:--}
22360   Nlunit-test link flags                      : ${NLUNIT_TEST_LDFLAGS:--}
22361   Nlunit-test link libraries                  : ${NLUNIT_TEST_LIBS:--}
22362   Nlunit-test foreign subdirectory dependency : ${NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY:--}
22363   C Preprocessor                              : ${CPP}
22364   C Compiler                                  : ${CC}
22365   C++ Preprocessor                            : ${CXXCPP}
22366   C++ Compiler                                : ${CXX}
22367   Archiver                                    : ${AR}
22368   Archive Indexer                             : ${RANLIB}
22369   Symbol Stripper                             : ${STRIP}
22370   Object Copier                               : ${OBJCOPY}
22371   C Preprocessor flags                        : ${CPPFLAGS:--}
22372   C Compile flags                             : ${CFLAGS:--}
22373   C++ Compile flags                           : ${CXXFLAGS:--}
22374   Link flags                                  : ${LDFLAGS:--}
22375   Link libraries                              : ${LIBS}
22376 " >&5
22377 $as_echo "$as_me:
22378
22379   Configuration Summary
22380   ---------------------
22381   Package                                     : ${PACKAGE_NAME}
22382   Version                                     : ${PACKAGE_VERSION}
22383   Interface                                   : ${LIBNLIO_VERSION_INFO//:/.}
22384   Build system                                : ${build}
22385   Host system                                 : ${host}
22386   Target system                               : ${target}
22387   Target architecture                         : ${target_cpu}
22388   Target OS                                   : ${target_os}
22389   Cross compiling                             : ${cross_compiling}
22390   Build shared libraries                      : ${enable_shared}
22391   Build static libraries                      : ${enable_static}
22392   Build debug libraries                       : ${nl_cv_build_debug}
22393   Build optimized libraries                   : ${nl_cv_build_optimized}
22394   Build coverage libraries                    : ${nl_cv_build_coverage}
22395   Build coverage reports                      : ${nl_cv_build_coverage_reports}
22396   Lcov                                        : ${LCOV:--}
22397   Genhtml                                     : ${GENHTML:--}
22398   Build tests                                 : ${nl_cv_build_tests}
22399   Prefix                                      : ${prefix}
22400   Shadow directory program                    : ${LNDIR}
22401   Documentation support                       : ${nl_cv_build_docs}
22402   Doxygen                                     : ${DOXYGEN:--}
22403   GraphViz dot                                : ${DOT:--}
22404   PERL                                        : ${PERL:--}
22405   Nlunit-test source                          : ${nl_with_nlunit_test:--}
22406   Nlunit-test compile flags                   : ${NLUNIT_TEST_CPPFLAGS:--}
22407   Nlunit-test link flags                      : ${NLUNIT_TEST_LDFLAGS:--}
22408   Nlunit-test link libraries                  : ${NLUNIT_TEST_LIBS:--}
22409   Nlunit-test foreign subdirectory dependency : ${NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY:--}
22410   C Preprocessor                              : ${CPP}
22411   C Compiler                                  : ${CC}
22412   C++ Preprocessor                            : ${CXXCPP}
22413   C++ Compiler                                : ${CXX}
22414   Archiver                                    : ${AR}
22415   Archive Indexer                             : ${RANLIB}
22416   Symbol Stripper                             : ${STRIP}
22417   Object Copier                               : ${OBJCOPY}
22418   C Preprocessor flags                        : ${CPPFLAGS:--}
22419   C Compile flags                             : ${CFLAGS:--}
22420   C++ Compile flags                           : ${CXXFLAGS:--}
22421   Link flags                                  : ${LDFLAGS:--}
22422   Link libraries                              : ${LIBS}
22423 " >&6;}