Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / nlassert / repo / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for nlassert g4646da4.
4 #
5 # Report bugs to <nlassert-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: nlassert-users@google.com about your system, including
251 $0: any error possibly output before this message. Then
252 $0: install a modern shell, or manually run the script
253 $0: under such a 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='nlassert'
572 PACKAGE_TARNAME='nlassert'
573 PACKAGE_VERSION='g4646da4'
574 PACKAGE_STRING='nlassert g4646da4'
575 PACKAGE_BUGREPORT='nlassert-users@google.com'
576 PACKAGE_URL='https://github.com/nestlabs/nlassert/'
577
578 ac_unique_file="include/nlassert.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 NLASSERT_WITH_NLUNIT_TEST_INTERNAL_FALSE
624 NLASSERT_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 NLASSERT_BUILD_DOCS_FALSE
631 NLASSERT_BUILD_DOCS_TRUE
632 DOXYGEN_USE_DOT
633 DOT
634 DOXYGEN
635 NLASSERT_BUILD_TESTS_FALSE
636 NLASSERT_BUILD_TESTS_TRUE
637 NLASSERT_BUILD_OPTIMIZED_FALSE
638 NLASSERT_BUILD_OPTIMIZED_TRUE
639 NLASSERT_BUILD_COVERAGE_REPORTS_FALSE
640 NLASSERT_BUILD_COVERAGE_REPORTS_TRUE
641 GENHTML
642 LCOV
643 NLASSERT_BUILD_COVERAGE_FALSE
644 NLASSERT_BUILD_COVERAGE_TRUE
645 NLASSERT_BUILD_DEBUG_FALSE
646 NLASSERT_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 ISYSTEM_CPPFLAGS
666 PERL
667 CMP
668 LN_S
669 OBJCOPY
670 RANLIB
671 AR
672 CXXCPP
673 am__fastdepCXX_FALSE
674 am__fastdepCXX_TRUE
675 CXXDEPMODE
676 ac_ct_CXX
677 CXXFLAGS
678 CXX
679 CPP
680 am__fastdepCC_FALSE
681 am__fastdepCC_TRUE
682 CCDEPMODE
683 am__nodep
684 AMDEPBACKSLASH
685 AMDEP_FALSE
686 AMDEP_TRUE
687 am__quote
688 am__include
689 DEPDIR
690 OBJEXT
691 EXEEXT
692 ac_ct_CC
693 CPPFLAGS
694 LDFLAGS
695 CFLAGS
696 CC
697 MAINT
698 MAINTAINER_MODE_FALSE
699 MAINTAINER_MODE_TRUE
700 AM_BACKSLASH
701 AM_DEFAULT_VERBOSITY
702 AM_DEFAULT_V
703 AM_V
704 am__untar
705 am__tar
706 AMTAR
707 am__leading_dot
708 SET_MAKE
709 AWK
710 mkdir_p
711 MKDIR_P
712 INSTALL_STRIP_PROGRAM
713 STRIP
714 install_sh
715 MAKEINFO
716 AUTOHEADER
717 AUTOMAKE
718 AUTOCONF
719 ACLOCAL
720 VERSION
721 PACKAGE
722 CYGPATH_W
723 am__isrc
724 INSTALL_DATA
725 INSTALL_SCRIPT
726 INSTALL_PROGRAM
727 nl_filtered_target_os
728 nl_filtered_target_vendor
729 nl_filtered_target_cpu
730 nl_filtered_target
731 nl_filtered_host_os
732 nl_filtered_host_vendor
733 nl_filtered_host_cpu
734 nl_filtered_host
735 nl_filtered_build_os
736 nl_filtered_build_vendor
737 nl_filtered_build_cpu
738 nl_filtered_build
739 target_os
740 target_vendor
741 target_cpu
742 target
743 host_os
744 host_vendor
745 host_cpu
746 host
747 build_os
748 build_vendor
749 build_cpu
750 build
751 LIBNLASSERT_VERSION_INFO
752 LIBNLASSERT_VERSION_REVISION
753 LIBNLASSERT_VERSION_AGE
754 LIBNLASSERT_VERSION_CURRENT
755 abs_top_nlbuild_autotools_dir
756 nlbuild_autotools_stem
757 target_alias
758 host_alias
759 build_alias
760 LIBS
761 ECHO_T
762 ECHO_N
763 ECHO_C
764 DEFS
765 mandir
766 localedir
767 libdir
768 psdir
769 pdfdir
770 dvidir
771 htmldir
772 infodir
773 docdir
774 oldincludedir
775 includedir
776 localstatedir
777 sharedstatedir
778 sysconfdir
779 datadir
780 datarootdir
781 libexecdir
782 sbindir
783 bindir
784 program_transform_name
785 prefix
786 exec_prefix
787 PACKAGE_URL
788 PACKAGE_BUGREPORT
789 PACKAGE_STRING
790 PACKAGE_VERSION
791 PACKAGE_TARNAME
792 PACKAGE_NAME
793 PATH_SEPARATOR
794 SHELL'
795 ac_subst_files=''
796 ac_user_opts='
797 enable_option_checking
798 enable_silent_rules
799 enable_maintainer_mode
800 enable_dependency_tracking
801 enable_shared
802 enable_static
803 with_pic
804 enable_fast_install
805 with_gnu_ld
806 with_sysroot
807 enable_libtool_lock
808 enable_debug
809 enable_coverage
810 enable_coverage_reports
811 enable_optimization
812 enable_tests
813 enable_docs
814 with_nlunit_test
815 with_nlunit_test_includes
816 with_nlunit_test_libs
817 '
818       ac_precious_vars='build_alias
819 host_alias
820 target_alias
821 CC
822 CFLAGS
823 LDFLAGS
824 LIBS
825 CPPFLAGS
826 CPP
827 CXX
828 CXXFLAGS
829 CCC
830 CXXCPP
831 DOXYGEN
832 DOT
833 NLUNIT_TEST_CPPFLAGS
834 NLUNIT_TEST_LDFLAGS
835 NLUNIT_TEST_LIBS'
836 ac_subdirs_all='third_party/nlunit-test/repo'
837
838 # Initialize some variables set by options.
839 ac_init_help=
840 ac_init_version=false
841 ac_unrecognized_opts=
842 ac_unrecognized_sep=
843 # The variables have the same names as the options, with
844 # dashes changed to underlines.
845 cache_file=/dev/null
846 exec_prefix=NONE
847 no_create=
848 no_recursion=
849 prefix=NONE
850 program_prefix=NONE
851 program_suffix=NONE
852 program_transform_name=s,x,x,
853 silent=
854 site=
855 srcdir=
856 verbose=
857 x_includes=NONE
858 x_libraries=NONE
859
860 # Installation directory options.
861 # These are left unexpanded so users can "make install exec_prefix=/foo"
862 # and all the variables that are supposed to be based on exec_prefix
863 # by default will actually change.
864 # Use braces instead of parens because sh, perl, etc. also accept them.
865 # (The list follows the same order as the GNU Coding Standards.)
866 bindir='${exec_prefix}/bin'
867 sbindir='${exec_prefix}/sbin'
868 libexecdir='${exec_prefix}/libexec'
869 datarootdir='${prefix}/share'
870 datadir='${datarootdir}'
871 sysconfdir='${prefix}/etc'
872 sharedstatedir='${prefix}/com'
873 localstatedir='${prefix}/var'
874 includedir='${prefix}/include'
875 oldincludedir='/usr/include'
876 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
877 infodir='${datarootdir}/info'
878 htmldir='${docdir}'
879 dvidir='${docdir}'
880 pdfdir='${docdir}'
881 psdir='${docdir}'
882 libdir='${exec_prefix}/lib'
883 localedir='${datarootdir}/locale'
884 mandir='${datarootdir}/man'
885
886 ac_prev=
887 ac_dashdash=
888 for ac_option
889 do
890   # If the previous option needs an argument, assign it.
891   if test -n "$ac_prev"; then
892     eval $ac_prev=\$ac_option
893     ac_prev=
894     continue
895   fi
896
897   case $ac_option in
898   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
899   *=)   ac_optarg= ;;
900   *)    ac_optarg=yes ;;
901   esac
902
903   # Accept the important Cygnus configure options, so we can diagnose typos.
904
905   case $ac_dashdash$ac_option in
906   --)
907     ac_dashdash=yes ;;
908
909   -bindir | --bindir | --bindi | --bind | --bin | --bi)
910     ac_prev=bindir ;;
911   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
912     bindir=$ac_optarg ;;
913
914   -build | --build | --buil | --bui | --bu)
915     ac_prev=build_alias ;;
916   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
917     build_alias=$ac_optarg ;;
918
919   -cache-file | --cache-file | --cache-fil | --cache-fi \
920   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
921     ac_prev=cache_file ;;
922   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
923   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
924     cache_file=$ac_optarg ;;
925
926   --config-cache | -C)
927     cache_file=config.cache ;;
928
929   -datadir | --datadir | --datadi | --datad)
930     ac_prev=datadir ;;
931   -datadir=* | --datadir=* | --datadi=* | --datad=*)
932     datadir=$ac_optarg ;;
933
934   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
935   | --dataroo | --dataro | --datar)
936     ac_prev=datarootdir ;;
937   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
938   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
939     datarootdir=$ac_optarg ;;
940
941   -disable-* | --disable-*)
942     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
943     # Reject names that are not valid shell variable names.
944     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
945       as_fn_error $? "invalid feature name: $ac_useropt"
946     ac_useropt_orig=$ac_useropt
947     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
948     case $ac_user_opts in
949       *"
950 "enable_$ac_useropt"
951 "*) ;;
952       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
953          ac_unrecognized_sep=', ';;
954     esac
955     eval enable_$ac_useropt=no ;;
956
957   -docdir | --docdir | --docdi | --doc | --do)
958     ac_prev=docdir ;;
959   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
960     docdir=$ac_optarg ;;
961
962   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
963     ac_prev=dvidir ;;
964   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
965     dvidir=$ac_optarg ;;
966
967   -enable-* | --enable-*)
968     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
969     # Reject names that are not valid shell variable names.
970     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
971       as_fn_error $? "invalid feature name: $ac_useropt"
972     ac_useropt_orig=$ac_useropt
973     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974     case $ac_user_opts in
975       *"
976 "enable_$ac_useropt"
977 "*) ;;
978       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
979          ac_unrecognized_sep=', ';;
980     esac
981     eval enable_$ac_useropt=\$ac_optarg ;;
982
983   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
984   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
985   | --exec | --exe | --ex)
986     ac_prev=exec_prefix ;;
987   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
988   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
989   | --exec=* | --exe=* | --ex=*)
990     exec_prefix=$ac_optarg ;;
991
992   -gas | --gas | --ga | --g)
993     # Obsolete; use --with-gas.
994     with_gas=yes ;;
995
996   -help | --help | --hel | --he | -h)
997     ac_init_help=long ;;
998   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
999     ac_init_help=recursive ;;
1000   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1001     ac_init_help=short ;;
1002
1003   -host | --host | --hos | --ho)
1004     ac_prev=host_alias ;;
1005   -host=* | --host=* | --hos=* | --ho=*)
1006     host_alias=$ac_optarg ;;
1007
1008   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1009     ac_prev=htmldir ;;
1010   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1011   | --ht=*)
1012     htmldir=$ac_optarg ;;
1013
1014   -includedir | --includedir | --includedi | --included | --include \
1015   | --includ | --inclu | --incl | --inc)
1016     ac_prev=includedir ;;
1017   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1018   | --includ=* | --inclu=* | --incl=* | --inc=*)
1019     includedir=$ac_optarg ;;
1020
1021   -infodir | --infodir | --infodi | --infod | --info | --inf)
1022     ac_prev=infodir ;;
1023   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1024     infodir=$ac_optarg ;;
1025
1026   -libdir | --libdir | --libdi | --libd)
1027     ac_prev=libdir ;;
1028   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1029     libdir=$ac_optarg ;;
1030
1031   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1032   | --libexe | --libex | --libe)
1033     ac_prev=libexecdir ;;
1034   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1035   | --libexe=* | --libex=* | --libe=*)
1036     libexecdir=$ac_optarg ;;
1037
1038   -localedir | --localedir | --localedi | --localed | --locale)
1039     ac_prev=localedir ;;
1040   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1041     localedir=$ac_optarg ;;
1042
1043   -localstatedir | --localstatedir | --localstatedi | --localstated \
1044   | --localstate | --localstat | --localsta | --localst | --locals)
1045     ac_prev=localstatedir ;;
1046   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1047   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1048     localstatedir=$ac_optarg ;;
1049
1050   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1051     ac_prev=mandir ;;
1052   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1053     mandir=$ac_optarg ;;
1054
1055   -nfp | --nfp | --nf)
1056     # Obsolete; use --without-fp.
1057     with_fp=no ;;
1058
1059   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1060   | --no-cr | --no-c | -n)
1061     no_create=yes ;;
1062
1063   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1064   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1065     no_recursion=yes ;;
1066
1067   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1068   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1069   | --oldin | --oldi | --old | --ol | --o)
1070     ac_prev=oldincludedir ;;
1071   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1072   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1073   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1074     oldincludedir=$ac_optarg ;;
1075
1076   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1077     ac_prev=prefix ;;
1078   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1079     prefix=$ac_optarg ;;
1080
1081   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1082   | --program-pre | --program-pr | --program-p)
1083     ac_prev=program_prefix ;;
1084   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1085   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1086     program_prefix=$ac_optarg ;;
1087
1088   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1089   | --program-suf | --program-su | --program-s)
1090     ac_prev=program_suffix ;;
1091   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1092   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1093     program_suffix=$ac_optarg ;;
1094
1095   -program-transform-name | --program-transform-name \
1096   | --program-transform-nam | --program-transform-na \
1097   | --program-transform-n | --program-transform- \
1098   | --program-transform | --program-transfor \
1099   | --program-transfo | --program-transf \
1100   | --program-trans | --program-tran \
1101   | --progr-tra | --program-tr | --program-t)
1102     ac_prev=program_transform_name ;;
1103   -program-transform-name=* | --program-transform-name=* \
1104   | --program-transform-nam=* | --program-transform-na=* \
1105   | --program-transform-n=* | --program-transform-=* \
1106   | --program-transform=* | --program-transfor=* \
1107   | --program-transfo=* | --program-transf=* \
1108   | --program-trans=* | --program-tran=* \
1109   | --progr-tra=* | --program-tr=* | --program-t=*)
1110     program_transform_name=$ac_optarg ;;
1111
1112   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1113     ac_prev=pdfdir ;;
1114   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1115     pdfdir=$ac_optarg ;;
1116
1117   -psdir | --psdir | --psdi | --psd | --ps)
1118     ac_prev=psdir ;;
1119   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1120     psdir=$ac_optarg ;;
1121
1122   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1123   | -silent | --silent | --silen | --sile | --sil)
1124     silent=yes ;;
1125
1126   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1127     ac_prev=sbindir ;;
1128   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1129   | --sbi=* | --sb=*)
1130     sbindir=$ac_optarg ;;
1131
1132   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1133   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1134   | --sharedst | --shareds | --shared | --share | --shar \
1135   | --sha | --sh)
1136     ac_prev=sharedstatedir ;;
1137   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1138   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1139   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1140   | --sha=* | --sh=*)
1141     sharedstatedir=$ac_optarg ;;
1142
1143   -site | --site | --sit)
1144     ac_prev=site ;;
1145   -site=* | --site=* | --sit=*)
1146     site=$ac_optarg ;;
1147
1148   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1149     ac_prev=srcdir ;;
1150   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1151     srcdir=$ac_optarg ;;
1152
1153   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1154   | --syscon | --sysco | --sysc | --sys | --sy)
1155     ac_prev=sysconfdir ;;
1156   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1157   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1158     sysconfdir=$ac_optarg ;;
1159
1160   -target | --target | --targe | --targ | --tar | --ta | --t)
1161     ac_prev=target_alias ;;
1162   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1163     target_alias=$ac_optarg ;;
1164
1165   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1166     verbose=yes ;;
1167
1168   -version | --version | --versio | --versi | --vers | -V)
1169     ac_init_version=: ;;
1170
1171   -with-* | --with-*)
1172     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1173     # Reject names that are not valid shell variable names.
1174     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1175       as_fn_error $? "invalid package name: $ac_useropt"
1176     ac_useropt_orig=$ac_useropt
1177     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178     case $ac_user_opts in
1179       *"
1180 "with_$ac_useropt"
1181 "*) ;;
1182       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1183          ac_unrecognized_sep=', ';;
1184     esac
1185     eval with_$ac_useropt=\$ac_optarg ;;
1186
1187   -without-* | --without-*)
1188     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1189     # Reject names that are not valid shell variable names.
1190     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1191       as_fn_error $? "invalid package name: $ac_useropt"
1192     ac_useropt_orig=$ac_useropt
1193     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194     case $ac_user_opts in
1195       *"
1196 "with_$ac_useropt"
1197 "*) ;;
1198       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1199          ac_unrecognized_sep=', ';;
1200     esac
1201     eval with_$ac_useropt=no ;;
1202
1203   --x)
1204     # Obsolete; use --with-x.
1205     with_x=yes ;;
1206
1207   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1208   | --x-incl | --x-inc | --x-in | --x-i)
1209     ac_prev=x_includes ;;
1210   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1211   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1212     x_includes=$ac_optarg ;;
1213
1214   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1215   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1216     ac_prev=x_libraries ;;
1217   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1218   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1219     x_libraries=$ac_optarg ;;
1220
1221   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1222 Try \`$0 --help' for more information"
1223     ;;
1224
1225   *=*)
1226     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1227     # Reject names that are not valid shell variable names.
1228     case $ac_envvar in #(
1229       '' | [0-9]* | *[!_$as_cr_alnum]* )
1230       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1231     esac
1232     eval $ac_envvar=\$ac_optarg
1233     export $ac_envvar ;;
1234
1235   *)
1236     # FIXME: should be removed in autoconf 3.0.
1237     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1238     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1239       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1240     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1241     ;;
1242
1243   esac
1244 done
1245
1246 if test -n "$ac_prev"; then
1247   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1248   as_fn_error $? "missing argument to $ac_option"
1249 fi
1250
1251 if test -n "$ac_unrecognized_opts"; then
1252   case $enable_option_checking in
1253     no) ;;
1254     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1255     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1256   esac
1257 fi
1258
1259 # Check all directory arguments for consistency.
1260 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1261                 datadir sysconfdir sharedstatedir localstatedir includedir \
1262                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1263                 libdir localedir mandir
1264 do
1265   eval ac_val=\$$ac_var
1266   # Remove trailing slashes.
1267   case $ac_val in
1268     */ )
1269       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1270       eval $ac_var=\$ac_val;;
1271   esac
1272   # Be sure to have absolute directory names.
1273   case $ac_val in
1274     [\\/$]* | ?:[\\/]* )  continue;;
1275     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1276   esac
1277   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1278 done
1279
1280 # There might be people who depend on the old broken behavior: `$host'
1281 # used to hold the argument of --host etc.
1282 # FIXME: To remove some day.
1283 build=$build_alias
1284 host=$host_alias
1285 target=$target_alias
1286
1287 # FIXME: To remove some day.
1288 if test "x$host_alias" != x; then
1289   if test "x$build_alias" = x; then
1290     cross_compiling=maybe
1291     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1292     If a cross compiler is detected then cross compile mode will be used" >&2
1293   elif test "x$build_alias" != "x$host_alias"; then
1294     cross_compiling=yes
1295   fi
1296 fi
1297
1298 ac_tool_prefix=
1299 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1300
1301 test "$silent" = yes && exec 6>/dev/null
1302
1303
1304 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1305 ac_ls_di=`ls -di .` &&
1306 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1307   as_fn_error $? "working directory cannot be determined"
1308 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1309   as_fn_error $? "pwd does not report name of working directory"
1310
1311
1312 # Find the source files, if location was not specified.
1313 if test -z "$srcdir"; then
1314   ac_srcdir_defaulted=yes
1315   # Try the directory containing this script, then the parent directory.
1316   ac_confdir=`$as_dirname -- "$as_myself" ||
1317 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1318          X"$as_myself" : 'X\(//\)[^/]' \| \
1319          X"$as_myself" : 'X\(//\)$' \| \
1320          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1321 $as_echo X"$as_myself" |
1322     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1323             s//\1/
1324             q
1325           }
1326           /^X\(\/\/\)[^/].*/{
1327             s//\1/
1328             q
1329           }
1330           /^X\(\/\/\)$/{
1331             s//\1/
1332             q
1333           }
1334           /^X\(\/\).*/{
1335             s//\1/
1336             q
1337           }
1338           s/.*/./; q'`
1339   srcdir=$ac_confdir
1340   if test ! -r "$srcdir/$ac_unique_file"; then
1341     srcdir=..
1342   fi
1343 else
1344   ac_srcdir_defaulted=no
1345 fi
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1347   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1348   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1349 fi
1350 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1351 ac_abs_confdir=`(
1352         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1353         pwd)`
1354 # When building in place, set srcdir=.
1355 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356   srcdir=.
1357 fi
1358 # Remove unnecessary trailing slashes from srcdir.
1359 # Double slashes in file names in object file debugging info
1360 # mess up M-x gdb in Emacs.
1361 case $srcdir in
1362 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1363 esac
1364 for ac_var in $ac_precious_vars; do
1365   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1366   eval ac_env_${ac_var}_value=\$${ac_var}
1367   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1368   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1369 done
1370
1371 #
1372 # Report the --help message.
1373 #
1374 if test "$ac_init_help" = "long"; then
1375   # Omit some internal or obsolete options to make the list less imposing.
1376   # This message is too long to be a string in the A/UX 3.1 sh.
1377   cat <<_ACEOF
1378 \`configure' configures nlassert g4646da4 to adapt to many kinds of systems.
1379
1380 Usage: $0 [OPTION]... [VAR=VALUE]...
1381
1382 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1383 VAR=VALUE.  See below for descriptions of some of the useful variables.
1384
1385 Defaults for the options are specified in brackets.
1386
1387 Configuration:
1388   -h, --help              display this help and exit
1389       --help=short        display options specific to this package
1390       --help=recursive    display the short help of all the included packages
1391   -V, --version           display version information and exit
1392   -q, --quiet, --silent   do not print \`checking ...' messages
1393       --cache-file=FILE   cache test results in FILE [disabled]
1394   -C, --config-cache      alias for \`--cache-file=config.cache'
1395   -n, --no-create         do not create output files
1396       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1397
1398 Installation directories:
1399   --prefix=PREFIX         install architecture-independent files in PREFIX
1400                           [$ac_default_prefix]
1401   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1402                           [PREFIX]
1403
1404 By default, \`make install' will install all the files in
1405 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1406 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1407 for instance \`--prefix=\$HOME'.
1408
1409 For better control, use the options below.
1410
1411 Fine tuning of the installation directories:
1412   --bindir=DIR            user executables [EPREFIX/bin]
1413   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1414   --libexecdir=DIR        program executables [EPREFIX/libexec]
1415   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1416   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1417   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1418   --libdir=DIR            object code libraries [EPREFIX/lib]
1419   --includedir=DIR        C header files [PREFIX/include]
1420   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1421   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1422   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1423   --infodir=DIR           info documentation [DATAROOTDIR/info]
1424   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1425   --mandir=DIR            man documentation [DATAROOTDIR/man]
1426   --docdir=DIR            documentation root [DATAROOTDIR/doc/nlassert]
1427   --htmldir=DIR           html documentation [DOCDIR]
1428   --dvidir=DIR            dvi documentation [DOCDIR]
1429   --pdfdir=DIR            pdf documentation [DOCDIR]
1430   --psdir=DIR             ps documentation [DOCDIR]
1431 _ACEOF
1432
1433   cat <<\_ACEOF
1434
1435 Program names:
1436   --program-prefix=PREFIX            prepend PREFIX to installed program names
1437   --program-suffix=SUFFIX            append SUFFIX to installed program names
1438   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1439
1440 System types:
1441   --build=BUILD     configure for building on BUILD [guessed]
1442   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1443   --target=TARGET   configure for building compilers for TARGET [HOST]
1444 _ACEOF
1445 fi
1446
1447 if test -n "$ac_init_help"; then
1448   case $ac_init_help in
1449      short | recursive ) echo "Configuration of nlassert g4646da4:";;
1450    esac
1451   cat <<\_ACEOF
1452
1453 Optional Features:
1454   --disable-option-checking  ignore unrecognized --enable/--with options
1455   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1456   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1457   --enable-silent-rules   less verbose build output (undo: "make V=1")
1458   --disable-silent-rules  verbose build output (undo: "make V=0")
1459   --enable-maintainer-mode
1460                           enable make rules and dependencies not useful (and
1461                           sometimes confusing) to the casual installer
1462   --enable-dependency-tracking
1463                           do not reject slow dependency extractors
1464   --disable-dependency-tracking
1465                           speeds up one-time build
1466   --enable-shared[=PKGS]  build shared libraries [default=yes]
1467   --enable-static[=PKGS]  build static libraries [default=yes]
1468   --enable-fast-install[=PKGS]
1469                           optimize for fast installation [default=yes]
1470   --disable-libtool-lock  avoid locking (might break parallel builds)
1471   --enable-debug          Enable the generation of debug instances
1472                           [default=no].
1473   --enable-coverage       Enable the generation of code-coverage instances
1474                           [default=no].
1475   --enable-coverage-reports
1476                           Enable the generation of code coverage reports
1477                           (requires lcov) [default=auto].
1478   --enable-optimization   Enable the generation of code-optimized instances
1479                           [default=yes].
1480   --enable-tests          Enable building of tests [default=yes].
1481   --disable-docs          Enable building documentation (requires Doxygen)
1482                           [default=auto].
1483
1484 Optional Packages:
1485   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1486   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1487   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1488                           both]
1489   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1490   --with-sysroot=DIR Search for dependent libraries within DIR
1491                         (or the compiler's sysroot if not specified).
1492   --with-nlunit_test=DIR  Specify location of the required Nlunit-test headers
1493                           and libraries [default=internal].
1494   --with-nlunit_test-includes=DIR
1495                           Specify location of required Nlunit-test headers
1496                           [default=internal].
1497   --with-nlunit_test-libs=DIR
1498                           Specify location of required Nlunit-test libraries
1499                           [default=internal].
1500
1501 Some influential environment variables:
1502   CC          C compiler command
1503   CFLAGS      C compiler flags
1504   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1505               nonstandard directory <lib dir>
1506   LIBS        libraries to pass to the linker, e.g. -l<library>
1507   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1508               you have headers in a nonstandard directory <include dir>
1509   CPP         C preprocessor
1510   CXX         C++ compiler command
1511   CXXFLAGS    C++ compiler flags
1512   CXXCPP      C++ preprocessor
1513   DOXYGEN     Doxygen executable
1514   DOT         GraphViz 'dot' executable, which may be used, when present, to
1515               generate Doxygen class graphs
1516   NLUNIT_TEST_CPPFLAGS
1517               Nlunit-test C preprocessor flags
1518   NLUNIT_TEST_LDFLAGS
1519               Nlunit-test linker flags
1520   NLUNIT_TEST_LIBS
1521               Nlunit-test linker libraries
1522
1523 Use these variables to override the choices made by `configure' or to help
1524 it to find libraries and programs with nonstandard names/locations.
1525
1526 Report bugs to <nlassert-users@google.com>.
1527 nlassert home page: <https://github.com/nestlabs/nlassert/>.
1528 _ACEOF
1529 ac_status=$?
1530 fi
1531
1532 if test "$ac_init_help" = "recursive"; then
1533   # If there are subdirs, report their specific --help.
1534   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1535     test -d "$ac_dir" ||
1536       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1537       continue
1538     ac_builddir=.
1539
1540 case "$ac_dir" in
1541 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542 *)
1543   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1544   # A ".." for each directory in $ac_dir_suffix.
1545   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1546   case $ac_top_builddir_sub in
1547   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1549   esac ;;
1550 esac
1551 ac_abs_top_builddir=$ac_pwd
1552 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1553 # for backward compatibility:
1554 ac_top_builddir=$ac_top_build_prefix
1555
1556 case $srcdir in
1557   .)  # We are building in place.
1558     ac_srcdir=.
1559     ac_top_srcdir=$ac_top_builddir_sub
1560     ac_abs_top_srcdir=$ac_pwd ;;
1561   [\\/]* | ?:[\\/]* )  # Absolute name.
1562     ac_srcdir=$srcdir$ac_dir_suffix;
1563     ac_top_srcdir=$srcdir
1564     ac_abs_top_srcdir=$srcdir ;;
1565   *) # Relative name.
1566     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1567     ac_top_srcdir=$ac_top_build_prefix$srcdir
1568     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1569 esac
1570 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1571
1572     cd "$ac_dir" || { ac_status=$?; continue; }
1573     # Check for guested configure.
1574     if test -f "$ac_srcdir/configure.gnu"; then
1575       echo &&
1576       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1577     elif test -f "$ac_srcdir/configure"; then
1578       echo &&
1579       $SHELL "$ac_srcdir/configure" --help=recursive
1580     else
1581       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1582     fi || ac_status=$?
1583     cd "$ac_pwd" || { ac_status=$?; break; }
1584   done
1585 fi
1586
1587 test -n "$ac_init_help" && exit $ac_status
1588 if $ac_init_version; then
1589   cat <<\_ACEOF
1590 nlassert configure g4646da4
1591 generated by GNU Autoconf 2.68
1592
1593 Copyright (C) 2010 Free Software Foundation, Inc.
1594 This configure script is free software; the Free Software Foundation
1595 gives unlimited permission to copy, distribute and modify it.
1596 _ACEOF
1597   exit
1598 fi
1599
1600 ## ------------------------ ##
1601 ## Autoconf initialization. ##
1602 ## ------------------------ ##
1603
1604 # ac_fn_c_try_compile LINENO
1605 # --------------------------
1606 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1607 ac_fn_c_try_compile ()
1608 {
1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610   rm -f conftest.$ac_objext
1611   if { { ac_try="$ac_compile"
1612 case "(($ac_try" in
1613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1614   *) ac_try_echo=$ac_try;;
1615 esac
1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618   (eval "$ac_compile") 2>conftest.err
1619   ac_status=$?
1620   if test -s conftest.err; then
1621     grep -v '^ *+' conftest.err >conftest.er1
1622     cat conftest.er1 >&5
1623     mv -f conftest.er1 conftest.err
1624   fi
1625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626   test $ac_status = 0; } && {
1627          test -z "$ac_c_werror_flag" ||
1628          test ! -s conftest.err
1629        } && test -s conftest.$ac_objext; then :
1630   ac_retval=0
1631 else
1632   $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1634
1635         ac_retval=1
1636 fi
1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638   as_fn_set_status $ac_retval
1639
1640 } # ac_fn_c_try_compile
1641
1642 # ac_fn_c_try_cpp LINENO
1643 # ----------------------
1644 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1645 ac_fn_c_try_cpp ()
1646 {
1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648   if { { ac_try="$ac_cpp conftest.$ac_ext"
1649 case "(($ac_try" in
1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651   *) ac_try_echo=$ac_try;;
1652 esac
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1656   ac_status=$?
1657   if test -s conftest.err; then
1658     grep -v '^ *+' conftest.err >conftest.er1
1659     cat conftest.er1 >&5
1660     mv -f conftest.er1 conftest.err
1661   fi
1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663   test $ac_status = 0; } > conftest.i && {
1664          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1665          test ! -s conftest.err
1666        }; then :
1667   ac_retval=0
1668 else
1669   $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1671
1672     ac_retval=1
1673 fi
1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675   as_fn_set_status $ac_retval
1676
1677 } # ac_fn_c_try_cpp
1678
1679 # ac_fn_cxx_try_compile LINENO
1680 # ----------------------------
1681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1682 ac_fn_cxx_try_compile ()
1683 {
1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685   rm -f conftest.$ac_objext
1686   if { { ac_try="$ac_compile"
1687 case "(($ac_try" in
1688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689   *) ac_try_echo=$ac_try;;
1690 esac
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693   (eval "$ac_compile") 2>conftest.err
1694   ac_status=$?
1695   if test -s conftest.err; then
1696     grep -v '^ *+' conftest.err >conftest.er1
1697     cat conftest.er1 >&5
1698     mv -f conftest.er1 conftest.err
1699   fi
1700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701   test $ac_status = 0; } && {
1702          test -z "$ac_cxx_werror_flag" ||
1703          test ! -s conftest.err
1704        } && test -s conftest.$ac_objext; then :
1705   ac_retval=0
1706 else
1707   $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1709
1710         ac_retval=1
1711 fi
1712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713   as_fn_set_status $ac_retval
1714
1715 } # ac_fn_cxx_try_compile
1716
1717 # ac_fn_cxx_try_cpp LINENO
1718 # ------------------------
1719 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1720 ac_fn_cxx_try_cpp ()
1721 {
1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723   if { { ac_try="$ac_cpp conftest.$ac_ext"
1724 case "(($ac_try" in
1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726   *) ac_try_echo=$ac_try;;
1727 esac
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1731   ac_status=$?
1732   if test -s conftest.err; then
1733     grep -v '^ *+' conftest.err >conftest.er1
1734     cat conftest.er1 >&5
1735     mv -f conftest.er1 conftest.err
1736   fi
1737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738   test $ac_status = 0; } > conftest.i && {
1739          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1740          test ! -s conftest.err
1741        }; then :
1742   ac_retval=0
1743 else
1744   $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1746
1747     ac_retval=1
1748 fi
1749   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750   as_fn_set_status $ac_retval
1751
1752 } # ac_fn_cxx_try_cpp
1753
1754 # ac_fn_c_try_link LINENO
1755 # -----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_c_try_link ()
1758 {
1759   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760   rm -f conftest.$ac_objext conftest$ac_exeext
1761   if { { ac_try="$ac_link"
1762 case "(($ac_try" in
1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764   *) ac_try_echo=$ac_try;;
1765 esac
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768   (eval "$ac_link") 2>conftest.err
1769   ac_status=$?
1770   if test -s conftest.err; then
1771     grep -v '^ *+' conftest.err >conftest.er1
1772     cat conftest.er1 >&5
1773     mv -f conftest.er1 conftest.err
1774   fi
1775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776   test $ac_status = 0; } && {
1777          test -z "$ac_c_werror_flag" ||
1778          test ! -s conftest.err
1779        } && test -s conftest$ac_exeext && {
1780          test "$cross_compiling" = yes ||
1781          $as_test_x conftest$ac_exeext
1782        }; then :
1783   ac_retval=0
1784 else
1785   $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1787
1788         ac_retval=1
1789 fi
1790   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1791   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1792   # interfere with the next link command; also delete a directory that is
1793   # left behind by Apple's compiler.  We do this before executing the actions.
1794   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796   as_fn_set_status $ac_retval
1797
1798 } # ac_fn_c_try_link
1799
1800 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1801 # -------------------------------------------------------
1802 # Tests whether HEADER exists and can be compiled using the include files in
1803 # INCLUDES, setting the cache variable VAR accordingly.
1804 ac_fn_c_check_header_compile ()
1805 {
1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if eval \${$3+:} false; then :
1810   $as_echo_n "(cached) " >&6
1811 else
1812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h.  */
1814 $4
1815 #include <$2>
1816 _ACEOF
1817 if ac_fn_c_try_compile "$LINENO"; then :
1818   eval "$3=yes"
1819 else
1820   eval "$3=no"
1821 fi
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823 fi
1824 eval ac_res=\$$3
1825                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
1829 } # ac_fn_c_check_header_compile
1830
1831 # ac_fn_c_try_run LINENO
1832 # ----------------------
1833 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1834 # that executables *can* be run.
1835 ac_fn_c_try_run ()
1836 {
1837   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838   if { { ac_try="$ac_link"
1839 case "(($ac_try" in
1840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841   *) ac_try_echo=$ac_try;;
1842 esac
1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845   (eval "$ac_link") 2>&5
1846   ac_status=$?
1847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1849   { { case "(($ac_try" in
1850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1851   *) ac_try_echo=$ac_try;;
1852 esac
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855   (eval "$ac_try") 2>&5
1856   ac_status=$?
1857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858   test $ac_status = 0; }; }; then :
1859   ac_retval=0
1860 else
1861   $as_echo "$as_me: program exited with status $ac_status" >&5
1862        $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1864
1865        ac_retval=$ac_status
1866 fi
1867   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869   as_fn_set_status $ac_retval
1870
1871 } # ac_fn_c_try_run
1872
1873 # ac_fn_c_check_func LINENO FUNC VAR
1874 # ----------------------------------
1875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1876 ac_fn_c_check_func ()
1877 {
1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \${$3+:} false; then :
1882   $as_echo_n "(cached) " >&6
1883 else
1884   if test x$ac_no_link = xyes; then
1885   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
1886 fi
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h.  */
1889 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1891 #define $2 innocuous_$2
1892
1893 /* System header to define __stub macros and hopefully few prototypes,
1894     which can conflict with char $2 (); below.
1895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1896     <limits.h> exists even on freestanding compilers.  */
1897
1898 #ifdef __STDC__
1899 # include <limits.h>
1900 #else
1901 # include <assert.h>
1902 #endif
1903
1904 #undef $2
1905
1906 /* Override any GCC internal prototype to avoid an error.
1907    Use char because int might match the return type of a GCC
1908    builtin and then its argument prototype would still apply.  */
1909 #ifdef __cplusplus
1910 extern "C"
1911 #endif
1912 char $2 ();
1913 /* The GNU C library defines this for functions which it implements
1914     to always fail with ENOSYS.  Some functions are actually named
1915     something starting with __ and the normal name is an alias.  */
1916 #if defined __stub_$2 || defined __stub___$2
1917 choke me
1918 #endif
1919
1920 int
1921 main ()
1922 {
1923 return $2 ();
1924   ;
1925   return 0;
1926 }
1927 _ACEOF
1928 if ac_fn_c_try_link "$LINENO"; then :
1929   eval "$3=yes"
1930 else
1931   eval "$3=no"
1932 fi
1933 rm -f core conftest.err conftest.$ac_objext \
1934     conftest$ac_exeext conftest.$ac_ext
1935 fi
1936 eval ac_res=\$$3
1937                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1939   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940
1941 } # ac_fn_c_check_func
1942
1943 # ac_fn_cxx_try_link LINENO
1944 # -------------------------
1945 # Try to link conftest.$ac_ext, and return whether this succeeded.
1946 ac_fn_cxx_try_link ()
1947 {
1948   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949   rm -f conftest.$ac_objext conftest$ac_exeext
1950   if { { ac_try="$ac_link"
1951 case "(($ac_try" in
1952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953   *) ac_try_echo=$ac_try;;
1954 esac
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957   (eval "$ac_link") 2>conftest.err
1958   ac_status=$?
1959   if test -s conftest.err; then
1960     grep -v '^ *+' conftest.err >conftest.er1
1961     cat conftest.er1 >&5
1962     mv -f conftest.er1 conftest.err
1963   fi
1964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965   test $ac_status = 0; } && {
1966          test -z "$ac_cxx_werror_flag" ||
1967          test ! -s conftest.err
1968        } && test -s conftest$ac_exeext && {
1969          test "$cross_compiling" = yes ||
1970          $as_test_x conftest$ac_exeext
1971        }; then :
1972   ac_retval=0
1973 else
1974   $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1976
1977         ac_retval=1
1978 fi
1979   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1980   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1981   # interfere with the next link command; also delete a directory that is
1982   # left behind by Apple's compiler.  We do this before executing the actions.
1983   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1984   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985   as_fn_set_status $ac_retval
1986
1987 } # ac_fn_cxx_try_link
1988
1989 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1990 # -------------------------------------------------------
1991 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1992 # the include files in INCLUDES and setting the cache variable VAR
1993 # accordingly.
1994 ac_fn_c_check_header_mongrel ()
1995 {
1996   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1997   if eval \${$3+:} false; then :
1998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1999 $as_echo_n "checking for $2... " >&6; }
2000 if eval \${$3+:} false; then :
2001   $as_echo_n "(cached) " >&6
2002 fi
2003 eval ac_res=\$$3
2004                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2005 $as_echo "$ac_res" >&6; }
2006 else
2007   # Is the header compilable?
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2009 $as_echo_n "checking $2 usability... " >&6; }
2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h.  */
2012 $4
2013 #include <$2>
2014 _ACEOF
2015 if ac_fn_c_try_compile "$LINENO"; then :
2016   ac_header_compiler=yes
2017 else
2018   ac_header_compiler=no
2019 fi
2020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2022 $as_echo "$ac_header_compiler" >&6; }
2023
2024 # Is the header present?
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2026 $as_echo_n "checking $2 presence... " >&6; }
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h.  */
2029 #include <$2>
2030 _ACEOF
2031 if ac_fn_c_try_cpp "$LINENO"; then :
2032   ac_header_preproc=yes
2033 else
2034   ac_header_preproc=no
2035 fi
2036 rm -f conftest.err conftest.i conftest.$ac_ext
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2038 $as_echo "$ac_header_preproc" >&6; }
2039
2040 # So?  What about this header?
2041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2042   yes:no: )
2043     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2044 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2045     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2046 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2047     ;;
2048   no:yes:* )
2049     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2050 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2051     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2052 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2053     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2054 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2055     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2056 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2057     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2058 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2059 ( $as_echo "## ---------------------------------------- ##
2060 ## Report this to nlassert-users@google.com ##
2061 ## ---------------------------------------- ##"
2062      ) | sed "s/^/$as_me: WARNING:     /" >&2
2063     ;;
2064 esac
2065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2066 $as_echo_n "checking for $2... " >&6; }
2067 if eval \${$3+:} false; then :
2068   $as_echo_n "(cached) " >&6
2069 else
2070   eval "$3=\$ac_header_compiler"
2071 fi
2072 eval ac_res=\$$3
2073                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075 fi
2076   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077
2078 } # ac_fn_c_check_header_mongrel
2079
2080 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2081 # -------------------------------------------
2082 # Tests whether TYPE exists after having included INCLUDES, setting cache
2083 # variable VAR accordingly.
2084 ac_fn_c_check_type ()
2085 {
2086   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2088 $as_echo_n "checking for $2... " >&6; }
2089 if eval \${$3+:} false; then :
2090   $as_echo_n "(cached) " >&6
2091 else
2092   eval "$3=no"
2093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h.  */
2095 $4
2096 int
2097 main ()
2098 {
2099 if (sizeof ($2))
2100          return 0;
2101   ;
2102   return 0;
2103 }
2104 _ACEOF
2105 if ac_fn_c_try_compile "$LINENO"; then :
2106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h.  */
2108 $4
2109 int
2110 main ()
2111 {
2112 if (sizeof (($2)))
2113             return 0;
2114   ;
2115   return 0;
2116 }
2117 _ACEOF
2118 if ac_fn_c_try_compile "$LINENO"; then :
2119
2120 else
2121   eval "$3=yes"
2122 fi
2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124 fi
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2126 fi
2127 eval ac_res=\$$3
2128                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129 $as_echo "$ac_res" >&6; }
2130   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2131
2132 } # ac_fn_c_check_type
2133
2134 # ac_fn_c_find_intX_t LINENO BITS VAR
2135 # -----------------------------------
2136 # Finds a signed integer type with width BITS, setting cache variable VAR
2137 # accordingly.
2138 ac_fn_c_find_intX_t ()
2139 {
2140   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2142 $as_echo_n "checking for int$2_t... " >&6; }
2143 if eval \${$3+:} false; then :
2144   $as_echo_n "(cached) " >&6
2145 else
2146   eval "$3=no"
2147      # Order is important - never check a type that is potentially smaller
2148      # than half of the expected target width.
2149      for ac_type in int$2_t 'int' 'long int' \
2150          'long long int' 'short int' 'signed char'; do
2151        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h.  */
2153 $ac_includes_default
2154              enum { N = $2 / 2 - 1 };
2155 int
2156 main ()
2157 {
2158 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2159 test_array [0] = 0
2160
2161   ;
2162   return 0;
2163 }
2164 _ACEOF
2165 if ac_fn_c_try_compile "$LINENO"; then :
2166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h.  */
2168 $ac_includes_default
2169                 enum { N = $2 / 2 - 1 };
2170 int
2171 main ()
2172 {
2173 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2174                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2175 test_array [0] = 0
2176
2177   ;
2178   return 0;
2179 }
2180 _ACEOF
2181 if ac_fn_c_try_compile "$LINENO"; then :
2182
2183 else
2184   case $ac_type in #(
2185   int$2_t) :
2186     eval "$3=yes" ;; #(
2187   *) :
2188     eval "$3=\$ac_type" ;;
2189 esac
2190 fi
2191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2192 fi
2193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2194        if eval test \"x\$"$3"\" = x"no"; then :
2195
2196 else
2197   break
2198 fi
2199      done
2200 fi
2201 eval ac_res=\$$3
2202                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2203 $as_echo "$ac_res" >&6; }
2204   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2205
2206 } # ac_fn_c_find_intX_t
2207
2208 # ac_fn_c_find_uintX_t LINENO BITS VAR
2209 # ------------------------------------
2210 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2211 # accordingly.
2212 ac_fn_c_find_uintX_t ()
2213 {
2214   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2216 $as_echo_n "checking for uint$2_t... " >&6; }
2217 if eval \${$3+:} false; then :
2218   $as_echo_n "(cached) " >&6
2219 else
2220   eval "$3=no"
2221      # Order is important - never check a type that is potentially smaller
2222      # than half of the expected target width.
2223      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2224          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2225        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2226 /* end confdefs.h.  */
2227 $ac_includes_default
2228 int
2229 main ()
2230 {
2231 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2232 test_array [0] = 0
2233
2234   ;
2235   return 0;
2236 }
2237 _ACEOF
2238 if ac_fn_c_try_compile "$LINENO"; then :
2239   case $ac_type in #(
2240   uint$2_t) :
2241     eval "$3=yes" ;; #(
2242   *) :
2243     eval "$3=\$ac_type" ;;
2244 esac
2245 fi
2246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2247        if eval test \"x\$"$3"\" = x"no"; then :
2248
2249 else
2250   break
2251 fi
2252      done
2253 fi
2254 eval ac_res=\$$3
2255                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2257   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2258
2259 } # ac_fn_c_find_uintX_t
2260 cat >config.log <<_ACEOF
2261 This file contains any messages produced by compilers while
2262 running configure, to aid debugging if configure makes a mistake.
2263
2264 It was created by nlassert $as_me g4646da4, which was
2265 generated by GNU Autoconf 2.68.  Invocation command line was
2266
2267   $ $0 $@
2268
2269 _ACEOF
2270 exec 5>>config.log
2271 {
2272 cat <<_ASUNAME
2273 ## --------- ##
2274 ## Platform. ##
2275 ## --------- ##
2276
2277 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2278 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2279 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2280 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2281 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2282
2283 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2284 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2285
2286 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2287 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2288 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2289 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2290 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2291 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2292 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2293
2294 _ASUNAME
2295
2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 for as_dir in $PATH
2298 do
2299   IFS=$as_save_IFS
2300   test -z "$as_dir" && as_dir=.
2301     $as_echo "PATH: $as_dir"
2302   done
2303 IFS=$as_save_IFS
2304
2305 } >&5
2306
2307 cat >&5 <<_ACEOF
2308
2309
2310 ## ----------- ##
2311 ## Core tests. ##
2312 ## ----------- ##
2313
2314 _ACEOF
2315
2316
2317 # Keep a trace of the command line.
2318 # Strip out --no-create and --no-recursion so they do not pile up.
2319 # Strip out --silent because we don't want to record it for future runs.
2320 # Also quote any args containing shell meta-characters.
2321 # Make two passes to allow for proper duplicate-argument suppression.
2322 ac_configure_args=
2323 ac_configure_args0=
2324 ac_configure_args1=
2325 ac_must_keep_next=false
2326 for ac_pass in 1 2
2327 do
2328   for ac_arg
2329   do
2330     case $ac_arg in
2331     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2332     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2333     | -silent | --silent | --silen | --sile | --sil)
2334       continue ;;
2335     *\'*)
2336       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2337     esac
2338     case $ac_pass in
2339     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2340     2)
2341       as_fn_append ac_configure_args1 " '$ac_arg'"
2342       if test $ac_must_keep_next = true; then
2343         ac_must_keep_next=false # Got value, back to normal.
2344       else
2345         case $ac_arg in
2346           *=* | --config-cache | -C | -disable-* | --disable-* \
2347           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2348           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2349           | -with-* | --with-* | -without-* | --without-* | --x)
2350             case "$ac_configure_args0 " in
2351               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2352             esac
2353             ;;
2354           -* ) ac_must_keep_next=true ;;
2355         esac
2356       fi
2357       as_fn_append ac_configure_args " '$ac_arg'"
2358       ;;
2359     esac
2360   done
2361 done
2362 { ac_configure_args0=; unset ac_configure_args0;}
2363 { ac_configure_args1=; unset ac_configure_args1;}
2364
2365 # When interrupted or exit'd, cleanup temporary files, and complete
2366 # config.log.  We remove comments because anyway the quotes in there
2367 # would cause problems or look ugly.
2368 # WARNING: Use '\'' to represent an apostrophe within the trap.
2369 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2370 trap 'exit_status=$?
2371   # Save into config.log some information that might help in debugging.
2372   {
2373     echo
2374
2375     $as_echo "## ---------------- ##
2376 ## Cache variables. ##
2377 ## ---------------- ##"
2378     echo
2379     # The following way of writing the cache mishandles newlines in values,
2380 (
2381   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2382     eval ac_val=\$$ac_var
2383     case $ac_val in #(
2384     *${as_nl}*)
2385       case $ac_var in #(
2386       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2387 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2388       esac
2389       case $ac_var in #(
2390       _ | IFS | as_nl) ;; #(
2391       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2392       *) { eval $ac_var=; unset $ac_var;} ;;
2393       esac ;;
2394     esac
2395   done
2396   (set) 2>&1 |
2397     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2398     *${as_nl}ac_space=\ *)
2399       sed -n \
2400         "s/'\''/'\''\\\\'\'''\''/g;
2401           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2402       ;; #(
2403     *)
2404       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2405       ;;
2406     esac |
2407     sort
2408 )
2409     echo
2410
2411     $as_echo "## ----------------- ##
2412 ## Output variables. ##
2413 ## ----------------- ##"
2414     echo
2415     for ac_var in $ac_subst_vars
2416     do
2417       eval ac_val=\$$ac_var
2418       case $ac_val in
2419       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2420       esac
2421       $as_echo "$ac_var='\''$ac_val'\''"
2422     done | sort
2423     echo
2424
2425     if test -n "$ac_subst_files"; then
2426       $as_echo "## ------------------- ##
2427 ## File substitutions. ##
2428 ## ------------------- ##"
2429       echo
2430       for ac_var in $ac_subst_files
2431       do
2432         eval ac_val=\$$ac_var
2433         case $ac_val in
2434         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2435         esac
2436         $as_echo "$ac_var='\''$ac_val'\''"
2437       done | sort
2438       echo
2439     fi
2440
2441     if test -s confdefs.h; then
2442       $as_echo "## ----------- ##
2443 ## confdefs.h. ##
2444 ## ----------- ##"
2445       echo
2446       cat confdefs.h
2447       echo
2448     fi
2449     test "$ac_signal" != 0 &&
2450       $as_echo "$as_me: caught signal $ac_signal"
2451     $as_echo "$as_me: exit $exit_status"
2452   } >&5
2453   rm -f core *.core core.conftest.* &&
2454     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2455     exit $exit_status
2456 ' 0
2457 for ac_signal in 1 2 13 15; do
2458   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2459 done
2460 ac_signal=0
2461
2462 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2463 rm -f -r conftest* confdefs.h
2464
2465 $as_echo "/* confdefs.h */" > confdefs.h
2466
2467 # Predefined preprocessor variables.
2468
2469 cat >>confdefs.h <<_ACEOF
2470 #define PACKAGE_NAME "$PACKAGE_NAME"
2471 _ACEOF
2472
2473 cat >>confdefs.h <<_ACEOF
2474 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2475 _ACEOF
2476
2477 cat >>confdefs.h <<_ACEOF
2478 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2479 _ACEOF
2480
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE_STRING "$PACKAGE_STRING"
2483 _ACEOF
2484
2485 cat >>confdefs.h <<_ACEOF
2486 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2487 _ACEOF
2488
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_URL "$PACKAGE_URL"
2491 _ACEOF
2492
2493
2494 # Let the site file select an alternate cache file if it wants to.
2495 # Prefer an explicitly selected file to automatically selected ones.
2496 ac_site_file1=NONE
2497 ac_site_file2=NONE
2498 if test -n "$CONFIG_SITE"; then
2499   # We do not want a PATH search for config.site.
2500   case $CONFIG_SITE in #((
2501     -*)  ac_site_file1=./$CONFIG_SITE;;
2502     */*) ac_site_file1=$CONFIG_SITE;;
2503     *)   ac_site_file1=./$CONFIG_SITE;;
2504   esac
2505 elif test "x$prefix" != xNONE; then
2506   ac_site_file1=$prefix/share/config.site
2507   ac_site_file2=$prefix/etc/config.site
2508 else
2509   ac_site_file1=$ac_default_prefix/share/config.site
2510   ac_site_file2=$ac_default_prefix/etc/config.site
2511 fi
2512 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2513 do
2514   test "x$ac_site_file" = xNONE && continue
2515   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2516     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2517 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2518     sed 's/^/| /' "$ac_site_file" >&5
2519     . "$ac_site_file" \
2520       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2522 as_fn_error $? "failed to load site script $ac_site_file
2523 See \`config.log' for more details" "$LINENO" 5; }
2524   fi
2525 done
2526
2527 if test -r "$cache_file"; then
2528   # Some versions of bash will fail to source /dev/null (special files
2529   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2530   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2531     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2532 $as_echo "$as_me: loading cache $cache_file" >&6;}
2533     case $cache_file in
2534       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2535       *)                      . "./$cache_file";;
2536     esac
2537   fi
2538 else
2539   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2540 $as_echo "$as_me: creating cache $cache_file" >&6;}
2541   >$cache_file
2542 fi
2543
2544 # Check that the precious variables saved in the cache have kept the same
2545 # value.
2546 ac_cache_corrupted=false
2547 for ac_var in $ac_precious_vars; do
2548   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2549   eval ac_new_set=\$ac_env_${ac_var}_set
2550   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2551   eval ac_new_val=\$ac_env_${ac_var}_value
2552   case $ac_old_set,$ac_new_set in
2553     set,)
2554       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2555 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2556       ac_cache_corrupted=: ;;
2557     ,set)
2558       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2559 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2560       ac_cache_corrupted=: ;;
2561     ,);;
2562     *)
2563       if test "x$ac_old_val" != "x$ac_new_val"; then
2564         # differences in whitespace do not lead to failure.
2565         ac_old_val_w=`echo x $ac_old_val`
2566         ac_new_val_w=`echo x $ac_new_val`
2567         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2568           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2569 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2570           ac_cache_corrupted=:
2571         else
2572           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2573 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2574           eval $ac_var=\$ac_old_val
2575         fi
2576         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2577 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2578         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2579 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2580       fi;;
2581   esac
2582   # Pass precious variables to config.status.
2583   if test "$ac_new_set" = set; then
2584     case $ac_new_val in
2585     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2586     *) ac_arg=$ac_var=$ac_new_val ;;
2587     esac
2588     case " $ac_configure_args " in
2589       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2590       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2591     esac
2592   fi
2593 done
2594 if $ac_cache_corrupted; then
2595   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2597   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2598 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2599   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2600 fi
2601 ## -------------------- ##
2602 ## Main body of script. ##
2603 ## -------------------- ##
2604
2605 ac_ext=c
2606 ac_cpp='$CPP $CPPFLAGS'
2607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2610
2611
2612
2613 # Tell the rest of the build system the absolute path where the
2614 # nlbuild-autotools repository is rooted at.
2615
2616 nlbuild_autotools_stem=third_party/nlbuild-autotools/repo
2617
2618 abs_top_nlbuild_autotools_dir=\${abs_top_srcdir}/\${nlbuild_autotools_stem}
2619
2620
2621 #
2622 # NLASSERT interface current, revision, and age versions.
2623 #
2624 # Maintainters: Please manage these fields as follows:
2625 #
2626 #   Interfaces removed:    CURRENT++, AGE = 0, REVISION = 0
2627 #   Interfaces added:      CURRENT++, AGE++,   REVISION = 0
2628 #   No interfaces changed:                     REVISION++
2629 #
2630 #
2631 LIBNLASSERT_VERSION_CURRENT=1
2632
2633 LIBNLASSERT_VERSION_AGE=0
2634
2635 LIBNLASSERT_VERSION_REVISION=0
2636
2637 LIBNLASSERT_VERSION_INFO=${LIBNLASSERT_VERSION_CURRENT}:${LIBNLASSERT_VERSION_REVISION}:${LIBNLASSERT_VERSION_AGE}
2638
2639
2640 #
2641 # Check the sanity of the source directory by checking for the
2642 # presence of a key watch file
2643 #
2644
2645
2646 #
2647 # Tell autoconf where to find auxilliary build tools (e.g. config.guess,
2648 # install-sh, missing, etc.)
2649 #
2650 ac_aux_dir=
2651 for ac_dir in third_party/nlbuild-autotools/repo/third_party/autoconf "$srcdir"/third_party/nlbuild-autotools/repo/third_party/autoconf; do
2652   if test -f "$ac_dir/install-sh"; then
2653     ac_aux_dir=$ac_dir
2654     ac_install_sh="$ac_aux_dir/install-sh -c"
2655     break
2656   elif test -f "$ac_dir/install.sh"; then
2657     ac_aux_dir=$ac_dir
2658     ac_install_sh="$ac_aux_dir/install.sh -c"
2659     break
2660   elif test -f "$ac_dir/shtool"; then
2661     ac_aux_dir=$ac_dir
2662     ac_install_sh="$ac_aux_dir/shtool install -c"
2663     break
2664   fi
2665 done
2666 if test -z "$ac_aux_dir"; then
2667   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
2668 fi
2669
2670 # These three variables are undocumented and unsupported,
2671 # and are intended to be withdrawn in a future Autoconf release.
2672 # They can cause serious problems if a builder's source tree is in a directory
2673 # whose full name contains unusual characters.
2674 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2675 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2676 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2677
2678
2679
2680 #
2681 # Tell autoconf where to find auxilliary M4 macros
2682 #
2683
2684
2685 #
2686 # Tell autoconf what file the package is using to aggregate C preprocessor
2687 # defines.
2688 #
2689 ac_config_headers="$ac_config_headers include/nlassert-config.h"
2690
2691
2692 #
2693 # Figure out what the canonical build, host and target tuples are.
2694 #
2695 # Make sure we can run config.sub.
2696 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2697   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2698
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2700 $as_echo_n "checking build system type... " >&6; }
2701 if ${ac_cv_build+:} false; then :
2702   $as_echo_n "(cached) " >&6
2703 else
2704   ac_build_alias=$build_alias
2705 test "x$ac_build_alias" = x &&
2706   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2707 test "x$ac_build_alias" = x &&
2708   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2709 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2710   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2711
2712 fi
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2714 $as_echo "$ac_cv_build" >&6; }
2715 case $ac_cv_build in
2716 *-*-*) ;;
2717 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2718 esac
2719 build=$ac_cv_build
2720 ac_save_IFS=$IFS; IFS='-'
2721 set x $ac_cv_build
2722 shift
2723 build_cpu=$1
2724 build_vendor=$2
2725 shift; shift
2726 # Remember, the first character of IFS is used to create $*,
2727 # except with old shells:
2728 build_os=$*
2729 IFS=$ac_save_IFS
2730 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2731
2732
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2734 $as_echo_n "checking host system type... " >&6; }
2735 if ${ac_cv_host+:} false; then :
2736   $as_echo_n "(cached) " >&6
2737 else
2738   if test "x$host_alias" = x; then
2739   ac_cv_host=$ac_cv_build
2740 else
2741   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2742     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2743 fi
2744
2745 fi
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2747 $as_echo "$ac_cv_host" >&6; }
2748 case $ac_cv_host in
2749 *-*-*) ;;
2750 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2751 esac
2752 host=$ac_cv_host
2753 ac_save_IFS=$IFS; IFS='-'
2754 set x $ac_cv_host
2755 shift
2756 host_cpu=$1
2757 host_vendor=$2
2758 shift; shift
2759 # Remember, the first character of IFS is used to create $*,
2760 # except with old shells:
2761 host_os=$*
2762 IFS=$ac_save_IFS
2763 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2764
2765
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2767 $as_echo_n "checking target system type... " >&6; }
2768 if ${ac_cv_target+:} false; then :
2769   $as_echo_n "(cached) " >&6
2770 else
2771   if test "x$target_alias" = x; then
2772   ac_cv_target=$ac_cv_host
2773 else
2774   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2775     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2776 fi
2777
2778 fi
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2780 $as_echo "$ac_cv_target" >&6; }
2781 case $ac_cv_target in
2782 *-*-*) ;;
2783 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2784 esac
2785 target=$ac_cv_target
2786 ac_save_IFS=$IFS; IFS='-'
2787 set x $ac_cv_target
2788 shift
2789 target_cpu=$1
2790 target_vendor=$2
2791 shift; shift
2792 # Remember, the first character of IFS is used to create $*,
2793 # except with old shells:
2794 target_os=$*
2795 IFS=$ac_save_IFS
2796 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2797
2798
2799 # The aliases save the names the user supplied, while $host etc.
2800 # will get canonicalized.
2801 test -n "$target_alias" &&
2802   test "$program_prefix$program_suffix$program_transform_name" = \
2803     NONENONEs,x,x, &&
2804   program_prefix=${target_alias}-
2805
2806 #
2807 # Mac OS X / Darwin ends up putting some versioning cruft on the end of its
2808 # tuple that we don't care about in this script. Create "clean" variables
2809 # devoid of it.
2810 #
2811
2812
2813
2814
2815     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered build system type" >&5
2816 $as_echo_n "checking filtered build system type... " >&6; }
2817 if ${nl_cv_filtered_build+:} false; then :
2818   $as_echo_n "(cached) " >&6
2819 else
2820   nl_cv_filtered_build=`echo ${build} | sed -e 's/[[:digit:].]*$//g'`
2821         nl_filtered_build=${nl_cv_filtered_build}
2822 fi
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_build" >&5
2824 $as_echo "$nl_cv_filtered_build" >&6; }
2825
2826
2827     case ${nl_cv_filtered_build} in
2828
2829     *-*-*) ;;
2830     *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2831
2832     esac
2833
2834     nl_filtered_build=$nl_cv_filtered_build
2835
2836
2837     nl_save_IFS=$IFS; IFS='-'
2838     set x $nl_cv_filtered_build
2839     shift
2840
2841     nl_filtered_build_cpu=$1
2842
2843     nl_filtered_build_vendor=$2
2844
2845
2846     shift; shift
2847     # Remember, the first character of IFS is used to create $*,
2848     # except with old shells:
2849     nl_filtered_build_os=$*
2850     IFS=$nl_save_IFS
2851
2852     case nl_filtered_$build_os in
2853
2854     *\ *) nl_filtered_build_os=`echo "$build_os" | sed 's/ /-/g'`;;
2855
2856     esac
2857
2858
2859
2860
2861
2862
2863
2864
2865     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered host system type" >&5
2866 $as_echo_n "checking filtered host system type... " >&6; }
2867 if ${nl_cv_filtered_host+:} false; then :
2868   $as_echo_n "(cached) " >&6
2869 else
2870   nl_cv_filtered_host=`echo ${host} | sed -e 's/[[:digit:].]*$//g'`
2871         nl_filtered_host=${nl_cv_filtered_host}
2872 fi
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_host" >&5
2874 $as_echo "$nl_cv_filtered_host" >&6; }
2875
2876
2877     case ${nl_cv_filtered_host} in
2878
2879     *-*-*) ;;
2880     *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2881
2882     esac
2883
2884     nl_filtered_host=$nl_cv_filtered_host
2885
2886
2887     nl_save_IFS=$IFS; IFS='-'
2888     set x $nl_cv_filtered_host
2889     shift
2890
2891     nl_filtered_host_cpu=$1
2892
2893     nl_filtered_host_vendor=$2
2894
2895
2896     shift; shift
2897     # Remember, the first character of IFS is used to create $*,
2898     # except with old shells:
2899     nl_filtered_host_os=$*
2900     IFS=$nl_save_IFS
2901
2902     case nl_filtered_$host_os in
2903
2904     *\ *) nl_filtered_host_os=`echo "$host_os" | sed 's/ /-/g'`;;
2905
2906     esac
2907
2908
2909
2910
2911
2912
2913
2914
2915     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered target system type" >&5
2916 $as_echo_n "checking filtered target system type... " >&6; }
2917 if ${nl_cv_filtered_target+:} false; then :
2918   $as_echo_n "(cached) " >&6
2919 else
2920   nl_cv_filtered_target=`echo ${target} | sed -e 's/[[:digit:].]*$//g'`
2921         nl_filtered_target=${nl_cv_filtered_target}
2922 fi
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_target" >&5
2924 $as_echo "$nl_cv_filtered_target" >&6; }
2925
2926
2927     case ${nl_cv_filtered_target} in
2928
2929     *-*-*) ;;
2930     *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2931
2932     esac
2933
2934     nl_filtered_target=$nl_cv_filtered_target
2935
2936
2937     nl_save_IFS=$IFS; IFS='-'
2938     set x $nl_cv_filtered_target
2939     shift
2940
2941     nl_filtered_target_cpu=$1
2942
2943     nl_filtered_target_vendor=$2
2944
2945
2946     shift; shift
2947     # Remember, the first character of IFS is used to create $*,
2948     # except with old shells:
2949     nl_filtered_target_os=$*
2950     IFS=$nl_save_IFS
2951
2952     case nl_filtered_$target_os in
2953
2954     *\ *) nl_filtered_target_os=`echo "$target_os" | sed 's/ /-/g'`;;
2955
2956     esac
2957
2958
2959
2960
2961
2962
2963 #
2964 # Configure automake with the desired options, indicating that this is not
2965 # a native GNU package, that we want "silent" build rules, and that we want
2966 # objects built in the same subdirectory as their source rather than collapsed
2967 # together at the top-level directory.
2968 #
2969 # Disable silent build rules by either passing --disable-silent-rules to
2970 # configure or passing V=1 to make
2971 #
2972 am__api_version='1.14'
2973
2974 # Find a good install program.  We prefer a C program (faster),
2975 # so one script is as good as another.  But avoid the broken or
2976 # incompatible versions:
2977 # SysV /etc/install, /usr/sbin/install
2978 # SunOS /usr/etc/install
2979 # IRIX /sbin/install
2980 # AIX /bin/install
2981 # AmigaOS /C/install, which installs bootblocks on floppy discs
2982 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2983 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2984 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2985 # OS/2's system install, which has a completely different semantic
2986 # ./install, which can be erroneously created by make from ./install.sh.
2987 # Reject install programs that cannot install multiple files.
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2989 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2990 if test -z "$INSTALL"; then
2991 if ${ac_cv_path_install+:} false; then :
2992   $as_echo_n "(cached) " >&6
2993 else
2994   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2995 for as_dir in $PATH
2996 do
2997   IFS=$as_save_IFS
2998   test -z "$as_dir" && as_dir=.
2999     # Account for people who put trailing slashes in PATH elements.
3000 case $as_dir/ in #((
3001   ./ | .// | /[cC]/* | \
3002   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3003   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3004   /usr/ucb/* ) ;;
3005   *)
3006     # OSF1 and SCO ODT 3.0 have their own names for install.
3007     # Don't use installbsd from OSF since it installs stuff as root
3008     # by default.
3009     for ac_prog in ginstall scoinst install; do
3010       for ac_exec_ext in '' $ac_executable_extensions; do
3011         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3012           if test $ac_prog = install &&
3013             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3014             # AIX install.  It has an incompatible calling convention.
3015             :
3016           elif test $ac_prog = install &&
3017             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3018             # program-specific install script used by HP pwplus--don't use.
3019             :
3020           else
3021             rm -rf conftest.one conftest.two conftest.dir
3022             echo one > conftest.one
3023             echo two > conftest.two
3024             mkdir conftest.dir
3025             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3026               test -s conftest.one && test -s conftest.two &&
3027               test -s conftest.dir/conftest.one &&
3028               test -s conftest.dir/conftest.two
3029             then
3030               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3031               break 3
3032             fi
3033           fi
3034         fi
3035       done
3036     done
3037     ;;
3038 esac
3039
3040   done
3041 IFS=$as_save_IFS
3042
3043 rm -rf conftest.one conftest.two conftest.dir
3044
3045 fi
3046   if test "${ac_cv_path_install+set}" = set; then
3047     INSTALL=$ac_cv_path_install
3048   else
3049     # As a last resort, use the slow shell script.  Don't cache a
3050     # value for INSTALL within a source directory, because that will
3051     # break other packages using the cache if that directory is
3052     # removed, or if the value is a relative name.
3053     INSTALL=$ac_install_sh
3054   fi
3055 fi
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3057 $as_echo "$INSTALL" >&6; }
3058
3059 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3060 # It thinks the first close brace ends the variable substitution.
3061 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3062
3063 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3064
3065 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3066
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3068 $as_echo_n "checking whether build environment is sane... " >&6; }
3069 # Reject unsafe characters in $srcdir or the absolute working directory
3070 # name.  Accept space and tab only in the latter.
3071 am_lf='
3072 '
3073 case `pwd` in
3074   *[\\\"\#\$\&\'\`$am_lf]*)
3075     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3076 esac
3077 case $srcdir in
3078   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3079     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3080 esac
3081
3082 # Do 'set' in a subshell so we don't clobber the current shell's
3083 # arguments.  Must try -L first in case configure is actually a
3084 # symlink; some systems play weird games with the mod time of symlinks
3085 # (eg FreeBSD returns the mod time of the symlink's containing
3086 # directory).
3087 if (
3088    am_has_slept=no
3089    for am_try in 1 2; do
3090      echo "timestamp, slept: $am_has_slept" > conftest.file
3091      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3092      if test "$*" = "X"; then
3093         # -L didn't work.
3094         set X `ls -t "$srcdir/configure" conftest.file`
3095      fi
3096      if test "$*" != "X $srcdir/configure conftest.file" \
3097         && test "$*" != "X conftest.file $srcdir/configure"; then
3098
3099         # If neither matched, then we have a broken ls.  This can happen
3100         # if, for instance, CONFIG_SHELL is bash and it inherits a
3101         # broken ls alias from the environment.  This has actually
3102         # happened.  Such a system could not be considered "sane".
3103         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3104   alias in your environment" "$LINENO" 5
3105      fi
3106      if test "$2" = conftest.file || test $am_try -eq 2; then
3107        break
3108      fi
3109      # Just in case.
3110      sleep 1
3111      am_has_slept=yes
3112    done
3113    test "$2" = conftest.file
3114    )
3115 then
3116    # Ok.
3117    :
3118 else
3119    as_fn_error $? "newly created file is older than distributed files!
3120 Check your system clock" "$LINENO" 5
3121 fi
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3123 $as_echo "yes" >&6; }
3124 # If we didn't sleep, we still need to ensure time stamps of config.status and
3125 # generated files are strictly newer.
3126 am_sleep_pid=
3127 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3128   ( sleep 1 ) &
3129   am_sleep_pid=$!
3130 fi
3131
3132 rm -f conftest.file
3133
3134 test "$program_prefix" != NONE &&
3135   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3136 # Use a double $ so make ignores it.
3137 test "$program_suffix" != NONE &&
3138   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3139 # Double any \ or $.
3140 # By default was `s,x,x', remove it if useless.
3141 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3142 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3143
3144 # expand $ac_aux_dir to an absolute path
3145 am_aux_dir=`cd $ac_aux_dir && pwd`
3146
3147 if test x"${MISSING+set}" != xset; then
3148   case $am_aux_dir in
3149   *\ * | *\     *)
3150     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3151   *)
3152     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3153   esac
3154 fi
3155 # Use eval to expand $SHELL
3156 if eval "$MISSING --is-lightweight"; then
3157   am_missing_run="$MISSING "
3158 else
3159   am_missing_run=
3160   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3161 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3162 fi
3163
3164 if test x"${install_sh}" != xset; then
3165   case $am_aux_dir in
3166   *\ * | *\     *)
3167     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3168   *)
3169     install_sh="\${SHELL} $am_aux_dir/install-sh"
3170   esac
3171 fi
3172
3173 # Installed binaries are usually stripped using 'strip' when the user
3174 # run "make install-strip".  However 'strip' might not be the right
3175 # tool to use in cross-compilation environments, therefore Automake
3176 # will honor the 'STRIP' environment variable to overrule this program.
3177 if test "$cross_compiling" != no; then
3178   if test -n "$ac_tool_prefix"; then
3179   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3180 set dummy ${ac_tool_prefix}strip; ac_word=$2
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3182 $as_echo_n "checking for $ac_word... " >&6; }
3183 if ${ac_cv_prog_STRIP+:} false; then :
3184   $as_echo_n "(cached) " >&6
3185 else
3186   if test -n "$STRIP"; then
3187   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3188 else
3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 for as_dir in $PATH
3191 do
3192   IFS=$as_save_IFS
3193   test -z "$as_dir" && as_dir=.
3194     for ac_exec_ext in '' $ac_executable_extensions; do
3195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3196     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198     break 2
3199   fi
3200 done
3201   done
3202 IFS=$as_save_IFS
3203
3204 fi
3205 fi
3206 STRIP=$ac_cv_prog_STRIP
3207 if test -n "$STRIP"; then
3208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3209 $as_echo "$STRIP" >&6; }
3210 else
3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3212 $as_echo "no" >&6; }
3213 fi
3214
3215
3216 fi
3217 if test -z "$ac_cv_prog_STRIP"; then
3218   ac_ct_STRIP=$STRIP
3219   # Extract the first word of "strip", so it can be a program name with args.
3220 set dummy strip; ac_word=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3224   $as_echo_n "(cached) " >&6
3225 else
3226   if test -n "$ac_ct_STRIP"; then
3227   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3228 else
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 for as_dir in $PATH
3231 do
3232   IFS=$as_save_IFS
3233   test -z "$as_dir" && as_dir=.
3234     for ac_exec_ext in '' $ac_executable_extensions; do
3235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3236     ac_cv_prog_ac_ct_STRIP="strip"
3237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3238     break 2
3239   fi
3240 done
3241   done
3242 IFS=$as_save_IFS
3243
3244 fi
3245 fi
3246 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3247 if test -n "$ac_ct_STRIP"; then
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3249 $as_echo "$ac_ct_STRIP" >&6; }
3250 else
3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3253 fi
3254
3255   if test "x$ac_ct_STRIP" = x; then
3256     STRIP=":"
3257   else
3258     case $cross_compiling:$ac_tool_warned in
3259 yes:)
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3262 ac_tool_warned=yes ;;
3263 esac
3264     STRIP=$ac_ct_STRIP
3265   fi
3266 else
3267   STRIP="$ac_cv_prog_STRIP"
3268 fi
3269
3270 fi
3271 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3272
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3274 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3275 if test -z "$MKDIR_P"; then
3276   if ${ac_cv_path_mkdir+:} false; then :
3277   $as_echo_n "(cached) " >&6
3278 else
3279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3280 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3281 do
3282   IFS=$as_save_IFS
3283   test -z "$as_dir" && as_dir=.
3284     for ac_prog in mkdir gmkdir; do
3285          for ac_exec_ext in '' $ac_executable_extensions; do
3286            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3287            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3288              'mkdir (GNU coreutils) '* | \
3289              'mkdir (coreutils) '* | \
3290              'mkdir (fileutils) '4.1*)
3291                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3292                break 3;;
3293            esac
3294          done
3295        done
3296   done
3297 IFS=$as_save_IFS
3298
3299 fi
3300
3301   test -d ./--version && rmdir ./--version
3302   if test "${ac_cv_path_mkdir+set}" = set; then
3303     MKDIR_P="$ac_cv_path_mkdir -p"
3304   else
3305     # As a last resort, use the slow shell script.  Don't cache a
3306     # value for MKDIR_P within a source directory, because that will
3307     # break other packages using the cache if that directory is
3308     # removed, or if the value is a relative name.
3309     MKDIR_P="$ac_install_sh -d"
3310   fi
3311 fi
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3313 $as_echo "$MKDIR_P" >&6; }
3314
3315 for ac_prog in gawk mawk nawk awk
3316 do
3317   # Extract the first word of "$ac_prog", so it can be a program name with args.
3318 set dummy $ac_prog; ac_word=$2
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3320 $as_echo_n "checking for $ac_word... " >&6; }
3321 if ${ac_cv_prog_AWK+:} false; then :
3322   $as_echo_n "(cached) " >&6
3323 else
3324   if test -n "$AWK"; then
3325   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3326 else
3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3328 for as_dir in $PATH
3329 do
3330   IFS=$as_save_IFS
3331   test -z "$as_dir" && as_dir=.
3332     for ac_exec_ext in '' $ac_executable_extensions; do
3333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3334     ac_cv_prog_AWK="$ac_prog"
3335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3336     break 2
3337   fi
3338 done
3339   done
3340 IFS=$as_save_IFS
3341
3342 fi
3343 fi
3344 AWK=$ac_cv_prog_AWK
3345 if test -n "$AWK"; then
3346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3347 $as_echo "$AWK" >&6; }
3348 else
3349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3350 $as_echo "no" >&6; }
3351 fi
3352
3353
3354   test -n "$AWK" && break
3355 done
3356
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3358 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3359 set x ${MAKE-make}
3360 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3361 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3362   $as_echo_n "(cached) " >&6
3363 else
3364   cat >conftest.make <<\_ACEOF
3365 SHELL = /bin/sh
3366 all:
3367         @echo '@@@%%%=$(MAKE)=@@@%%%'
3368 _ACEOF
3369 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3370 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3371   *@@@%%%=?*=@@@%%%*)
3372     eval ac_cv_prog_make_${ac_make}_set=yes;;
3373   *)
3374     eval ac_cv_prog_make_${ac_make}_set=no;;
3375 esac
3376 rm -f conftest.make
3377 fi
3378 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3380 $as_echo "yes" >&6; }
3381   SET_MAKE=
3382 else
3383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3385   SET_MAKE="MAKE=${MAKE-make}"
3386 fi
3387
3388 rm -rf .tst 2>/dev/null
3389 mkdir .tst 2>/dev/null
3390 if test -d .tst; then
3391   am__leading_dot=.
3392 else
3393   am__leading_dot=_
3394 fi
3395 rmdir .tst 2>/dev/null
3396
3397 # Check whether --enable-silent-rules was given.
3398 if test "${enable_silent_rules+set}" = set; then :
3399   enableval=$enable_silent_rules;
3400 fi
3401
3402 case $enable_silent_rules in # (((
3403   yes) AM_DEFAULT_VERBOSITY=0;;
3404    no) AM_DEFAULT_VERBOSITY=1;;
3405     *) AM_DEFAULT_VERBOSITY=1;;
3406 esac
3407 am_make=${MAKE-make}
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3409 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3410 if ${am_cv_make_support_nested_variables+:} false; then :
3411   $as_echo_n "(cached) " >&6
3412 else
3413   if $as_echo 'TRUE=$(BAR$(V))
3414 BAR0=false
3415 BAR1=true
3416 V=1
3417 am__doit:
3418         @$(TRUE)
3419 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3420   am_cv_make_support_nested_variables=yes
3421 else
3422   am_cv_make_support_nested_variables=no
3423 fi
3424 fi
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3426 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3427 if test $am_cv_make_support_nested_variables = yes; then
3428     AM_V='$(V)'
3429   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3430 else
3431   AM_V=$AM_DEFAULT_VERBOSITY
3432   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3433 fi
3434 AM_BACKSLASH='\'
3435
3436 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3437   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3438   # is not polluted with repeated "-I."
3439   am__isrc=' -I$(srcdir)'
3440   # test to see if srcdir already configured
3441   if test -f $srcdir/config.status; then
3442     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3443   fi
3444 fi
3445
3446 # test whether we have cygpath
3447 if test -z "$CYGPATH_W"; then
3448   if (cygpath --version) >/dev/null 2>/dev/null; then
3449     CYGPATH_W='cygpath -w'
3450   else
3451     CYGPATH_W=echo
3452   fi
3453 fi
3454
3455
3456 # Define the identity of the package.
3457  PACKAGE='nlassert'
3458  VERSION='g4646da4'
3459
3460
3461 cat >>confdefs.h <<_ACEOF
3462 #define PACKAGE "$PACKAGE"
3463 _ACEOF
3464
3465
3466 cat >>confdefs.h <<_ACEOF
3467 #define VERSION "$VERSION"
3468 _ACEOF
3469
3470 # Some tools Automake needs.
3471
3472 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3473
3474
3475 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3476
3477
3478 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3479
3480
3481 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3482
3483
3484 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3485
3486 # For better backward compatibility.  To be removed once Automake 1.9.x
3487 # dies out for good.  For more background, see:
3488 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3489 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3490 mkdir_p='$(MKDIR_P)'
3491
3492 # We need awk for the "check" target.  The system "awk" is bad on
3493 # some platforms.
3494 # Always define AMTAR for backward compatibility.  Yes, it's still used
3495 # in the wild :-(  We should find a proper way to deprecate it ...
3496 AMTAR='$${TAR-tar}'
3497
3498
3499 # We'll loop over all known methods to create a tar archive until one works.
3500 _am_tools='gnutar  pax cpio none'
3501
3502
3503
3504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3505 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3506
3507   # Go ahead even if we have the value already cached.  We do so because we
3508   # need to set the values for the 'am__tar' and 'am__untar' variables.
3509   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
3510
3511   for _am_tool in $_am_tools; do
3512     case $_am_tool in
3513     gnutar)
3514       for _am_tar in tar gnutar gtar; do
3515         { echo "$as_me:$LINENO: $_am_tar --version" >&5
3516    ($_am_tar --version) >&5 2>&5
3517    ac_status=$?
3518    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519    (exit $ac_status); } && break
3520       done
3521       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3522       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3523       am__untar="$_am_tar -xf -"
3524       ;;
3525     plaintar)
3526       # Must skip GNU tar: if it does not support --format= it doesn't create
3527       # ustar tarball either.
3528       (tar --version) >/dev/null 2>&1 && continue
3529       am__tar='tar chf - "$$tardir"'
3530       am__tar_='tar chf - "$tardir"'
3531       am__untar='tar xf -'
3532       ;;
3533     pax)
3534       am__tar='pax -L -x pax -w "$$tardir"'
3535       am__tar_='pax -L -x pax -w "$tardir"'
3536       am__untar='pax -r'
3537       ;;
3538     cpio)
3539       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3540       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3541       am__untar='cpio -i -H pax -d'
3542       ;;
3543     none)
3544       am__tar=false
3545       am__tar_=false
3546       am__untar=false
3547       ;;
3548     esac
3549
3550     # If the value was cached, stop now.  We just wanted to have am__tar
3551     # and am__untar set.
3552     test -n "${am_cv_prog_tar_pax}" && break
3553
3554     # tar/untar a dummy directory, and stop if the command works.
3555     rm -rf conftest.dir
3556     mkdir conftest.dir
3557     echo GrepMe > conftest.dir/file
3558     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3559    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3560    ac_status=$?
3561    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562    (exit $ac_status); }
3563     rm -rf conftest.dir
3564     if test -s conftest.tar; then
3565       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3566    ($am__untar <conftest.tar) >&5 2>&5
3567    ac_status=$?
3568    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569    (exit $ac_status); }
3570       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3571    (cat conftest.dir/file) >&5 2>&5
3572    ac_status=$?
3573    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574    (exit $ac_status); }
3575       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3576     fi
3577   done
3578   rm -rf conftest.dir
3579
3580   if ${am_cv_prog_tar_pax+:} false; then :
3581   $as_echo_n "(cached) " >&6
3582 else
3583   am_cv_prog_tar_pax=$_am_tool
3584 fi
3585
3586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3587 $as_echo "$am_cv_prog_tar_pax" >&6; }
3588
3589
3590
3591
3592
3593
3594 # POSIX will say in a future version that running "rm -f" with no argument
3595 # is OK; and we want to be able to make that assumption in our Makefile
3596 # recipes.  So use an aggressive probe to check that the usage we want is
3597 # actually supported "in the wild" to an acceptable degree.
3598 # See automake bug#10828.
3599 # To make any issue more visible, cause the running configure to be aborted
3600 # by default if the 'rm' program in use doesn't match our expectations; the
3601 # user can still override this though.
3602 if rm -f && rm -fr && rm -rf; then : OK; else
3603   cat >&2 <<'END'
3604 Oops!
3605
3606 Your 'rm' program seems unable to run without file operands specified
3607 on the command line, even when the '-f' option is present.  This is contrary
3608 to the behaviour of most rm programs out there, and not conforming with
3609 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3610
3611 Please tell bug-automake@gnu.org about your system, including the value
3612 of your $PATH and any error possibly output before this message.  This
3613 can help us improve future automake versions.
3614
3615 END
3616   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3617     echo 'Configuration will proceed anyway, since you have set the' >&2
3618     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3619     echo >&2
3620   else
3621     cat >&2 <<'END'
3622 Aborting the configuration process, to ensure you take notice of the issue.
3623
3624 You can download and install GNU coreutils to get an 'rm' implementation
3625 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3626
3627 If you want to complete the configuration process using your problematic
3628 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3629 to "yes", and re-run configure.
3630
3631 END
3632     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3633   fi
3634 fi
3635
3636 #
3637 # Silent build rules requires at least automake-1.11. Employ
3638 # techniques for not breaking earlier versions of automake.
3639 #
3640 # Check whether --enable-silent-rules was given.
3641 if test "${enable_silent_rules+set}" = set; then :
3642   enableval=$enable_silent_rules;
3643 fi
3644
3645 case $enable_silent_rules in # (((
3646   yes) AM_DEFAULT_VERBOSITY=0;;
3647    no) AM_DEFAULT_VERBOSITY=1;;
3648     *) AM_DEFAULT_VERBOSITY=0;;
3649 esac
3650 am_make=${MAKE-make}
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3652 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3653 if ${am_cv_make_support_nested_variables+:} false; then :
3654   $as_echo_n "(cached) " >&6
3655 else
3656   if $as_echo 'TRUE=$(BAR$(V))
3657 BAR0=false
3658 BAR1=true
3659 V=1
3660 am__doit:
3661         @$(TRUE)
3662 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3663   am_cv_make_support_nested_variables=yes
3664 else
3665   am_cv_make_support_nested_variables=no
3666 fi
3667 fi
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3669 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3670 if test $am_cv_make_support_nested_variables = yes; then
3671     AM_V='$(V)'
3672   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3673 else
3674   AM_V=$AM_DEFAULT_VERBOSITY
3675   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3676 fi
3677 AM_BACKSLASH='\'
3678
3679 # Check whether --enable-silent-rules was given.
3680 if test "${enable_silent_rules+set}" = set; then :
3681   enableval=$enable_silent_rules;
3682 fi
3683
3684 case $enable_silent_rules in # (((
3685   yes) AM_DEFAULT_VERBOSITY=0;;
3686    no) AM_DEFAULT_VERBOSITY=1;;
3687     *) AM_DEFAULT_VERBOSITY=0;;
3688 esac
3689 am_make=${MAKE-make}
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3691 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3692 if ${am_cv_make_support_nested_variables+:} false; then :
3693   $as_echo_n "(cached) " >&6
3694 else
3695   if $as_echo 'TRUE=$(BAR$(V))
3696 BAR0=false
3697 BAR1=true
3698 V=1
3699 am__doit:
3700         @$(TRUE)
3701 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3702   am_cv_make_support_nested_variables=yes
3703 else
3704   am_cv_make_support_nested_variables=no
3705 fi
3706 fi
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3708 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3709 if test $am_cv_make_support_nested_variables = yes; then
3710     AM_V='$(V)'
3711   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3712 else
3713   AM_V=$AM_DEFAULT_VERBOSITY
3714   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3715 fi
3716 AM_BACKSLASH='\'
3717
3718
3719 #
3720 # Enable maintainer mode to prevent the package from constantly trying
3721 # to rebuild configure, Makefile.in, etc. Rebuilding such files rarely,
3722 # if ever, needs to be done "in the field".
3723 #
3724 # Use the included 'bootstrap' script instead when necessary.
3725 #
3726
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3728 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3729     # Check whether --enable-maintainer-mode was given.
3730 if test "${enable_maintainer_mode+set}" = set; then :
3731   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3732 else
3733   USE_MAINTAINER_MODE=no
3734 fi
3735
3736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3737 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3738    if test $USE_MAINTAINER_MODE = yes; then
3739   MAINTAINER_MODE_TRUE=
3740   MAINTAINER_MODE_FALSE='#'
3741 else
3742   MAINTAINER_MODE_TRUE='#'
3743   MAINTAINER_MODE_FALSE=
3744 fi
3745
3746   MAINT=$MAINTAINER_MODE_TRUE
3747
3748
3749
3750 #
3751 # Checks for build host programs
3752 #
3753
3754 # If we are cross-compiling and we are on an embedded target that
3755 # doesn't support independent, standalone executables, then all
3756 # compiler tests that attempt to create an executable will fail. In
3757 # such circumstances, set AC_NO_EXECUTABLES (see http://sourceware.org/
3758 # ml/newlib/2006/msg00353.html).
3759
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable executable checking" >&5
3761 $as_echo_n "checking whether to disable executable checking... " >&6; }
3762 if test "$cross_compiling" = yes; then
3763
3764     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3765 $as_echo "yes" >&6; }
3766 else
3767     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3769 fi
3770
3771 # Passing -Werror to GCC-based or -compatible compilers breaks some
3772 # autoconf tests (see
3773 # http://lists.gnu.org/archive/html/autoconf-patches/2008-09/msg00014.html).
3774 #
3775 # If -Werror has been passed transform it into -Wno-error. We'll
3776 # transform it back later with NL_RESTORE_WERROR.
3777
3778
3779
3780     if echo "${CPPFLAGS}" | grep -q '\-Werror'; then
3781         CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3782         nl_had_CPPFLAGS_werror=yes
3783     else
3784         nl_had_CPPFLAGS_werror=no
3785     fi
3786
3787
3788     if echo "${CFLAGS}" | grep -q '\-Werror'; then
3789         CFLAGS="`echo ${CFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3790         nl_had_CFLAGS_werror=yes
3791     else
3792         nl_had_CFLAGS_werror=no
3793     fi
3794
3795
3796     if echo "${CXXFLAGS}" | grep -q '\-Werror'; then
3797         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3798         nl_had_CXXFLAGS_werror=yes
3799     else
3800         nl_had_CXXFLAGS_werror=no
3801     fi
3802
3803
3804     if echo "${OBJCFLAGS}" | grep -q '\-Werror'; then
3805         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3806         nl_had_OBJCFLAGS_werror=yes
3807     else
3808         nl_had_OBJCFLAGS_werror=no
3809     fi
3810
3811
3812     if echo "${OBJCXXFLAGS}" | grep -q '\-Werror'; then
3813         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3814         nl_had_OBJCXXFLAGS_werror=yes
3815     else
3816         nl_had_OBJCXXFLAGS_werror=no
3817     fi
3818
3819
3820
3821 # Check for compilers.
3822 #
3823 # These should be checked BEFORE we check for and, implicitly,
3824 # initialize libtool such that libtool knows what languages it has to
3825 # work with.
3826
3827 DEPDIR="${am__leading_dot}deps"
3828
3829 ac_config_commands="$ac_config_commands depfiles"
3830
3831
3832 am_make=${MAKE-make}
3833 cat > confinc << 'END'
3834 am__doit:
3835         @echo this is the am__doit target
3836 .PHONY: am__doit
3837 END
3838 # If we don't find an include directive, just comment out the code.
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3840 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3841 am__include="#"
3842 am__quote=
3843 _am_result=none
3844 # First try GNU make style include.
3845 echo "include confinc" > confmf
3846 # Ignore all kinds of additional output from 'make'.
3847 case `$am_make -s -f confmf 2> /dev/null` in #(
3848 *the\ am__doit\ target*)
3849   am__include=include
3850   am__quote=
3851   _am_result=GNU
3852   ;;
3853 esac
3854 # Now try BSD make style include.
3855 if test "$am__include" = "#"; then
3856    echo '.include "confinc"' > confmf
3857    case `$am_make -s -f confmf 2> /dev/null` in #(
3858    *the\ am__doit\ target*)
3859      am__include=.include
3860      am__quote="\""
3861      _am_result=BSD
3862      ;;
3863    esac
3864 fi
3865
3866
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3868 $as_echo "$_am_result" >&6; }
3869 rm -f confinc confmf
3870
3871 # Check whether --enable-dependency-tracking was given.
3872 if test "${enable_dependency_tracking+set}" = set; then :
3873   enableval=$enable_dependency_tracking;
3874 fi
3875
3876 if test "x$enable_dependency_tracking" != xno; then
3877   am_depcomp="$ac_aux_dir/depcomp"
3878   AMDEPBACKSLASH='\'
3879   am__nodep='_no'
3880 fi
3881  if test "x$enable_dependency_tracking" != xno; then
3882   AMDEP_TRUE=
3883   AMDEP_FALSE='#'
3884 else
3885   AMDEP_TRUE='#'
3886   AMDEP_FALSE=
3887 fi
3888
3889
3890 ac_ext=c
3891 ac_cpp='$CPP $CPPFLAGS'
3892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3895 if test -n "$ac_tool_prefix"; then
3896   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3897 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if ${ac_cv_prog_CC+:} false; then :
3901   $as_echo_n "(cached) " >&6
3902 else
3903   if test -n "$CC"; then
3904   ac_cv_prog_CC="$CC" # Let the user override the test.
3905 else
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 for as_dir in $PATH
3908 do
3909   IFS=$as_save_IFS
3910   test -z "$as_dir" && as_dir=.
3911     for ac_exec_ext in '' $ac_executable_extensions; do
3912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3913     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915     break 2
3916   fi
3917 done
3918   done
3919 IFS=$as_save_IFS
3920
3921 fi
3922 fi
3923 CC=$ac_cv_prog_CC
3924 if test -n "$CC"; then
3925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3926 $as_echo "$CC" >&6; }
3927 else
3928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3930 fi
3931
3932
3933 fi
3934 if test -z "$ac_cv_prog_CC"; then
3935   ac_ct_CC=$CC
3936   # Extract the first word of "gcc", so it can be a program name with args.
3937 set dummy gcc; ac_word=$2
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3941   $as_echo_n "(cached) " >&6
3942 else
3943   if test -n "$ac_ct_CC"; then
3944   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3945 else
3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 for as_dir in $PATH
3948 do
3949   IFS=$as_save_IFS
3950   test -z "$as_dir" && as_dir=.
3951     for ac_exec_ext in '' $ac_executable_extensions; do
3952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3953     ac_cv_prog_ac_ct_CC="gcc"
3954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955     break 2
3956   fi
3957 done
3958   done
3959 IFS=$as_save_IFS
3960
3961 fi
3962 fi
3963 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3964 if test -n "$ac_ct_CC"; then
3965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3966 $as_echo "$ac_ct_CC" >&6; }
3967 else
3968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3970 fi
3971
3972   if test "x$ac_ct_CC" = x; then
3973     CC=""
3974   else
3975     case $cross_compiling:$ac_tool_warned in
3976 yes:)
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3979 ac_tool_warned=yes ;;
3980 esac
3981     CC=$ac_ct_CC
3982   fi
3983 else
3984   CC="$ac_cv_prog_CC"
3985 fi
3986
3987 if test -z "$CC"; then
3988           if test -n "$ac_tool_prefix"; then
3989     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3990 set dummy ${ac_tool_prefix}cc; ac_word=$2
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3992 $as_echo_n "checking for $ac_word... " >&6; }
3993 if ${ac_cv_prog_CC+:} false; then :
3994   $as_echo_n "(cached) " >&6
3995 else
3996   if test -n "$CC"; then
3997   ac_cv_prog_CC="$CC" # Let the user override the test.
3998 else
3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4000 for as_dir in $PATH
4001 do
4002   IFS=$as_save_IFS
4003   test -z "$as_dir" && as_dir=.
4004     for ac_exec_ext in '' $ac_executable_extensions; do
4005   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4006     ac_cv_prog_CC="${ac_tool_prefix}cc"
4007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008     break 2
4009   fi
4010 done
4011   done
4012 IFS=$as_save_IFS
4013
4014 fi
4015 fi
4016 CC=$ac_cv_prog_CC
4017 if test -n "$CC"; then
4018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4019 $as_echo "$CC" >&6; }
4020 else
4021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 $as_echo "no" >&6; }
4023 fi
4024
4025
4026   fi
4027 fi
4028 if test -z "$CC"; then
4029   # Extract the first word of "cc", so it can be a program name with args.
4030 set dummy cc; ac_word=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if ${ac_cv_prog_CC+:} false; then :
4034   $as_echo_n "(cached) " >&6
4035 else
4036   if test -n "$CC"; then
4037   ac_cv_prog_CC="$CC" # Let the user override the test.
4038 else
4039   ac_prog_rejected=no
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041 for as_dir in $PATH
4042 do
4043   IFS=$as_save_IFS
4044   test -z "$as_dir" && as_dir=.
4045     for ac_exec_ext in '' $ac_executable_extensions; do
4046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4047     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4048        ac_prog_rejected=yes
4049        continue
4050      fi
4051     ac_cv_prog_CC="cc"
4052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053     break 2
4054   fi
4055 done
4056   done
4057 IFS=$as_save_IFS
4058
4059 if test $ac_prog_rejected = yes; then
4060   # We found a bogon in the path, so make sure we never use it.
4061   set dummy $ac_cv_prog_CC
4062   shift
4063   if test $# != 0; then
4064     # We chose a different compiler from the bogus one.
4065     # However, it has the same basename, so the bogon will be chosen
4066     # first if we set CC to just the basename; use the full file name.
4067     shift
4068     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4069   fi
4070 fi
4071 fi
4072 fi
4073 CC=$ac_cv_prog_CC
4074 if test -n "$CC"; then
4075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4076 $as_echo "$CC" >&6; }
4077 else
4078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4080 fi
4081
4082
4083 fi
4084 if test -z "$CC"; then
4085   if test -n "$ac_tool_prefix"; then
4086   for ac_prog in cl.exe
4087   do
4088     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4089 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4091 $as_echo_n "checking for $ac_word... " >&6; }
4092 if ${ac_cv_prog_CC+:} false; then :
4093   $as_echo_n "(cached) " >&6
4094 else
4095   if test -n "$CC"; then
4096   ac_cv_prog_CC="$CC" # Let the user override the test.
4097 else
4098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4099 for as_dir in $PATH
4100 do
4101   IFS=$as_save_IFS
4102   test -z "$as_dir" && as_dir=.
4103     for ac_exec_ext in '' $ac_executable_extensions; do
4104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4105     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4107     break 2
4108   fi
4109 done
4110   done
4111 IFS=$as_save_IFS
4112
4113 fi
4114 fi
4115 CC=$ac_cv_prog_CC
4116 if test -n "$CC"; then
4117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4118 $as_echo "$CC" >&6; }
4119 else
4120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4121 $as_echo "no" >&6; }
4122 fi
4123
4124
4125     test -n "$CC" && break
4126   done
4127 fi
4128 if test -z "$CC"; then
4129   ac_ct_CC=$CC
4130   for ac_prog in cl.exe
4131 do
4132   # Extract the first word of "$ac_prog", so it can be a program name with args.
4133 set dummy $ac_prog; ac_word=$2
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4135 $as_echo_n "checking for $ac_word... " >&6; }
4136 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4137   $as_echo_n "(cached) " >&6
4138 else
4139   if test -n "$ac_ct_CC"; then
4140   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4141 else
4142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4143 for as_dir in $PATH
4144 do
4145   IFS=$as_save_IFS
4146   test -z "$as_dir" && as_dir=.
4147     for ac_exec_ext in '' $ac_executable_extensions; do
4148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4149     ac_cv_prog_ac_ct_CC="$ac_prog"
4150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4151     break 2
4152   fi
4153 done
4154   done
4155 IFS=$as_save_IFS
4156
4157 fi
4158 fi
4159 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4160 if test -n "$ac_ct_CC"; then
4161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4162 $as_echo "$ac_ct_CC" >&6; }
4163 else
4164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4165 $as_echo "no" >&6; }
4166 fi
4167
4168
4169   test -n "$ac_ct_CC" && break
4170 done
4171
4172   if test "x$ac_ct_CC" = x; then
4173     CC=""
4174   else
4175     case $cross_compiling:$ac_tool_warned in
4176 yes:)
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4179 ac_tool_warned=yes ;;
4180 esac
4181     CC=$ac_ct_CC
4182   fi
4183 fi
4184
4185 fi
4186
4187
4188 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4190 as_fn_error $? "no acceptable C compiler found in \$PATH
4191 See \`config.log' for more details" "$LINENO" 5; }
4192
4193 # Provide some information about the compiler.
4194 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4195 set X $ac_compile
4196 ac_compiler=$2
4197 for ac_option in --version -v -V -qversion; do
4198   { { ac_try="$ac_compiler $ac_option >&5"
4199 case "(($ac_try" in
4200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201   *) ac_try_echo=$ac_try;;
4202 esac
4203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4204 $as_echo "$ac_try_echo"; } >&5
4205   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4206   ac_status=$?
4207   if test -s conftest.err; then
4208     sed '10a\
4209 ... rest of stderr output deleted ...
4210          10q' conftest.err >conftest.er1
4211     cat conftest.er1 >&5
4212   fi
4213   rm -f conftest.er1 conftest.err
4214   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4215   test $ac_status = 0; }
4216 done
4217
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h.  */
4220
4221 int
4222 main ()
4223 {
4224
4225   ;
4226   return 0;
4227 }
4228 _ACEOF
4229 if { { ac_try="$ac_link"
4230 case "(($ac_try" in
4231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232   *) ac_try_echo=$ac_try;;
4233 esac
4234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4235 $as_echo "$ac_try_echo"; } >&5
4236   (eval "$ac_link") 2>&5
4237   ac_status=$?
4238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4239   test $ac_status = 0; }; then
4240   ac_no_link=no
4241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h.  */
4243
4244 int
4245 main ()
4246 {
4247
4248   ;
4249   return 0;
4250 }
4251 _ACEOF
4252 ac_clean_files_save=$ac_clean_files
4253 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4254 # Try to create an executable without -o first, disregard a.out.
4255 # It will help us diagnose broken compilers, and finding out an intuition
4256 # of exeext.
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4258 $as_echo_n "checking whether the C compiler works... " >&6; }
4259 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4260
4261 # The possible output files:
4262 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4263
4264 ac_rmfiles=
4265 for ac_file in $ac_files
4266 do
4267   case $ac_file in
4268     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4269     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4270   esac
4271 done
4272 rm -f $ac_rmfiles
4273
4274 if { { ac_try="$ac_link_default"
4275 case "(($ac_try" in
4276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4277   *) ac_try_echo=$ac_try;;
4278 esac
4279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4280 $as_echo "$ac_try_echo"; } >&5
4281   (eval "$ac_link_default") 2>&5
4282   ac_status=$?
4283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284   test $ac_status = 0; }; then :
4285   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4286 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4287 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4288 # so that the user can short-circuit this test for compilers unknown to
4289 # Autoconf.
4290 for ac_file in $ac_files ''
4291 do
4292   test -f "$ac_file" || continue
4293   case $ac_file in
4294     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4295         ;;
4296     [ab].out )
4297         # We found the default executable, but exeext='' is most
4298         # certainly right.
4299         break;;
4300     *.* )
4301         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4302         then :; else
4303            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4304         fi
4305         # We set ac_cv_exeext here because the later test for it is not
4306         # safe: cross compilers may not add the suffix if given an `-o'
4307         # argument, so we may need to know it at that point already.
4308         # Even if this section looks crufty: it has the advantage of
4309         # actually working.
4310         break;;
4311     * )
4312         break;;
4313   esac
4314 done
4315 test "$ac_cv_exeext" = no && ac_cv_exeext=
4316
4317 else
4318   ac_file=''
4319 fi
4320 if test -z "$ac_file"; then :
4321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4322 $as_echo "no" >&6; }
4323 $as_echo "$as_me: failed program was:" >&5
4324 sed 's/^/| /' conftest.$ac_ext >&5
4325
4326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4328 as_fn_error 77 "C compiler cannot create executables
4329 See \`config.log' for more details" "$LINENO" 5; }
4330 else
4331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4332 $as_echo "yes" >&6; }
4333 fi
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4335 $as_echo_n "checking for C compiler default output file name... " >&6; }
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4337 $as_echo "$ac_file" >&6; }
4338 ac_exeext=$ac_cv_exeext
4339
4340 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4341 ac_clean_files=$ac_clean_files_save
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4343 $as_echo_n "checking for suffix of executables... " >&6; }
4344 if { { ac_try="$ac_link"
4345 case "(($ac_try" in
4346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347   *) ac_try_echo=$ac_try;;
4348 esac
4349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4350 $as_echo "$ac_try_echo"; } >&5
4351   (eval "$ac_link") 2>&5
4352   ac_status=$?
4353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4354   test $ac_status = 0; }; then :
4355   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4356 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4357 # work properly (i.e., refer to `conftest.exe'), while it won't with
4358 # `rm'.
4359 for ac_file in conftest.exe conftest conftest.*; do
4360   test -f "$ac_file" || continue
4361   case $ac_file in
4362     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4363     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4364           break;;
4365     * ) break;;
4366   esac
4367 done
4368 else
4369   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4372 See \`config.log' for more details" "$LINENO" 5; }
4373 fi
4374 rm -f conftest conftest$ac_cv_exeext
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4376 $as_echo "$ac_cv_exeext" >&6; }
4377
4378 rm -f conftest.$ac_ext
4379 EXEEXT=$ac_cv_exeext
4380 ac_exeext=$EXEEXT
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h.  */
4383 #include <stdio.h>
4384 int
4385 main ()
4386 {
4387 FILE *f = fopen ("conftest.out", "w");
4388  return ferror (f) || fclose (f) != 0;
4389
4390   ;
4391   return 0;
4392 }
4393 _ACEOF
4394 ac_clean_files="$ac_clean_files conftest.out"
4395 # Check that the compiler produces executables we can run.  If not, either
4396 # the compiler is broken, or we cross compile.
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4398 $as_echo_n "checking whether we are cross compiling... " >&6; }
4399 if test "$cross_compiling" != yes; then
4400   { { ac_try="$ac_link"
4401 case "(($ac_try" in
4402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4403   *) ac_try_echo=$ac_try;;
4404 esac
4405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4406 $as_echo "$ac_try_echo"; } >&5
4407   (eval "$ac_link") 2>&5
4408   ac_status=$?
4409   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4410   test $ac_status = 0; }
4411   if { ac_try='./conftest$ac_cv_exeext'
4412   { { case "(($ac_try" in
4413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414   *) ac_try_echo=$ac_try;;
4415 esac
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418   (eval "$ac_try") 2>&5
4419   ac_status=$?
4420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4421   test $ac_status = 0; }; }; then
4422     cross_compiling=no
4423   else
4424     if test "$cross_compiling" = maybe; then
4425         cross_compiling=yes
4426     else
4427         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4429 as_fn_error $? "cannot run C compiled programs.
4430 If you meant to cross compile, use \`--host'.
4431 See \`config.log' for more details" "$LINENO" 5; }
4432     fi
4433   fi
4434 fi
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4436 $as_echo "$cross_compiling" >&6; }
4437
4438 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4439 ac_clean_files=$ac_clean_files_save
4440
4441 else
4442   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
4443   ac_no_link=yes
4444   # Setting cross_compile will disable run tests; it will
4445   # also disable AC_CHECK_FILE but that's generally
4446   # correct if we can't link.
4447   cross_compiling=yes
4448   EXEEXT=
4449   # Check that the compiler produces executables we can run.  If not, either
4450 # the compiler is broken, or we cross compile.
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4452 $as_echo_n "checking whether we are cross compiling... " >&6; }
4453 if test "$cross_compiling" != yes; then
4454   { { ac_try="$ac_link"
4455 case "(($ac_try" in
4456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457   *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461   (eval "$ac_link") 2>&5
4462   ac_status=$?
4463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464   test $ac_status = 0; }
4465   if { ac_try='./conftest$ac_cv_exeext'
4466   { { case "(($ac_try" in
4467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468   *) ac_try_echo=$ac_try;;
4469 esac
4470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4471 $as_echo "$ac_try_echo"; } >&5
4472   (eval "$ac_try") 2>&5
4473   ac_status=$?
4474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4475   test $ac_status = 0; }; }; then
4476     cross_compiling=no
4477   else
4478     if test "$cross_compiling" = maybe; then
4479         cross_compiling=yes
4480     else
4481         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4483 as_fn_error $? "cannot run C compiled programs.
4484 If you meant to cross compile, use \`--host'.
4485 See \`config.log' for more details" "$LINENO" 5; }
4486     fi
4487   fi
4488 fi
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4490 $as_echo "$cross_compiling" >&6; }
4491
4492 fi
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4494 $as_echo_n "checking for suffix of object files... " >&6; }
4495 if ${ac_cv_objext+:} false; then :
4496   $as_echo_n "(cached) " >&6
4497 else
4498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h.  */
4500
4501 int
4502 main ()
4503 {
4504
4505   ;
4506   return 0;
4507 }
4508 _ACEOF
4509 rm -f conftest.o conftest.obj
4510 if { { ac_try="$ac_compile"
4511 case "(($ac_try" in
4512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4513   *) ac_try_echo=$ac_try;;
4514 esac
4515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4516 $as_echo "$ac_try_echo"; } >&5
4517   (eval "$ac_compile") 2>&5
4518   ac_status=$?
4519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520   test $ac_status = 0; }; then :
4521   for ac_file in conftest.o conftest.obj conftest.*; do
4522   test -f "$ac_file" || continue;
4523   case $ac_file in
4524     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4525     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4526        break;;
4527   esac
4528 done
4529 else
4530   $as_echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.$ac_ext >&5
4532
4533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4535 as_fn_error $? "cannot compute suffix of object files: cannot compile
4536 See \`config.log' for more details" "$LINENO" 5; }
4537 fi
4538 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4539 fi
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4541 $as_echo "$ac_cv_objext" >&6; }
4542 OBJEXT=$ac_cv_objext
4543 ac_objext=$OBJEXT
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4545 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4546 if ${ac_cv_c_compiler_gnu+:} false; then :
4547   $as_echo_n "(cached) " >&6
4548 else
4549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h.  */
4551
4552 int
4553 main ()
4554 {
4555 #ifndef __GNUC__
4556        choke me
4557 #endif
4558
4559   ;
4560   return 0;
4561 }
4562 _ACEOF
4563 if ac_fn_c_try_compile "$LINENO"; then :
4564   ac_compiler_gnu=yes
4565 else
4566   ac_compiler_gnu=no
4567 fi
4568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4569 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4570
4571 fi
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4573 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4574 if test $ac_compiler_gnu = yes; then
4575   GCC=yes
4576 else
4577   GCC=
4578 fi
4579 ac_test_CFLAGS=${CFLAGS+set}
4580 ac_save_CFLAGS=$CFLAGS
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4582 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4583 if ${ac_cv_prog_cc_g+:} false; then :
4584   $as_echo_n "(cached) " >&6
4585 else
4586   ac_save_c_werror_flag=$ac_c_werror_flag
4587    ac_c_werror_flag=yes
4588    ac_cv_prog_cc_g=no
4589    CFLAGS="-g"
4590    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h.  */
4592
4593 int
4594 main ()
4595 {
4596
4597   ;
4598   return 0;
4599 }
4600 _ACEOF
4601 if ac_fn_c_try_compile "$LINENO"; then :
4602   ac_cv_prog_cc_g=yes
4603 else
4604   CFLAGS=""
4605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h.  */
4607
4608 int
4609 main ()
4610 {
4611
4612   ;
4613   return 0;
4614 }
4615 _ACEOF
4616 if ac_fn_c_try_compile "$LINENO"; then :
4617
4618 else
4619   ac_c_werror_flag=$ac_save_c_werror_flag
4620          CFLAGS="-g"
4621          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h.  */
4623
4624 int
4625 main ()
4626 {
4627
4628   ;
4629   return 0;
4630 }
4631 _ACEOF
4632 if ac_fn_c_try_compile "$LINENO"; then :
4633   ac_cv_prog_cc_g=yes
4634 fi
4635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4636 fi
4637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4638 fi
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640    ac_c_werror_flag=$ac_save_c_werror_flag
4641 fi
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4643 $as_echo "$ac_cv_prog_cc_g" >&6; }
4644 if test "$ac_test_CFLAGS" = set; then
4645   CFLAGS=$ac_save_CFLAGS
4646 elif test $ac_cv_prog_cc_g = yes; then
4647   if test "$GCC" = yes; then
4648     CFLAGS="-g -O2"
4649   else
4650     CFLAGS="-g"
4651   fi
4652 else
4653   if test "$GCC" = yes; then
4654     CFLAGS="-O2"
4655   else
4656     CFLAGS=
4657   fi
4658 fi
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4660 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4661 if ${ac_cv_prog_cc_c89+:} false; then :
4662   $as_echo_n "(cached) " >&6
4663 else
4664   ac_cv_prog_cc_c89=no
4665 ac_save_CC=$CC
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h.  */
4668 #include <stdarg.h>
4669 #include <stdio.h>
4670 #include <sys/types.h>
4671 #include <sys/stat.h>
4672 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4673 struct buf { int x; };
4674 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4675 static char *e (p, i)
4676      char **p;
4677      int i;
4678 {
4679   return p[i];
4680 }
4681 static char *f (char * (*g) (char **, int), char **p, ...)
4682 {
4683   char *s;
4684   va_list v;
4685   va_start (v,p);
4686   s = g (p, va_arg (v,int));
4687   va_end (v);
4688   return s;
4689 }
4690
4691 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4692    function prototypes and stuff, but not '\xHH' hex character constants.
4693    These don't provoke an error unfortunately, instead are silently treated
4694    as 'x'.  The following induces an error, until -std is added to get
4695    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4696    array size at least.  It's necessary to write '\x00'==0 to get something
4697    that's true only with -std.  */
4698 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4699
4700 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4701    inside strings and character constants.  */
4702 #define FOO(x) 'x'
4703 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4704
4705 int test (int i, double x);
4706 struct s1 {int (*f) (int a);};
4707 struct s2 {int (*f) (double a);};
4708 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4709 int argc;
4710 char **argv;
4711 int
4712 main ()
4713 {
4714 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4715   ;
4716   return 0;
4717 }
4718 _ACEOF
4719 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4720         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4721 do
4722   CC="$ac_save_CC $ac_arg"
4723   if ac_fn_c_try_compile "$LINENO"; then :
4724   ac_cv_prog_cc_c89=$ac_arg
4725 fi
4726 rm -f core conftest.err conftest.$ac_objext
4727   test "x$ac_cv_prog_cc_c89" != "xno" && break
4728 done
4729 rm -f conftest.$ac_ext
4730 CC=$ac_save_CC
4731
4732 fi
4733 # AC_CACHE_VAL
4734 case "x$ac_cv_prog_cc_c89" in
4735   x)
4736     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4737 $as_echo "none needed" >&6; } ;;
4738   xno)
4739     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4740 $as_echo "unsupported" >&6; } ;;
4741   *)
4742     CC="$CC $ac_cv_prog_cc_c89"
4743     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4744 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4745 esac
4746 if test "x$ac_cv_prog_cc_c89" != xno; then :
4747
4748 fi
4749
4750 ac_ext=c
4751 ac_cpp='$CPP $CPPFLAGS'
4752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4755
4756 ac_ext=c
4757 ac_cpp='$CPP $CPPFLAGS'
4758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4762 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4763 if ${am_cv_prog_cc_c_o+:} false; then :
4764   $as_echo_n "(cached) " >&6
4765 else
4766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h.  */
4768
4769 int
4770 main ()
4771 {
4772
4773   ;
4774   return 0;
4775 }
4776 _ACEOF
4777   # Make sure it works both with $CC and with simple cc.
4778   # Following AC_PROG_CC_C_O, we do the test twice because some
4779   # compilers refuse to overwrite an existing .o file with -o,
4780   # though they will create one.
4781   am_cv_prog_cc_c_o=yes
4782   for am_i in 1 2; do
4783     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4784    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4785    ac_status=$?
4786    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787    (exit $ac_status); } \
4788          && test -f conftest2.$ac_objext; then
4789       : OK
4790     else
4791       am_cv_prog_cc_c_o=no
4792       break
4793     fi
4794   done
4795   rm -f core conftest*
4796   unset am_i
4797 fi
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4799 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4800 if test "$am_cv_prog_cc_c_o" != yes; then
4801    # Losing compiler, so override with the script.
4802    # FIXME: It is wrong to rewrite CC.
4803    # But if we don't then we get into trouble of one sort or another.
4804    # A longer-term fix would be to have automake use am__CC in this case,
4805    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4806    CC="$am_aux_dir/compile $CC"
4807 fi
4808 ac_ext=c
4809 ac_cpp='$CPP $CPPFLAGS'
4810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4813
4814
4815 depcc="$CC"   am_compiler_list=
4816
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4818 $as_echo_n "checking dependency style of $depcc... " >&6; }
4819 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4820   $as_echo_n "(cached) " >&6
4821 else
4822   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4823   # We make a subdir and do the tests there.  Otherwise we can end up
4824   # making bogus files that we don't know about and never remove.  For
4825   # instance it was reported that on HP-UX the gcc test will end up
4826   # making a dummy file named 'D' -- because '-MD' means "put the output
4827   # in D".
4828   rm -rf conftest.dir
4829   mkdir conftest.dir
4830   # Copy depcomp to subdir because otherwise we won't find it if we're
4831   # using a relative directory.
4832   cp "$am_depcomp" conftest.dir
4833   cd conftest.dir
4834   # We will build objects and dependencies in a subdirectory because
4835   # it helps to detect inapplicable dependency modes.  For instance
4836   # both Tru64's cc and ICC support -MD to output dependencies as a
4837   # side effect of compilation, but ICC will put the dependencies in
4838   # the current directory while Tru64 will put them in the object
4839   # directory.
4840   mkdir sub
4841
4842   am_cv_CC_dependencies_compiler_type=none
4843   if test "$am_compiler_list" = ""; then
4844      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4845   fi
4846   am__universal=false
4847   case " $depcc " in #(
4848      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4849      esac
4850
4851   for depmode in $am_compiler_list; do
4852     # Setup a source with many dependencies, because some compilers
4853     # like to wrap large dependency lists on column 80 (with \), and
4854     # we should not choose a depcomp mode which is confused by this.
4855     #
4856     # We need to recreate these files for each test, as the compiler may
4857     # overwrite some of them when testing with obscure command lines.
4858     # This happens at least with the AIX C compiler.
4859     : > sub/conftest.c
4860     for i in 1 2 3 4 5 6; do
4861       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4862       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4863       # Solaris 10 /bin/sh.
4864       echo '/* dummy */' > sub/conftst$i.h
4865     done
4866     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4867
4868     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4869     # mode.  It turns out that the SunPro C++ compiler does not properly
4870     # handle '-M -o', and we need to detect this.  Also, some Intel
4871     # versions had trouble with output in subdirs.
4872     am__obj=sub/conftest.${OBJEXT-o}
4873     am__minus_obj="-o $am__obj"
4874     case $depmode in
4875     gcc)
4876       # This depmode causes a compiler race in universal mode.
4877       test "$am__universal" = false || continue
4878       ;;
4879     nosideeffect)
4880       # After this tag, mechanisms are not by side-effect, so they'll
4881       # only be used when explicitly requested.
4882       if test "x$enable_dependency_tracking" = xyes; then
4883         continue
4884       else
4885         break
4886       fi
4887       ;;
4888     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4889       # This compiler won't grok '-c -o', but also, the minuso test has
4890       # not run yet.  These depmodes are late enough in the game, and
4891       # so weak that their functioning should not be impacted.
4892       am__obj=conftest.${OBJEXT-o}
4893       am__minus_obj=
4894       ;;
4895     none) break ;;
4896     esac
4897     if depmode=$depmode \
4898        source=sub/conftest.c object=$am__obj \
4899        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4900        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4901          >/dev/null 2>conftest.err &&
4902        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4903        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4904        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4905        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4906       # icc doesn't choke on unknown options, it will just issue warnings
4907       # or remarks (even with -Werror).  So we grep stderr for any message
4908       # that says an option was ignored or not supported.
4909       # When given -MP, icc 7.0 and 7.1 complain thusly:
4910       #   icc: Command line warning: ignoring option '-M'; no argument required
4911       # The diagnosis changed in icc 8.0:
4912       #   icc: Command line remark: option '-MP' not supported
4913       if (grep 'ignoring option' conftest.err ||
4914           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4915         am_cv_CC_dependencies_compiler_type=$depmode
4916         break
4917       fi
4918     fi
4919   done
4920
4921   cd ..
4922   rm -rf conftest.dir
4923 else
4924   am_cv_CC_dependencies_compiler_type=none
4925 fi
4926
4927 fi
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4929 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4930 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4931
4932  if
4933   test "x$enable_dependency_tracking" != xno \
4934   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4935   am__fastdepCC_TRUE=
4936   am__fastdepCC_FALSE='#'
4937 else
4938   am__fastdepCC_TRUE='#'
4939   am__fastdepCC_FALSE=
4940 fi
4941
4942
4943 ac_ext=c
4944 ac_cpp='$CPP $CPPFLAGS'
4945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4949 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4950 # On Suns, sometimes $CPP names a directory.
4951 if test -n "$CPP" && test -d "$CPP"; then
4952   CPP=
4953 fi
4954 if test -z "$CPP"; then
4955   if ${ac_cv_prog_CPP+:} false; then :
4956   $as_echo_n "(cached) " >&6
4957 else
4958       # Double quotes because CPP needs to be expanded
4959     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4960     do
4961       ac_preproc_ok=false
4962 for ac_c_preproc_warn_flag in '' yes
4963 do
4964   # Use a header file that comes with gcc, so configuring glibc
4965   # with a fresh cross-compiler works.
4966   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4967   # <limits.h> exists even on freestanding compilers.
4968   # On the NeXT, cc -E runs the code through the compiler's parser,
4969   # not just through cpp. "Syntax error" is here to catch this case.
4970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4971 /* end confdefs.h.  */
4972 #ifdef __STDC__
4973 # include <limits.h>
4974 #else
4975 # include <assert.h>
4976 #endif
4977                      Syntax error
4978 _ACEOF
4979 if ac_fn_c_try_cpp "$LINENO"; then :
4980
4981 else
4982   # Broken: fails on valid input.
4983 continue
4984 fi
4985 rm -f conftest.err conftest.i conftest.$ac_ext
4986
4987   # OK, works on sane cases.  Now check whether nonexistent headers
4988   # can be detected and how.
4989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h.  */
4991 #include <ac_nonexistent.h>
4992 _ACEOF
4993 if ac_fn_c_try_cpp "$LINENO"; then :
4994   # Broken: success on invalid input.
4995 continue
4996 else
4997   # Passes both tests.
4998 ac_preproc_ok=:
4999 break
5000 fi
5001 rm -f conftest.err conftest.i conftest.$ac_ext
5002
5003 done
5004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5005 rm -f conftest.i conftest.err conftest.$ac_ext
5006 if $ac_preproc_ok; then :
5007   break
5008 fi
5009
5010     done
5011     ac_cv_prog_CPP=$CPP
5012
5013 fi
5014   CPP=$ac_cv_prog_CPP
5015 else
5016   ac_cv_prog_CPP=$CPP
5017 fi
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5019 $as_echo "$CPP" >&6; }
5020 ac_preproc_ok=false
5021 for ac_c_preproc_warn_flag in '' yes
5022 do
5023   # Use a header file that comes with gcc, so configuring glibc
5024   # with a fresh cross-compiler works.
5025   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5026   # <limits.h> exists even on freestanding compilers.
5027   # On the NeXT, cc -E runs the code through the compiler's parser,
5028   # not just through cpp. "Syntax error" is here to catch this case.
5029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030 /* end confdefs.h.  */
5031 #ifdef __STDC__
5032 # include <limits.h>
5033 #else
5034 # include <assert.h>
5035 #endif
5036                      Syntax error
5037 _ACEOF
5038 if ac_fn_c_try_cpp "$LINENO"; then :
5039
5040 else
5041   # Broken: fails on valid input.
5042 continue
5043 fi
5044 rm -f conftest.err conftest.i conftest.$ac_ext
5045
5046   # OK, works on sane cases.  Now check whether nonexistent headers
5047   # can be detected and how.
5048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h.  */
5050 #include <ac_nonexistent.h>
5051 _ACEOF
5052 if ac_fn_c_try_cpp "$LINENO"; then :
5053   # Broken: success on invalid input.
5054 continue
5055 else
5056   # Passes both tests.
5057 ac_preproc_ok=:
5058 break
5059 fi
5060 rm -f conftest.err conftest.i conftest.$ac_ext
5061
5062 done
5063 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5064 rm -f conftest.i conftest.err conftest.$ac_ext
5065 if $ac_preproc_ok; then :
5066
5067 else
5068   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5070 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5071 See \`config.log' for more details" "$LINENO" 5; }
5072 fi
5073
5074 ac_ext=c
5075 ac_cpp='$CPP $CPPFLAGS'
5076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5079
5080 ac_c_preproc_warn_flag=yes
5081
5082 ac_ext=c
5083 ac_cpp='$CPP $CPPFLAGS'
5084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5087 if test -n "$ac_tool_prefix"; then
5088   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5089 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if ${ac_cv_prog_CC+:} false; then :
5093   $as_echo_n "(cached) " >&6
5094 else
5095   if test -n "$CC"; then
5096   ac_cv_prog_CC="$CC" # Let the user override the test.
5097 else
5098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5099 for as_dir in $PATH
5100 do
5101   IFS=$as_save_IFS
5102   test -z "$as_dir" && as_dir=.
5103     for ac_exec_ext in '' $ac_executable_extensions; do
5104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5105     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107     break 2
5108   fi
5109 done
5110   done
5111 IFS=$as_save_IFS
5112
5113 fi
5114 fi
5115 CC=$ac_cv_prog_CC
5116 if test -n "$CC"; then
5117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5118 $as_echo "$CC" >&6; }
5119 else
5120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5122 fi
5123
5124
5125 fi
5126 if test -z "$ac_cv_prog_CC"; then
5127   ac_ct_CC=$CC
5128   # Extract the first word of "gcc", so it can be a program name with args.
5129 set dummy gcc; ac_word=$2
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131 $as_echo_n "checking for $ac_word... " >&6; }
5132 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5133   $as_echo_n "(cached) " >&6
5134 else
5135   if test -n "$ac_ct_CC"; then
5136   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5140 do
5141   IFS=$as_save_IFS
5142   test -z "$as_dir" && as_dir=.
5143     for ac_exec_ext in '' $ac_executable_extensions; do
5144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5145     ac_cv_prog_ac_ct_CC="gcc"
5146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147     break 2
5148   fi
5149 done
5150   done
5151 IFS=$as_save_IFS
5152
5153 fi
5154 fi
5155 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5156 if test -n "$ac_ct_CC"; then
5157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5158 $as_echo "$ac_ct_CC" >&6; }
5159 else
5160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5162 fi
5163
5164   if test "x$ac_ct_CC" = x; then
5165     CC=""
5166   else
5167     case $cross_compiling:$ac_tool_warned in
5168 yes:)
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5171 ac_tool_warned=yes ;;
5172 esac
5173     CC=$ac_ct_CC
5174   fi
5175 else
5176   CC="$ac_cv_prog_CC"
5177 fi
5178
5179 if test -z "$CC"; then
5180           if test -n "$ac_tool_prefix"; then
5181     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5182 set dummy ${ac_tool_prefix}cc; ac_word=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if ${ac_cv_prog_CC+:} false; then :
5186   $as_echo_n "(cached) " >&6
5187 else
5188   if test -n "$CC"; then
5189   ac_cv_prog_CC="$CC" # Let the user override the test.
5190 else
5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 for as_dir in $PATH
5193 do
5194   IFS=$as_save_IFS
5195   test -z "$as_dir" && as_dir=.
5196     for ac_exec_ext in '' $ac_executable_extensions; do
5197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5198     ac_cv_prog_CC="${ac_tool_prefix}cc"
5199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200     break 2
5201   fi
5202 done
5203   done
5204 IFS=$as_save_IFS
5205
5206 fi
5207 fi
5208 CC=$ac_cv_prog_CC
5209 if test -n "$CC"; then
5210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5211 $as_echo "$CC" >&6; }
5212 else
5213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5215 fi
5216
5217
5218   fi
5219 fi
5220 if test -z "$CC"; then
5221   # Extract the first word of "cc", so it can be a program name with args.
5222 set dummy cc; ac_word=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5224 $as_echo_n "checking for $ac_word... " >&6; }
5225 if ${ac_cv_prog_CC+:} false; then :
5226   $as_echo_n "(cached) " >&6
5227 else
5228   if test -n "$CC"; then
5229   ac_cv_prog_CC="$CC" # Let the user override the test.
5230 else
5231   ac_prog_rejected=no
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233 for as_dir in $PATH
5234 do
5235   IFS=$as_save_IFS
5236   test -z "$as_dir" && as_dir=.
5237     for ac_exec_ext in '' $ac_executable_extensions; do
5238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5240        ac_prog_rejected=yes
5241        continue
5242      fi
5243     ac_cv_prog_CC="cc"
5244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245     break 2
5246   fi
5247 done
5248   done
5249 IFS=$as_save_IFS
5250
5251 if test $ac_prog_rejected = yes; then
5252   # We found a bogon in the path, so make sure we never use it.
5253   set dummy $ac_cv_prog_CC
5254   shift
5255   if test $# != 0; then
5256     # We chose a different compiler from the bogus one.
5257     # However, it has the same basename, so the bogon will be chosen
5258     # first if we set CC to just the basename; use the full file name.
5259     shift
5260     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5261   fi
5262 fi
5263 fi
5264 fi
5265 CC=$ac_cv_prog_CC
5266 if test -n "$CC"; then
5267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5268 $as_echo "$CC" >&6; }
5269 else
5270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5272 fi
5273
5274
5275 fi
5276 if test -z "$CC"; then
5277   if test -n "$ac_tool_prefix"; then
5278   for ac_prog in cl.exe
5279   do
5280     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5281 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_CC+:} false; then :
5285   $as_echo_n "(cached) " >&6
5286 else
5287   if test -n "$CC"; then
5288   ac_cv_prog_CC="$CC" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5292 do
5293   IFS=$as_save_IFS
5294   test -z "$as_dir" && as_dir=.
5295     for ac_exec_ext in '' $ac_executable_extensions; do
5296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299     break 2
5300   fi
5301 done
5302   done
5303 IFS=$as_save_IFS
5304
5305 fi
5306 fi
5307 CC=$ac_cv_prog_CC
5308 if test -n "$CC"; then
5309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5310 $as_echo "$CC" >&6; }
5311 else
5312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5314 fi
5315
5316
5317     test -n "$CC" && break
5318   done
5319 fi
5320 if test -z "$CC"; then
5321   ac_ct_CC=$CC
5322   for ac_prog in cl.exe
5323 do
5324   # Extract the first word of "$ac_prog", so it can be a program name with args.
5325 set dummy $ac_prog; ac_word=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5329   $as_echo_n "(cached) " >&6
5330 else
5331   if test -n "$ac_ct_CC"; then
5332   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5333 else
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5336 do
5337   IFS=$as_save_IFS
5338   test -z "$as_dir" && as_dir=.
5339     for ac_exec_ext in '' $ac_executable_extensions; do
5340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341     ac_cv_prog_ac_ct_CC="$ac_prog"
5342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343     break 2
5344   fi
5345 done
5346   done
5347 IFS=$as_save_IFS
5348
5349 fi
5350 fi
5351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5352 if test -n "$ac_ct_CC"; then
5353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5354 $as_echo "$ac_ct_CC" >&6; }
5355 else
5356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5358 fi
5359
5360
5361   test -n "$ac_ct_CC" && break
5362 done
5363
5364   if test "x$ac_ct_CC" = x; then
5365     CC=""
5366   else
5367     case $cross_compiling:$ac_tool_warned in
5368 yes:)
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5371 ac_tool_warned=yes ;;
5372 esac
5373     CC=$ac_ct_CC
5374   fi
5375 fi
5376
5377 fi
5378
5379
5380 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5382 as_fn_error $? "no acceptable C compiler found in \$PATH
5383 See \`config.log' for more details" "$LINENO" 5; }
5384
5385 # Provide some information about the compiler.
5386 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5387 set X $ac_compile
5388 ac_compiler=$2
5389 for ac_option in --version -v -V -qversion; do
5390   { { ac_try="$ac_compiler $ac_option >&5"
5391 case "(($ac_try" in
5392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5393   *) ac_try_echo=$ac_try;;
5394 esac
5395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5396 $as_echo "$ac_try_echo"; } >&5
5397   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5398   ac_status=$?
5399   if test -s conftest.err; then
5400     sed '10a\
5401 ... rest of stderr output deleted ...
5402          10q' conftest.err >conftest.er1
5403     cat conftest.er1 >&5
5404   fi
5405   rm -f conftest.er1 conftest.err
5406   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5407   test $ac_status = 0; }
5408 done
5409
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5411 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5412 if ${ac_cv_c_compiler_gnu+:} false; then :
5413   $as_echo_n "(cached) " >&6
5414 else
5415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h.  */
5417
5418 int
5419 main ()
5420 {
5421 #ifndef __GNUC__
5422        choke me
5423 #endif
5424
5425   ;
5426   return 0;
5427 }
5428 _ACEOF
5429 if ac_fn_c_try_compile "$LINENO"; then :
5430   ac_compiler_gnu=yes
5431 else
5432   ac_compiler_gnu=no
5433 fi
5434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5435 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5436
5437 fi
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5439 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5440 if test $ac_compiler_gnu = yes; then
5441   GCC=yes
5442 else
5443   GCC=
5444 fi
5445 ac_test_CFLAGS=${CFLAGS+set}
5446 ac_save_CFLAGS=$CFLAGS
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5448 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5449 if ${ac_cv_prog_cc_g+:} false; then :
5450   $as_echo_n "(cached) " >&6
5451 else
5452   ac_save_c_werror_flag=$ac_c_werror_flag
5453    ac_c_werror_flag=yes
5454    ac_cv_prog_cc_g=no
5455    CFLAGS="-g"
5456    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5457 /* end confdefs.h.  */
5458
5459 int
5460 main ()
5461 {
5462
5463   ;
5464   return 0;
5465 }
5466 _ACEOF
5467 if ac_fn_c_try_compile "$LINENO"; then :
5468   ac_cv_prog_cc_g=yes
5469 else
5470   CFLAGS=""
5471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5472 /* end confdefs.h.  */
5473
5474 int
5475 main ()
5476 {
5477
5478   ;
5479   return 0;
5480 }
5481 _ACEOF
5482 if ac_fn_c_try_compile "$LINENO"; then :
5483
5484 else
5485   ac_c_werror_flag=$ac_save_c_werror_flag
5486          CFLAGS="-g"
5487          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5488 /* end confdefs.h.  */
5489
5490 int
5491 main ()
5492 {
5493
5494   ;
5495   return 0;
5496 }
5497 _ACEOF
5498 if ac_fn_c_try_compile "$LINENO"; then :
5499   ac_cv_prog_cc_g=yes
5500 fi
5501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5502 fi
5503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5504 fi
5505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5506    ac_c_werror_flag=$ac_save_c_werror_flag
5507 fi
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5509 $as_echo "$ac_cv_prog_cc_g" >&6; }
5510 if test "$ac_test_CFLAGS" = set; then
5511   CFLAGS=$ac_save_CFLAGS
5512 elif test $ac_cv_prog_cc_g = yes; then
5513   if test "$GCC" = yes; then
5514     CFLAGS="-g -O2"
5515   else
5516     CFLAGS="-g"
5517   fi
5518 else
5519   if test "$GCC" = yes; then
5520     CFLAGS="-O2"
5521   else
5522     CFLAGS=
5523   fi
5524 fi
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5526 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5527 if ${ac_cv_prog_cc_c89+:} false; then :
5528   $as_echo_n "(cached) " >&6
5529 else
5530   ac_cv_prog_cc_c89=no
5531 ac_save_CC=$CC
5532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5533 /* end confdefs.h.  */
5534 #include <stdarg.h>
5535 #include <stdio.h>
5536 #include <sys/types.h>
5537 #include <sys/stat.h>
5538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5539 struct buf { int x; };
5540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5541 static char *e (p, i)
5542      char **p;
5543      int i;
5544 {
5545   return p[i];
5546 }
5547 static char *f (char * (*g) (char **, int), char **p, ...)
5548 {
5549   char *s;
5550   va_list v;
5551   va_start (v,p);
5552   s = g (p, va_arg (v,int));
5553   va_end (v);
5554   return s;
5555 }
5556
5557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5558    function prototypes and stuff, but not '\xHH' hex character constants.
5559    These don't provoke an error unfortunately, instead are silently treated
5560    as 'x'.  The following induces an error, until -std is added to get
5561    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5562    array size at least.  It's necessary to write '\x00'==0 to get something
5563    that's true only with -std.  */
5564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5565
5566 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5567    inside strings and character constants.  */
5568 #define FOO(x) 'x'
5569 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5570
5571 int test (int i, double x);
5572 struct s1 {int (*f) (int a);};
5573 struct s2 {int (*f) (double a);};
5574 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5575 int argc;
5576 char **argv;
5577 int
5578 main ()
5579 {
5580 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5581   ;
5582   return 0;
5583 }
5584 _ACEOF
5585 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5586         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5587 do
5588   CC="$ac_save_CC $ac_arg"
5589   if ac_fn_c_try_compile "$LINENO"; then :
5590   ac_cv_prog_cc_c89=$ac_arg
5591 fi
5592 rm -f core conftest.err conftest.$ac_objext
5593   test "x$ac_cv_prog_cc_c89" != "xno" && break
5594 done
5595 rm -f conftest.$ac_ext
5596 CC=$ac_save_CC
5597
5598 fi
5599 # AC_CACHE_VAL
5600 case "x$ac_cv_prog_cc_c89" in
5601   x)
5602     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5603 $as_echo "none needed" >&6; } ;;
5604   xno)
5605     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5606 $as_echo "unsupported" >&6; } ;;
5607   *)
5608     CC="$CC $ac_cv_prog_cc_c89"
5609     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5610 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5611 esac
5612 if test "x$ac_cv_prog_cc_c89" != xno; then :
5613
5614 fi
5615
5616 ac_ext=c
5617 ac_cpp='$CPP $CPPFLAGS'
5618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5621
5622 ac_ext=c
5623 ac_cpp='$CPP $CPPFLAGS'
5624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5628 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5629 if ${am_cv_prog_cc_c_o+:} false; then :
5630   $as_echo_n "(cached) " >&6
5631 else
5632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h.  */
5634
5635 int
5636 main ()
5637 {
5638
5639   ;
5640   return 0;
5641 }
5642 _ACEOF
5643   # Make sure it works both with $CC and with simple cc.
5644   # Following AC_PROG_CC_C_O, we do the test twice because some
5645   # compilers refuse to overwrite an existing .o file with -o,
5646   # though they will create one.
5647   am_cv_prog_cc_c_o=yes
5648   for am_i in 1 2; do
5649     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5650    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5651    ac_status=$?
5652    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653    (exit $ac_status); } \
5654          && test -f conftest2.$ac_objext; then
5655       : OK
5656     else
5657       am_cv_prog_cc_c_o=no
5658       break
5659     fi
5660   done
5661   rm -f core conftest*
5662   unset am_i
5663 fi
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5665 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5666 if test "$am_cv_prog_cc_c_o" != yes; then
5667    # Losing compiler, so override with the script.
5668    # FIXME: It is wrong to rewrite CC.
5669    # But if we don't then we get into trouble of one sort or another.
5670    # A longer-term fix would be to have automake use am__CC in this case,
5671    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5672    CC="$am_aux_dir/compile $CC"
5673 fi
5674 ac_ext=c
5675 ac_cpp='$CPP $CPPFLAGS'
5676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5679
5680
5681 depcc="$CC"   am_compiler_list=
5682
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5684 $as_echo_n "checking dependency style of $depcc... " >&6; }
5685 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5686   $as_echo_n "(cached) " >&6
5687 else
5688   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5689   # We make a subdir and do the tests there.  Otherwise we can end up
5690   # making bogus files that we don't know about and never remove.  For
5691   # instance it was reported that on HP-UX the gcc test will end up
5692   # making a dummy file named 'D' -- because '-MD' means "put the output
5693   # in D".
5694   rm -rf conftest.dir
5695   mkdir conftest.dir
5696   # Copy depcomp to subdir because otherwise we won't find it if we're
5697   # using a relative directory.
5698   cp "$am_depcomp" conftest.dir
5699   cd conftest.dir
5700   # We will build objects and dependencies in a subdirectory because
5701   # it helps to detect inapplicable dependency modes.  For instance
5702   # both Tru64's cc and ICC support -MD to output dependencies as a
5703   # side effect of compilation, but ICC will put the dependencies in
5704   # the current directory while Tru64 will put them in the object
5705   # directory.
5706   mkdir sub
5707
5708   am_cv_CC_dependencies_compiler_type=none
5709   if test "$am_compiler_list" = ""; then
5710      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5711   fi
5712   am__universal=false
5713   case " $depcc " in #(
5714      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5715      esac
5716
5717   for depmode in $am_compiler_list; do
5718     # Setup a source with many dependencies, because some compilers
5719     # like to wrap large dependency lists on column 80 (with \), and
5720     # we should not choose a depcomp mode which is confused by this.
5721     #
5722     # We need to recreate these files for each test, as the compiler may
5723     # overwrite some of them when testing with obscure command lines.
5724     # This happens at least with the AIX C compiler.
5725     : > sub/conftest.c
5726     for i in 1 2 3 4 5 6; do
5727       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5728       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5729       # Solaris 10 /bin/sh.
5730       echo '/* dummy */' > sub/conftst$i.h
5731     done
5732     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5733
5734     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5735     # mode.  It turns out that the SunPro C++ compiler does not properly
5736     # handle '-M -o', and we need to detect this.  Also, some Intel
5737     # versions had trouble with output in subdirs.
5738     am__obj=sub/conftest.${OBJEXT-o}
5739     am__minus_obj="-o $am__obj"
5740     case $depmode in
5741     gcc)
5742       # This depmode causes a compiler race in universal mode.
5743       test "$am__universal" = false || continue
5744       ;;
5745     nosideeffect)
5746       # After this tag, mechanisms are not by side-effect, so they'll
5747       # only be used when explicitly requested.
5748       if test "x$enable_dependency_tracking" = xyes; then
5749         continue
5750       else
5751         break
5752       fi
5753       ;;
5754     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5755       # This compiler won't grok '-c -o', but also, the minuso test has
5756       # not run yet.  These depmodes are late enough in the game, and
5757       # so weak that their functioning should not be impacted.
5758       am__obj=conftest.${OBJEXT-o}
5759       am__minus_obj=
5760       ;;
5761     none) break ;;
5762     esac
5763     if depmode=$depmode \
5764        source=sub/conftest.c object=$am__obj \
5765        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5766        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5767          >/dev/null 2>conftest.err &&
5768        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5769        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5770        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5771        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5772       # icc doesn't choke on unknown options, it will just issue warnings
5773       # or remarks (even with -Werror).  So we grep stderr for any message
5774       # that says an option was ignored or not supported.
5775       # When given -MP, icc 7.0 and 7.1 complain thusly:
5776       #   icc: Command line warning: ignoring option '-M'; no argument required
5777       # The diagnosis changed in icc 8.0:
5778       #   icc: Command line remark: option '-MP' not supported
5779       if (grep 'ignoring option' conftest.err ||
5780           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5781         am_cv_CC_dependencies_compiler_type=$depmode
5782         break
5783       fi
5784     fi
5785   done
5786
5787   cd ..
5788   rm -rf conftest.dir
5789 else
5790   am_cv_CC_dependencies_compiler_type=none
5791 fi
5792
5793 fi
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5795 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5796 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5797
5798  if
5799   test "x$enable_dependency_tracking" != xno \
5800   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5801   am__fastdepCC_TRUE=
5802   am__fastdepCC_FALSE='#'
5803 else
5804   am__fastdepCC_TRUE='#'
5805   am__fastdepCC_FALSE=
5806 fi
5807
5808
5809 if test "x$CC" != xcc; then
5810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5811 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5812 else
5813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5814 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5815 fi
5816 set dummy $CC; ac_cc=`$as_echo "$2" |
5817                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5818 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5819   $as_echo_n "(cached) " >&6
5820 else
5821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822 /* end confdefs.h.  */
5823
5824 int
5825 main ()
5826 {
5827
5828   ;
5829   return 0;
5830 }
5831 _ACEOF
5832 # Make sure it works both with $CC and with simple cc.
5833 # We do the test twice because some compilers refuse to overwrite an
5834 # existing .o file with -o, though they will create one.
5835 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5836 rm -f conftest2.*
5837 if { { case "(($ac_try" in
5838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5839   *) ac_try_echo=$ac_try;;
5840 esac
5841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5842 $as_echo "$ac_try_echo"; } >&5
5843   (eval "$ac_try") 2>&5
5844   ac_status=$?
5845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5846   test $ac_status = 0; } &&
5847    test -f conftest2.$ac_objext && { { case "(($ac_try" in
5848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5849   *) ac_try_echo=$ac_try;;
5850 esac
5851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5852 $as_echo "$ac_try_echo"; } >&5
5853   (eval "$ac_try") 2>&5
5854   ac_status=$?
5855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5856   test $ac_status = 0; };
5857 then
5858   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5859   if test "x$CC" != xcc; then
5860     # Test first that cc exists at all.
5861     if { ac_try='cc -c conftest.$ac_ext >&5'
5862   { { case "(($ac_try" in
5863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5864   *) ac_try_echo=$ac_try;;
5865 esac
5866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5867 $as_echo "$ac_try_echo"; } >&5
5868   (eval "$ac_try") 2>&5
5869   ac_status=$?
5870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5871   test $ac_status = 0; }; }; then
5872       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5873       rm -f conftest2.*
5874       if { { case "(($ac_try" in
5875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5876   *) ac_try_echo=$ac_try;;
5877 esac
5878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5879 $as_echo "$ac_try_echo"; } >&5
5880   (eval "$ac_try") 2>&5
5881   ac_status=$?
5882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5883   test $ac_status = 0; } &&
5884          test -f conftest2.$ac_objext && { { case "(($ac_try" in
5885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5886   *) ac_try_echo=$ac_try;;
5887 esac
5888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5889 $as_echo "$ac_try_echo"; } >&5
5890   (eval "$ac_try") 2>&5
5891   ac_status=$?
5892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5893   test $ac_status = 0; };
5894       then
5895         # cc works too.
5896         :
5897       else
5898         # cc exists but doesn't like -o.
5899         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5900       fi
5901     fi
5902   fi
5903 else
5904   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5905 fi
5906 rm -f core conftest*
5907
5908 fi
5909 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5911 $as_echo "yes" >&6; }
5912 else
5913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5915
5916 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5917
5918 fi
5919
5920
5921 ac_ext=cpp
5922 ac_cpp='$CXXCPP $CPPFLAGS'
5923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5926 if test -z "$CXX"; then
5927   if test -n "$CCC"; then
5928     CXX=$CCC
5929   else
5930     if test -n "$ac_tool_prefix"; then
5931   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5932   do
5933     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5934 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if ${ac_cv_prog_CXX+:} false; then :
5938   $as_echo_n "(cached) " >&6
5939 else
5940   if test -n "$CXX"; then
5941   ac_cv_prog_CXX="$CXX" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5945 do
5946   IFS=$as_save_IFS
5947   test -z "$as_dir" && as_dir=.
5948     for ac_exec_ext in '' $ac_executable_extensions; do
5949   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5950     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5952     break 2
5953   fi
5954 done
5955   done
5956 IFS=$as_save_IFS
5957
5958 fi
5959 fi
5960 CXX=$ac_cv_prog_CXX
5961 if test -n "$CXX"; then
5962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5963 $as_echo "$CXX" >&6; }
5964 else
5965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5967 fi
5968
5969
5970     test -n "$CXX" && break
5971   done
5972 fi
5973 if test -z "$CXX"; then
5974   ac_ct_CXX=$CXX
5975   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5976 do
5977   # Extract the first word of "$ac_prog", so it can be a program name with args.
5978 set dummy $ac_prog; ac_word=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980 $as_echo_n "checking for $ac_word... " >&6; }
5981 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5982   $as_echo_n "(cached) " >&6
5983 else
5984   if test -n "$ac_ct_CXX"; then
5985   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5986 else
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988 for as_dir in $PATH
5989 do
5990   IFS=$as_save_IFS
5991   test -z "$as_dir" && as_dir=.
5992     for ac_exec_ext in '' $ac_executable_extensions; do
5993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5994     ac_cv_prog_ac_ct_CXX="$ac_prog"
5995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996     break 2
5997   fi
5998 done
5999   done
6000 IFS=$as_save_IFS
6001
6002 fi
6003 fi
6004 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6005 if test -n "$ac_ct_CXX"; then
6006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6007 $as_echo "$ac_ct_CXX" >&6; }
6008 else
6009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6011 fi
6012
6013
6014   test -n "$ac_ct_CXX" && break
6015 done
6016
6017   if test "x$ac_ct_CXX" = x; then
6018     CXX="g++"
6019   else
6020     case $cross_compiling:$ac_tool_warned in
6021 yes:)
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6024 ac_tool_warned=yes ;;
6025 esac
6026     CXX=$ac_ct_CXX
6027   fi
6028 fi
6029
6030   fi
6031 fi
6032 # Provide some information about the compiler.
6033 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6034 set X $ac_compile
6035 ac_compiler=$2
6036 for ac_option in --version -v -V -qversion; do
6037   { { ac_try="$ac_compiler $ac_option >&5"
6038 case "(($ac_try" in
6039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6040   *) ac_try_echo=$ac_try;;
6041 esac
6042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6043 $as_echo "$ac_try_echo"; } >&5
6044   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6045   ac_status=$?
6046   if test -s conftest.err; then
6047     sed '10a\
6048 ... rest of stderr output deleted ...
6049          10q' conftest.err >conftest.er1
6050     cat conftest.er1 >&5
6051   fi
6052   rm -f conftest.er1 conftest.err
6053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6054   test $ac_status = 0; }
6055 done
6056
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6058 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6059 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6060   $as_echo_n "(cached) " >&6
6061 else
6062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h.  */
6064
6065 int
6066 main ()
6067 {
6068 #ifndef __GNUC__
6069        choke me
6070 #endif
6071
6072   ;
6073   return 0;
6074 }
6075 _ACEOF
6076 if ac_fn_cxx_try_compile "$LINENO"; then :
6077   ac_compiler_gnu=yes
6078 else
6079   ac_compiler_gnu=no
6080 fi
6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6082 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6083
6084 fi
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6086 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6087 if test $ac_compiler_gnu = yes; then
6088   GXX=yes
6089 else
6090   GXX=
6091 fi
6092 ac_test_CXXFLAGS=${CXXFLAGS+set}
6093 ac_save_CXXFLAGS=$CXXFLAGS
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6095 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6096 if ${ac_cv_prog_cxx_g+:} false; then :
6097   $as_echo_n "(cached) " >&6
6098 else
6099   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6100    ac_cxx_werror_flag=yes
6101    ac_cv_prog_cxx_g=no
6102    CXXFLAGS="-g"
6103    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6104 /* end confdefs.h.  */
6105
6106 int
6107 main ()
6108 {
6109
6110   ;
6111   return 0;
6112 }
6113 _ACEOF
6114 if ac_fn_cxx_try_compile "$LINENO"; then :
6115   ac_cv_prog_cxx_g=yes
6116 else
6117   CXXFLAGS=""
6118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h.  */
6120
6121 int
6122 main ()
6123 {
6124
6125   ;
6126   return 0;
6127 }
6128 _ACEOF
6129 if ac_fn_cxx_try_compile "$LINENO"; then :
6130
6131 else
6132   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6133          CXXFLAGS="-g"
6134          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h.  */
6136
6137 int
6138 main ()
6139 {
6140
6141   ;
6142   return 0;
6143 }
6144 _ACEOF
6145 if ac_fn_cxx_try_compile "$LINENO"; then :
6146   ac_cv_prog_cxx_g=yes
6147 fi
6148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6149 fi
6150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6151 fi
6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6153    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6154 fi
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6156 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6157 if test "$ac_test_CXXFLAGS" = set; then
6158   CXXFLAGS=$ac_save_CXXFLAGS
6159 elif test $ac_cv_prog_cxx_g = yes; then
6160   if test "$GXX" = yes; then
6161     CXXFLAGS="-g -O2"
6162   else
6163     CXXFLAGS="-g"
6164   fi
6165 else
6166   if test "$GXX" = yes; then
6167     CXXFLAGS="-O2"
6168   else
6169     CXXFLAGS=
6170   fi
6171 fi
6172 ac_ext=c
6173 ac_cpp='$CPP $CPPFLAGS'
6174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6177
6178 depcc="$CXX"  am_compiler_list=
6179
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6181 $as_echo_n "checking dependency style of $depcc... " >&6; }
6182 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6183   $as_echo_n "(cached) " >&6
6184 else
6185   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6186   # We make a subdir and do the tests there.  Otherwise we can end up
6187   # making bogus files that we don't know about and never remove.  For
6188   # instance it was reported that on HP-UX the gcc test will end up
6189   # making a dummy file named 'D' -- because '-MD' means "put the output
6190   # in D".
6191   rm -rf conftest.dir
6192   mkdir conftest.dir
6193   # Copy depcomp to subdir because otherwise we won't find it if we're
6194   # using a relative directory.
6195   cp "$am_depcomp" conftest.dir
6196   cd conftest.dir
6197   # We will build objects and dependencies in a subdirectory because
6198   # it helps to detect inapplicable dependency modes.  For instance
6199   # both Tru64's cc and ICC support -MD to output dependencies as a
6200   # side effect of compilation, but ICC will put the dependencies in
6201   # the current directory while Tru64 will put them in the object
6202   # directory.
6203   mkdir sub
6204
6205   am_cv_CXX_dependencies_compiler_type=none
6206   if test "$am_compiler_list" = ""; then
6207      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6208   fi
6209   am__universal=false
6210   case " $depcc " in #(
6211      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6212      esac
6213
6214   for depmode in $am_compiler_list; do
6215     # Setup a source with many dependencies, because some compilers
6216     # like to wrap large dependency lists on column 80 (with \), and
6217     # we should not choose a depcomp mode which is confused by this.
6218     #
6219     # We need to recreate these files for each test, as the compiler may
6220     # overwrite some of them when testing with obscure command lines.
6221     # This happens at least with the AIX C compiler.
6222     : > sub/conftest.c
6223     for i in 1 2 3 4 5 6; do
6224       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6225       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6226       # Solaris 10 /bin/sh.
6227       echo '/* dummy */' > sub/conftst$i.h
6228     done
6229     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6230
6231     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6232     # mode.  It turns out that the SunPro C++ compiler does not properly
6233     # handle '-M -o', and we need to detect this.  Also, some Intel
6234     # versions had trouble with output in subdirs.
6235     am__obj=sub/conftest.${OBJEXT-o}
6236     am__minus_obj="-o $am__obj"
6237     case $depmode in
6238     gcc)
6239       # This depmode causes a compiler race in universal mode.
6240       test "$am__universal" = false || continue
6241       ;;
6242     nosideeffect)
6243       # After this tag, mechanisms are not by side-effect, so they'll
6244       # only be used when explicitly requested.
6245       if test "x$enable_dependency_tracking" = xyes; then
6246         continue
6247       else
6248         break
6249       fi
6250       ;;
6251     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6252       # This compiler won't grok '-c -o', but also, the minuso test has
6253       # not run yet.  These depmodes are late enough in the game, and
6254       # so weak that their functioning should not be impacted.
6255       am__obj=conftest.${OBJEXT-o}
6256       am__minus_obj=
6257       ;;
6258     none) break ;;
6259     esac
6260     if depmode=$depmode \
6261        source=sub/conftest.c object=$am__obj \
6262        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6263        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6264          >/dev/null 2>conftest.err &&
6265        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6266        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6267        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6268        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6269       # icc doesn't choke on unknown options, it will just issue warnings
6270       # or remarks (even with -Werror).  So we grep stderr for any message
6271       # that says an option was ignored or not supported.
6272       # When given -MP, icc 7.0 and 7.1 complain thusly:
6273       #   icc: Command line warning: ignoring option '-M'; no argument required
6274       # The diagnosis changed in icc 8.0:
6275       #   icc: Command line remark: option '-MP' not supported
6276       if (grep 'ignoring option' conftest.err ||
6277           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6278         am_cv_CXX_dependencies_compiler_type=$depmode
6279         break
6280       fi
6281     fi
6282   done
6283
6284   cd ..
6285   rm -rf conftest.dir
6286 else
6287   am_cv_CXX_dependencies_compiler_type=none
6288 fi
6289
6290 fi
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6292 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6293 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6294
6295  if
6296   test "x$enable_dependency_tracking" != xno \
6297   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6298   am__fastdepCXX_TRUE=
6299   am__fastdepCXX_FALSE='#'
6300 else
6301   am__fastdepCXX_TRUE='#'
6302   am__fastdepCXX_FALSE=
6303 fi
6304
6305
6306 ac_ext=cpp
6307 ac_cpp='$CXXCPP $CPPFLAGS'
6308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6312 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6313 if test -z "$CXXCPP"; then
6314   if ${ac_cv_prog_CXXCPP+:} false; then :
6315   $as_echo_n "(cached) " >&6
6316 else
6317       # Double quotes because CXXCPP needs to be expanded
6318     for CXXCPP in "$CXX -E" "/lib/cpp"
6319     do
6320       ac_preproc_ok=false
6321 for ac_cxx_preproc_warn_flag in '' yes
6322 do
6323   # Use a header file that comes with gcc, so configuring glibc
6324   # with a fresh cross-compiler works.
6325   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6326   # <limits.h> exists even on freestanding compilers.
6327   # On the NeXT, cc -E runs the code through the compiler's parser,
6328   # not just through cpp. "Syntax error" is here to catch this case.
6329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6330 /* end confdefs.h.  */
6331 #ifdef __STDC__
6332 # include <limits.h>
6333 #else
6334 # include <assert.h>
6335 #endif
6336                      Syntax error
6337 _ACEOF
6338 if ac_fn_cxx_try_cpp "$LINENO"; then :
6339
6340 else
6341   # Broken: fails on valid input.
6342 continue
6343 fi
6344 rm -f conftest.err conftest.i conftest.$ac_ext
6345
6346   # OK, works on sane cases.  Now check whether nonexistent headers
6347   # can be detected and how.
6348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6349 /* end confdefs.h.  */
6350 #include <ac_nonexistent.h>
6351 _ACEOF
6352 if ac_fn_cxx_try_cpp "$LINENO"; then :
6353   # Broken: success on invalid input.
6354 continue
6355 else
6356   # Passes both tests.
6357 ac_preproc_ok=:
6358 break
6359 fi
6360 rm -f conftest.err conftest.i conftest.$ac_ext
6361
6362 done
6363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6364 rm -f conftest.i conftest.err conftest.$ac_ext
6365 if $ac_preproc_ok; then :
6366   break
6367 fi
6368
6369     done
6370     ac_cv_prog_CXXCPP=$CXXCPP
6371
6372 fi
6373   CXXCPP=$ac_cv_prog_CXXCPP
6374 else
6375   ac_cv_prog_CXXCPP=$CXXCPP
6376 fi
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6378 $as_echo "$CXXCPP" >&6; }
6379 ac_preproc_ok=false
6380 for ac_cxx_preproc_warn_flag in '' yes
6381 do
6382   # Use a header file that comes with gcc, so configuring glibc
6383   # with a fresh cross-compiler works.
6384   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6385   # <limits.h> exists even on freestanding compilers.
6386   # On the NeXT, cc -E runs the code through the compiler's parser,
6387   # not just through cpp. "Syntax error" is here to catch this case.
6388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h.  */
6390 #ifdef __STDC__
6391 # include <limits.h>
6392 #else
6393 # include <assert.h>
6394 #endif
6395                      Syntax error
6396 _ACEOF
6397 if ac_fn_cxx_try_cpp "$LINENO"; then :
6398
6399 else
6400   # Broken: fails on valid input.
6401 continue
6402 fi
6403 rm -f conftest.err conftest.i conftest.$ac_ext
6404
6405   # OK, works on sane cases.  Now check whether nonexistent headers
6406   # can be detected and how.
6407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h.  */
6409 #include <ac_nonexistent.h>
6410 _ACEOF
6411 if ac_fn_cxx_try_cpp "$LINENO"; then :
6412   # Broken: success on invalid input.
6413 continue
6414 else
6415   # Passes both tests.
6416 ac_preproc_ok=:
6417 break
6418 fi
6419 rm -f conftest.err conftest.i conftest.$ac_ext
6420
6421 done
6422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6423 rm -f conftest.i conftest.err conftest.$ac_ext
6424 if $ac_preproc_ok; then :
6425
6426 else
6427   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6429 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6430 See \`config.log' for more details" "$LINENO" 5; }
6431 fi
6432
6433 ac_ext=c
6434 ac_cpp='$CPP $CPPFLAGS'
6435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6438
6439
6440 ac_ext=cpp
6441 ac_cpp='$CXXCPP $CPPFLAGS'
6442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6445 if test -z "$CXX"; then
6446   if test -n "$CCC"; then
6447     CXX=$CCC
6448   else
6449     if test -n "$ac_tool_prefix"; then
6450   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6451   do
6452     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6453 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_CXX+:} false; then :
6457   $as_echo_n "(cached) " >&6
6458 else
6459   if test -n "$CXX"; then
6460   ac_cv_prog_CXX="$CXX" # Let the user override the test.
6461 else
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 for as_dir in $PATH
6464 do
6465   IFS=$as_save_IFS
6466   test -z "$as_dir" && as_dir=.
6467     for ac_exec_ext in '' $ac_executable_extensions; do
6468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471     break 2
6472   fi
6473 done
6474   done
6475 IFS=$as_save_IFS
6476
6477 fi
6478 fi
6479 CXX=$ac_cv_prog_CXX
6480 if test -n "$CXX"; then
6481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6482 $as_echo "$CXX" >&6; }
6483 else
6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6486 fi
6487
6488
6489     test -n "$CXX" && break
6490   done
6491 fi
6492 if test -z "$CXX"; then
6493   ac_ct_CXX=$CXX
6494   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6495 do
6496   # Extract the first word of "$ac_prog", so it can be a program name with args.
6497 set dummy $ac_prog; ac_word=$2
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6499 $as_echo_n "checking for $ac_word... " >&6; }
6500 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6501   $as_echo_n "(cached) " >&6
6502 else
6503   if test -n "$ac_ct_CXX"; then
6504   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6505 else
6506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 for as_dir in $PATH
6508 do
6509   IFS=$as_save_IFS
6510   test -z "$as_dir" && as_dir=.
6511     for ac_exec_ext in '' $ac_executable_extensions; do
6512   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6513     ac_cv_prog_ac_ct_CXX="$ac_prog"
6514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6515     break 2
6516   fi
6517 done
6518   done
6519 IFS=$as_save_IFS
6520
6521 fi
6522 fi
6523 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6524 if test -n "$ac_ct_CXX"; then
6525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6526 $as_echo "$ac_ct_CXX" >&6; }
6527 else
6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6529 $as_echo "no" >&6; }
6530 fi
6531
6532
6533   test -n "$ac_ct_CXX" && break
6534 done
6535
6536   if test "x$ac_ct_CXX" = x; then
6537     CXX="g++"
6538   else
6539     case $cross_compiling:$ac_tool_warned in
6540 yes:)
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6543 ac_tool_warned=yes ;;
6544 esac
6545     CXX=$ac_ct_CXX
6546   fi
6547 fi
6548
6549   fi
6550 fi
6551 # Provide some information about the compiler.
6552 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6553 set X $ac_compile
6554 ac_compiler=$2
6555 for ac_option in --version -v -V -qversion; do
6556   { { ac_try="$ac_compiler $ac_option >&5"
6557 case "(($ac_try" in
6558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6559   *) ac_try_echo=$ac_try;;
6560 esac
6561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6562 $as_echo "$ac_try_echo"; } >&5
6563   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6564   ac_status=$?
6565   if test -s conftest.err; then
6566     sed '10a\
6567 ... rest of stderr output deleted ...
6568          10q' conftest.err >conftest.er1
6569     cat conftest.er1 >&5
6570   fi
6571   rm -f conftest.er1 conftest.err
6572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6573   test $ac_status = 0; }
6574 done
6575
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6577 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6578 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6579   $as_echo_n "(cached) " >&6
6580 else
6581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6582 /* end confdefs.h.  */
6583
6584 int
6585 main ()
6586 {
6587 #ifndef __GNUC__
6588        choke me
6589 #endif
6590
6591   ;
6592   return 0;
6593 }
6594 _ACEOF
6595 if ac_fn_cxx_try_compile "$LINENO"; then :
6596   ac_compiler_gnu=yes
6597 else
6598   ac_compiler_gnu=no
6599 fi
6600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6601 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6602
6603 fi
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6605 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6606 if test $ac_compiler_gnu = yes; then
6607   GXX=yes
6608 else
6609   GXX=
6610 fi
6611 ac_test_CXXFLAGS=${CXXFLAGS+set}
6612 ac_save_CXXFLAGS=$CXXFLAGS
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6614 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6615 if ${ac_cv_prog_cxx_g+:} false; then :
6616   $as_echo_n "(cached) " >&6
6617 else
6618   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6619    ac_cxx_werror_flag=yes
6620    ac_cv_prog_cxx_g=no
6621    CXXFLAGS="-g"
6622    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h.  */
6624
6625 int
6626 main ()
6627 {
6628
6629   ;
6630   return 0;
6631 }
6632 _ACEOF
6633 if ac_fn_cxx_try_compile "$LINENO"; then :
6634   ac_cv_prog_cxx_g=yes
6635 else
6636   CXXFLAGS=""
6637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h.  */
6639
6640 int
6641 main ()
6642 {
6643
6644   ;
6645   return 0;
6646 }
6647 _ACEOF
6648 if ac_fn_cxx_try_compile "$LINENO"; then :
6649
6650 else
6651   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6652          CXXFLAGS="-g"
6653          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6654 /* end confdefs.h.  */
6655
6656 int
6657 main ()
6658 {
6659
6660   ;
6661   return 0;
6662 }
6663 _ACEOF
6664 if ac_fn_cxx_try_compile "$LINENO"; then :
6665   ac_cv_prog_cxx_g=yes
6666 fi
6667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6668 fi
6669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6670 fi
6671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6672    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6673 fi
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6675 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6676 if test "$ac_test_CXXFLAGS" = set; then
6677   CXXFLAGS=$ac_save_CXXFLAGS
6678 elif test $ac_cv_prog_cxx_g = yes; then
6679   if test "$GXX" = yes; then
6680     CXXFLAGS="-g -O2"
6681   else
6682     CXXFLAGS="-g"
6683   fi
6684 else
6685   if test "$GXX" = yes; then
6686     CXXFLAGS="-O2"
6687   else
6688     CXXFLAGS=
6689   fi
6690 fi
6691 ac_ext=c
6692 ac_cpp='$CPP $CPPFLAGS'
6693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6696
6697 depcc="$CXX"  am_compiler_list=
6698
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6700 $as_echo_n "checking dependency style of $depcc... " >&6; }
6701 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6702   $as_echo_n "(cached) " >&6
6703 else
6704   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6705   # We make a subdir and do the tests there.  Otherwise we can end up
6706   # making bogus files that we don't know about and never remove.  For
6707   # instance it was reported that on HP-UX the gcc test will end up
6708   # making a dummy file named 'D' -- because '-MD' means "put the output
6709   # in D".
6710   rm -rf conftest.dir
6711   mkdir conftest.dir
6712   # Copy depcomp to subdir because otherwise we won't find it if we're
6713   # using a relative directory.
6714   cp "$am_depcomp" conftest.dir
6715   cd conftest.dir
6716   # We will build objects and dependencies in a subdirectory because
6717   # it helps to detect inapplicable dependency modes.  For instance
6718   # both Tru64's cc and ICC support -MD to output dependencies as a
6719   # side effect of compilation, but ICC will put the dependencies in
6720   # the current directory while Tru64 will put them in the object
6721   # directory.
6722   mkdir sub
6723
6724   am_cv_CXX_dependencies_compiler_type=none
6725   if test "$am_compiler_list" = ""; then
6726      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6727   fi
6728   am__universal=false
6729   case " $depcc " in #(
6730      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6731      esac
6732
6733   for depmode in $am_compiler_list; do
6734     # Setup a source with many dependencies, because some compilers
6735     # like to wrap large dependency lists on column 80 (with \), and
6736     # we should not choose a depcomp mode which is confused by this.
6737     #
6738     # We need to recreate these files for each test, as the compiler may
6739     # overwrite some of them when testing with obscure command lines.
6740     # This happens at least with the AIX C compiler.
6741     : > sub/conftest.c
6742     for i in 1 2 3 4 5 6; do
6743       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6744       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6745       # Solaris 10 /bin/sh.
6746       echo '/* dummy */' > sub/conftst$i.h
6747     done
6748     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6749
6750     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6751     # mode.  It turns out that the SunPro C++ compiler does not properly
6752     # handle '-M -o', and we need to detect this.  Also, some Intel
6753     # versions had trouble with output in subdirs.
6754     am__obj=sub/conftest.${OBJEXT-o}
6755     am__minus_obj="-o $am__obj"
6756     case $depmode in
6757     gcc)
6758       # This depmode causes a compiler race in universal mode.
6759       test "$am__universal" = false || continue
6760       ;;
6761     nosideeffect)
6762       # After this tag, mechanisms are not by side-effect, so they'll
6763       # only be used when explicitly requested.
6764       if test "x$enable_dependency_tracking" = xyes; then
6765         continue
6766       else
6767         break
6768       fi
6769       ;;
6770     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6771       # This compiler won't grok '-c -o', but also, the minuso test has
6772       # not run yet.  These depmodes are late enough in the game, and
6773       # so weak that their functioning should not be impacted.
6774       am__obj=conftest.${OBJEXT-o}
6775       am__minus_obj=
6776       ;;
6777     none) break ;;
6778     esac
6779     if depmode=$depmode \
6780        source=sub/conftest.c object=$am__obj \
6781        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6782        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6783          >/dev/null 2>conftest.err &&
6784        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6785        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6786        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6787        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6788       # icc doesn't choke on unknown options, it will just issue warnings
6789       # or remarks (even with -Werror).  So we grep stderr for any message
6790       # that says an option was ignored or not supported.
6791       # When given -MP, icc 7.0 and 7.1 complain thusly:
6792       #   icc: Command line warning: ignoring option '-M'; no argument required
6793       # The diagnosis changed in icc 8.0:
6794       #   icc: Command line remark: option '-MP' not supported
6795       if (grep 'ignoring option' conftest.err ||
6796           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6797         am_cv_CXX_dependencies_compiler_type=$depmode
6798         break
6799       fi
6800     fi
6801   done
6802
6803   cd ..
6804   rm -rf conftest.dir
6805 else
6806   am_cv_CXX_dependencies_compiler_type=none
6807 fi
6808
6809 fi
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6811 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6812 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6813
6814  if
6815   test "x$enable_dependency_tracking" != xno \
6816   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6817   am__fastdepCXX_TRUE=
6818   am__fastdepCXX_FALSE='#'
6819 else
6820   am__fastdepCXX_TRUE='#'
6821   am__fastdepCXX_FALSE=
6822 fi
6823
6824
6825 ac_ext=cpp
6826 ac_cpp='$CXXCPP $CPPFLAGS'
6827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX understands -c and -o together" >&5
6831 $as_echo_n "checking whether $CXX understands -c and -o together... " >&6; }
6832 if ${ac_cv_prog_cxx_c_o+:} false; then :
6833   $as_echo_n "(cached) " >&6
6834 else
6835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h.  */
6837
6838 int
6839 main ()
6840 {
6841
6842   ;
6843   return 0;
6844 }
6845 _ACEOF
6846 # We test twice because some compilers refuse to overwrite an existing
6847 # `.o' file with `-o', although they will create one.
6848 ac_try='$CXX $CXXFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6849 rm -f conftest2.*
6850 if { { case "(($ac_try" in
6851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6852   *) ac_try_echo=$ac_try;;
6853 esac
6854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6855 $as_echo "$ac_try_echo"; } >&5
6856   (eval "$ac_try") 2>&5
6857   ac_status=$?
6858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6859   test $ac_status = 0; } &&
6860      test -f conftest2.$ac_objext &&
6861      { { case "(($ac_try" in
6862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6863   *) ac_try_echo=$ac_try;;
6864 esac
6865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6866 $as_echo "$ac_try_echo"; } >&5
6867   (eval "$ac_try") 2>&5
6868   ac_status=$?
6869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6870   test $ac_status = 0; }; then
6871   ac_cv_prog_cxx_c_o=yes
6872 else
6873   ac_cv_prog_cxx_c_o=no
6874 fi
6875 rm -f conftest*
6876 fi
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_c_o" >&5
6878 $as_echo "$ac_cv_prog_cxx_c_o" >&6; }
6879 if test $ac_cv_prog_cxx_c_o = no; then
6880
6881 $as_echo "#define CXX_NO_MINUS_C_MINUS_O 1" >>confdefs.h
6882
6883 fi
6884 ac_ext=c
6885 ac_cpp='$CPP $CPPFLAGS'
6886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6889
6890
6891 # Check for other compiler toolchain tools.
6892
6893 if test -n "$ac_tool_prefix"; then
6894   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6895 set dummy ${ac_tool_prefix}ar; ac_word=$2
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 $as_echo_n "checking for $ac_word... " >&6; }
6898 if ${ac_cv_prog_AR+:} false; then :
6899   $as_echo_n "(cached) " >&6
6900 else
6901   if test -n "$AR"; then
6902   ac_cv_prog_AR="$AR" # Let the user override the test.
6903 else
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 for as_dir in $PATH
6906 do
6907   IFS=$as_save_IFS
6908   test -z "$as_dir" && as_dir=.
6909     for ac_exec_ext in '' $ac_executable_extensions; do
6910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6911     ac_cv_prog_AR="${ac_tool_prefix}ar"
6912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6913     break 2
6914   fi
6915 done
6916   done
6917 IFS=$as_save_IFS
6918
6919 fi
6920 fi
6921 AR=$ac_cv_prog_AR
6922 if test -n "$AR"; then
6923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6924 $as_echo "$AR" >&6; }
6925 else
6926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927 $as_echo "no" >&6; }
6928 fi
6929
6930
6931 fi
6932 if test -z "$ac_cv_prog_AR"; then
6933   ac_ct_AR=$AR
6934   # Extract the first word of "ar", so it can be a program name with args.
6935 set dummy ar; ac_word=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6939   $as_echo_n "(cached) " >&6
6940 else
6941   if test -n "$ac_ct_AR"; then
6942   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6943 else
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 for as_dir in $PATH
6946 do
6947   IFS=$as_save_IFS
6948   test -z "$as_dir" && as_dir=.
6949     for ac_exec_ext in '' $ac_executable_extensions; do
6950   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6951     ac_cv_prog_ac_ct_AR="ar"
6952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6953     break 2
6954   fi
6955 done
6956   done
6957 IFS=$as_save_IFS
6958
6959 fi
6960 fi
6961 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6962 if test -n "$ac_ct_AR"; then
6963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6964 $as_echo "$ac_ct_AR" >&6; }
6965 else
6966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6968 fi
6969
6970   if test "x$ac_ct_AR" = x; then
6971     AR=""
6972   else
6973     case $cross_compiling:$ac_tool_warned in
6974 yes:)
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6977 ac_tool_warned=yes ;;
6978 esac
6979     AR=$ac_ct_AR
6980   fi
6981 else
6982   AR="$ac_cv_prog_AR"
6983 fi
6984
6985 if test -n "$ac_tool_prefix"; then
6986   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6987 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if ${ac_cv_prog_RANLIB+:} false; then :
6991   $as_echo_n "(cached) " >&6
6992 else
6993   if test -n "$RANLIB"; then
6994   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6995 else
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 for as_dir in $PATH
6998 do
6999   IFS=$as_save_IFS
7000   test -z "$as_dir" && as_dir=.
7001     for ac_exec_ext in '' $ac_executable_extensions; do
7002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7003     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7005     break 2
7006   fi
7007 done
7008   done
7009 IFS=$as_save_IFS
7010
7011 fi
7012 fi
7013 RANLIB=$ac_cv_prog_RANLIB
7014 if test -n "$RANLIB"; then
7015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7016 $as_echo "$RANLIB" >&6; }
7017 else
7018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019 $as_echo "no" >&6; }
7020 fi
7021
7022
7023 fi
7024 if test -z "$ac_cv_prog_RANLIB"; then
7025   ac_ct_RANLIB=$RANLIB
7026   # Extract the first word of "ranlib", so it can be a program name with args.
7027 set dummy ranlib; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7031   $as_echo_n "(cached) " >&6
7032 else
7033   if test -n "$ac_ct_RANLIB"; then
7034   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7035 else
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 for as_dir in $PATH
7038 do
7039   IFS=$as_save_IFS
7040   test -z "$as_dir" && as_dir=.
7041     for ac_exec_ext in '' $ac_executable_extensions; do
7042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043     ac_cv_prog_ac_ct_RANLIB="ranlib"
7044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045     break 2
7046   fi
7047 done
7048   done
7049 IFS=$as_save_IFS
7050
7051 fi
7052 fi
7053 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7054 if test -n "$ac_ct_RANLIB"; then
7055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7056 $as_echo "$ac_ct_RANLIB" >&6; }
7057 else
7058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7060 fi
7061
7062   if test "x$ac_ct_RANLIB" = x; then
7063     RANLIB=""
7064   else
7065     case $cross_compiling:$ac_tool_warned in
7066 yes:)
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7069 ac_tool_warned=yes ;;
7070 esac
7071     RANLIB=$ac_ct_RANLIB
7072   fi
7073 else
7074   RANLIB="$ac_cv_prog_RANLIB"
7075 fi
7076
7077 if test -n "$ac_tool_prefix"; then
7078   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if ${ac_cv_prog_OBJCOPY+:} false; then :
7083   $as_echo_n "(cached) " >&6
7084 else
7085   if test -n "$OBJCOPY"; then
7086   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7087 else
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 for as_dir in $PATH
7090 do
7091   IFS=$as_save_IFS
7092   test -z "$as_dir" && as_dir=.
7093     for ac_exec_ext in '' $ac_executable_extensions; do
7094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7095     ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
7096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097     break 2
7098   fi
7099 done
7100   done
7101 IFS=$as_save_IFS
7102
7103 fi
7104 fi
7105 OBJCOPY=$ac_cv_prog_OBJCOPY
7106 if test -n "$OBJCOPY"; then
7107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
7108 $as_echo "$OBJCOPY" >&6; }
7109 else
7110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7112 fi
7113
7114
7115 fi
7116 if test -z "$ac_cv_prog_OBJCOPY"; then
7117   ac_ct_OBJCOPY=$OBJCOPY
7118   # Extract the first word of "objcopy", so it can be a program name with args.
7119 set dummy objcopy; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 $as_echo_n "checking for $ac_word... " >&6; }
7122 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
7123   $as_echo_n "(cached) " >&6
7124 else
7125   if test -n "$ac_ct_OBJCOPY"; then
7126   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
7127 else
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 for as_dir in $PATH
7130 do
7131   IFS=$as_save_IFS
7132   test -z "$as_dir" && as_dir=.
7133     for ac_exec_ext in '' $ac_executable_extensions; do
7134   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7135     ac_cv_prog_ac_ct_OBJCOPY="objcopy"
7136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137     break 2
7138   fi
7139 done
7140   done
7141 IFS=$as_save_IFS
7142
7143 fi
7144 fi
7145 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
7146 if test -n "$ac_ct_OBJCOPY"; then
7147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
7148 $as_echo "$ac_ct_OBJCOPY" >&6; }
7149 else
7150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7152 fi
7153
7154   if test "x$ac_ct_OBJCOPY" = x; then
7155     OBJCOPY=""
7156   else
7157     case $cross_compiling:$ac_tool_warned in
7158 yes:)
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7161 ac_tool_warned=yes ;;
7162 esac
7163     OBJCOPY=$ac_ct_OBJCOPY
7164   fi
7165 else
7166   OBJCOPY="$ac_cv_prog_OBJCOPY"
7167 fi
7168
7169 if test -n "$ac_tool_prefix"; then
7170   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7171 set dummy ${ac_tool_prefix}strip; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_STRIP+:} false; then :
7175   $as_echo_n "(cached) " >&6
7176 else
7177   if test -n "$STRIP"; then
7178   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7179 else
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 for as_dir in $PATH
7182 do
7183   IFS=$as_save_IFS
7184   test -z "$as_dir" && as_dir=.
7185     for ac_exec_ext in '' $ac_executable_extensions; do
7186   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7187     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7189     break 2
7190   fi
7191 done
7192   done
7193 IFS=$as_save_IFS
7194
7195 fi
7196 fi
7197 STRIP=$ac_cv_prog_STRIP
7198 if test -n "$STRIP"; then
7199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7200 $as_echo "$STRIP" >&6; }
7201 else
7202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7204 fi
7205
7206
7207 fi
7208 if test -z "$ac_cv_prog_STRIP"; then
7209   ac_ct_STRIP=$STRIP
7210   # Extract the first word of "strip", so it can be a program name with args.
7211 set dummy strip; ac_word=$2
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213 $as_echo_n "checking for $ac_word... " >&6; }
7214 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7215   $as_echo_n "(cached) " >&6
7216 else
7217   if test -n "$ac_ct_STRIP"; then
7218   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7219 else
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 for as_dir in $PATH
7222 do
7223   IFS=$as_save_IFS
7224   test -z "$as_dir" && as_dir=.
7225     for ac_exec_ext in '' $ac_executable_extensions; do
7226   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7227     ac_cv_prog_ac_ct_STRIP="strip"
7228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7229     break 2
7230   fi
7231 done
7232   done
7233 IFS=$as_save_IFS
7234
7235 fi
7236 fi
7237 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7238 if test -n "$ac_ct_STRIP"; then
7239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7240 $as_echo "$ac_ct_STRIP" >&6; }
7241 else
7242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7243 $as_echo "no" >&6; }
7244 fi
7245
7246   if test "x$ac_ct_STRIP" = x; then
7247     STRIP=""
7248   else
7249     case $cross_compiling:$ac_tool_warned in
7250 yes:)
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7253 ac_tool_warned=yes ;;
7254 esac
7255     STRIP=$ac_ct_STRIP
7256   fi
7257 else
7258   STRIP="$ac_cv_prog_STRIP"
7259 fi
7260
7261
7262 # Check for other host tools.
7263
7264
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7266 $as_echo_n "checking whether ln -s works... " >&6; }
7267 LN_S=$as_ln_s
7268 if test "$LN_S" = "ln -s"; then
7269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7270 $as_echo "yes" >&6; }
7271 else
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7273 $as_echo "no, using $LN_S" >&6; }
7274 fi
7275
7276
7277 # Extract the first word of "cmp", so it can be a program name with args.
7278 set dummy cmp; ac_word=$2
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7280 $as_echo_n "checking for $ac_word... " >&6; }
7281 if ${ac_cv_path_CMP+:} false; then :
7282   $as_echo_n "(cached) " >&6
7283 else
7284   case $CMP in
7285   [\\/]* | ?:[\\/]*)
7286   ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
7287   ;;
7288   *)
7289   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7290 for as_dir in $PATH
7291 do
7292   IFS=$as_save_IFS
7293   test -z "$as_dir" && as_dir=.
7294     for ac_exec_ext in '' $ac_executable_extensions; do
7295   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7296     ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
7297     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7298     break 2
7299   fi
7300 done
7301   done
7302 IFS=$as_save_IFS
7303
7304   ;;
7305 esac
7306 fi
7307 CMP=$ac_cv_path_CMP
7308 if test -n "$CMP"; then
7309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5
7310 $as_echo "$CMP" >&6; }
7311 else
7312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7314 fi
7315
7316
7317 # Extract the first word of "perl", so it can be a program name with args.
7318 set dummy perl; ac_word=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if ${ac_cv_path_PERL+:} false; then :
7322   $as_echo_n "(cached) " >&6
7323 else
7324   case $PERL in
7325   [\\/]* | ?:[\\/]*)
7326   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
7327   ;;
7328   *)
7329   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 for as_dir in $PATH
7331 do
7332   IFS=$as_save_IFS
7333   test -z "$as_dir" && as_dir=.
7334     for ac_exec_ext in '' $ac_executable_extensions; do
7335   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
7337     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338     break 2
7339   fi
7340 done
7341   done
7342 IFS=$as_save_IFS
7343
7344   ;;
7345 esac
7346 fi
7347 PERL=$ac_cv_path_PERL
7348 if test -n "$PERL"; then
7349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
7350 $as_echo "$PERL" >&6; }
7351 else
7352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7354 fi
7355
7356
7357
7358 #
7359 # Checks for specific preprocessor and compiler characteristics
7360 #
7361
7362 #
7363 # Common preprocessor flags we would like to have.
7364 #
7365 #   -isystem ${top_srcdir}/include/stdc
7366 #
7367 # We use -isystem, if available, to check the Standard C Library
7368 # assert() and assert.h workalike macro and header, respectively,
7369 # functionality by forcing the preprocessor to pick-up this package's
7370 # provisions for this rather than the toolchain's.
7371 #
7372
7373 PROSPECTIVE_CPPFLAG="-isystem \${top_srcdir}/include/stdc"
7374
7375
7376
7377
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 preprocessor understands ${PROSPECTIVE_CPPFLAG}" >&5
7386 $as_echo_n "checking whether the C preprocessor understands ${PROSPECTIVE_CPPFLAG}... " >&6; }
7387     SAVE_CPPFLAGS=${CPPFLAGS}
7388     SAVE_ISYSTEM_CPPFLAGS=${ISYSTEM_CPPFLAGS}
7389     CPPFLAGS=${PROSPECTIVE_CPPFLAG}
7390     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7391 /* end confdefs.h.  */
7392
7393 _ACEOF
7394 if ac_fn_c_try_cpp "$LINENO"; then :
7395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7396 $as_echo "yes" >&6; }; CPPFLAGS="${SAVE_CPPFLAGS}"; ISYSTEM_CPPFLAGS="${SAVE_ISYSTEM_CPPFLAGS} ${PROSPECTIVE_CPPFLAG}"
7397 else
7398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7399 $as_echo "no" >&6; }; CPPFLAGS=${SAVE_CPPFLAGS}; ISYSTEM_CPPFLAGS=${SAVE_ISYSTEM_CPPFLAGS}
7400 fi
7401 rm -f conftest.err conftest.i conftest.$ac_ext;
7402     unset SAVE_CPPFLAGS
7403     unset SAVE_ISYSTEM_CPPFLAGS
7404     ac_ext=c
7405 ac_cpp='$CPP $CPPFLAGS'
7406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7409
7410
7411
7412
7413
7414
7415 if test "x${ISYSTEM_CPPFLAGS}" != "x"; then
7416
7417 $as_echo "#define NLASSERT_TEST_STDC 1" >>confdefs.h
7418
7419 fi
7420
7421 #
7422 # Common compiler flags we would like to have.
7423 #
7424 #   -Wall                        CC
7425 #
7426
7427 PROSPECTIVE_CFLAGS="-Wall"
7428
7429
7430
7431             for ax_compiler_option in ${PROSPECTIVE_CFLAGS}; do
7432
7433     ac_ext=c
7434 ac_cpp='$CPP $CPPFLAGS'
7435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7438
7439     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler understands $ax_compiler_option" >&5
7440 $as_echo_n "checking whether the C compiler understands $ax_compiler_option... " >&6; }
7441     SAVE_CFLAGS=${CFLAGS}
7442     CFLAGS=$ax_compiler_option
7443     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h.  */
7445
7446 int
7447 main ()
7448 {
7449 ;
7450   ;
7451   return 0;
7452 }
7453 _ACEOF
7454 if ac_fn_c_try_compile "$LINENO"; then :
7455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7456 $as_echo "yes" >&6; }; CFLAGS="${SAVE_CFLAGS} $ax_compiler_option"
7457 else
7458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7459 $as_echo "no" >&6; }; CFLAGS=${SAVE_CFLAGS}
7460 fi
7461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
7462     unset SAVE_CFLAGS
7463     ac_ext=c
7464 ac_cpp='$CPP $CPPFLAGS'
7465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7468
7469
7470             done
7471
7472
7473
7474 # Check for and initialize libtool
7475
7476 case `pwd` in
7477   *\ * | *\     *)
7478     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7479 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7480 esac
7481
7482
7483
7484 macro_version='2.4.2'
7485 macro_revision='1.3337'
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499 ltmain="$ac_aux_dir/ltmain.sh"
7500
7501 # Backslashify metacharacters that are still active within
7502 # double-quoted strings.
7503 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7504
7505 # Same as above, but do not quote variable references.
7506 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7507
7508 # Sed substitution to delay expansion of an escaped shell variable in a
7509 # double_quote_subst'ed string.
7510 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7511
7512 # Sed substitution to delay expansion of an escaped single quote.
7513 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7514
7515 # Sed substitution to avoid accidental globbing in evaled expressions
7516 no_glob_subst='s/\*/\\\*/g'
7517
7518 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7519 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7520 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7521
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7523 $as_echo_n "checking how to print strings... " >&6; }
7524 # Test print first, because it will be a builtin if present.
7525 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7526    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7527   ECHO='print -r --'
7528 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7529   ECHO='printf %s\n'
7530 else
7531   # Use this function as a fallback that always works.
7532   func_fallback_echo ()
7533   {
7534     eval 'cat <<_LTECHO_EOF
7535 $1
7536 _LTECHO_EOF'
7537   }
7538   ECHO='func_fallback_echo'
7539 fi
7540
7541 # func_echo_all arg...
7542 # Invoke $ECHO with all args, space-separated.
7543 func_echo_all ()
7544 {
7545     $ECHO ""
7546 }
7547
7548 case "$ECHO" in
7549   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7550 $as_echo "printf" >&6; } ;;
7551   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7552 $as_echo "print -r" >&6; } ;;
7553   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7554 $as_echo "cat" >&6; } ;;
7555 esac
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7571 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7572 if ${ac_cv_path_SED+:} false; then :
7573   $as_echo_n "(cached) " >&6
7574 else
7575             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7576      for ac_i in 1 2 3 4 5 6 7; do
7577        ac_script="$ac_script$as_nl$ac_script"
7578      done
7579      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7580      { ac_script=; unset ac_script;}
7581      if test -z "$SED"; then
7582   ac_path_SED_found=false
7583   # Loop through the user's path and test for each of PROGNAME-LIST
7584   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7585 for as_dir in $PATH
7586 do
7587   IFS=$as_save_IFS
7588   test -z "$as_dir" && as_dir=.
7589     for ac_prog in sed gsed; do
7590     for ac_exec_ext in '' $ac_executable_extensions; do
7591       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7592       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7593 # Check for GNU ac_path_SED and select it if it is found.
7594   # Check for GNU $ac_path_SED
7595 case `"$ac_path_SED" --version 2>&1` in
7596 *GNU*)
7597   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7598 *)
7599   ac_count=0
7600   $as_echo_n 0123456789 >"conftest.in"
7601   while :
7602   do
7603     cat "conftest.in" "conftest.in" >"conftest.tmp"
7604     mv "conftest.tmp" "conftest.in"
7605     cp "conftest.in" "conftest.nl"
7606     $as_echo '' >> "conftest.nl"
7607     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7608     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7609     as_fn_arith $ac_count + 1 && ac_count=$as_val
7610     if test $ac_count -gt ${ac_path_SED_max-0}; then
7611       # Best one so far, save it but keep looking for a better one
7612       ac_cv_path_SED="$ac_path_SED"
7613       ac_path_SED_max=$ac_count
7614     fi
7615     # 10*(2^10) chars as input seems more than enough
7616     test $ac_count -gt 10 && break
7617   done
7618   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7619 esac
7620
7621       $ac_path_SED_found && break 3
7622     done
7623   done
7624   done
7625 IFS=$as_save_IFS
7626   if test -z "$ac_cv_path_SED"; then
7627     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7628   fi
7629 else
7630   ac_cv_path_SED=$SED
7631 fi
7632
7633 fi
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7635 $as_echo "$ac_cv_path_SED" >&6; }
7636  SED="$ac_cv_path_SED"
7637   rm -f conftest.sed
7638
7639 test -z "$SED" && SED=sed
7640 Xsed="$SED -e 1s/^X//"
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7653 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7654 if ${ac_cv_path_GREP+:} false; then :
7655   $as_echo_n "(cached) " >&6
7656 else
7657   if test -z "$GREP"; then
7658   ac_path_GREP_found=false
7659   # Loop through the user's path and test for each of PROGNAME-LIST
7660   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7661 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7662 do
7663   IFS=$as_save_IFS
7664   test -z "$as_dir" && as_dir=.
7665     for ac_prog in grep ggrep; do
7666     for ac_exec_ext in '' $ac_executable_extensions; do
7667       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7668       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7669 # Check for GNU ac_path_GREP and select it if it is found.
7670   # Check for GNU $ac_path_GREP
7671 case `"$ac_path_GREP" --version 2>&1` in
7672 *GNU*)
7673   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7674 *)
7675   ac_count=0
7676   $as_echo_n 0123456789 >"conftest.in"
7677   while :
7678   do
7679     cat "conftest.in" "conftest.in" >"conftest.tmp"
7680     mv "conftest.tmp" "conftest.in"
7681     cp "conftest.in" "conftest.nl"
7682     $as_echo 'GREP' >> "conftest.nl"
7683     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7684     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7685     as_fn_arith $ac_count + 1 && ac_count=$as_val
7686     if test $ac_count -gt ${ac_path_GREP_max-0}; then
7687       # Best one so far, save it but keep looking for a better one
7688       ac_cv_path_GREP="$ac_path_GREP"
7689       ac_path_GREP_max=$ac_count
7690     fi
7691     # 10*(2^10) chars as input seems more than enough
7692     test $ac_count -gt 10 && break
7693   done
7694   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7695 esac
7696
7697       $ac_path_GREP_found && break 3
7698     done
7699   done
7700   done
7701 IFS=$as_save_IFS
7702   if test -z "$ac_cv_path_GREP"; then
7703     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7704   fi
7705 else
7706   ac_cv_path_GREP=$GREP
7707 fi
7708
7709 fi
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7711 $as_echo "$ac_cv_path_GREP" >&6; }
7712  GREP="$ac_cv_path_GREP"
7713
7714
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7716 $as_echo_n "checking for egrep... " >&6; }
7717 if ${ac_cv_path_EGREP+:} false; then :
7718   $as_echo_n "(cached) " >&6
7719 else
7720   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7721    then ac_cv_path_EGREP="$GREP -E"
7722    else
7723      if test -z "$EGREP"; then
7724   ac_path_EGREP_found=false
7725   # Loop through the user's path and test for each of PROGNAME-LIST
7726   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7728 do
7729   IFS=$as_save_IFS
7730   test -z "$as_dir" && as_dir=.
7731     for ac_prog in egrep; do
7732     for ac_exec_ext in '' $ac_executable_extensions; do
7733       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7734       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7735 # Check for GNU ac_path_EGREP and select it if it is found.
7736   # Check for GNU $ac_path_EGREP
7737 case `"$ac_path_EGREP" --version 2>&1` in
7738 *GNU*)
7739   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7740 *)
7741   ac_count=0
7742   $as_echo_n 0123456789 >"conftest.in"
7743   while :
7744   do
7745     cat "conftest.in" "conftest.in" >"conftest.tmp"
7746     mv "conftest.tmp" "conftest.in"
7747     cp "conftest.in" "conftest.nl"
7748     $as_echo 'EGREP' >> "conftest.nl"
7749     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7750     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7751     as_fn_arith $ac_count + 1 && ac_count=$as_val
7752     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7753       # Best one so far, save it but keep looking for a better one
7754       ac_cv_path_EGREP="$ac_path_EGREP"
7755       ac_path_EGREP_max=$ac_count
7756     fi
7757     # 10*(2^10) chars as input seems more than enough
7758     test $ac_count -gt 10 && break
7759   done
7760   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7761 esac
7762
7763       $ac_path_EGREP_found && break 3
7764     done
7765   done
7766   done
7767 IFS=$as_save_IFS
7768   if test -z "$ac_cv_path_EGREP"; then
7769     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7770   fi
7771 else
7772   ac_cv_path_EGREP=$EGREP
7773 fi
7774
7775    fi
7776 fi
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7778 $as_echo "$ac_cv_path_EGREP" >&6; }
7779  EGREP="$ac_cv_path_EGREP"
7780
7781
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7783 $as_echo_n "checking for fgrep... " >&6; }
7784 if ${ac_cv_path_FGREP+:} false; then :
7785   $as_echo_n "(cached) " >&6
7786 else
7787   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7788    then ac_cv_path_FGREP="$GREP -F"
7789    else
7790      if test -z "$FGREP"; then
7791   ac_path_FGREP_found=false
7792   # Loop through the user's path and test for each of PROGNAME-LIST
7793   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7795 do
7796   IFS=$as_save_IFS
7797   test -z "$as_dir" && as_dir=.
7798     for ac_prog in fgrep; do
7799     for ac_exec_ext in '' $ac_executable_extensions; do
7800       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7801       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7802 # Check for GNU ac_path_FGREP and select it if it is found.
7803   # Check for GNU $ac_path_FGREP
7804 case `"$ac_path_FGREP" --version 2>&1` in
7805 *GNU*)
7806   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7807 *)
7808   ac_count=0
7809   $as_echo_n 0123456789 >"conftest.in"
7810   while :
7811   do
7812     cat "conftest.in" "conftest.in" >"conftest.tmp"
7813     mv "conftest.tmp" "conftest.in"
7814     cp "conftest.in" "conftest.nl"
7815     $as_echo 'FGREP' >> "conftest.nl"
7816     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7817     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7818     as_fn_arith $ac_count + 1 && ac_count=$as_val
7819     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7820       # Best one so far, save it but keep looking for a better one
7821       ac_cv_path_FGREP="$ac_path_FGREP"
7822       ac_path_FGREP_max=$ac_count
7823     fi
7824     # 10*(2^10) chars as input seems more than enough
7825     test $ac_count -gt 10 && break
7826   done
7827   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7828 esac
7829
7830       $ac_path_FGREP_found && break 3
7831     done
7832   done
7833   done
7834 IFS=$as_save_IFS
7835   if test -z "$ac_cv_path_FGREP"; then
7836     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7837   fi
7838 else
7839   ac_cv_path_FGREP=$FGREP
7840 fi
7841
7842    fi
7843 fi
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7845 $as_echo "$ac_cv_path_FGREP" >&6; }
7846  FGREP="$ac_cv_path_FGREP"
7847
7848
7849 test -z "$GREP" && GREP=grep
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869 # Check whether --with-gnu-ld was given.
7870 if test "${with_gnu_ld+set}" = set; then :
7871   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7872 else
7873   with_gnu_ld=no
7874 fi
7875
7876 ac_prog=ld
7877 if test "$GCC" = yes; then
7878   # Check if gcc -print-prog-name=ld gives a path.
7879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7880 $as_echo_n "checking for ld used by $CC... " >&6; }
7881   case $host in
7882   *-*-mingw*)
7883     # gcc leaves a trailing carriage return which upsets mingw
7884     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7885   *)
7886     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7887   esac
7888   case $ac_prog in
7889     # Accept absolute paths.
7890     [\\/]* | ?:[\\/]*)
7891       re_direlt='/[^/][^/]*/\.\./'
7892       # Canonicalize the pathname of ld
7893       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7894       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7895         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7896       done
7897       test -z "$LD" && LD="$ac_prog"
7898       ;;
7899   "")
7900     # If it fails, then pretend we aren't using GCC.
7901     ac_prog=ld
7902     ;;
7903   *)
7904     # If it is relative, then search for the first ld in PATH.
7905     with_gnu_ld=unknown
7906     ;;
7907   esac
7908 elif test "$with_gnu_ld" = yes; then
7909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7910 $as_echo_n "checking for GNU ld... " >&6; }
7911 else
7912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7913 $as_echo_n "checking for non-GNU ld... " >&6; }
7914 fi
7915 if ${lt_cv_path_LD+:} false; then :
7916   $as_echo_n "(cached) " >&6
7917 else
7918   if test -z "$LD"; then
7919   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7920   for ac_dir in $PATH; do
7921     IFS="$lt_save_ifs"
7922     test -z "$ac_dir" && ac_dir=.
7923     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7924       lt_cv_path_LD="$ac_dir/$ac_prog"
7925       # Check to see if the program is GNU ld.  I'd rather use --version,
7926       # but apparently some variants of GNU ld only accept -v.
7927       # Break only if it was the GNU/non-GNU ld that we prefer.
7928       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7929       *GNU* | *'with BFD'*)
7930         test "$with_gnu_ld" != no && break
7931         ;;
7932       *)
7933         test "$with_gnu_ld" != yes && break
7934         ;;
7935       esac
7936     fi
7937   done
7938   IFS="$lt_save_ifs"
7939 else
7940   lt_cv_path_LD="$LD" # Let the user override the test with a path.
7941 fi
7942 fi
7943
7944 LD="$lt_cv_path_LD"
7945 if test -n "$LD"; then
7946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7947 $as_echo "$LD" >&6; }
7948 else
7949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7951 fi
7952 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7954 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7955 if ${lt_cv_prog_gnu_ld+:} false; then :
7956   $as_echo_n "(cached) " >&6
7957 else
7958   # I'd rather use --version here, but apparently some GNU lds only accept -v.
7959 case `$LD -v 2>&1 </dev/null` in
7960 *GNU* | *'with BFD'*)
7961   lt_cv_prog_gnu_ld=yes
7962   ;;
7963 *)
7964   lt_cv_prog_gnu_ld=no
7965   ;;
7966 esac
7967 fi
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7969 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7970 with_gnu_ld=$lt_cv_prog_gnu_ld
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7981 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7982 if ${lt_cv_path_NM+:} false; then :
7983   $as_echo_n "(cached) " >&6
7984 else
7985   if test -n "$NM"; then
7986   # Let the user override the test.
7987   lt_cv_path_NM="$NM"
7988 else
7989   lt_nm_to_check="${ac_tool_prefix}nm"
7990   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7991     lt_nm_to_check="$lt_nm_to_check nm"
7992   fi
7993   for lt_tmp_nm in $lt_nm_to_check; do
7994     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7995     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7996       IFS="$lt_save_ifs"
7997       test -z "$ac_dir" && ac_dir=.
7998       tmp_nm="$ac_dir/$lt_tmp_nm"
7999       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8000         # Check to see if the nm accepts a BSD-compat flag.
8001         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8002         #   nm: unknown option "B" ignored
8003         # Tru64's nm complains that /dev/null is an invalid object file
8004         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8005         */dev/null* | *'Invalid file or object type'*)
8006           lt_cv_path_NM="$tmp_nm -B"
8007           break
8008           ;;
8009         *)
8010           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8011           */dev/null*)
8012             lt_cv_path_NM="$tmp_nm -p"
8013             break
8014             ;;
8015           *)
8016             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8017             continue # so that we can try to find one that supports BSD flags
8018             ;;
8019           esac
8020           ;;
8021         esac
8022       fi
8023     done
8024     IFS="$lt_save_ifs"
8025   done
8026   : ${lt_cv_path_NM=no}
8027 fi
8028 fi
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8030 $as_echo "$lt_cv_path_NM" >&6; }
8031 if test "$lt_cv_path_NM" != "no"; then
8032   NM="$lt_cv_path_NM"
8033 else
8034   # Didn't find any BSD compatible name lister, look for dumpbin.
8035   if test -n "$DUMPBIN"; then :
8036     # Let the user override the test.
8037   else
8038     if test -n "$ac_tool_prefix"; then
8039   for ac_prog in dumpbin "link -dump"
8040   do
8041     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044 $as_echo_n "checking for $ac_word... " >&6; }
8045 if ${ac_cv_prog_DUMPBIN+:} false; then :
8046   $as_echo_n "(cached) " >&6
8047 else
8048   if test -n "$DUMPBIN"; then
8049   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8050 else
8051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 for as_dir in $PATH
8053 do
8054   IFS=$as_save_IFS
8055   test -z "$as_dir" && as_dir=.
8056     for ac_exec_ext in '' $ac_executable_extensions; do
8057   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8058     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060     break 2
8061   fi
8062 done
8063   done
8064 IFS=$as_save_IFS
8065
8066 fi
8067 fi
8068 DUMPBIN=$ac_cv_prog_DUMPBIN
8069 if test -n "$DUMPBIN"; then
8070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8071 $as_echo "$DUMPBIN" >&6; }
8072 else
8073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8075 fi
8076
8077
8078     test -n "$DUMPBIN" && break
8079   done
8080 fi
8081 if test -z "$DUMPBIN"; then
8082   ac_ct_DUMPBIN=$DUMPBIN
8083   for ac_prog in dumpbin "link -dump"
8084 do
8085   # Extract the first word of "$ac_prog", so it can be a program name with args.
8086 set dummy $ac_prog; ac_word=$2
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8088 $as_echo_n "checking for $ac_word... " >&6; }
8089 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
8090   $as_echo_n "(cached) " >&6
8091 else
8092   if test -n "$ac_ct_DUMPBIN"; then
8093   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8094 else
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8096 for as_dir in $PATH
8097 do
8098   IFS=$as_save_IFS
8099   test -z "$as_dir" && as_dir=.
8100     for ac_exec_ext in '' $ac_executable_extensions; do
8101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8102     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104     break 2
8105   fi
8106 done
8107   done
8108 IFS=$as_save_IFS
8109
8110 fi
8111 fi
8112 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8113 if test -n "$ac_ct_DUMPBIN"; then
8114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8115 $as_echo "$ac_ct_DUMPBIN" >&6; }
8116 else
8117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118 $as_echo "no" >&6; }
8119 fi
8120
8121
8122   test -n "$ac_ct_DUMPBIN" && break
8123 done
8124
8125   if test "x$ac_ct_DUMPBIN" = x; then
8126     DUMPBIN=":"
8127   else
8128     case $cross_compiling:$ac_tool_warned in
8129 yes:)
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8132 ac_tool_warned=yes ;;
8133 esac
8134     DUMPBIN=$ac_ct_DUMPBIN
8135   fi
8136 fi
8137
8138     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8139     *COFF*)
8140       DUMPBIN="$DUMPBIN -symbols"
8141       ;;
8142     *)
8143       DUMPBIN=:
8144       ;;
8145     esac
8146   fi
8147
8148   if test "$DUMPBIN" != ":"; then
8149     NM="$DUMPBIN"
8150   fi
8151 fi
8152 test -z "$NM" && NM=nm
8153
8154
8155
8156
8157
8158
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8160 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8161 if ${lt_cv_nm_interface+:} false; then :
8162   $as_echo_n "(cached) " >&6
8163 else
8164   lt_cv_nm_interface="BSD nm"
8165   echo "int some_variable = 0;" > conftest.$ac_ext
8166   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8167   (eval "$ac_compile" 2>conftest.err)
8168   cat conftest.err >&5
8169   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8170   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8171   cat conftest.err >&5
8172   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8173   cat conftest.out >&5
8174   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8175     lt_cv_nm_interface="MS dumpbin"
8176   fi
8177   rm -f conftest*
8178 fi
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8180 $as_echo "$lt_cv_nm_interface" >&6; }
8181
8182 # find the maximum length of command line arguments
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8184 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8185 if ${lt_cv_sys_max_cmd_len+:} false; then :
8186   $as_echo_n "(cached) " >&6
8187 else
8188     i=0
8189   teststring="ABCD"
8190
8191   case $build_os in
8192   msdosdjgpp*)
8193     # On DJGPP, this test can blow up pretty badly due to problems in libc
8194     # (any single argument exceeding 2000 bytes causes a buffer overrun
8195     # during glob expansion).  Even if it were fixed, the result of this
8196     # check would be larger than it should be.
8197     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8198     ;;
8199
8200   gnu*)
8201     # Under GNU Hurd, this test is not required because there is
8202     # no limit to the length of command line arguments.
8203     # Libtool will interpret -1 as no limit whatsoever
8204     lt_cv_sys_max_cmd_len=-1;
8205     ;;
8206
8207   cygwin* | mingw* | cegcc*)
8208     # On Win9x/ME, this test blows up -- it succeeds, but takes
8209     # about 5 minutes as the teststring grows exponentially.
8210     # Worse, since 9x/ME are not pre-emptively multitasking,
8211     # you end up with a "frozen" computer, even though with patience
8212     # the test eventually succeeds (with a max line length of 256k).
8213     # Instead, let's just punt: use the minimum linelength reported by
8214     # all of the supported platforms: 8192 (on NT/2K/XP).
8215     lt_cv_sys_max_cmd_len=8192;
8216     ;;
8217
8218   mint*)
8219     # On MiNT this can take a long time and run out of memory.
8220     lt_cv_sys_max_cmd_len=8192;
8221     ;;
8222
8223   amigaos*)
8224     # On AmigaOS with pdksh, this test takes hours, literally.
8225     # So we just punt and use a minimum line length of 8192.
8226     lt_cv_sys_max_cmd_len=8192;
8227     ;;
8228
8229   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8230     # This has been around since 386BSD, at least.  Likely further.
8231     if test -x /sbin/sysctl; then
8232       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8233     elif test -x /usr/sbin/sysctl; then
8234       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8235     else
8236       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
8237     fi
8238     # And add a safety zone
8239     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8240     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8241     ;;
8242
8243   interix*)
8244     # We know the value 262144 and hardcode it with a safety zone (like BSD)
8245     lt_cv_sys_max_cmd_len=196608
8246     ;;
8247
8248   os2*)
8249     # The test takes a long time on OS/2.
8250     lt_cv_sys_max_cmd_len=8192
8251     ;;
8252
8253   osf*)
8254     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8255     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8256     # nice to cause kernel panics so lets avoid the loop below.
8257     # First set a reasonable default.
8258     lt_cv_sys_max_cmd_len=16384
8259     #
8260     if test -x /sbin/sysconfig; then
8261       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8262         *1*) lt_cv_sys_max_cmd_len=-1 ;;
8263       esac
8264     fi
8265     ;;
8266   sco3.2v5*)
8267     lt_cv_sys_max_cmd_len=102400
8268     ;;
8269   sysv5* | sco5v6* | sysv4.2uw2*)
8270     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8271     if test -n "$kargmax"; then
8272       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
8273     else
8274       lt_cv_sys_max_cmd_len=32768
8275     fi
8276     ;;
8277   *)
8278     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8279     if test -n "$lt_cv_sys_max_cmd_len"; then
8280       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8281       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8282     else
8283       # Make teststring a little bigger before we do anything with it.
8284       # a 1K string should be a reasonable start.
8285       for i in 1 2 3 4 5 6 7 8 ; do
8286         teststring=$teststring$teststring
8287       done
8288       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8289       # If test is not a shell built-in, we'll probably end up computing a
8290       # maximum length that is only half of the actual maximum length, but
8291       # we can't tell.
8292       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
8293                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8294               test $i != 17 # 1/2 MB should be enough
8295       do
8296         i=`expr $i + 1`
8297         teststring=$teststring$teststring
8298       done
8299       # Only check the string length outside the loop.
8300       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8301       teststring=
8302       # Add a significant safety factor because C++ compilers can tack on
8303       # massive amounts of additional arguments before passing them to the
8304       # linker.  It appears as though 1/2 is a usable value.
8305       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8306     fi
8307     ;;
8308   esac
8309
8310 fi
8311
8312 if test -n $lt_cv_sys_max_cmd_len ; then
8313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8314 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8315 else
8316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8317 $as_echo "none" >&6; }
8318 fi
8319 max_cmd_len=$lt_cv_sys_max_cmd_len
8320
8321
8322
8323
8324
8325
8326 : ${CP="cp -f"}
8327 : ${MV="mv -f"}
8328 : ${RM="rm -f"}
8329
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8331 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8332 # Try some XSI features
8333 xsi_shell=no
8334 ( _lt_dummy="a/b/c"
8335   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8336       = c,a/b,b/c, \
8337     && eval 'test $(( 1 + 1 )) -eq 2 \
8338     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8339   && xsi_shell=yes
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8341 $as_echo "$xsi_shell" >&6; }
8342
8343
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8345 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8346 lt_shell_append=no
8347 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8348     >/dev/null 2>&1 \
8349   && lt_shell_append=yes
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8351 $as_echo "$lt_shell_append" >&6; }
8352
8353
8354 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8355   lt_unset=unset
8356 else
8357   lt_unset=false
8358 fi
8359
8360
8361
8362
8363
8364 # test EBCDIC or ASCII
8365 case `echo X|tr X '\101'` in
8366  A) # ASCII based system
8367     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8368   lt_SP2NL='tr \040 \012'
8369   lt_NL2SP='tr \015\012 \040\040'
8370   ;;
8371  *) # EBCDIC based system
8372   lt_SP2NL='tr \100 \n'
8373   lt_NL2SP='tr \r\n \100\100'
8374   ;;
8375 esac
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8386 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8387 if ${lt_cv_to_host_file_cmd+:} false; then :
8388   $as_echo_n "(cached) " >&6
8389 else
8390   case $host in
8391   *-*-mingw* )
8392     case $build in
8393       *-*-mingw* ) # actually msys
8394         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8395         ;;
8396       *-*-cygwin* )
8397         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8398         ;;
8399       * ) # otherwise, assume *nix
8400         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8401         ;;
8402     esac
8403     ;;
8404   *-*-cygwin* )
8405     case $build in
8406       *-*-mingw* ) # actually msys
8407         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8408         ;;
8409       *-*-cygwin* )
8410         lt_cv_to_host_file_cmd=func_convert_file_noop
8411         ;;
8412       * ) # otherwise, assume *nix
8413         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8414         ;;
8415     esac
8416     ;;
8417   * ) # unhandled hosts (and "normal" native builds)
8418     lt_cv_to_host_file_cmd=func_convert_file_noop
8419     ;;
8420 esac
8421
8422 fi
8423
8424 to_host_file_cmd=$lt_cv_to_host_file_cmd
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8426 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8427
8428
8429
8430
8431
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8433 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8434 if ${lt_cv_to_tool_file_cmd+:} false; then :
8435   $as_echo_n "(cached) " >&6
8436 else
8437   #assume ordinary cross tools, or native build.
8438 lt_cv_to_tool_file_cmd=func_convert_file_noop
8439 case $host in
8440   *-*-mingw* )
8441     case $build in
8442       *-*-mingw* ) # actually msys
8443         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8444         ;;
8445     esac
8446     ;;
8447 esac
8448
8449 fi
8450
8451 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8453 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8454
8455
8456
8457
8458
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8460 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8461 if ${lt_cv_ld_reload_flag+:} false; then :
8462   $as_echo_n "(cached) " >&6
8463 else
8464   lt_cv_ld_reload_flag='-r'
8465 fi
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8467 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8468 reload_flag=$lt_cv_ld_reload_flag
8469 case $reload_flag in
8470 "" | " "*) ;;
8471 *) reload_flag=" $reload_flag" ;;
8472 esac
8473 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8474 case $host_os in
8475   cygwin* | mingw* | pw32* | cegcc*)
8476     if test "$GCC" != yes; then
8477       reload_cmds=false
8478     fi
8479     ;;
8480   darwin*)
8481     if test "$GCC" = yes; then
8482       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8483     else
8484       reload_cmds='$LD$reload_flag -o $output$reload_objs'
8485     fi
8486     ;;
8487 esac
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497 if test -n "$ac_tool_prefix"; then
8498   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8499 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8501 $as_echo_n "checking for $ac_word... " >&6; }
8502 if ${ac_cv_prog_OBJDUMP+:} false; then :
8503   $as_echo_n "(cached) " >&6
8504 else
8505   if test -n "$OBJDUMP"; then
8506   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8507 else
8508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8509 for as_dir in $PATH
8510 do
8511   IFS=$as_save_IFS
8512   test -z "$as_dir" && as_dir=.
8513     for ac_exec_ext in '' $ac_executable_extensions; do
8514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8515     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8517     break 2
8518   fi
8519 done
8520   done
8521 IFS=$as_save_IFS
8522
8523 fi
8524 fi
8525 OBJDUMP=$ac_cv_prog_OBJDUMP
8526 if test -n "$OBJDUMP"; then
8527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8528 $as_echo "$OBJDUMP" >&6; }
8529 else
8530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8531 $as_echo "no" >&6; }
8532 fi
8533
8534
8535 fi
8536 if test -z "$ac_cv_prog_OBJDUMP"; then
8537   ac_ct_OBJDUMP=$OBJDUMP
8538   # Extract the first word of "objdump", so it can be a program name with args.
8539 set dummy objdump; ac_word=$2
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8541 $as_echo_n "checking for $ac_word... " >&6; }
8542 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8543   $as_echo_n "(cached) " >&6
8544 else
8545   if test -n "$ac_ct_OBJDUMP"; then
8546   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8547 else
8548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8549 for as_dir in $PATH
8550 do
8551   IFS=$as_save_IFS
8552   test -z "$as_dir" && as_dir=.
8553     for ac_exec_ext in '' $ac_executable_extensions; do
8554   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8555     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8557     break 2
8558   fi
8559 done
8560   done
8561 IFS=$as_save_IFS
8562
8563 fi
8564 fi
8565 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8566 if test -n "$ac_ct_OBJDUMP"; then
8567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8568 $as_echo "$ac_ct_OBJDUMP" >&6; }
8569 else
8570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8571 $as_echo "no" >&6; }
8572 fi
8573
8574   if test "x$ac_ct_OBJDUMP" = x; then
8575     OBJDUMP="false"
8576   else
8577     case $cross_compiling:$ac_tool_warned in
8578 yes:)
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8581 ac_tool_warned=yes ;;
8582 esac
8583     OBJDUMP=$ac_ct_OBJDUMP
8584   fi
8585 else
8586   OBJDUMP="$ac_cv_prog_OBJDUMP"
8587 fi
8588
8589 test -z "$OBJDUMP" && OBJDUMP=objdump
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8600 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8601 if ${lt_cv_deplibs_check_method+:} false; then :
8602   $as_echo_n "(cached) " >&6
8603 else
8604   lt_cv_file_magic_cmd='$MAGIC_CMD'
8605 lt_cv_file_magic_test_file=
8606 lt_cv_deplibs_check_method='unknown'
8607 # Need to set the preceding variable on all platforms that support
8608 # interlibrary dependencies.
8609 # 'none' -- dependencies not supported.
8610 # `unknown' -- same as none, but documents that we really don't know.
8611 # 'pass_all' -- all dependencies passed with no checks.
8612 # 'test_compile' -- check by making test program.
8613 # 'file_magic [[regex]]' -- check by looking for files in library path
8614 # which responds to the $file_magic_cmd with a given extended regex.
8615 # If you have `file' or equivalent on your system and you're not sure
8616 # whether `pass_all' will *always* work, you probably want this one.
8617
8618 case $host_os in
8619 aix[4-9]*)
8620   lt_cv_deplibs_check_method=pass_all
8621   ;;
8622
8623 beos*)
8624   lt_cv_deplibs_check_method=pass_all
8625   ;;
8626
8627 bsdi[45]*)
8628   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8629   lt_cv_file_magic_cmd='/usr/bin/file -L'
8630   lt_cv_file_magic_test_file=/shlib/libc.so
8631   ;;
8632
8633 cygwin*)
8634   # func_win32_libid is a shell function defined in ltmain.sh
8635   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8636   lt_cv_file_magic_cmd='func_win32_libid'
8637   ;;
8638
8639 mingw* | pw32*)
8640   # Base MSYS/MinGW do not provide the 'file' command needed by
8641   # func_win32_libid shell function, so use a weaker test based on 'objdump',
8642   # unless we find 'file', for example because we are cross-compiling.
8643   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8644   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8645     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8646     lt_cv_file_magic_cmd='func_win32_libid'
8647   else
8648     # Keep this pattern in sync with the one in func_win32_libid.
8649     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8650     lt_cv_file_magic_cmd='$OBJDUMP -f'
8651   fi
8652   ;;
8653
8654 cegcc*)
8655   # use the weaker test based on 'objdump'. See mingw*.
8656   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8657   lt_cv_file_magic_cmd='$OBJDUMP -f'
8658   ;;
8659
8660 darwin* | rhapsody*)
8661   lt_cv_deplibs_check_method=pass_all
8662   ;;
8663
8664 freebsd* | dragonfly*)
8665   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8666     case $host_cpu in
8667     i*86 )
8668       # Not sure whether the presence of OpenBSD here was a mistake.
8669       # Let's accept both of them until this is cleared up.
8670       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8671       lt_cv_file_magic_cmd=/usr/bin/file
8672       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8673       ;;
8674     esac
8675   else
8676     lt_cv_deplibs_check_method=pass_all
8677   fi
8678   ;;
8679
8680 gnu*)
8681   lt_cv_deplibs_check_method=pass_all
8682   ;;
8683
8684 haiku*)
8685   lt_cv_deplibs_check_method=pass_all
8686   ;;
8687
8688 hpux10.20* | hpux11*)
8689   lt_cv_file_magic_cmd=/usr/bin/file
8690   case $host_cpu in
8691   ia64*)
8692     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8693     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8694     ;;
8695   hppa*64*)
8696     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]'
8697     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8698     ;;
8699   *)
8700     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8701     lt_cv_file_magic_test_file=/usr/lib/libc.sl
8702     ;;
8703   esac
8704   ;;
8705
8706 interix[3-9]*)
8707   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8708   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8709   ;;
8710
8711 irix5* | irix6* | nonstopux*)
8712   case $LD in
8713   *-32|*"-32 ") libmagic=32-bit;;
8714   *-n32|*"-n32 ") libmagic=N32;;
8715   *-64|*"-64 ") libmagic=64-bit;;
8716   *) libmagic=never-match;;
8717   esac
8718   lt_cv_deplibs_check_method=pass_all
8719   ;;
8720
8721 # This must be glibc/ELF.
8722 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8723   lt_cv_deplibs_check_method=pass_all
8724   ;;
8725
8726 netbsd*)
8727   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8728     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8729   else
8730     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8731   fi
8732   ;;
8733
8734 newos6*)
8735   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8736   lt_cv_file_magic_cmd=/usr/bin/file
8737   lt_cv_file_magic_test_file=/usr/lib/libnls.so
8738   ;;
8739
8740 *nto* | *qnx*)
8741   lt_cv_deplibs_check_method=pass_all
8742   ;;
8743
8744 openbsd*)
8745   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8746     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8747   else
8748     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8749   fi
8750   ;;
8751
8752 osf3* | osf4* | osf5*)
8753   lt_cv_deplibs_check_method=pass_all
8754   ;;
8755
8756 rdos*)
8757   lt_cv_deplibs_check_method=pass_all
8758   ;;
8759
8760 solaris*)
8761   lt_cv_deplibs_check_method=pass_all
8762   ;;
8763
8764 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8765   lt_cv_deplibs_check_method=pass_all
8766   ;;
8767
8768 sysv4 | sysv4.3*)
8769   case $host_vendor in
8770   motorola)
8771     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]'
8772     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8773     ;;
8774   ncr)
8775     lt_cv_deplibs_check_method=pass_all
8776     ;;
8777   sequent)
8778     lt_cv_file_magic_cmd='/bin/file'
8779     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8780     ;;
8781   sni)
8782     lt_cv_file_magic_cmd='/bin/file'
8783     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8784     lt_cv_file_magic_test_file=/lib/libc.so
8785     ;;
8786   siemens)
8787     lt_cv_deplibs_check_method=pass_all
8788     ;;
8789   pc)
8790     lt_cv_deplibs_check_method=pass_all
8791     ;;
8792   esac
8793   ;;
8794
8795 tpf*)
8796   lt_cv_deplibs_check_method=pass_all
8797   ;;
8798 esac
8799
8800 fi
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8802 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8803
8804 file_magic_glob=
8805 want_nocaseglob=no
8806 if test "$build" = "$host"; then
8807   case $host_os in
8808   mingw* | pw32*)
8809     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8810       want_nocaseglob=yes
8811     else
8812       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8813     fi
8814     ;;
8815   esac
8816 fi
8817
8818 file_magic_cmd=$lt_cv_file_magic_cmd
8819 deplibs_check_method=$lt_cv_deplibs_check_method
8820 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843 if test -n "$ac_tool_prefix"; then
8844   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8845 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8847 $as_echo_n "checking for $ac_word... " >&6; }
8848 if ${ac_cv_prog_DLLTOOL+:} false; then :
8849   $as_echo_n "(cached) " >&6
8850 else
8851   if test -n "$DLLTOOL"; then
8852   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8853 else
8854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8855 for as_dir in $PATH
8856 do
8857   IFS=$as_save_IFS
8858   test -z "$as_dir" && as_dir=.
8859     for ac_exec_ext in '' $ac_executable_extensions; do
8860   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8861     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8862     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8863     break 2
8864   fi
8865 done
8866   done
8867 IFS=$as_save_IFS
8868
8869 fi
8870 fi
8871 DLLTOOL=$ac_cv_prog_DLLTOOL
8872 if test -n "$DLLTOOL"; then
8873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8874 $as_echo "$DLLTOOL" >&6; }
8875 else
8876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8877 $as_echo "no" >&6; }
8878 fi
8879
8880
8881 fi
8882 if test -z "$ac_cv_prog_DLLTOOL"; then
8883   ac_ct_DLLTOOL=$DLLTOOL
8884   # Extract the first word of "dlltool", so it can be a program name with args.
8885 set dummy dlltool; ac_word=$2
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8887 $as_echo_n "checking for $ac_word... " >&6; }
8888 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8889   $as_echo_n "(cached) " >&6
8890 else
8891   if test -n "$ac_ct_DLLTOOL"; then
8892   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8893 else
8894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8895 for as_dir in $PATH
8896 do
8897   IFS=$as_save_IFS
8898   test -z "$as_dir" && as_dir=.
8899     for ac_exec_ext in '' $ac_executable_extensions; do
8900   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8901     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8903     break 2
8904   fi
8905 done
8906   done
8907 IFS=$as_save_IFS
8908
8909 fi
8910 fi
8911 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8912 if test -n "$ac_ct_DLLTOOL"; then
8913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8914 $as_echo "$ac_ct_DLLTOOL" >&6; }
8915 else
8916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8917 $as_echo "no" >&6; }
8918 fi
8919
8920   if test "x$ac_ct_DLLTOOL" = x; then
8921     DLLTOOL="false"
8922   else
8923     case $cross_compiling:$ac_tool_warned in
8924 yes:)
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8927 ac_tool_warned=yes ;;
8928 esac
8929     DLLTOOL=$ac_ct_DLLTOOL
8930   fi
8931 else
8932   DLLTOOL="$ac_cv_prog_DLLTOOL"
8933 fi
8934
8935 test -z "$DLLTOOL" && DLLTOOL=dlltool
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8947 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8948 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8949   $as_echo_n "(cached) " >&6
8950 else
8951   lt_cv_sharedlib_from_linklib_cmd='unknown'
8952
8953 case $host_os in
8954 cygwin* | mingw* | pw32* | cegcc*)
8955   # two different shell functions defined in ltmain.sh
8956   # decide which to use based on capabilities of $DLLTOOL
8957   case `$DLLTOOL --help 2>&1` in
8958   *--identify-strict*)
8959     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8960     ;;
8961   *)
8962     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8963     ;;
8964   esac
8965   ;;
8966 *)
8967   # fallback: assume linklib IS sharedlib
8968   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8969   ;;
8970 esac
8971
8972 fi
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8974 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8975 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8976 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8977
8978
8979
8980
8981
8982
8983
8984 if test -n "$ac_tool_prefix"; then
8985   for ac_prog in ar
8986   do
8987     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8988 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8990 $as_echo_n "checking for $ac_word... " >&6; }
8991 if ${ac_cv_prog_AR+:} false; then :
8992   $as_echo_n "(cached) " >&6
8993 else
8994   if test -n "$AR"; then
8995   ac_cv_prog_AR="$AR" # Let the user override the test.
8996 else
8997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8998 for as_dir in $PATH
8999 do
9000   IFS=$as_save_IFS
9001   test -z "$as_dir" && as_dir=.
9002     for ac_exec_ext in '' $ac_executable_extensions; do
9003   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9004     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9006     break 2
9007   fi
9008 done
9009   done
9010 IFS=$as_save_IFS
9011
9012 fi
9013 fi
9014 AR=$ac_cv_prog_AR
9015 if test -n "$AR"; then
9016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9017 $as_echo "$AR" >&6; }
9018 else
9019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9020 $as_echo "no" >&6; }
9021 fi
9022
9023
9024     test -n "$AR" && break
9025   done
9026 fi
9027 if test -z "$AR"; then
9028   ac_ct_AR=$AR
9029   for ac_prog in ar
9030 do
9031   # Extract the first word of "$ac_prog", so it can be a program name with args.
9032 set dummy $ac_prog; ac_word=$2
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9034 $as_echo_n "checking for $ac_word... " >&6; }
9035 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9036   $as_echo_n "(cached) " >&6
9037 else
9038   if test -n "$ac_ct_AR"; then
9039   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9040 else
9041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9042 for as_dir in $PATH
9043 do
9044   IFS=$as_save_IFS
9045   test -z "$as_dir" && as_dir=.
9046     for ac_exec_ext in '' $ac_executable_extensions; do
9047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9048     ac_cv_prog_ac_ct_AR="$ac_prog"
9049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9050     break 2
9051   fi
9052 done
9053   done
9054 IFS=$as_save_IFS
9055
9056 fi
9057 fi
9058 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9059 if test -n "$ac_ct_AR"; then
9060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9061 $as_echo "$ac_ct_AR" >&6; }
9062 else
9063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9065 fi
9066
9067
9068   test -n "$ac_ct_AR" && break
9069 done
9070
9071   if test "x$ac_ct_AR" = x; then
9072     AR="false"
9073   else
9074     case $cross_compiling:$ac_tool_warned in
9075 yes:)
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9078 ac_tool_warned=yes ;;
9079 esac
9080     AR=$ac_ct_AR
9081   fi
9082 fi
9083
9084 : ${AR=ar}
9085 : ${AR_FLAGS=cru}
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9098 $as_echo_n "checking for archiver @FILE support... " >&6; }
9099 if ${lt_cv_ar_at_file+:} false; then :
9100   $as_echo_n "(cached) " >&6
9101 else
9102   lt_cv_ar_at_file=no
9103    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h.  */
9105
9106 int
9107 main ()
9108 {
9109
9110   ;
9111   return 0;
9112 }
9113 _ACEOF
9114 if ac_fn_c_try_compile "$LINENO"; then :
9115   echo conftest.$ac_objext > conftest.lst
9116       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9117       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9118   (eval $lt_ar_try) 2>&5
9119   ac_status=$?
9120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9121   test $ac_status = 0; }
9122       if test "$ac_status" -eq 0; then
9123         # Ensure the archiver fails upon bogus file names.
9124         rm -f conftest.$ac_objext libconftest.a
9125         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9126   (eval $lt_ar_try) 2>&5
9127   ac_status=$?
9128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9129   test $ac_status = 0; }
9130         if test "$ac_status" -ne 0; then
9131           lt_cv_ar_at_file=@
9132         fi
9133       fi
9134       rm -f conftest.* libconftest.a
9135
9136 fi
9137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9138
9139 fi
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9141 $as_echo "$lt_cv_ar_at_file" >&6; }
9142
9143 if test "x$lt_cv_ar_at_file" = xno; then
9144   archiver_list_spec=
9145 else
9146   archiver_list_spec=$lt_cv_ar_at_file
9147 fi
9148
9149
9150
9151
9152
9153
9154
9155 if test -n "$ac_tool_prefix"; then
9156   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9157 set dummy ${ac_tool_prefix}strip; ac_word=$2
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9159 $as_echo_n "checking for $ac_word... " >&6; }
9160 if ${ac_cv_prog_STRIP+:} false; then :
9161   $as_echo_n "(cached) " >&6
9162 else
9163   if test -n "$STRIP"; then
9164   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9165 else
9166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9167 for as_dir in $PATH
9168 do
9169   IFS=$as_save_IFS
9170   test -z "$as_dir" && as_dir=.
9171     for ac_exec_ext in '' $ac_executable_extensions; do
9172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9173     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9175     break 2
9176   fi
9177 done
9178   done
9179 IFS=$as_save_IFS
9180
9181 fi
9182 fi
9183 STRIP=$ac_cv_prog_STRIP
9184 if test -n "$STRIP"; then
9185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9186 $as_echo "$STRIP" >&6; }
9187 else
9188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9189 $as_echo "no" >&6; }
9190 fi
9191
9192
9193 fi
9194 if test -z "$ac_cv_prog_STRIP"; then
9195   ac_ct_STRIP=$STRIP
9196   # Extract the first word of "strip", so it can be a program name with args.
9197 set dummy strip; ac_word=$2
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9199 $as_echo_n "checking for $ac_word... " >&6; }
9200 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9201   $as_echo_n "(cached) " >&6
9202 else
9203   if test -n "$ac_ct_STRIP"; then
9204   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9205 else
9206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9207 for as_dir in $PATH
9208 do
9209   IFS=$as_save_IFS
9210   test -z "$as_dir" && as_dir=.
9211     for ac_exec_ext in '' $ac_executable_extensions; do
9212   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9213     ac_cv_prog_ac_ct_STRIP="strip"
9214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9215     break 2
9216   fi
9217 done
9218   done
9219 IFS=$as_save_IFS
9220
9221 fi
9222 fi
9223 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9224 if test -n "$ac_ct_STRIP"; then
9225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9226 $as_echo "$ac_ct_STRIP" >&6; }
9227 else
9228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9229 $as_echo "no" >&6; }
9230 fi
9231
9232   if test "x$ac_ct_STRIP" = x; then
9233     STRIP=":"
9234   else
9235     case $cross_compiling:$ac_tool_warned in
9236 yes:)
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9239 ac_tool_warned=yes ;;
9240 esac
9241     STRIP=$ac_ct_STRIP
9242   fi
9243 else
9244   STRIP="$ac_cv_prog_STRIP"
9245 fi
9246
9247 test -z "$STRIP" && STRIP=:
9248
9249
9250
9251
9252
9253
9254 if test -n "$ac_tool_prefix"; then
9255   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9256 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9258 $as_echo_n "checking for $ac_word... " >&6; }
9259 if ${ac_cv_prog_RANLIB+:} false; then :
9260   $as_echo_n "(cached) " >&6
9261 else
9262   if test -n "$RANLIB"; then
9263   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9264 else
9265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9266 for as_dir in $PATH
9267 do
9268   IFS=$as_save_IFS
9269   test -z "$as_dir" && as_dir=.
9270     for ac_exec_ext in '' $ac_executable_extensions; do
9271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9272     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9274     break 2
9275   fi
9276 done
9277   done
9278 IFS=$as_save_IFS
9279
9280 fi
9281 fi
9282 RANLIB=$ac_cv_prog_RANLIB
9283 if test -n "$RANLIB"; then
9284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9285 $as_echo "$RANLIB" >&6; }
9286 else
9287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9288 $as_echo "no" >&6; }
9289 fi
9290
9291
9292 fi
9293 if test -z "$ac_cv_prog_RANLIB"; then
9294   ac_ct_RANLIB=$RANLIB
9295   # Extract the first word of "ranlib", so it can be a program name with args.
9296 set dummy ranlib; ac_word=$2
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9298 $as_echo_n "checking for $ac_word... " >&6; }
9299 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9300   $as_echo_n "(cached) " >&6
9301 else
9302   if test -n "$ac_ct_RANLIB"; then
9303   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9304 else
9305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9306 for as_dir in $PATH
9307 do
9308   IFS=$as_save_IFS
9309   test -z "$as_dir" && as_dir=.
9310     for ac_exec_ext in '' $ac_executable_extensions; do
9311   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9312     ac_cv_prog_ac_ct_RANLIB="ranlib"
9313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9314     break 2
9315   fi
9316 done
9317   done
9318 IFS=$as_save_IFS
9319
9320 fi
9321 fi
9322 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9323 if test -n "$ac_ct_RANLIB"; then
9324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9325 $as_echo "$ac_ct_RANLIB" >&6; }
9326 else
9327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9328 $as_echo "no" >&6; }
9329 fi
9330
9331   if test "x$ac_ct_RANLIB" = x; then
9332     RANLIB=":"
9333   else
9334     case $cross_compiling:$ac_tool_warned in
9335 yes:)
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9338 ac_tool_warned=yes ;;
9339 esac
9340     RANLIB=$ac_ct_RANLIB
9341   fi
9342 else
9343   RANLIB="$ac_cv_prog_RANLIB"
9344 fi
9345
9346 test -z "$RANLIB" && RANLIB=:
9347
9348
9349
9350
9351
9352
9353 # Determine commands to create old-style static archives.
9354 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9355 old_postinstall_cmds='chmod 644 $oldlib'
9356 old_postuninstall_cmds=
9357
9358 if test -n "$RANLIB"; then
9359   case $host_os in
9360   openbsd*)
9361     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9362     ;;
9363   *)
9364     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9365     ;;
9366   esac
9367   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9368 fi
9369
9370 case $host_os in
9371   darwin*)
9372     lock_old_archive_extraction=yes ;;
9373   *)
9374     lock_old_archive_extraction=no ;;
9375 esac
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
9407
9408
9409
9410
9411
9412
9413
9414
9415 # If no C compiler was specified, use CC.
9416 LTCC=${LTCC-"$CC"}
9417
9418 # If no C compiler flags were specified, use CFLAGS.
9419 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9420
9421 # Allow CC to be a program name with arguments.
9422 compiler=$CC
9423
9424
9425 # Check for command to grab the raw symbol name followed by C symbol from nm.
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9427 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9428 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9429   $as_echo_n "(cached) " >&6
9430 else
9431
9432 # These are sane defaults that work on at least a few old systems.
9433 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9434
9435 # Character class describing NM global symbol codes.
9436 symcode='[BCDEGRST]'
9437
9438 # Regexp to match symbols that can be accessed directly from C.
9439 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9440
9441 # Define system-specific variables.
9442 case $host_os in
9443 aix*)
9444   symcode='[BCDT]'
9445   ;;
9446 cygwin* | mingw* | pw32* | cegcc*)
9447   symcode='[ABCDGISTW]'
9448   ;;
9449 hpux*)
9450   if test "$host_cpu" = ia64; then
9451     symcode='[ABCDEGRST]'
9452   fi
9453   ;;
9454 irix* | nonstopux*)
9455   symcode='[BCDEGRST]'
9456   ;;
9457 osf*)
9458   symcode='[BCDEGQRST]'
9459   ;;
9460 solaris*)
9461   symcode='[BDRT]'
9462   ;;
9463 sco3.2v5*)
9464   symcode='[DT]'
9465   ;;
9466 sysv4.2uw2*)
9467   symcode='[DT]'
9468   ;;
9469 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9470   symcode='[ABDT]'
9471   ;;
9472 sysv4)
9473   symcode='[DFNSTU]'
9474   ;;
9475 esac
9476
9477 # If we're using GNU nm, then use its standard symbol codes.
9478 case `$NM -V 2>&1` in
9479 *GNU* | *'with BFD'*)
9480   symcode='[ABCDGIRSTW]' ;;
9481 esac
9482
9483 # Transform an extracted symbol line into a proper C declaration.
9484 # Some systems (esp. on ia64) link data and code symbols differently,
9485 # so use this general approach.
9486 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9487
9488 # Transform an extracted symbol line into symbol name and symbol address
9489 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
9490 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'"
9491
9492 # Handle CRLF in mingw tool chain
9493 opt_cr=
9494 case $build_os in
9495 mingw*)
9496   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9497   ;;
9498 esac
9499
9500 # Try without a prefix underscore, then with it.
9501 for ac_symprfx in "" "_"; do
9502
9503   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9504   symxfrm="\\1 $ac_symprfx\\2 \\2"
9505
9506   # Write the raw and C identifiers.
9507   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9508     # Fake it for dumpbin and say T for any non-static function
9509     # and D for any global variable.
9510     # Also find C++ and __fastcall symbols from MSVC++,
9511     # which start with @ or ?.
9512     lt_cv_sys_global_symbol_pipe="$AWK '"\
9513 "     {last_section=section; section=\$ 3};"\
9514 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9515 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9516 "     \$ 0!~/External *\|/{next};"\
9517 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9518 "     {if(hide[section]) next};"\
9519 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9520 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9521 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
9522 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9523 "     ' prfx=^$ac_symprfx"
9524   else
9525     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9526   fi
9527   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9528
9529   # Check to see that the pipe works correctly.
9530   pipe_works=no
9531
9532   rm -f conftest*
9533   cat > conftest.$ac_ext <<_LT_EOF
9534 #ifdef __cplusplus
9535 extern "C" {
9536 #endif
9537 char nm_test_var;
9538 void nm_test_func(void);
9539 void nm_test_func(void){}
9540 #ifdef __cplusplus
9541 }
9542 #endif
9543 int main(){nm_test_var='a';nm_test_func();return(0);}
9544 _LT_EOF
9545
9546   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9547   (eval $ac_compile) 2>&5
9548   ac_status=$?
9549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9550   test $ac_status = 0; }; then
9551     # Now try to grab the symbols.
9552     nlist=conftest.nm
9553     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9554   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9555   ac_status=$?
9556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9557   test $ac_status = 0; } && test -s "$nlist"; then
9558       # Try sorting and uniquifying the output.
9559       if sort "$nlist" | uniq > "$nlist"T; then
9560         mv -f "$nlist"T "$nlist"
9561       else
9562         rm -f "$nlist"T
9563       fi
9564
9565       # Make sure that we snagged all the symbols we need.
9566       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9567         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9568           cat <<_LT_EOF > conftest.$ac_ext
9569 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
9570 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9571 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9572    relocations are performed -- see ld's documentation on pseudo-relocs.  */
9573 # define LT_DLSYM_CONST
9574 #elif defined(__osf__)
9575 /* This system does not cope well with relocations in const data.  */
9576 # define LT_DLSYM_CONST
9577 #else
9578 # define LT_DLSYM_CONST const
9579 #endif
9580
9581 #ifdef __cplusplus
9582 extern "C" {
9583 #endif
9584
9585 _LT_EOF
9586           # Now generate the symbol file.
9587           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9588
9589           cat <<_LT_EOF >> conftest.$ac_ext
9590
9591 /* The mapping between symbol names and symbols.  */
9592 LT_DLSYM_CONST struct {
9593   const char *name;
9594   void       *address;
9595 }
9596 lt__PROGRAM__LTX_preloaded_symbols[] =
9597 {
9598   { "@PROGRAM@", (void *) 0 },
9599 _LT_EOF
9600           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9601           cat <<\_LT_EOF >> conftest.$ac_ext
9602   {0, (void *) 0}
9603 };
9604
9605 /* This works around a problem in FreeBSD linker */
9606 #ifdef FREEBSD_WORKAROUND
9607 static const void *lt_preloaded_setup() {
9608   return lt__PROGRAM__LTX_preloaded_symbols;
9609 }
9610 #endif
9611
9612 #ifdef __cplusplus
9613 }
9614 #endif
9615 _LT_EOF
9616           # Now try linking the two files.
9617           mv conftest.$ac_objext conftstm.$ac_objext
9618           lt_globsym_save_LIBS=$LIBS
9619           lt_globsym_save_CFLAGS=$CFLAGS
9620           LIBS="conftstm.$ac_objext"
9621           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9622           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9623   (eval $ac_link) 2>&5
9624   ac_status=$?
9625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9626   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9627             pipe_works=yes
9628           fi
9629           LIBS=$lt_globsym_save_LIBS
9630           CFLAGS=$lt_globsym_save_CFLAGS
9631         else
9632           echo "cannot find nm_test_func in $nlist" >&5
9633         fi
9634       else
9635         echo "cannot find nm_test_var in $nlist" >&5
9636       fi
9637     else
9638       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9639     fi
9640   else
9641     echo "$progname: failed program was:" >&5
9642     cat conftest.$ac_ext >&5
9643   fi
9644   rm -rf conftest* conftst*
9645
9646   # Do not use the global_symbol_pipe unless it works.
9647   if test "$pipe_works" = yes; then
9648     break
9649   else
9650     lt_cv_sys_global_symbol_pipe=
9651   fi
9652 done
9653
9654 fi
9655
9656 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9657   lt_cv_sys_global_symbol_to_cdecl=
9658 fi
9659 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9661 $as_echo "failed" >&6; }
9662 else
9663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9664 $as_echo "ok" >&6; }
9665 fi
9666
9667 # Response file support.
9668 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9669   nm_file_list_spec='@'
9670 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9671   nm_file_list_spec='@'
9672 fi
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9701 $as_echo_n "checking for sysroot... " >&6; }
9702
9703 # Check whether --with-sysroot was given.
9704 if test "${with_sysroot+set}" = set; then :
9705   withval=$with_sysroot;
9706 else
9707   with_sysroot=no
9708 fi
9709
9710
9711 lt_sysroot=
9712 case ${with_sysroot} in #(
9713  yes)
9714    if test "$GCC" = yes; then
9715      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9716    fi
9717    ;; #(
9718  /*)
9719    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9720    ;; #(
9721  no|'')
9722    ;; #(
9723  *)
9724    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9725 $as_echo "${with_sysroot}" >&6; }
9726    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9727    ;;
9728 esac
9729
9730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9731 $as_echo "${lt_sysroot:-no}" >&6; }
9732
9733
9734
9735
9736
9737 # Check whether --enable-libtool-lock was given.
9738 if test "${enable_libtool_lock+set}" = set; then :
9739   enableval=$enable_libtool_lock;
9740 fi
9741
9742 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9743
9744 # Some flags need to be propagated to the compiler or linker for good
9745 # libtool support.
9746 case $host in
9747 ia64-*-hpux*)
9748   # Find out which ABI we are using.
9749   echo 'int i;' > conftest.$ac_ext
9750   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9751   (eval $ac_compile) 2>&5
9752   ac_status=$?
9753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9754   test $ac_status = 0; }; then
9755     case `/usr/bin/file conftest.$ac_objext` in
9756       *ELF-32*)
9757         HPUX_IA64_MODE="32"
9758         ;;
9759       *ELF-64*)
9760         HPUX_IA64_MODE="64"
9761         ;;
9762     esac
9763   fi
9764   rm -rf conftest*
9765   ;;
9766 *-*-irix6*)
9767   # Find out which ABI we are using.
9768   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9769   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9770   (eval $ac_compile) 2>&5
9771   ac_status=$?
9772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9773   test $ac_status = 0; }; then
9774     if test "$lt_cv_prog_gnu_ld" = yes; then
9775       case `/usr/bin/file conftest.$ac_objext` in
9776         *32-bit*)
9777           LD="${LD-ld} -melf32bsmip"
9778           ;;
9779         *N32*)
9780           LD="${LD-ld} -melf32bmipn32"
9781           ;;
9782         *64-bit*)
9783           LD="${LD-ld} -melf64bmip"
9784         ;;
9785       esac
9786     else
9787       case `/usr/bin/file conftest.$ac_objext` in
9788         *32-bit*)
9789           LD="${LD-ld} -32"
9790           ;;
9791         *N32*)
9792           LD="${LD-ld} -n32"
9793           ;;
9794         *64-bit*)
9795           LD="${LD-ld} -64"
9796           ;;
9797       esac
9798     fi
9799   fi
9800   rm -rf conftest*
9801   ;;
9802
9803 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9804 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9805   # Find out which ABI we are using.
9806   echo 'int i;' > conftest.$ac_ext
9807   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9808   (eval $ac_compile) 2>&5
9809   ac_status=$?
9810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9811   test $ac_status = 0; }; then
9812     case `/usr/bin/file conftest.o` in
9813       *32-bit*)
9814         case $host in
9815           x86_64-*kfreebsd*-gnu)
9816             LD="${LD-ld} -m elf_i386_fbsd"
9817             ;;
9818           x86_64-*linux*)
9819             LD="${LD-ld} -m elf_i386"
9820             ;;
9821           ppc64-*linux*|powerpc64-*linux*)
9822             LD="${LD-ld} -m elf32ppclinux"
9823             ;;
9824           s390x-*linux*)
9825             LD="${LD-ld} -m elf_s390"
9826             ;;
9827           sparc64-*linux*)
9828             LD="${LD-ld} -m elf32_sparc"
9829             ;;
9830         esac
9831         ;;
9832       *64-bit*)
9833         case $host in
9834           x86_64-*kfreebsd*-gnu)
9835             LD="${LD-ld} -m elf_x86_64_fbsd"
9836             ;;
9837           x86_64-*linux*)
9838             LD="${LD-ld} -m elf_x86_64"
9839             ;;
9840           ppc*-*linux*|powerpc*-*linux*)
9841             LD="${LD-ld} -m elf64ppc"
9842             ;;
9843           s390*-*linux*|s390*-*tpf*)
9844             LD="${LD-ld} -m elf64_s390"
9845             ;;
9846           sparc*-*linux*)
9847             LD="${LD-ld} -m elf64_sparc"
9848             ;;
9849         esac
9850         ;;
9851     esac
9852   fi
9853   rm -rf conftest*
9854   ;;
9855
9856 *-*-sco3.2v5*)
9857   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9858   SAVE_CFLAGS="$CFLAGS"
9859   CFLAGS="$CFLAGS -belf"
9860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9861 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9862 if ${lt_cv_cc_needs_belf+:} false; then :
9863   $as_echo_n "(cached) " >&6
9864 else
9865   ac_ext=c
9866 ac_cpp='$CPP $CPPFLAGS'
9867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9870
9871      if test x$ac_no_link = xyes; then
9872   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
9873 fi
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h.  */
9876
9877 int
9878 main ()
9879 {
9880
9881   ;
9882   return 0;
9883 }
9884 _ACEOF
9885 if ac_fn_c_try_link "$LINENO"; then :
9886   lt_cv_cc_needs_belf=yes
9887 else
9888   lt_cv_cc_needs_belf=no
9889 fi
9890 rm -f core conftest.err conftest.$ac_objext \
9891     conftest$ac_exeext conftest.$ac_ext
9892      ac_ext=c
9893 ac_cpp='$CPP $CPPFLAGS'
9894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9897
9898 fi
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9900 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9901   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9902     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9903     CFLAGS="$SAVE_CFLAGS"
9904   fi
9905   ;;
9906 *-*solaris*)
9907   # Find out which ABI we are using.
9908   echo 'int i;' > conftest.$ac_ext
9909   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9910   (eval $ac_compile) 2>&5
9911   ac_status=$?
9912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9913   test $ac_status = 0; }; then
9914     case `/usr/bin/file conftest.o` in
9915     *64-bit*)
9916       case $lt_cv_prog_gnu_ld in
9917       yes*)
9918         case $host in
9919         i?86-*-solaris*)
9920           LD="${LD-ld} -m elf_x86_64"
9921           ;;
9922         sparc*-*-solaris*)
9923           LD="${LD-ld} -m elf64_sparc"
9924           ;;
9925         esac
9926         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
9927         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9928           LD="${LD-ld}_sol2"
9929         fi
9930         ;;
9931       *)
9932         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9933           LD="${LD-ld} -64"
9934         fi
9935         ;;
9936       esac
9937       ;;
9938     esac
9939   fi
9940   rm -rf conftest*
9941   ;;
9942 esac
9943
9944 need_locks="$enable_libtool_lock"
9945
9946 if test -n "$ac_tool_prefix"; then
9947   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9948 set dummy ${ac_tool_prefix}mt; ac_word=$2
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9950 $as_echo_n "checking for $ac_word... " >&6; }
9951 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9952   $as_echo_n "(cached) " >&6
9953 else
9954   if test -n "$MANIFEST_TOOL"; then
9955   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9956 else
9957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9958 for as_dir in $PATH
9959 do
9960   IFS=$as_save_IFS
9961   test -z "$as_dir" && as_dir=.
9962     for ac_exec_ext in '' $ac_executable_extensions; do
9963   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9964     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9965     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9966     break 2
9967   fi
9968 done
9969   done
9970 IFS=$as_save_IFS
9971
9972 fi
9973 fi
9974 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9975 if test -n "$MANIFEST_TOOL"; then
9976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9977 $as_echo "$MANIFEST_TOOL" >&6; }
9978 else
9979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9980 $as_echo "no" >&6; }
9981 fi
9982
9983
9984 fi
9985 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9986   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9987   # Extract the first word of "mt", so it can be a program name with args.
9988 set dummy mt; ac_word=$2
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9990 $as_echo_n "checking for $ac_word... " >&6; }
9991 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9992   $as_echo_n "(cached) " >&6
9993 else
9994   if test -n "$ac_ct_MANIFEST_TOOL"; then
9995   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9996 else
9997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9998 for as_dir in $PATH
9999 do
10000   IFS=$as_save_IFS
10001   test -z "$as_dir" && as_dir=.
10002     for ac_exec_ext in '' $ac_executable_extensions; do
10003   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10004     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10006     break 2
10007   fi
10008 done
10009   done
10010 IFS=$as_save_IFS
10011
10012 fi
10013 fi
10014 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10015 if test -n "$ac_ct_MANIFEST_TOOL"; then
10016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10017 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10018 else
10019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10020 $as_echo "no" >&6; }
10021 fi
10022
10023   if test "x$ac_ct_MANIFEST_TOOL" = x; then
10024     MANIFEST_TOOL=":"
10025   else
10026     case $cross_compiling:$ac_tool_warned in
10027 yes:)
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10030 ac_tool_warned=yes ;;
10031 esac
10032     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10033   fi
10034 else
10035   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10036 fi
10037
10038 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10040 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10041 if ${lt_cv_path_mainfest_tool+:} false; then :
10042   $as_echo_n "(cached) " >&6
10043 else
10044   lt_cv_path_mainfest_tool=no
10045   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10046   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10047   cat conftest.err >&5
10048   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10049     lt_cv_path_mainfest_tool=yes
10050   fi
10051   rm -f conftest*
10052 fi
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10054 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10055 if test "x$lt_cv_path_mainfest_tool" != xyes; then
10056   MANIFEST_TOOL=:
10057 fi
10058
10059
10060
10061
10062
10063
10064   case $host_os in
10065     rhapsody* | darwin*)
10066     if test -n "$ac_tool_prefix"; then
10067   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10068 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10070 $as_echo_n "checking for $ac_word... " >&6; }
10071 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10072   $as_echo_n "(cached) " >&6
10073 else
10074   if test -n "$DSYMUTIL"; then
10075   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10076 else
10077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10078 for as_dir in $PATH
10079 do
10080   IFS=$as_save_IFS
10081   test -z "$as_dir" && as_dir=.
10082     for ac_exec_ext in '' $ac_executable_extensions; do
10083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10084     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10086     break 2
10087   fi
10088 done
10089   done
10090 IFS=$as_save_IFS
10091
10092 fi
10093 fi
10094 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10095 if test -n "$DSYMUTIL"; then
10096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10097 $as_echo "$DSYMUTIL" >&6; }
10098 else
10099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10100 $as_echo "no" >&6; }
10101 fi
10102
10103
10104 fi
10105 if test -z "$ac_cv_prog_DSYMUTIL"; then
10106   ac_ct_DSYMUTIL=$DSYMUTIL
10107   # Extract the first word of "dsymutil", so it can be a program name with args.
10108 set dummy dsymutil; ac_word=$2
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10110 $as_echo_n "checking for $ac_word... " >&6; }
10111 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10112   $as_echo_n "(cached) " >&6
10113 else
10114   if test -n "$ac_ct_DSYMUTIL"; then
10115   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10116 else
10117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10118 for as_dir in $PATH
10119 do
10120   IFS=$as_save_IFS
10121   test -z "$as_dir" && as_dir=.
10122     for ac_exec_ext in '' $ac_executable_extensions; do
10123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10124     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10126     break 2
10127   fi
10128 done
10129   done
10130 IFS=$as_save_IFS
10131
10132 fi
10133 fi
10134 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10135 if test -n "$ac_ct_DSYMUTIL"; then
10136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10137 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10138 else
10139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10140 $as_echo "no" >&6; }
10141 fi
10142
10143   if test "x$ac_ct_DSYMUTIL" = x; then
10144     DSYMUTIL=":"
10145   else
10146     case $cross_compiling:$ac_tool_warned in
10147 yes:)
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10150 ac_tool_warned=yes ;;
10151 esac
10152     DSYMUTIL=$ac_ct_DSYMUTIL
10153   fi
10154 else
10155   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10156 fi
10157
10158     if test -n "$ac_tool_prefix"; then
10159   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10160 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10162 $as_echo_n "checking for $ac_word... " >&6; }
10163 if ${ac_cv_prog_NMEDIT+:} false; then :
10164   $as_echo_n "(cached) " >&6
10165 else
10166   if test -n "$NMEDIT"; then
10167   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10168 else
10169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10170 for as_dir in $PATH
10171 do
10172   IFS=$as_save_IFS
10173   test -z "$as_dir" && as_dir=.
10174     for ac_exec_ext in '' $ac_executable_extensions; do
10175   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10176     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10178     break 2
10179   fi
10180 done
10181   done
10182 IFS=$as_save_IFS
10183
10184 fi
10185 fi
10186 NMEDIT=$ac_cv_prog_NMEDIT
10187 if test -n "$NMEDIT"; then
10188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10189 $as_echo "$NMEDIT" >&6; }
10190 else
10191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10192 $as_echo "no" >&6; }
10193 fi
10194
10195
10196 fi
10197 if test -z "$ac_cv_prog_NMEDIT"; then
10198   ac_ct_NMEDIT=$NMEDIT
10199   # Extract the first word of "nmedit", so it can be a program name with args.
10200 set dummy nmedit; ac_word=$2
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10202 $as_echo_n "checking for $ac_word... " >&6; }
10203 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10204   $as_echo_n "(cached) " >&6
10205 else
10206   if test -n "$ac_ct_NMEDIT"; then
10207   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10208 else
10209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10210 for as_dir in $PATH
10211 do
10212   IFS=$as_save_IFS
10213   test -z "$as_dir" && as_dir=.
10214     for ac_exec_ext in '' $ac_executable_extensions; do
10215   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10216     ac_cv_prog_ac_ct_NMEDIT="nmedit"
10217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10218     break 2
10219   fi
10220 done
10221   done
10222 IFS=$as_save_IFS
10223
10224 fi
10225 fi
10226 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10227 if test -n "$ac_ct_NMEDIT"; then
10228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10229 $as_echo "$ac_ct_NMEDIT" >&6; }
10230 else
10231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10232 $as_echo "no" >&6; }
10233 fi
10234
10235   if test "x$ac_ct_NMEDIT" = x; then
10236     NMEDIT=":"
10237   else
10238     case $cross_compiling:$ac_tool_warned in
10239 yes:)
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10242 ac_tool_warned=yes ;;
10243 esac
10244     NMEDIT=$ac_ct_NMEDIT
10245   fi
10246 else
10247   NMEDIT="$ac_cv_prog_NMEDIT"
10248 fi
10249
10250     if test -n "$ac_tool_prefix"; then
10251   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10252 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10254 $as_echo_n "checking for $ac_word... " >&6; }
10255 if ${ac_cv_prog_LIPO+:} false; then :
10256   $as_echo_n "(cached) " >&6
10257 else
10258   if test -n "$LIPO"; then
10259   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10260 else
10261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10262 for as_dir in $PATH
10263 do
10264   IFS=$as_save_IFS
10265   test -z "$as_dir" && as_dir=.
10266     for ac_exec_ext in '' $ac_executable_extensions; do
10267   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10268     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10270     break 2
10271   fi
10272 done
10273   done
10274 IFS=$as_save_IFS
10275
10276 fi
10277 fi
10278 LIPO=$ac_cv_prog_LIPO
10279 if test -n "$LIPO"; then
10280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10281 $as_echo "$LIPO" >&6; }
10282 else
10283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10284 $as_echo "no" >&6; }
10285 fi
10286
10287
10288 fi
10289 if test -z "$ac_cv_prog_LIPO"; then
10290   ac_ct_LIPO=$LIPO
10291   # Extract the first word of "lipo", so it can be a program name with args.
10292 set dummy lipo; ac_word=$2
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10294 $as_echo_n "checking for $ac_word... " >&6; }
10295 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10296   $as_echo_n "(cached) " >&6
10297 else
10298   if test -n "$ac_ct_LIPO"; then
10299   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10300 else
10301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10302 for as_dir in $PATH
10303 do
10304   IFS=$as_save_IFS
10305   test -z "$as_dir" && as_dir=.
10306     for ac_exec_ext in '' $ac_executable_extensions; do
10307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10308     ac_cv_prog_ac_ct_LIPO="lipo"
10309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10310     break 2
10311   fi
10312 done
10313   done
10314 IFS=$as_save_IFS
10315
10316 fi
10317 fi
10318 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10319 if test -n "$ac_ct_LIPO"; then
10320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10321 $as_echo "$ac_ct_LIPO" >&6; }
10322 else
10323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10324 $as_echo "no" >&6; }
10325 fi
10326
10327   if test "x$ac_ct_LIPO" = x; then
10328     LIPO=":"
10329   else
10330     case $cross_compiling:$ac_tool_warned in
10331 yes:)
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10334 ac_tool_warned=yes ;;
10335 esac
10336     LIPO=$ac_ct_LIPO
10337   fi
10338 else
10339   LIPO="$ac_cv_prog_LIPO"
10340 fi
10341
10342     if test -n "$ac_tool_prefix"; then
10343   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10344 set dummy ${ac_tool_prefix}otool; ac_word=$2
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10346 $as_echo_n "checking for $ac_word... " >&6; }
10347 if ${ac_cv_prog_OTOOL+:} false; then :
10348   $as_echo_n "(cached) " >&6
10349 else
10350   if test -n "$OTOOL"; then
10351   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10352 else
10353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10354 for as_dir in $PATH
10355 do
10356   IFS=$as_save_IFS
10357   test -z "$as_dir" && as_dir=.
10358     for ac_exec_ext in '' $ac_executable_extensions; do
10359   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10360     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10362     break 2
10363   fi
10364 done
10365   done
10366 IFS=$as_save_IFS
10367
10368 fi
10369 fi
10370 OTOOL=$ac_cv_prog_OTOOL
10371 if test -n "$OTOOL"; then
10372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10373 $as_echo "$OTOOL" >&6; }
10374 else
10375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10376 $as_echo "no" >&6; }
10377 fi
10378
10379
10380 fi
10381 if test -z "$ac_cv_prog_OTOOL"; then
10382   ac_ct_OTOOL=$OTOOL
10383   # Extract the first word of "otool", so it can be a program name with args.
10384 set dummy otool; ac_word=$2
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10386 $as_echo_n "checking for $ac_word... " >&6; }
10387 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10388   $as_echo_n "(cached) " >&6
10389 else
10390   if test -n "$ac_ct_OTOOL"; then
10391   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10392 else
10393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10394 for as_dir in $PATH
10395 do
10396   IFS=$as_save_IFS
10397   test -z "$as_dir" && as_dir=.
10398     for ac_exec_ext in '' $ac_executable_extensions; do
10399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10400     ac_cv_prog_ac_ct_OTOOL="otool"
10401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10402     break 2
10403   fi
10404 done
10405   done
10406 IFS=$as_save_IFS
10407
10408 fi
10409 fi
10410 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10411 if test -n "$ac_ct_OTOOL"; then
10412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10413 $as_echo "$ac_ct_OTOOL" >&6; }
10414 else
10415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10416 $as_echo "no" >&6; }
10417 fi
10418
10419   if test "x$ac_ct_OTOOL" = x; then
10420     OTOOL=":"
10421   else
10422     case $cross_compiling:$ac_tool_warned in
10423 yes:)
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10426 ac_tool_warned=yes ;;
10427 esac
10428     OTOOL=$ac_ct_OTOOL
10429   fi
10430 else
10431   OTOOL="$ac_cv_prog_OTOOL"
10432 fi
10433
10434     if test -n "$ac_tool_prefix"; then
10435   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10436 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10438 $as_echo_n "checking for $ac_word... " >&6; }
10439 if ${ac_cv_prog_OTOOL64+:} false; then :
10440   $as_echo_n "(cached) " >&6
10441 else
10442   if test -n "$OTOOL64"; then
10443   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10444 else
10445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10446 for as_dir in $PATH
10447 do
10448   IFS=$as_save_IFS
10449   test -z "$as_dir" && as_dir=.
10450     for ac_exec_ext in '' $ac_executable_extensions; do
10451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10452     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10454     break 2
10455   fi
10456 done
10457   done
10458 IFS=$as_save_IFS
10459
10460 fi
10461 fi
10462 OTOOL64=$ac_cv_prog_OTOOL64
10463 if test -n "$OTOOL64"; then
10464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10465 $as_echo "$OTOOL64" >&6; }
10466 else
10467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10468 $as_echo "no" >&6; }
10469 fi
10470
10471
10472 fi
10473 if test -z "$ac_cv_prog_OTOOL64"; then
10474   ac_ct_OTOOL64=$OTOOL64
10475   # Extract the first word of "otool64", so it can be a program name with args.
10476 set dummy otool64; ac_word=$2
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10478 $as_echo_n "checking for $ac_word... " >&6; }
10479 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10480   $as_echo_n "(cached) " >&6
10481 else
10482   if test -n "$ac_ct_OTOOL64"; then
10483   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10484 else
10485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10486 for as_dir in $PATH
10487 do
10488   IFS=$as_save_IFS
10489   test -z "$as_dir" && as_dir=.
10490     for ac_exec_ext in '' $ac_executable_extensions; do
10491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10492     ac_cv_prog_ac_ct_OTOOL64="otool64"
10493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10494     break 2
10495   fi
10496 done
10497   done
10498 IFS=$as_save_IFS
10499
10500 fi
10501 fi
10502 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10503 if test -n "$ac_ct_OTOOL64"; then
10504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10505 $as_echo "$ac_ct_OTOOL64" >&6; }
10506 else
10507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10508 $as_echo "no" >&6; }
10509 fi
10510
10511   if test "x$ac_ct_OTOOL64" = x; then
10512     OTOOL64=":"
10513   else
10514     case $cross_compiling:$ac_tool_warned in
10515 yes:)
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10518 ac_tool_warned=yes ;;
10519 esac
10520     OTOOL64=$ac_ct_OTOOL64
10521   fi
10522 else
10523   OTOOL64="$ac_cv_prog_OTOOL64"
10524 fi
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10553 $as_echo_n "checking for -single_module linker flag... " >&6; }
10554 if ${lt_cv_apple_cc_single_mod+:} false; then :
10555   $as_echo_n "(cached) " >&6
10556 else
10557   lt_cv_apple_cc_single_mod=no
10558       if test -z "${LT_MULTI_MODULE}"; then
10559         # By default we will add the -single_module flag. You can override
10560         # by either setting the environment variable LT_MULTI_MODULE
10561         # non-empty at configure time, or by adding -multi_module to the
10562         # link flags.
10563         rm -rf libconftest.dylib*
10564         echo "int foo(void){return 1;}" > conftest.c
10565         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10566 -dynamiclib -Wl,-single_module conftest.c" >&5
10567         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10568           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10569         _lt_result=$?
10570         # If there is a non-empty error log, and "single_module"
10571         # appears in it, assume the flag caused a linker warning
10572         if test -s conftest.err && $GREP single_module conftest.err; then
10573           cat conftest.err >&5
10574         # Otherwise, if the output was created with a 0 exit code from
10575         # the compiler, it worked.
10576         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
10577           lt_cv_apple_cc_single_mod=yes
10578         else
10579           cat conftest.err >&5
10580         fi
10581         rm -rf libconftest.dylib*
10582         rm -f conftest.*
10583       fi
10584 fi
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10586 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10587
10588     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10589 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10590 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10591   $as_echo_n "(cached) " >&6
10592 else
10593   lt_cv_ld_exported_symbols_list=no
10594       save_LDFLAGS=$LDFLAGS
10595       echo "_main" > conftest.sym
10596       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10597       if test x$ac_no_link = xyes; then
10598   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
10599 fi
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h.  */
10602
10603 int
10604 main ()
10605 {
10606
10607   ;
10608   return 0;
10609 }
10610 _ACEOF
10611 if ac_fn_c_try_link "$LINENO"; then :
10612   lt_cv_ld_exported_symbols_list=yes
10613 else
10614   lt_cv_ld_exported_symbols_list=no
10615 fi
10616 rm -f core conftest.err conftest.$ac_objext \
10617     conftest$ac_exeext conftest.$ac_ext
10618         LDFLAGS="$save_LDFLAGS"
10619
10620 fi
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10622 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10623
10624     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10625 $as_echo_n "checking for -force_load linker flag... " >&6; }
10626 if ${lt_cv_ld_force_load+:} false; then :
10627   $as_echo_n "(cached) " >&6
10628 else
10629   lt_cv_ld_force_load=no
10630       cat > conftest.c << _LT_EOF
10631 int forced_loaded() { return 2;}
10632 _LT_EOF
10633       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10634       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10635       echo "$AR cru libconftest.a conftest.o" >&5
10636       $AR cru libconftest.a conftest.o 2>&5
10637       echo "$RANLIB libconftest.a" >&5
10638       $RANLIB libconftest.a 2>&5
10639       cat > conftest.c << _LT_EOF
10640 int main() { return 0;}
10641 _LT_EOF
10642       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10643       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10644       _lt_result=$?
10645       if test -s conftest.err && $GREP force_load conftest.err; then
10646         cat conftest.err >&5
10647       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
10648         lt_cv_ld_force_load=yes
10649       else
10650         cat conftest.err >&5
10651       fi
10652         rm -f conftest.err libconftest.a conftest conftest.c
10653         rm -rf conftest.dSYM
10654
10655 fi
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10657 $as_echo "$lt_cv_ld_force_load" >&6; }
10658     case $host_os in
10659     rhapsody* | darwin1.[012])
10660       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10661     darwin1.*)
10662       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10663     darwin*) # darwin 5.x on
10664       # if running on 10.5 or later, the deployment target defaults
10665       # to the OS version, if on x86, and 10.4, the deployment
10666       # target defaults to 10.4. Don't you love it?
10667       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10668         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10669           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10670         10.[012]*)
10671           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10672         10.*)
10673           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10674       esac
10675     ;;
10676   esac
10677     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10678       _lt_dar_single_mod='$single_module'
10679     fi
10680     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10681       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10682     else
10683       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10684     fi
10685     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10686       _lt_dsymutil='~$DSYMUTIL $lib || :'
10687     else
10688       _lt_dsymutil=
10689     fi
10690     ;;
10691   esac
10692
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10694 $as_echo_n "checking for ANSI C header files... " >&6; }
10695 if ${ac_cv_header_stdc+:} false; then :
10696   $as_echo_n "(cached) " >&6
10697 else
10698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h.  */
10700 #include <stdlib.h>
10701 #include <stdarg.h>
10702 #include <string.h>
10703 #include <float.h>
10704
10705 int
10706 main ()
10707 {
10708
10709   ;
10710   return 0;
10711 }
10712 _ACEOF
10713 if ac_fn_c_try_compile "$LINENO"; then :
10714   ac_cv_header_stdc=yes
10715 else
10716   ac_cv_header_stdc=no
10717 fi
10718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10719
10720 if test $ac_cv_header_stdc = yes; then
10721   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h.  */
10724 #include <string.h>
10725
10726 _ACEOF
10727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10728   $EGREP "memchr" >/dev/null 2>&1; then :
10729
10730 else
10731   ac_cv_header_stdc=no
10732 fi
10733 rm -f conftest*
10734
10735 fi
10736
10737 if test $ac_cv_header_stdc = yes; then
10738   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h.  */
10741 #include <stdlib.h>
10742
10743 _ACEOF
10744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10745   $EGREP "free" >/dev/null 2>&1; then :
10746
10747 else
10748   ac_cv_header_stdc=no
10749 fi
10750 rm -f conftest*
10751
10752 fi
10753
10754 if test $ac_cv_header_stdc = yes; then
10755   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10756   if test "$cross_compiling" = yes; then :
10757   :
10758 else
10759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h.  */
10761 #include <ctype.h>
10762 #include <stdlib.h>
10763 #if ((' ' & 0x0FF) == 0x020)
10764 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10765 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10766 #else
10767 # define ISLOWER(c) \
10768                    (('a' <= (c) && (c) <= 'i') \
10769                      || ('j' <= (c) && (c) <= 'r') \
10770                      || ('s' <= (c) && (c) <= 'z'))
10771 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10772 #endif
10773
10774 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10775 int
10776 main ()
10777 {
10778   int i;
10779   for (i = 0; i < 256; i++)
10780     if (XOR (islower (i), ISLOWER (i))
10781         || toupper (i) != TOUPPER (i))
10782       return 2;
10783   return 0;
10784 }
10785 _ACEOF
10786 if ac_fn_c_try_run "$LINENO"; then :
10787
10788 else
10789   ac_cv_header_stdc=no
10790 fi
10791 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10792   conftest.$ac_objext conftest.beam conftest.$ac_ext
10793 fi
10794
10795 fi
10796 fi
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10798 $as_echo "$ac_cv_header_stdc" >&6; }
10799 if test $ac_cv_header_stdc = yes; then
10800
10801 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10802
10803 fi
10804
10805 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10806 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10807                   inttypes.h stdint.h unistd.h
10808 do :
10809   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10810 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10811 "
10812 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10813   cat >>confdefs.h <<_ACEOF
10814 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10815 _ACEOF
10816
10817 fi
10818
10819 done
10820
10821
10822 for ac_header in dlfcn.h
10823 do :
10824   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10825 "
10826 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10827   cat >>confdefs.h <<_ACEOF
10828 #define HAVE_DLFCN_H 1
10829 _ACEOF
10830
10831 fi
10832
10833 done
10834
10835
10836
10837
10838 func_stripname_cnf ()
10839 {
10840   case ${2} in
10841   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10842   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10843   esac
10844 } # func_stripname_cnf
10845
10846
10847
10848
10849
10850 # Set options
10851
10852
10853
10854         enable_dlopen=no
10855
10856
10857   enable_win32_dll=no
10858
10859
10860             # Check whether --enable-shared was given.
10861 if test "${enable_shared+set}" = set; then :
10862   enableval=$enable_shared; p=${PACKAGE-default}
10863     case $enableval in
10864     yes) enable_shared=yes ;;
10865     no) enable_shared=no ;;
10866     *)
10867       enable_shared=no
10868       # Look at the argument we got.  We use all the common list separators.
10869       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10870       for pkg in $enableval; do
10871         IFS="$lt_save_ifs"
10872         if test "X$pkg" = "X$p"; then
10873           enable_shared=yes
10874         fi
10875       done
10876       IFS="$lt_save_ifs"
10877       ;;
10878     esac
10879 else
10880   enable_shared=yes
10881 fi
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891   # Check whether --enable-static was given.
10892 if test "${enable_static+set}" = set; then :
10893   enableval=$enable_static; p=${PACKAGE-default}
10894     case $enableval in
10895     yes) enable_static=yes ;;
10896     no) enable_static=no ;;
10897     *)
10898      enable_static=no
10899       # Look at the argument we got.  We use all the common list separators.
10900       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10901       for pkg in $enableval; do
10902         IFS="$lt_save_ifs"
10903         if test "X$pkg" = "X$p"; then
10904           enable_static=yes
10905         fi
10906       done
10907       IFS="$lt_save_ifs"
10908       ;;
10909     esac
10910 else
10911   enable_static=yes
10912 fi
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923 # Check whether --with-pic was given.
10924 if test "${with_pic+set}" = set; then :
10925   withval=$with_pic; lt_p=${PACKAGE-default}
10926     case $withval in
10927     yes|no) pic_mode=$withval ;;
10928     *)
10929       pic_mode=default
10930       # Look at the argument we got.  We use all the common list separators.
10931       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10932       for lt_pkg in $withval; do
10933         IFS="$lt_save_ifs"
10934         if test "X$lt_pkg" = "X$lt_p"; then
10935           pic_mode=yes
10936         fi
10937       done
10938       IFS="$lt_save_ifs"
10939       ;;
10940     esac
10941 else
10942   pic_mode=default
10943 fi
10944
10945
10946 test -z "$pic_mode" && pic_mode=default
10947
10948
10949
10950
10951
10952
10953
10954   # Check whether --enable-fast-install was given.
10955 if test "${enable_fast_install+set}" = set; then :
10956   enableval=$enable_fast_install; p=${PACKAGE-default}
10957     case $enableval in
10958     yes) enable_fast_install=yes ;;
10959     no) enable_fast_install=no ;;
10960     *)
10961       enable_fast_install=no
10962       # Look at the argument we got.  We use all the common list separators.
10963       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10964       for pkg in $enableval; do
10965         IFS="$lt_save_ifs"
10966         if test "X$pkg" = "X$p"; then
10967           enable_fast_install=yes
10968         fi
10969       done
10970       IFS="$lt_save_ifs"
10971       ;;
10972     esac
10973 else
10974   enable_fast_install=yes
10975 fi
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987 # This can be used to rebuild libtool when needed
10988 LIBTOOL_DEPS="$ltmain"
10989
10990 # Always use our own libtool.
10991 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022 test -z "$LN_S" && LN_S="ln -s"
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037 if test -n "${ZSH_VERSION+set}" ; then
11038    setopt NO_GLOB_SUBST
11039 fi
11040
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11042 $as_echo_n "checking for objdir... " >&6; }
11043 if ${lt_cv_objdir+:} false; then :
11044   $as_echo_n "(cached) " >&6
11045 else
11046   rm -f .libs 2>/dev/null
11047 mkdir .libs 2>/dev/null
11048 if test -d .libs; then
11049   lt_cv_objdir=.libs
11050 else
11051   # MS-DOS does not allow filenames that begin with a dot.
11052   lt_cv_objdir=_libs
11053 fi
11054 rmdir .libs 2>/dev/null
11055 fi
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11057 $as_echo "$lt_cv_objdir" >&6; }
11058 objdir=$lt_cv_objdir
11059
11060
11061
11062
11063
11064 cat >>confdefs.h <<_ACEOF
11065 #define LT_OBJDIR "$lt_cv_objdir/"
11066 _ACEOF
11067
11068
11069
11070
11071 case $host_os in
11072 aix3*)
11073   # AIX sometimes has problems with the GCC collect2 program.  For some
11074   # reason, if we set the COLLECT_NAMES environment variable, the problems
11075   # vanish in a puff of smoke.
11076   if test "X${COLLECT_NAMES+set}" != Xset; then
11077     COLLECT_NAMES=
11078     export COLLECT_NAMES
11079   fi
11080   ;;
11081 esac
11082
11083 # Global variables:
11084 ofile=libtool
11085 can_build_shared=yes
11086
11087 # All known linkers require a `.a' archive for static linking (except MSVC,
11088 # which needs '.lib').
11089 libext=a
11090
11091 with_gnu_ld="$lt_cv_prog_gnu_ld"
11092
11093 old_CC="$CC"
11094 old_CFLAGS="$CFLAGS"
11095
11096 # Set sane defaults for various variables
11097 test -z "$CC" && CC=cc
11098 test -z "$LTCC" && LTCC=$CC
11099 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11100 test -z "$LD" && LD=ld
11101 test -z "$ac_objext" && ac_objext=o
11102
11103 for cc_temp in $compiler""; do
11104   case $cc_temp in
11105     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11106     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11107     \-*) ;;
11108     *) break;;
11109   esac
11110 done
11111 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11112
11113
11114 # Only perform the check for file, if the check method requires it
11115 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11116 case $deplibs_check_method in
11117 file_magic*)
11118   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11120 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11121 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11122   $as_echo_n "(cached) " >&6
11123 else
11124   case $MAGIC_CMD in
11125 [\\/*] |  ?:[\\/]*)
11126   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11127   ;;
11128 *)
11129   lt_save_MAGIC_CMD="$MAGIC_CMD"
11130   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11131   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11132   for ac_dir in $ac_dummy; do
11133     IFS="$lt_save_ifs"
11134     test -z "$ac_dir" && ac_dir=.
11135     if test -f $ac_dir/${ac_tool_prefix}file; then
11136       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11137       if test -n "$file_magic_test_file"; then
11138         case $deplibs_check_method in
11139         "file_magic "*)
11140           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11141           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11142           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11143             $EGREP "$file_magic_regex" > /dev/null; then
11144             :
11145           else
11146             cat <<_LT_EOF 1>&2
11147
11148 *** Warning: the command libtool uses to detect shared libraries,
11149 *** $file_magic_cmd, produces output that libtool cannot recognize.
11150 *** The result is that libtool may fail to recognize shared libraries
11151 *** as such.  This will affect the creation of libtool libraries that
11152 *** depend on shared libraries, but programs linked with such libtool
11153 *** libraries will work regardless of this problem.  Nevertheless, you
11154 *** may want to report the problem to your system manager and/or to
11155 *** bug-libtool@gnu.org
11156
11157 _LT_EOF
11158           fi ;;
11159         esac
11160       fi
11161       break
11162     fi
11163   done
11164   IFS="$lt_save_ifs"
11165   MAGIC_CMD="$lt_save_MAGIC_CMD"
11166   ;;
11167 esac
11168 fi
11169
11170 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11171 if test -n "$MAGIC_CMD"; then
11172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11173 $as_echo "$MAGIC_CMD" >&6; }
11174 else
11175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11176 $as_echo "no" >&6; }
11177 fi
11178
11179
11180
11181
11182
11183 if test -z "$lt_cv_path_MAGIC_CMD"; then
11184   if test -n "$ac_tool_prefix"; then
11185     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11186 $as_echo_n "checking for file... " >&6; }
11187 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11188   $as_echo_n "(cached) " >&6
11189 else
11190   case $MAGIC_CMD in
11191 [\\/*] |  ?:[\\/]*)
11192   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11193   ;;
11194 *)
11195   lt_save_MAGIC_CMD="$MAGIC_CMD"
11196   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11197   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11198   for ac_dir in $ac_dummy; do
11199     IFS="$lt_save_ifs"
11200     test -z "$ac_dir" && ac_dir=.
11201     if test -f $ac_dir/file; then
11202       lt_cv_path_MAGIC_CMD="$ac_dir/file"
11203       if test -n "$file_magic_test_file"; then
11204         case $deplibs_check_method in
11205         "file_magic "*)
11206           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11207           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11208           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11209             $EGREP "$file_magic_regex" > /dev/null; then
11210             :
11211           else
11212             cat <<_LT_EOF 1>&2
11213
11214 *** Warning: the command libtool uses to detect shared libraries,
11215 *** $file_magic_cmd, produces output that libtool cannot recognize.
11216 *** The result is that libtool may fail to recognize shared libraries
11217 *** as such.  This will affect the creation of libtool libraries that
11218 *** depend on shared libraries, but programs linked with such libtool
11219 *** libraries will work regardless of this problem.  Nevertheless, you
11220 *** may want to report the problem to your system manager and/or to
11221 *** bug-libtool@gnu.org
11222
11223 _LT_EOF
11224           fi ;;
11225         esac
11226       fi
11227       break
11228     fi
11229   done
11230   IFS="$lt_save_ifs"
11231   MAGIC_CMD="$lt_save_MAGIC_CMD"
11232   ;;
11233 esac
11234 fi
11235
11236 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11237 if test -n "$MAGIC_CMD"; then
11238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11239 $as_echo "$MAGIC_CMD" >&6; }
11240 else
11241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11242 $as_echo "no" >&6; }
11243 fi
11244
11245
11246   else
11247     MAGIC_CMD=:
11248   fi
11249 fi
11250
11251   fi
11252   ;;
11253 esac
11254
11255 # Use C for the default configuration in the libtool script
11256
11257 lt_save_CC="$CC"
11258 ac_ext=c
11259 ac_cpp='$CPP $CPPFLAGS'
11260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11263
11264
11265 # Source file extension for C test sources.
11266 ac_ext=c
11267
11268 # Object file extension for compiled C test sources.
11269 objext=o
11270 objext=$objext
11271
11272 # Code to be used in simple compile tests
11273 lt_simple_compile_test_code="int some_variable = 0;"
11274
11275 # Code to be used in simple link tests
11276 lt_simple_link_test_code='int main(){return(0);}'
11277
11278
11279
11280
11281
11282
11283
11284 # If no C compiler was specified, use CC.
11285 LTCC=${LTCC-"$CC"}
11286
11287 # If no C compiler flags were specified, use CFLAGS.
11288 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11289
11290 # Allow CC to be a program name with arguments.
11291 compiler=$CC
11292
11293 # Save the default compiler, since it gets overwritten when the other
11294 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11295 compiler_DEFAULT=$CC
11296
11297 # save warnings/boilerplate of simple test code
11298 ac_outfile=conftest.$ac_objext
11299 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11300 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11301 _lt_compiler_boilerplate=`cat conftest.err`
11302 $RM conftest*
11303
11304 ac_outfile=conftest.$ac_objext
11305 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11306 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11307 _lt_linker_boilerplate=`cat conftest.err`
11308 $RM -r conftest*
11309
11310
11311 ## CAVEAT EMPTOR:
11312 ## There is no encapsulation within the following macros, do not change
11313 ## the running order or otherwise move them around unless you know exactly
11314 ## what you are doing...
11315 if test -n "$compiler"; then
11316
11317 lt_prog_compiler_no_builtin_flag=
11318
11319 if test "$GCC" = yes; then
11320   case $cc_basename in
11321   nvcc*)
11322     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11323   *)
11324     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11325   esac
11326
11327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11328 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11329 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11330   $as_echo_n "(cached) " >&6
11331 else
11332   lt_cv_prog_compiler_rtti_exceptions=no
11333    ac_outfile=conftest.$ac_objext
11334    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11335    lt_compiler_flag="-fno-rtti -fno-exceptions"
11336    # Insert the option either (1) after the last *FLAGS variable, or
11337    # (2) before a word containing "conftest.", or (3) at the end.
11338    # Note that $ac_compile itself does not contain backslashes and begins
11339    # with a dollar sign (not a hyphen), so the echo should work correctly.
11340    # The option is referenced via a variable to avoid confusing sed.
11341    lt_compile=`echo "$ac_compile" | $SED \
11342    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11343    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11344    -e 's:$: $lt_compiler_flag:'`
11345    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11346    (eval "$lt_compile" 2>conftest.err)
11347    ac_status=$?
11348    cat conftest.err >&5
11349    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350    if (exit $ac_status) && test -s "$ac_outfile"; then
11351      # The compiler can only warn and ignore the option if not recognized
11352      # So say no if there are warnings other than the usual output.
11353      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11354      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11355      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11356        lt_cv_prog_compiler_rtti_exceptions=yes
11357      fi
11358    fi
11359    $RM conftest*
11360
11361 fi
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11363 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11364
11365 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11366     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11367 else
11368     :
11369 fi
11370
11371 fi
11372
11373
11374
11375
11376
11377
11378   lt_prog_compiler_wl=
11379 lt_prog_compiler_pic=
11380 lt_prog_compiler_static=
11381
11382
11383   if test "$GCC" = yes; then
11384     lt_prog_compiler_wl='-Wl,'
11385     lt_prog_compiler_static='-static'
11386
11387     case $host_os in
11388       aix*)
11389       # All AIX code is PIC.
11390       if test "$host_cpu" = ia64; then
11391         # AIX 5 now supports IA64 processor
11392         lt_prog_compiler_static='-Bstatic'
11393       fi
11394       ;;
11395
11396     amigaos*)
11397       case $host_cpu in
11398       powerpc)
11399             # see comment about AmigaOS4 .so support
11400             lt_prog_compiler_pic='-fPIC'
11401         ;;
11402       m68k)
11403             # FIXME: we need at least 68020 code to build shared libraries, but
11404             # adding the `-m68020' flag to GCC prevents building anything better,
11405             # like `-m68040'.
11406             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11407         ;;
11408       esac
11409       ;;
11410
11411     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11412       # PIC is the default for these OSes.
11413       ;;
11414
11415     mingw* | cygwin* | pw32* | os2* | cegcc*)
11416       # This hack is so that the source file can tell whether it is being
11417       # built for inclusion in a dll (and should export symbols for example).
11418       # Although the cygwin gcc ignores -fPIC, still need this for old-style
11419       # (--disable-auto-import) libraries
11420       lt_prog_compiler_pic='-DDLL_EXPORT'
11421       ;;
11422
11423     darwin* | rhapsody*)
11424       # PIC is the default on this platform
11425       # Common symbols not allowed in MH_DYLIB files
11426       lt_prog_compiler_pic='-fno-common'
11427       ;;
11428
11429     haiku*)
11430       # PIC is the default for Haiku.
11431       # The "-static" flag exists, but is broken.
11432       lt_prog_compiler_static=
11433       ;;
11434
11435     hpux*)
11436       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11437       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
11438       # sets the default TLS model and affects inlining.
11439       case $host_cpu in
11440       hppa*64*)
11441         # +Z the default
11442         ;;
11443       *)
11444         lt_prog_compiler_pic='-fPIC'
11445         ;;
11446       esac
11447       ;;
11448
11449     interix[3-9]*)
11450       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11451       # Instead, we relocate shared libraries at runtime.
11452       ;;
11453
11454     msdosdjgpp*)
11455       # Just because we use GCC doesn't mean we suddenly get shared libraries
11456       # on systems that don't support them.
11457       lt_prog_compiler_can_build_shared=no
11458       enable_shared=no
11459       ;;
11460
11461     *nto* | *qnx*)
11462       # QNX uses GNU C++, but need to define -shared option too, otherwise
11463       # it will coredump.
11464       lt_prog_compiler_pic='-fPIC -shared'
11465       ;;
11466
11467     sysv4*MP*)
11468       if test -d /usr/nec; then
11469         lt_prog_compiler_pic=-Kconform_pic
11470       fi
11471       ;;
11472
11473     *)
11474       lt_prog_compiler_pic='-fPIC'
11475       ;;
11476     esac
11477
11478     case $cc_basename in
11479     nvcc*) # Cuda Compiler Driver 2.2
11480       lt_prog_compiler_wl='-Xlinker '
11481       if test -n "$lt_prog_compiler_pic"; then
11482         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11483       fi
11484       ;;
11485     esac
11486   else
11487     # PORTME Check for flag to pass linker flags through the system compiler.
11488     case $host_os in
11489     aix*)
11490       lt_prog_compiler_wl='-Wl,'
11491       if test "$host_cpu" = ia64; then
11492         # AIX 5 now supports IA64 processor
11493         lt_prog_compiler_static='-Bstatic'
11494       else
11495         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11496       fi
11497       ;;
11498
11499     mingw* | cygwin* | pw32* | os2* | cegcc*)
11500       # This hack is so that the source file can tell whether it is being
11501       # built for inclusion in a dll (and should export symbols for example).
11502       lt_prog_compiler_pic='-DDLL_EXPORT'
11503       ;;
11504
11505     hpux9* | hpux10* | hpux11*)
11506       lt_prog_compiler_wl='-Wl,'
11507       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11508       # not for PA HP-UX.
11509       case $host_cpu in
11510       hppa*64*|ia64*)
11511         # +Z the default
11512         ;;
11513       *)
11514         lt_prog_compiler_pic='+Z'
11515         ;;
11516       esac
11517       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11518       lt_prog_compiler_static='${wl}-a ${wl}archive'
11519       ;;
11520
11521     irix5* | irix6* | nonstopux*)
11522       lt_prog_compiler_wl='-Wl,'
11523       # PIC (with -KPIC) is the default.
11524       lt_prog_compiler_static='-non_shared'
11525       ;;
11526
11527     linux* | k*bsd*-gnu | kopensolaris*-gnu)
11528       case $cc_basename in
11529       # old Intel for x86_64 which still supported -KPIC.
11530       ecc*)
11531         lt_prog_compiler_wl='-Wl,'
11532         lt_prog_compiler_pic='-KPIC'
11533         lt_prog_compiler_static='-static'
11534         ;;
11535       # icc used to be incompatible with GCC.
11536       # ICC 10 doesn't accept -KPIC any more.
11537       icc* | ifort*)
11538         lt_prog_compiler_wl='-Wl,'
11539         lt_prog_compiler_pic='-fPIC'
11540         lt_prog_compiler_static='-static'
11541         ;;
11542       # Lahey Fortran 8.1.
11543       lf95*)
11544         lt_prog_compiler_wl='-Wl,'
11545         lt_prog_compiler_pic='--shared'
11546         lt_prog_compiler_static='--static'
11547         ;;
11548       nagfor*)
11549         # NAG Fortran compiler
11550         lt_prog_compiler_wl='-Wl,-Wl,,'
11551         lt_prog_compiler_pic='-PIC'
11552         lt_prog_compiler_static='-Bstatic'
11553         ;;
11554       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11555         # Portland Group compilers (*not* the Pentium gcc compiler,
11556         # which looks to be a dead project)
11557         lt_prog_compiler_wl='-Wl,'
11558         lt_prog_compiler_pic='-fpic'
11559         lt_prog_compiler_static='-Bstatic'
11560         ;;
11561       ccc*)
11562         lt_prog_compiler_wl='-Wl,'
11563         # All Alpha code is PIC.
11564         lt_prog_compiler_static='-non_shared'
11565         ;;
11566       xl* | bgxl* | bgf* | mpixl*)
11567         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11568         lt_prog_compiler_wl='-Wl,'
11569         lt_prog_compiler_pic='-qpic'
11570         lt_prog_compiler_static='-qstaticlink'
11571         ;;
11572       *)
11573         case `$CC -V 2>&1 | sed 5q` in
11574         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11575           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11576           lt_prog_compiler_pic='-KPIC'
11577           lt_prog_compiler_static='-Bstatic'
11578           lt_prog_compiler_wl=''
11579           ;;
11580         *Sun\ F* | *Sun*Fortran*)
11581           lt_prog_compiler_pic='-KPIC'
11582           lt_prog_compiler_static='-Bstatic'
11583           lt_prog_compiler_wl='-Qoption ld '
11584           ;;
11585         *Sun\ C*)
11586           # Sun C 5.9
11587           lt_prog_compiler_pic='-KPIC'
11588           lt_prog_compiler_static='-Bstatic'
11589           lt_prog_compiler_wl='-Wl,'
11590           ;;
11591         *Intel*\ [CF]*Compiler*)
11592           lt_prog_compiler_wl='-Wl,'
11593           lt_prog_compiler_pic='-fPIC'
11594           lt_prog_compiler_static='-static'
11595           ;;
11596         *Portland\ Group*)
11597           lt_prog_compiler_wl='-Wl,'
11598           lt_prog_compiler_pic='-fpic'
11599           lt_prog_compiler_static='-Bstatic'
11600           ;;
11601         esac
11602         ;;
11603       esac
11604       ;;
11605
11606     newsos6)
11607       lt_prog_compiler_pic='-KPIC'
11608       lt_prog_compiler_static='-Bstatic'
11609       ;;
11610
11611     *nto* | *qnx*)
11612       # QNX uses GNU C++, but need to define -shared option too, otherwise
11613       # it will coredump.
11614       lt_prog_compiler_pic='-fPIC -shared'
11615       ;;
11616
11617     osf3* | osf4* | osf5*)
11618       lt_prog_compiler_wl='-Wl,'
11619       # All OSF/1 code is PIC.
11620       lt_prog_compiler_static='-non_shared'
11621       ;;
11622
11623     rdos*)
11624       lt_prog_compiler_static='-non_shared'
11625       ;;
11626
11627     solaris*)
11628       lt_prog_compiler_pic='-KPIC'
11629       lt_prog_compiler_static='-Bstatic'
11630       case $cc_basename in
11631       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11632         lt_prog_compiler_wl='-Qoption ld ';;
11633       *)
11634         lt_prog_compiler_wl='-Wl,';;
11635       esac
11636       ;;
11637
11638     sunos4*)
11639       lt_prog_compiler_wl='-Qoption ld '
11640       lt_prog_compiler_pic='-PIC'
11641       lt_prog_compiler_static='-Bstatic'
11642       ;;
11643
11644     sysv4 | sysv4.2uw2* | sysv4.3*)
11645       lt_prog_compiler_wl='-Wl,'
11646       lt_prog_compiler_pic='-KPIC'
11647       lt_prog_compiler_static='-Bstatic'
11648       ;;
11649
11650     sysv4*MP*)
11651       if test -d /usr/nec ;then
11652         lt_prog_compiler_pic='-Kconform_pic'
11653         lt_prog_compiler_static='-Bstatic'
11654       fi
11655       ;;
11656
11657     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11658       lt_prog_compiler_wl='-Wl,'
11659       lt_prog_compiler_pic='-KPIC'
11660       lt_prog_compiler_static='-Bstatic'
11661       ;;
11662
11663     unicos*)
11664       lt_prog_compiler_wl='-Wl,'
11665       lt_prog_compiler_can_build_shared=no
11666       ;;
11667
11668     uts4*)
11669       lt_prog_compiler_pic='-pic'
11670       lt_prog_compiler_static='-Bstatic'
11671       ;;
11672
11673     *)
11674       lt_prog_compiler_can_build_shared=no
11675       ;;
11676     esac
11677   fi
11678
11679 case $host_os in
11680   # For platforms which do not support PIC, -DPIC is meaningless:
11681   *djgpp*)
11682     lt_prog_compiler_pic=
11683     ;;
11684   *)
11685     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11686     ;;
11687 esac
11688
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11690 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11691 if ${lt_cv_prog_compiler_pic+:} false; then :
11692   $as_echo_n "(cached) " >&6
11693 else
11694   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11695 fi
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11697 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11698 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11699
11700 #
11701 # Check to make sure the PIC flag actually works.
11702 #
11703 if test -n "$lt_prog_compiler_pic"; then
11704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11705 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11706 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11707   $as_echo_n "(cached) " >&6
11708 else
11709   lt_cv_prog_compiler_pic_works=no
11710    ac_outfile=conftest.$ac_objext
11711    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11712    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11713    # Insert the option either (1) after the last *FLAGS variable, or
11714    # (2) before a word containing "conftest.", or (3) at the end.
11715    # Note that $ac_compile itself does not contain backslashes and begins
11716    # with a dollar sign (not a hyphen), so the echo should work correctly.
11717    # The option is referenced via a variable to avoid confusing sed.
11718    lt_compile=`echo "$ac_compile" | $SED \
11719    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11720    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11721    -e 's:$: $lt_compiler_flag:'`
11722    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11723    (eval "$lt_compile" 2>conftest.err)
11724    ac_status=$?
11725    cat conftest.err >&5
11726    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727    if (exit $ac_status) && test -s "$ac_outfile"; then
11728      # The compiler can only warn and ignore the option if not recognized
11729      # So say no if there are warnings other than the usual output.
11730      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11731      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11732      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11733        lt_cv_prog_compiler_pic_works=yes
11734      fi
11735    fi
11736    $RM conftest*
11737
11738 fi
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11740 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11741
11742 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11743     case $lt_prog_compiler_pic in
11744      "" | " "*) ;;
11745      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11746      esac
11747 else
11748     lt_prog_compiler_pic=
11749      lt_prog_compiler_can_build_shared=no
11750 fi
11751
11752 fi
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764 #
11765 # Check to make sure the static flag actually works.
11766 #
11767 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11769 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11770 if ${lt_cv_prog_compiler_static_works+:} false; then :
11771   $as_echo_n "(cached) " >&6
11772 else
11773   lt_cv_prog_compiler_static_works=no
11774    save_LDFLAGS="$LDFLAGS"
11775    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11776    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11777    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11778      # The linker can only warn and ignore the option if not recognized
11779      # So say no if there are warnings
11780      if test -s conftest.err; then
11781        # Append any errors to the config.log.
11782        cat conftest.err 1>&5
11783        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11784        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11785        if diff conftest.exp conftest.er2 >/dev/null; then
11786          lt_cv_prog_compiler_static_works=yes
11787        fi
11788      else
11789        lt_cv_prog_compiler_static_works=yes
11790      fi
11791    fi
11792    $RM -r conftest*
11793    LDFLAGS="$save_LDFLAGS"
11794
11795 fi
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11797 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11798
11799 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11800     :
11801 else
11802     lt_prog_compiler_static=
11803 fi
11804
11805
11806
11807
11808
11809
11810
11811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11812 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11813 if ${lt_cv_prog_compiler_c_o+:} false; then :
11814   $as_echo_n "(cached) " >&6
11815 else
11816   lt_cv_prog_compiler_c_o=no
11817    $RM -r conftest 2>/dev/null
11818    mkdir conftest
11819    cd conftest
11820    mkdir out
11821    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11822
11823    lt_compiler_flag="-o out/conftest2.$ac_objext"
11824    # Insert the option either (1) after the last *FLAGS variable, or
11825    # (2) before a word containing "conftest.", or (3) at the end.
11826    # Note that $ac_compile itself does not contain backslashes and begins
11827    # with a dollar sign (not a hyphen), so the echo should work correctly.
11828    lt_compile=`echo "$ac_compile" | $SED \
11829    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11830    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11831    -e 's:$: $lt_compiler_flag:'`
11832    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11833    (eval "$lt_compile" 2>out/conftest.err)
11834    ac_status=$?
11835    cat out/conftest.err >&5
11836    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11838    then
11839      # The compiler can only warn and ignore the option if not recognized
11840      # So say no if there are warnings
11841      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11842      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11843      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11844        lt_cv_prog_compiler_c_o=yes
11845      fi
11846    fi
11847    chmod u+w . 2>&5
11848    $RM conftest*
11849    # SGI C++ compiler will create directory out/ii_files/ for
11850    # template instantiation
11851    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11852    $RM out/* && rmdir out
11853    cd ..
11854    $RM -r conftest
11855    $RM conftest*
11856
11857 fi
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11859 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11860
11861
11862
11863
11864
11865
11866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11867 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11868 if ${lt_cv_prog_compiler_c_o+:} false; then :
11869   $as_echo_n "(cached) " >&6
11870 else
11871   lt_cv_prog_compiler_c_o=no
11872    $RM -r conftest 2>/dev/null
11873    mkdir conftest
11874    cd conftest
11875    mkdir out
11876    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11877
11878    lt_compiler_flag="-o out/conftest2.$ac_objext"
11879    # Insert the option either (1) after the last *FLAGS variable, or
11880    # (2) before a word containing "conftest.", or (3) at the end.
11881    # Note that $ac_compile itself does not contain backslashes and begins
11882    # with a dollar sign (not a hyphen), so the echo should work correctly.
11883    lt_compile=`echo "$ac_compile" | $SED \
11884    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11885    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11886    -e 's:$: $lt_compiler_flag:'`
11887    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11888    (eval "$lt_compile" 2>out/conftest.err)
11889    ac_status=$?
11890    cat out/conftest.err >&5
11891    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11893    then
11894      # The compiler can only warn and ignore the option if not recognized
11895      # So say no if there are warnings
11896      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11897      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11898      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11899        lt_cv_prog_compiler_c_o=yes
11900      fi
11901    fi
11902    chmod u+w . 2>&5
11903    $RM conftest*
11904    # SGI C++ compiler will create directory out/ii_files/ for
11905    # template instantiation
11906    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11907    $RM out/* && rmdir out
11908    cd ..
11909    $RM -r conftest
11910    $RM conftest*
11911
11912 fi
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11914 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11915
11916
11917
11918
11919 hard_links="nottested"
11920 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11921   # do not overwrite the value of need_locks provided by the user
11922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11923 $as_echo_n "checking if we can lock with hard links... " >&6; }
11924   hard_links=yes
11925   $RM conftest*
11926   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11927   touch conftest.a
11928   ln conftest.a conftest.b 2>&5 || hard_links=no
11929   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11931 $as_echo "$hard_links" >&6; }
11932   if test "$hard_links" = no; then
11933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11934 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11935     need_locks=warn
11936   fi
11937 else
11938   need_locks=no
11939 fi
11940
11941
11942
11943
11944
11945
11946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11947 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11948
11949   runpath_var=
11950   allow_undefined_flag=
11951   always_export_symbols=no
11952   archive_cmds=
11953   archive_expsym_cmds=
11954   compiler_needs_object=no
11955   enable_shared_with_static_runtimes=no
11956   export_dynamic_flag_spec=
11957   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11958   hardcode_automatic=no
11959   hardcode_direct=no
11960   hardcode_direct_absolute=no
11961   hardcode_libdir_flag_spec=
11962   hardcode_libdir_separator=
11963   hardcode_minus_L=no
11964   hardcode_shlibpath_var=unsupported
11965   inherit_rpath=no
11966   link_all_deplibs=unknown
11967   module_cmds=
11968   module_expsym_cmds=
11969   old_archive_from_new_cmds=
11970   old_archive_from_expsyms_cmds=
11971   thread_safe_flag_spec=
11972   whole_archive_flag_spec=
11973   # include_expsyms should be a list of space-separated symbols to be *always*
11974   # included in the symbol list
11975   include_expsyms=
11976   # exclude_expsyms can be an extended regexp of symbols to exclude
11977   # it will be wrapped by ` (' and `)$', so one must not match beginning or
11978   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11979   # as well as any symbol that contains `d'.
11980   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11981   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11982   # platforms (ab)use it in PIC code, but their linkers get confused if
11983   # the symbol is explicitly referenced.  Since portable code cannot
11984   # rely on this symbol name, it's probably fine to never include it in
11985   # preloaded symbol tables.
11986   # Exclude shared library initialization/finalization symbols.
11987   extract_expsyms_cmds=
11988
11989   case $host_os in
11990   cygwin* | mingw* | pw32* | cegcc*)
11991     # FIXME: the MSVC++ port hasn't been tested in a loooong time
11992     # When not using gcc, we currently assume that we are using
11993     # Microsoft Visual C++.
11994     if test "$GCC" != yes; then
11995       with_gnu_ld=no
11996     fi
11997     ;;
11998   interix*)
11999     # we just hope/assume this is gcc and not c89 (= MSVC++)
12000     with_gnu_ld=yes
12001     ;;
12002   openbsd*)
12003     with_gnu_ld=no
12004     ;;
12005   esac
12006
12007   ld_shlibs=yes
12008
12009   # On some targets, GNU ld is compatible enough with the native linker
12010   # that we're better off using the native interface for both.
12011   lt_use_gnu_ld_interface=no
12012   if test "$with_gnu_ld" = yes; then
12013     case $host_os in
12014       aix*)
12015         # The AIX port of GNU ld has always aspired to compatibility
12016         # with the native linker.  However, as the warning in the GNU ld
12017         # block says, versions before 2.19.5* couldn't really create working
12018         # shared libraries, regardless of the interface used.
12019         case `$LD -v 2>&1` in
12020           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12021           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12022           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12023           *)
12024             lt_use_gnu_ld_interface=yes
12025             ;;
12026         esac
12027         ;;
12028       *)
12029         lt_use_gnu_ld_interface=yes
12030         ;;
12031     esac
12032   fi
12033
12034   if test "$lt_use_gnu_ld_interface" = yes; then
12035     # If archive_cmds runs LD, not CC, wlarc should be empty
12036     wlarc='${wl}'
12037
12038     # Set some defaults for GNU ld with shared library support. These
12039     # are reset later if shared libraries are not supported. Putting them
12040     # here allows them to be overridden if necessary.
12041     runpath_var=LD_RUN_PATH
12042     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12043     export_dynamic_flag_spec='${wl}--export-dynamic'
12044     # ancient GNU ld didn't support --whole-archive et. al.
12045     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12046       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12047     else
12048       whole_archive_flag_spec=
12049     fi
12050     supports_anon_versioning=no
12051     case `$LD -v 2>&1` in
12052       *GNU\ gold*) supports_anon_versioning=yes ;;
12053       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12054       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12055       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12056       *\ 2.11.*) ;; # other 2.11 versions
12057       *) supports_anon_versioning=yes ;;
12058     esac
12059
12060     # See if GNU ld supports shared libraries.
12061     case $host_os in
12062     aix[3-9]*)
12063       # On AIX/PPC, the GNU linker is very broken
12064       if test "$host_cpu" != ia64; then
12065         ld_shlibs=no
12066         cat <<_LT_EOF 1>&2
12067
12068 *** Warning: the GNU linker, at least up to release 2.19, is reported
12069 *** to be unable to reliably create shared libraries on AIX.
12070 *** Therefore, libtool is disabling shared libraries support.  If you
12071 *** really care for shared libraries, you may want to install binutils
12072 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12073 *** You will then need to restart the configuration process.
12074
12075 _LT_EOF
12076       fi
12077       ;;
12078
12079     amigaos*)
12080       case $host_cpu in
12081       powerpc)
12082             # see comment about AmigaOS4 .so support
12083             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12084             archive_expsym_cmds=''
12085         ;;
12086       m68k)
12087             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)'
12088             hardcode_libdir_flag_spec='-L$libdir'
12089             hardcode_minus_L=yes
12090         ;;
12091       esac
12092       ;;
12093
12094     beos*)
12095       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12096         allow_undefined_flag=unsupported
12097         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12098         # support --undefined.  This deserves some investigation.  FIXME
12099         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12100       else
12101         ld_shlibs=no
12102       fi
12103       ;;
12104
12105     cygwin* | mingw* | pw32* | cegcc*)
12106       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12107       # as there is no search path for DLLs.
12108       hardcode_libdir_flag_spec='-L$libdir'
12109       export_dynamic_flag_spec='${wl}--export-all-symbols'
12110       allow_undefined_flag=unsupported
12111       always_export_symbols=no
12112       enable_shared_with_static_runtimes=yes
12113       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'
12114       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12115
12116       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12117         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12118         # If the export-symbols file already is a .def file (1st line
12119         # is EXPORTS), use it as is; otherwise, prepend...
12120         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12121           cp $export_symbols $output_objdir/$soname.def;
12122         else
12123           echo EXPORTS > $output_objdir/$soname.def;
12124           cat $export_symbols >> $output_objdir/$soname.def;
12125         fi~
12126         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12127       else
12128         ld_shlibs=no
12129       fi
12130       ;;
12131
12132     haiku*)
12133       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12134       link_all_deplibs=yes
12135       ;;
12136
12137     interix[3-9]*)
12138       hardcode_direct=no
12139       hardcode_shlibpath_var=no
12140       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12141       export_dynamic_flag_spec='${wl}-E'
12142       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12143       # Instead, shared libraries are loaded at an image base (0x10000000 by
12144       # default) and relocated if they conflict, which is a slow very memory
12145       # consuming and fragmenting process.  To avoid this, we pick a random,
12146       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12147       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12148       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12149       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'
12150       ;;
12151
12152     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12153       tmp_diet=no
12154       if test "$host_os" = linux-dietlibc; then
12155         case $cc_basename in
12156           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12157         esac
12158       fi
12159       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12160          && test "$tmp_diet" = no
12161       then
12162         tmp_addflag=' $pic_flag'
12163         tmp_sharedflag='-shared'
12164         case $cc_basename,$host_cpu in
12165         pgcc*)                          # Portland Group C compiler
12166           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'
12167           tmp_addflag=' $pic_flag'
12168           ;;
12169         pgf77* | pgf90* | pgf95* | pgfortran*)
12170                                         # Portland Group f77 and f90 compilers
12171           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'
12172           tmp_addflag=' $pic_flag -Mnomain' ;;
12173         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12174           tmp_addflag=' -i_dynamic' ;;
12175         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12176           tmp_addflag=' -i_dynamic -nofor_main' ;;
12177         ifc* | ifort*)                  # Intel Fortran compiler
12178           tmp_addflag=' -nofor_main' ;;
12179         lf95*)                          # Lahey Fortran 8.1
12180           whole_archive_flag_spec=
12181           tmp_sharedflag='--shared' ;;
12182         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12183           tmp_sharedflag='-qmkshrobj'
12184           tmp_addflag= ;;
12185         nvcc*)  # Cuda Compiler Driver 2.2
12186           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'
12187           compiler_needs_object=yes
12188           ;;
12189         esac
12190         case `$CC -V 2>&1 | sed 5q` in
12191         *Sun\ C*)                       # Sun C 5.9
12192           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'
12193           compiler_needs_object=yes
12194           tmp_sharedflag='-G' ;;
12195         *Sun\ F*)                       # Sun Fortran 8.3
12196           tmp_sharedflag='-G' ;;
12197         esac
12198         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12199
12200         if test "x$supports_anon_versioning" = xyes; then
12201           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12202             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12203             echo "local: *; };" >> $output_objdir/$libname.ver~
12204             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12205         fi
12206
12207         case $cc_basename in
12208         xlf* | bgf* | bgxlf* | mpixlf*)
12209           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12210           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12211           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12212           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12213           if test "x$supports_anon_versioning" = xyes; then
12214             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12215               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12216               echo "local: *; };" >> $output_objdir/$libname.ver~
12217               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12218           fi
12219           ;;
12220         esac
12221       else
12222         ld_shlibs=no
12223       fi
12224       ;;
12225
12226     netbsd*)
12227       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12228         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12229         wlarc=
12230       else
12231         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12232         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12233       fi
12234       ;;
12235
12236     solaris*)
12237       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12238         ld_shlibs=no
12239         cat <<_LT_EOF 1>&2
12240
12241 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12242 *** create shared libraries on Solaris systems.  Therefore, libtool
12243 *** is disabling shared libraries support.  We urge you to upgrade GNU
12244 *** binutils to release 2.9.1 or newer.  Another option is to modify
12245 *** your PATH or compiler configuration so that the native linker is
12246 *** used, and then restart.
12247
12248 _LT_EOF
12249       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12250         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12251         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12252       else
12253         ld_shlibs=no
12254       fi
12255       ;;
12256
12257     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12258       case `$LD -v 2>&1` in
12259         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12260         ld_shlibs=no
12261         cat <<_LT_EOF 1>&2
12262
12263 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12264 *** reliably create shared libraries on SCO systems.  Therefore, libtool
12265 *** is disabling shared libraries support.  We urge you to upgrade GNU
12266 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
12267 *** your PATH or compiler configuration so that the native linker is
12268 *** used, and then restart.
12269
12270 _LT_EOF
12271         ;;
12272         *)
12273           # For security reasons, it is highly recommended that you always
12274           # use absolute paths for naming shared libraries, and exclude the
12275           # DT_RUNPATH tag from executables and libraries.  But doing so
12276           # requires that you compile everything twice, which is a pain.
12277           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12278             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12279             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12280             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12281           else
12282             ld_shlibs=no
12283           fi
12284         ;;
12285       esac
12286       ;;
12287
12288     sunos4*)
12289       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12290       wlarc=
12291       hardcode_direct=yes
12292       hardcode_shlibpath_var=no
12293       ;;
12294
12295     *)
12296       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12297         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12298         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12299       else
12300         ld_shlibs=no
12301       fi
12302       ;;
12303     esac
12304
12305     if test "$ld_shlibs" = no; then
12306       runpath_var=
12307       hardcode_libdir_flag_spec=
12308       export_dynamic_flag_spec=
12309       whole_archive_flag_spec=
12310     fi
12311   else
12312     # PORTME fill in a description of your system's linker (not GNU ld)
12313     case $host_os in
12314     aix3*)
12315       allow_undefined_flag=unsupported
12316       always_export_symbols=yes
12317       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'
12318       # Note: this linker hardcodes the directories in LIBPATH if there
12319       # are no directories specified by -L.
12320       hardcode_minus_L=yes
12321       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12322         # Neither direct hardcoding nor static linking is supported with a
12323         # broken collect2.
12324         hardcode_direct=unsupported
12325       fi
12326       ;;
12327
12328     aix[4-9]*)
12329       if test "$host_cpu" = ia64; then
12330         # On IA64, the linker does run time linking by default, so we don't
12331         # have to do anything special.
12332         aix_use_runtimelinking=no
12333         exp_sym_flag='-Bexport'
12334         no_entry_flag=""
12335       else
12336         # If we're using GNU nm, then we don't want the "-C" option.
12337         # -C means demangle to AIX nm, but means don't demangle with GNU nm
12338         # Also, AIX nm treats weak defined symbols like other global
12339         # defined symbols, whereas GNU nm marks them as "W".
12340         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12341           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'
12342         else
12343           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'
12344         fi
12345         aix_use_runtimelinking=no
12346
12347         # Test if we are trying to use run time linking or normal
12348         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12349         # need to do runtime linking.
12350         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12351           for ld_flag in $LDFLAGS; do
12352           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12353             aix_use_runtimelinking=yes
12354             break
12355           fi
12356           done
12357           ;;
12358         esac
12359
12360         exp_sym_flag='-bexport'
12361         no_entry_flag='-bnoentry'
12362       fi
12363
12364       # When large executables or shared objects are built, AIX ld can
12365       # have problems creating the table of contents.  If linking a library
12366       # or program results in "error TOC overflow" add -mminimal-toc to
12367       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12368       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12369
12370       archive_cmds=''
12371       hardcode_direct=yes
12372       hardcode_direct_absolute=yes
12373       hardcode_libdir_separator=':'
12374       link_all_deplibs=yes
12375       file_list_spec='${wl}-f,'
12376
12377       if test "$GCC" = yes; then
12378         case $host_os in aix4.[012]|aix4.[012].*)
12379         # We only want to do this on AIX 4.2 and lower, the check
12380         # below for broken collect2 doesn't work under 4.3+
12381           collect2name=`${CC} -print-prog-name=collect2`
12382           if test -f "$collect2name" &&
12383            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12384           then
12385           # We have reworked collect2
12386           :
12387           else
12388           # We have old collect2
12389           hardcode_direct=unsupported
12390           # It fails to find uninstalled libraries when the uninstalled
12391           # path is not listed in the libpath.  Setting hardcode_minus_L
12392           # to unsupported forces relinking
12393           hardcode_minus_L=yes
12394           hardcode_libdir_flag_spec='-L$libdir'
12395           hardcode_libdir_separator=
12396           fi
12397           ;;
12398         esac
12399         shared_flag='-shared'
12400         if test "$aix_use_runtimelinking" = yes; then
12401           shared_flag="$shared_flag "'${wl}-G'
12402         fi
12403       else
12404         # not using gcc
12405         if test "$host_cpu" = ia64; then
12406         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12407         # chokes on -Wl,-G. The following line is correct:
12408           shared_flag='-G'
12409         else
12410           if test "$aix_use_runtimelinking" = yes; then
12411             shared_flag='${wl}-G'
12412           else
12413             shared_flag='${wl}-bM:SRE'
12414           fi
12415         fi
12416       fi
12417
12418       export_dynamic_flag_spec='${wl}-bexpall'
12419       # It seems that -bexpall does not export symbols beginning with
12420       # underscore (_), so it is better to generate a list of symbols to export.
12421       always_export_symbols=yes
12422       if test "$aix_use_runtimelinking" = yes; then
12423         # Warning - without using the other runtime loading flags (-brtl),
12424         # -berok will link without error, but may produce a broken library.
12425         allow_undefined_flag='-berok'
12426         # Determine the default libpath from the value encoded in an
12427         # empty executable.
12428         if test "${lt_cv_aix_libpath+set}" = set; then
12429   aix_libpath=$lt_cv_aix_libpath
12430 else
12431   if ${lt_cv_aix_libpath_+:} false; then :
12432   $as_echo_n "(cached) " >&6
12433 else
12434   if test x$ac_no_link = xyes; then
12435   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12436 fi
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h.  */
12439
12440 int
12441 main ()
12442 {
12443
12444   ;
12445   return 0;
12446 }
12447 _ACEOF
12448 if ac_fn_c_try_link "$LINENO"; then :
12449
12450   lt_aix_libpath_sed='
12451       /Import File Strings/,/^$/ {
12452           /^0/ {
12453               s/^0  *\([^ ]*\) *$/\1/
12454               p
12455           }
12456       }'
12457   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12458   # Check for a 64-bit object if we didn't find anything.
12459   if test -z "$lt_cv_aix_libpath_"; then
12460     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12461   fi
12462 fi
12463 rm -f core conftest.err conftest.$ac_objext \
12464     conftest$ac_exeext conftest.$ac_ext
12465   if test -z "$lt_cv_aix_libpath_"; then
12466     lt_cv_aix_libpath_="/usr/lib:/lib"
12467   fi
12468
12469 fi
12470
12471   aix_libpath=$lt_cv_aix_libpath_
12472 fi
12473
12474         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12475         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"
12476       else
12477         if test "$host_cpu" = ia64; then
12478           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12479           allow_undefined_flag="-z nodefs"
12480           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"
12481         else
12482          # Determine the default libpath from the value encoded in an
12483          # empty executable.
12484          if test "${lt_cv_aix_libpath+set}" = set; then
12485   aix_libpath=$lt_cv_aix_libpath
12486 else
12487   if ${lt_cv_aix_libpath_+:} false; then :
12488   $as_echo_n "(cached) " >&6
12489 else
12490   if test x$ac_no_link = xyes; then
12491   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12492 fi
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h.  */
12495
12496 int
12497 main ()
12498 {
12499
12500   ;
12501   return 0;
12502 }
12503 _ACEOF
12504 if ac_fn_c_try_link "$LINENO"; then :
12505
12506   lt_aix_libpath_sed='
12507       /Import File Strings/,/^$/ {
12508           /^0/ {
12509               s/^0  *\([^ ]*\) *$/\1/
12510               p
12511           }
12512       }'
12513   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12514   # Check for a 64-bit object if we didn't find anything.
12515   if test -z "$lt_cv_aix_libpath_"; then
12516     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12517   fi
12518 fi
12519 rm -f core conftest.err conftest.$ac_objext \
12520     conftest$ac_exeext conftest.$ac_ext
12521   if test -z "$lt_cv_aix_libpath_"; then
12522     lt_cv_aix_libpath_="/usr/lib:/lib"
12523   fi
12524
12525 fi
12526
12527   aix_libpath=$lt_cv_aix_libpath_
12528 fi
12529
12530          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12531           # Warning - without using the other run time loading flags,
12532           # -berok will link without error, but may produce a broken library.
12533           no_undefined_flag=' ${wl}-bernotok'
12534           allow_undefined_flag=' ${wl}-berok'
12535           if test "$with_gnu_ld" = yes; then
12536             # We only use this code for GNU lds that support --whole-archive.
12537             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12538           else
12539             # Exported symbols can be pulled into shared objects from archives
12540             whole_archive_flag_spec='$convenience'
12541           fi
12542           archive_cmds_need_lc=yes
12543           # This is similar to how AIX traditionally builds its shared libraries.
12544           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'
12545         fi
12546       fi
12547       ;;
12548
12549     amigaos*)
12550       case $host_cpu in
12551       powerpc)
12552             # see comment about AmigaOS4 .so support
12553             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12554             archive_expsym_cmds=''
12555         ;;
12556       m68k)
12557             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)'
12558             hardcode_libdir_flag_spec='-L$libdir'
12559             hardcode_minus_L=yes
12560         ;;
12561       esac
12562       ;;
12563
12564     bsdi[45]*)
12565       export_dynamic_flag_spec=-rdynamic
12566       ;;
12567
12568     cygwin* | mingw* | pw32* | cegcc*)
12569       # When not using gcc, we currently assume that we are using
12570       # Microsoft Visual C++.
12571       # hardcode_libdir_flag_spec is actually meaningless, as there is
12572       # no search path for DLLs.
12573       case $cc_basename in
12574       cl*)
12575         # Native MSVC
12576         hardcode_libdir_flag_spec=' '
12577         allow_undefined_flag=unsupported
12578         always_export_symbols=yes
12579         file_list_spec='@'
12580         # Tell ltmain to make .lib files, not .a files.
12581         libext=lib
12582         # Tell ltmain to make .dll files, not .so files.
12583         shrext_cmds=".dll"
12584         # FIXME: Setting linknames here is a bad hack.
12585         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12586         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12587             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12588           else
12589             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12590           fi~
12591           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12592           linknames='
12593         # The linker will not automatically build a static lib if we build a DLL.
12594         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12595         enable_shared_with_static_runtimes=yes
12596         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12597         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12598         # Don't use ranlib
12599         old_postinstall_cmds='chmod 644 $oldlib'
12600         postlink_cmds='lt_outputfile="@OUTPUT@"~
12601           lt_tool_outputfile="@TOOL_OUTPUT@"~
12602           case $lt_outputfile in
12603             *.exe|*.EXE) ;;
12604             *)
12605               lt_outputfile="$lt_outputfile.exe"
12606               lt_tool_outputfile="$lt_tool_outputfile.exe"
12607               ;;
12608           esac~
12609           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12610             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12611             $RM "$lt_outputfile.manifest";
12612           fi'
12613         ;;
12614       *)
12615         # Assume MSVC wrapper
12616         hardcode_libdir_flag_spec=' '
12617         allow_undefined_flag=unsupported
12618         # Tell ltmain to make .lib files, not .a files.
12619         libext=lib
12620         # Tell ltmain to make .dll files, not .so files.
12621         shrext_cmds=".dll"
12622         # FIXME: Setting linknames here is a bad hack.
12623         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12624         # The linker will automatically build a .lib file if we build a DLL.
12625         old_archive_from_new_cmds='true'
12626         # FIXME: Should let the user specify the lib program.
12627         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12628         enable_shared_with_static_runtimes=yes
12629         ;;
12630       esac
12631       ;;
12632
12633     darwin* | rhapsody*)
12634
12635
12636   archive_cmds_need_lc=no
12637   hardcode_direct=no
12638   hardcode_automatic=yes
12639   hardcode_shlibpath_var=unsupported
12640   if test "$lt_cv_ld_force_load" = "yes"; then
12641     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\"`'
12642
12643   else
12644     whole_archive_flag_spec=''
12645   fi
12646   link_all_deplibs=yes
12647   allow_undefined_flag="$_lt_dar_allow_undefined"
12648   case $cc_basename in
12649      ifort*) _lt_dar_can_shared=yes ;;
12650      *) _lt_dar_can_shared=$GCC ;;
12651   esac
12652   if test "$_lt_dar_can_shared" = "yes"; then
12653     output_verbose_link_cmd=func_echo_all
12654     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12655     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12656     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}"
12657     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}"
12658
12659   else
12660   ld_shlibs=no
12661   fi
12662
12663       ;;
12664
12665     dgux*)
12666       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12667       hardcode_libdir_flag_spec='-L$libdir'
12668       hardcode_shlibpath_var=no
12669       ;;
12670
12671     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12672     # support.  Future versions do this automatically, but an explicit c++rt0.o
12673     # does not break anything, and helps significantly (at the cost of a little
12674     # extra space).
12675     freebsd2.2*)
12676       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12677       hardcode_libdir_flag_spec='-R$libdir'
12678       hardcode_direct=yes
12679       hardcode_shlibpath_var=no
12680       ;;
12681
12682     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12683     freebsd2.*)
12684       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12685       hardcode_direct=yes
12686       hardcode_minus_L=yes
12687       hardcode_shlibpath_var=no
12688       ;;
12689
12690     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12691     freebsd* | dragonfly*)
12692       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12693       hardcode_libdir_flag_spec='-R$libdir'
12694       hardcode_direct=yes
12695       hardcode_shlibpath_var=no
12696       ;;
12697
12698     hpux9*)
12699       if test "$GCC" = yes; then
12700         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'
12701       else
12702         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'
12703       fi
12704       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12705       hardcode_libdir_separator=:
12706       hardcode_direct=yes
12707
12708       # hardcode_minus_L: Not really in the search PATH,
12709       # but as the default location of the library.
12710       hardcode_minus_L=yes
12711       export_dynamic_flag_spec='${wl}-E'
12712       ;;
12713
12714     hpux10*)
12715       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12716         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12717       else
12718         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12719       fi
12720       if test "$with_gnu_ld" = no; then
12721         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12722         hardcode_libdir_separator=:
12723         hardcode_direct=yes
12724         hardcode_direct_absolute=yes
12725         export_dynamic_flag_spec='${wl}-E'
12726         # hardcode_minus_L: Not really in the search PATH,
12727         # but as the default location of the library.
12728         hardcode_minus_L=yes
12729       fi
12730       ;;
12731
12732     hpux11*)
12733       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12734         case $host_cpu in
12735         hppa*64*)
12736           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12737           ;;
12738         ia64*)
12739           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12740           ;;
12741         *)
12742           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12743           ;;
12744         esac
12745       else
12746         case $host_cpu in
12747         hppa*64*)
12748           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12749           ;;
12750         ia64*)
12751           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12752           ;;
12753         *)
12754
12755           # Older versions of the 11.00 compiler do not understand -b yet
12756           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12757           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12758 $as_echo_n "checking if $CC understands -b... " >&6; }
12759 if ${lt_cv_prog_compiler__b+:} false; then :
12760   $as_echo_n "(cached) " >&6
12761 else
12762   lt_cv_prog_compiler__b=no
12763    save_LDFLAGS="$LDFLAGS"
12764    LDFLAGS="$LDFLAGS -b"
12765    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12766    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12767      # The linker can only warn and ignore the option if not recognized
12768      # So say no if there are warnings
12769      if test -s conftest.err; then
12770        # Append any errors to the config.log.
12771        cat conftest.err 1>&5
12772        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12773        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12774        if diff conftest.exp conftest.er2 >/dev/null; then
12775          lt_cv_prog_compiler__b=yes
12776        fi
12777      else
12778        lt_cv_prog_compiler__b=yes
12779      fi
12780    fi
12781    $RM -r conftest*
12782    LDFLAGS="$save_LDFLAGS"
12783
12784 fi
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12786 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12787
12788 if test x"$lt_cv_prog_compiler__b" = xyes; then
12789     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12790 else
12791     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12792 fi
12793
12794           ;;
12795         esac
12796       fi
12797       if test "$with_gnu_ld" = no; then
12798         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12799         hardcode_libdir_separator=:
12800
12801         case $host_cpu in
12802         hppa*64*|ia64*)
12803           hardcode_direct=no
12804           hardcode_shlibpath_var=no
12805           ;;
12806         *)
12807           hardcode_direct=yes
12808           hardcode_direct_absolute=yes
12809           export_dynamic_flag_spec='${wl}-E'
12810
12811           # hardcode_minus_L: Not really in the search PATH,
12812           # but as the default location of the library.
12813           hardcode_minus_L=yes
12814           ;;
12815         esac
12816       fi
12817       ;;
12818
12819     irix5* | irix6* | nonstopux*)
12820       if test "$GCC" = yes; then
12821         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'
12822         # Try to use the -exported_symbol ld option, if it does not
12823         # work, assume that -exports_file does not work either and
12824         # implicitly export all symbols.
12825         # This should be the same for all languages, so no per-tag cache variable.
12826         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12827 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12828 if ${lt_cv_irix_exported_symbol+:} false; then :
12829   $as_echo_n "(cached) " >&6
12830 else
12831   save_LDFLAGS="$LDFLAGS"
12832            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12833            if test x$ac_no_link = xyes; then
12834   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12835 fi
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h.  */
12838 int foo (void) { return 0; }
12839 _ACEOF
12840 if ac_fn_c_try_link "$LINENO"; then :
12841   lt_cv_irix_exported_symbol=yes
12842 else
12843   lt_cv_irix_exported_symbol=no
12844 fi
12845 rm -f core conftest.err conftest.$ac_objext \
12846     conftest$ac_exeext conftest.$ac_ext
12847            LDFLAGS="$save_LDFLAGS"
12848 fi
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12850 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12851         if test "$lt_cv_irix_exported_symbol" = yes; then
12852           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'
12853         fi
12854       else
12855         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'
12856         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'
12857       fi
12858       archive_cmds_need_lc='no'
12859       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12860       hardcode_libdir_separator=:
12861       inherit_rpath=yes
12862       link_all_deplibs=yes
12863       ;;
12864
12865     netbsd*)
12866       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12867         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12868       else
12869         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12870       fi
12871       hardcode_libdir_flag_spec='-R$libdir'
12872       hardcode_direct=yes
12873       hardcode_shlibpath_var=no
12874       ;;
12875
12876     newsos6)
12877       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12878       hardcode_direct=yes
12879       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12880       hardcode_libdir_separator=:
12881       hardcode_shlibpath_var=no
12882       ;;
12883
12884     *nto* | *qnx*)
12885       ;;
12886
12887     openbsd*)
12888       if test -f /usr/libexec/ld.so; then
12889         hardcode_direct=yes
12890         hardcode_shlibpath_var=no
12891         hardcode_direct_absolute=yes
12892         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12893           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12894           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12895           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12896           export_dynamic_flag_spec='${wl}-E'
12897         else
12898           case $host_os in
12899            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12900              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12901              hardcode_libdir_flag_spec='-R$libdir'
12902              ;;
12903            *)
12904              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12905              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12906              ;;
12907           esac
12908         fi
12909       else
12910         ld_shlibs=no
12911       fi
12912       ;;
12913
12914     os2*)
12915       hardcode_libdir_flag_spec='-L$libdir'
12916       hardcode_minus_L=yes
12917       allow_undefined_flag=unsupported
12918       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'
12919       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12920       ;;
12921
12922     osf3*)
12923       if test "$GCC" = yes; then
12924         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12925         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'
12926       else
12927         allow_undefined_flag=' -expect_unresolved \*'
12928         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'
12929       fi
12930       archive_cmds_need_lc='no'
12931       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12932       hardcode_libdir_separator=:
12933       ;;
12934
12935     osf4* | osf5*)      # as osf3* with the addition of -msym flag
12936       if test "$GCC" = yes; then
12937         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12938         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'
12939         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12940       else
12941         allow_undefined_flag=' -expect_unresolved \*'
12942         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'
12943         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~
12944         $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'
12945
12946         # Both c and cxx compiler support -rpath directly
12947         hardcode_libdir_flag_spec='-rpath $libdir'
12948       fi
12949       archive_cmds_need_lc='no'
12950       hardcode_libdir_separator=:
12951       ;;
12952
12953     solaris*)
12954       no_undefined_flag=' -z defs'
12955       if test "$GCC" = yes; then
12956         wlarc='${wl}'
12957         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12958         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12959           $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'
12960       else
12961         case `$CC -V 2>&1` in
12962         *"Compilers 5.0"*)
12963           wlarc=''
12964           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12965           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12966           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12967           ;;
12968         *)
12969           wlarc='${wl}'
12970           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12971           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12972           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12973           ;;
12974         esac
12975       fi
12976       hardcode_libdir_flag_spec='-R$libdir'
12977       hardcode_shlibpath_var=no
12978       case $host_os in
12979       solaris2.[0-5] | solaris2.[0-5].*) ;;
12980       *)
12981         # The compiler driver will combine and reorder linker options,
12982         # but understands `-z linker_flag'.  GCC discards it without `$wl',
12983         # but is careful enough not to reorder.
12984         # Supported since Solaris 2.6 (maybe 2.5.1?)
12985         if test "$GCC" = yes; then
12986           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12987         else
12988           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12989         fi
12990         ;;
12991       esac
12992       link_all_deplibs=yes
12993       ;;
12994
12995     sunos4*)
12996       if test "x$host_vendor" = xsequent; then
12997         # Use $CC to link under sequent, because it throws in some extra .o
12998         # files that make .init and .fini sections work.
12999         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13000       else
13001         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13002       fi
13003       hardcode_libdir_flag_spec='-L$libdir'
13004       hardcode_direct=yes
13005       hardcode_minus_L=yes
13006       hardcode_shlibpath_var=no
13007       ;;
13008
13009     sysv4)
13010       case $host_vendor in
13011         sni)
13012           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13013           hardcode_direct=yes # is this really true???
13014         ;;
13015         siemens)
13016           ## LD is ld it makes a PLAMLIB
13017           ## CC just makes a GrossModule.
13018           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13019           reload_cmds='$CC -r -o $output$reload_objs'
13020           hardcode_direct=no
13021         ;;
13022         motorola)
13023           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13024           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13025         ;;
13026       esac
13027       runpath_var='LD_RUN_PATH'
13028       hardcode_shlibpath_var=no
13029       ;;
13030
13031     sysv4.3*)
13032       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13033       hardcode_shlibpath_var=no
13034       export_dynamic_flag_spec='-Bexport'
13035       ;;
13036
13037     sysv4*MP*)
13038       if test -d /usr/nec; then
13039         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13040         hardcode_shlibpath_var=no
13041         runpath_var=LD_RUN_PATH
13042         hardcode_runpath_var=yes
13043         ld_shlibs=yes
13044       fi
13045       ;;
13046
13047     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13048       no_undefined_flag='${wl}-z,text'
13049       archive_cmds_need_lc=no
13050       hardcode_shlibpath_var=no
13051       runpath_var='LD_RUN_PATH'
13052
13053       if test "$GCC" = yes; then
13054         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13055         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13056       else
13057         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13058         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13059       fi
13060       ;;
13061
13062     sysv5* | sco3.2v5* | sco5v6*)
13063       # Note: We can NOT use -z defs as we might desire, because we do not
13064       # link with -lc, and that would cause any symbols used from libc to
13065       # always be unresolved, which means just about no library would
13066       # ever link correctly.  If we're not using GNU ld we use -z text
13067       # though, which does catch some bad symbols but isn't as heavy-handed
13068       # as -z defs.
13069       no_undefined_flag='${wl}-z,text'
13070       allow_undefined_flag='${wl}-z,nodefs'
13071       archive_cmds_need_lc=no
13072       hardcode_shlibpath_var=no
13073       hardcode_libdir_flag_spec='${wl}-R,$libdir'
13074       hardcode_libdir_separator=':'
13075       link_all_deplibs=yes
13076       export_dynamic_flag_spec='${wl}-Bexport'
13077       runpath_var='LD_RUN_PATH'
13078
13079       if test "$GCC" = yes; then
13080         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13081         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13082       else
13083         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13084         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13085       fi
13086       ;;
13087
13088     uts4*)
13089       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13090       hardcode_libdir_flag_spec='-L$libdir'
13091       hardcode_shlibpath_var=no
13092       ;;
13093
13094     *)
13095       ld_shlibs=no
13096       ;;
13097     esac
13098
13099     if test x$host_vendor = xsni; then
13100       case $host in
13101       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13102         export_dynamic_flag_spec='${wl}-Blargedynsym'
13103         ;;
13104       esac
13105     fi
13106   fi
13107
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13109 $as_echo "$ld_shlibs" >&6; }
13110 test "$ld_shlibs" = no && can_build_shared=no
13111
13112 with_gnu_ld=$with_gnu_ld
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128 #
13129 # Do we need to explicitly link libc?
13130 #
13131 case "x$archive_cmds_need_lc" in
13132 x|xyes)
13133   # Assume -lc should be added
13134   archive_cmds_need_lc=yes
13135
13136   if test "$enable_shared" = yes && test "$GCC" = yes; then
13137     case $archive_cmds in
13138     *'~'*)
13139       # FIXME: we may have to deal with multi-command sequences.
13140       ;;
13141     '$CC '*)
13142       # Test whether the compiler implicitly links with -lc since on some
13143       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13144       # to ld, don't add -lc before -lgcc.
13145       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13146 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13147 if ${lt_cv_archive_cmds_need_lc+:} false; then :
13148   $as_echo_n "(cached) " >&6
13149 else
13150   $RM conftest*
13151         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13152
13153         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13154   (eval $ac_compile) 2>&5
13155   ac_status=$?
13156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13157   test $ac_status = 0; } 2>conftest.err; then
13158           soname=conftest
13159           lib=conftest
13160           libobjs=conftest.$ac_objext
13161           deplibs=
13162           wl=$lt_prog_compiler_wl
13163           pic_flag=$lt_prog_compiler_pic
13164           compiler_flags=-v
13165           linker_flags=-v
13166           verstring=
13167           output_objdir=.
13168           libname=conftest
13169           lt_save_allow_undefined_flag=$allow_undefined_flag
13170           allow_undefined_flag=
13171           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13172   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13173   ac_status=$?
13174   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13175   test $ac_status = 0; }
13176           then
13177             lt_cv_archive_cmds_need_lc=no
13178           else
13179             lt_cv_archive_cmds_need_lc=yes
13180           fi
13181           allow_undefined_flag=$lt_save_allow_undefined_flag
13182         else
13183           cat conftest.err 1>&5
13184         fi
13185         $RM conftest*
13186
13187 fi
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13189 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13190       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13191       ;;
13192     esac
13193   fi
13194   ;;
13195 esac
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
13340
13341
13342
13343
13344
13345
13346
13347
13348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13349 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13350
13351 if test "$GCC" = yes; then
13352   case $host_os in
13353     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
13354     *) lt_awk_arg="/^libraries:/" ;;
13355   esac
13356   case $host_os in
13357     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
13358     *) lt_sed_strip_eq="s,=/,/,g" ;;
13359   esac
13360   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13361   case $lt_search_path_spec in
13362   *\;*)
13363     # if the path contains ";" then we assume it to be the separator
13364     # otherwise default to the standard path separator (i.e. ":") - it is
13365     # assumed that no part of a normal pathname contains ";" but that should
13366     # okay in the real world where ";" in dirpaths is itself problematic.
13367     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13368     ;;
13369   *)
13370     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13371     ;;
13372   esac
13373   # Ok, now we have the path, separated by spaces, we can step through it
13374   # and add multilib dir if necessary.
13375   lt_tmp_lt_search_path_spec=
13376   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13377   for lt_sys_path in $lt_search_path_spec; do
13378     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13379       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13380     else
13381       test -d "$lt_sys_path" && \
13382         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13383     fi
13384   done
13385   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13386 BEGIN {RS=" "; FS="/|\n";} {
13387   lt_foo="";
13388   lt_count=0;
13389   for (lt_i = NF; lt_i > 0; lt_i--) {
13390     if ($lt_i != "" && $lt_i != ".") {
13391       if ($lt_i == "..") {
13392         lt_count++;
13393       } else {
13394         if (lt_count == 0) {
13395           lt_foo="/" $lt_i lt_foo;
13396         } else {
13397           lt_count--;
13398         }
13399       }
13400     }
13401   }
13402   if (lt_foo != "") { lt_freq[lt_foo]++; }
13403   if (lt_freq[lt_foo] == 1) { print lt_foo; }
13404 }'`
13405   # AWK program above erroneously prepends '/' to C:/dos/paths
13406   # for these hosts.
13407   case $host_os in
13408     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13409       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
13410   esac
13411   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13412 else
13413   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13414 fi
13415 library_names_spec=
13416 libname_spec='lib$name'
13417 soname_spec=
13418 shrext_cmds=".so"
13419 postinstall_cmds=
13420 postuninstall_cmds=
13421 finish_cmds=
13422 finish_eval=
13423 shlibpath_var=
13424 shlibpath_overrides_runpath=unknown
13425 version_type=none
13426 dynamic_linker="$host_os ld.so"
13427 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13428 need_lib_prefix=unknown
13429 hardcode_into_libs=no
13430
13431 # when you set need_version to no, make sure it does not cause -set_version
13432 # flags to be left without arguments
13433 need_version=unknown
13434
13435 case $host_os in
13436 aix3*)
13437   version_type=linux # correct to gnu/linux during the next big refactor
13438   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13439   shlibpath_var=LIBPATH
13440
13441   # AIX 3 has no versioning support, so we append a major version to the name.
13442   soname_spec='${libname}${release}${shared_ext}$major'
13443   ;;
13444
13445 aix[4-9]*)
13446   version_type=linux # correct to gnu/linux during the next big refactor
13447   need_lib_prefix=no
13448   need_version=no
13449   hardcode_into_libs=yes
13450   if test "$host_cpu" = ia64; then
13451     # AIX 5 supports IA64
13452     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13453     shlibpath_var=LD_LIBRARY_PATH
13454   else
13455     # With GCC up to 2.95.x, collect2 would create an import file
13456     # for dependence libraries.  The import file would start with
13457     # the line `#! .'.  This would cause the generated library to
13458     # depend on `.', always an invalid library.  This was fixed in
13459     # development snapshots of GCC prior to 3.0.
13460     case $host_os in
13461       aix4 | aix4.[01] | aix4.[01].*)
13462       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13463            echo ' yes '
13464            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13465         :
13466       else
13467         can_build_shared=no
13468       fi
13469       ;;
13470     esac
13471     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13472     # soname into executable. Probably we can add versioning support to
13473     # collect2, so additional links can be useful in future.
13474     if test "$aix_use_runtimelinking" = yes; then
13475       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13476       # instead of lib<name>.a to let people know that these are not
13477       # typical AIX shared libraries.
13478       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13479     else
13480       # We preserve .a as extension for shared libraries through AIX4.2
13481       # and later when we are not doing run time linking.
13482       library_names_spec='${libname}${release}.a $libname.a'
13483       soname_spec='${libname}${release}${shared_ext}$major'
13484     fi
13485     shlibpath_var=LIBPATH
13486   fi
13487   ;;
13488
13489 amigaos*)
13490   case $host_cpu in
13491   powerpc)
13492     # Since July 2007 AmigaOS4 officially supports .so libraries.
13493     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13494     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13495     ;;
13496   m68k)
13497     library_names_spec='$libname.ixlibrary $libname.a'
13498     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13499     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'
13500     ;;
13501   esac
13502   ;;
13503
13504 beos*)
13505   library_names_spec='${libname}${shared_ext}'
13506   dynamic_linker="$host_os ld.so"
13507   shlibpath_var=LIBRARY_PATH
13508   ;;
13509
13510 bsdi[45]*)
13511   version_type=linux # correct to gnu/linux during the next big refactor
13512   need_version=no
13513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13514   soname_spec='${libname}${release}${shared_ext}$major'
13515   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13516   shlibpath_var=LD_LIBRARY_PATH
13517   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13518   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13519   # the default ld.so.conf also contains /usr/contrib/lib and
13520   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13521   # libtool to hard-code these into programs
13522   ;;
13523
13524 cygwin* | mingw* | pw32* | cegcc*)
13525   version_type=windows
13526   shrext_cmds=".dll"
13527   need_version=no
13528   need_lib_prefix=no
13529
13530   case $GCC,$cc_basename in
13531   yes,*)
13532     # gcc
13533     library_names_spec='$libname.dll.a'
13534     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13535     postinstall_cmds='base_file=`basename \${file}`~
13536       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13537       dldir=$destdir/`dirname \$dlpath`~
13538       test -d \$dldir || mkdir -p \$dldir~
13539       $install_prog $dir/$dlname \$dldir/$dlname~
13540       chmod a+x \$dldir/$dlname~
13541       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13542         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13543       fi'
13544     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13545       dlpath=$dir/\$dldll~
13546        $RM \$dlpath'
13547     shlibpath_overrides_runpath=yes
13548
13549     case $host_os in
13550     cygwin*)
13551       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13552       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13553
13554       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13555       ;;
13556     mingw* | cegcc*)
13557       # MinGW DLLs use traditional 'lib' prefix
13558       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13559       ;;
13560     pw32*)
13561       # pw32 DLLs use 'pw' prefix rather than 'lib'
13562       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13563       ;;
13564     esac
13565     dynamic_linker='Win32 ld.exe'
13566     ;;
13567
13568   *,cl*)
13569     # Native MSVC
13570     libname_spec='$name'
13571     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13572     library_names_spec='${libname}.dll.lib'
13573
13574     case $build_os in
13575     mingw*)
13576       sys_lib_search_path_spec=
13577       lt_save_ifs=$IFS
13578       IFS=';'
13579       for lt_path in $LIB
13580       do
13581         IFS=$lt_save_ifs
13582         # Let DOS variable expansion print the short 8.3 style file name.
13583         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13584         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13585       done
13586       IFS=$lt_save_ifs
13587       # Convert to MSYS style.
13588       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13589       ;;
13590     cygwin*)
13591       # Convert to unix form, then to dos form, then back to unix form
13592       # but this time dos style (no spaces!) so that the unix form looks
13593       # like /cygdrive/c/PROGRA~1:/cygdr...
13594       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13595       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13596       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13597       ;;
13598     *)
13599       sys_lib_search_path_spec="$LIB"
13600       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13601         # It is most probably a Windows format PATH.
13602         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13603       else
13604         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13605       fi
13606       # FIXME: find the short name or the path components, as spaces are
13607       # common. (e.g. "Program Files" -> "PROGRA~1")
13608       ;;
13609     esac
13610
13611     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13612     postinstall_cmds='base_file=`basename \${file}`~
13613       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13614       dldir=$destdir/`dirname \$dlpath`~
13615       test -d \$dldir || mkdir -p \$dldir~
13616       $install_prog $dir/$dlname \$dldir/$dlname'
13617     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13618       dlpath=$dir/\$dldll~
13619        $RM \$dlpath'
13620     shlibpath_overrides_runpath=yes
13621     dynamic_linker='Win32 link.exe'
13622     ;;
13623
13624   *)
13625     # Assume MSVC wrapper
13626     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13627     dynamic_linker='Win32 ld.exe'
13628     ;;
13629   esac
13630   # FIXME: first we should search . and the directory the executable is in
13631   shlibpath_var=PATH
13632   ;;
13633
13634 darwin* | rhapsody*)
13635   dynamic_linker="$host_os dyld"
13636   version_type=darwin
13637   need_lib_prefix=no
13638   need_version=no
13639   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13640   soname_spec='${libname}${release}${major}$shared_ext'
13641   shlibpath_overrides_runpath=yes
13642   shlibpath_var=DYLD_LIBRARY_PATH
13643   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13644
13645   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13646   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13647   ;;
13648
13649 dgux*)
13650   version_type=linux # correct to gnu/linux during the next big refactor
13651   need_lib_prefix=no
13652   need_version=no
13653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13654   soname_spec='${libname}${release}${shared_ext}$major'
13655   shlibpath_var=LD_LIBRARY_PATH
13656   ;;
13657
13658 freebsd* | dragonfly*)
13659   # DragonFly does not have aout.  When/if they implement a new
13660   # versioning mechanism, adjust this.
13661   if test -x /usr/bin/objformat; then
13662     objformat=`/usr/bin/objformat`
13663   else
13664     case $host_os in
13665     freebsd[23].*) objformat=aout ;;
13666     *) objformat=elf ;;
13667     esac
13668   fi
13669   version_type=freebsd-$objformat
13670   case $version_type in
13671     freebsd-elf*)
13672       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13673       need_version=no
13674       need_lib_prefix=no
13675       ;;
13676     freebsd-*)
13677       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13678       need_version=yes
13679       ;;
13680   esac
13681   shlibpath_var=LD_LIBRARY_PATH
13682   case $host_os in
13683   freebsd2.*)
13684     shlibpath_overrides_runpath=yes
13685     ;;
13686   freebsd3.[01]* | freebsdelf3.[01]*)
13687     shlibpath_overrides_runpath=yes
13688     hardcode_into_libs=yes
13689     ;;
13690   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13691   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13692     shlibpath_overrides_runpath=no
13693     hardcode_into_libs=yes
13694     ;;
13695   *) # from 4.6 on, and DragonFly
13696     shlibpath_overrides_runpath=yes
13697     hardcode_into_libs=yes
13698     ;;
13699   esac
13700   ;;
13701
13702 gnu*)
13703   version_type=linux # correct to gnu/linux during the next big refactor
13704   need_lib_prefix=no
13705   need_version=no
13706   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13707   soname_spec='${libname}${release}${shared_ext}$major'
13708   shlibpath_var=LD_LIBRARY_PATH
13709   shlibpath_overrides_runpath=no
13710   hardcode_into_libs=yes
13711   ;;
13712
13713 haiku*)
13714   version_type=linux # correct to gnu/linux during the next big refactor
13715   need_lib_prefix=no
13716   need_version=no
13717   dynamic_linker="$host_os runtime_loader"
13718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13719   soname_spec='${libname}${release}${shared_ext}$major'
13720   shlibpath_var=LIBRARY_PATH
13721   shlibpath_overrides_runpath=yes
13722   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13723   hardcode_into_libs=yes
13724   ;;
13725
13726 hpux9* | hpux10* | hpux11*)
13727   # Give a soname corresponding to the major version so that dld.sl refuses to
13728   # link against other versions.
13729   version_type=sunos
13730   need_lib_prefix=no
13731   need_version=no
13732   case $host_cpu in
13733   ia64*)
13734     shrext_cmds='.so'
13735     hardcode_into_libs=yes
13736     dynamic_linker="$host_os dld.so"
13737     shlibpath_var=LD_LIBRARY_PATH
13738     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13739     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13740     soname_spec='${libname}${release}${shared_ext}$major'
13741     if test "X$HPUX_IA64_MODE" = X32; then
13742       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13743     else
13744       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13745     fi
13746     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13747     ;;
13748   hppa*64*)
13749     shrext_cmds='.sl'
13750     hardcode_into_libs=yes
13751     dynamic_linker="$host_os dld.sl"
13752     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13753     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13754     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13755     soname_spec='${libname}${release}${shared_ext}$major'
13756     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13757     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13758     ;;
13759   *)
13760     shrext_cmds='.sl'
13761     dynamic_linker="$host_os dld.sl"
13762     shlibpath_var=SHLIB_PATH
13763     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13764     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13765     soname_spec='${libname}${release}${shared_ext}$major'
13766     ;;
13767   esac
13768   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13769   postinstall_cmds='chmod 555 $lib'
13770   # or fails outright, so override atomically:
13771   install_override_mode=555
13772   ;;
13773
13774 interix[3-9]*)
13775   version_type=linux # correct to gnu/linux during the next big refactor
13776   need_lib_prefix=no
13777   need_version=no
13778   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13779   soname_spec='${libname}${release}${shared_ext}$major'
13780   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13781   shlibpath_var=LD_LIBRARY_PATH
13782   shlibpath_overrides_runpath=no
13783   hardcode_into_libs=yes
13784   ;;
13785
13786 irix5* | irix6* | nonstopux*)
13787   case $host_os in
13788     nonstopux*) version_type=nonstopux ;;
13789     *)
13790         if test "$lt_cv_prog_gnu_ld" = yes; then
13791                 version_type=linux # correct to gnu/linux during the next big refactor
13792         else
13793                 version_type=irix
13794         fi ;;
13795   esac
13796   need_lib_prefix=no
13797   need_version=no
13798   soname_spec='${libname}${release}${shared_ext}$major'
13799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13800   case $host_os in
13801   irix5* | nonstopux*)
13802     libsuff= shlibsuff=
13803     ;;
13804   *)
13805     case $LD in # libtool.m4 will add one of these switches to LD
13806     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13807       libsuff= shlibsuff= libmagic=32-bit;;
13808     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13809       libsuff=32 shlibsuff=N32 libmagic=N32;;
13810     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13811       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13812     *) libsuff= shlibsuff= libmagic=never-match;;
13813     esac
13814     ;;
13815   esac
13816   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13817   shlibpath_overrides_runpath=no
13818   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13819   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13820   hardcode_into_libs=yes
13821   ;;
13822
13823 # No shared lib support for Linux oldld, aout, or coff.
13824 linux*oldld* | linux*aout* | linux*coff*)
13825   dynamic_linker=no
13826   ;;
13827
13828 # This must be glibc/ELF.
13829 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13830   version_type=linux # correct to gnu/linux during the next big refactor
13831   need_lib_prefix=no
13832   need_version=no
13833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13834   soname_spec='${libname}${release}${shared_ext}$major'
13835   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13836   shlibpath_var=LD_LIBRARY_PATH
13837   shlibpath_overrides_runpath=no
13838
13839   # Some binutils ld are patched to set DT_RUNPATH
13840   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13841   $as_echo_n "(cached) " >&6
13842 else
13843   lt_cv_shlibpath_overrides_runpath=no
13844     save_LDFLAGS=$LDFLAGS
13845     save_libdir=$libdir
13846     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13847          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13848     if test x$ac_no_link = xyes; then
13849   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
13850 fi
13851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13852 /* end confdefs.h.  */
13853
13854 int
13855 main ()
13856 {
13857
13858   ;
13859   return 0;
13860 }
13861 _ACEOF
13862 if ac_fn_c_try_link "$LINENO"; then :
13863   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13864   lt_cv_shlibpath_overrides_runpath=yes
13865 fi
13866 fi
13867 rm -f core conftest.err conftest.$ac_objext \
13868     conftest$ac_exeext conftest.$ac_ext
13869     LDFLAGS=$save_LDFLAGS
13870     libdir=$save_libdir
13871
13872 fi
13873
13874   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13875
13876   # This implies no fast_install, which is unacceptable.
13877   # Some rework will be needed to allow for fast_install
13878   # before this can be enabled.
13879   hardcode_into_libs=yes
13880
13881   # Append ld.so.conf contents to the search path
13882   if test -f /etc/ld.so.conf; then
13883     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' ' '`
13884     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13885   fi
13886
13887   # We used to test for /lib/ld.so.1 and disable shared libraries on
13888   # powerpc, because MkLinux only supported shared libraries with the
13889   # GNU dynamic linker.  Since this was broken with cross compilers,
13890   # most powerpc-linux boxes support dynamic linking these days and
13891   # people can always --disable-shared, the test was removed, and we
13892   # assume the GNU/Linux dynamic linker is in use.
13893   dynamic_linker='GNU/Linux ld.so'
13894   ;;
13895
13896 netbsd*)
13897   version_type=sunos
13898   need_lib_prefix=no
13899   need_version=no
13900   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13901     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13902     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13903     dynamic_linker='NetBSD (a.out) ld.so'
13904   else
13905     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13906     soname_spec='${libname}${release}${shared_ext}$major'
13907     dynamic_linker='NetBSD ld.elf_so'
13908   fi
13909   shlibpath_var=LD_LIBRARY_PATH
13910   shlibpath_overrides_runpath=yes
13911   hardcode_into_libs=yes
13912   ;;
13913
13914 newsos6)
13915   version_type=linux # correct to gnu/linux during the next big refactor
13916   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13917   shlibpath_var=LD_LIBRARY_PATH
13918   shlibpath_overrides_runpath=yes
13919   ;;
13920
13921 *nto* | *qnx*)
13922   version_type=qnx
13923   need_lib_prefix=no
13924   need_version=no
13925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13926   soname_spec='${libname}${release}${shared_ext}$major'
13927   shlibpath_var=LD_LIBRARY_PATH
13928   shlibpath_overrides_runpath=no
13929   hardcode_into_libs=yes
13930   dynamic_linker='ldqnx.so'
13931   ;;
13932
13933 openbsd*)
13934   version_type=sunos
13935   sys_lib_dlsearch_path_spec="/usr/lib"
13936   need_lib_prefix=no
13937   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13938   case $host_os in
13939     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13940     *)                          need_version=no  ;;
13941   esac
13942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13943   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13944   shlibpath_var=LD_LIBRARY_PATH
13945   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13946     case $host_os in
13947       openbsd2.[89] | openbsd2.[89].*)
13948         shlibpath_overrides_runpath=no
13949         ;;
13950       *)
13951         shlibpath_overrides_runpath=yes
13952         ;;
13953       esac
13954   else
13955     shlibpath_overrides_runpath=yes
13956   fi
13957   ;;
13958
13959 os2*)
13960   libname_spec='$name'
13961   shrext_cmds=".dll"
13962   need_lib_prefix=no
13963   library_names_spec='$libname${shared_ext} $libname.a'
13964   dynamic_linker='OS/2 ld.exe'
13965   shlibpath_var=LIBPATH
13966   ;;
13967
13968 osf3* | osf4* | osf5*)
13969   version_type=osf
13970   need_lib_prefix=no
13971   need_version=no
13972   soname_spec='${libname}${release}${shared_ext}$major'
13973   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13974   shlibpath_var=LD_LIBRARY_PATH
13975   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13976   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13977   ;;
13978
13979 rdos*)
13980   dynamic_linker=no
13981   ;;
13982
13983 solaris*)
13984   version_type=linux # correct to gnu/linux during the next big refactor
13985   need_lib_prefix=no
13986   need_version=no
13987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13988   soname_spec='${libname}${release}${shared_ext}$major'
13989   shlibpath_var=LD_LIBRARY_PATH
13990   shlibpath_overrides_runpath=yes
13991   hardcode_into_libs=yes
13992   # ldd complains unless libraries are executable
13993   postinstall_cmds='chmod +x $lib'
13994   ;;
13995
13996 sunos4*)
13997   version_type=sunos
13998   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13999   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14000   shlibpath_var=LD_LIBRARY_PATH
14001   shlibpath_overrides_runpath=yes
14002   if test "$with_gnu_ld" = yes; then
14003     need_lib_prefix=no
14004   fi
14005   need_version=yes
14006   ;;
14007
14008 sysv4 | sysv4.3*)
14009   version_type=linux # correct to gnu/linux during the next big refactor
14010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14011   soname_spec='${libname}${release}${shared_ext}$major'
14012   shlibpath_var=LD_LIBRARY_PATH
14013   case $host_vendor in
14014     sni)
14015       shlibpath_overrides_runpath=no
14016       need_lib_prefix=no
14017       runpath_var=LD_RUN_PATH
14018       ;;
14019     siemens)
14020       need_lib_prefix=no
14021       ;;
14022     motorola)
14023       need_lib_prefix=no
14024       need_version=no
14025       shlibpath_overrides_runpath=no
14026       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14027       ;;
14028   esac
14029   ;;
14030
14031 sysv4*MP*)
14032   if test -d /usr/nec ;then
14033     version_type=linux # correct to gnu/linux during the next big refactor
14034     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14035     soname_spec='$libname${shared_ext}.$major'
14036     shlibpath_var=LD_LIBRARY_PATH
14037   fi
14038   ;;
14039
14040 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14041   version_type=freebsd-elf
14042   need_lib_prefix=no
14043   need_version=no
14044   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14045   soname_spec='${libname}${release}${shared_ext}$major'
14046   shlibpath_var=LD_LIBRARY_PATH
14047   shlibpath_overrides_runpath=yes
14048   hardcode_into_libs=yes
14049   if test "$with_gnu_ld" = yes; then
14050     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14051   else
14052     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14053     case $host_os in
14054       sco3.2v5*)
14055         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14056         ;;
14057     esac
14058   fi
14059   sys_lib_dlsearch_path_spec='/usr/lib'
14060   ;;
14061
14062 tpf*)
14063   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14064   version_type=linux # correct to gnu/linux during the next big refactor
14065   need_lib_prefix=no
14066   need_version=no
14067   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14068   shlibpath_var=LD_LIBRARY_PATH
14069   shlibpath_overrides_runpath=no
14070   hardcode_into_libs=yes
14071   ;;
14072
14073 uts4*)
14074   version_type=linux # correct to gnu/linux during the next big refactor
14075   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14076   soname_spec='${libname}${release}${shared_ext}$major'
14077   shlibpath_var=LD_LIBRARY_PATH
14078   ;;
14079
14080 *)
14081   dynamic_linker=no
14082   ;;
14083 esac
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14085 $as_echo "$dynamic_linker" >&6; }
14086 test "$dynamic_linker" = no && can_build_shared=no
14087
14088 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14089 if test "$GCC" = yes; then
14090   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14091 fi
14092
14093 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14094   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14095 fi
14096 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14097   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14098 fi
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
14183
14184
14185
14186
14187
14188
14189
14190
14191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14192 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14193 hardcode_action=
14194 if test -n "$hardcode_libdir_flag_spec" ||
14195    test -n "$runpath_var" ||
14196    test "X$hardcode_automatic" = "Xyes" ; then
14197
14198   # We can hardcode non-existent directories.
14199   if test "$hardcode_direct" != no &&
14200      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14201      # have to relink, otherwise we might link with an installed library
14202      # when we should be linking with a yet-to-be-installed one
14203      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14204      test "$hardcode_minus_L" != no; then
14205     # Linking always hardcodes the temporary library directory.
14206     hardcode_action=relink
14207   else
14208     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14209     hardcode_action=immediate
14210   fi
14211 else
14212   # We cannot hardcode anything, or else we can only hardcode existing
14213   # directories.
14214   hardcode_action=unsupported
14215 fi
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14217 $as_echo "$hardcode_action" >&6; }
14218
14219 if test "$hardcode_action" = relink ||
14220    test "$inherit_rpath" = yes; then
14221   # Fast installation is not supported
14222   enable_fast_install=no
14223 elif test "$shlibpath_overrides_runpath" = yes ||
14224      test "$enable_shared" = no; then
14225   # Fast installation is not necessary
14226   enable_fast_install=needless
14227 fi
14228
14229
14230
14231
14232
14233
14234   if test "x$enable_dlopen" != xyes; then
14235   enable_dlopen=unknown
14236   enable_dlopen_self=unknown
14237   enable_dlopen_self_static=unknown
14238 else
14239   lt_cv_dlopen=no
14240   lt_cv_dlopen_libs=
14241
14242   case $host_os in
14243   beos*)
14244     lt_cv_dlopen="load_add_on"
14245     lt_cv_dlopen_libs=
14246     lt_cv_dlopen_self=yes
14247     ;;
14248
14249   mingw* | pw32* | cegcc*)
14250     lt_cv_dlopen="LoadLibrary"
14251     lt_cv_dlopen_libs=
14252     ;;
14253
14254   cygwin*)
14255     lt_cv_dlopen="dlopen"
14256     lt_cv_dlopen_libs=
14257     ;;
14258
14259   darwin*)
14260   # if libdl is installed we need to link against it
14261     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14262 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14263 if ${ac_cv_lib_dl_dlopen+:} false; then :
14264   $as_echo_n "(cached) " >&6
14265 else
14266   ac_check_lib_save_LIBS=$LIBS
14267 LIBS="-ldl  $LIBS"
14268 if test x$ac_no_link = xyes; then
14269   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14270 fi
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h.  */
14273
14274 /* Override any GCC internal prototype to avoid an error.
14275    Use char because int might match the return type of a GCC
14276    builtin and then its argument prototype would still apply.  */
14277 #ifdef __cplusplus
14278 extern "C"
14279 #endif
14280 char dlopen ();
14281 int
14282 main ()
14283 {
14284 return dlopen ();
14285   ;
14286   return 0;
14287 }
14288 _ACEOF
14289 if ac_fn_c_try_link "$LINENO"; then :
14290   ac_cv_lib_dl_dlopen=yes
14291 else
14292   ac_cv_lib_dl_dlopen=no
14293 fi
14294 rm -f core conftest.err conftest.$ac_objext \
14295     conftest$ac_exeext conftest.$ac_ext
14296 LIBS=$ac_check_lib_save_LIBS
14297 fi
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14299 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14300 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14301   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14302 else
14303
14304     lt_cv_dlopen="dyld"
14305     lt_cv_dlopen_libs=
14306     lt_cv_dlopen_self=yes
14307
14308 fi
14309
14310     ;;
14311
14312   *)
14313     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14314 if test "x$ac_cv_func_shl_load" = xyes; then :
14315   lt_cv_dlopen="shl_load"
14316 else
14317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14318 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14319 if ${ac_cv_lib_dld_shl_load+:} false; then :
14320   $as_echo_n "(cached) " >&6
14321 else
14322   ac_check_lib_save_LIBS=$LIBS
14323 LIBS="-ldld  $LIBS"
14324 if test x$ac_no_link = xyes; then
14325   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14326 fi
14327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14328 /* end confdefs.h.  */
14329
14330 /* Override any GCC internal prototype to avoid an error.
14331    Use char because int might match the return type of a GCC
14332    builtin and then its argument prototype would still apply.  */
14333 #ifdef __cplusplus
14334 extern "C"
14335 #endif
14336 char shl_load ();
14337 int
14338 main ()
14339 {
14340 return shl_load ();
14341   ;
14342   return 0;
14343 }
14344 _ACEOF
14345 if ac_fn_c_try_link "$LINENO"; then :
14346   ac_cv_lib_dld_shl_load=yes
14347 else
14348   ac_cv_lib_dld_shl_load=no
14349 fi
14350 rm -f core conftest.err conftest.$ac_objext \
14351     conftest$ac_exeext conftest.$ac_ext
14352 LIBS=$ac_check_lib_save_LIBS
14353 fi
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14355 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14356 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14357   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
14358 else
14359   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14360 if test "x$ac_cv_func_dlopen" = xyes; then :
14361   lt_cv_dlopen="dlopen"
14362 else
14363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14364 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14365 if ${ac_cv_lib_dl_dlopen+:} false; then :
14366   $as_echo_n "(cached) " >&6
14367 else
14368   ac_check_lib_save_LIBS=$LIBS
14369 LIBS="-ldl  $LIBS"
14370 if test x$ac_no_link = xyes; then
14371   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14372 fi
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h.  */
14375
14376 /* Override any GCC internal prototype to avoid an error.
14377    Use char because int might match the return type of a GCC
14378    builtin and then its argument prototype would still apply.  */
14379 #ifdef __cplusplus
14380 extern "C"
14381 #endif
14382 char dlopen ();
14383 int
14384 main ()
14385 {
14386 return dlopen ();
14387   ;
14388   return 0;
14389 }
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392   ac_cv_lib_dl_dlopen=yes
14393 else
14394   ac_cv_lib_dl_dlopen=no
14395 fi
14396 rm -f core conftest.err conftest.$ac_objext \
14397     conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_lib_save_LIBS
14399 fi
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14401 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14402 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14403   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14404 else
14405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14406 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14407 if ${ac_cv_lib_svld_dlopen+:} false; then :
14408   $as_echo_n "(cached) " >&6
14409 else
14410   ac_check_lib_save_LIBS=$LIBS
14411 LIBS="-lsvld  $LIBS"
14412 if test x$ac_no_link = xyes; then
14413   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14414 fi
14415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h.  */
14417
14418 /* Override any GCC internal prototype to avoid an error.
14419    Use char because int might match the return type of a GCC
14420    builtin and then its argument prototype would still apply.  */
14421 #ifdef __cplusplus
14422 extern "C"
14423 #endif
14424 char dlopen ();
14425 int
14426 main ()
14427 {
14428 return dlopen ();
14429   ;
14430   return 0;
14431 }
14432 _ACEOF
14433 if ac_fn_c_try_link "$LINENO"; then :
14434   ac_cv_lib_svld_dlopen=yes
14435 else
14436   ac_cv_lib_svld_dlopen=no
14437 fi
14438 rm -f core conftest.err conftest.$ac_objext \
14439     conftest$ac_exeext conftest.$ac_ext
14440 LIBS=$ac_check_lib_save_LIBS
14441 fi
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14443 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14444 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14445   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14446 else
14447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14448 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14449 if ${ac_cv_lib_dld_dld_link+:} false; then :
14450   $as_echo_n "(cached) " >&6
14451 else
14452   ac_check_lib_save_LIBS=$LIBS
14453 LIBS="-ldld  $LIBS"
14454 if test x$ac_no_link = xyes; then
14455   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14456 fi
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h.  */
14459
14460 /* Override any GCC internal prototype to avoid an error.
14461    Use char because int might match the return type of a GCC
14462    builtin and then its argument prototype would still apply.  */
14463 #ifdef __cplusplus
14464 extern "C"
14465 #endif
14466 char dld_link ();
14467 int
14468 main ()
14469 {
14470 return dld_link ();
14471   ;
14472   return 0;
14473 }
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476   ac_cv_lib_dld_dld_link=yes
14477 else
14478   ac_cv_lib_dld_dld_link=no
14479 fi
14480 rm -f core conftest.err conftest.$ac_objext \
14481     conftest$ac_exeext conftest.$ac_ext
14482 LIBS=$ac_check_lib_save_LIBS
14483 fi
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14485 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14486 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14487   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14488 fi
14489
14490
14491 fi
14492
14493
14494 fi
14495
14496
14497 fi
14498
14499
14500 fi
14501
14502
14503 fi
14504
14505     ;;
14506   esac
14507
14508   if test "x$lt_cv_dlopen" != xno; then
14509     enable_dlopen=yes
14510   else
14511     enable_dlopen=no
14512   fi
14513
14514   case $lt_cv_dlopen in
14515   dlopen)
14516     save_CPPFLAGS="$CPPFLAGS"
14517     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14518
14519     save_LDFLAGS="$LDFLAGS"
14520     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14521
14522     save_LIBS="$LIBS"
14523     LIBS="$lt_cv_dlopen_libs $LIBS"
14524
14525     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14526 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14527 if ${lt_cv_dlopen_self+:} false; then :
14528   $as_echo_n "(cached) " >&6
14529 else
14530           if test "$cross_compiling" = yes; then :
14531   lt_cv_dlopen_self=cross
14532 else
14533   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14534   lt_status=$lt_dlunknown
14535   cat > conftest.$ac_ext <<_LT_EOF
14536 #line $LINENO "configure"
14537 #include "confdefs.h"
14538
14539 #if HAVE_DLFCN_H
14540 #include <dlfcn.h>
14541 #endif
14542
14543 #include <stdio.h>
14544
14545 #ifdef RTLD_GLOBAL
14546 #  define LT_DLGLOBAL           RTLD_GLOBAL
14547 #else
14548 #  ifdef DL_GLOBAL
14549 #    define LT_DLGLOBAL         DL_GLOBAL
14550 #  else
14551 #    define LT_DLGLOBAL         0
14552 #  endif
14553 #endif
14554
14555 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14556    find out it does not work in some platform. */
14557 #ifndef LT_DLLAZY_OR_NOW
14558 #  ifdef RTLD_LAZY
14559 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14560 #  else
14561 #    ifdef DL_LAZY
14562 #      define LT_DLLAZY_OR_NOW          DL_LAZY
14563 #    else
14564 #      ifdef RTLD_NOW
14565 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
14566 #      else
14567 #        ifdef DL_NOW
14568 #          define LT_DLLAZY_OR_NOW      DL_NOW
14569 #        else
14570 #          define LT_DLLAZY_OR_NOW      0
14571 #        endif
14572 #      endif
14573 #    endif
14574 #  endif
14575 #endif
14576
14577 /* When -fvisbility=hidden is used, assume the code has been annotated
14578    correspondingly for the symbols needed.  */
14579 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14580 int fnord () __attribute__((visibility("default")));
14581 #endif
14582
14583 int fnord () { return 42; }
14584 int main ()
14585 {
14586   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14587   int status = $lt_dlunknown;
14588
14589   if (self)
14590     {
14591       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14592       else
14593         {
14594           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14595           else puts (dlerror ());
14596         }
14597       /* dlclose (self); */
14598     }
14599   else
14600     puts (dlerror ());
14601
14602   return status;
14603 }
14604 _LT_EOF
14605   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14606   (eval $ac_link) 2>&5
14607   ac_status=$?
14608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14609   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14610     (./conftest; exit; ) >&5 2>/dev/null
14611     lt_status=$?
14612     case x$lt_status in
14613       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14614       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14615       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14616     esac
14617   else :
14618     # compilation failed
14619     lt_cv_dlopen_self=no
14620   fi
14621 fi
14622 rm -fr conftest*
14623
14624
14625 fi
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14627 $as_echo "$lt_cv_dlopen_self" >&6; }
14628
14629     if test "x$lt_cv_dlopen_self" = xyes; then
14630       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14631       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14632 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14633 if ${lt_cv_dlopen_self_static+:} false; then :
14634   $as_echo_n "(cached) " >&6
14635 else
14636           if test "$cross_compiling" = yes; then :
14637   lt_cv_dlopen_self_static=cross
14638 else
14639   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14640   lt_status=$lt_dlunknown
14641   cat > conftest.$ac_ext <<_LT_EOF
14642 #line $LINENO "configure"
14643 #include "confdefs.h"
14644
14645 #if HAVE_DLFCN_H
14646 #include <dlfcn.h>
14647 #endif
14648
14649 #include <stdio.h>
14650
14651 #ifdef RTLD_GLOBAL
14652 #  define LT_DLGLOBAL           RTLD_GLOBAL
14653 #else
14654 #  ifdef DL_GLOBAL
14655 #    define LT_DLGLOBAL         DL_GLOBAL
14656 #  else
14657 #    define LT_DLGLOBAL         0
14658 #  endif
14659 #endif
14660
14661 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14662    find out it does not work in some platform. */
14663 #ifndef LT_DLLAZY_OR_NOW
14664 #  ifdef RTLD_LAZY
14665 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14666 #  else
14667 #    ifdef DL_LAZY
14668 #      define LT_DLLAZY_OR_NOW          DL_LAZY
14669 #    else
14670 #      ifdef RTLD_NOW
14671 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
14672 #      else
14673 #        ifdef DL_NOW
14674 #          define LT_DLLAZY_OR_NOW      DL_NOW
14675 #        else
14676 #          define LT_DLLAZY_OR_NOW      0
14677 #        endif
14678 #      endif
14679 #    endif
14680 #  endif
14681 #endif
14682
14683 /* When -fvisbility=hidden is used, assume the code has been annotated
14684    correspondingly for the symbols needed.  */
14685 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14686 int fnord () __attribute__((visibility("default")));
14687 #endif
14688
14689 int fnord () { return 42; }
14690 int main ()
14691 {
14692   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14693   int status = $lt_dlunknown;
14694
14695   if (self)
14696     {
14697       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14698       else
14699         {
14700           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14701           else puts (dlerror ());
14702         }
14703       /* dlclose (self); */
14704     }
14705   else
14706     puts (dlerror ());
14707
14708   return status;
14709 }
14710 _LT_EOF
14711   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14712   (eval $ac_link) 2>&5
14713   ac_status=$?
14714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14715   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14716     (./conftest; exit; ) >&5 2>/dev/null
14717     lt_status=$?
14718     case x$lt_status in
14719       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14720       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14721       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14722     esac
14723   else :
14724     # compilation failed
14725     lt_cv_dlopen_self_static=no
14726   fi
14727 fi
14728 rm -fr conftest*
14729
14730
14731 fi
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14733 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14734     fi
14735
14736     CPPFLAGS="$save_CPPFLAGS"
14737     LDFLAGS="$save_LDFLAGS"
14738     LIBS="$save_LIBS"
14739     ;;
14740   esac
14741
14742   case $lt_cv_dlopen_self in
14743   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14744   *) enable_dlopen_self=unknown ;;
14745   esac
14746
14747   case $lt_cv_dlopen_self_static in
14748   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14749   *) enable_dlopen_self_static=unknown ;;
14750   esac
14751 fi
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769 striplib=
14770 old_striplib=
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14772 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14773 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14774   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14775   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14777 $as_echo "yes" >&6; }
14778 else
14779 # FIXME - insert some real tests, host_os isn't really good enough
14780   case $host_os in
14781   darwin*)
14782     if test -n "$STRIP" ; then
14783       striplib="$STRIP -x"
14784       old_striplib="$STRIP -S"
14785       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14786 $as_echo "yes" >&6; }
14787     else
14788       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14789 $as_echo "no" >&6; }
14790     fi
14791     ;;
14792   *)
14793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14794 $as_echo "no" >&6; }
14795     ;;
14796   esac
14797 fi
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810   # Report which library types will actually be built
14811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14812 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14814 $as_echo "$can_build_shared" >&6; }
14815
14816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14817 $as_echo_n "checking whether to build shared libraries... " >&6; }
14818   test "$can_build_shared" = "no" && enable_shared=no
14819
14820   # On AIX, shared libraries and static libraries use the same namespace, and
14821   # are all built from PIC.
14822   case $host_os in
14823   aix3*)
14824     test "$enable_shared" = yes && enable_static=no
14825     if test -n "$RANLIB"; then
14826       archive_cmds="$archive_cmds~\$RANLIB \$lib"
14827       postinstall_cmds='$RANLIB $lib'
14828     fi
14829     ;;
14830
14831   aix[4-9]*)
14832     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14833       test "$enable_shared" = yes && enable_static=no
14834     fi
14835     ;;
14836   esac
14837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14838 $as_echo "$enable_shared" >&6; }
14839
14840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14841 $as_echo_n "checking whether to build static libraries... " >&6; }
14842   # Make sure either enable_shared or enable_static is yes.
14843   test "$enable_shared" = yes || enable_static=yes
14844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14845 $as_echo "$enable_static" >&6; }
14846
14847
14848
14849
14850 fi
14851 ac_ext=c
14852 ac_cpp='$CPP $CPPFLAGS'
14853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14856
14857 CC="$lt_save_CC"
14858
14859       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14860     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14861     (test "X$CXX" != "Xg++"))) ; then
14862   ac_ext=cpp
14863 ac_cpp='$CXXCPP $CPPFLAGS'
14864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14868 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14869 if test -z "$CXXCPP"; then
14870   if ${ac_cv_prog_CXXCPP+:} false; then :
14871   $as_echo_n "(cached) " >&6
14872 else
14873       # Double quotes because CXXCPP needs to be expanded
14874     for CXXCPP in "$CXX -E" "/lib/cpp"
14875     do
14876       ac_preproc_ok=false
14877 for ac_cxx_preproc_warn_flag in '' yes
14878 do
14879   # Use a header file that comes with gcc, so configuring glibc
14880   # with a fresh cross-compiler works.
14881   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14882   # <limits.h> exists even on freestanding compilers.
14883   # On the NeXT, cc -E runs the code through the compiler's parser,
14884   # not just through cpp. "Syntax error" is here to catch this case.
14885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h.  */
14887 #ifdef __STDC__
14888 # include <limits.h>
14889 #else
14890 # include <assert.h>
14891 #endif
14892                      Syntax error
14893 _ACEOF
14894 if ac_fn_cxx_try_cpp "$LINENO"; then :
14895
14896 else
14897   # Broken: fails on valid input.
14898 continue
14899 fi
14900 rm -f conftest.err conftest.i conftest.$ac_ext
14901
14902   # OK, works on sane cases.  Now check whether nonexistent headers
14903   # can be detected and how.
14904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h.  */
14906 #include <ac_nonexistent.h>
14907 _ACEOF
14908 if ac_fn_cxx_try_cpp "$LINENO"; then :
14909   # Broken: success on invalid input.
14910 continue
14911 else
14912   # Passes both tests.
14913 ac_preproc_ok=:
14914 break
14915 fi
14916 rm -f conftest.err conftest.i conftest.$ac_ext
14917
14918 done
14919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14920 rm -f conftest.i conftest.err conftest.$ac_ext
14921 if $ac_preproc_ok; then :
14922   break
14923 fi
14924
14925     done
14926     ac_cv_prog_CXXCPP=$CXXCPP
14927
14928 fi
14929   CXXCPP=$ac_cv_prog_CXXCPP
14930 else
14931   ac_cv_prog_CXXCPP=$CXXCPP
14932 fi
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14934 $as_echo "$CXXCPP" >&6; }
14935 ac_preproc_ok=false
14936 for ac_cxx_preproc_warn_flag in '' yes
14937 do
14938   # Use a header file that comes with gcc, so configuring glibc
14939   # with a fresh cross-compiler works.
14940   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14941   # <limits.h> exists even on freestanding compilers.
14942   # On the NeXT, cc -E runs the code through the compiler's parser,
14943   # not just through cpp. "Syntax error" is here to catch this case.
14944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h.  */
14946 #ifdef __STDC__
14947 # include <limits.h>
14948 #else
14949 # include <assert.h>
14950 #endif
14951                      Syntax error
14952 _ACEOF
14953 if ac_fn_cxx_try_cpp "$LINENO"; then :
14954
14955 else
14956   # Broken: fails on valid input.
14957 continue
14958 fi
14959 rm -f conftest.err conftest.i conftest.$ac_ext
14960
14961   # OK, works on sane cases.  Now check whether nonexistent headers
14962   # can be detected and how.
14963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h.  */
14965 #include <ac_nonexistent.h>
14966 _ACEOF
14967 if ac_fn_cxx_try_cpp "$LINENO"; then :
14968   # Broken: success on invalid input.
14969 continue
14970 else
14971   # Passes both tests.
14972 ac_preproc_ok=:
14973 break
14974 fi
14975 rm -f conftest.err conftest.i conftest.$ac_ext
14976
14977 done
14978 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14979 rm -f conftest.i conftest.err conftest.$ac_ext
14980 if $ac_preproc_ok; then :
14981
14982 else
14983   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14985 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14986 See \`config.log' for more details" "$LINENO" 5; }
14987 fi
14988
14989 ac_ext=c
14990 ac_cpp='$CPP $CPPFLAGS'
14991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994
14995 else
14996   _lt_caught_CXX_error=yes
14997 fi
14998
14999 ac_ext=cpp
15000 ac_cpp='$CXXCPP $CPPFLAGS'
15001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15004
15005 archive_cmds_need_lc_CXX=no
15006 allow_undefined_flag_CXX=
15007 always_export_symbols_CXX=no
15008 archive_expsym_cmds_CXX=
15009 compiler_needs_object_CXX=no
15010 export_dynamic_flag_spec_CXX=
15011 hardcode_direct_CXX=no
15012 hardcode_direct_absolute_CXX=no
15013 hardcode_libdir_flag_spec_CXX=
15014 hardcode_libdir_separator_CXX=
15015 hardcode_minus_L_CXX=no
15016 hardcode_shlibpath_var_CXX=unsupported
15017 hardcode_automatic_CXX=no
15018 inherit_rpath_CXX=no
15019 module_cmds_CXX=
15020 module_expsym_cmds_CXX=
15021 link_all_deplibs_CXX=unknown
15022 old_archive_cmds_CXX=$old_archive_cmds
15023 reload_flag_CXX=$reload_flag
15024 reload_cmds_CXX=$reload_cmds
15025 no_undefined_flag_CXX=
15026 whole_archive_flag_spec_CXX=
15027 enable_shared_with_static_runtimes_CXX=no
15028
15029 # Source file extension for C++ test sources.
15030 ac_ext=cpp
15031
15032 # Object file extension for compiled C++ test sources.
15033 objext=o
15034 objext_CXX=$objext
15035
15036 # No sense in running all these tests if we already determined that
15037 # the CXX compiler isn't working.  Some variables (like enable_shared)
15038 # are currently assumed to apply to all compilers on this platform,
15039 # and will be corrupted by setting them based on a non-working compiler.
15040 if test "$_lt_caught_CXX_error" != yes; then
15041   # Code to be used in simple compile tests
15042   lt_simple_compile_test_code="int some_variable = 0;"
15043
15044   # Code to be used in simple link tests
15045   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15046
15047   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15048
15049
15050
15051
15052
15053
15054 # If no C compiler was specified, use CC.
15055 LTCC=${LTCC-"$CC"}
15056
15057 # If no C compiler flags were specified, use CFLAGS.
15058 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15059
15060 # Allow CC to be a program name with arguments.
15061 compiler=$CC
15062
15063
15064   # save warnings/boilerplate of simple test code
15065   ac_outfile=conftest.$ac_objext
15066 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15067 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15068 _lt_compiler_boilerplate=`cat conftest.err`
15069 $RM conftest*
15070
15071   ac_outfile=conftest.$ac_objext
15072 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15073 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15074 _lt_linker_boilerplate=`cat conftest.err`
15075 $RM -r conftest*
15076
15077
15078   # Allow CC to be a program name with arguments.
15079   lt_save_CC=$CC
15080   lt_save_CFLAGS=$CFLAGS
15081   lt_save_LD=$LD
15082   lt_save_GCC=$GCC
15083   GCC=$GXX
15084   lt_save_with_gnu_ld=$with_gnu_ld
15085   lt_save_path_LD=$lt_cv_path_LD
15086   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15087     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15088   else
15089     $as_unset lt_cv_prog_gnu_ld
15090   fi
15091   if test -n "${lt_cv_path_LDCXX+set}"; then
15092     lt_cv_path_LD=$lt_cv_path_LDCXX
15093   else
15094     $as_unset lt_cv_path_LD
15095   fi
15096   test -z "${LDCXX+set}" || LD=$LDCXX
15097   CC=${CXX-"c++"}
15098   CFLAGS=$CXXFLAGS
15099   compiler=$CC
15100   compiler_CXX=$CC
15101   for cc_temp in $compiler""; do
15102   case $cc_temp in
15103     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15104     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15105     \-*) ;;
15106     *) break;;
15107   esac
15108 done
15109 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15110
15111
15112   if test -n "$compiler"; then
15113     # We don't want -fno-exception when compiling C++ code, so set the
15114     # no_builtin_flag separately
15115     if test "$GXX" = yes; then
15116       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15117     else
15118       lt_prog_compiler_no_builtin_flag_CXX=
15119     fi
15120
15121     if test "$GXX" = yes; then
15122       # Set up default GNU C++ configuration
15123
15124
15125
15126 # Check whether --with-gnu-ld was given.
15127 if test "${with_gnu_ld+set}" = set; then :
15128   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15129 else
15130   with_gnu_ld=no
15131 fi
15132
15133 ac_prog=ld
15134 if test "$GCC" = yes; then
15135   # Check if gcc -print-prog-name=ld gives a path.
15136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15137 $as_echo_n "checking for ld used by $CC... " >&6; }
15138   case $host in
15139   *-*-mingw*)
15140     # gcc leaves a trailing carriage return which upsets mingw
15141     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15142   *)
15143     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15144   esac
15145   case $ac_prog in
15146     # Accept absolute paths.
15147     [\\/]* | ?:[\\/]*)
15148       re_direlt='/[^/][^/]*/\.\./'
15149       # Canonicalize the pathname of ld
15150       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15151       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15152         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15153       done
15154       test -z "$LD" && LD="$ac_prog"
15155       ;;
15156   "")
15157     # If it fails, then pretend we aren't using GCC.
15158     ac_prog=ld
15159     ;;
15160   *)
15161     # If it is relative, then search for the first ld in PATH.
15162     with_gnu_ld=unknown
15163     ;;
15164   esac
15165 elif test "$with_gnu_ld" = yes; then
15166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15167 $as_echo_n "checking for GNU ld... " >&6; }
15168 else
15169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15170 $as_echo_n "checking for non-GNU ld... " >&6; }
15171 fi
15172 if ${lt_cv_path_LD+:} false; then :
15173   $as_echo_n "(cached) " >&6
15174 else
15175   if test -z "$LD"; then
15176   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15177   for ac_dir in $PATH; do
15178     IFS="$lt_save_ifs"
15179     test -z "$ac_dir" && ac_dir=.
15180     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15181       lt_cv_path_LD="$ac_dir/$ac_prog"
15182       # Check to see if the program is GNU ld.  I'd rather use --version,
15183       # but apparently some variants of GNU ld only accept -v.
15184       # Break only if it was the GNU/non-GNU ld that we prefer.
15185       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15186       *GNU* | *'with BFD'*)
15187         test "$with_gnu_ld" != no && break
15188         ;;
15189       *)
15190         test "$with_gnu_ld" != yes && break
15191         ;;
15192       esac
15193     fi
15194   done
15195   IFS="$lt_save_ifs"
15196 else
15197   lt_cv_path_LD="$LD" # Let the user override the test with a path.
15198 fi
15199 fi
15200
15201 LD="$lt_cv_path_LD"
15202 if test -n "$LD"; then
15203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15204 $as_echo "$LD" >&6; }
15205 else
15206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15207 $as_echo "no" >&6; }
15208 fi
15209 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15211 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15212 if ${lt_cv_prog_gnu_ld+:} false; then :
15213   $as_echo_n "(cached) " >&6
15214 else
15215   # I'd rather use --version here, but apparently some GNU lds only accept -v.
15216 case `$LD -v 2>&1 </dev/null` in
15217 *GNU* | *'with BFD'*)
15218   lt_cv_prog_gnu_ld=yes
15219   ;;
15220 *)
15221   lt_cv_prog_gnu_ld=no
15222   ;;
15223 esac
15224 fi
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15226 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15227 with_gnu_ld=$lt_cv_prog_gnu_ld
15228
15229
15230
15231
15232
15233
15234
15235       # Check if GNU C++ uses GNU ld as the underlying linker, since the
15236       # archiving commands below assume that GNU ld is being used.
15237       if test "$with_gnu_ld" = yes; then
15238         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15239         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'
15240
15241         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15242         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15243
15244         # If archive_cmds runs LD, not CC, wlarc should be empty
15245         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15246         #     investigate it a little bit more. (MM)
15247         wlarc='${wl}'
15248
15249         # ancient GNU ld didn't support --whole-archive et. al.
15250         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15251           $GREP 'no-whole-archive' > /dev/null; then
15252           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15253         else
15254           whole_archive_flag_spec_CXX=
15255         fi
15256       else
15257         with_gnu_ld=no
15258         wlarc=
15259
15260         # A generic and very simple default shared library creation
15261         # command for GNU C++ for the case where it uses the native
15262         # linker, instead of GNU ld.  If possible, this setting should
15263         # overridden to take advantage of the native linker features on
15264         # the platform it is being used on.
15265         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15266       fi
15267
15268       # Commands to make compiler produce verbose output that lists
15269       # what "hidden" libraries, object files and flags are used when
15270       # linking a shared library.
15271       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15272
15273     else
15274       GXX=no
15275       with_gnu_ld=no
15276       wlarc=
15277     fi
15278
15279     # PORTME: fill in a description of your system's C++ link characteristics
15280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15281 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15282     ld_shlibs_CXX=yes
15283     case $host_os in
15284       aix3*)
15285         # FIXME: insert proper C++ library support
15286         ld_shlibs_CXX=no
15287         ;;
15288       aix[4-9]*)
15289         if test "$host_cpu" = ia64; then
15290           # On IA64, the linker does run time linking by default, so we don't
15291           # have to do anything special.
15292           aix_use_runtimelinking=no
15293           exp_sym_flag='-Bexport'
15294           no_entry_flag=""
15295         else
15296           aix_use_runtimelinking=no
15297
15298           # Test if we are trying to use run time linking or normal
15299           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15300           # need to do runtime linking.
15301           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15302             for ld_flag in $LDFLAGS; do
15303               case $ld_flag in
15304               *-brtl*)
15305                 aix_use_runtimelinking=yes
15306                 break
15307                 ;;
15308               esac
15309             done
15310             ;;
15311           esac
15312
15313           exp_sym_flag='-bexport'
15314           no_entry_flag='-bnoentry'
15315         fi
15316
15317         # When large executables or shared objects are built, AIX ld can
15318         # have problems creating the table of contents.  If linking a library
15319         # or program results in "error TOC overflow" add -mminimal-toc to
15320         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15321         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15322
15323         archive_cmds_CXX=''
15324         hardcode_direct_CXX=yes
15325         hardcode_direct_absolute_CXX=yes
15326         hardcode_libdir_separator_CXX=':'
15327         link_all_deplibs_CXX=yes
15328         file_list_spec_CXX='${wl}-f,'
15329
15330         if test "$GXX" = yes; then
15331           case $host_os in aix4.[012]|aix4.[012].*)
15332           # We only want to do this on AIX 4.2 and lower, the check
15333           # below for broken collect2 doesn't work under 4.3+
15334           collect2name=`${CC} -print-prog-name=collect2`
15335           if test -f "$collect2name" &&
15336              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15337           then
15338             # We have reworked collect2
15339             :
15340           else
15341             # We have old collect2
15342             hardcode_direct_CXX=unsupported
15343             # It fails to find uninstalled libraries when the uninstalled
15344             # path is not listed in the libpath.  Setting hardcode_minus_L
15345             # to unsupported forces relinking
15346             hardcode_minus_L_CXX=yes
15347             hardcode_libdir_flag_spec_CXX='-L$libdir'
15348             hardcode_libdir_separator_CXX=
15349           fi
15350           esac
15351           shared_flag='-shared'
15352           if test "$aix_use_runtimelinking" = yes; then
15353             shared_flag="$shared_flag "'${wl}-G'
15354           fi
15355         else
15356           # not using gcc
15357           if test "$host_cpu" = ia64; then
15358           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15359           # chokes on -Wl,-G. The following line is correct:
15360           shared_flag='-G'
15361           else
15362             if test "$aix_use_runtimelinking" = yes; then
15363               shared_flag='${wl}-G'
15364             else
15365               shared_flag='${wl}-bM:SRE'
15366             fi
15367           fi
15368         fi
15369
15370         export_dynamic_flag_spec_CXX='${wl}-bexpall'
15371         # It seems that -bexpall does not export symbols beginning with
15372         # underscore (_), so it is better to generate a list of symbols to
15373         # export.
15374         always_export_symbols_CXX=yes
15375         if test "$aix_use_runtimelinking" = yes; then
15376           # Warning - without using the other runtime loading flags (-brtl),
15377           # -berok will link without error, but may produce a broken library.
15378           allow_undefined_flag_CXX='-berok'
15379           # Determine the default libpath from the value encoded in an empty
15380           # executable.
15381           if test "${lt_cv_aix_libpath+set}" = set; then
15382   aix_libpath=$lt_cv_aix_libpath
15383 else
15384   if ${lt_cv_aix_libpath__CXX+:} false; then :
15385   $as_echo_n "(cached) " >&6
15386 else
15387   if test x$ac_no_link = xyes; then
15388   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
15389 fi
15390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15391 /* end confdefs.h.  */
15392
15393 int
15394 main ()
15395 {
15396
15397   ;
15398   return 0;
15399 }
15400 _ACEOF
15401 if ac_fn_cxx_try_link "$LINENO"; then :
15402
15403   lt_aix_libpath_sed='
15404       /Import File Strings/,/^$/ {
15405           /^0/ {
15406               s/^0  *\([^ ]*\) *$/\1/
15407               p
15408           }
15409       }'
15410   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15411   # Check for a 64-bit object if we didn't find anything.
15412   if test -z "$lt_cv_aix_libpath__CXX"; then
15413     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15414   fi
15415 fi
15416 rm -f core conftest.err conftest.$ac_objext \
15417     conftest$ac_exeext conftest.$ac_ext
15418   if test -z "$lt_cv_aix_libpath__CXX"; then
15419     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15420   fi
15421
15422 fi
15423
15424   aix_libpath=$lt_cv_aix_libpath__CXX
15425 fi
15426
15427           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15428
15429           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"
15430         else
15431           if test "$host_cpu" = ia64; then
15432             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15433             allow_undefined_flag_CXX="-z nodefs"
15434             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"
15435           else
15436             # Determine the default libpath from the value encoded in an
15437             # empty executable.
15438             if test "${lt_cv_aix_libpath+set}" = set; then
15439   aix_libpath=$lt_cv_aix_libpath
15440 else
15441   if ${lt_cv_aix_libpath__CXX+:} false; then :
15442   $as_echo_n "(cached) " >&6
15443 else
15444   if test x$ac_no_link = xyes; then
15445   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
15446 fi
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h.  */
15449
15450 int
15451 main ()
15452 {
15453
15454   ;
15455   return 0;
15456 }
15457 _ACEOF
15458 if ac_fn_cxx_try_link "$LINENO"; then :
15459
15460   lt_aix_libpath_sed='
15461       /Import File Strings/,/^$/ {
15462           /^0/ {
15463               s/^0  *\([^ ]*\) *$/\1/
15464               p
15465           }
15466       }'
15467   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15468   # Check for a 64-bit object if we didn't find anything.
15469   if test -z "$lt_cv_aix_libpath__CXX"; then
15470     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15471   fi
15472 fi
15473 rm -f core conftest.err conftest.$ac_objext \
15474     conftest$ac_exeext conftest.$ac_ext
15475   if test -z "$lt_cv_aix_libpath__CXX"; then
15476     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15477   fi
15478
15479 fi
15480
15481   aix_libpath=$lt_cv_aix_libpath__CXX
15482 fi
15483
15484             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15485             # Warning - without using the other run time loading flags,
15486             # -berok will link without error, but may produce a broken library.
15487             no_undefined_flag_CXX=' ${wl}-bernotok'
15488             allow_undefined_flag_CXX=' ${wl}-berok'
15489             if test "$with_gnu_ld" = yes; then
15490               # We only use this code for GNU lds that support --whole-archive.
15491               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15492             else
15493               # Exported symbols can be pulled into shared objects from archives
15494               whole_archive_flag_spec_CXX='$convenience'
15495             fi
15496             archive_cmds_need_lc_CXX=yes
15497             # This is similar to how AIX traditionally builds its shared
15498             # libraries.
15499             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'
15500           fi
15501         fi
15502         ;;
15503
15504       beos*)
15505         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15506           allow_undefined_flag_CXX=unsupported
15507           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15508           # support --undefined.  This deserves some investigation.  FIXME
15509           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15510         else
15511           ld_shlibs_CXX=no
15512         fi
15513         ;;
15514
15515       chorus*)
15516         case $cc_basename in
15517           *)
15518           # FIXME: insert proper C++ library support
15519           ld_shlibs_CXX=no
15520           ;;
15521         esac
15522         ;;
15523
15524       cygwin* | mingw* | pw32* | cegcc*)
15525         case $GXX,$cc_basename in
15526         ,cl* | no,cl*)
15527           # Native MSVC
15528           # hardcode_libdir_flag_spec is actually meaningless, as there is
15529           # no search path for DLLs.
15530           hardcode_libdir_flag_spec_CXX=' '
15531           allow_undefined_flag_CXX=unsupported
15532           always_export_symbols_CXX=yes
15533           file_list_spec_CXX='@'
15534           # Tell ltmain to make .lib files, not .a files.
15535           libext=lib
15536           # Tell ltmain to make .dll files, not .so files.
15537           shrext_cmds=".dll"
15538           # FIXME: Setting linknames here is a bad hack.
15539           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15540           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15541               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15542             else
15543               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15544             fi~
15545             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15546             linknames='
15547           # The linker will not automatically build a static lib if we build a DLL.
15548           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15549           enable_shared_with_static_runtimes_CXX=yes
15550           # Don't use ranlib
15551           old_postinstall_cmds_CXX='chmod 644 $oldlib'
15552           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15553             lt_tool_outputfile="@TOOL_OUTPUT@"~
15554             case $lt_outputfile in
15555               *.exe|*.EXE) ;;
15556               *)
15557                 lt_outputfile="$lt_outputfile.exe"
15558                 lt_tool_outputfile="$lt_tool_outputfile.exe"
15559                 ;;
15560             esac~
15561             func_to_tool_file "$lt_outputfile"~
15562             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15563               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15564               $RM "$lt_outputfile.manifest";
15565             fi'
15566           ;;
15567         *)
15568           # g++
15569           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15570           # as there is no search path for DLLs.
15571           hardcode_libdir_flag_spec_CXX='-L$libdir'
15572           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15573           allow_undefined_flag_CXX=unsupported
15574           always_export_symbols_CXX=no
15575           enable_shared_with_static_runtimes_CXX=yes
15576
15577           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15578             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'
15579             # If the export-symbols file already is a .def file (1st line
15580             # is EXPORTS), use it as is; otherwise, prepend...
15581             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15582               cp $export_symbols $output_objdir/$soname.def;
15583             else
15584               echo EXPORTS > $output_objdir/$soname.def;
15585               cat $export_symbols >> $output_objdir/$soname.def;
15586             fi~
15587             $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'
15588           else
15589             ld_shlibs_CXX=no
15590           fi
15591           ;;
15592         esac
15593         ;;
15594       darwin* | rhapsody*)
15595
15596
15597   archive_cmds_need_lc_CXX=no
15598   hardcode_direct_CXX=no
15599   hardcode_automatic_CXX=yes
15600   hardcode_shlibpath_var_CXX=unsupported
15601   if test "$lt_cv_ld_force_load" = "yes"; then
15602     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\"`'
15603
15604   else
15605     whole_archive_flag_spec_CXX=''
15606   fi
15607   link_all_deplibs_CXX=yes
15608   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15609   case $cc_basename in
15610      ifort*) _lt_dar_can_shared=yes ;;
15611      *) _lt_dar_can_shared=$GCC ;;
15612   esac
15613   if test "$_lt_dar_can_shared" = "yes"; then
15614     output_verbose_link_cmd=func_echo_all
15615     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}"
15616     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15617     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}"
15618     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}"
15619        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15620       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}"
15621       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}"
15622     fi
15623
15624   else
15625   ld_shlibs_CXX=no
15626   fi
15627
15628         ;;
15629
15630       dgux*)
15631         case $cc_basename in
15632           ec++*)
15633             # FIXME: insert proper C++ library support
15634             ld_shlibs_CXX=no
15635             ;;
15636           ghcx*)
15637             # Green Hills C++ Compiler
15638             # FIXME: insert proper C++ library support
15639             ld_shlibs_CXX=no
15640             ;;
15641           *)
15642             # FIXME: insert proper C++ library support
15643             ld_shlibs_CXX=no
15644             ;;
15645         esac
15646         ;;
15647
15648       freebsd2.*)
15649         # C++ shared libraries reported to be fairly broken before
15650         # switch to ELF
15651         ld_shlibs_CXX=no
15652         ;;
15653
15654       freebsd-elf*)
15655         archive_cmds_need_lc_CXX=no
15656         ;;
15657
15658       freebsd* | dragonfly*)
15659         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15660         # conventions
15661         ld_shlibs_CXX=yes
15662         ;;
15663
15664       gnu*)
15665         ;;
15666
15667       haiku*)
15668         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15669         link_all_deplibs_CXX=yes
15670         ;;
15671
15672       hpux9*)
15673         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15674         hardcode_libdir_separator_CXX=:
15675         export_dynamic_flag_spec_CXX='${wl}-E'
15676         hardcode_direct_CXX=yes
15677         hardcode_minus_L_CXX=yes # Not in the search PATH,
15678                                              # but as the default
15679                                              # location of the library.
15680
15681         case $cc_basename in
15682           CC*)
15683             # FIXME: insert proper C++ library support
15684             ld_shlibs_CXX=no
15685             ;;
15686           aCC*)
15687             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'
15688             # Commands to make compiler produce verbose output that lists
15689             # what "hidden" libraries, object files and flags are used when
15690             # linking a shared library.
15691             #
15692             # There doesn't appear to be a way to prevent this compiler from
15693             # explicitly linking system object files so we need to strip them
15694             # from the output so that they don't get included in the library
15695             # dependencies.
15696             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"'
15697             ;;
15698           *)
15699             if test "$GXX" = yes; then
15700               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'
15701             else
15702               # FIXME: insert proper C++ library support
15703               ld_shlibs_CXX=no
15704             fi
15705             ;;
15706         esac
15707         ;;
15708
15709       hpux10*|hpux11*)
15710         if test $with_gnu_ld = no; then
15711           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15712           hardcode_libdir_separator_CXX=:
15713
15714           case $host_cpu in
15715             hppa*64*|ia64*)
15716               ;;
15717             *)
15718               export_dynamic_flag_spec_CXX='${wl}-E'
15719               ;;
15720           esac
15721         fi
15722         case $host_cpu in
15723           hppa*64*|ia64*)
15724             hardcode_direct_CXX=no
15725             hardcode_shlibpath_var_CXX=no
15726             ;;
15727           *)
15728             hardcode_direct_CXX=yes
15729             hardcode_direct_absolute_CXX=yes
15730             hardcode_minus_L_CXX=yes # Not in the search PATH,
15731                                                  # but as the default
15732                                                  # location of the library.
15733             ;;
15734         esac
15735
15736         case $cc_basename in
15737           CC*)
15738             # FIXME: insert proper C++ library support
15739             ld_shlibs_CXX=no
15740             ;;
15741           aCC*)
15742             case $host_cpu in
15743               hppa*64*)
15744                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15745                 ;;
15746               ia64*)
15747                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15748                 ;;
15749               *)
15750                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15751                 ;;
15752             esac
15753             # Commands to make compiler produce verbose output that lists
15754             # what "hidden" libraries, object files and flags are used when
15755             # linking a shared library.
15756             #
15757             # There doesn't appear to be a way to prevent this compiler from
15758             # explicitly linking system object files so we need to strip them
15759             # from the output so that they don't get included in the library
15760             # dependencies.
15761             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"'
15762             ;;
15763           *)
15764             if test "$GXX" = yes; then
15765               if test $with_gnu_ld = no; then
15766                 case $host_cpu in
15767                   hppa*64*)
15768                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15769                     ;;
15770                   ia64*)
15771                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15772                     ;;
15773                   *)
15774                     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'
15775                     ;;
15776                 esac
15777               fi
15778             else
15779               # FIXME: insert proper C++ library support
15780               ld_shlibs_CXX=no
15781             fi
15782             ;;
15783         esac
15784         ;;
15785
15786       interix[3-9]*)
15787         hardcode_direct_CXX=no
15788         hardcode_shlibpath_var_CXX=no
15789         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15790         export_dynamic_flag_spec_CXX='${wl}-E'
15791         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15792         # Instead, shared libraries are loaded at an image base (0x10000000 by
15793         # default) and relocated if they conflict, which is a slow very memory
15794         # consuming and fragmenting process.  To avoid this, we pick a random,
15795         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15796         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15797         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'
15798         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'
15799         ;;
15800       irix5* | irix6*)
15801         case $cc_basename in
15802           CC*)
15803             # SGI C++
15804             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'
15805
15806             # Archives containing C++ object files must be created using
15807             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15808             # necessary to make sure instantiated templates are included
15809             # in the archive.
15810             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15811             ;;
15812           *)
15813             if test "$GXX" = yes; then
15814               if test "$with_gnu_ld" = no; then
15815                 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'
15816               else
15817                 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'
15818               fi
15819             fi
15820             link_all_deplibs_CXX=yes
15821             ;;
15822         esac
15823         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15824         hardcode_libdir_separator_CXX=:
15825         inherit_rpath_CXX=yes
15826         ;;
15827
15828       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15829         case $cc_basename in
15830           KCC*)
15831             # Kuck and Associates, Inc. (KAI) C++ Compiler
15832
15833             # KCC will only create a shared library if the output file
15834             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15835             # to its proper name (with version) after linking.
15836             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'
15837             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'
15838             # Commands to make compiler produce verbose output that lists
15839             # what "hidden" libraries, object files and flags are used when
15840             # linking a shared library.
15841             #
15842             # There doesn't appear to be a way to prevent this compiler from
15843             # explicitly linking system object files so we need to strip them
15844             # from the output so that they don't get included in the library
15845             # dependencies.
15846             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"'
15847
15848             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15849             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15850
15851             # Archives containing C++ object files must be created using
15852             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15853             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15854             ;;
15855           icpc* | ecpc* )
15856             # Intel C++
15857             with_gnu_ld=yes
15858             # version 8.0 and above of icpc choke on multiply defined symbols
15859             # if we add $predep_objects and $postdep_objects, however 7.1 and
15860             # earlier do not add the objects themselves.
15861             case `$CC -V 2>&1` in
15862               *"Version 7."*)
15863                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15864                 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'
15865                 ;;
15866               *)  # Version 8.0 or newer
15867                 tmp_idyn=
15868                 case $host_cpu in
15869                   ia64*) tmp_idyn=' -i_dynamic';;
15870                 esac
15871                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15872                 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'
15873                 ;;
15874             esac
15875             archive_cmds_need_lc_CXX=no
15876             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15877             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15878             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15879             ;;
15880           pgCC* | pgcpp*)
15881             # Portland Group C++ compiler
15882             case `$CC -V` in
15883             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15884               prelink_cmds_CXX='tpldir=Template.dir~
15885                 rm -rf $tpldir~
15886                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15887                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15888               old_archive_cmds_CXX='tpldir=Template.dir~
15889                 rm -rf $tpldir~
15890                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15891                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15892                 $RANLIB $oldlib'
15893               archive_cmds_CXX='tpldir=Template.dir~
15894                 rm -rf $tpldir~
15895                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15896                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15897               archive_expsym_cmds_CXX='tpldir=Template.dir~
15898                 rm -rf $tpldir~
15899                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15900                 $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'
15901               ;;
15902             *) # Version 6 and above use weak symbols
15903               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15904               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'
15905               ;;
15906             esac
15907
15908             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15909             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15910             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'
15911             ;;
15912           cxx*)
15913             # Compaq C++
15914             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15915             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'
15916
15917             runpath_var=LD_RUN_PATH
15918             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15919             hardcode_libdir_separator_CXX=:
15920
15921             # Commands to make compiler produce verbose output that lists
15922             # what "hidden" libraries, object files and flags are used when
15923             # linking a shared library.
15924             #
15925             # There doesn't appear to be a way to prevent this compiler from
15926             # explicitly linking system object files so we need to strip them
15927             # from the output so that they don't get included in the library
15928             # dependencies.
15929             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'
15930             ;;
15931           xl* | mpixl* | bgxl*)
15932             # IBM XL 8.0 on PPC, with GNU ld
15933             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15934             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15935             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15936             if test "x$supports_anon_versioning" = xyes; then
15937               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15938                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15939                 echo "local: *; };" >> $output_objdir/$libname.ver~
15940                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15941             fi
15942             ;;
15943           *)
15944             case `$CC -V 2>&1 | sed 5q` in
15945             *Sun\ C*)
15946               # Sun C++ 5.9
15947               no_undefined_flag_CXX=' -zdefs'
15948               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15949               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'
15950               hardcode_libdir_flag_spec_CXX='-R$libdir'
15951               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'
15952               compiler_needs_object_CXX=yes
15953
15954               # Not sure whether something based on
15955               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15956               # would be better.
15957               output_verbose_link_cmd='func_echo_all'
15958
15959               # Archives containing C++ object files must be created using
15960               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15961               # necessary to make sure instantiated templates are included
15962               # in the archive.
15963               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15964               ;;
15965             esac
15966             ;;
15967         esac
15968         ;;
15969
15970       lynxos*)
15971         # FIXME: insert proper C++ library support
15972         ld_shlibs_CXX=no
15973         ;;
15974
15975       m88k*)
15976         # FIXME: insert proper C++ library support
15977         ld_shlibs_CXX=no
15978         ;;
15979
15980       mvs*)
15981         case $cc_basename in
15982           cxx*)
15983             # FIXME: insert proper C++ library support
15984             ld_shlibs_CXX=no
15985             ;;
15986           *)
15987             # FIXME: insert proper C++ library support
15988             ld_shlibs_CXX=no
15989             ;;
15990         esac
15991         ;;
15992
15993       netbsd*)
15994         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15995           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15996           wlarc=
15997           hardcode_libdir_flag_spec_CXX='-R$libdir'
15998           hardcode_direct_CXX=yes
15999           hardcode_shlibpath_var_CXX=no
16000         fi
16001         # Workaround some broken pre-1.5 toolchains
16002         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16003         ;;
16004
16005       *nto* | *qnx*)
16006         ld_shlibs_CXX=yes
16007         ;;
16008
16009       openbsd2*)
16010         # C++ shared libraries are fairly broken
16011         ld_shlibs_CXX=no
16012         ;;
16013
16014       openbsd*)
16015         if test -f /usr/libexec/ld.so; then
16016           hardcode_direct_CXX=yes
16017           hardcode_shlibpath_var_CXX=no
16018           hardcode_direct_absolute_CXX=yes
16019           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16020           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16021           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16022             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16023             export_dynamic_flag_spec_CXX='${wl}-E'
16024             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16025           fi
16026           output_verbose_link_cmd=func_echo_all
16027         else
16028           ld_shlibs_CXX=no
16029         fi
16030         ;;
16031
16032       osf3* | osf4* | osf5*)
16033         case $cc_basename in
16034           KCC*)
16035             # Kuck and Associates, Inc. (KAI) C++ Compiler
16036
16037             # KCC will only create a shared library if the output file
16038             # ends with ".so" (or ".sl" for HP-UX), so rename the library
16039             # to its proper name (with version) after linking.
16040             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'
16041
16042             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16043             hardcode_libdir_separator_CXX=:
16044
16045             # Archives containing C++ object files must be created using
16046             # the KAI C++ compiler.
16047             case $host in
16048               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16049               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16050             esac
16051             ;;
16052           RCC*)
16053             # Rational C++ 2.4.1
16054             # FIXME: insert proper C++ library support
16055             ld_shlibs_CXX=no
16056             ;;
16057           cxx*)
16058             case $host in
16059               osf3*)
16060                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16061                 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'
16062                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16063                 ;;
16064               *)
16065                 allow_undefined_flag_CXX=' -expect_unresolved \*'
16066                 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'
16067                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16068                   echo "-hidden">> $lib.exp~
16069                   $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~
16070                   $RM $lib.exp'
16071                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16072                 ;;
16073             esac
16074
16075             hardcode_libdir_separator_CXX=:
16076
16077             # Commands to make compiler produce verbose output that lists
16078             # what "hidden" libraries, object files and flags are used when
16079             # linking a shared library.
16080             #
16081             # There doesn't appear to be a way to prevent this compiler from
16082             # explicitly linking system object files so we need to strip them
16083             # from the output so that they don't get included in the library
16084             # dependencies.
16085             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"'
16086             ;;
16087           *)
16088             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16089               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16090               case $host in
16091                 osf3*)
16092                   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'
16093                   ;;
16094                 *)
16095                   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'
16096                   ;;
16097               esac
16098
16099               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16100               hardcode_libdir_separator_CXX=:
16101
16102               # Commands to make compiler produce verbose output that lists
16103               # what "hidden" libraries, object files and flags are used when
16104               # linking a shared library.
16105               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16106
16107             else
16108               # FIXME: insert proper C++ library support
16109               ld_shlibs_CXX=no
16110             fi
16111             ;;
16112         esac
16113         ;;
16114
16115       psos*)
16116         # FIXME: insert proper C++ library support
16117         ld_shlibs_CXX=no
16118         ;;
16119
16120       sunos4*)
16121         case $cc_basename in
16122           CC*)
16123             # Sun C++ 4.x
16124             # FIXME: insert proper C++ library support
16125             ld_shlibs_CXX=no
16126             ;;
16127           lcc*)
16128             # Lucid
16129             # FIXME: insert proper C++ library support
16130             ld_shlibs_CXX=no
16131             ;;
16132           *)
16133             # FIXME: insert proper C++ library support
16134             ld_shlibs_CXX=no
16135             ;;
16136         esac
16137         ;;
16138
16139       solaris*)
16140         case $cc_basename in
16141           CC* | sunCC*)
16142             # Sun C++ 4.2, 5.x and Centerline C++
16143             archive_cmds_need_lc_CXX=yes
16144             no_undefined_flag_CXX=' -zdefs'
16145             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16146             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16147               $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'
16148
16149             hardcode_libdir_flag_spec_CXX='-R$libdir'
16150             hardcode_shlibpath_var_CXX=no
16151             case $host_os in
16152               solaris2.[0-5] | solaris2.[0-5].*) ;;
16153               *)
16154                 # The compiler driver will combine and reorder linker options,
16155                 # but understands `-z linker_flag'.
16156                 # Supported since Solaris 2.6 (maybe 2.5.1?)
16157                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16158                 ;;
16159             esac
16160             link_all_deplibs_CXX=yes
16161
16162             output_verbose_link_cmd='func_echo_all'
16163
16164             # Archives containing C++ object files must be created using
16165             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
16166             # necessary to make sure instantiated templates are included
16167             # in the archive.
16168             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16169             ;;
16170           gcx*)
16171             # Green Hills C++ Compiler
16172             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16173
16174             # The C++ compiler must be used to create the archive.
16175             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16176             ;;
16177           *)
16178             # GNU C++ compiler with Solaris linker
16179             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16180               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16181               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16182                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16183                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16184                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16185
16186                 # Commands to make compiler produce verbose output that lists
16187                 # what "hidden" libraries, object files and flags are used when
16188                 # linking a shared library.
16189                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16190               else
16191                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16192                 # platform.
16193                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16194                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16195                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16196
16197                 # Commands to make compiler produce verbose output that lists
16198                 # what "hidden" libraries, object files and flags are used when
16199                 # linking a shared library.
16200                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16201               fi
16202
16203               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16204               case $host_os in
16205                 solaris2.[0-5] | solaris2.[0-5].*) ;;
16206                 *)
16207                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16208                   ;;
16209               esac
16210             fi
16211             ;;
16212         esac
16213         ;;
16214
16215     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16216       no_undefined_flag_CXX='${wl}-z,text'
16217       archive_cmds_need_lc_CXX=no
16218       hardcode_shlibpath_var_CXX=no
16219       runpath_var='LD_RUN_PATH'
16220
16221       case $cc_basename in
16222         CC*)
16223           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16224           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16225           ;;
16226         *)
16227           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16228           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16229           ;;
16230       esac
16231       ;;
16232
16233       sysv5* | sco3.2v5* | sco5v6*)
16234         # Note: We can NOT use -z defs as we might desire, because we do not
16235         # link with -lc, and that would cause any symbols used from libc to
16236         # always be unresolved, which means just about no library would
16237         # ever link correctly.  If we're not using GNU ld we use -z text
16238         # though, which does catch some bad symbols but isn't as heavy-handed
16239         # as -z defs.
16240         no_undefined_flag_CXX='${wl}-z,text'
16241         allow_undefined_flag_CXX='${wl}-z,nodefs'
16242         archive_cmds_need_lc_CXX=no
16243         hardcode_shlibpath_var_CXX=no
16244         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
16245         hardcode_libdir_separator_CXX=':'
16246         link_all_deplibs_CXX=yes
16247         export_dynamic_flag_spec_CXX='${wl}-Bexport'
16248         runpath_var='LD_RUN_PATH'
16249
16250         case $cc_basename in
16251           CC*)
16252             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16253             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16254             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16255               '"$old_archive_cmds_CXX"
16256             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16257               '"$reload_cmds_CXX"
16258             ;;
16259           *)
16260             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16261             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16262             ;;
16263         esac
16264       ;;
16265
16266       tandem*)
16267         case $cc_basename in
16268           NCC*)
16269             # NonStop-UX NCC 3.20
16270             # FIXME: insert proper C++ library support
16271             ld_shlibs_CXX=no
16272             ;;
16273           *)
16274             # FIXME: insert proper C++ library support
16275             ld_shlibs_CXX=no
16276             ;;
16277         esac
16278         ;;
16279
16280       vxworks*)
16281         # FIXME: insert proper C++ library support
16282         ld_shlibs_CXX=no
16283         ;;
16284
16285       *)
16286         # FIXME: insert proper C++ library support
16287         ld_shlibs_CXX=no
16288         ;;
16289     esac
16290
16291     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16292 $as_echo "$ld_shlibs_CXX" >&6; }
16293     test "$ld_shlibs_CXX" = no && can_build_shared=no
16294
16295     GCC_CXX="$GXX"
16296     LD_CXX="$LD"
16297
16298     ## CAVEAT EMPTOR:
16299     ## There is no encapsulation within the following macros, do not change
16300     ## the running order or otherwise move them around unless you know exactly
16301     ## what you are doing...
16302     # Dependencies to place before and after the object being linked:
16303 predep_objects_CXX=
16304 postdep_objects_CXX=
16305 predeps_CXX=
16306 postdeps_CXX=
16307 compiler_lib_search_path_CXX=
16308
16309 cat > conftest.$ac_ext <<_LT_EOF
16310 class Foo
16311 {
16312 public:
16313   Foo (void) { a = 0; }
16314 private:
16315   int a;
16316 };
16317 _LT_EOF
16318
16319
16320 _lt_libdeps_save_CFLAGS=$CFLAGS
16321 case "$CC $CFLAGS " in #(
16322 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16323 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16324 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16325 esac
16326
16327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16328   (eval $ac_compile) 2>&5
16329   ac_status=$?
16330   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16331   test $ac_status = 0; }; then
16332   # Parse the compiler output and extract the necessary
16333   # objects, libraries and library flags.
16334
16335   # Sentinel used to keep track of whether or not we are before
16336   # the conftest object file.
16337   pre_test_object_deps_done=no
16338
16339   for p in `eval "$output_verbose_link_cmd"`; do
16340     case ${prev}${p} in
16341
16342     -L* | -R* | -l*)
16343        # Some compilers place space between "-{L,R}" and the path.
16344        # Remove the space.
16345        if test $p = "-L" ||
16346           test $p = "-R"; then
16347          prev=$p
16348          continue
16349        fi
16350
16351        # Expand the sysroot to ease extracting the directories later.
16352        if test -z "$prev"; then
16353          case $p in
16354          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16355          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16356          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16357          esac
16358        fi
16359        case $p in
16360        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16361        esac
16362        if test "$pre_test_object_deps_done" = no; then
16363          case ${prev} in
16364          -L | -R)
16365            # Internal compiler library paths should come after those
16366            # provided the user.  The postdeps already come after the
16367            # user supplied libs so there is no need to process them.
16368            if test -z "$compiler_lib_search_path_CXX"; then
16369              compiler_lib_search_path_CXX="${prev}${p}"
16370            else
16371              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16372            fi
16373            ;;
16374          # The "-l" case would never come before the object being
16375          # linked, so don't bother handling this case.
16376          esac
16377        else
16378          if test -z "$postdeps_CXX"; then
16379            postdeps_CXX="${prev}${p}"
16380          else
16381            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16382          fi
16383        fi
16384        prev=
16385        ;;
16386
16387     *.lto.$objext) ;; # Ignore GCC LTO objects
16388     *.$objext)
16389        # This assumes that the test object file only shows up
16390        # once in the compiler output.
16391        if test "$p" = "conftest.$objext"; then
16392          pre_test_object_deps_done=yes
16393          continue
16394        fi
16395
16396        if test "$pre_test_object_deps_done" = no; then
16397          if test -z "$predep_objects_CXX"; then
16398            predep_objects_CXX="$p"
16399          else
16400            predep_objects_CXX="$predep_objects_CXX $p"
16401          fi
16402        else
16403          if test -z "$postdep_objects_CXX"; then
16404            postdep_objects_CXX="$p"
16405          else
16406            postdep_objects_CXX="$postdep_objects_CXX $p"
16407          fi
16408        fi
16409        ;;
16410
16411     *) ;; # Ignore the rest.
16412
16413     esac
16414   done
16415
16416   # Clean up.
16417   rm -f a.out a.exe
16418 else
16419   echo "libtool.m4: error: problem compiling CXX test program"
16420 fi
16421
16422 $RM -f confest.$objext
16423 CFLAGS=$_lt_libdeps_save_CFLAGS
16424
16425 # PORTME: override above test on systems where it is broken
16426 case $host_os in
16427 interix[3-9]*)
16428   # Interix 3.5 installs completely hosed .la files for C++, so rather than
16429   # hack all around it, let's just trust "g++" to DTRT.
16430   predep_objects_CXX=
16431   postdep_objects_CXX=
16432   postdeps_CXX=
16433   ;;
16434
16435 linux*)
16436   case `$CC -V 2>&1 | sed 5q` in
16437   *Sun\ C*)
16438     # Sun C++ 5.9
16439
16440     # The more standards-conforming stlport4 library is
16441     # incompatible with the Cstd library. Avoid specifying
16442     # it if it's in CXXFLAGS. Ignore libCrun as
16443     # -library=stlport4 depends on it.
16444     case " $CXX $CXXFLAGS " in
16445     *" -library=stlport4 "*)
16446       solaris_use_stlport4=yes
16447       ;;
16448     esac
16449
16450     if test "$solaris_use_stlport4" != yes; then
16451       postdeps_CXX='-library=Cstd -library=Crun'
16452     fi
16453     ;;
16454   esac
16455   ;;
16456
16457 solaris*)
16458   case $cc_basename in
16459   CC* | sunCC*)
16460     # The more standards-conforming stlport4 library is
16461     # incompatible with the Cstd library. Avoid specifying
16462     # it if it's in CXXFLAGS. Ignore libCrun as
16463     # -library=stlport4 depends on it.
16464     case " $CXX $CXXFLAGS " in
16465     *" -library=stlport4 "*)
16466       solaris_use_stlport4=yes
16467       ;;
16468     esac
16469
16470     # Adding this requires a known-good setup of shared libraries for
16471     # Sun compiler versions before 5.6, else PIC objects from an old
16472     # archive will be linked into the output, leading to subtle bugs.
16473     if test "$solaris_use_stlport4" != yes; then
16474       postdeps_CXX='-library=Cstd -library=Crun'
16475     fi
16476     ;;
16477   esac
16478   ;;
16479 esac
16480
16481
16482 case " $postdeps_CXX " in
16483 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16484 esac
16485  compiler_lib_search_dirs_CXX=
16486 if test -n "${compiler_lib_search_path_CXX}"; then
16487  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16488 fi
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520     lt_prog_compiler_wl_CXX=
16521 lt_prog_compiler_pic_CXX=
16522 lt_prog_compiler_static_CXX=
16523
16524
16525   # C++ specific cases for pic, static, wl, etc.
16526   if test "$GXX" = yes; then
16527     lt_prog_compiler_wl_CXX='-Wl,'
16528     lt_prog_compiler_static_CXX='-static'
16529
16530     case $host_os in
16531     aix*)
16532       # All AIX code is PIC.
16533       if test "$host_cpu" = ia64; then
16534         # AIX 5 now supports IA64 processor
16535         lt_prog_compiler_static_CXX='-Bstatic'
16536       fi
16537       ;;
16538
16539     amigaos*)
16540       case $host_cpu in
16541       powerpc)
16542             # see comment about AmigaOS4 .so support
16543             lt_prog_compiler_pic_CXX='-fPIC'
16544         ;;
16545       m68k)
16546             # FIXME: we need at least 68020 code to build shared libraries, but
16547             # adding the `-m68020' flag to GCC prevents building anything better,
16548             # like `-m68040'.
16549             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16550         ;;
16551       esac
16552       ;;
16553
16554     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16555       # PIC is the default for these OSes.
16556       ;;
16557     mingw* | cygwin* | os2* | pw32* | cegcc*)
16558       # This hack is so that the source file can tell whether it is being
16559       # built for inclusion in a dll (and should export symbols for example).
16560       # Although the cygwin gcc ignores -fPIC, still need this for old-style
16561       # (--disable-auto-import) libraries
16562       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16563       ;;
16564     darwin* | rhapsody*)
16565       # PIC is the default on this platform
16566       # Common symbols not allowed in MH_DYLIB files
16567       lt_prog_compiler_pic_CXX='-fno-common'
16568       ;;
16569     *djgpp*)
16570       # DJGPP does not support shared libraries at all
16571       lt_prog_compiler_pic_CXX=
16572       ;;
16573     haiku*)
16574       # PIC is the default for Haiku.
16575       # The "-static" flag exists, but is broken.
16576       lt_prog_compiler_static_CXX=
16577       ;;
16578     interix[3-9]*)
16579       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16580       # Instead, we relocate shared libraries at runtime.
16581       ;;
16582     sysv4*MP*)
16583       if test -d /usr/nec; then
16584         lt_prog_compiler_pic_CXX=-Kconform_pic
16585       fi
16586       ;;
16587     hpux*)
16588       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16589       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16590       # sets the default TLS model and affects inlining.
16591       case $host_cpu in
16592       hppa*64*)
16593         ;;
16594       *)
16595         lt_prog_compiler_pic_CXX='-fPIC'
16596         ;;
16597       esac
16598       ;;
16599     *qnx* | *nto*)
16600       # QNX uses GNU C++, but need to define -shared option too, otherwise
16601       # it will coredump.
16602       lt_prog_compiler_pic_CXX='-fPIC -shared'
16603       ;;
16604     *)
16605       lt_prog_compiler_pic_CXX='-fPIC'
16606       ;;
16607     esac
16608   else
16609     case $host_os in
16610       aix[4-9]*)
16611         # All AIX code is PIC.
16612         if test "$host_cpu" = ia64; then
16613           # AIX 5 now supports IA64 processor
16614           lt_prog_compiler_static_CXX='-Bstatic'
16615         else
16616           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16617         fi
16618         ;;
16619       chorus*)
16620         case $cc_basename in
16621         cxch68*)
16622           # Green Hills C++ Compiler
16623           # _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"
16624           ;;
16625         esac
16626         ;;
16627       mingw* | cygwin* | os2* | pw32* | cegcc*)
16628         # This hack is so that the source file can tell whether it is being
16629         # built for inclusion in a dll (and should export symbols for example).
16630         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16631         ;;
16632       dgux*)
16633         case $cc_basename in
16634           ec++*)
16635             lt_prog_compiler_pic_CXX='-KPIC'
16636             ;;
16637           ghcx*)
16638             # Green Hills C++ Compiler
16639             lt_prog_compiler_pic_CXX='-pic'
16640             ;;
16641           *)
16642             ;;
16643         esac
16644         ;;
16645       freebsd* | dragonfly*)
16646         # FreeBSD uses GNU C++
16647         ;;
16648       hpux9* | hpux10* | hpux11*)
16649         case $cc_basename in
16650           CC*)
16651             lt_prog_compiler_wl_CXX='-Wl,'
16652             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16653             if test "$host_cpu" != ia64; then
16654               lt_prog_compiler_pic_CXX='+Z'
16655             fi
16656             ;;
16657           aCC*)
16658             lt_prog_compiler_wl_CXX='-Wl,'
16659             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16660             case $host_cpu in
16661             hppa*64*|ia64*)
16662               # +Z the default
16663               ;;
16664             *)
16665               lt_prog_compiler_pic_CXX='+Z'
16666               ;;
16667             esac
16668             ;;
16669           *)
16670             ;;
16671         esac
16672         ;;
16673       interix*)
16674         # This is c89, which is MS Visual C++ (no shared libs)
16675         # Anyone wants to do a port?
16676         ;;
16677       irix5* | irix6* | nonstopux*)
16678         case $cc_basename in
16679           CC*)
16680             lt_prog_compiler_wl_CXX='-Wl,'
16681             lt_prog_compiler_static_CXX='-non_shared'
16682             # CC pic flag -KPIC is the default.
16683             ;;
16684           *)
16685             ;;
16686         esac
16687         ;;
16688       linux* | k*bsd*-gnu | kopensolaris*-gnu)
16689         case $cc_basename in
16690           KCC*)
16691             # KAI C++ Compiler
16692             lt_prog_compiler_wl_CXX='--backend -Wl,'
16693             lt_prog_compiler_pic_CXX='-fPIC'
16694             ;;
16695           ecpc* )
16696             # old Intel C++ for x86_64 which still supported -KPIC.
16697             lt_prog_compiler_wl_CXX='-Wl,'
16698             lt_prog_compiler_pic_CXX='-KPIC'
16699             lt_prog_compiler_static_CXX='-static'
16700             ;;
16701           icpc* )
16702             # Intel C++, used to be incompatible with GCC.
16703             # ICC 10 doesn't accept -KPIC any more.
16704             lt_prog_compiler_wl_CXX='-Wl,'
16705             lt_prog_compiler_pic_CXX='-fPIC'
16706             lt_prog_compiler_static_CXX='-static'
16707             ;;
16708           pgCC* | pgcpp*)
16709             # Portland Group C++ compiler
16710             lt_prog_compiler_wl_CXX='-Wl,'
16711             lt_prog_compiler_pic_CXX='-fpic'
16712             lt_prog_compiler_static_CXX='-Bstatic'
16713             ;;
16714           cxx*)
16715             # Compaq C++
16716             # Make sure the PIC flag is empty.  It appears that all Alpha
16717             # Linux and Compaq Tru64 Unix objects are PIC.
16718             lt_prog_compiler_pic_CXX=
16719             lt_prog_compiler_static_CXX='-non_shared'
16720             ;;
16721           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16722             # IBM XL 8.0, 9.0 on PPC and BlueGene
16723             lt_prog_compiler_wl_CXX='-Wl,'
16724             lt_prog_compiler_pic_CXX='-qpic'
16725             lt_prog_compiler_static_CXX='-qstaticlink'
16726             ;;
16727           *)
16728             case `$CC -V 2>&1 | sed 5q` in
16729             *Sun\ C*)
16730               # Sun C++ 5.9
16731               lt_prog_compiler_pic_CXX='-KPIC'
16732               lt_prog_compiler_static_CXX='-Bstatic'
16733               lt_prog_compiler_wl_CXX='-Qoption ld '
16734               ;;
16735             esac
16736             ;;
16737         esac
16738         ;;
16739       lynxos*)
16740         ;;
16741       m88k*)
16742         ;;
16743       mvs*)
16744         case $cc_basename in
16745           cxx*)
16746             lt_prog_compiler_pic_CXX='-W c,exportall'
16747             ;;
16748           *)
16749             ;;
16750         esac
16751         ;;
16752       netbsd*)
16753         ;;
16754       *qnx* | *nto*)
16755         # QNX uses GNU C++, but need to define -shared option too, otherwise
16756         # it will coredump.
16757         lt_prog_compiler_pic_CXX='-fPIC -shared'
16758         ;;
16759       osf3* | osf4* | osf5*)
16760         case $cc_basename in
16761           KCC*)
16762             lt_prog_compiler_wl_CXX='--backend -Wl,'
16763             ;;
16764           RCC*)
16765             # Rational C++ 2.4.1
16766             lt_prog_compiler_pic_CXX='-pic'
16767             ;;
16768           cxx*)
16769             # Digital/Compaq C++
16770             lt_prog_compiler_wl_CXX='-Wl,'
16771             # Make sure the PIC flag is empty.  It appears that all Alpha
16772             # Linux and Compaq Tru64 Unix objects are PIC.
16773             lt_prog_compiler_pic_CXX=
16774             lt_prog_compiler_static_CXX='-non_shared'
16775             ;;
16776           *)
16777             ;;
16778         esac
16779         ;;
16780       psos*)
16781         ;;
16782       solaris*)
16783         case $cc_basename in
16784           CC* | sunCC*)
16785             # Sun C++ 4.2, 5.x and Centerline C++
16786             lt_prog_compiler_pic_CXX='-KPIC'
16787             lt_prog_compiler_static_CXX='-Bstatic'
16788             lt_prog_compiler_wl_CXX='-Qoption ld '
16789             ;;
16790           gcx*)
16791             # Green Hills C++ Compiler
16792             lt_prog_compiler_pic_CXX='-PIC'
16793             ;;
16794           *)
16795             ;;
16796         esac
16797         ;;
16798       sunos4*)
16799         case $cc_basename in
16800           CC*)
16801             # Sun C++ 4.x
16802             lt_prog_compiler_pic_CXX='-pic'
16803             lt_prog_compiler_static_CXX='-Bstatic'
16804             ;;
16805           lcc*)
16806             # Lucid
16807             lt_prog_compiler_pic_CXX='-pic'
16808             ;;
16809           *)
16810             ;;
16811         esac
16812         ;;
16813       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16814         case $cc_basename in
16815           CC*)
16816             lt_prog_compiler_wl_CXX='-Wl,'
16817             lt_prog_compiler_pic_CXX='-KPIC'
16818             lt_prog_compiler_static_CXX='-Bstatic'
16819             ;;
16820         esac
16821         ;;
16822       tandem*)
16823         case $cc_basename in
16824           NCC*)
16825             # NonStop-UX NCC 3.20
16826             lt_prog_compiler_pic_CXX='-KPIC'
16827             ;;
16828           *)
16829             ;;
16830         esac
16831         ;;
16832       vxworks*)
16833         ;;
16834       *)
16835         lt_prog_compiler_can_build_shared_CXX=no
16836         ;;
16837     esac
16838   fi
16839
16840 case $host_os in
16841   # For platforms which do not support PIC, -DPIC is meaningless:
16842   *djgpp*)
16843     lt_prog_compiler_pic_CXX=
16844     ;;
16845   *)
16846     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16847     ;;
16848 esac
16849
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16851 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16852 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16853   $as_echo_n "(cached) " >&6
16854 else
16855   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16856 fi
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16858 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16859 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16860
16861 #
16862 # Check to make sure the PIC flag actually works.
16863 #
16864 if test -n "$lt_prog_compiler_pic_CXX"; then
16865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16866 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16867 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16868   $as_echo_n "(cached) " >&6
16869 else
16870   lt_cv_prog_compiler_pic_works_CXX=no
16871    ac_outfile=conftest.$ac_objext
16872    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16873    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16874    # Insert the option either (1) after the last *FLAGS variable, or
16875    # (2) before a word containing "conftest.", or (3) at the end.
16876    # Note that $ac_compile itself does not contain backslashes and begins
16877    # with a dollar sign (not a hyphen), so the echo should work correctly.
16878    # The option is referenced via a variable to avoid confusing sed.
16879    lt_compile=`echo "$ac_compile" | $SED \
16880    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16881    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16882    -e 's:$: $lt_compiler_flag:'`
16883    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16884    (eval "$lt_compile" 2>conftest.err)
16885    ac_status=$?
16886    cat conftest.err >&5
16887    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888    if (exit $ac_status) && test -s "$ac_outfile"; then
16889      # The compiler can only warn and ignore the option if not recognized
16890      # So say no if there are warnings other than the usual output.
16891      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16892      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16893      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16894        lt_cv_prog_compiler_pic_works_CXX=yes
16895      fi
16896    fi
16897    $RM conftest*
16898
16899 fi
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16901 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16902
16903 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16904     case $lt_prog_compiler_pic_CXX in
16905      "" | " "*) ;;
16906      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16907      esac
16908 else
16909     lt_prog_compiler_pic_CXX=
16910      lt_prog_compiler_can_build_shared_CXX=no
16911 fi
16912
16913 fi
16914
16915
16916
16917
16918
16919 #
16920 # Check to make sure the static flag actually works.
16921 #
16922 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16924 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16925 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16926   $as_echo_n "(cached) " >&6
16927 else
16928   lt_cv_prog_compiler_static_works_CXX=no
16929    save_LDFLAGS="$LDFLAGS"
16930    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16931    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16932    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16933      # The linker can only warn and ignore the option if not recognized
16934      # So say no if there are warnings
16935      if test -s conftest.err; then
16936        # Append any errors to the config.log.
16937        cat conftest.err 1>&5
16938        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16939        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16940        if diff conftest.exp conftest.er2 >/dev/null; then
16941          lt_cv_prog_compiler_static_works_CXX=yes
16942        fi
16943      else
16944        lt_cv_prog_compiler_static_works_CXX=yes
16945      fi
16946    fi
16947    $RM -r conftest*
16948    LDFLAGS="$save_LDFLAGS"
16949
16950 fi
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16952 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16953
16954 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16955     :
16956 else
16957     lt_prog_compiler_static_CXX=
16958 fi
16959
16960
16961
16962
16963     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16964 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16965 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16966   $as_echo_n "(cached) " >&6
16967 else
16968   lt_cv_prog_compiler_c_o_CXX=no
16969    $RM -r conftest 2>/dev/null
16970    mkdir conftest
16971    cd conftest
16972    mkdir out
16973    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16974
16975    lt_compiler_flag="-o out/conftest2.$ac_objext"
16976    # Insert the option either (1) after the last *FLAGS variable, or
16977    # (2) before a word containing "conftest.", or (3) at the end.
16978    # Note that $ac_compile itself does not contain backslashes and begins
16979    # with a dollar sign (not a hyphen), so the echo should work correctly.
16980    lt_compile=`echo "$ac_compile" | $SED \
16981    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16982    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16983    -e 's:$: $lt_compiler_flag:'`
16984    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16985    (eval "$lt_compile" 2>out/conftest.err)
16986    ac_status=$?
16987    cat out/conftest.err >&5
16988    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16990    then
16991      # The compiler can only warn and ignore the option if not recognized
16992      # So say no if there are warnings
16993      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16994      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16995      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16996        lt_cv_prog_compiler_c_o_CXX=yes
16997      fi
16998    fi
16999    chmod u+w . 2>&5
17000    $RM conftest*
17001    # SGI C++ compiler will create directory out/ii_files/ for
17002    # template instantiation
17003    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17004    $RM out/* && rmdir out
17005    cd ..
17006    $RM -r conftest
17007    $RM conftest*
17008
17009 fi
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17011 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17012
17013
17014
17015     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17016 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17017 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17018   $as_echo_n "(cached) " >&6
17019 else
17020   lt_cv_prog_compiler_c_o_CXX=no
17021    $RM -r conftest 2>/dev/null
17022    mkdir conftest
17023    cd conftest
17024    mkdir out
17025    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17026
17027    lt_compiler_flag="-o out/conftest2.$ac_objext"
17028    # Insert the option either (1) after the last *FLAGS variable, or
17029    # (2) before a word containing "conftest.", or (3) at the end.
17030    # Note that $ac_compile itself does not contain backslashes and begins
17031    # with a dollar sign (not a hyphen), so the echo should work correctly.
17032    lt_compile=`echo "$ac_compile" | $SED \
17033    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17034    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17035    -e 's:$: $lt_compiler_flag:'`
17036    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17037    (eval "$lt_compile" 2>out/conftest.err)
17038    ac_status=$?
17039    cat out/conftest.err >&5
17040    echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041    if (exit $ac_status) && test -s out/conftest2.$ac_objext
17042    then
17043      # The compiler can only warn and ignore the option if not recognized
17044      # So say no if there are warnings
17045      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17046      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17047      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17048        lt_cv_prog_compiler_c_o_CXX=yes
17049      fi
17050    fi
17051    chmod u+w . 2>&5
17052    $RM conftest*
17053    # SGI C++ compiler will create directory out/ii_files/ for
17054    # template instantiation
17055    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17056    $RM out/* && rmdir out
17057    cd ..
17058    $RM -r conftest
17059    $RM conftest*
17060
17061 fi
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17063 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17064
17065
17066
17067
17068 hard_links="nottested"
17069 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17070   # do not overwrite the value of need_locks provided by the user
17071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17072 $as_echo_n "checking if we can lock with hard links... " >&6; }
17073   hard_links=yes
17074   $RM conftest*
17075   ln conftest.a conftest.b 2>/dev/null && hard_links=no
17076   touch conftest.a
17077   ln conftest.a conftest.b 2>&5 || hard_links=no
17078   ln conftest.a conftest.b 2>/dev/null && hard_links=no
17079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17080 $as_echo "$hard_links" >&6; }
17081   if test "$hard_links" = no; then
17082     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17083 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17084     need_locks=warn
17085   fi
17086 else
17087   need_locks=no
17088 fi
17089
17090
17091
17092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17093 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17094
17095   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17096   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17097   case $host_os in
17098   aix[4-9]*)
17099     # If we're using GNU nm, then we don't want the "-C" option.
17100     # -C means demangle to AIX nm, but means don't demangle with GNU nm
17101     # Also, AIX nm treats weak defined symbols like other global defined
17102     # symbols, whereas GNU nm marks them as "W".
17103     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17104       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'
17105     else
17106       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'
17107     fi
17108     ;;
17109   pw32*)
17110     export_symbols_cmds_CXX="$ltdll_cmds"
17111     ;;
17112   cygwin* | mingw* | cegcc*)
17113     case $cc_basename in
17114     cl*)
17115       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17116       ;;
17117     *)
17118       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'
17119       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17120       ;;
17121     esac
17122     ;;
17123   *)
17124     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17125     ;;
17126   esac
17127
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17129 $as_echo "$ld_shlibs_CXX" >&6; }
17130 test "$ld_shlibs_CXX" = no && can_build_shared=no
17131
17132 with_gnu_ld_CXX=$with_gnu_ld
17133
17134
17135
17136
17137
17138
17139 #
17140 # Do we need to explicitly link libc?
17141 #
17142 case "x$archive_cmds_need_lc_CXX" in
17143 x|xyes)
17144   # Assume -lc should be added
17145   archive_cmds_need_lc_CXX=yes
17146
17147   if test "$enable_shared" = yes && test "$GCC" = yes; then
17148     case $archive_cmds_CXX in
17149     *'~'*)
17150       # FIXME: we may have to deal with multi-command sequences.
17151       ;;
17152     '$CC '*)
17153       # Test whether the compiler implicitly links with -lc since on some
17154       # systems, -lgcc has to come before -lc. If gcc already passes -lc
17155       # to ld, don't add -lc before -lgcc.
17156       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17157 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17158 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
17159   $as_echo_n "(cached) " >&6
17160 else
17161   $RM conftest*
17162         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17163
17164         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17165   (eval $ac_compile) 2>&5
17166   ac_status=$?
17167   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17168   test $ac_status = 0; } 2>conftest.err; then
17169           soname=conftest
17170           lib=conftest
17171           libobjs=conftest.$ac_objext
17172           deplibs=
17173           wl=$lt_prog_compiler_wl_CXX
17174           pic_flag=$lt_prog_compiler_pic_CXX
17175           compiler_flags=-v
17176           linker_flags=-v
17177           verstring=
17178           output_objdir=.
17179           libname=conftest
17180           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17181           allow_undefined_flag_CXX=
17182           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17183   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17184   ac_status=$?
17185   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17186   test $ac_status = 0; }
17187           then
17188             lt_cv_archive_cmds_need_lc_CXX=no
17189           else
17190             lt_cv_archive_cmds_need_lc_CXX=yes
17191           fi
17192           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17193         else
17194           cat conftest.err 1>&5
17195         fi
17196         $RM conftest*
17197
17198 fi
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17200 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17201       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17202       ;;
17203     esac
17204   fi
17205   ;;
17206 esac
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
17261
17262
17263
17264
17265
17266
17267
17268
17269     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17270 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17271
17272 library_names_spec=
17273 libname_spec='lib$name'
17274 soname_spec=
17275 shrext_cmds=".so"
17276 postinstall_cmds=
17277 postuninstall_cmds=
17278 finish_cmds=
17279 finish_eval=
17280 shlibpath_var=
17281 shlibpath_overrides_runpath=unknown
17282 version_type=none
17283 dynamic_linker="$host_os ld.so"
17284 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17285 need_lib_prefix=unknown
17286 hardcode_into_libs=no
17287
17288 # when you set need_version to no, make sure it does not cause -set_version
17289 # flags to be left without arguments
17290 need_version=unknown
17291
17292 case $host_os in
17293 aix3*)
17294   version_type=linux # correct to gnu/linux during the next big refactor
17295   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17296   shlibpath_var=LIBPATH
17297
17298   # AIX 3 has no versioning support, so we append a major version to the name.
17299   soname_spec='${libname}${release}${shared_ext}$major'
17300   ;;
17301
17302 aix[4-9]*)
17303   version_type=linux # correct to gnu/linux during the next big refactor
17304   need_lib_prefix=no
17305   need_version=no
17306   hardcode_into_libs=yes
17307   if test "$host_cpu" = ia64; then
17308     # AIX 5 supports IA64
17309     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17310     shlibpath_var=LD_LIBRARY_PATH
17311   else
17312     # With GCC up to 2.95.x, collect2 would create an import file
17313     # for dependence libraries.  The import file would start with
17314     # the line `#! .'.  This would cause the generated library to
17315     # depend on `.', always an invalid library.  This was fixed in
17316     # development snapshots of GCC prior to 3.0.
17317     case $host_os in
17318       aix4 | aix4.[01] | aix4.[01].*)
17319       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17320            echo ' yes '
17321            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17322         :
17323       else
17324         can_build_shared=no
17325       fi
17326       ;;
17327     esac
17328     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17329     # soname into executable. Probably we can add versioning support to
17330     # collect2, so additional links can be useful in future.
17331     if test "$aix_use_runtimelinking" = yes; then
17332       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17333       # instead of lib<name>.a to let people know that these are not
17334       # typical AIX shared libraries.
17335       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17336     else
17337       # We preserve .a as extension for shared libraries through AIX4.2
17338       # and later when we are not doing run time linking.
17339       library_names_spec='${libname}${release}.a $libname.a'
17340       soname_spec='${libname}${release}${shared_ext}$major'
17341     fi
17342     shlibpath_var=LIBPATH
17343   fi
17344   ;;
17345
17346 amigaos*)
17347   case $host_cpu in
17348   powerpc)
17349     # Since July 2007 AmigaOS4 officially supports .so libraries.
17350     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17351     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17352     ;;
17353   m68k)
17354     library_names_spec='$libname.ixlibrary $libname.a'
17355     # Create ${libname}_ixlibrary.a entries in /sys/libs.
17356     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'
17357     ;;
17358   esac
17359   ;;
17360
17361 beos*)
17362   library_names_spec='${libname}${shared_ext}'
17363   dynamic_linker="$host_os ld.so"
17364   shlibpath_var=LIBRARY_PATH
17365   ;;
17366
17367 bsdi[45]*)
17368   version_type=linux # correct to gnu/linux during the next big refactor
17369   need_version=no
17370   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17371   soname_spec='${libname}${release}${shared_ext}$major'
17372   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17373   shlibpath_var=LD_LIBRARY_PATH
17374   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17375   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17376   # the default ld.so.conf also contains /usr/contrib/lib and
17377   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17378   # libtool to hard-code these into programs
17379   ;;
17380
17381 cygwin* | mingw* | pw32* | cegcc*)
17382   version_type=windows
17383   shrext_cmds=".dll"
17384   need_version=no
17385   need_lib_prefix=no
17386
17387   case $GCC,$cc_basename in
17388   yes,*)
17389     # gcc
17390     library_names_spec='$libname.dll.a'
17391     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17392     postinstall_cmds='base_file=`basename \${file}`~
17393       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17394       dldir=$destdir/`dirname \$dlpath`~
17395       test -d \$dldir || mkdir -p \$dldir~
17396       $install_prog $dir/$dlname \$dldir/$dlname~
17397       chmod a+x \$dldir/$dlname~
17398       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17399         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17400       fi'
17401     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17402       dlpath=$dir/\$dldll~
17403        $RM \$dlpath'
17404     shlibpath_overrides_runpath=yes
17405
17406     case $host_os in
17407     cygwin*)
17408       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17409       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17410
17411       ;;
17412     mingw* | cegcc*)
17413       # MinGW DLLs use traditional 'lib' prefix
17414       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17415       ;;
17416     pw32*)
17417       # pw32 DLLs use 'pw' prefix rather than 'lib'
17418       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17419       ;;
17420     esac
17421     dynamic_linker='Win32 ld.exe'
17422     ;;
17423
17424   *,cl*)
17425     # Native MSVC
17426     libname_spec='$name'
17427     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17428     library_names_spec='${libname}.dll.lib'
17429
17430     case $build_os in
17431     mingw*)
17432       sys_lib_search_path_spec=
17433       lt_save_ifs=$IFS
17434       IFS=';'
17435       for lt_path in $LIB
17436       do
17437         IFS=$lt_save_ifs
17438         # Let DOS variable expansion print the short 8.3 style file name.
17439         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17440         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17441       done
17442       IFS=$lt_save_ifs
17443       # Convert to MSYS style.
17444       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17445       ;;
17446     cygwin*)
17447       # Convert to unix form, then to dos form, then back to unix form
17448       # but this time dos style (no spaces!) so that the unix form looks
17449       # like /cygdrive/c/PROGRA~1:/cygdr...
17450       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17451       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17452       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17453       ;;
17454     *)
17455       sys_lib_search_path_spec="$LIB"
17456       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17457         # It is most probably a Windows format PATH.
17458         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17459       else
17460         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17461       fi
17462       # FIXME: find the short name or the path components, as spaces are
17463       # common. (e.g. "Program Files" -> "PROGRA~1")
17464       ;;
17465     esac
17466
17467     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17468     postinstall_cmds='base_file=`basename \${file}`~
17469       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17470       dldir=$destdir/`dirname \$dlpath`~
17471       test -d \$dldir || mkdir -p \$dldir~
17472       $install_prog $dir/$dlname \$dldir/$dlname'
17473     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17474       dlpath=$dir/\$dldll~
17475        $RM \$dlpath'
17476     shlibpath_overrides_runpath=yes
17477     dynamic_linker='Win32 link.exe'
17478     ;;
17479
17480   *)
17481     # Assume MSVC wrapper
17482     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17483     dynamic_linker='Win32 ld.exe'
17484     ;;
17485   esac
17486   # FIXME: first we should search . and the directory the executable is in
17487   shlibpath_var=PATH
17488   ;;
17489
17490 darwin* | rhapsody*)
17491   dynamic_linker="$host_os dyld"
17492   version_type=darwin
17493   need_lib_prefix=no
17494   need_version=no
17495   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17496   soname_spec='${libname}${release}${major}$shared_ext'
17497   shlibpath_overrides_runpath=yes
17498   shlibpath_var=DYLD_LIBRARY_PATH
17499   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17500
17501   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17502   ;;
17503
17504 dgux*)
17505   version_type=linux # correct to gnu/linux during the next big refactor
17506   need_lib_prefix=no
17507   need_version=no
17508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17509   soname_spec='${libname}${release}${shared_ext}$major'
17510   shlibpath_var=LD_LIBRARY_PATH
17511   ;;
17512
17513 freebsd* | dragonfly*)
17514   # DragonFly does not have aout.  When/if they implement a new
17515   # versioning mechanism, adjust this.
17516   if test -x /usr/bin/objformat; then
17517     objformat=`/usr/bin/objformat`
17518   else
17519     case $host_os in
17520     freebsd[23].*) objformat=aout ;;
17521     *) objformat=elf ;;
17522     esac
17523   fi
17524   version_type=freebsd-$objformat
17525   case $version_type in
17526     freebsd-elf*)
17527       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17528       need_version=no
17529       need_lib_prefix=no
17530       ;;
17531     freebsd-*)
17532       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17533       need_version=yes
17534       ;;
17535   esac
17536   shlibpath_var=LD_LIBRARY_PATH
17537   case $host_os in
17538   freebsd2.*)
17539     shlibpath_overrides_runpath=yes
17540     ;;
17541   freebsd3.[01]* | freebsdelf3.[01]*)
17542     shlibpath_overrides_runpath=yes
17543     hardcode_into_libs=yes
17544     ;;
17545   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17546   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17547     shlibpath_overrides_runpath=no
17548     hardcode_into_libs=yes
17549     ;;
17550   *) # from 4.6 on, and DragonFly
17551     shlibpath_overrides_runpath=yes
17552     hardcode_into_libs=yes
17553     ;;
17554   esac
17555   ;;
17556
17557 gnu*)
17558   version_type=linux # correct to gnu/linux during the next big refactor
17559   need_lib_prefix=no
17560   need_version=no
17561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17562   soname_spec='${libname}${release}${shared_ext}$major'
17563   shlibpath_var=LD_LIBRARY_PATH
17564   shlibpath_overrides_runpath=no
17565   hardcode_into_libs=yes
17566   ;;
17567
17568 haiku*)
17569   version_type=linux # correct to gnu/linux during the next big refactor
17570   need_lib_prefix=no
17571   need_version=no
17572   dynamic_linker="$host_os runtime_loader"
17573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17574   soname_spec='${libname}${release}${shared_ext}$major'
17575   shlibpath_var=LIBRARY_PATH
17576   shlibpath_overrides_runpath=yes
17577   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17578   hardcode_into_libs=yes
17579   ;;
17580
17581 hpux9* | hpux10* | hpux11*)
17582   # Give a soname corresponding to the major version so that dld.sl refuses to
17583   # link against other versions.
17584   version_type=sunos
17585   need_lib_prefix=no
17586   need_version=no
17587   case $host_cpu in
17588   ia64*)
17589     shrext_cmds='.so'
17590     hardcode_into_libs=yes
17591     dynamic_linker="$host_os dld.so"
17592     shlibpath_var=LD_LIBRARY_PATH
17593     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17594     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17595     soname_spec='${libname}${release}${shared_ext}$major'
17596     if test "X$HPUX_IA64_MODE" = X32; then
17597       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17598     else
17599       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17600     fi
17601     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17602     ;;
17603   hppa*64*)
17604     shrext_cmds='.sl'
17605     hardcode_into_libs=yes
17606     dynamic_linker="$host_os dld.sl"
17607     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17608     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17609     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17610     soname_spec='${libname}${release}${shared_ext}$major'
17611     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17612     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17613     ;;
17614   *)
17615     shrext_cmds='.sl'
17616     dynamic_linker="$host_os dld.sl"
17617     shlibpath_var=SHLIB_PATH
17618     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17619     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17620     soname_spec='${libname}${release}${shared_ext}$major'
17621     ;;
17622   esac
17623   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17624   postinstall_cmds='chmod 555 $lib'
17625   # or fails outright, so override atomically:
17626   install_override_mode=555
17627   ;;
17628
17629 interix[3-9]*)
17630   version_type=linux # correct to gnu/linux during the next big refactor
17631   need_lib_prefix=no
17632   need_version=no
17633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17634   soname_spec='${libname}${release}${shared_ext}$major'
17635   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17636   shlibpath_var=LD_LIBRARY_PATH
17637   shlibpath_overrides_runpath=no
17638   hardcode_into_libs=yes
17639   ;;
17640
17641 irix5* | irix6* | nonstopux*)
17642   case $host_os in
17643     nonstopux*) version_type=nonstopux ;;
17644     *)
17645         if test "$lt_cv_prog_gnu_ld" = yes; then
17646                 version_type=linux # correct to gnu/linux during the next big refactor
17647         else
17648                 version_type=irix
17649         fi ;;
17650   esac
17651   need_lib_prefix=no
17652   need_version=no
17653   soname_spec='${libname}${release}${shared_ext}$major'
17654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17655   case $host_os in
17656   irix5* | nonstopux*)
17657     libsuff= shlibsuff=
17658     ;;
17659   *)
17660     case $LD in # libtool.m4 will add one of these switches to LD
17661     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17662       libsuff= shlibsuff= libmagic=32-bit;;
17663     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17664       libsuff=32 shlibsuff=N32 libmagic=N32;;
17665     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17666       libsuff=64 shlibsuff=64 libmagic=64-bit;;
17667     *) libsuff= shlibsuff= libmagic=never-match;;
17668     esac
17669     ;;
17670   esac
17671   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17672   shlibpath_overrides_runpath=no
17673   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17674   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17675   hardcode_into_libs=yes
17676   ;;
17677
17678 # No shared lib support for Linux oldld, aout, or coff.
17679 linux*oldld* | linux*aout* | linux*coff*)
17680   dynamic_linker=no
17681   ;;
17682
17683 # This must be glibc/ELF.
17684 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17685   version_type=linux # correct to gnu/linux during the next big refactor
17686   need_lib_prefix=no
17687   need_version=no
17688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17689   soname_spec='${libname}${release}${shared_ext}$major'
17690   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17691   shlibpath_var=LD_LIBRARY_PATH
17692   shlibpath_overrides_runpath=no
17693
17694   # Some binutils ld are patched to set DT_RUNPATH
17695   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17696   $as_echo_n "(cached) " >&6
17697 else
17698   lt_cv_shlibpath_overrides_runpath=no
17699     save_LDFLAGS=$LDFLAGS
17700     save_libdir=$libdir
17701     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17702          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17703     if test x$ac_no_link = xyes; then
17704   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
17705 fi
17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h.  */
17708
17709 int
17710 main ()
17711 {
17712
17713   ;
17714   return 0;
17715 }
17716 _ACEOF
17717 if ac_fn_cxx_try_link "$LINENO"; then :
17718   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17719   lt_cv_shlibpath_overrides_runpath=yes
17720 fi
17721 fi
17722 rm -f core conftest.err conftest.$ac_objext \
17723     conftest$ac_exeext conftest.$ac_ext
17724     LDFLAGS=$save_LDFLAGS
17725     libdir=$save_libdir
17726
17727 fi
17728
17729   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17730
17731   # This implies no fast_install, which is unacceptable.
17732   # Some rework will be needed to allow for fast_install
17733   # before this can be enabled.
17734   hardcode_into_libs=yes
17735
17736   # Append ld.so.conf contents to the search path
17737   if test -f /etc/ld.so.conf; then
17738     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' ' '`
17739     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17740   fi
17741
17742   # We used to test for /lib/ld.so.1 and disable shared libraries on
17743   # powerpc, because MkLinux only supported shared libraries with the
17744   # GNU dynamic linker.  Since this was broken with cross compilers,
17745   # most powerpc-linux boxes support dynamic linking these days and
17746   # people can always --disable-shared, the test was removed, and we
17747   # assume the GNU/Linux dynamic linker is in use.
17748   dynamic_linker='GNU/Linux ld.so'
17749   ;;
17750
17751 netbsd*)
17752   version_type=sunos
17753   need_lib_prefix=no
17754   need_version=no
17755   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17756     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17757     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17758     dynamic_linker='NetBSD (a.out) ld.so'
17759   else
17760     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17761     soname_spec='${libname}${release}${shared_ext}$major'
17762     dynamic_linker='NetBSD ld.elf_so'
17763   fi
17764   shlibpath_var=LD_LIBRARY_PATH
17765   shlibpath_overrides_runpath=yes
17766   hardcode_into_libs=yes
17767   ;;
17768
17769 newsos6)
17770   version_type=linux # correct to gnu/linux during the next big refactor
17771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17772   shlibpath_var=LD_LIBRARY_PATH
17773   shlibpath_overrides_runpath=yes
17774   ;;
17775
17776 *nto* | *qnx*)
17777   version_type=qnx
17778   need_lib_prefix=no
17779   need_version=no
17780   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17781   soname_spec='${libname}${release}${shared_ext}$major'
17782   shlibpath_var=LD_LIBRARY_PATH
17783   shlibpath_overrides_runpath=no
17784   hardcode_into_libs=yes
17785   dynamic_linker='ldqnx.so'
17786   ;;
17787
17788 openbsd*)
17789   version_type=sunos
17790   sys_lib_dlsearch_path_spec="/usr/lib"
17791   need_lib_prefix=no
17792   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17793   case $host_os in
17794     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
17795     *)                          need_version=no  ;;
17796   esac
17797   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17798   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17799   shlibpath_var=LD_LIBRARY_PATH
17800   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17801     case $host_os in
17802       openbsd2.[89] | openbsd2.[89].*)
17803         shlibpath_overrides_runpath=no
17804         ;;
17805       *)
17806         shlibpath_overrides_runpath=yes
17807         ;;
17808       esac
17809   else
17810     shlibpath_overrides_runpath=yes
17811   fi
17812   ;;
17813
17814 os2*)
17815   libname_spec='$name'
17816   shrext_cmds=".dll"
17817   need_lib_prefix=no
17818   library_names_spec='$libname${shared_ext} $libname.a'
17819   dynamic_linker='OS/2 ld.exe'
17820   shlibpath_var=LIBPATH
17821   ;;
17822
17823 osf3* | osf4* | osf5*)
17824   version_type=osf
17825   need_lib_prefix=no
17826   need_version=no
17827   soname_spec='${libname}${release}${shared_ext}$major'
17828   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17829   shlibpath_var=LD_LIBRARY_PATH
17830   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17831   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17832   ;;
17833
17834 rdos*)
17835   dynamic_linker=no
17836   ;;
17837
17838 solaris*)
17839   version_type=linux # correct to gnu/linux during the next big refactor
17840   need_lib_prefix=no
17841   need_version=no
17842   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17843   soname_spec='${libname}${release}${shared_ext}$major'
17844   shlibpath_var=LD_LIBRARY_PATH
17845   shlibpath_overrides_runpath=yes
17846   hardcode_into_libs=yes
17847   # ldd complains unless libraries are executable
17848   postinstall_cmds='chmod +x $lib'
17849   ;;
17850
17851 sunos4*)
17852   version_type=sunos
17853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17854   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17855   shlibpath_var=LD_LIBRARY_PATH
17856   shlibpath_overrides_runpath=yes
17857   if test "$with_gnu_ld" = yes; then
17858     need_lib_prefix=no
17859   fi
17860   need_version=yes
17861   ;;
17862
17863 sysv4 | sysv4.3*)
17864   version_type=linux # correct to gnu/linux during the next big refactor
17865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17866   soname_spec='${libname}${release}${shared_ext}$major'
17867   shlibpath_var=LD_LIBRARY_PATH
17868   case $host_vendor in
17869     sni)
17870       shlibpath_overrides_runpath=no
17871       need_lib_prefix=no
17872       runpath_var=LD_RUN_PATH
17873       ;;
17874     siemens)
17875       need_lib_prefix=no
17876       ;;
17877     motorola)
17878       need_lib_prefix=no
17879       need_version=no
17880       shlibpath_overrides_runpath=no
17881       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17882       ;;
17883   esac
17884   ;;
17885
17886 sysv4*MP*)
17887   if test -d /usr/nec ;then
17888     version_type=linux # correct to gnu/linux during the next big refactor
17889     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17890     soname_spec='$libname${shared_ext}.$major'
17891     shlibpath_var=LD_LIBRARY_PATH
17892   fi
17893   ;;
17894
17895 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17896   version_type=freebsd-elf
17897   need_lib_prefix=no
17898   need_version=no
17899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17900   soname_spec='${libname}${release}${shared_ext}$major'
17901   shlibpath_var=LD_LIBRARY_PATH
17902   shlibpath_overrides_runpath=yes
17903   hardcode_into_libs=yes
17904   if test "$with_gnu_ld" = yes; then
17905     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17906   else
17907     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17908     case $host_os in
17909       sco3.2v5*)
17910         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17911         ;;
17912     esac
17913   fi
17914   sys_lib_dlsearch_path_spec='/usr/lib'
17915   ;;
17916
17917 tpf*)
17918   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17919   version_type=linux # correct to gnu/linux during the next big refactor
17920   need_lib_prefix=no
17921   need_version=no
17922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17923   shlibpath_var=LD_LIBRARY_PATH
17924   shlibpath_overrides_runpath=no
17925   hardcode_into_libs=yes
17926   ;;
17927
17928 uts4*)
17929   version_type=linux # correct to gnu/linux during the next big refactor
17930   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17931   soname_spec='${libname}${release}${shared_ext}$major'
17932   shlibpath_var=LD_LIBRARY_PATH
17933   ;;
17934
17935 *)
17936   dynamic_linker=no
17937   ;;
17938 esac
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17940 $as_echo "$dynamic_linker" >&6; }
17941 test "$dynamic_linker" = no && can_build_shared=no
17942
17943 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17944 if test "$GCC" = yes; then
17945   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17946 fi
17947
17948 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17949   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17950 fi
17951 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17952   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17953 fi
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
17984
17985
17986
17987
17988
17989
17990
17991
17992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17993 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17994 hardcode_action_CXX=
17995 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17996    test -n "$runpath_var_CXX" ||
17997    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17998
17999   # We can hardcode non-existent directories.
18000   if test "$hardcode_direct_CXX" != no &&
18001      # If the only mechanism to avoid hardcoding is shlibpath_var, we
18002      # have to relink, otherwise we might link with an installed library
18003      # when we should be linking with a yet-to-be-installed one
18004      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18005      test "$hardcode_minus_L_CXX" != no; then
18006     # Linking always hardcodes the temporary library directory.
18007     hardcode_action_CXX=relink
18008   else
18009     # We can link without hardcoding, and we can hardcode nonexisting dirs.
18010     hardcode_action_CXX=immediate
18011   fi
18012 else
18013   # We cannot hardcode anything, or else we can only hardcode existing
18014   # directories.
18015   hardcode_action_CXX=unsupported
18016 fi
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18018 $as_echo "$hardcode_action_CXX" >&6; }
18019
18020 if test "$hardcode_action_CXX" = relink ||
18021    test "$inherit_rpath_CXX" = yes; then
18022   # Fast installation is not supported
18023   enable_fast_install=no
18024 elif test "$shlibpath_overrides_runpath" = yes ||
18025      test "$enable_shared" = no; then
18026   # Fast installation is not necessary
18027   enable_fast_install=needless
18028 fi
18029
18030
18031
18032
18033
18034
18035
18036   fi # test -n "$compiler"
18037
18038   CC=$lt_save_CC
18039   CFLAGS=$lt_save_CFLAGS
18040   LDCXX=$LD
18041   LD=$lt_save_LD
18042   GCC=$lt_save_GCC
18043   with_gnu_ld=$lt_save_with_gnu_ld
18044   lt_cv_path_LDCXX=$lt_cv_path_LD
18045   lt_cv_path_LD=$lt_save_path_LD
18046   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18047   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18048 fi # test "$_lt_caught_CXX_error" != yes
18049
18050 ac_ext=c
18051 ac_cpp='$CPP $CPPFLAGS'
18052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070         ac_config_commands="$ac_config_commands libtool"
18071
18072
18073
18074
18075 # Only expand once:
18076
18077
18078
18079 #
18080 # Debug instances
18081 #
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances" >&5
18083 $as_echo "$as_me: checking whether to build debug instances" >&6;}
18084
18085 # Debug
18086
18087
18088     # Check whether or not a default value has been passed in.
18089
18090
18091
18092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances of programs and libraries" >&5
18093 $as_echo_n "checking whether to build debug instances of programs and libraries... " >&6; }
18094 if ${nl_cv_build_debug+:} false; then :
18095   $as_echo_n "(cached) " >&6
18096 else
18097
18098             # Check whether --enable-debug was given.
18099 if test "${enable_debug+set}" = set; then :
18100   enableval=$enable_debug;
18101                     case "${enableval}" in
18102
18103                     no|yes)
18104                         nl_cv_build_debug=${enableval}
18105                         ;;
18106
18107                     *)
18108                         as_fn_error $? "Invalid value ${enableval} for --enable-debug" "$LINENO" 5
18109                         ;;
18110
18111                     esac
18112
18113 else
18114
18115                     nl_cv_build_debug=no
18116
18117 fi
18118
18119
18120 fi
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_debug" >&5
18122 $as_echo "$nl_cv_build_debug" >&6; }
18123
18124     if test "${nl_cv_build_debug}" = "yes"; then
18125         CFLAGS="${CFLAGS} -DDEBUG"
18126         CXXFLAGS="${CXXFLAGS} -DDEBUG"
18127         OBJCFLAGS="${OBJCFLAGS} -DDEBUG"
18128         OBJCXXFLAGS="${OBJCXXFLAGS} -DDEBUG"
18129     fi
18130
18131
18132
18133  if test "${nl_cv_build_debug}" = "yes"; then
18134   NLASSERT_BUILD_DEBUG_TRUE=
18135   NLASSERT_BUILD_DEBUG_FALSE='#'
18136 else
18137   NLASSERT_BUILD_DEBUG_TRUE='#'
18138   NLASSERT_BUILD_DEBUG_FALSE=
18139 fi
18140
18141
18142 #
18143 # Code coverage and compiler optimization
18144 #
18145
18146 # Coverage
18147
18148
18149     # Check whether or not a default value has been passed in.
18150
18151
18152
18153     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-coverage instances of programs and libraries" >&5
18154 $as_echo_n "checking whether to build code-coverage instances of programs and libraries... " >&6; }
18155 if ${nl_cv_build_coverage+:} false; then :
18156   $as_echo_n "(cached) " >&6
18157 else
18158
18159             # Check whether --enable-coverage was given.
18160 if test "${enable_coverage+set}" = set; then :
18161   enableval=$enable_coverage;
18162                     case "${enableval}" in
18163
18164                     no|yes)
18165                         nl_cv_build_coverage=${enableval}
18166
18167                         if test "${nl_cv_build_optimized}" = "yes"; then
18168                             as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
18169                         fi
18170                         ;;
18171
18172                     *)
18173                         as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
18174                         ;;
18175
18176                     esac
18177
18178 else
18179
18180                     if test "${nl_cv_build_optimized}" = "yes"; then
18181                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-optimization was specified, coverage disabled" >&5
18182 $as_echo "$as_me: WARNING: --enable-optimization was specified, coverage disabled" >&2;}
18183                         nl_cv_build_coverage=no
18184
18185                     else
18186                         nl_cv_build_coverage=no
18187
18188                     fi
18189
18190 fi
18191
18192
18193 fi
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage" >&5
18195 $as_echo "$nl_cv_build_coverage" >&6; }
18196
18197     if test "${nl_cv_build_coverage}" = "yes"; then
18198         if test "${GCC}" != "yes"; then
18199             as_fn_error $? "GCC or a GCC-compatible toolchain is required for --enable-coverage" "$LINENO" 5
18200         else
18201             NL_COVERAGE_CPPFLAGS="--coverage"
18202             if ${CC} --version | grep -q clang; then
18203                 NL_COVERAGE_LDFLAGS="--coverage"
18204             else
18205                 NL_COVERAGE_LIBS="-lgcov"
18206             fi
18207         fi
18208     fi
18209
18210
18211
18212  if test "${nl_cv_build_coverage}" = "yes"; then
18213   NLASSERT_BUILD_COVERAGE_TRUE=
18214   NLASSERT_BUILD_COVERAGE_FALSE='#'
18215 else
18216   NLASSERT_BUILD_COVERAGE_TRUE='#'
18217   NLASSERT_BUILD_COVERAGE_FALSE=
18218 fi
18219
18220
18221
18222     # Check whether or not a default value has been passed in.
18223
18224
18225
18226     # Check for the presence of lcov and genhtml, required
18227     # to build and generate the coverage reports.
18228
18229     # Extract the first word of "lcov", so it can be a program name with args.
18230 set dummy lcov; ac_word=$2
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18232 $as_echo_n "checking for $ac_word... " >&6; }
18233 if ${ac_cv_path_LCOV+:} false; then :
18234   $as_echo_n "(cached) " >&6
18235 else
18236   case $LCOV in
18237   [\\/]* | ?:[\\/]*)
18238   ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
18239   ;;
18240   *)
18241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18242 for as_dir in $PATH
18243 do
18244   IFS=$as_save_IFS
18245   test -z "$as_dir" && as_dir=.
18246     for ac_exec_ext in '' $ac_executable_extensions; do
18247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18248     ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
18249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18250     break 2
18251   fi
18252 done
18253   done
18254 IFS=$as_save_IFS
18255
18256   ;;
18257 esac
18258 fi
18259 LCOV=$ac_cv_path_LCOV
18260 if test -n "$LCOV"; then
18261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
18262 $as_echo "$LCOV" >&6; }
18263 else
18264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18265 $as_echo "no" >&6; }
18266 fi
18267
18268
18269     # Extract the first word of "genhtml", so it can be a program name with args.
18270 set dummy genhtml; ac_word=$2
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18272 $as_echo_n "checking for $ac_word... " >&6; }
18273 if ${ac_cv_path_GENHTML+:} false; then :
18274   $as_echo_n "(cached) " >&6
18275 else
18276   case $GENHTML in
18277   [\\/]* | ?:[\\/]*)
18278   ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
18279   ;;
18280   *)
18281   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18282 for as_dir in $PATH
18283 do
18284   IFS=$as_save_IFS
18285   test -z "$as_dir" && as_dir=.
18286     for ac_exec_ext in '' $ac_executable_extensions; do
18287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18288     ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
18289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18290     break 2
18291   fi
18292 done
18293   done
18294 IFS=$as_save_IFS
18295
18296   ;;
18297 esac
18298 fi
18299 GENHTML=$ac_cv_path_GENHTML
18300 if test -n "$GENHTML"; then
18301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
18302 $as_echo "$GENHTML" >&6; }
18303 else
18304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18305 $as_echo "no" >&6; }
18306 fi
18307
18308
18309
18310     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build graphical code coverage reports" >&5
18311 $as_echo_n "checking whether to build graphical code coverage reports... " >&6; }
18312 if ${nl_cv_build_coverage_reports+:} false; then :
18313   $as_echo_n "(cached) " >&6
18314 else
18315
18316             # Check whether --enable-coverage-reports was given.
18317 if test "${enable_coverage_reports+set}" = set; then :
18318   enableval=$enable_coverage_reports;
18319                     case "${enableval}" in
18320
18321                     auto|no|yes)
18322                         nl_cv_build_coverage_reports=${enableval}
18323                         ;;
18324
18325                     *)
18326                         as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
18327                         ;;
18328
18329                     esac
18330
18331 else
18332
18333                     nl_cv_build_coverage_reports=auto
18334
18335 fi
18336
18337
18338             # If coverage is not enabled, then coverage reports
18339             # defaults to 'no' if it is 'auto' or fails if it is
18340             # 'yes'. Otherwise, availability of lcov and genhtml
18341             # condition behavior. Lack of availability for 'yes'
18342             # results in failure; however, for 'auto' then coverage
18343             # reports default to 'no'.
18344
18345             case "${nl_cv_build_coverage}" in
18346
18347             no)
18348                 case "${nl_cv_build_coverage_reports}" in
18349
18350                     auto)
18351                         nl_cv_build_coverage_reports="no"
18352                         ;;
18353
18354                     yes)
18355                         as_fn_error $? "--enable-coverage must be asserted to use --enable-coverage-reports." "$LINENO" 5
18356                         ;;
18357
18358                     no)
18359                         ;;
18360
18361                 esac
18362                 ;;
18363
18364             yes)
18365                 case "${nl_cv_build_coverage_reports}" in
18366
18367                     auto)
18368                         # Both lcov and genhtml must exist to successfully
18369                         # enable coverage reports.
18370
18371                         if test "x${LCOV}" = "x" || test "x${GENHTML}" = "x"; then
18372                             nl_cv_build_coverage_reports="no"
18373
18374                         else
18375                             nl_cv_build_coverage_reports="yes"
18376
18377                         fi
18378                         ;;
18379
18380                     yes)
18381                         # Both lcov and genhtml must exist to successfully
18382                         # enable coverage reports. Since the default or user
18383                         # ask is 'yes', we must fail if lcov or genhtml cannot
18384                         # be found.
18385
18386                         if test "x${LCOV}" = "x"; then
18387                             as_fn_error $? "Cannot find 'lcov'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
18388
18389                         elif test "x${GENHTML}" = "x"; then
18390                             as_fn_error $? "Cannot find 'genhtml'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
18391
18392                         elif test "${nl_cv_build_coverage_reports}" = "auto"; then
18393                             nl_cv_build_coverage_reports="yes"
18394
18395                         fi
18396                         ;;
18397
18398                     no)
18399                         ;;
18400
18401                 esac
18402                 ;;
18403
18404             esac
18405
18406 fi
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage_reports" >&5
18408 $as_echo "$nl_cv_build_coverage_reports" >&6; }
18409
18410
18411  if test "${nl_cv_build_coverage_reports}" = "yes"; then
18412   NLASSERT_BUILD_COVERAGE_REPORTS_TRUE=
18413   NLASSERT_BUILD_COVERAGE_REPORTS_FALSE='#'
18414 else
18415   NLASSERT_BUILD_COVERAGE_REPORTS_TRUE='#'
18416   NLASSERT_BUILD_COVERAGE_REPORTS_FALSE=
18417 fi
18418
18419
18420 # Optimization
18421
18422
18423     # Check whether or not a default value has been passed in.
18424
18425
18426
18427     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-optimized instances of programs and libraries" >&5
18428 $as_echo_n "checking whether to build code-optimized instances of programs and libraries... " >&6; }
18429 if ${nl_cv_build_optimized+:} false; then :
18430   $as_echo_n "(cached) " >&6
18431 else
18432
18433             # Check whether --enable-optimization was given.
18434 if test "${enable_optimization+set}" = set; then :
18435   enableval=$enable_optimization;
18436                     case "${enableval}" in
18437
18438                     no|yes)
18439                         nl_cv_build_optimized=${enableval}
18440
18441                         if test "${nl_cv_build_coverage}" = "yes" && test "${nl_cv_build_optimized}" = "yes"; then
18442                             as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
18443                         fi
18444                         ;;
18445
18446                     *)
18447                         as_fn_error $? "Invalid value ${enableval} for --enable-optimized" "$LINENO" 5
18448                         ;;
18449
18450                     esac
18451
18452 else
18453
18454                     if test "${nl_cv_build_coverage}" = "yes"; then
18455                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-coverage was specified, optimization disabled" >&5
18456 $as_echo "$as_me: WARNING: --enable-coverage was specified, optimization disabled" >&2;}
18457                         nl_cv_build_optimized=no
18458
18459                     else
18460                         nl_cv_build_optimized=yes
18461
18462                     fi
18463
18464 fi
18465
18466
18467 fi
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_optimized" >&5
18469 $as_echo "$nl_cv_build_optimized" >&6; }
18470
18471     if test "${nl_cv_build_optimized}" = "no"; then
18472         CFLAGS="`echo ${CFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18473         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18474         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18475         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18476     fi
18477
18478
18479
18480  if test "${nl_cv_build_optimized}" = "yes"; then
18481   NLASSERT_BUILD_OPTIMIZED_TRUE=
18482   NLASSERT_BUILD_OPTIMIZED_FALSE='#'
18483 else
18484   NLASSERT_BUILD_OPTIMIZED_TRUE='#'
18485   NLASSERT_BUILD_OPTIMIZED_FALSE=
18486 fi
18487
18488
18489 #
18490 # Tests
18491 #
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
18493 $as_echo "$as_me: checking whether to build tests" >&6;}
18494
18495 # Tests
18496
18497
18498     # Check whether or not a default value has been passed in.
18499
18500
18501
18502     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
18503 $as_echo_n "checking whether to build tests... " >&6; }
18504 if ${nl_cv_build_tests+:} false; then :
18505   $as_echo_n "(cached) " >&6
18506 else
18507
18508             # Check whether --enable-tests was given.
18509 if test "${enable_tests+set}" = set; then :
18510   enableval=$enable_tests;
18511                     case "${enableval}" in
18512
18513                     no|yes)
18514                         nl_cv_build_tests=${enableval}
18515                         ;;
18516
18517                     *)
18518                         as_fn_error $? "Invalid value ${enableval} for --enable-tests" "$LINENO" 5
18519                         ;;
18520
18521                     esac
18522
18523 else
18524
18525                     nl_cv_build_tests=yes
18526
18527 fi
18528
18529
18530 fi
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_tests" >&5
18532 $as_echo "$nl_cv_build_tests" >&6; }
18533
18534
18535  if test "${nl_cv_build_tests}" = "yes"; then
18536   NLASSERT_BUILD_TESTS_TRUE=
18537   NLASSERT_BUILD_TESTS_FALSE='#'
18538 else
18539   NLASSERT_BUILD_TESTS_TRUE='#'
18540   NLASSERT_BUILD_TESTS_FALSE=
18541 fi
18542
18543
18544 #
18545 # Documentation
18546 #
18547
18548 # Determine whether or not documentation (via Doxygen) should be built
18549 # or not, with 'auto' as the default and establish a default support
18550 # value for GraphViz 'dot' support.
18551
18552
18553     # Check whether or not the 'default' value is sane.
18554
18555
18556
18557     # Check whether or not the 'dot_default' value is sane.
18558
18559
18560
18561     DOXYGEN_USE_DOT=NO
18562
18563
18564
18565
18566     # Extract the first word of "doxygen", so it can be a program name with args.
18567 set dummy doxygen; ac_word=$2
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18569 $as_echo_n "checking for $ac_word... " >&6; }
18570 if ${ac_cv_path_DOXYGEN+:} false; then :
18571   $as_echo_n "(cached) " >&6
18572 else
18573   case $DOXYGEN in
18574   [\\/]* | ?:[\\/]*)
18575   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
18576   ;;
18577   *)
18578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18579 for as_dir in $PATH
18580 do
18581   IFS=$as_save_IFS
18582   test -z "$as_dir" && as_dir=.
18583     for ac_exec_ext in '' $ac_executable_extensions; do
18584   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18585     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
18586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18587     break 2
18588   fi
18589 done
18590   done
18591 IFS=$as_save_IFS
18592
18593   ;;
18594 esac
18595 fi
18596 DOXYGEN=$ac_cv_path_DOXYGEN
18597 if test -n "$DOXYGEN"; then
18598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18599 $as_echo "$DOXYGEN" >&6; }
18600 else
18601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18602 $as_echo "no" >&6; }
18603 fi
18604
18605
18606     # Extract the first word of "dot", so it can be a program name with args.
18607 set dummy dot; ac_word=$2
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18609 $as_echo_n "checking for $ac_word... " >&6; }
18610 if ${ac_cv_path_DOT+:} false; then :
18611   $as_echo_n "(cached) " >&6
18612 else
18613   case $DOT in
18614   [\\/]* | ?:[\\/]*)
18615   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18616   ;;
18617   *)
18618   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18619 for as_dir in $PATH
18620 do
18621   IFS=$as_save_IFS
18622   test -z "$as_dir" && as_dir=.
18623     for ac_exec_ext in '' $ac_executable_extensions; do
18624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18625     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18627     break 2
18628   fi
18629 done
18630   done
18631 IFS=$as_save_IFS
18632
18633   ;;
18634 esac
18635 fi
18636 DOT=$ac_cv_path_DOT
18637 if test -n "$DOT"; then
18638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
18639 $as_echo "$DOT" >&6; }
18640 else
18641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18642 $as_echo "no" >&6; }
18643 fi
18644
18645
18646
18647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
18648 $as_echo_n "checking whether to build documentation... " >&6; }
18649 if ${nl_cv_build_docs+:} false; then :
18650   $as_echo_n "(cached) " >&6
18651 else
18652
18653             # Check whether --enable-docs was given.
18654 if test "${enable_docs+set}" = set; then :
18655   enableval=$enable_docs;
18656                     case "${enableval}" in
18657
18658                     auto|no|yes)
18659                         nl_cv_build_docs=${enableval}
18660                         ;;
18661
18662                     *)
18663                         as_fn_error $? "Invalid value ${enableval} for --disable-docs" "$LINENO" 5
18664                         ;;
18665
18666                     esac
18667
18668 else
18669   nl_cv_build_docs=auto
18670 fi
18671
18672
18673             if test "x${DOXYGEN}" != "x"; then
18674                 nl_cv_have_doxygen=yes
18675             else
18676                 nl_cv_have_doxygen=no
18677             fi
18678
18679             if test "${nl_cv_build_docs}" = "auto"; then
18680                 if test "${nl_cv_have_doxygen}" = "no"; then
18681                     nl_cv_build_docs=no
18682                 else
18683                     nl_cv_build_docs=yes
18684                 fi
18685             fi
18686
18687             if test "${nl_cv_build_docs}" = "yes"; then
18688                 if test "${nl_cv_have_doxygen}" = "no"; then
18689                     as_fn_error $? "Building docs was explicitly requested but Doxygen cannot be found" "$LINENO" 5
18690                 elif test "${nl_cv_have_doxygen}" = "yes"; then
18691                     if test "x${DOT}" != "x"; then
18692                         DOXYGEN_USE_DOT=YES
18693                     fi
18694                 fi
18695             fi
18696
18697 fi
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_docs" >&5
18699 $as_echo "$nl_cv_build_docs" >&6; }
18700
18701
18702
18703
18704  if test "${nl_cv_build_docs}" = "yes"; then
18705   NLASSERT_BUILD_DOCS_TRUE=
18706   NLASSERT_BUILD_DOCS_FALSE='#'
18707 else
18708   NLASSERT_BUILD_DOCS_TRUE='#'
18709   NLASSERT_BUILD_DOCS_FALSE=
18710 fi
18711
18712
18713 #
18714 # Checks for libraries and packages.
18715 #
18716 # At minimum, the following packages are optional, depending on
18717 # configuration:
18718 #
18719 #   * nlunit-test
18720 #
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking required package dependencies" >&5
18722 $as_echo "$as_me: checking required package dependencies" >&6;}
18723
18724 # Check if the build host has pkg-config
18725
18726 # Extract the first word of "pkg-config", so it can be a program name with args.
18727 set dummy pkg-config; ac_word=$2
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18729 $as_echo_n "checking for $ac_word... " >&6; }
18730 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18731   $as_echo_n "(cached) " >&6
18732 else
18733   case $PKG_CONFIG in
18734   [\\/]* | ?:[\\/]*)
18735   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18736   ;;
18737   *)
18738   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18739 for as_dir in $PATH
18740 do
18741   IFS=$as_save_IFS
18742   test -z "$as_dir" && as_dir=.
18743     for ac_exec_ext in '' $ac_executable_extensions; do
18744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18745     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18747     break 2
18748   fi
18749 done
18750   done
18751 IFS=$as_save_IFS
18752
18753   ;;
18754 esac
18755 fi
18756 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18757 if test -n "$PKG_CONFIG"; then
18758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18759 $as_echo "$PKG_CONFIG" >&6; }
18760 else
18761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18762 $as_echo "no" >&6; }
18763 fi
18764
18765
18766
18767 #
18768 # Nlunit-test
18769 #
18770
18771 if test "${nl_cv_build_tests}" = "yes"; then
18772
18773
18774
18775
18776
18777     # Influential external variables for the package support
18778
18779
18780
18781
18782
18783     # Allow the user to specify both external headers and libraries
18784     # together (or internal).
18785
18786
18787
18788 # Check whether --with-nlunit_test was given.
18789 if test "${with_nlunit_test+set}" = set; then :
18790   withval=$with_nlunit_test;
18791             if test "${withval}" = "no"; then
18792                 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18793             elif test "${withval}" = "internal"; then
18794                 nlunit_test_dir=${withval}
18795                 nl_with_nlunit_test=${withval}
18796             else
18797                 nlunit_test_dir=${withval}
18798                 nl_with_nlunit_test=external
18799             fi
18800
18801 else
18802   nlunit_test_dir=; nl_with_nlunit_test=internal
18803 fi
18804
18805
18806     # Allow users to specify external headers and libraries independently.
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817 # Check whether --with-nlunit_test-includes was given.
18818 if test "${with_nlunit_test_includes+set}" = set; then :
18819   withval=$with_nlunit_test_includes;
18820             if test "${withval}" = "no"; then
18821                 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18822             fi
18823
18824             if test "x${nlunit_test_dir}" != "x"; then
18825                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&5
18826 $as_echo "$as_me: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&2;}
18827             fi
18828
18829             if test "${withval}" = "internal"; then
18830                 nlunit_test_header_dir=${withval}
18831                 nl_with_nlunit_test=${withval}
18832             else
18833                 nlunit_test_header_dir=${withval}
18834                 nl_with_nlunit_test=external
18835             fi
18836
18837 else
18838
18839             nlunit_test_header_dir=;
18840             if test "x${nl_with_nlunit_test}" = "x"; then
18841                 nl_with_nlunit_test=internal
18842             fi
18843
18844 fi
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856 # Check whether --with-nlunit_test-libs was given.
18857 if test "${with_nlunit_test_libs+set}" = set; then :
18858   withval=$with_nlunit_test_libs;
18859             if test "${withval}" = "no"; then
18860                 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18861             fi
18862
18863             if test "x${nlunit_test_dir}" != "x"; then
18864                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&5
18865 $as_echo "$as_me: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&2;}
18866             fi
18867
18868             if test "${withval}" = "internal"; then
18869                 nlunit_test_library_dir=${withval}
18870                 nl_with_nlunit_test=${withval}
18871             else
18872                 nlunit_test_library_dir=${withval}
18873                 nl_with_nlunit_test=external
18874             fi
18875
18876 else
18877
18878             nlunit_test_library_dir=;
18879             if test "x${nl_with_nlunit_test}" = "x"; then
18880                 nl_with_nlunit_test=internal
18881             fi
18882
18883 fi
18884
18885
18886     if test "${nl_with_nlunit_test}" == "no"; then
18887         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the Nlunit-test package" >&5
18888 $as_echo_n "checking whether to use the Nlunit-test package... " >&6; }
18889         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlunit_test}" >&5
18890 $as_echo "${nl_with_nlunit_test}" >&6; }
18891
18892     else
18893         { $as_echo "$as_me:${as_lineno-$LINENO}: checking source of the Nlunit-test package" >&5
18894 $as_echo_n "checking source of the Nlunit-test package... " >&6; }
18895         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlunit_test}" >&5
18896 $as_echo "${nl_with_nlunit_test}" >&6; }
18897
18898         # If the user has selected or has defaulted into the internal Nlunit-test
18899         # package, set the values appropriately. Otherwise, run through the
18900         # usual routine.
18901
18902         if test "${nl_with_nlunit_test}" = "internal"; then
18903
18904             # At this point, the internal Nlunit-test package will be neither
18905             # configured nor built, so the normal checks we undertake for an
18906             # external package cannot be run here. Simply set the appropriate
18907             # variables and trust all will be well.
18908
18909             NLUNIT_TEST_CPPFLAGS="-I\${abs_top_srcdir}/third_party/nlunit-test/repo/src"
18910             NLUNIT_TEST_LDFLAGS="-L${ac_pwd}/third_party/nlunit-test/repo/src"
18911             NLUNIT_TEST_LIBS="-lnlunit-test"
18912
18913
18914         else
18915             # We always prefer checking the values of the various '--with-nlunit_test-...'
18916             # options first to using pkg-config because the former might be used
18917             # in a cross-compilation environment on a system that also contains
18918             # pkg-config. In such a case, the user wants what he/she specified
18919             # rather than what pkg-config indicates.
18920
18921             if test "x${nlunit_test_dir}" != "x" -o "x${nlunit_test_header_dir}" != "x" -o "x${nlunit_test_library_dir}" != "x"; then
18922                         if test "x${nlunit_test_dir}" != "x"; then
18923                     if test -d "${nlunit_test_dir}"; then
18924                         if test -d "${nlunit_test_dir}/include"; then
18925                             NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_dir}/include"
18926                         else
18927                             NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_dir}"
18928                         fi
18929
18930                         if test -d "${nlunit_test_dir}/lib"; then
18931                             NLUNIT_TEST_LDFLAGS="-L${nlunit_test_dir}/lib"
18932                         else
18933                             NLUNIT_TEST_LDFLAGS="-L${nlunit_test_dir}"
18934                         fi
18935                     else
18936                         as_fn_error $? "No such directory ${nlunit_test_dir}" "$LINENO" 5
18937                     fi
18938                 fi
18939
18940                 if test "x${nlunit_test_header_dir}" != "x"; then
18941                     if test -d "${nlunit_test_header_dir}"; then
18942                         NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_header_dir}"
18943                     else
18944                         as_fn_error $? "No such directory ${nlunit_test_header_dir}" "$LINENO" 5
18945                     fi
18946                 fi
18947
18948                 if test "x${nlunit_test_library_dir}" != "x"; then
18949                     if test -d "${nlunit_test_library_dir}"; then
18950                         NLUNIT_TEST_LDFLAGS="-L${nlunit_test_library_dir}"
18951                     else
18952                         as_fn_error $? "No such directory ${nlunit_test_library_dir}" "$LINENO" 5
18953                     fi
18954                 fi
18955
18956                 NLUNIT_TEST_LIBS="${NLUNIT_TEST_LDFLAGS} -lnlunit-test"
18957
18958             elif test "x${PKG_CONFIG}" != "x"; then
18959                 if ${PKG_CONFIG} --exists "nlunit_test"; then
18960                     NLUNIT_TEST_CPPFLAGS="`${PKG_CONFIG} --cflags nlunit_test`"
18961                     NLUNIT_TEST_LDFLAGS="`${PKG_CONFIG} --libs-only-L nlunit_test`"
18962                     NLUNIT_TEST_LIBS="`${PKG_CONFIG} --libs-only-l nlunit_test`"
18963                 else
18964                     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
18965                 fi
18966
18967             else
18968                 as_fn_error $? "Cannot find the Nlunit-test package. ${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
18969             fi
18970         fi
18971
18972
18973
18974
18975
18976         if test "${nl_with_nlunit_test}" != "internal" -a "${nl_with_nlunit_test}" != "no"; then
18977             nl_saved_CPPFLAGS="${CPPFLAGS}"
18978             nl_saved_LDFLAGS="${LDFLAGS}"
18979             nl_saved_LIBS="${LIBS}"
18980
18981             CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
18982             LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
18983             LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
18984
18985
18986             # Check for required nlunit-test headers.
18987
18988             for ac_header in nlunit-test.h
18989 do :
18990   ac_fn_c_check_header_mongrel "$LINENO" "nlunit-test.h" "ac_cv_header_nlunit_test_h" "$ac_includes_default"
18991 if test "x$ac_cv_header_nlunit_test_h" = xyes; then :
18992   cat >>confdefs.h <<_ACEOF
18993 #define HAVE_NLUNIT_TEST_H 1
18994 _ACEOF
18995
18996 else
18997
18998                 as_fn_error $? "The nlunit-test header \"$ac_header\" is required but cannot be found." "$LINENO" 5
18999
19000 fi
19001
19002 done
19003
19004
19005
19006             CPPFLAGS="${nl_saved_CPPFLAGS}"
19007             LDFLAGS="${nl_saved_LDFLAGS}"
19008             LIBS="${nl_saved_LIBS}"
19009         fi
19010     fi
19011
19012 fi
19013
19014 # Depending on whether nlunit-test has been configured for an internal
19015 # location, its directory stem within this package needs to be set
19016 # accordingly. In addition, if the location is internal, then we need
19017 # to attempt to pull it down using the bootstrap makefile.
19018
19019 if test "${nl_with_nlunit_test}" = "internal"; then
19020     maybe_nlunit_test_dirstem="nlunit-test/repo"
19021     nlunit_test_dirstem="third_party/${maybe_nlunit_test_dirstem}"
19022
19023     { $as_echo "$as_me:${as_lineno-$LINENO}: attempting to create internal ${nlunit_test_dirstem}" >&5
19024 $as_echo "$as_me: attempting to create internal ${nlunit_test_dirstem}" >&6;}
19025
19026     ${MAKE-make} --no-print-directory -C ${srcdir} -f Makefile-bootstrap ${nlunit_test_dirstem}
19027
19028     if test $? -ne 0; then
19029         as_fn_error $? "failed to create ${nlunit_test_dirstem}. Please check your network connection or the correctness of 'repos.conf'" "$LINENO" 5
19030     fi
19031 else
19032     maybe_nlunit_test_dirstem=""
19033 fi
19034
19035 NLUNIT_TEST_SUBDIRS=${maybe_nlunit_test_dirstem}
19036
19037  if test "${nl_with_nlunit_test}" = "internal"; then
19038   NLASSERT_WITH_NLUNIT_TEST_INTERNAL_TRUE=
19039   NLASSERT_WITH_NLUNIT_TEST_INTERNAL_FALSE='#'
19040 else
19041   NLASSERT_WITH_NLUNIT_TEST_INTERNAL_TRUE='#'
19042   NLASSERT_WITH_NLUNIT_TEST_INTERNAL_FALSE=
19043 fi
19044
19045
19046 #
19047 # Check for headers
19048 #
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
19050 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
19051 if ${ac_cv_header_stdbool_h+:} false; then :
19052   $as_echo_n "(cached) " >&6
19053 else
19054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19055 /* end confdefs.h.  */
19056
19057 #include <stdbool.h>
19058 #ifndef bool
19059  "error: bool is not defined"
19060 #endif
19061 #ifndef false
19062  "error: false is not defined"
19063 #endif
19064 #if false
19065  "error: false is not 0"
19066 #endif
19067 #ifndef true
19068  "error: true is not defined"
19069 #endif
19070 #if true != 1
19071  "error: true is not 1"
19072 #endif
19073 #ifndef __bool_true_false_are_defined
19074  "error: __bool_true_false_are_defined is not defined"
19075 #endif
19076
19077         struct s { _Bool s: 1; _Bool t; } s;
19078
19079         char a[true == 1 ? 1 : -1];
19080         char b[false == 0 ? 1 : -1];
19081         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
19082         char d[(bool) 0.5 == true ? 1 : -1];
19083         /* See body of main program for 'e'.  */
19084         char f[(_Bool) 0.0 == false ? 1 : -1];
19085         char g[true];
19086         char h[sizeof (_Bool)];
19087         char i[sizeof s.t];
19088         enum { j = false, k = true, l = false * true, m = true * 256 };
19089         /* The following fails for
19090            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
19091         _Bool n[m];
19092         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
19093         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
19094         /* Catch a bug in an HP-UX C compiler.  See
19095            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
19096            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
19097          */
19098         _Bool q = true;
19099         _Bool *pq = &q;
19100
19101 int
19102 main ()
19103 {
19104
19105         bool e = &s;
19106         *pq |= q;
19107         *pq |= ! q;
19108         /* Refer to every declared value, to avoid compiler optimizations.  */
19109         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
19110                 + !m + !n + !o + !p + !q + !pq);
19111
19112   ;
19113   return 0;
19114 }
19115 _ACEOF
19116 if ac_fn_c_try_compile "$LINENO"; then :
19117   ac_cv_header_stdbool_h=yes
19118 else
19119   ac_cv_header_stdbool_h=no
19120 fi
19121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19122 fi
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
19124 $as_echo "$ac_cv_header_stdbool_h" >&6; }
19125 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
19126 if test "x$ac_cv_type__Bool" = xyes; then :
19127
19128 cat >>confdefs.h <<_ACEOF
19129 #define HAVE__BOOL 1
19130 _ACEOF
19131
19132
19133 fi
19134
19135 if test $ac_cv_header_stdbool_h = yes; then
19136
19137 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
19138
19139 fi
19140
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19142 $as_echo_n "checking for ANSI C header files... " >&6; }
19143 if ${ac_cv_header_stdc+:} false; then :
19144   $as_echo_n "(cached) " >&6
19145 else
19146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19147 /* end confdefs.h.  */
19148 #include <stdlib.h>
19149 #include <stdarg.h>
19150 #include <string.h>
19151 #include <float.h>
19152
19153 int
19154 main ()
19155 {
19156
19157   ;
19158   return 0;
19159 }
19160 _ACEOF
19161 if ac_fn_c_try_compile "$LINENO"; then :
19162   ac_cv_header_stdc=yes
19163 else
19164   ac_cv_header_stdc=no
19165 fi
19166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19167
19168 if test $ac_cv_header_stdc = yes; then
19169   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19171 /* end confdefs.h.  */
19172 #include <string.h>
19173
19174 _ACEOF
19175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19176   $EGREP "memchr" >/dev/null 2>&1; then :
19177
19178 else
19179   ac_cv_header_stdc=no
19180 fi
19181 rm -f conftest*
19182
19183 fi
19184
19185 if test $ac_cv_header_stdc = yes; then
19186   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19188 /* end confdefs.h.  */
19189 #include <stdlib.h>
19190
19191 _ACEOF
19192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19193   $EGREP "free" >/dev/null 2>&1; then :
19194
19195 else
19196   ac_cv_header_stdc=no
19197 fi
19198 rm -f conftest*
19199
19200 fi
19201
19202 if test $ac_cv_header_stdc = yes; then
19203   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19204   if test "$cross_compiling" = yes; then :
19205   :
19206 else
19207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h.  */
19209 #include <ctype.h>
19210 #include <stdlib.h>
19211 #if ((' ' & 0x0FF) == 0x020)
19212 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19213 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19214 #else
19215 # define ISLOWER(c) \
19216                    (('a' <= (c) && (c) <= 'i') \
19217                      || ('j' <= (c) && (c) <= 'r') \
19218                      || ('s' <= (c) && (c) <= 'z'))
19219 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19220 #endif
19221
19222 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19223 int
19224 main ()
19225 {
19226   int i;
19227   for (i = 0; i < 256; i++)
19228     if (XOR (islower (i), ISLOWER (i))
19229         || toupper (i) != TOUPPER (i))
19230       return 2;
19231   return 0;
19232 }
19233 _ACEOF
19234 if ac_fn_c_try_run "$LINENO"; then :
19235
19236 else
19237   ac_cv_header_stdc=no
19238 fi
19239 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19240   conftest.$ac_objext conftest.beam conftest.$ac_ext
19241 fi
19242
19243 fi
19244 fi
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19246 $as_echo "$ac_cv_header_stdc" >&6; }
19247 if test $ac_cv_header_stdc = yes; then
19248
19249 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19250
19251 fi
19252
19253
19254 for ac_header in stdint.h
19255 do :
19256   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
19257 if test "x$ac_cv_header_stdint_h" = xyes; then :
19258   cat >>confdefs.h <<_ACEOF
19259 #define HAVE_STDINT_H 1
19260 _ACEOF
19261
19262 fi
19263
19264 done
19265
19266 for ac_header in string.h
19267 do :
19268   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
19269 if test "x$ac_cv_header_string_h" = xyes; then :
19270   cat >>confdefs.h <<_ACEOF
19271 #define HAVE_STRING_H 1
19272 _ACEOF
19273
19274 fi
19275
19276 done
19277
19278
19279 #
19280 # Check for types and structures
19281 #
19282 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
19283 case $ac_cv_c_int8_t in #(
19284   no|yes) ;; #(
19285   *)
19286
19287 cat >>confdefs.h <<_ACEOF
19288 #define int8_t $ac_cv_c_int8_t
19289 _ACEOF
19290 ;;
19291 esac
19292
19293 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
19294 case $ac_cv_c_int16_t in #(
19295   no|yes) ;; #(
19296   *)
19297
19298 cat >>confdefs.h <<_ACEOF
19299 #define int16_t $ac_cv_c_int16_t
19300 _ACEOF
19301 ;;
19302 esac
19303
19304 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
19305 case $ac_cv_c_int32_t in #(
19306   no|yes) ;; #(
19307   *)
19308
19309 cat >>confdefs.h <<_ACEOF
19310 #define int32_t $ac_cv_c_int32_t
19311 _ACEOF
19312 ;;
19313 esac
19314
19315 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
19316 case $ac_cv_c_int64_t in #(
19317   no|yes) ;; #(
19318   *)
19319
19320 cat >>confdefs.h <<_ACEOF
19321 #define int64_t $ac_cv_c_int64_t
19322 _ACEOF
19323 ;;
19324 esac
19325
19326 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
19327 case $ac_cv_c_uint8_t in #(
19328   no|yes) ;; #(
19329   *)
19330
19331 $as_echo "#define _UINT8_T 1" >>confdefs.h
19332
19333
19334 cat >>confdefs.h <<_ACEOF
19335 #define uint8_t $ac_cv_c_uint8_t
19336 _ACEOF
19337 ;;
19338   esac
19339
19340 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
19341 case $ac_cv_c_uint16_t in #(
19342   no|yes) ;; #(
19343   *)
19344
19345
19346 cat >>confdefs.h <<_ACEOF
19347 #define uint16_t $ac_cv_c_uint16_t
19348 _ACEOF
19349 ;;
19350   esac
19351
19352 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
19353 case $ac_cv_c_uint32_t in #(
19354   no|yes) ;; #(
19355   *)
19356
19357 $as_echo "#define _UINT32_T 1" >>confdefs.h
19358
19359
19360 cat >>confdefs.h <<_ACEOF
19361 #define uint32_t $ac_cv_c_uint32_t
19362 _ACEOF
19363 ;;
19364   esac
19365
19366 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
19367 case $ac_cv_c_uint64_t in #(
19368   no|yes) ;; #(
19369   *)
19370
19371 $as_echo "#define _UINT64_T 1" >>confdefs.h
19372
19373
19374 cat >>confdefs.h <<_ACEOF
19375 #define uint64_t $ac_cv_c_uint64_t
19376 _ACEOF
19377 ;;
19378   esac
19379
19380
19381 #
19382 # Checks for library functions
19383 #
19384
19385 if test "${ac_no_link}" != "yes"; then
19386     for ac_func in memcpy
19387 do :
19388   ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
19389 if test "x$ac_cv_func_memcpy" = xyes; then :
19390   cat >>confdefs.h <<_ACEOF
19391 #define HAVE_MEMCPY 1
19392 _ACEOF
19393
19394 fi
19395 done
19396
19397 fi
19398
19399 # Add any nlunit-test CPPFLAGS, LDFLAGS, and LIBS
19400
19401 CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
19402 LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
19403 LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
19404
19405 # Add any code coverage CPPFLAGS and LIBS
19406
19407 CPPFLAGS="${CPPFLAGS} ${NL_COVERAGE_CPPFLAGS}"
19408 LDFLAGS="${LDFLAGS} ${NL_COVERAGE_LDFLAGS}"
19409 LIBS="${LIBS} ${NL_COVERAGE_LIBS}"
19410
19411 # At this point, we can restore the compiler flags to whatever the
19412 # user passed in, now that we're clear of any -Werror issues by
19413 # transforming -Wno-error back to -Werror.
19414
19415
19416
19417     if test "${nl_had_OBJCXXFLAGS_werror}" = "yes"; then
19418         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19419     fi
19420
19421     unset nl_had_OBJCXXFLAGS_werror
19422
19423
19424     if test "${nl_had_OBJCFLAGS_werror}" = "yes"; then
19425         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19426     fi
19427
19428     unset nl_had_OBJCFLAGS_werror
19429
19430
19431     if test "${nl_had_CXXFLAGS_werror}" = "yes"; then
19432         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19433     fi
19434
19435     unset nl_had_CXXFLAGS_werror
19436
19437
19438     if test "${nl_had_CFLAGS_werror}" = "yes"; then
19439         CFLAGS="`echo ${CFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19440     fi
19441
19442     unset nl_had_CFLAGS_werror
19443
19444
19445     if test "${nl_had_CPPFLAGS_werror}" = "yes"; then
19446         CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19447     fi
19448
19449     unset nl_had_CPPFLAGS_werror
19450
19451
19452
19453 # Configure any autotools-based subdirectories
19454
19455 if test "${nl_with_nlunit_test}" = "internal"; then
19456
19457
19458 subdirs="$subdirs third_party/nlunit-test/repo"
19459
19460     NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY="${ac_pwd}/third_party/nlunit-test/repo/src"
19461
19462 fi
19463
19464 #
19465 # Identify the various makefiles and auto-generated files for the package
19466 #
19467 ac_config_files="$ac_config_files Makefile third_party/Makefile include/Makefile tests/Makefile doc/Makefile"
19468
19469
19470 #
19471 # Generate the auto-generated files for the package
19472 #
19473 cat >confcache <<\_ACEOF
19474 # This file is a shell script that caches the results of configure
19475 # tests run on this system so they can be shared between configure
19476 # scripts and configure runs, see configure's option --config-cache.
19477 # It is not useful on other systems.  If it contains results you don't
19478 # want to keep, you may remove or edit it.
19479 #
19480 # config.status only pays attention to the cache file if you give it
19481 # the --recheck option to rerun configure.
19482 #
19483 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19484 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19485 # following values.
19486
19487 _ACEOF
19488
19489 # The following way of writing the cache mishandles newlines in values,
19490 # but we know of no workaround that is simple, portable, and efficient.
19491 # So, we kill variables containing newlines.
19492 # Ultrix sh set writes to stderr and can't be redirected directly,
19493 # and sets the high bit in the cache file unless we assign to the vars.
19494 (
19495   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19496     eval ac_val=\$$ac_var
19497     case $ac_val in #(
19498     *${as_nl}*)
19499       case $ac_var in #(
19500       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19501 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19502       esac
19503       case $ac_var in #(
19504       _ | IFS | as_nl) ;; #(
19505       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19506       *) { eval $ac_var=; unset $ac_var;} ;;
19507       esac ;;
19508     esac
19509   done
19510
19511   (set) 2>&1 |
19512     case $as_nl`(ac_space=' '; set) 2>&1` in #(
19513     *${as_nl}ac_space=\ *)
19514       # `set' does not quote correctly, so add quotes: double-quote
19515       # substitution turns \\\\ into \\, and sed turns \\ into \.
19516       sed -n \
19517         "s/'/'\\\\''/g;
19518           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19519       ;; #(
19520     *)
19521       # `set' quotes correctly as required by POSIX, so do not add quotes.
19522       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19523       ;;
19524     esac |
19525     sort
19526 ) |
19527   sed '
19528      /^ac_cv_env_/b end
19529      t clear
19530      :clear
19531      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19532      t end
19533      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19534      :end' >>confcache
19535 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19536   if test -w "$cache_file"; then
19537     if test "x$cache_file" != "x/dev/null"; then
19538       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19539 $as_echo "$as_me: updating cache $cache_file" >&6;}
19540       if test ! -f "$cache_file" || test -h "$cache_file"; then
19541         cat confcache >"$cache_file"
19542       else
19543         case $cache_file in #(
19544         */* | ?:*)
19545           mv -f confcache "$cache_file"$$ &&
19546           mv -f "$cache_file"$$ "$cache_file" ;; #(
19547         *)
19548           mv -f confcache "$cache_file" ;;
19549         esac
19550       fi
19551     fi
19552   else
19553     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19554 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19555   fi
19556 fi
19557 rm -f confcache
19558
19559 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19560 # Let make expand exec_prefix.
19561 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19562
19563 DEFS=-DHAVE_CONFIG_H
19564
19565 ac_libobjs=
19566 ac_ltlibobjs=
19567 U=
19568 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19569   # 1. Remove the extension, and $U if already installed.
19570   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19571   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19572   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19573   #    will be set to the directory where LIBOBJS objects are built.
19574   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19575   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19576 done
19577 LIBOBJS=$ac_libobjs
19578
19579 LTLIBOBJS=$ac_ltlibobjs
19580
19581
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19583 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19584    if test -n "$am_sleep_pid"; then
19585      # Hide warnings about reused PIDs.
19586      wait $am_sleep_pid 2>/dev/null
19587    fi
19588    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19589 $as_echo "done" >&6; }
19590  if test -n "$EXEEXT"; then
19591   am__EXEEXT_TRUE=
19592   am__EXEEXT_FALSE='#'
19593 else
19594   am__EXEEXT_TRUE='#'
19595   am__EXEEXT_FALSE=
19596 fi
19597
19598 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19599   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19601 fi
19602 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19603   as_fn_error $? "conditional \"AMDEP\" was never defined.
19604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19605 fi
19606 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19607   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19609 fi
19610 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19611   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19613 fi
19614 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19615   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19617 fi
19618 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19619   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19621 fi
19622 if test -z "${NLASSERT_BUILD_DEBUG_TRUE}" && test -z "${NLASSERT_BUILD_DEBUG_FALSE}"; then
19623   as_fn_error $? "conditional \"NLASSERT_BUILD_DEBUG\" was never defined.
19624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19625 fi
19626 if test -z "${NLASSERT_BUILD_COVERAGE_TRUE}" && test -z "${NLASSERT_BUILD_COVERAGE_FALSE}"; then
19627   as_fn_error $? "conditional \"NLASSERT_BUILD_COVERAGE\" was never defined.
19628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19629 fi
19630 if test -z "${NLASSERT_BUILD_COVERAGE_REPORTS_TRUE}" && test -z "${NLASSERT_BUILD_COVERAGE_REPORTS_FALSE}"; then
19631   as_fn_error $? "conditional \"NLASSERT_BUILD_COVERAGE_REPORTS\" was never defined.
19632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19633 fi
19634 if test -z "${NLASSERT_BUILD_OPTIMIZED_TRUE}" && test -z "${NLASSERT_BUILD_OPTIMIZED_FALSE}"; then
19635   as_fn_error $? "conditional \"NLASSERT_BUILD_OPTIMIZED\" was never defined.
19636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19637 fi
19638 if test -z "${NLASSERT_BUILD_TESTS_TRUE}" && test -z "${NLASSERT_BUILD_TESTS_FALSE}"; then
19639   as_fn_error $? "conditional \"NLASSERT_BUILD_TESTS\" was never defined.
19640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19641 fi
19642 if test -z "${NLASSERT_BUILD_DOCS_TRUE}" && test -z "${NLASSERT_BUILD_DOCS_FALSE}"; then
19643   as_fn_error $? "conditional \"NLASSERT_BUILD_DOCS\" was never defined.
19644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19645 fi
19646 if test -z "${NLASSERT_WITH_NLUNIT_TEST_INTERNAL_TRUE}" && test -z "${NLASSERT_WITH_NLUNIT_TEST_INTERNAL_FALSE}"; then
19647   as_fn_error $? "conditional \"NLASSERT_WITH_NLUNIT_TEST_INTERNAL\" was never defined.
19648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19649 fi
19650
19651 : "${CONFIG_STATUS=./config.status}"
19652 ac_write_fail=0
19653 ac_clean_files_save=$ac_clean_files
19654 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19656 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19657 as_write_fail=0
19658 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19659 #! $SHELL
19660 # Generated by $as_me.
19661 # Run this file to recreate the current configuration.
19662 # Compiler output produced by configure, useful for debugging
19663 # configure, is in config.log if it exists.
19664
19665 debug=false
19666 ac_cs_recheck=false
19667 ac_cs_silent=false
19668
19669 SHELL=\${CONFIG_SHELL-$SHELL}
19670 export SHELL
19671 _ASEOF
19672 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19673 ## -------------------- ##
19674 ## M4sh Initialization. ##
19675 ## -------------------- ##
19676
19677 # Be more Bourne compatible
19678 DUALCASE=1; export DUALCASE # for MKS sh
19679 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19680   emulate sh
19681   NULLCMD=:
19682   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19683   # is contrary to our usage.  Disable this feature.
19684   alias -g '${1+"$@"}'='"$@"'
19685   setopt NO_GLOB_SUBST
19686 else
19687   case `(set -o) 2>/dev/null` in #(
19688   *posix*) :
19689     set -o posix ;; #(
19690   *) :
19691      ;;
19692 esac
19693 fi
19694
19695
19696 as_nl='
19697 '
19698 export as_nl
19699 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19700 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19701 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19702 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19703 # Prefer a ksh shell builtin over an external printf program on Solaris,
19704 # but without wasting forks for bash or zsh.
19705 if test -z "$BASH_VERSION$ZSH_VERSION" \
19706     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19707   as_echo='print -r --'
19708   as_echo_n='print -rn --'
19709 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19710   as_echo='printf %s\n'
19711   as_echo_n='printf %s'
19712 else
19713   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19714     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19715     as_echo_n='/usr/ucb/echo -n'
19716   else
19717     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19718     as_echo_n_body='eval
19719       arg=$1;
19720       case $arg in #(
19721       *"$as_nl"*)
19722         expr "X$arg" : "X\\(.*\\)$as_nl";
19723         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19724       esac;
19725       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19726     '
19727     export as_echo_n_body
19728     as_echo_n='sh -c $as_echo_n_body as_echo'
19729   fi
19730   export as_echo_body
19731   as_echo='sh -c $as_echo_body as_echo'
19732 fi
19733
19734 # The user is always right.
19735 if test "${PATH_SEPARATOR+set}" != set; then
19736   PATH_SEPARATOR=:
19737   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19738     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19739       PATH_SEPARATOR=';'
19740   }
19741 fi
19742
19743
19744 # IFS
19745 # We need space, tab and new line, in precisely that order.  Quoting is
19746 # there to prevent editors from complaining about space-tab.
19747 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19748 # splitting by setting IFS to empty value.)
19749 IFS=" ""        $as_nl"
19750
19751 # Find who we are.  Look in the path if we contain no directory separator.
19752 as_myself=
19753 case $0 in #((
19754   *[\\/]* ) as_myself=$0 ;;
19755   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19756 for as_dir in $PATH
19757 do
19758   IFS=$as_save_IFS
19759   test -z "$as_dir" && as_dir=.
19760     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19761   done
19762 IFS=$as_save_IFS
19763
19764      ;;
19765 esac
19766 # We did not find ourselves, most probably we were run as `sh COMMAND'
19767 # in which case we are not to be found in the path.
19768 if test "x$as_myself" = x; then
19769   as_myself=$0
19770 fi
19771 if test ! -f "$as_myself"; then
19772   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19773   exit 1
19774 fi
19775
19776 # Unset variables that we do not need and which cause bugs (e.g. in
19777 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19778 # suppresses any "Segmentation fault" message there.  '((' could
19779 # trigger a bug in pdksh 5.2.14.
19780 for as_var in BASH_ENV ENV MAIL MAILPATH
19781 do eval test x\${$as_var+set} = xset \
19782   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19783 done
19784 PS1='$ '
19785 PS2='> '
19786 PS4='+ '
19787
19788 # NLS nuisances.
19789 LC_ALL=C
19790 export LC_ALL
19791 LANGUAGE=C
19792 export LANGUAGE
19793
19794 # CDPATH.
19795 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19796
19797
19798 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19799 # ----------------------------------------
19800 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19801 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19802 # script with STATUS, using 1 if that was 0.
19803 as_fn_error ()
19804 {
19805   as_status=$1; test $as_status -eq 0 && as_status=1
19806   if test "$4"; then
19807     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19808     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19809   fi
19810   $as_echo "$as_me: error: $2" >&2
19811   as_fn_exit $as_status
19812 } # as_fn_error
19813
19814
19815 # as_fn_set_status STATUS
19816 # -----------------------
19817 # Set $? to STATUS, without forking.
19818 as_fn_set_status ()
19819 {
19820   return $1
19821 } # as_fn_set_status
19822
19823 # as_fn_exit STATUS
19824 # -----------------
19825 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19826 as_fn_exit ()
19827 {
19828   set +e
19829   as_fn_set_status $1
19830   exit $1
19831 } # as_fn_exit
19832
19833 # as_fn_unset VAR
19834 # ---------------
19835 # Portably unset VAR.
19836 as_fn_unset ()
19837 {
19838   { eval $1=; unset $1;}
19839 }
19840 as_unset=as_fn_unset
19841 # as_fn_append VAR VALUE
19842 # ----------------------
19843 # Append the text in VALUE to the end of the definition contained in VAR. Take
19844 # advantage of any shell optimizations that allow amortized linear growth over
19845 # repeated appends, instead of the typical quadratic growth present in naive
19846 # implementations.
19847 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19848   eval 'as_fn_append ()
19849   {
19850     eval $1+=\$2
19851   }'
19852 else
19853   as_fn_append ()
19854   {
19855     eval $1=\$$1\$2
19856   }
19857 fi # as_fn_append
19858
19859 # as_fn_arith ARG...
19860 # ------------------
19861 # Perform arithmetic evaluation on the ARGs, and store the result in the
19862 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19863 # must be portable across $(()) and expr.
19864 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19865   eval 'as_fn_arith ()
19866   {
19867     as_val=$(( $* ))
19868   }'
19869 else
19870   as_fn_arith ()
19871   {
19872     as_val=`expr "$@" || test $? -eq 1`
19873   }
19874 fi # as_fn_arith
19875
19876
19877 if expr a : '\(a\)' >/dev/null 2>&1 &&
19878    test "X`expr 00001 : '.*\(...\)'`" = X001; then
19879   as_expr=expr
19880 else
19881   as_expr=false
19882 fi
19883
19884 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19885   as_basename=basename
19886 else
19887   as_basename=false
19888 fi
19889
19890 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19891   as_dirname=dirname
19892 else
19893   as_dirname=false
19894 fi
19895
19896 as_me=`$as_basename -- "$0" ||
19897 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19898          X"$0" : 'X\(//\)$' \| \
19899          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19900 $as_echo X/"$0" |
19901     sed '/^.*\/\([^/][^/]*\)\/*$/{
19902             s//\1/
19903             q
19904           }
19905           /^X\/\(\/\/\)$/{
19906             s//\1/
19907             q
19908           }
19909           /^X\/\(\/\).*/{
19910             s//\1/
19911             q
19912           }
19913           s/.*/./; q'`
19914
19915 # Avoid depending upon Character Ranges.
19916 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19917 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19918 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19919 as_cr_digits='0123456789'
19920 as_cr_alnum=$as_cr_Letters$as_cr_digits
19921
19922 ECHO_C= ECHO_N= ECHO_T=
19923 case `echo -n x` in #(((((
19924 -n*)
19925   case `echo 'xy\c'` in
19926   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19927   xy)  ECHO_C='\c';;
19928   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19929        ECHO_T=' ';;
19930   esac;;
19931 *)
19932   ECHO_N='-n';;
19933 esac
19934
19935 rm -f conf$$ conf$$.exe conf$$.file
19936 if test -d conf$$.dir; then
19937   rm -f conf$$.dir/conf$$.file
19938 else
19939   rm -f conf$$.dir
19940   mkdir conf$$.dir 2>/dev/null
19941 fi
19942 if (echo >conf$$.file) 2>/dev/null; then
19943   if ln -s conf$$.file conf$$ 2>/dev/null; then
19944     as_ln_s='ln -s'
19945     # ... but there are two gotchas:
19946     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19947     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19948     # In both cases, we have to default to `cp -p'.
19949     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19950       as_ln_s='cp -p'
19951   elif ln conf$$.file conf$$ 2>/dev/null; then
19952     as_ln_s=ln
19953   else
19954     as_ln_s='cp -p'
19955   fi
19956 else
19957   as_ln_s='cp -p'
19958 fi
19959 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19960 rmdir conf$$.dir 2>/dev/null
19961
19962
19963 # as_fn_mkdir_p
19964 # -------------
19965 # Create "$as_dir" as a directory, including parents if necessary.
19966 as_fn_mkdir_p ()
19967 {
19968
19969   case $as_dir in #(
19970   -*) as_dir=./$as_dir;;
19971   esac
19972   test -d "$as_dir" || eval $as_mkdir_p || {
19973     as_dirs=
19974     while :; do
19975       case $as_dir in #(
19976       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19977       *) as_qdir=$as_dir;;
19978       esac
19979       as_dirs="'$as_qdir' $as_dirs"
19980       as_dir=`$as_dirname -- "$as_dir" ||
19981 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19982          X"$as_dir" : 'X\(//\)[^/]' \| \
19983          X"$as_dir" : 'X\(//\)$' \| \
19984          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19985 $as_echo X"$as_dir" |
19986     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19987             s//\1/
19988             q
19989           }
19990           /^X\(\/\/\)[^/].*/{
19991             s//\1/
19992             q
19993           }
19994           /^X\(\/\/\)$/{
19995             s//\1/
19996             q
19997           }
19998           /^X\(\/\).*/{
19999             s//\1/
20000             q
20001           }
20002           s/.*/./; q'`
20003       test -d "$as_dir" && break
20004     done
20005     test -z "$as_dirs" || eval "mkdir $as_dirs"
20006   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20007
20008
20009 } # as_fn_mkdir_p
20010 if mkdir -p . 2>/dev/null; then
20011   as_mkdir_p='mkdir -p "$as_dir"'
20012 else
20013   test -d ./-p && rmdir ./-p
20014   as_mkdir_p=false
20015 fi
20016
20017 if test -x / >/dev/null 2>&1; then
20018   as_test_x='test -x'
20019 else
20020   if ls -dL / >/dev/null 2>&1; then
20021     as_ls_L_option=L
20022   else
20023     as_ls_L_option=
20024   fi
20025   as_test_x='
20026     eval sh -c '\''
20027       if test -d "$1"; then
20028         test -d "$1/.";
20029       else
20030         case $1 in #(
20031         -*)set "./$1";;
20032         esac;
20033         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20034         ???[sx]*):;;*)false;;esac;fi
20035     '\'' sh
20036   '
20037 fi
20038 as_executable_p=$as_test_x
20039
20040 # Sed expression to map a string onto a valid CPP name.
20041 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20042
20043 # Sed expression to map a string onto a valid variable name.
20044 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20045
20046
20047 exec 6>&1
20048 ## ----------------------------------- ##
20049 ## Main body of $CONFIG_STATUS script. ##
20050 ## ----------------------------------- ##
20051 _ASEOF
20052 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20053
20054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20055 # Save the log message, to keep $0 and so on meaningful, and to
20056 # report actual input values of CONFIG_FILES etc. instead of their
20057 # values after options handling.
20058 ac_log="
20059 This file was extended by nlassert $as_me g4646da4, which was
20060 generated by GNU Autoconf 2.68.  Invocation command line was
20061
20062   CONFIG_FILES    = $CONFIG_FILES
20063   CONFIG_HEADERS  = $CONFIG_HEADERS
20064   CONFIG_LINKS    = $CONFIG_LINKS
20065   CONFIG_COMMANDS = $CONFIG_COMMANDS
20066   $ $0 $@
20067
20068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20069 "
20070
20071 _ACEOF
20072
20073 case $ac_config_files in *"
20074 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20075 esac
20076
20077 case $ac_config_headers in *"
20078 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20079 esac
20080
20081
20082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20083 # Files that config.status was made for.
20084 config_files="$ac_config_files"
20085 config_headers="$ac_config_headers"
20086 config_commands="$ac_config_commands"
20087
20088 _ACEOF
20089
20090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20091 ac_cs_usage="\
20092 \`$as_me' instantiates files and other configuration actions
20093 from templates according to the current configuration.  Unless the files
20094 and actions are specified as TAGs, all are instantiated by default.
20095
20096 Usage: $0 [OPTION]... [TAG]...
20097
20098   -h, --help       print this help, then exit
20099   -V, --version    print version number and configuration settings, then exit
20100       --config     print configuration, then exit
20101   -q, --quiet, --silent
20102                    do not print progress messages
20103   -d, --debug      don't remove temporary files
20104       --recheck    update $as_me by reconfiguring in the same conditions
20105       --file=FILE[:TEMPLATE]
20106                    instantiate the configuration file FILE
20107       --header=FILE[:TEMPLATE]
20108                    instantiate the configuration header FILE
20109
20110 Configuration files:
20111 $config_files
20112
20113 Configuration headers:
20114 $config_headers
20115
20116 Configuration commands:
20117 $config_commands
20118
20119 Report bugs to <nlassert-users@google.com>.
20120 nlassert home page: <https://github.com/nestlabs/nlassert/>."
20121
20122 _ACEOF
20123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20124 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20125 ac_cs_version="\\
20126 nlassert config.status g4646da4
20127 configured by $0, generated by GNU Autoconf 2.68,
20128   with options \\"\$ac_cs_config\\"
20129
20130 Copyright (C) 2010 Free Software Foundation, Inc.
20131 This config.status script is free software; the Free Software Foundation
20132 gives unlimited permission to copy, distribute and modify it."
20133
20134 ac_pwd='$ac_pwd'
20135 srcdir='$srcdir'
20136 INSTALL='$INSTALL'
20137 MKDIR_P='$MKDIR_P'
20138 AWK='$AWK'
20139 test -n "\$AWK" || AWK=awk
20140 _ACEOF
20141
20142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20143 # The default lists apply if the user does not specify any file.
20144 ac_need_defaults=:
20145 while test $# != 0
20146 do
20147   case $1 in
20148   --*=?*)
20149     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20150     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20151     ac_shift=:
20152     ;;
20153   --*=)
20154     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20155     ac_optarg=
20156     ac_shift=:
20157     ;;
20158   *)
20159     ac_option=$1
20160     ac_optarg=$2
20161     ac_shift=shift
20162     ;;
20163   esac
20164
20165   case $ac_option in
20166   # Handling of the options.
20167   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20168     ac_cs_recheck=: ;;
20169   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20170     $as_echo "$ac_cs_version"; exit ;;
20171   --config | --confi | --conf | --con | --co | --c )
20172     $as_echo "$ac_cs_config"; exit ;;
20173   --debug | --debu | --deb | --de | --d | -d )
20174     debug=: ;;
20175   --file | --fil | --fi | --f )
20176     $ac_shift
20177     case $ac_optarg in
20178     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20179     '') as_fn_error $? "missing file argument" ;;
20180     esac
20181     as_fn_append CONFIG_FILES " '$ac_optarg'"
20182     ac_need_defaults=false;;
20183   --header | --heade | --head | --hea )
20184     $ac_shift
20185     case $ac_optarg in
20186     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20187     esac
20188     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20189     ac_need_defaults=false;;
20190   --he | --h)
20191     # Conflict between --help and --header
20192     as_fn_error $? "ambiguous option: \`$1'
20193 Try \`$0 --help' for more information.";;
20194   --help | --hel | -h )
20195     $as_echo "$ac_cs_usage"; exit ;;
20196   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20197   | -silent | --silent | --silen | --sile | --sil | --si | --s)
20198     ac_cs_silent=: ;;
20199
20200   # This is an error.
20201   -*) as_fn_error $? "unrecognized option: \`$1'
20202 Try \`$0 --help' for more information." ;;
20203
20204   *) as_fn_append ac_config_targets " $1"
20205      ac_need_defaults=false ;;
20206
20207   esac
20208   shift
20209 done
20210
20211 ac_configure_extra_args=
20212
20213 if $ac_cs_silent; then
20214   exec 6>/dev/null
20215   ac_configure_extra_args="$ac_configure_extra_args --silent"
20216 fi
20217
20218 _ACEOF
20219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20220 if \$ac_cs_recheck; then
20221   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20222   shift
20223   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20224   CONFIG_SHELL='$SHELL'
20225   export CONFIG_SHELL
20226   exec "\$@"
20227 fi
20228
20229 _ACEOF
20230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20231 exec 5>>config.log
20232 {
20233   echo
20234   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20235 ## Running $as_me. ##
20236 _ASBOX
20237   $as_echo "$ac_log"
20238 } >&5
20239
20240 _ACEOF
20241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20242 #
20243 # INIT-COMMANDS
20244 #
20245 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20246
20247
20248 # The HP-UX ksh and POSIX shell print the target directory to stdout
20249 # if CDPATH is set.
20250 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20251
20252 sed_quote_subst='$sed_quote_subst'
20253 double_quote_subst='$double_quote_subst'
20254 delay_variable_subst='$delay_variable_subst'
20255 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20256 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20257 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20258 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20259 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20260 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20261 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20262 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20263 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20264 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20265 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20266 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20267 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20268 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20269 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20270 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20271 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20272 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20273 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20274 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20275 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20276 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20277 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20278 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20279 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20280 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20281 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20282 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20283 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20284 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20285 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20286 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20287 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20288 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20289 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20290 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20291 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20292 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20293 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20294 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20295 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20296 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20297 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20298 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20299 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20300 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20301 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20302 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20303 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20304 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20305 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20306 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20307 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20308 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20309 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20310 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20311 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"`'
20312 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20313 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20314 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20315 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20316 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20317 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20318 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20319 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20320 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20321 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20322 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20323 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20324 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20325 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20326 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20327 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20328 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20329 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20330 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20331 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20332 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20333 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20334 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20335 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20336 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20337 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20338 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20339 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20340 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20341 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20342 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20343 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20344 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20345 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20346 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20347 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20348 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20349 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20350 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20351 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20352 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20353 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20354 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20355 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20356 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20357 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20358 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20359 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20360 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20361 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20362 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20363 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20364 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20365 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20366 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20367 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20368 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20369 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20370 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20371 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20372 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20373 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20374 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20375 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20376 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20377 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20378 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20379 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20380 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20381 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20382 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20383 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20384 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20385 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20386 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20387 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20388 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20389 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20390 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20391 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20392 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20393 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20394 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20395 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20396 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20397 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20398 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20399 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20400 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20401 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20402 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20403 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20404 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20405 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20406 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20407 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20408 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20409 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20410 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20411 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20412 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20413 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20414 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20415 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20416 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20417 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20418 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20419 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20420 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20421 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20422 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20423 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20424 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20425 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20426 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20427 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20428 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20429 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20430 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20431 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20432 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20433 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20434 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20435 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20436 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20437 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20438 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20439
20440 LTCC='$LTCC'
20441 LTCFLAGS='$LTCFLAGS'
20442 compiler='$compiler_DEFAULT'
20443
20444 # A function that is used when there is no print builtin or printf.
20445 func_fallback_echo ()
20446 {
20447   eval 'cat <<_LTECHO_EOF
20448 \$1
20449 _LTECHO_EOF'
20450 }
20451
20452 # Quote evaled strings.
20453 for var in SHELL \
20454 ECHO \
20455 PATH_SEPARATOR \
20456 SED \
20457 GREP \
20458 EGREP \
20459 FGREP \
20460 LD \
20461 NM \
20462 LN_S \
20463 lt_SP2NL \
20464 lt_NL2SP \
20465 reload_flag \
20466 OBJDUMP \
20467 deplibs_check_method \
20468 file_magic_cmd \
20469 file_magic_glob \
20470 want_nocaseglob \
20471 DLLTOOL \
20472 sharedlib_from_linklib_cmd \
20473 AR \
20474 AR_FLAGS \
20475 archiver_list_spec \
20476 STRIP \
20477 RANLIB \
20478 CC \
20479 CFLAGS \
20480 compiler \
20481 lt_cv_sys_global_symbol_pipe \
20482 lt_cv_sys_global_symbol_to_cdecl \
20483 lt_cv_sys_global_symbol_to_c_name_address \
20484 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20485 nm_file_list_spec \
20486 lt_prog_compiler_no_builtin_flag \
20487 lt_prog_compiler_pic \
20488 lt_prog_compiler_wl \
20489 lt_prog_compiler_static \
20490 lt_cv_prog_compiler_c_o \
20491 need_locks \
20492 MANIFEST_TOOL \
20493 DSYMUTIL \
20494 NMEDIT \
20495 LIPO \
20496 OTOOL \
20497 OTOOL64 \
20498 shrext_cmds \
20499 export_dynamic_flag_spec \
20500 whole_archive_flag_spec \
20501 compiler_needs_object \
20502 with_gnu_ld \
20503 allow_undefined_flag \
20504 no_undefined_flag \
20505 hardcode_libdir_flag_spec \
20506 hardcode_libdir_separator \
20507 exclude_expsyms \
20508 include_expsyms \
20509 file_list_spec \
20510 variables_saved_for_relink \
20511 libname_spec \
20512 library_names_spec \
20513 soname_spec \
20514 install_override_mode \
20515 finish_eval \
20516 old_striplib \
20517 striplib \
20518 compiler_lib_search_dirs \
20519 predep_objects \
20520 postdep_objects \
20521 predeps \
20522 postdeps \
20523 compiler_lib_search_path \
20524 LD_CXX \
20525 reload_flag_CXX \
20526 compiler_CXX \
20527 lt_prog_compiler_no_builtin_flag_CXX \
20528 lt_prog_compiler_pic_CXX \
20529 lt_prog_compiler_wl_CXX \
20530 lt_prog_compiler_static_CXX \
20531 lt_cv_prog_compiler_c_o_CXX \
20532 export_dynamic_flag_spec_CXX \
20533 whole_archive_flag_spec_CXX \
20534 compiler_needs_object_CXX \
20535 with_gnu_ld_CXX \
20536 allow_undefined_flag_CXX \
20537 no_undefined_flag_CXX \
20538 hardcode_libdir_flag_spec_CXX \
20539 hardcode_libdir_separator_CXX \
20540 exclude_expsyms_CXX \
20541 include_expsyms_CXX \
20542 file_list_spec_CXX \
20543 compiler_lib_search_dirs_CXX \
20544 predep_objects_CXX \
20545 postdep_objects_CXX \
20546 predeps_CXX \
20547 postdeps_CXX \
20548 compiler_lib_search_path_CXX; do
20549     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20550     *[\\\\\\\`\\"\\\$]*)
20551       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20552       ;;
20553     *)
20554       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20555       ;;
20556     esac
20557 done
20558
20559 # Double-quote double-evaled strings.
20560 for var in reload_cmds \
20561 old_postinstall_cmds \
20562 old_postuninstall_cmds \
20563 old_archive_cmds \
20564 extract_expsyms_cmds \
20565 old_archive_from_new_cmds \
20566 old_archive_from_expsyms_cmds \
20567 archive_cmds \
20568 archive_expsym_cmds \
20569 module_cmds \
20570 module_expsym_cmds \
20571 export_symbols_cmds \
20572 prelink_cmds \
20573 postlink_cmds \
20574 postinstall_cmds \
20575 postuninstall_cmds \
20576 finish_cmds \
20577 sys_lib_search_path_spec \
20578 sys_lib_dlsearch_path_spec \
20579 reload_cmds_CXX \
20580 old_archive_cmds_CXX \
20581 old_archive_from_new_cmds_CXX \
20582 old_archive_from_expsyms_cmds_CXX \
20583 archive_cmds_CXX \
20584 archive_expsym_cmds_CXX \
20585 module_cmds_CXX \
20586 module_expsym_cmds_CXX \
20587 export_symbols_cmds_CXX \
20588 prelink_cmds_CXX \
20589 postlink_cmds_CXX; do
20590     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20591     *[\\\\\\\`\\"\\\$]*)
20592       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20593       ;;
20594     *)
20595       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20596       ;;
20597     esac
20598 done
20599
20600 ac_aux_dir='$ac_aux_dir'
20601 xsi_shell='$xsi_shell'
20602 lt_shell_append='$lt_shell_append'
20603
20604 # See if we are running on zsh, and set the options which allow our
20605 # commands through without removal of \ escapes INIT.
20606 if test -n "\${ZSH_VERSION+set}" ; then
20607    setopt NO_GLOB_SUBST
20608 fi
20609
20610
20611     PACKAGE='$PACKAGE'
20612     VERSION='$VERSION'
20613     TIMESTAMP='$TIMESTAMP'
20614     RM='$RM'
20615     ofile='$ofile'
20616
20617
20618
20619
20620
20621
20622 _ACEOF
20623
20624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20625
20626 # Handling of arguments.
20627 for ac_config_target in $ac_config_targets
20628 do
20629   case $ac_config_target in
20630     "include/nlassert-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/nlassert-config.h" ;;
20631     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20632     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20633     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20634     "third_party/Makefile") CONFIG_FILES="$CONFIG_FILES third_party/Makefile" ;;
20635     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20636     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20637     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20638
20639   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20640   esac
20641 done
20642
20643
20644 # If the user did not use the arguments to specify the items to instantiate,
20645 # then the envvar interface is used.  Set only those that are not.
20646 # We use the long form for the default assignment because of an extremely
20647 # bizarre bug on SunOS 4.1.3.
20648 if $ac_need_defaults; then
20649   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20650   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20651   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20652 fi
20653
20654 # Have a temporary directory for convenience.  Make it in the build tree
20655 # simply because there is no reason against having it here, and in addition,
20656 # creating and moving files from /tmp can sometimes cause problems.
20657 # Hook for its removal unless debugging.
20658 # Note that there is a small window in which the directory will not be cleaned:
20659 # after its creation but before its name has been assigned to `$tmp'.
20660 $debug ||
20661 {
20662   tmp= ac_tmp=
20663   trap 'exit_status=$?
20664   : "${ac_tmp:=$tmp}"
20665   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20666 ' 0
20667   trap 'as_fn_exit 1' 1 2 13 15
20668 }
20669 # Create a (secure) tmp directory for tmp files.
20670
20671 {
20672   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20673   test -d "$tmp"
20674 }  ||
20675 {
20676   tmp=./conf$$-$RANDOM
20677   (umask 077 && mkdir "$tmp")
20678 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20679 ac_tmp=$tmp
20680
20681 # Set up the scripts for CONFIG_FILES section.
20682 # No need to generate them if there are no CONFIG_FILES.
20683 # This happens for instance with `./config.status config.h'.
20684 if test -n "$CONFIG_FILES"; then
20685
20686
20687 ac_cr=`echo X | tr X '\015'`
20688 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20689 # But we know of no other shell where ac_cr would be empty at this
20690 # point, so we can use a bashism as a fallback.
20691 if test "x$ac_cr" = x; then
20692   eval ac_cr=\$\'\\r\'
20693 fi
20694 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20695 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20696   ac_cs_awk_cr='\\r'
20697 else
20698   ac_cs_awk_cr=$ac_cr
20699 fi
20700
20701 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20702 _ACEOF
20703
20704
20705 {
20706   echo "cat >conf$$subs.awk <<_ACEOF" &&
20707   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20708   echo "_ACEOF"
20709 } >conf$$subs.sh ||
20710   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20711 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20712 ac_delim='%!_!# '
20713 for ac_last_try in false false false false false :; do
20714   . ./conf$$subs.sh ||
20715     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20716
20717   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20718   if test $ac_delim_n = $ac_delim_num; then
20719     break
20720   elif $ac_last_try; then
20721     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20722   else
20723     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20724   fi
20725 done
20726 rm -f conf$$subs.sh
20727
20728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20729 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20730 _ACEOF
20731 sed -n '
20732 h
20733 s/^/S["/; s/!.*/"]=/
20734 p
20735 g
20736 s/^[^!]*!//
20737 :repl
20738 t repl
20739 s/'"$ac_delim"'$//
20740 t delim
20741 :nl
20742 h
20743 s/\(.\{148\}\)..*/\1/
20744 t more1
20745 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20746 p
20747 n
20748 b repl
20749 :more1
20750 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20751 p
20752 g
20753 s/.\{148\}//
20754 t nl
20755 :delim
20756 h
20757 s/\(.\{148\}\)..*/\1/
20758 t more2
20759 s/["\\]/\\&/g; s/^/"/; s/$/"/
20760 p
20761 b
20762 :more2
20763 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20764 p
20765 g
20766 s/.\{148\}//
20767 t delim
20768 ' <conf$$subs.awk | sed '
20769 /^[^""]/{
20770   N
20771   s/\n//
20772 }
20773 ' >>$CONFIG_STATUS || ac_write_fail=1
20774 rm -f conf$$subs.awk
20775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20776 _ACAWK
20777 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20778   for (key in S) S_is_set[key] = 1
20779   FS = "\a"
20780
20781 }
20782 {
20783   line = $ 0
20784   nfields = split(line, field, "@")
20785   substed = 0
20786   len = length(field[1])
20787   for (i = 2; i < nfields; i++) {
20788     key = field[i]
20789     keylen = length(key)
20790     if (S_is_set[key]) {
20791       value = S[key]
20792       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20793       len += length(value) + length(field[++i])
20794       substed = 1
20795     } else
20796       len += 1 + keylen
20797   }
20798
20799   print line
20800 }
20801
20802 _ACAWK
20803 _ACEOF
20804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20805 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20806   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20807 else
20808   cat
20809 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20810   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20811 _ACEOF
20812
20813 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20814 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20815 # trailing colons and then remove the whole line if VPATH becomes empty
20816 # (actually we leave an empty line to preserve line numbers).
20817 if test "x$srcdir" = x.; then
20818   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
20819 h
20820 s///
20821 s/^/:/
20822 s/[      ]*$/:/
20823 s/:\$(srcdir):/:/g
20824 s/:\${srcdir}:/:/g
20825 s/:@srcdir@:/:/g
20826 s/^:*//
20827 s/:*$//
20828 x
20829 s/\(=[   ]*\).*/\1/
20830 G
20831 s/\n//
20832 s/^[^=]*=[       ]*$//
20833 }'
20834 fi
20835
20836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20837 fi # test -n "$CONFIG_FILES"
20838
20839 # Set up the scripts for CONFIG_HEADERS section.
20840 # No need to generate them if there are no CONFIG_HEADERS.
20841 # This happens for instance with `./config.status Makefile'.
20842 if test -n "$CONFIG_HEADERS"; then
20843 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20844 BEGIN {
20845 _ACEOF
20846
20847 # Transform confdefs.h into an awk script `defines.awk', embedded as
20848 # here-document in config.status, that substitutes the proper values into
20849 # config.h.in to produce config.h.
20850
20851 # Create a delimiter string that does not exist in confdefs.h, to ease
20852 # handling of long lines.
20853 ac_delim='%!_!# '
20854 for ac_last_try in false false :; do
20855   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20856   if test -z "$ac_tt"; then
20857     break
20858   elif $ac_last_try; then
20859     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20860   else
20861     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20862   fi
20863 done
20864
20865 # For the awk script, D is an array of macro values keyed by name,
20866 # likewise P contains macro parameters if any.  Preserve backslash
20867 # newline sequences.
20868
20869 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20870 sed -n '
20871 s/.\{148\}/&'"$ac_delim"'/g
20872 t rset
20873 :rset
20874 s/^[     ]*#[    ]*define[       ][      ]*/ /
20875 t def
20876 d
20877 :def
20878 s/\\$//
20879 t bsnl
20880 s/["\\]/\\&/g
20881 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20882 D["\1"]=" \3"/p
20883 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
20884 d
20885 :bsnl
20886 s/["\\]/\\&/g
20887 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20888 D["\1"]=" \3\\\\\\n"\\/p
20889 t cont
20890 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20891 t cont
20892 d
20893 :cont
20894 n
20895 s/.\{148\}/&'"$ac_delim"'/g
20896 t clear
20897 :clear
20898 s/\\$//
20899 t bsnlc
20900 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20901 d
20902 :bsnlc
20903 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20904 b cont
20905 ' <confdefs.h | sed '
20906 s/'"$ac_delim"'/"\\\
20907 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20908
20909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20910   for (key in D) D_is_set[key] = 1
20911   FS = "\a"
20912 }
20913 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20914   line = \$ 0
20915   split(line, arg, " ")
20916   if (arg[1] == "#") {
20917     defundef = arg[2]
20918     mac1 = arg[3]
20919   } else {
20920     defundef = substr(arg[1], 2)
20921     mac1 = arg[2]
20922   }
20923   split(mac1, mac2, "(") #)
20924   macro = mac2[1]
20925   prefix = substr(line, 1, index(line, defundef) - 1)
20926   if (D_is_set[macro]) {
20927     # Preserve the white space surrounding the "#".
20928     print prefix "define", macro P[macro] D[macro]
20929     next
20930   } else {
20931     # Replace #undef with comments.  This is necessary, for example,
20932     # in the case of _POSIX_SOURCE, which is predefined and required
20933     # on some systems where configure will not decide to define it.
20934     if (defundef == "undef") {
20935       print "/*", prefix defundef, macro, "*/"
20936       next
20937     }
20938   }
20939 }
20940 { print }
20941 _ACAWK
20942 _ACEOF
20943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20944   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20945 fi # test -n "$CONFIG_HEADERS"
20946
20947
20948 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
20949 shift
20950 for ac_tag
20951 do
20952   case $ac_tag in
20953   :[FHLC]) ac_mode=$ac_tag; continue;;
20954   esac
20955   case $ac_mode$ac_tag in
20956   :[FHL]*:*);;
20957   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20958   :[FH]-) ac_tag=-:-;;
20959   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20960   esac
20961   ac_save_IFS=$IFS
20962   IFS=:
20963   set x $ac_tag
20964   IFS=$ac_save_IFS
20965   shift
20966   ac_file=$1
20967   shift
20968
20969   case $ac_mode in
20970   :L) ac_source=$1;;
20971   :[FH])
20972     ac_file_inputs=
20973     for ac_f
20974     do
20975       case $ac_f in
20976       -) ac_f="$ac_tmp/stdin";;
20977       *) # Look for the file first in the build tree, then in the source tree
20978          # (if the path is not absolute).  The absolute path cannot be DOS-style,
20979          # because $ac_f cannot contain `:'.
20980          test -f "$ac_f" ||
20981            case $ac_f in
20982            [\\/$]*) false;;
20983            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20984            esac ||
20985            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20986       esac
20987       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20988       as_fn_append ac_file_inputs " '$ac_f'"
20989     done
20990
20991     # Let's still pretend it is `configure' which instantiates (i.e., don't
20992     # use $as_me), people would be surprised to read:
20993     #    /* config.h.  Generated by config.status.  */
20994     configure_input='Generated from '`
20995           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20996         `' by configure.'
20997     if test x"$ac_file" != x-; then
20998       configure_input="$ac_file.  $configure_input"
20999       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21000 $as_echo "$as_me: creating $ac_file" >&6;}
21001     fi
21002     # Neutralize special characters interpreted by sed in replacement strings.
21003     case $configure_input in #(
21004     *\&* | *\|* | *\\* )
21005        ac_sed_conf_input=`$as_echo "$configure_input" |
21006        sed 's/[\\\\&|]/\\\\&/g'`;; #(
21007     *) ac_sed_conf_input=$configure_input;;
21008     esac
21009
21010     case $ac_tag in
21011     *:-:* | *:-) cat >"$ac_tmp/stdin" \
21012       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21013     esac
21014     ;;
21015   esac
21016
21017   ac_dir=`$as_dirname -- "$ac_file" ||
21018 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21019          X"$ac_file" : 'X\(//\)[^/]' \| \
21020          X"$ac_file" : 'X\(//\)$' \| \
21021          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21022 $as_echo X"$ac_file" |
21023     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21024             s//\1/
21025             q
21026           }
21027           /^X\(\/\/\)[^/].*/{
21028             s//\1/
21029             q
21030           }
21031           /^X\(\/\/\)$/{
21032             s//\1/
21033             q
21034           }
21035           /^X\(\/\).*/{
21036             s//\1/
21037             q
21038           }
21039           s/.*/./; q'`
21040   as_dir="$ac_dir"; as_fn_mkdir_p
21041   ac_builddir=.
21042
21043 case "$ac_dir" in
21044 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21045 *)
21046   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21047   # A ".." for each directory in $ac_dir_suffix.
21048   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21049   case $ac_top_builddir_sub in
21050   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21051   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21052   esac ;;
21053 esac
21054 ac_abs_top_builddir=$ac_pwd
21055 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21056 # for backward compatibility:
21057 ac_top_builddir=$ac_top_build_prefix
21058
21059 case $srcdir in
21060   .)  # We are building in place.
21061     ac_srcdir=.
21062     ac_top_srcdir=$ac_top_builddir_sub
21063     ac_abs_top_srcdir=$ac_pwd ;;
21064   [\\/]* | ?:[\\/]* )  # Absolute name.
21065     ac_srcdir=$srcdir$ac_dir_suffix;
21066     ac_top_srcdir=$srcdir
21067     ac_abs_top_srcdir=$srcdir ;;
21068   *) # Relative name.
21069     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21070     ac_top_srcdir=$ac_top_build_prefix$srcdir
21071     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21072 esac
21073 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21074
21075
21076   case $ac_mode in
21077   :F)
21078   #
21079   # CONFIG_FILE
21080   #
21081
21082   case $INSTALL in
21083   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21084   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21085   esac
21086   ac_MKDIR_P=$MKDIR_P
21087   case $MKDIR_P in
21088   [\\/$]* | ?:[\\/]* ) ;;
21089   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21090   esac
21091 _ACEOF
21092
21093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21094 # If the template does not know about datarootdir, expand it.
21095 # FIXME: This hack should be removed a few years after 2.60.
21096 ac_datarootdir_hack=; ac_datarootdir_seen=
21097 ac_sed_dataroot='
21098 /datarootdir/ {
21099   p
21100   q
21101 }
21102 /@datadir@/p
21103 /@docdir@/p
21104 /@infodir@/p
21105 /@localedir@/p
21106 /@mandir@/p'
21107 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21108 *datarootdir*) ac_datarootdir_seen=yes;;
21109 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21110   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21111 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21112 _ACEOF
21113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21114   ac_datarootdir_hack='
21115   s&@datadir@&$datadir&g
21116   s&@docdir@&$docdir&g
21117   s&@infodir@&$infodir&g
21118   s&@localedir@&$localedir&g
21119   s&@mandir@&$mandir&g
21120   s&\\\${datarootdir}&$datarootdir&g' ;;
21121 esac
21122 _ACEOF
21123
21124 # Neutralize VPATH when `$srcdir' = `.'.
21125 # Shell code in configure.ac might set extrasub.
21126 # FIXME: do we really want to maintain this feature?
21127 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21128 ac_sed_extra="$ac_vpsub
21129 $extrasub
21130 _ACEOF
21131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21132 :t
21133 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21134 s|@configure_input@|$ac_sed_conf_input|;t t
21135 s&@top_builddir@&$ac_top_builddir_sub&;t t
21136 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21137 s&@srcdir@&$ac_srcdir&;t t
21138 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21139 s&@top_srcdir@&$ac_top_srcdir&;t t
21140 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21141 s&@builddir@&$ac_builddir&;t t
21142 s&@abs_builddir@&$ac_abs_builddir&;t t
21143 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21144 s&@INSTALL@&$ac_INSTALL&;t t
21145 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21146 $ac_datarootdir_hack
21147 "
21148 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21149   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21150
21151 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21152   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21153   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
21154       "$ac_tmp/out"`; test -z "$ac_out"; } &&
21155   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21156 which seems to be undefined.  Please make sure it is defined" >&5
21157 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21158 which seems to be undefined.  Please make sure it is defined" >&2;}
21159
21160   rm -f "$ac_tmp/stdin"
21161   case $ac_file in
21162   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21163   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21164   esac \
21165   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21166  ;;
21167   :H)
21168   #
21169   # CONFIG_HEADER
21170   #
21171   if test x"$ac_file" != x-; then
21172     {
21173       $as_echo "/* $configure_input  */" \
21174       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21175     } >"$ac_tmp/config.h" \
21176       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21177     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21178       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21179 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21180     else
21181       rm -f "$ac_file"
21182       mv "$ac_tmp/config.h" "$ac_file" \
21183         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21184     fi
21185   else
21186     $as_echo "/* $configure_input  */" \
21187       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21188       || as_fn_error $? "could not create -" "$LINENO" 5
21189   fi
21190 # Compute "$ac_file"'s index in $config_headers.
21191 _am_arg="$ac_file"
21192 _am_stamp_count=1
21193 for _am_header in $config_headers :; do
21194   case $_am_header in
21195     $_am_arg | $_am_arg:* )
21196       break ;;
21197     * )
21198       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21199   esac
21200 done
21201 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21202 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21203          X"$_am_arg" : 'X\(//\)[^/]' \| \
21204          X"$_am_arg" : 'X\(//\)$' \| \
21205          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21206 $as_echo X"$_am_arg" |
21207     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21208             s//\1/
21209             q
21210           }
21211           /^X\(\/\/\)[^/].*/{
21212             s//\1/
21213             q
21214           }
21215           /^X\(\/\/\)$/{
21216             s//\1/
21217             q
21218           }
21219           /^X\(\/\).*/{
21220             s//\1/
21221             q
21222           }
21223           s/.*/./; q'`/stamp-h$_am_stamp_count
21224  ;;
21225
21226   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21227 $as_echo "$as_me: executing $ac_file commands" >&6;}
21228  ;;
21229   esac
21230
21231
21232   case $ac_file$ac_mode in
21233     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21234   # Older Autoconf quotes --file arguments for eval, but not when files
21235   # are listed without --file.  Let's play safe and only enable the eval
21236   # if we detect the quoting.
21237   case $CONFIG_FILES in
21238   *\'*) eval set x "$CONFIG_FILES" ;;
21239   *)   set x $CONFIG_FILES ;;
21240   esac
21241   shift
21242   for mf
21243   do
21244     # Strip MF so we end up with the name of the file.
21245     mf=`echo "$mf" | sed -e 's/:.*$//'`
21246     # Check whether this is an Automake generated Makefile or not.
21247     # We used to match only the files named 'Makefile.in', but
21248     # some people rename them; so instead we look at the file content.
21249     # Grep'ing the first line is not enough: some people post-process
21250     # each Makefile.in and add a new line on top of each file to say so.
21251     # Grep'ing the whole file is not good either: AIX grep has a line
21252     # limit of 2048, but all sed's we know have understand at least 4000.
21253     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21254       dirpart=`$as_dirname -- "$mf" ||
21255 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21256          X"$mf" : 'X\(//\)[^/]' \| \
21257          X"$mf" : 'X\(//\)$' \| \
21258          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21259 $as_echo X"$mf" |
21260     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21261             s//\1/
21262             q
21263           }
21264           /^X\(\/\/\)[^/].*/{
21265             s//\1/
21266             q
21267           }
21268           /^X\(\/\/\)$/{
21269             s//\1/
21270             q
21271           }
21272           /^X\(\/\).*/{
21273             s//\1/
21274             q
21275           }
21276           s/.*/./; q'`
21277     else
21278       continue
21279     fi
21280     # Extract the definition of DEPDIR, am__include, and am__quote
21281     # from the Makefile without running 'make'.
21282     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21283     test -z "$DEPDIR" && continue
21284     am__include=`sed -n 's/^am__include = //p' < "$mf"`
21285     test -z "$am__include" && continue
21286     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21287     # Find all dependency output files, they are included files with
21288     # $(DEPDIR) in their names.  We invoke sed twice because it is the
21289     # simplest approach to changing $(DEPDIR) to its actual value in the
21290     # expansion.
21291     for file in `sed -n "
21292       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21293          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21294       # Make sure the directory exists.
21295       test -f "$dirpart/$file" && continue
21296       fdir=`$as_dirname -- "$file" ||
21297 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21298          X"$file" : 'X\(//\)[^/]' \| \
21299          X"$file" : 'X\(//\)$' \| \
21300          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21301 $as_echo X"$file" |
21302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21303             s//\1/
21304             q
21305           }
21306           /^X\(\/\/\)[^/].*/{
21307             s//\1/
21308             q
21309           }
21310           /^X\(\/\/\)$/{
21311             s//\1/
21312             q
21313           }
21314           /^X\(\/\).*/{
21315             s//\1/
21316             q
21317           }
21318           s/.*/./; q'`
21319       as_dir=$dirpart/$fdir; as_fn_mkdir_p
21320       # echo "creating $dirpart/$file"
21321       echo '# dummy' > "$dirpart/$file"
21322     done
21323   done
21324 }
21325  ;;
21326     "libtool":C)
21327
21328     # See if we are running on zsh, and set the options which allow our
21329     # commands through without removal of \ escapes.
21330     if test -n "${ZSH_VERSION+set}" ; then
21331       setopt NO_GLOB_SUBST
21332     fi
21333
21334     cfgfile="${ofile}T"
21335     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21336     $RM "$cfgfile"
21337
21338     cat <<_LT_EOF >> "$cfgfile"
21339 #! $SHELL
21340
21341 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21342 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21343 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21344 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21345 #
21346 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21347 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21348 #                 Foundation, Inc.
21349 #   Written by Gordon Matzigkeit, 1996
21350 #
21351 #   This file is part of GNU Libtool.
21352 #
21353 # GNU Libtool is free software; you can redistribute it and/or
21354 # modify it under the terms of the GNU General Public License as
21355 # published by the Free Software Foundation; either version 2 of
21356 # the License, or (at your option) any later version.
21357 #
21358 # As a special exception to the GNU General Public License,
21359 # if you distribute this file as part of a program or library that
21360 # is built using GNU Libtool, you may include this file under the
21361 # same distribution terms that you use for the rest of that program.
21362 #
21363 # GNU Libtool is distributed in the hope that it will be useful,
21364 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21365 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21366 # GNU General Public License for more details.
21367 #
21368 # You should have received a copy of the GNU General Public License
21369 # along with GNU Libtool; see the file COPYING.  If not, a copy
21370 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21371 # obtained by writing to the Free Software Foundation, Inc.,
21372 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21373
21374
21375 # The names of the tagged configurations supported by this script.
21376 available_tags="CXX "
21377
21378 # ### BEGIN LIBTOOL CONFIG
21379
21380 # Which release of libtool.m4 was used?
21381 macro_version=$macro_version
21382 macro_revision=$macro_revision
21383
21384 # Whether or not to build shared libraries.
21385 build_libtool_libs=$enable_shared
21386
21387 # Whether or not to build static libraries.
21388 build_old_libs=$enable_static
21389
21390 # What type of objects to build.
21391 pic_mode=$pic_mode
21392
21393 # Whether or not to optimize for fast installation.
21394 fast_install=$enable_fast_install
21395
21396 # Shell to use when invoking shell scripts.
21397 SHELL=$lt_SHELL
21398
21399 # An echo program that protects backslashes.
21400 ECHO=$lt_ECHO
21401
21402 # The PATH separator for the build system.
21403 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21404
21405 # The host system.
21406 host_alias=$host_alias
21407 host=$host
21408 host_os=$host_os
21409
21410 # The build system.
21411 build_alias=$build_alias
21412 build=$build
21413 build_os=$build_os
21414
21415 # A sed program that does not truncate output.
21416 SED=$lt_SED
21417
21418 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21419 Xsed="\$SED -e 1s/^X//"
21420
21421 # A grep program that handles long lines.
21422 GREP=$lt_GREP
21423
21424 # An ERE matcher.
21425 EGREP=$lt_EGREP
21426
21427 # A literal string matcher.
21428 FGREP=$lt_FGREP
21429
21430 # A BSD- or MS-compatible name lister.
21431 NM=$lt_NM
21432
21433 # Whether we need soft or hard links.
21434 LN_S=$lt_LN_S
21435
21436 # What is the maximum length of a command?
21437 max_cmd_len=$max_cmd_len
21438
21439 # Object file suffix (normally "o").
21440 objext=$ac_objext
21441
21442 # Executable file suffix (normally "").
21443 exeext=$exeext
21444
21445 # whether the shell understands "unset".
21446 lt_unset=$lt_unset
21447
21448 # turn spaces into newlines.
21449 SP2NL=$lt_lt_SP2NL
21450
21451 # turn newlines into spaces.
21452 NL2SP=$lt_lt_NL2SP
21453
21454 # convert \$build file names to \$host format.
21455 to_host_file_cmd=$lt_cv_to_host_file_cmd
21456
21457 # convert \$build files to toolchain format.
21458 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21459
21460 # An object symbol dumper.
21461 OBJDUMP=$lt_OBJDUMP
21462
21463 # Method to check whether dependent libraries are shared objects.
21464 deplibs_check_method=$lt_deplibs_check_method
21465
21466 # Command to use when deplibs_check_method = "file_magic".
21467 file_magic_cmd=$lt_file_magic_cmd
21468
21469 # How to find potential files when deplibs_check_method = "file_magic".
21470 file_magic_glob=$lt_file_magic_glob
21471
21472 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21473 want_nocaseglob=$lt_want_nocaseglob
21474
21475 # DLL creation program.
21476 DLLTOOL=$lt_DLLTOOL
21477
21478 # Command to associate shared and link libraries.
21479 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21480
21481 # The archiver.
21482 AR=$lt_AR
21483
21484 # Flags to create an archive.
21485 AR_FLAGS=$lt_AR_FLAGS
21486
21487 # How to feed a file listing to the archiver.
21488 archiver_list_spec=$lt_archiver_list_spec
21489
21490 # A symbol stripping program.
21491 STRIP=$lt_STRIP
21492
21493 # Commands used to install an old-style archive.
21494 RANLIB=$lt_RANLIB
21495 old_postinstall_cmds=$lt_old_postinstall_cmds
21496 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21497
21498 # Whether to use a lock for old archive extraction.
21499 lock_old_archive_extraction=$lock_old_archive_extraction
21500
21501 # A C compiler.
21502 LTCC=$lt_CC
21503
21504 # LTCC compiler flags.
21505 LTCFLAGS=$lt_CFLAGS
21506
21507 # Take the output of nm and produce a listing of raw symbols and C names.
21508 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21509
21510 # Transform the output of nm in a proper C declaration.
21511 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21512
21513 # Transform the output of nm in a C name address pair.
21514 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21515
21516 # Transform the output of nm in a C name address pair when lib prefix is needed.
21517 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21518
21519 # Specify filename containing input files for \$NM.
21520 nm_file_list_spec=$lt_nm_file_list_spec
21521
21522 # The root where to search for dependent libraries,and in which our libraries should be installed.
21523 lt_sysroot=$lt_sysroot
21524
21525 # The name of the directory that contains temporary libtool files.
21526 objdir=$objdir
21527
21528 # Used to examine libraries when file_magic_cmd begins with "file".
21529 MAGIC_CMD=$MAGIC_CMD
21530
21531 # Must we lock files when doing compilation?
21532 need_locks=$lt_need_locks
21533
21534 # Manifest tool.
21535 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21536
21537 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21538 DSYMUTIL=$lt_DSYMUTIL
21539
21540 # Tool to change global to local symbols on Mac OS X.
21541 NMEDIT=$lt_NMEDIT
21542
21543 # Tool to manipulate fat objects and archives on Mac OS X.
21544 LIPO=$lt_LIPO
21545
21546 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21547 OTOOL=$lt_OTOOL
21548
21549 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21550 OTOOL64=$lt_OTOOL64
21551
21552 # Old archive suffix (normally "a").
21553 libext=$libext
21554
21555 # Shared library suffix (normally ".so").
21556 shrext_cmds=$lt_shrext_cmds
21557
21558 # The commands to extract the exported symbol list from a shared archive.
21559 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21560
21561 # Variables whose values should be saved in libtool wrapper scripts and
21562 # restored at link time.
21563 variables_saved_for_relink=$lt_variables_saved_for_relink
21564
21565 # Do we need the "lib" prefix for modules?
21566 need_lib_prefix=$need_lib_prefix
21567
21568 # Do we need a version for libraries?
21569 need_version=$need_version
21570
21571 # Library versioning type.
21572 version_type=$version_type
21573
21574 # Shared library runtime path variable.
21575 runpath_var=$runpath_var
21576
21577 # Shared library path variable.
21578 shlibpath_var=$shlibpath_var
21579
21580 # Is shlibpath searched before the hard-coded library search path?
21581 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21582
21583 # Format of library name prefix.
21584 libname_spec=$lt_libname_spec
21585
21586 # List of archive names.  First name is the real one, the rest are links.
21587 # The last name is the one that the linker finds with -lNAME
21588 library_names_spec=$lt_library_names_spec
21589
21590 # The coded name of the library, if different from the real name.
21591 soname_spec=$lt_soname_spec
21592
21593 # Permission mode override for installation of shared libraries.
21594 install_override_mode=$lt_install_override_mode
21595
21596 # Command to use after installation of a shared archive.
21597 postinstall_cmds=$lt_postinstall_cmds
21598
21599 # Command to use after uninstallation of a shared archive.
21600 postuninstall_cmds=$lt_postuninstall_cmds
21601
21602 # Commands used to finish a libtool library installation in a directory.
21603 finish_cmds=$lt_finish_cmds
21604
21605 # As "finish_cmds", except a single script fragment to be evaled but
21606 # not shown.
21607 finish_eval=$lt_finish_eval
21608
21609 # Whether we should hardcode library paths into libraries.
21610 hardcode_into_libs=$hardcode_into_libs
21611
21612 # Compile-time system search path for libraries.
21613 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21614
21615 # Run-time system search path for libraries.
21616 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21617
21618 # Whether dlopen is supported.
21619 dlopen_support=$enable_dlopen
21620
21621 # Whether dlopen of programs is supported.
21622 dlopen_self=$enable_dlopen_self
21623
21624 # Whether dlopen of statically linked programs is supported.
21625 dlopen_self_static=$enable_dlopen_self_static
21626
21627 # Commands to strip libraries.
21628 old_striplib=$lt_old_striplib
21629 striplib=$lt_striplib
21630
21631
21632 # The linker used to build libraries.
21633 LD=$lt_LD
21634
21635 # How to create reloadable object files.
21636 reload_flag=$lt_reload_flag
21637 reload_cmds=$lt_reload_cmds
21638
21639 # Commands used to build an old-style archive.
21640 old_archive_cmds=$lt_old_archive_cmds
21641
21642 # A language specific compiler.
21643 CC=$lt_compiler
21644
21645 # Is the compiler the GNU compiler?
21646 with_gcc=$GCC
21647
21648 # Compiler flag to turn off builtin functions.
21649 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21650
21651 # Additional compiler flags for building library objects.
21652 pic_flag=$lt_lt_prog_compiler_pic
21653
21654 # How to pass a linker flag through the compiler.
21655 wl=$lt_lt_prog_compiler_wl
21656
21657 # Compiler flag to prevent dynamic linking.
21658 link_static_flag=$lt_lt_prog_compiler_static
21659
21660 # Does compiler simultaneously support -c and -o options?
21661 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21662
21663 # Whether or not to add -lc for building shared libraries.
21664 build_libtool_need_lc=$archive_cmds_need_lc
21665
21666 # Whether or not to disallow shared libs when runtime libs are static.
21667 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21668
21669 # Compiler flag to allow reflexive dlopens.
21670 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21671
21672 # Compiler flag to generate shared objects directly from archives.
21673 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21674
21675 # Whether the compiler copes with passing no objects directly.
21676 compiler_needs_object=$lt_compiler_needs_object
21677
21678 # Create an old-style archive from a shared archive.
21679 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21680
21681 # Create a temporary old-style archive to link instead of a shared archive.
21682 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21683
21684 # Commands used to build a shared archive.
21685 archive_cmds=$lt_archive_cmds
21686 archive_expsym_cmds=$lt_archive_expsym_cmds
21687
21688 # Commands used to build a loadable module if different from building
21689 # a shared archive.
21690 module_cmds=$lt_module_cmds
21691 module_expsym_cmds=$lt_module_expsym_cmds
21692
21693 # Whether we are building with GNU ld or not.
21694 with_gnu_ld=$lt_with_gnu_ld
21695
21696 # Flag that allows shared libraries with undefined symbols to be built.
21697 allow_undefined_flag=$lt_allow_undefined_flag
21698
21699 # Flag that enforces no undefined symbols.
21700 no_undefined_flag=$lt_no_undefined_flag
21701
21702 # Flag to hardcode \$libdir into a binary during linking.
21703 # This must work even if \$libdir does not exist
21704 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21705
21706 # Whether we need a single "-rpath" flag with a separated argument.
21707 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21708
21709 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21710 # DIR into the resulting binary.
21711 hardcode_direct=$hardcode_direct
21712
21713 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21714 # DIR into the resulting binary and the resulting library dependency is
21715 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21716 # library is relocated.
21717 hardcode_direct_absolute=$hardcode_direct_absolute
21718
21719 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21720 # into the resulting binary.
21721 hardcode_minus_L=$hardcode_minus_L
21722
21723 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21724 # into the resulting binary.
21725 hardcode_shlibpath_var=$hardcode_shlibpath_var
21726
21727 # Set to "yes" if building a shared library automatically hardcodes DIR
21728 # into the library and all subsequent libraries and executables linked
21729 # against it.
21730 hardcode_automatic=$hardcode_automatic
21731
21732 # Set to yes if linker adds runtime paths of dependent libraries
21733 # to runtime path list.
21734 inherit_rpath=$inherit_rpath
21735
21736 # Whether libtool must link a program against all its dependency libraries.
21737 link_all_deplibs=$link_all_deplibs
21738
21739 # Set to "yes" if exported symbols are required.
21740 always_export_symbols=$always_export_symbols
21741
21742 # The commands to list exported symbols.
21743 export_symbols_cmds=$lt_export_symbols_cmds
21744
21745 # Symbols that should not be listed in the preloaded symbols.
21746 exclude_expsyms=$lt_exclude_expsyms
21747
21748 # Symbols that must always be exported.
21749 include_expsyms=$lt_include_expsyms
21750
21751 # Commands necessary for linking programs (against libraries) with templates.
21752 prelink_cmds=$lt_prelink_cmds
21753
21754 # Commands necessary for finishing linking programs.
21755 postlink_cmds=$lt_postlink_cmds
21756
21757 # Specify filename containing input files.
21758 file_list_spec=$lt_file_list_spec
21759
21760 # How to hardcode a shared library path into an executable.
21761 hardcode_action=$hardcode_action
21762
21763 # The directories searched by this compiler when creating a shared library.
21764 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21765
21766 # Dependencies to place before and after the objects being linked to
21767 # create a shared library.
21768 predep_objects=$lt_predep_objects
21769 postdep_objects=$lt_postdep_objects
21770 predeps=$lt_predeps
21771 postdeps=$lt_postdeps
21772
21773 # The library search path used internally by the compiler when linking
21774 # a shared library.
21775 compiler_lib_search_path=$lt_compiler_lib_search_path
21776
21777 # ### END LIBTOOL CONFIG
21778
21779 _LT_EOF
21780
21781   case $host_os in
21782   aix3*)
21783     cat <<\_LT_EOF >> "$cfgfile"
21784 # AIX sometimes has problems with the GCC collect2 program.  For some
21785 # reason, if we set the COLLECT_NAMES environment variable, the problems
21786 # vanish in a puff of smoke.
21787 if test "X${COLLECT_NAMES+set}" != Xset; then
21788   COLLECT_NAMES=
21789   export COLLECT_NAMES
21790 fi
21791 _LT_EOF
21792     ;;
21793   esac
21794
21795
21796 ltmain="$ac_aux_dir/ltmain.sh"
21797
21798
21799   # We use sed instead of cat because bash on DJGPP gets confused if
21800   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21801   # text mode, it properly converts lines to CR/LF.  This bash problem
21802   # is reportedly fixed, but why not run on old versions too?
21803   sed '$q' "$ltmain" >> "$cfgfile" \
21804      || (rm -f "$cfgfile"; exit 1)
21805
21806   if test x"$xsi_shell" = xyes; then
21807   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21808 func_dirname ()\
21809 {\
21810 \    case ${1} in\
21811 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21812 \      *  ) func_dirname_result="${3}" ;;\
21813 \    esac\
21814 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21815   && mv -f "$cfgfile.tmp" "$cfgfile" \
21816     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21817 test 0 -eq $? || _lt_function_replace_fail=:
21818
21819
21820   sed -e '/^func_basename ()$/,/^} # func_basename /c\
21821 func_basename ()\
21822 {\
21823 \    func_basename_result="${1##*/}"\
21824 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21825   && mv -f "$cfgfile.tmp" "$cfgfile" \
21826     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21827 test 0 -eq $? || _lt_function_replace_fail=:
21828
21829
21830   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21831 func_dirname_and_basename ()\
21832 {\
21833 \    case ${1} in\
21834 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21835 \      *  ) func_dirname_result="${3}" ;;\
21836 \    esac\
21837 \    func_basename_result="${1##*/}"\
21838 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21839   && mv -f "$cfgfile.tmp" "$cfgfile" \
21840     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21841 test 0 -eq $? || _lt_function_replace_fail=:
21842
21843
21844   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21845 func_stripname ()\
21846 {\
21847 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21848 \    # positional parameters, so assign one to ordinary parameter first.\
21849 \    func_stripname_result=${3}\
21850 \    func_stripname_result=${func_stripname_result#"${1}"}\
21851 \    func_stripname_result=${func_stripname_result%"${2}"}\
21852 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21853   && mv -f "$cfgfile.tmp" "$cfgfile" \
21854     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21855 test 0 -eq $? || _lt_function_replace_fail=:
21856
21857
21858   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21859 func_split_long_opt ()\
21860 {\
21861 \    func_split_long_opt_name=${1%%=*}\
21862 \    func_split_long_opt_arg=${1#*=}\
21863 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21864   && mv -f "$cfgfile.tmp" "$cfgfile" \
21865     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21866 test 0 -eq $? || _lt_function_replace_fail=:
21867
21868
21869   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21870 func_split_short_opt ()\
21871 {\
21872 \    func_split_short_opt_arg=${1#??}\
21873 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21874 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21875   && mv -f "$cfgfile.tmp" "$cfgfile" \
21876     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21877 test 0 -eq $? || _lt_function_replace_fail=:
21878
21879
21880   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21881 func_lo2o ()\
21882 {\
21883 \    case ${1} in\
21884 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21885 \      *)    func_lo2o_result=${1} ;;\
21886 \    esac\
21887 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21888   && mv -f "$cfgfile.tmp" "$cfgfile" \
21889     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21890 test 0 -eq $? || _lt_function_replace_fail=:
21891
21892
21893   sed -e '/^func_xform ()$/,/^} # func_xform /c\
21894 func_xform ()\
21895 {\
21896     func_xform_result=${1%.*}.lo\
21897 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21898   && mv -f "$cfgfile.tmp" "$cfgfile" \
21899     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21900 test 0 -eq $? || _lt_function_replace_fail=:
21901
21902
21903   sed -e '/^func_arith ()$/,/^} # func_arith /c\
21904 func_arith ()\
21905 {\
21906     func_arith_result=$(( $* ))\
21907 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21908   && mv -f "$cfgfile.tmp" "$cfgfile" \
21909     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21910 test 0 -eq $? || _lt_function_replace_fail=:
21911
21912
21913   sed -e '/^func_len ()$/,/^} # func_len /c\
21914 func_len ()\
21915 {\
21916     func_len_result=${#1}\
21917 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21918   && mv -f "$cfgfile.tmp" "$cfgfile" \
21919     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21920 test 0 -eq $? || _lt_function_replace_fail=:
21921
21922 fi
21923
21924 if test x"$lt_shell_append" = xyes; then
21925   sed -e '/^func_append ()$/,/^} # func_append /c\
21926 func_append ()\
21927 {\
21928     eval "${1}+=\\${2}"\
21929 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21930   && mv -f "$cfgfile.tmp" "$cfgfile" \
21931     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21932 test 0 -eq $? || _lt_function_replace_fail=:
21933
21934
21935   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21936 func_append_quoted ()\
21937 {\
21938 \    func_quote_for_eval "${2}"\
21939 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21940 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21941   && mv -f "$cfgfile.tmp" "$cfgfile" \
21942     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21943 test 0 -eq $? || _lt_function_replace_fail=:
21944
21945
21946   # Save a `func_append' function call where possible by direct use of '+='
21947   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21948     && mv -f "$cfgfile.tmp" "$cfgfile" \
21949       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21950   test 0 -eq $? || _lt_function_replace_fail=:
21951 else
21952   # Save a `func_append' function call even when '+=' is not available
21953   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21954     && mv -f "$cfgfile.tmp" "$cfgfile" \
21955       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21956   test 0 -eq $? || _lt_function_replace_fail=:
21957 fi
21958
21959 if test x"$_lt_function_replace_fail" = x":"; then
21960   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21961 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21962 fi
21963
21964
21965    mv -f "$cfgfile" "$ofile" ||
21966     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21967   chmod +x "$ofile"
21968
21969
21970     cat <<_LT_EOF >> "$ofile"
21971
21972 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21973
21974 # The linker used to build libraries.
21975 LD=$lt_LD_CXX
21976
21977 # How to create reloadable object files.
21978 reload_flag=$lt_reload_flag_CXX
21979 reload_cmds=$lt_reload_cmds_CXX
21980
21981 # Commands used to build an old-style archive.
21982 old_archive_cmds=$lt_old_archive_cmds_CXX
21983
21984 # A language specific compiler.
21985 CC=$lt_compiler_CXX
21986
21987 # Is the compiler the GNU compiler?
21988 with_gcc=$GCC_CXX
21989
21990 # Compiler flag to turn off builtin functions.
21991 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21992
21993 # Additional compiler flags for building library objects.
21994 pic_flag=$lt_lt_prog_compiler_pic_CXX
21995
21996 # How to pass a linker flag through the compiler.
21997 wl=$lt_lt_prog_compiler_wl_CXX
21998
21999 # Compiler flag to prevent dynamic linking.
22000 link_static_flag=$lt_lt_prog_compiler_static_CXX
22001
22002 # Does compiler simultaneously support -c and -o options?
22003 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22004
22005 # Whether or not to add -lc for building shared libraries.
22006 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22007
22008 # Whether or not to disallow shared libs when runtime libs are static.
22009 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22010
22011 # Compiler flag to allow reflexive dlopens.
22012 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22013
22014 # Compiler flag to generate shared objects directly from archives.
22015 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22016
22017 # Whether the compiler copes with passing no objects directly.
22018 compiler_needs_object=$lt_compiler_needs_object_CXX
22019
22020 # Create an old-style archive from a shared archive.
22021 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22022
22023 # Create a temporary old-style archive to link instead of a shared archive.
22024 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22025
22026 # Commands used to build a shared archive.
22027 archive_cmds=$lt_archive_cmds_CXX
22028 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22029
22030 # Commands used to build a loadable module if different from building
22031 # a shared archive.
22032 module_cmds=$lt_module_cmds_CXX
22033 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22034
22035 # Whether we are building with GNU ld or not.
22036 with_gnu_ld=$lt_with_gnu_ld_CXX
22037
22038 # Flag that allows shared libraries with undefined symbols to be built.
22039 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22040
22041 # Flag that enforces no undefined symbols.
22042 no_undefined_flag=$lt_no_undefined_flag_CXX
22043
22044 # Flag to hardcode \$libdir into a binary during linking.
22045 # This must work even if \$libdir does not exist
22046 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22047
22048 # Whether we need a single "-rpath" flag with a separated argument.
22049 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22050
22051 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22052 # DIR into the resulting binary.
22053 hardcode_direct=$hardcode_direct_CXX
22054
22055 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22056 # DIR into the resulting binary and the resulting library dependency is
22057 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22058 # library is relocated.
22059 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22060
22061 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22062 # into the resulting binary.
22063 hardcode_minus_L=$hardcode_minus_L_CXX
22064
22065 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22066 # into the resulting binary.
22067 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22068
22069 # Set to "yes" if building a shared library automatically hardcodes DIR
22070 # into the library and all subsequent libraries and executables linked
22071 # against it.
22072 hardcode_automatic=$hardcode_automatic_CXX
22073
22074 # Set to yes if linker adds runtime paths of dependent libraries
22075 # to runtime path list.
22076 inherit_rpath=$inherit_rpath_CXX
22077
22078 # Whether libtool must link a program against all its dependency libraries.
22079 link_all_deplibs=$link_all_deplibs_CXX
22080
22081 # Set to "yes" if exported symbols are required.
22082 always_export_symbols=$always_export_symbols_CXX
22083
22084 # The commands to list exported symbols.
22085 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22086
22087 # Symbols that should not be listed in the preloaded symbols.
22088 exclude_expsyms=$lt_exclude_expsyms_CXX
22089
22090 # Symbols that must always be exported.
22091 include_expsyms=$lt_include_expsyms_CXX
22092
22093 # Commands necessary for linking programs (against libraries) with templates.
22094 prelink_cmds=$lt_prelink_cmds_CXX
22095
22096 # Commands necessary for finishing linking programs.
22097 postlink_cmds=$lt_postlink_cmds_CXX
22098
22099 # Specify filename containing input files.
22100 file_list_spec=$lt_file_list_spec_CXX
22101
22102 # How to hardcode a shared library path into an executable.
22103 hardcode_action=$hardcode_action_CXX
22104
22105 # The directories searched by this compiler when creating a shared library.
22106 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22107
22108 # Dependencies to place before and after the objects being linked to
22109 # create a shared library.
22110 predep_objects=$lt_predep_objects_CXX
22111 postdep_objects=$lt_postdep_objects_CXX
22112 predeps=$lt_predeps_CXX
22113 postdeps=$lt_postdeps_CXX
22114
22115 # The library search path used internally by the compiler when linking
22116 # a shared library.
22117 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22118
22119 # ### END LIBTOOL TAG CONFIG: CXX
22120 _LT_EOF
22121
22122  ;;
22123
22124   esac
22125 done # for ac_tag
22126
22127
22128 as_fn_exit 0
22129 _ACEOF
22130 ac_clean_files=$ac_clean_files_save
22131
22132 test $ac_write_fail = 0 ||
22133   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22134
22135
22136 # configure is writing to config.log, and then calls config.status.
22137 # config.status does its own redirection, appending to config.log.
22138 # Unfortunately, on DOS this fails, as config.log is still kept open
22139 # by configure, so config.status won't be able to write to it; its
22140 # output is simply discarded.  So we exec the FD to /dev/null,
22141 # effectively closing config.log, so it can be properly (re)opened and
22142 # appended to by config.status.  When coming back to configure, we
22143 # need to make the FD available again.
22144 if test "$no_create" != yes; then
22145   ac_cs_success=:
22146   ac_config_status_args=
22147   test "$silent" = yes &&
22148     ac_config_status_args="$ac_config_status_args --quiet"
22149   exec 5>/dev/null
22150   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22151   exec 5>>config.log
22152   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22153   # would make configure fail if this is the last instruction.
22154   $ac_cs_success || as_fn_exit 1
22155 fi
22156
22157 #
22158 # CONFIG_SUBDIRS section.
22159 #
22160 if test "$no_recursion" != yes; then
22161
22162   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22163   # so they do not pile up.
22164   ac_sub_configure_args=
22165   ac_prev=
22166   eval "set x $ac_configure_args"
22167   shift
22168   for ac_arg
22169   do
22170     if test -n "$ac_prev"; then
22171       ac_prev=
22172       continue
22173     fi
22174     case $ac_arg in
22175     -cache-file | --cache-file | --cache-fil | --cache-fi \
22176     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22177       ac_prev=cache_file ;;
22178     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22179     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
22180     | --c=*)
22181       ;;
22182     --config-cache | -C)
22183       ;;
22184     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22185       ac_prev=srcdir ;;
22186     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22187       ;;
22188     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
22189       ac_prev=prefix ;;
22190     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
22191       ;;
22192     --disable-option-checking)
22193       ;;
22194     *)
22195       case $ac_arg in
22196       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22197       esac
22198       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
22199     esac
22200   done
22201
22202   # Always prepend --prefix to ensure using the same prefix
22203   # in subdir configurations.
22204   ac_arg="--prefix=$prefix"
22205   case $ac_arg in
22206   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22207   esac
22208   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
22209
22210   # Pass --silent
22211   if test "$silent" = yes; then
22212     ac_sub_configure_args="--silent $ac_sub_configure_args"
22213   fi
22214
22215   # Always prepend --disable-option-checking to silence warnings, since
22216   # different subdirs can have different --enable and --with options.
22217   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
22218
22219   ac_popdir=`pwd`
22220   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
22221
22222     # Do not complain, so a configure script can configure whichever
22223     # parts of a large source tree are present.
22224     test -d "$srcdir/$ac_dir" || continue
22225
22226     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22227     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22228     $as_echo "$ac_msg" >&6
22229     as_dir="$ac_dir"; as_fn_mkdir_p
22230     ac_builddir=.
22231
22232 case "$ac_dir" in
22233 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22234 *)
22235   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22236   # A ".." for each directory in $ac_dir_suffix.
22237   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22238   case $ac_top_builddir_sub in
22239   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22240   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22241   esac ;;
22242 esac
22243 ac_abs_top_builddir=$ac_pwd
22244 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22245 # for backward compatibility:
22246 ac_top_builddir=$ac_top_build_prefix
22247
22248 case $srcdir in
22249   .)  # We are building in place.
22250     ac_srcdir=.
22251     ac_top_srcdir=$ac_top_builddir_sub
22252     ac_abs_top_srcdir=$ac_pwd ;;
22253   [\\/]* | ?:[\\/]* )  # Absolute name.
22254     ac_srcdir=$srcdir$ac_dir_suffix;
22255     ac_top_srcdir=$srcdir
22256     ac_abs_top_srcdir=$srcdir ;;
22257   *) # Relative name.
22258     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22259     ac_top_srcdir=$ac_top_build_prefix$srcdir
22260     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22261 esac
22262 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22263
22264
22265     cd "$ac_dir"
22266
22267     # Check for guested configure; otherwise get Cygnus style configure.
22268     if test -f "$ac_srcdir/configure.gnu"; then
22269       ac_sub_configure=$ac_srcdir/configure.gnu
22270     elif test -f "$ac_srcdir/configure"; then
22271       ac_sub_configure=$ac_srcdir/configure
22272     elif test -f "$ac_srcdir/configure.in"; then
22273       # This should be Cygnus configure.
22274       ac_sub_configure=$ac_aux_dir/configure
22275     else
22276       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22277 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22278       ac_sub_configure=
22279     fi
22280
22281     # The recursion is here.
22282     if test -n "$ac_sub_configure"; then
22283       # Make the cache file name correct relative to the subdirectory.
22284       case $cache_file in
22285       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
22286       *) # Relative name.
22287         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
22288       esac
22289
22290       { $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
22291 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22292       # The eval makes quoting arguments work.
22293       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22294            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22295         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22296     fi
22297
22298     cd "$ac_popdir"
22299   done
22300 fi
22301 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22302   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22303 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22304 fi
22305
22306
22307 #
22308 # Summarize the package configuration
22309 #
22310
22311 { $as_echo "$as_me:${as_lineno-$LINENO}:
22312
22313   Configuration Summary
22314   ---------------------
22315   Package                                     : ${PACKAGE_NAME}
22316   Version                                     : ${PACKAGE_VERSION}
22317   Interface                                   : ${LIBNLASSERT_VERSION_INFO//:/.}
22318   Build system                                : ${build}
22319   Host system                                 : ${host}
22320   Target system                               : ${target}
22321   Target architecture                         : ${target_cpu}
22322   Target OS                                   : ${target_os}
22323   Cross compiling                             : ${cross_compiling}
22324   Build shared libraries                      : ${enable_shared}
22325   Build static libraries                      : ${enable_static}
22326   Build debug libraries                       : ${nl_cv_build_debug}
22327   Build optimized libraries                   : ${nl_cv_build_optimized}
22328   Build coverage libraries                    : ${nl_cv_build_coverage}
22329   Build coverage reports                      : ${nl_cv_build_coverage_reports}
22330   Lcov                                        : ${LCOV:--}
22331   Genhtml                                     : ${GENHTML:--}
22332   Build tests                                 : ${nl_cv_build_tests}
22333   Prefix                                      : ${prefix}
22334   Shadow directory program                    : ${LNDIR}
22335   Documentation support                       : ${nl_cv_build_docs}
22336   Doxygen                                     : ${DOXYGEN:--}
22337   GraphViz dot                                : ${DOT:--}
22338   PERL                                        : ${PERL:--}
22339   Nlunit-test source                          : ${nl_with_nlunit_test:--}
22340   Nlunit-test compile flags                   : ${NLUNIT_TEST_CPPFLAGS:--}
22341   Nlunit-test link flags                      : ${NLUNIT_TEST_LDFLAGS:--}
22342   Nlunit-test link libraries                  : ${NLUNIT_TEST_LIBS:--}
22343   Nlunit-test foreign subdirectory dependency : ${NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY:--}
22344   C Preprocessor                              : ${CPP}
22345   C Compiler                                  : ${CC}
22346   C++ Preprocessor                            : ${CXXCPP}
22347   C++ Compiler                                : ${CXX}
22348   Archiver                                    : ${AR}
22349   Archive Indexer                             : ${RANLIB}
22350   Symbol Stripper                             : ${STRIP}
22351   Object Copier                               : ${OBJCOPY}
22352   C Preprocessor flags                        : ${CPPFLAGS:--}
22353   C Compile flags                             : ${CFLAGS:--}
22354   C++ Compile flags                           : ${CXXFLAGS:--}
22355   Link flags                                  : ${LDFLAGS:--}
22356   Link libraries                              : ${LIBS}
22357 " >&5
22358 $as_echo "$as_me:
22359
22360   Configuration Summary
22361   ---------------------
22362   Package                                     : ${PACKAGE_NAME}
22363   Version                                     : ${PACKAGE_VERSION}
22364   Interface                                   : ${LIBNLASSERT_VERSION_INFO//:/.}
22365   Build system                                : ${build}
22366   Host system                                 : ${host}
22367   Target system                               : ${target}
22368   Target architecture                         : ${target_cpu}
22369   Target OS                                   : ${target_os}
22370   Cross compiling                             : ${cross_compiling}
22371   Build shared libraries                      : ${enable_shared}
22372   Build static libraries                      : ${enable_static}
22373   Build debug libraries                       : ${nl_cv_build_debug}
22374   Build optimized libraries                   : ${nl_cv_build_optimized}
22375   Build coverage libraries                    : ${nl_cv_build_coverage}
22376   Build coverage reports                      : ${nl_cv_build_coverage_reports}
22377   Lcov                                        : ${LCOV:--}
22378   Genhtml                                     : ${GENHTML:--}
22379   Build tests                                 : ${nl_cv_build_tests}
22380   Prefix                                      : ${prefix}
22381   Shadow directory program                    : ${LNDIR}
22382   Documentation support                       : ${nl_cv_build_docs}
22383   Doxygen                                     : ${DOXYGEN:--}
22384   GraphViz dot                                : ${DOT:--}
22385   PERL                                        : ${PERL:--}
22386   Nlunit-test source                          : ${nl_with_nlunit_test:--}
22387   Nlunit-test compile flags                   : ${NLUNIT_TEST_CPPFLAGS:--}
22388   Nlunit-test link flags                      : ${NLUNIT_TEST_LDFLAGS:--}
22389   Nlunit-test link libraries                  : ${NLUNIT_TEST_LIBS:--}
22390   Nlunit-test foreign subdirectory dependency : ${NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY:--}
22391   C Preprocessor                              : ${CPP}
22392   C Compiler                                  : ${CC}
22393   C++ Preprocessor                            : ${CXXCPP}
22394   C++ Compiler                                : ${CXX}
22395   Archiver                                    : ${AR}
22396   Archive Indexer                             : ${RANLIB}
22397   Symbol Stripper                             : ${STRIP}
22398   Object Copier                               : ${OBJCOPY}
22399   C Preprocessor flags                        : ${CPPFLAGS:--}
22400   C Compile flags                             : ${CFLAGS:--}
22401   C++ Compile flags                           : ${CXXFLAGS:--}
22402   Link flags                                  : ${LDFLAGS:--}
22403   Link libraries                              : ${LIBS}
22404 " >&6;}