Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / nlfaultinjection / repo / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for nlfaultinjection g249f564.
4 #
5 # Report bugs to <nlfaultinjection-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 test \$(( 1 + 1 )) = 2 || exit 1
178
179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183     PATH=/empty FPATH=/empty; export PATH FPATH
184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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: nlfaultinjection-users@google.com about your system,
251 $0: including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script 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='nlfaultinjection'
572 PACKAGE_TARNAME='nlfaultinjection'
573 PACKAGE_VERSION='g249f564'
574 PACKAGE_STRING='nlfaultinjection g249f564'
575 PACKAGE_BUGREPORT='nlfaultinjection-users@google.com'
576 PACKAGE_URL='https://github.com/nestlabs/nlfaultinjection/'
577
578 ac_unique_file="include/nlfaultinjection.hpp"
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 NLASSERT_FOREIGN_SUBDIR_DEPENDENCY
623 subdirs
624 NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_FALSE
625 NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_TRUE
626 NLUNIT_TEST_SUBDIRS
627 NLUNIT_TEST_LIBS
628 NLUNIT_TEST_LDFLAGS
629 NLUNIT_TEST_CPPFLAGS
630 NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_FALSE
631 NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_TRUE
632 NLASSERT_SUBDIRS
633 NLASSERT_LIBS
634 NLASSERT_LDFLAGS
635 NLASSERT_CPPFLAGS
636 PKG_CONFIG
637 NLFAULTINJECTION_BUILD_DOCS_FALSE
638 NLFAULTINJECTION_BUILD_DOCS_TRUE
639 DOXYGEN_USE_DOT
640 DOT
641 DOXYGEN
642 NLFAULTINJECTION_BUILD_TESTS_FALSE
643 NLFAULTINJECTION_BUILD_TESTS_TRUE
644 PRETTY_CHECK_ARGS
645 PRETTY_CHECK
646 NLFAULTINJECTION_BUILD_OPTIMIZED_FALSE
647 NLFAULTINJECTION_BUILD_OPTIMIZED_TRUE
648 NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_FALSE
649 NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_TRUE
650 GENHTML
651 LCOV
652 NLFAULTINJECTION_BUILD_COVERAGE_FALSE
653 NLFAULTINJECTION_BUILD_COVERAGE_TRUE
654 NLFAULTINJECTION_BUILD_DEBUG_FALSE
655 NLFAULTINJECTION_BUILD_DEBUG_TRUE
656 OTOOL64
657 OTOOL
658 LIPO
659 NMEDIT
660 DSYMUTIL
661 MANIFEST_TOOL
662 ac_ct_AR
663 DLLTOOL
664 OBJDUMP
665 NM
666 ac_ct_DUMPBIN
667 DUMPBIN
668 LD
669 FGREP
670 SED
671 LIBTOOL
672 EGREP
673 GREP
674 TARGET_STYLE
675 LN_S
676 OBJCOPY
677 RANLIB
678 AR
679 CXXCPP
680 am__fastdepCXX_FALSE
681 am__fastdepCXX_TRUE
682 CXXDEPMODE
683 ac_ct_CXX
684 CXXFLAGS
685 CXX
686 CPP
687 am__fastdepCC_FALSE
688 am__fastdepCC_TRUE
689 CCDEPMODE
690 am__nodep
691 AMDEPBACKSLASH
692 AMDEP_FALSE
693 AMDEP_TRUE
694 am__quote
695 am__include
696 DEPDIR
697 OBJEXT
698 EXEEXT
699 ac_ct_CC
700 CPPFLAGS
701 LDFLAGS
702 CFLAGS
703 CC
704 MAINT
705 MAINTAINER_MODE_FALSE
706 MAINTAINER_MODE_TRUE
707 AM_BACKSLASH
708 AM_DEFAULT_VERBOSITY
709 AM_DEFAULT_V
710 AM_V
711 am__untar
712 am__tar
713 AMTAR
714 am__leading_dot
715 SET_MAKE
716 AWK
717 mkdir_p
718 MKDIR_P
719 INSTALL_STRIP_PROGRAM
720 STRIP
721 install_sh
722 MAKEINFO
723 AUTOHEADER
724 AUTOMAKE
725 AUTOCONF
726 ACLOCAL
727 VERSION
728 PACKAGE
729 CYGPATH_W
730 am__isrc
731 INSTALL_DATA
732 INSTALL_SCRIPT
733 INSTALL_PROGRAM
734 nl_filtered_target_os
735 nl_filtered_target_vendor
736 nl_filtered_target_cpu
737 nl_filtered_target
738 nl_filtered_host_os
739 nl_filtered_host_vendor
740 nl_filtered_host_cpu
741 nl_filtered_host
742 nl_filtered_build_os
743 nl_filtered_build_vendor
744 nl_filtered_build_cpu
745 nl_filtered_build
746 target_os
747 target_vendor
748 target_cpu
749 target
750 host_os
751 host_vendor
752 host_cpu
753 host
754 build_os
755 build_vendor
756 build_cpu
757 build
758 LIBNLFAULTINJECTION_VERSION_INFO
759 LIBNLFAULTINJECTION_VERSION_REVISION
760 LIBNLFAULTINJECTION_VERSION_AGE
761 LIBNLFAULTINJECTION_VERSION_CURRENT
762 abs_top_nlbuild_autotools_dir
763 nlbuild_autotools_stem
764 target_alias
765 host_alias
766 build_alias
767 LIBS
768 ECHO_T
769 ECHO_N
770 ECHO_C
771 DEFS
772 mandir
773 localedir
774 libdir
775 psdir
776 pdfdir
777 dvidir
778 htmldir
779 infodir
780 docdir
781 oldincludedir
782 includedir
783 localstatedir
784 sharedstatedir
785 sysconfdir
786 datadir
787 datarootdir
788 libexecdir
789 sbindir
790 bindir
791 program_transform_name
792 prefix
793 exec_prefix
794 PACKAGE_URL
795 PACKAGE_BUGREPORT
796 PACKAGE_STRING
797 PACKAGE_VERSION
798 PACKAGE_TARNAME
799 PACKAGE_NAME
800 PATH_SEPARATOR
801 SHELL'
802 ac_subst_files=''
803 ac_user_opts='
804 enable_option_checking
805 enable_silent_rules
806 enable_maintainer_mode
807 enable_dependency_tracking
808 with_target_style
809 enable_shared
810 enable_static
811 with_pic
812 enable_fast_install
813 with_gnu_ld
814 with_sysroot
815 enable_libtool_lock
816 enable_debug
817 enable_coverage
818 enable_coverage_reports
819 enable_optimization
820 enable_tests
821 enable_docs
822 with_nlassert
823 with_nlassert_includes
824 with_nlassert_libs
825 with_nlunit_test
826 with_nlunit_test_includes
827 with_nlunit_test_libs
828 '
829       ac_precious_vars='build_alias
830 host_alias
831 target_alias
832 CC
833 CFLAGS
834 LDFLAGS
835 LIBS
836 CPPFLAGS
837 CPP
838 CXX
839 CXXFLAGS
840 CCC
841 CXXCPP
842 DOXYGEN
843 DOT
844 NLASSERT_CPPFLAGS
845 NLASSERT_LDFLAGS
846 NLASSERT_LIBS
847 NLUNIT_TEST_CPPFLAGS
848 NLUNIT_TEST_LDFLAGS
849 NLUNIT_TEST_LIBS'
850 ac_subdirs_all='third_party/nlassert/repo
851 third_party/nlunit-test/repo'
852
853 # Initialize some variables set by options.
854 ac_init_help=
855 ac_init_version=false
856 ac_unrecognized_opts=
857 ac_unrecognized_sep=
858 # The variables have the same names as the options, with
859 # dashes changed to underlines.
860 cache_file=/dev/null
861 exec_prefix=NONE
862 no_create=
863 no_recursion=
864 prefix=NONE
865 program_prefix=NONE
866 program_suffix=NONE
867 program_transform_name=s,x,x,
868 silent=
869 site=
870 srcdir=
871 verbose=
872 x_includes=NONE
873 x_libraries=NONE
874
875 # Installation directory options.
876 # These are left unexpanded so users can "make install exec_prefix=/foo"
877 # and all the variables that are supposed to be based on exec_prefix
878 # by default will actually change.
879 # Use braces instead of parens because sh, perl, etc. also accept them.
880 # (The list follows the same order as the GNU Coding Standards.)
881 bindir='${exec_prefix}/bin'
882 sbindir='${exec_prefix}/sbin'
883 libexecdir='${exec_prefix}/libexec'
884 datarootdir='${prefix}/share'
885 datadir='${datarootdir}'
886 sysconfdir='${prefix}/etc'
887 sharedstatedir='${prefix}/com'
888 localstatedir='${prefix}/var'
889 includedir='${prefix}/include'
890 oldincludedir='/usr/include'
891 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
892 infodir='${datarootdir}/info'
893 htmldir='${docdir}'
894 dvidir='${docdir}'
895 pdfdir='${docdir}'
896 psdir='${docdir}'
897 libdir='${exec_prefix}/lib'
898 localedir='${datarootdir}/locale'
899 mandir='${datarootdir}/man'
900
901 ac_prev=
902 ac_dashdash=
903 for ac_option
904 do
905   # If the previous option needs an argument, assign it.
906   if test -n "$ac_prev"; then
907     eval $ac_prev=\$ac_option
908     ac_prev=
909     continue
910   fi
911
912   case $ac_option in
913   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
914   *=)   ac_optarg= ;;
915   *)    ac_optarg=yes ;;
916   esac
917
918   # Accept the important Cygnus configure options, so we can diagnose typos.
919
920   case $ac_dashdash$ac_option in
921   --)
922     ac_dashdash=yes ;;
923
924   -bindir | --bindir | --bindi | --bind | --bin | --bi)
925     ac_prev=bindir ;;
926   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
927     bindir=$ac_optarg ;;
928
929   -build | --build | --buil | --bui | --bu)
930     ac_prev=build_alias ;;
931   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
932     build_alias=$ac_optarg ;;
933
934   -cache-file | --cache-file | --cache-fil | --cache-fi \
935   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
936     ac_prev=cache_file ;;
937   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
938   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
939     cache_file=$ac_optarg ;;
940
941   --config-cache | -C)
942     cache_file=config.cache ;;
943
944   -datadir | --datadir | --datadi | --datad)
945     ac_prev=datadir ;;
946   -datadir=* | --datadir=* | --datadi=* | --datad=*)
947     datadir=$ac_optarg ;;
948
949   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
950   | --dataroo | --dataro | --datar)
951     ac_prev=datarootdir ;;
952   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
953   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
954     datarootdir=$ac_optarg ;;
955
956   -disable-* | --disable-*)
957     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958     # Reject names that are not valid shell variable names.
959     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
960       as_fn_error $? "invalid feature name: $ac_useropt"
961     ac_useropt_orig=$ac_useropt
962     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963     case $ac_user_opts in
964       *"
965 "enable_$ac_useropt"
966 "*) ;;
967       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968          ac_unrecognized_sep=', ';;
969     esac
970     eval enable_$ac_useropt=no ;;
971
972   -docdir | --docdir | --docdi | --doc | --do)
973     ac_prev=docdir ;;
974   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
975     docdir=$ac_optarg ;;
976
977   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
978     ac_prev=dvidir ;;
979   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
980     dvidir=$ac_optarg ;;
981
982   -enable-* | --enable-*)
983     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984     # Reject names that are not valid shell variable names.
985     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986       as_fn_error $? "invalid feature name: $ac_useropt"
987     ac_useropt_orig=$ac_useropt
988     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989     case $ac_user_opts in
990       *"
991 "enable_$ac_useropt"
992 "*) ;;
993       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994          ac_unrecognized_sep=', ';;
995     esac
996     eval enable_$ac_useropt=\$ac_optarg ;;
997
998   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
999   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1000   | --exec | --exe | --ex)
1001     ac_prev=exec_prefix ;;
1002   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1003   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1004   | --exec=* | --exe=* | --ex=*)
1005     exec_prefix=$ac_optarg ;;
1006
1007   -gas | --gas | --ga | --g)
1008     # Obsolete; use --with-gas.
1009     with_gas=yes ;;
1010
1011   -help | --help | --hel | --he | -h)
1012     ac_init_help=long ;;
1013   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1014     ac_init_help=recursive ;;
1015   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1016     ac_init_help=short ;;
1017
1018   -host | --host | --hos | --ho)
1019     ac_prev=host_alias ;;
1020   -host=* | --host=* | --hos=* | --ho=*)
1021     host_alias=$ac_optarg ;;
1022
1023   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1024     ac_prev=htmldir ;;
1025   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1026   | --ht=*)
1027     htmldir=$ac_optarg ;;
1028
1029   -includedir | --includedir | --includedi | --included | --include \
1030   | --includ | --inclu | --incl | --inc)
1031     ac_prev=includedir ;;
1032   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1033   | --includ=* | --inclu=* | --incl=* | --inc=*)
1034     includedir=$ac_optarg ;;
1035
1036   -infodir | --infodir | --infodi | --infod | --info | --inf)
1037     ac_prev=infodir ;;
1038   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1039     infodir=$ac_optarg ;;
1040
1041   -libdir | --libdir | --libdi | --libd)
1042     ac_prev=libdir ;;
1043   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1044     libdir=$ac_optarg ;;
1045
1046   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1047   | --libexe | --libex | --libe)
1048     ac_prev=libexecdir ;;
1049   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1050   | --libexe=* | --libex=* | --libe=*)
1051     libexecdir=$ac_optarg ;;
1052
1053   -localedir | --localedir | --localedi | --localed | --locale)
1054     ac_prev=localedir ;;
1055   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1056     localedir=$ac_optarg ;;
1057
1058   -localstatedir | --localstatedir | --localstatedi | --localstated \
1059   | --localstate | --localstat | --localsta | --localst | --locals)
1060     ac_prev=localstatedir ;;
1061   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1062   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1063     localstatedir=$ac_optarg ;;
1064
1065   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1066     ac_prev=mandir ;;
1067   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1068     mandir=$ac_optarg ;;
1069
1070   -nfp | --nfp | --nf)
1071     # Obsolete; use --without-fp.
1072     with_fp=no ;;
1073
1074   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1075   | --no-cr | --no-c | -n)
1076     no_create=yes ;;
1077
1078   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1079   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1080     no_recursion=yes ;;
1081
1082   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1083   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1084   | --oldin | --oldi | --old | --ol | --o)
1085     ac_prev=oldincludedir ;;
1086   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1087   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1088   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1089     oldincludedir=$ac_optarg ;;
1090
1091   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1092     ac_prev=prefix ;;
1093   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1094     prefix=$ac_optarg ;;
1095
1096   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1097   | --program-pre | --program-pr | --program-p)
1098     ac_prev=program_prefix ;;
1099   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1100   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1101     program_prefix=$ac_optarg ;;
1102
1103   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1104   | --program-suf | --program-su | --program-s)
1105     ac_prev=program_suffix ;;
1106   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1107   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1108     program_suffix=$ac_optarg ;;
1109
1110   -program-transform-name | --program-transform-name \
1111   | --program-transform-nam | --program-transform-na \
1112   | --program-transform-n | --program-transform- \
1113   | --program-transform | --program-transfor \
1114   | --program-transfo | --program-transf \
1115   | --program-trans | --program-tran \
1116   | --progr-tra | --program-tr | --program-t)
1117     ac_prev=program_transform_name ;;
1118   -program-transform-name=* | --program-transform-name=* \
1119   | --program-transform-nam=* | --program-transform-na=* \
1120   | --program-transform-n=* | --program-transform-=* \
1121   | --program-transform=* | --program-transfor=* \
1122   | --program-transfo=* | --program-transf=* \
1123   | --program-trans=* | --program-tran=* \
1124   | --progr-tra=* | --program-tr=* | --program-t=*)
1125     program_transform_name=$ac_optarg ;;
1126
1127   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1128     ac_prev=pdfdir ;;
1129   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1130     pdfdir=$ac_optarg ;;
1131
1132   -psdir | --psdir | --psdi | --psd | --ps)
1133     ac_prev=psdir ;;
1134   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1135     psdir=$ac_optarg ;;
1136
1137   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1138   | -silent | --silent | --silen | --sile | --sil)
1139     silent=yes ;;
1140
1141   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1142     ac_prev=sbindir ;;
1143   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1144   | --sbi=* | --sb=*)
1145     sbindir=$ac_optarg ;;
1146
1147   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1148   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1149   | --sharedst | --shareds | --shared | --share | --shar \
1150   | --sha | --sh)
1151     ac_prev=sharedstatedir ;;
1152   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1153   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1154   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1155   | --sha=* | --sh=*)
1156     sharedstatedir=$ac_optarg ;;
1157
1158   -site | --site | --sit)
1159     ac_prev=site ;;
1160   -site=* | --site=* | --sit=*)
1161     site=$ac_optarg ;;
1162
1163   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1164     ac_prev=srcdir ;;
1165   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1166     srcdir=$ac_optarg ;;
1167
1168   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1169   | --syscon | --sysco | --sysc | --sys | --sy)
1170     ac_prev=sysconfdir ;;
1171   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1172   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1173     sysconfdir=$ac_optarg ;;
1174
1175   -target | --target | --targe | --targ | --tar | --ta | --t)
1176     ac_prev=target_alias ;;
1177   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1178     target_alias=$ac_optarg ;;
1179
1180   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1181     verbose=yes ;;
1182
1183   -version | --version | --versio | --versi | --vers | -V)
1184     ac_init_version=: ;;
1185
1186   -with-* | --with-*)
1187     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1188     # Reject names that are not valid shell variable names.
1189     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190       as_fn_error $? "invalid package name: $ac_useropt"
1191     ac_useropt_orig=$ac_useropt
1192     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193     case $ac_user_opts in
1194       *"
1195 "with_$ac_useropt"
1196 "*) ;;
1197       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1198          ac_unrecognized_sep=', ';;
1199     esac
1200     eval with_$ac_useropt=\$ac_optarg ;;
1201
1202   -without-* | --without-*)
1203     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1204     # Reject names that are not valid shell variable names.
1205     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206       as_fn_error $? "invalid package name: $ac_useropt"
1207     ac_useropt_orig=$ac_useropt
1208     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209     case $ac_user_opts in
1210       *"
1211 "with_$ac_useropt"
1212 "*) ;;
1213       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1214          ac_unrecognized_sep=', ';;
1215     esac
1216     eval with_$ac_useropt=no ;;
1217
1218   --x)
1219     # Obsolete; use --with-x.
1220     with_x=yes ;;
1221
1222   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1223   | --x-incl | --x-inc | --x-in | --x-i)
1224     ac_prev=x_includes ;;
1225   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1226   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1227     x_includes=$ac_optarg ;;
1228
1229   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1230   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1231     ac_prev=x_libraries ;;
1232   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1233   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1234     x_libraries=$ac_optarg ;;
1235
1236   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1237 Try \`$0 --help' for more information"
1238     ;;
1239
1240   *=*)
1241     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1242     # Reject names that are not valid shell variable names.
1243     case $ac_envvar in #(
1244       '' | [0-9]* | *[!_$as_cr_alnum]* )
1245       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1246     esac
1247     eval $ac_envvar=\$ac_optarg
1248     export $ac_envvar ;;
1249
1250   *)
1251     # FIXME: should be removed in autoconf 3.0.
1252     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1253     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1254       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1255     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1256     ;;
1257
1258   esac
1259 done
1260
1261 if test -n "$ac_prev"; then
1262   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1263   as_fn_error $? "missing argument to $ac_option"
1264 fi
1265
1266 if test -n "$ac_unrecognized_opts"; then
1267   case $enable_option_checking in
1268     no) ;;
1269     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1270     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1271   esac
1272 fi
1273
1274 # Check all directory arguments for consistency.
1275 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1276                 datadir sysconfdir sharedstatedir localstatedir includedir \
1277                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1278                 libdir localedir mandir
1279 do
1280   eval ac_val=\$$ac_var
1281   # Remove trailing slashes.
1282   case $ac_val in
1283     */ )
1284       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1285       eval $ac_var=\$ac_val;;
1286   esac
1287   # Be sure to have absolute directory names.
1288   case $ac_val in
1289     [\\/$]* | ?:[\\/]* )  continue;;
1290     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1291   esac
1292   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1293 done
1294
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1298 build=$build_alias
1299 host=$host_alias
1300 target=$target_alias
1301
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x; then
1304   if test "x$build_alias" = x; then
1305     cross_compiling=maybe
1306     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1307     If a cross compiler is detected then cross compile mode will be used" >&2
1308   elif test "x$build_alias" != "x$host_alias"; then
1309     cross_compiling=yes
1310   fi
1311 fi
1312
1313 ac_tool_prefix=
1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1315
1316 test "$silent" = yes && exec 6>/dev/null
1317
1318
1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di=`ls -di .` &&
1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1322   as_fn_error $? "working directory cannot be determined"
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324   as_fn_error $? "pwd does not report name of working directory"
1325
1326
1327 # Find the source files, if location was not specified.
1328 if test -z "$srcdir"; then
1329   ac_srcdir_defaulted=yes
1330   # Try the directory containing this script, then the parent directory.
1331   ac_confdir=`$as_dirname -- "$as_myself" ||
1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1333          X"$as_myself" : 'X\(//\)[^/]' \| \
1334          X"$as_myself" : 'X\(//\)$' \| \
1335          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1336 $as_echo X"$as_myself" |
1337     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338             s//\1/
1339             q
1340           }
1341           /^X\(\/\/\)[^/].*/{
1342             s//\1/
1343             q
1344           }
1345           /^X\(\/\/\)$/{
1346             s//\1/
1347             q
1348           }
1349           /^X\(\/\).*/{
1350             s//\1/
1351             q
1352           }
1353           s/.*/./; q'`
1354   srcdir=$ac_confdir
1355   if test ! -r "$srcdir/$ac_unique_file"; then
1356     srcdir=..
1357   fi
1358 else
1359   ac_srcdir_defaulted=no
1360 fi
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1362   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1363   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1364 fi
1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1366 ac_abs_confdir=`(
1367         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1368         pwd)`
1369 # When building in place, set srcdir=.
1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371   srcdir=.
1372 fi
1373 # Remove unnecessary trailing slashes from srcdir.
1374 # Double slashes in file names in object file debugging info
1375 # mess up M-x gdb in Emacs.
1376 case $srcdir in
1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1378 esac
1379 for ac_var in $ac_precious_vars; do
1380   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1381   eval ac_env_${ac_var}_value=\$${ac_var}
1382   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1383   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1384 done
1385
1386 #
1387 # Report the --help message.
1388 #
1389 if test "$ac_init_help" = "long"; then
1390   # Omit some internal or obsolete options to make the list less imposing.
1391   # This message is too long to be a string in the A/UX 3.1 sh.
1392   cat <<_ACEOF
1393 \`configure' configures nlfaultinjection g249f564 to adapt to many kinds of systems.
1394
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1396
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE.  See below for descriptions of some of the useful variables.
1399
1400 Defaults for the options are specified in brackets.
1401
1402 Configuration:
1403   -h, --help              display this help and exit
1404       --help=short        display options specific to this package
1405       --help=recursive    display the short help of all the included packages
1406   -V, --version           display version information and exit
1407   -q, --quiet, --silent   do not print \`checking ...' messages
1408       --cache-file=FILE   cache test results in FILE [disabled]
1409   -C, --config-cache      alias for \`--cache-file=config.cache'
1410   -n, --no-create         do not create output files
1411       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1412
1413 Installation directories:
1414   --prefix=PREFIX         install architecture-independent files in PREFIX
1415                           [$ac_default_prefix]
1416   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1417                           [PREFIX]
1418
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1423
1424 For better control, use the options below.
1425
1426 Fine tuning of the installation directories:
1427   --bindir=DIR            user executables [EPREFIX/bin]
1428   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1429   --libexecdir=DIR        program executables [EPREFIX/libexec]
1430   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1431   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1432   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1433   --libdir=DIR            object code libraries [EPREFIX/lib]
1434   --includedir=DIR        C header files [PREFIX/include]
1435   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1436   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1437   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1438   --infodir=DIR           info documentation [DATAROOTDIR/info]
1439   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1440   --mandir=DIR            man documentation [DATAROOTDIR/man]
1441   --docdir=DIR            documentation root
1442                           [DATAROOTDIR/doc/nlfaultinjection]
1443   --htmldir=DIR           html documentation [DOCDIR]
1444   --dvidir=DIR            dvi documentation [DOCDIR]
1445   --pdfdir=DIR            pdf documentation [DOCDIR]
1446   --psdir=DIR             ps documentation [DOCDIR]
1447 _ACEOF
1448
1449   cat <<\_ACEOF
1450
1451 Program names:
1452   --program-prefix=PREFIX            prepend PREFIX to installed program names
1453   --program-suffix=SUFFIX            append SUFFIX to installed program names
1454   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1455
1456 System types:
1457   --build=BUILD     configure for building on BUILD [guessed]
1458   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1459   --target=TARGET   configure for building compilers for TARGET [HOST]
1460 _ACEOF
1461 fi
1462
1463 if test -n "$ac_init_help"; then
1464   case $ac_init_help in
1465      short | recursive ) echo "Configuration of nlfaultinjection g249f564:";;
1466    esac
1467   cat <<\_ACEOF
1468
1469 Optional Features:
1470   --disable-option-checking  ignore unrecognized --enable/--with options
1471   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1472   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1473   --enable-silent-rules   less verbose build output (undo: "make V=1")
1474   --disable-silent-rules  verbose build output (undo: "make V=0")
1475   --enable-maintainer-mode
1476                           enable make rules and dependencies not useful (and
1477                           sometimes confusing) to the casual installer
1478   --enable-dependency-tracking
1479                           do not reject slow dependency extractors
1480   --disable-dependency-tracking
1481                           speeds up one-time build
1482   --enable-shared[=PKGS]  build shared libraries [default=yes]
1483   --enable-static[=PKGS]  build static libraries [default=yes]
1484   --enable-fast-install[=PKGS]
1485                           optimize for fast installation [default=yes]
1486   --disable-libtool-lock  avoid locking (might break parallel builds)
1487   --enable-debug          Enable the generation of debug instances
1488                           [default=no].
1489   --enable-coverage       Enable the generation of code-coverage instances
1490                           [default=no].
1491   --enable-coverage-reports
1492                           Enable the generation of code coverage reports
1493                           (requires lcov) [default=auto].
1494   --enable-optimization   Enable the generation of code-optimized instances
1495                           [default=yes].
1496   --enable-tests          Enable building of tests [default=yes].
1497   --disable-docs          Enable building documentation (requires Doxygen)
1498                           [default=auto].
1499
1500 Optional Packages:
1501   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1502   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1503   --with-target-style=TARGET
1504                           Specify the target style from one of: auto, embedded
1505                           or unix [default=auto].
1506   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1507                           both]
1508   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1509   --with-sysroot=DIR Search for dependent libraries within DIR
1510                         (or the compiler's sysroot if not specified).
1511   --with-nlassert=DIR     Specify location of the required Nlassert headers
1512                           and libraries [default=internal].
1513   --with-nlassert-includes=DIR
1514                           Specify location of required Nlassert headers
1515                           [default=internal].
1516   --with-nlassert-libs=DIR
1517                           Specify location of required Nlassert libraries
1518                           [default=internal].
1519   --with-nlunit_test=DIR  Specify location of the required Nlunit-test headers
1520                           and libraries [default=internal].
1521   --with-nlunit_test-includes=DIR
1522                           Specify location of required Nlunit-test headers
1523                           [default=internal].
1524   --with-nlunit_test-libs=DIR
1525                           Specify location of required Nlunit-test libraries
1526                           [default=internal].
1527
1528 Some influential environment variables:
1529   CC          C compiler command
1530   CFLAGS      C compiler flags
1531   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1532               nonstandard directory <lib dir>
1533   LIBS        libraries to pass to the linker, e.g. -l<library>
1534   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1535               you have headers in a nonstandard directory <include dir>
1536   CPP         C preprocessor
1537   CXX         C++ compiler command
1538   CXXFLAGS    C++ compiler flags
1539   CXXCPP      C++ preprocessor
1540   DOXYGEN     Doxygen executable
1541   DOT         GraphViz 'dot' executable, which may be used, when present, to
1542               generate Doxygen class graphs
1543   NLASSERT_CPPFLAGS
1544               Nlassert C preprocessor flags
1545   NLASSERT_LDFLAGS
1546               Nlassert linker flags
1547   NLASSERT_LIBS
1548               Nlassert linker libraries
1549   NLUNIT_TEST_CPPFLAGS
1550               Nlunit-test C preprocessor flags
1551   NLUNIT_TEST_LDFLAGS
1552               Nlunit-test linker flags
1553   NLUNIT_TEST_LIBS
1554               Nlunit-test linker libraries
1555
1556 Use these variables to override the choices made by `configure' or to help
1557 it to find libraries and programs with nonstandard names/locations.
1558
1559 Report bugs to <nlfaultinjection-users@google.com>.
1560 nlfaultinjection home page: <https://github.com/nestlabs/nlfaultinjection/>.
1561 _ACEOF
1562 ac_status=$?
1563 fi
1564
1565 if test "$ac_init_help" = "recursive"; then
1566   # If there are subdirs, report their specific --help.
1567   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568     test -d "$ac_dir" ||
1569       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1570       continue
1571     ac_builddir=.
1572
1573 case "$ac_dir" in
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 *)
1576   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577   # A ".." for each directory in $ac_dir_suffix.
1578   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579   case $ac_top_builddir_sub in
1580   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1582   esac ;;
1583 esac
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1588
1589 case $srcdir in
1590   .)  # We are building in place.
1591     ac_srcdir=.
1592     ac_top_srcdir=$ac_top_builddir_sub
1593     ac_abs_top_srcdir=$ac_pwd ;;
1594   [\\/]* | ?:[\\/]* )  # Absolute name.
1595     ac_srcdir=$srcdir$ac_dir_suffix;
1596     ac_top_srcdir=$srcdir
1597     ac_abs_top_srcdir=$srcdir ;;
1598   *) # Relative name.
1599     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600     ac_top_srcdir=$ac_top_build_prefix$srcdir
1601     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602 esac
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604
1605     cd "$ac_dir" || { ac_status=$?; continue; }
1606     # Check for guested configure.
1607     if test -f "$ac_srcdir/configure.gnu"; then
1608       echo &&
1609       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610     elif test -f "$ac_srcdir/configure"; then
1611       echo &&
1612       $SHELL "$ac_srcdir/configure" --help=recursive
1613     else
1614       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615     fi || ac_status=$?
1616     cd "$ac_pwd" || { ac_status=$?; break; }
1617   done
1618 fi
1619
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1622   cat <<\_ACEOF
1623 nlfaultinjection configure g249f564
1624 generated by GNU Autoconf 2.68
1625
1626 Copyright (C) 2010 Free Software Foundation, Inc.
1627 This configure script is free software; the Free Software Foundation
1628 gives unlimited permission to copy, distribute and modify it.
1629 _ACEOF
1630   exit
1631 fi
1632
1633 ## ------------------------ ##
1634 ## Autoconf initialization. ##
1635 ## ------------------------ ##
1636
1637 # ac_fn_c_try_compile LINENO
1638 # --------------------------
1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1640 ac_fn_c_try_compile ()
1641 {
1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643   rm -f conftest.$ac_objext
1644   if { { ac_try="$ac_compile"
1645 case "(($ac_try" in
1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647   *) ac_try_echo=$ac_try;;
1648 esac
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651   (eval "$ac_compile") 2>conftest.err
1652   ac_status=$?
1653   if test -s conftest.err; then
1654     grep -v '^ *+' conftest.err >conftest.er1
1655     cat conftest.er1 >&5
1656     mv -f conftest.er1 conftest.err
1657   fi
1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659   test $ac_status = 0; } && {
1660          test -z "$ac_c_werror_flag" ||
1661          test ! -s conftest.err
1662        } && test -s conftest.$ac_objext; then :
1663   ac_retval=0
1664 else
1665   $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1667
1668         ac_retval=1
1669 fi
1670   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671   as_fn_set_status $ac_retval
1672
1673 } # ac_fn_c_try_compile
1674
1675 # ac_fn_c_try_cpp LINENO
1676 # ----------------------
1677 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_c_try_cpp ()
1679 {
1680   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681   if { { ac_try="$ac_cpp conftest.$ac_ext"
1682 case "(($ac_try" in
1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684   *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1689   ac_status=$?
1690   if test -s conftest.err; then
1691     grep -v '^ *+' conftest.err >conftest.er1
1692     cat conftest.er1 >&5
1693     mv -f conftest.er1 conftest.err
1694   fi
1695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696   test $ac_status = 0; } > conftest.i && {
1697          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1698          test ! -s conftest.err
1699        }; then :
1700   ac_retval=0
1701 else
1702   $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1704
1705     ac_retval=1
1706 fi
1707   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708   as_fn_set_status $ac_retval
1709
1710 } # ac_fn_c_try_cpp
1711
1712 # ac_fn_cxx_try_compile LINENO
1713 # ----------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_cxx_try_compile ()
1716 {
1717   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718   rm -f conftest.$ac_objext
1719   if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722   *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726   (eval "$ac_compile") 2>conftest.err
1727   ac_status=$?
1728   if test -s conftest.err; then
1729     grep -v '^ *+' conftest.err >conftest.er1
1730     cat conftest.er1 >&5
1731     mv -f conftest.er1 conftest.err
1732   fi
1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734   test $ac_status = 0; } && {
1735          test -z "$ac_cxx_werror_flag" ||
1736          test ! -s conftest.err
1737        } && test -s conftest.$ac_objext; then :
1738   ac_retval=0
1739 else
1740   $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743         ac_retval=1
1744 fi
1745   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746   as_fn_set_status $ac_retval
1747
1748 } # ac_fn_cxx_try_compile
1749
1750 # ac_fn_cxx_try_cpp LINENO
1751 # ------------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_cpp ()
1754 {
1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756   if { { ac_try="$ac_cpp conftest.$ac_ext"
1757 case "(($ac_try" in
1758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759   *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764   ac_status=$?
1765   if test -s conftest.err; then
1766     grep -v '^ *+' conftest.err >conftest.er1
1767     cat conftest.er1 >&5
1768     mv -f conftest.er1 conftest.err
1769   fi
1770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771   test $ac_status = 0; } > conftest.i && {
1772          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1773          test ! -s conftest.err
1774        }; then :
1775   ac_retval=0
1776 else
1777   $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1779
1780     ac_retval=1
1781 fi
1782   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783   as_fn_set_status $ac_retval
1784
1785 } # ac_fn_cxx_try_cpp
1786
1787 # ac_fn_c_try_link LINENO
1788 # -----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_link ()
1791 {
1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793   rm -f conftest.$ac_objext conftest$ac_exeext
1794   if { { ac_try="$ac_link"
1795 case "(($ac_try" in
1796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797   *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801   (eval "$ac_link") 2>conftest.err
1802   ac_status=$?
1803   if test -s conftest.err; then
1804     grep -v '^ *+' conftest.err >conftest.er1
1805     cat conftest.er1 >&5
1806     mv -f conftest.er1 conftest.err
1807   fi
1808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809   test $ac_status = 0; } && {
1810          test -z "$ac_c_werror_flag" ||
1811          test ! -s conftest.err
1812        } && test -s conftest$ac_exeext && {
1813          test "$cross_compiling" = yes ||
1814          $as_test_x conftest$ac_exeext
1815        }; then :
1816   ac_retval=0
1817 else
1818   $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1820
1821         ac_retval=1
1822 fi
1823   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825   # interfere with the next link command; also delete a directory that is
1826   # left behind by Apple's compiler.  We do this before executing the actions.
1827   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829   as_fn_set_status $ac_retval
1830
1831 } # ac_fn_c_try_link
1832
1833 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1834 # -------------------------------------------------------
1835 # Tests whether HEADER exists and can be compiled using the include files in
1836 # INCLUDES, setting the cache variable VAR accordingly.
1837 ac_fn_c_check_header_compile ()
1838 {
1839   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if eval \${$3+:} false; then :
1843   $as_echo_n "(cached) " >&6
1844 else
1845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h.  */
1847 $4
1848 #include <$2>
1849 _ACEOF
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851   eval "$3=yes"
1852 else
1853   eval "$3=no"
1854 fi
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 fi
1857 eval ac_res=\$$3
1858                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861
1862 } # ac_fn_c_check_header_compile
1863
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1868 ac_fn_c_try_run ()
1869 {
1870   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871   if { { ac_try="$ac_link"
1872 case "(($ac_try" in
1873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874   *) ac_try_echo=$ac_try;;
1875 esac
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878   (eval "$ac_link") 2>&5
1879   ac_status=$?
1880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882   { { case "(($ac_try" in
1883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884   *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888   (eval "$ac_try") 2>&5
1889   ac_status=$?
1890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891   test $ac_status = 0; }; }; then :
1892   ac_retval=0
1893 else
1894   $as_echo "$as_me: program exited with status $ac_status" >&5
1895        $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1897
1898        ac_retval=$ac_status
1899 fi
1900   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902   as_fn_set_status $ac_retval
1903
1904 } # ac_fn_c_try_run
1905
1906 # ac_fn_c_check_func LINENO FUNC VAR
1907 # ----------------------------------
1908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 ac_fn_c_check_func ()
1910 {
1911   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if eval \${$3+:} false; then :
1915   $as_echo_n "(cached) " >&6
1916 else
1917   if test x$ac_no_link = xyes; then
1918   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
1919 fi
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h.  */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1924 #define $2 innocuous_$2
1925
1926 /* System header to define __stub macros and hopefully few prototypes,
1927     which can conflict with char $2 (); below.
1928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929     <limits.h> exists even on freestanding compilers.  */
1930
1931 #ifdef __STDC__
1932 # include <limits.h>
1933 #else
1934 # include <assert.h>
1935 #endif
1936
1937 #undef $2
1938
1939 /* Override any GCC internal prototype to avoid an error.
1940    Use char because int might match the return type of a GCC
1941    builtin and then its argument prototype would still apply.  */
1942 #ifdef __cplusplus
1943 extern "C"
1944 #endif
1945 char $2 ();
1946 /* The GNU C library defines this for functions which it implements
1947     to always fail with ENOSYS.  Some functions are actually named
1948     something starting with __ and the normal name is an alias.  */
1949 #if defined __stub_$2 || defined __stub___$2
1950 choke me
1951 #endif
1952
1953 int
1954 main ()
1955 {
1956 return $2 ();
1957   ;
1958   return 0;
1959 }
1960 _ACEOF
1961 if ac_fn_c_try_link "$LINENO"; then :
1962   eval "$3=yes"
1963 else
1964   eval "$3=no"
1965 fi
1966 rm -f core conftest.err conftest.$ac_objext \
1967     conftest$ac_exeext conftest.$ac_ext
1968 fi
1969 eval ac_res=\$$3
1970                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973
1974 } # ac_fn_c_check_func
1975
1976 # ac_fn_cxx_try_link LINENO
1977 # -------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_link ()
1980 {
1981   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982   rm -f conftest.$ac_objext conftest$ac_exeext
1983   if { { ac_try="$ac_link"
1984 case "(($ac_try" in
1985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986   *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990   (eval "$ac_link") 2>conftest.err
1991   ac_status=$?
1992   if test -s conftest.err; then
1993     grep -v '^ *+' conftest.err >conftest.er1
1994     cat conftest.er1 >&5
1995     mv -f conftest.er1 conftest.err
1996   fi
1997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998   test $ac_status = 0; } && {
1999          test -z "$ac_cxx_werror_flag" ||
2000          test ! -s conftest.err
2001        } && test -s conftest$ac_exeext && {
2002          test "$cross_compiling" = yes ||
2003          $as_test_x conftest$ac_exeext
2004        }; then :
2005   ac_retval=0
2006 else
2007   $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2009
2010         ac_retval=1
2011 fi
2012   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014   # interfere with the next link command; also delete a directory that is
2015   # left behind by Apple's compiler.  We do this before executing the actions.
2016   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018   as_fn_set_status $ac_retval
2019
2020 } # ac_fn_cxx_try_link
2021
2022 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2023 # -------------------------------------------------------
2024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025 # the include files in INCLUDES and setting the cache variable VAR
2026 # accordingly.
2027 ac_fn_c_check_header_mongrel ()
2028 {
2029   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030   if eval \${$3+:} false; then :
2031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if eval \${$3+:} false; then :
2034   $as_echo_n "(cached) " >&6
2035 fi
2036 eval ac_res=\$$3
2037                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 else
2040   # Is the header compilable?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042 $as_echo_n "checking $2 usability... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h.  */
2045 $4
2046 #include <$2>
2047 _ACEOF
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049   ac_header_compiler=yes
2050 else
2051   ac_header_compiler=no
2052 fi
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055 $as_echo "$ac_header_compiler" >&6; }
2056
2057 # Is the header present?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059 $as_echo_n "checking $2 presence... " >&6; }
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h.  */
2062 #include <$2>
2063 _ACEOF
2064 if ac_fn_c_try_cpp "$LINENO"; then :
2065   ac_header_preproc=yes
2066 else
2067   ac_header_preproc=no
2068 fi
2069 rm -f conftest.err conftest.i conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071 $as_echo "$ac_header_preproc" >&6; }
2072
2073 # So?  What about this header?
2074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2075   yes:no: )
2076     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2080     ;;
2081   no:yes:* )
2082     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2085 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2086     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2089 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2090     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092 ( $as_echo "## ------------------------------------------------ ##
2093 ## Report this to nlfaultinjection-users@google.com ##
2094 ## ------------------------------------------------ ##"
2095      ) | sed "s/^/$as_me: WARNING:     /" >&2
2096     ;;
2097 esac
2098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2099 $as_echo_n "checking for $2... " >&6; }
2100 if eval \${$3+:} false; then :
2101   $as_echo_n "(cached) " >&6
2102 else
2103   eval "$3=\$ac_header_compiler"
2104 fi
2105 eval ac_res=\$$3
2106                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107 $as_echo "$ac_res" >&6; }
2108 fi
2109   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110
2111 } # ac_fn_c_check_header_mongrel
2112
2113 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2114 # -------------------------------------------
2115 # Tests whether TYPE exists after having included INCLUDES, setting cache
2116 # variable VAR accordingly.
2117 ac_fn_c_check_type ()
2118 {
2119   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; }
2122 if eval \${$3+:} false; then :
2123   $as_echo_n "(cached) " >&6
2124 else
2125   eval "$3=no"
2126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h.  */
2128 $4
2129 int
2130 main ()
2131 {
2132 if (sizeof ($2))
2133          return 0;
2134   ;
2135   return 0;
2136 }
2137 _ACEOF
2138 if ac_fn_c_try_compile "$LINENO"; then :
2139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h.  */
2141 $4
2142 int
2143 main ()
2144 {
2145 if (sizeof (($2)))
2146             return 0;
2147   ;
2148   return 0;
2149 }
2150 _ACEOF
2151 if ac_fn_c_try_compile "$LINENO"; then :
2152
2153 else
2154   eval "$3=yes"
2155 fi
2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2157 fi
2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159 fi
2160 eval ac_res=\$$3
2161                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2164
2165 } # ac_fn_c_check_type
2166
2167 # ac_fn_c_find_intX_t LINENO BITS VAR
2168 # -----------------------------------
2169 # Finds a signed integer type with width BITS, setting cache variable VAR
2170 # accordingly.
2171 ac_fn_c_find_intX_t ()
2172 {
2173   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2175 $as_echo_n "checking for int$2_t... " >&6; }
2176 if eval \${$3+:} false; then :
2177   $as_echo_n "(cached) " >&6
2178 else
2179   eval "$3=no"
2180      # Order is important - never check a type that is potentially smaller
2181      # than half of the expected target width.
2182      for ac_type in int$2_t 'int' 'long int' \
2183          'long long int' 'short int' 'signed char'; do
2184        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h.  */
2186 $ac_includes_default
2187              enum { N = $2 / 2 - 1 };
2188 int
2189 main ()
2190 {
2191 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2192 test_array [0] = 0
2193
2194   ;
2195   return 0;
2196 }
2197 _ACEOF
2198 if ac_fn_c_try_compile "$LINENO"; then :
2199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h.  */
2201 $ac_includes_default
2202                 enum { N = $2 / 2 - 1 };
2203 int
2204 main ()
2205 {
2206 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2207                  < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2208 test_array [0] = 0
2209
2210   ;
2211   return 0;
2212 }
2213 _ACEOF
2214 if ac_fn_c_try_compile "$LINENO"; then :
2215
2216 else
2217   case $ac_type in #(
2218   int$2_t) :
2219     eval "$3=yes" ;; #(
2220   *) :
2221     eval "$3=\$ac_type" ;;
2222 esac
2223 fi
2224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2225 fi
2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227        if eval test \"x\$"$3"\" = x"no"; then :
2228
2229 else
2230   break
2231 fi
2232      done
2233 fi
2234 eval ac_res=\$$3
2235                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2236 $as_echo "$ac_res" >&6; }
2237   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2238
2239 } # ac_fn_c_find_intX_t
2240
2241 # ac_fn_c_find_uintX_t LINENO BITS VAR
2242 # ------------------------------------
2243 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2244 # accordingly.
2245 ac_fn_c_find_uintX_t ()
2246 {
2247   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2249 $as_echo_n "checking for uint$2_t... " >&6; }
2250 if eval \${$3+:} false; then :
2251   $as_echo_n "(cached) " >&6
2252 else
2253   eval "$3=no"
2254      # Order is important - never check a type that is potentially smaller
2255      # than half of the expected target width.
2256      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2257          'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2258        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h.  */
2260 $ac_includes_default
2261 int
2262 main ()
2263 {
2264 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2265 test_array [0] = 0
2266
2267   ;
2268   return 0;
2269 }
2270 _ACEOF
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272   case $ac_type in #(
2273   uint$2_t) :
2274     eval "$3=yes" ;; #(
2275   *) :
2276     eval "$3=\$ac_type" ;;
2277 esac
2278 fi
2279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2280        if eval test \"x\$"$3"\" = x"no"; then :
2281
2282 else
2283   break
2284 fi
2285      done
2286 fi
2287 eval ac_res=\$$3
2288                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2289 $as_echo "$ac_res" >&6; }
2290   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291
2292 } # ac_fn_c_find_uintX_t
2293 cat >config.log <<_ACEOF
2294 This file contains any messages produced by compilers while
2295 running configure, to aid debugging if configure makes a mistake.
2296
2297 It was created by nlfaultinjection $as_me g249f564, which was
2298 generated by GNU Autoconf 2.68.  Invocation command line was
2299
2300   $ $0 $@
2301
2302 _ACEOF
2303 exec 5>>config.log
2304 {
2305 cat <<_ASUNAME
2306 ## --------- ##
2307 ## Platform. ##
2308 ## --------- ##
2309
2310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2315
2316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2317 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2318
2319 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2320 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2322 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2323 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2324 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2325 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2326
2327 _ASUNAME
2328
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 for as_dir in $PATH
2331 do
2332   IFS=$as_save_IFS
2333   test -z "$as_dir" && as_dir=.
2334     $as_echo "PATH: $as_dir"
2335   done
2336 IFS=$as_save_IFS
2337
2338 } >&5
2339
2340 cat >&5 <<_ACEOF
2341
2342
2343 ## ----------- ##
2344 ## Core tests. ##
2345 ## ----------- ##
2346
2347 _ACEOF
2348
2349
2350 # Keep a trace of the command line.
2351 # Strip out --no-create and --no-recursion so they do not pile up.
2352 # Strip out --silent because we don't want to record it for future runs.
2353 # Also quote any args containing shell meta-characters.
2354 # Make two passes to allow for proper duplicate-argument suppression.
2355 ac_configure_args=
2356 ac_configure_args0=
2357 ac_configure_args1=
2358 ac_must_keep_next=false
2359 for ac_pass in 1 2
2360 do
2361   for ac_arg
2362   do
2363     case $ac_arg in
2364     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2365     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2366     | -silent | --silent | --silen | --sile | --sil)
2367       continue ;;
2368     *\'*)
2369       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2370     esac
2371     case $ac_pass in
2372     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2373     2)
2374       as_fn_append ac_configure_args1 " '$ac_arg'"
2375       if test $ac_must_keep_next = true; then
2376         ac_must_keep_next=false # Got value, back to normal.
2377       else
2378         case $ac_arg in
2379           *=* | --config-cache | -C | -disable-* | --disable-* \
2380           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2381           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2382           | -with-* | --with-* | -without-* | --without-* | --x)
2383             case "$ac_configure_args0 " in
2384               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2385             esac
2386             ;;
2387           -* ) ac_must_keep_next=true ;;
2388         esac
2389       fi
2390       as_fn_append ac_configure_args " '$ac_arg'"
2391       ;;
2392     esac
2393   done
2394 done
2395 { ac_configure_args0=; unset ac_configure_args0;}
2396 { ac_configure_args1=; unset ac_configure_args1;}
2397
2398 # When interrupted or exit'd, cleanup temporary files, and complete
2399 # config.log.  We remove comments because anyway the quotes in there
2400 # would cause problems or look ugly.
2401 # WARNING: Use '\'' to represent an apostrophe within the trap.
2402 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2403 trap 'exit_status=$?
2404   # Save into config.log some information that might help in debugging.
2405   {
2406     echo
2407
2408     $as_echo "## ---------------- ##
2409 ## Cache variables. ##
2410 ## ---------------- ##"
2411     echo
2412     # The following way of writing the cache mishandles newlines in values,
2413 (
2414   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2415     eval ac_val=\$$ac_var
2416     case $ac_val in #(
2417     *${as_nl}*)
2418       case $ac_var in #(
2419       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2420 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2421       esac
2422       case $ac_var in #(
2423       _ | IFS | as_nl) ;; #(
2424       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2425       *) { eval $ac_var=; unset $ac_var;} ;;
2426       esac ;;
2427     esac
2428   done
2429   (set) 2>&1 |
2430     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2431     *${as_nl}ac_space=\ *)
2432       sed -n \
2433         "s/'\''/'\''\\\\'\'''\''/g;
2434           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2435       ;; #(
2436     *)
2437       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2438       ;;
2439     esac |
2440     sort
2441 )
2442     echo
2443
2444     $as_echo "## ----------------- ##
2445 ## Output variables. ##
2446 ## ----------------- ##"
2447     echo
2448     for ac_var in $ac_subst_vars
2449     do
2450       eval ac_val=\$$ac_var
2451       case $ac_val in
2452       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2453       esac
2454       $as_echo "$ac_var='\''$ac_val'\''"
2455     done | sort
2456     echo
2457
2458     if test -n "$ac_subst_files"; then
2459       $as_echo "## ------------------- ##
2460 ## File substitutions. ##
2461 ## ------------------- ##"
2462       echo
2463       for ac_var in $ac_subst_files
2464       do
2465         eval ac_val=\$$ac_var
2466         case $ac_val in
2467         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2468         esac
2469         $as_echo "$ac_var='\''$ac_val'\''"
2470       done | sort
2471       echo
2472     fi
2473
2474     if test -s confdefs.h; then
2475       $as_echo "## ----------- ##
2476 ## confdefs.h. ##
2477 ## ----------- ##"
2478       echo
2479       cat confdefs.h
2480       echo
2481     fi
2482     test "$ac_signal" != 0 &&
2483       $as_echo "$as_me: caught signal $ac_signal"
2484     $as_echo "$as_me: exit $exit_status"
2485   } >&5
2486   rm -f core *.core core.conftest.* &&
2487     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2488     exit $exit_status
2489 ' 0
2490 for ac_signal in 1 2 13 15; do
2491   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2492 done
2493 ac_signal=0
2494
2495 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2496 rm -f -r conftest* confdefs.h
2497
2498 $as_echo "/* confdefs.h */" > confdefs.h
2499
2500 # Predefined preprocessor variables.
2501
2502 cat >>confdefs.h <<_ACEOF
2503 #define PACKAGE_NAME "$PACKAGE_NAME"
2504 _ACEOF
2505
2506 cat >>confdefs.h <<_ACEOF
2507 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2508 _ACEOF
2509
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2512 _ACEOF
2513
2514 cat >>confdefs.h <<_ACEOF
2515 #define PACKAGE_STRING "$PACKAGE_STRING"
2516 _ACEOF
2517
2518 cat >>confdefs.h <<_ACEOF
2519 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2520 _ACEOF
2521
2522 cat >>confdefs.h <<_ACEOF
2523 #define PACKAGE_URL "$PACKAGE_URL"
2524 _ACEOF
2525
2526
2527 # Let the site file select an alternate cache file if it wants to.
2528 # Prefer an explicitly selected file to automatically selected ones.
2529 ac_site_file1=NONE
2530 ac_site_file2=NONE
2531 if test -n "$CONFIG_SITE"; then
2532   # We do not want a PATH search for config.site.
2533   case $CONFIG_SITE in #((
2534     -*)  ac_site_file1=./$CONFIG_SITE;;
2535     */*) ac_site_file1=$CONFIG_SITE;;
2536     *)   ac_site_file1=./$CONFIG_SITE;;
2537   esac
2538 elif test "x$prefix" != xNONE; then
2539   ac_site_file1=$prefix/share/config.site
2540   ac_site_file2=$prefix/etc/config.site
2541 else
2542   ac_site_file1=$ac_default_prefix/share/config.site
2543   ac_site_file2=$ac_default_prefix/etc/config.site
2544 fi
2545 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2546 do
2547   test "x$ac_site_file" = xNONE && continue
2548   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2549     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2550 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2551     sed 's/^/| /' "$ac_site_file" >&5
2552     . "$ac_site_file" \
2553       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 as_fn_error $? "failed to load site script $ac_site_file
2556 See \`config.log' for more details" "$LINENO" 5; }
2557   fi
2558 done
2559
2560 if test -r "$cache_file"; then
2561   # Some versions of bash will fail to source /dev/null (special files
2562   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2563   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2564     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2565 $as_echo "$as_me: loading cache $cache_file" >&6;}
2566     case $cache_file in
2567       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2568       *)                      . "./$cache_file";;
2569     esac
2570   fi
2571 else
2572   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2573 $as_echo "$as_me: creating cache $cache_file" >&6;}
2574   >$cache_file
2575 fi
2576
2577 # Check that the precious variables saved in the cache have kept the same
2578 # value.
2579 ac_cache_corrupted=false
2580 for ac_var in $ac_precious_vars; do
2581   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2582   eval ac_new_set=\$ac_env_${ac_var}_set
2583   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2584   eval ac_new_val=\$ac_env_${ac_var}_value
2585   case $ac_old_set,$ac_new_set in
2586     set,)
2587       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2588 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2589       ac_cache_corrupted=: ;;
2590     ,set)
2591       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2592 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2593       ac_cache_corrupted=: ;;
2594     ,);;
2595     *)
2596       if test "x$ac_old_val" != "x$ac_new_val"; then
2597         # differences in whitespace do not lead to failure.
2598         ac_old_val_w=`echo x $ac_old_val`
2599         ac_new_val_w=`echo x $ac_new_val`
2600         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2601           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2602 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2603           ac_cache_corrupted=:
2604         else
2605           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2606 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2607           eval $ac_var=\$ac_old_val
2608         fi
2609         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2610 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2611         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2612 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2613       fi;;
2614   esac
2615   # Pass precious variables to config.status.
2616   if test "$ac_new_set" = set; then
2617     case $ac_new_val in
2618     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2619     *) ac_arg=$ac_var=$ac_new_val ;;
2620     esac
2621     case " $ac_configure_args " in
2622       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2623       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2624     esac
2625   fi
2626 done
2627 if $ac_cache_corrupted; then
2628   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2630   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2631 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2632   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2633 fi
2634 ## -------------------- ##
2635 ## Main body of script. ##
2636 ## -------------------- ##
2637
2638 ac_ext=c
2639 ac_cpp='$CPP $CPPFLAGS'
2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2643
2644
2645
2646 # Tell the rest of the build system the absolute path where the
2647 # nlbuild-autotools repository is rooted at.
2648
2649 nlbuild_autotools_stem=third_party/nlbuild-autotools/repo
2650
2651 abs_top_nlbuild_autotools_dir=\${abs_top_srcdir}/\${nlbuild_autotools_stem}
2652
2653
2654 #
2655 # nlfaultinjection interface current, revision, and age versions.
2656 #
2657 # NOTE: At present, NLFAULTINJECTION makes NO ABI compatibility
2658 #       commitments. Consequently, these simply serve as documentation
2659 #       for how the interfaces have evolved.
2660 #
2661 # Maintainters: Please manage these fields as follows:
2662 #
2663 #   Interfaces removed:    CURRENT++, AGE = 0, REVISION = 0
2664 #   Interfaces added:      CURRENT++, AGE++,   REVISION = 0
2665 #   No interfaces changed:                     REVISION++
2666 #
2667 #
2668 LIBNLFAULTINJECTION_VERSION_CURRENT=2
2669
2670 LIBNLFAULTINJECTION_VERSION_AGE=1
2671
2672 LIBNLFAULTINJECTION_VERSION_REVISION=0
2673
2674 LIBNLFAULTINJECTION_VERSION_INFO=${LIBNLFAULTINJECTION_VERSION_CURRENT}:${LIBNLFAULTINJECTION_VERSION_REVISION}:${LIBNLFAULTINJECTION_VERSION_AGE}
2675
2676
2677 #
2678 # Check the sanity of the source directory by checking for the
2679 # presence of a key watch file
2680 #
2681
2682
2683 #
2684 # Tell autoconf where to find auxilliary build tools (e.g. config.guess,
2685 # install-sh, missing, etc.)
2686 #
2687 ac_aux_dir=
2688 for ac_dir in third_party/nlbuild-autotools/repo/third_party/autoconf "$srcdir"/third_party/nlbuild-autotools/repo/third_party/autoconf; do
2689   if test -f "$ac_dir/install-sh"; then
2690     ac_aux_dir=$ac_dir
2691     ac_install_sh="$ac_aux_dir/install-sh -c"
2692     break
2693   elif test -f "$ac_dir/install.sh"; then
2694     ac_aux_dir=$ac_dir
2695     ac_install_sh="$ac_aux_dir/install.sh -c"
2696     break
2697   elif test -f "$ac_dir/shtool"; then
2698     ac_aux_dir=$ac_dir
2699     ac_install_sh="$ac_aux_dir/shtool install -c"
2700     break
2701   fi
2702 done
2703 if test -z "$ac_aux_dir"; then
2704   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
2705 fi
2706
2707 # These three variables are undocumented and unsupported,
2708 # and are intended to be withdrawn in a future Autoconf release.
2709 # They can cause serious problems if a builder's source tree is in a directory
2710 # whose full name contains unusual characters.
2711 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2712 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2713 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2714
2715
2716
2717 #
2718 # Tell autoconf where to find auxilliary M4 macros
2719 #
2720
2721
2722 #
2723 # Tell autoconf what file the package is using to aggregate C preprocessor
2724 # defines.
2725 #
2726 ac_config_headers="$ac_config_headers include/nlfaultinjection-config.h"
2727
2728
2729 #
2730 # Figure out what the canonical build, host and target tuples are.
2731 #
2732 # Make sure we can run config.sub.
2733 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2734   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2735
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2737 $as_echo_n "checking build system type... " >&6; }
2738 if ${ac_cv_build+:} false; then :
2739   $as_echo_n "(cached) " >&6
2740 else
2741   ac_build_alias=$build_alias
2742 test "x$ac_build_alias" = x &&
2743   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2744 test "x$ac_build_alias" = x &&
2745   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2746 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2747   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2748
2749 fi
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2751 $as_echo "$ac_cv_build" >&6; }
2752 case $ac_cv_build in
2753 *-*-*) ;;
2754 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2755 esac
2756 build=$ac_cv_build
2757 ac_save_IFS=$IFS; IFS='-'
2758 set x $ac_cv_build
2759 shift
2760 build_cpu=$1
2761 build_vendor=$2
2762 shift; shift
2763 # Remember, the first character of IFS is used to create $*,
2764 # except with old shells:
2765 build_os=$*
2766 IFS=$ac_save_IFS
2767 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2768
2769
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2771 $as_echo_n "checking host system type... " >&6; }
2772 if ${ac_cv_host+:} false; then :
2773   $as_echo_n "(cached) " >&6
2774 else
2775   if test "x$host_alias" = x; then
2776   ac_cv_host=$ac_cv_build
2777 else
2778   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2779     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2780 fi
2781
2782 fi
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2784 $as_echo "$ac_cv_host" >&6; }
2785 case $ac_cv_host in
2786 *-*-*) ;;
2787 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2788 esac
2789 host=$ac_cv_host
2790 ac_save_IFS=$IFS; IFS='-'
2791 set x $ac_cv_host
2792 shift
2793 host_cpu=$1
2794 host_vendor=$2
2795 shift; shift
2796 # Remember, the first character of IFS is used to create $*,
2797 # except with old shells:
2798 host_os=$*
2799 IFS=$ac_save_IFS
2800 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2801
2802
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2804 $as_echo_n "checking target system type... " >&6; }
2805 if ${ac_cv_target+:} false; then :
2806   $as_echo_n "(cached) " >&6
2807 else
2808   if test "x$target_alias" = x; then
2809   ac_cv_target=$ac_cv_host
2810 else
2811   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2812     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2813 fi
2814
2815 fi
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2817 $as_echo "$ac_cv_target" >&6; }
2818 case $ac_cv_target in
2819 *-*-*) ;;
2820 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2821 esac
2822 target=$ac_cv_target
2823 ac_save_IFS=$IFS; IFS='-'
2824 set x $ac_cv_target
2825 shift
2826 target_cpu=$1
2827 target_vendor=$2
2828 shift; shift
2829 # Remember, the first character of IFS is used to create $*,
2830 # except with old shells:
2831 target_os=$*
2832 IFS=$ac_save_IFS
2833 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2834
2835
2836 # The aliases save the names the user supplied, while $host etc.
2837 # will get canonicalized.
2838 test -n "$target_alias" &&
2839   test "$program_prefix$program_suffix$program_transform_name" = \
2840     NONENONEs,x,x, &&
2841   program_prefix=${target_alias}-
2842
2843 #
2844 # Mac OS X / Darwin ends up putting some versioning cruft on the end of its
2845 # tuple that we don't care about in this script. Create "clean" variables
2846 # devoid of it.
2847 #
2848
2849
2850
2851
2852     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered build system type" >&5
2853 $as_echo_n "checking filtered build system type... " >&6; }
2854 if ${nl_cv_filtered_build+:} false; then :
2855   $as_echo_n "(cached) " >&6
2856 else
2857   nl_cv_filtered_build=`echo ${build} | sed -e 's/[[:digit:].]*$//g'`
2858         nl_filtered_build=${nl_cv_filtered_build}
2859 fi
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_build" >&5
2861 $as_echo "$nl_cv_filtered_build" >&6; }
2862
2863
2864     case ${nl_cv_filtered_build} in
2865
2866     *-*-*) ;;
2867     *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2868
2869     esac
2870
2871     nl_filtered_build=$nl_cv_filtered_build
2872
2873
2874     nl_save_IFS=$IFS; IFS='-'
2875     set x $nl_cv_filtered_build
2876     shift
2877
2878     nl_filtered_build_cpu=$1
2879
2880     nl_filtered_build_vendor=$2
2881
2882
2883     shift; shift
2884     # Remember, the first character of IFS is used to create $*,
2885     # except with old shells:
2886     nl_filtered_build_os=$*
2887     IFS=$nl_save_IFS
2888
2889     case nl_filtered_$build_os in
2890
2891     *\ *) nl_filtered_build_os=`echo "$build_os" | sed 's/ /-/g'`;;
2892
2893     esac
2894
2895
2896
2897
2898
2899
2900
2901
2902     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered host system type" >&5
2903 $as_echo_n "checking filtered host system type... " >&6; }
2904 if ${nl_cv_filtered_host+:} false; then :
2905   $as_echo_n "(cached) " >&6
2906 else
2907   nl_cv_filtered_host=`echo ${host} | sed -e 's/[[:digit:].]*$//g'`
2908         nl_filtered_host=${nl_cv_filtered_host}
2909 fi
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_host" >&5
2911 $as_echo "$nl_cv_filtered_host" >&6; }
2912
2913
2914     case ${nl_cv_filtered_host} in
2915
2916     *-*-*) ;;
2917     *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2918
2919     esac
2920
2921     nl_filtered_host=$nl_cv_filtered_host
2922
2923
2924     nl_save_IFS=$IFS; IFS='-'
2925     set x $nl_cv_filtered_host
2926     shift
2927
2928     nl_filtered_host_cpu=$1
2929
2930     nl_filtered_host_vendor=$2
2931
2932
2933     shift; shift
2934     # Remember, the first character of IFS is used to create $*,
2935     # except with old shells:
2936     nl_filtered_host_os=$*
2937     IFS=$nl_save_IFS
2938
2939     case nl_filtered_$host_os in
2940
2941     *\ *) nl_filtered_host_os=`echo "$host_os" | sed 's/ /-/g'`;;
2942
2943     esac
2944
2945
2946
2947
2948
2949
2950
2951
2952     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered target system type" >&5
2953 $as_echo_n "checking filtered target system type... " >&6; }
2954 if ${nl_cv_filtered_target+:} false; then :
2955   $as_echo_n "(cached) " >&6
2956 else
2957   nl_cv_filtered_target=`echo ${target} | sed -e 's/[[:digit:].]*$//g'`
2958         nl_filtered_target=${nl_cv_filtered_target}
2959 fi
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_target" >&5
2961 $as_echo "$nl_cv_filtered_target" >&6; }
2962
2963
2964     case ${nl_cv_filtered_target} in
2965
2966     *-*-*) ;;
2967     *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2968
2969     esac
2970
2971     nl_filtered_target=$nl_cv_filtered_target
2972
2973
2974     nl_save_IFS=$IFS; IFS='-'
2975     set x $nl_cv_filtered_target
2976     shift
2977
2978     nl_filtered_target_cpu=$1
2979
2980     nl_filtered_target_vendor=$2
2981
2982
2983     shift; shift
2984     # Remember, the first character of IFS is used to create $*,
2985     # except with old shells:
2986     nl_filtered_target_os=$*
2987     IFS=$nl_save_IFS
2988
2989     case nl_filtered_$target_os in
2990
2991     *\ *) nl_filtered_target_os=`echo "$target_os" | sed 's/ /-/g'`;;
2992
2993     esac
2994
2995
2996
2997
2998
2999
3000 #
3001 # Configure automake with the desired options, indicating that this is not
3002 # a native GNU package, that we want "silent" build rules, and that we want
3003 # objects built in the same subdirectory as their source rather than collapsed
3004 # together at the top-level directory.
3005 #
3006 # Disable silent build rules by either passing --disable-silent-rules to
3007 # configure or passing V=1 to make
3008 #
3009 am__api_version='1.14'
3010
3011 # Find a good install program.  We prefer a C program (faster),
3012 # so one script is as good as another.  But avoid the broken or
3013 # incompatible versions:
3014 # SysV /etc/install, /usr/sbin/install
3015 # SunOS /usr/etc/install
3016 # IRIX /sbin/install
3017 # AIX /bin/install
3018 # AmigaOS /C/install, which installs bootblocks on floppy discs
3019 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3020 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3021 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3022 # OS/2's system install, which has a completely different semantic
3023 # ./install, which can be erroneously created by make from ./install.sh.
3024 # Reject install programs that cannot install multiple files.
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3026 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3027 if test -z "$INSTALL"; then
3028 if ${ac_cv_path_install+:} false; then :
3029   $as_echo_n "(cached) " >&6
3030 else
3031   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032 for as_dir in $PATH
3033 do
3034   IFS=$as_save_IFS
3035   test -z "$as_dir" && as_dir=.
3036     # Account for people who put trailing slashes in PATH elements.
3037 case $as_dir/ in #((
3038   ./ | .// | /[cC]/* | \
3039   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3040   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3041   /usr/ucb/* ) ;;
3042   *)
3043     # OSF1 and SCO ODT 3.0 have their own names for install.
3044     # Don't use installbsd from OSF since it installs stuff as root
3045     # by default.
3046     for ac_prog in ginstall scoinst install; do
3047       for ac_exec_ext in '' $ac_executable_extensions; do
3048         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3049           if test $ac_prog = install &&
3050             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3051             # AIX install.  It has an incompatible calling convention.
3052             :
3053           elif test $ac_prog = install &&
3054             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3055             # program-specific install script used by HP pwplus--don't use.
3056             :
3057           else
3058             rm -rf conftest.one conftest.two conftest.dir
3059             echo one > conftest.one
3060             echo two > conftest.two
3061             mkdir conftest.dir
3062             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3063               test -s conftest.one && test -s conftest.two &&
3064               test -s conftest.dir/conftest.one &&
3065               test -s conftest.dir/conftest.two
3066             then
3067               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3068               break 3
3069             fi
3070           fi
3071         fi
3072       done
3073     done
3074     ;;
3075 esac
3076
3077   done
3078 IFS=$as_save_IFS
3079
3080 rm -rf conftest.one conftest.two conftest.dir
3081
3082 fi
3083   if test "${ac_cv_path_install+set}" = set; then
3084     INSTALL=$ac_cv_path_install
3085   else
3086     # As a last resort, use the slow shell script.  Don't cache a
3087     # value for INSTALL within a source directory, because that will
3088     # break other packages using the cache if that directory is
3089     # removed, or if the value is a relative name.
3090     INSTALL=$ac_install_sh
3091   fi
3092 fi
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3094 $as_echo "$INSTALL" >&6; }
3095
3096 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3097 # It thinks the first close brace ends the variable substitution.
3098 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3099
3100 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3101
3102 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3103
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3105 $as_echo_n "checking whether build environment is sane... " >&6; }
3106 # Reject unsafe characters in $srcdir or the absolute working directory
3107 # name.  Accept space and tab only in the latter.
3108 am_lf='
3109 '
3110 case `pwd` in
3111   *[\\\"\#\$\&\'\`$am_lf]*)
3112     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3113 esac
3114 case $srcdir in
3115   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3116     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3117 esac
3118
3119 # Do 'set' in a subshell so we don't clobber the current shell's
3120 # arguments.  Must try -L first in case configure is actually a
3121 # symlink; some systems play weird games with the mod time of symlinks
3122 # (eg FreeBSD returns the mod time of the symlink's containing
3123 # directory).
3124 if (
3125    am_has_slept=no
3126    for am_try in 1 2; do
3127      echo "timestamp, slept: $am_has_slept" > conftest.file
3128      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3129      if test "$*" = "X"; then
3130         # -L didn't work.
3131         set X `ls -t "$srcdir/configure" conftest.file`
3132      fi
3133      if test "$*" != "X $srcdir/configure conftest.file" \
3134         && test "$*" != "X conftest.file $srcdir/configure"; then
3135
3136         # If neither matched, then we have a broken ls.  This can happen
3137         # if, for instance, CONFIG_SHELL is bash and it inherits a
3138         # broken ls alias from the environment.  This has actually
3139         # happened.  Such a system could not be considered "sane".
3140         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3141   alias in your environment" "$LINENO" 5
3142      fi
3143      if test "$2" = conftest.file || test $am_try -eq 2; then
3144        break
3145      fi
3146      # Just in case.
3147      sleep 1
3148      am_has_slept=yes
3149    done
3150    test "$2" = conftest.file
3151    )
3152 then
3153    # Ok.
3154    :
3155 else
3156    as_fn_error $? "newly created file is older than distributed files!
3157 Check your system clock" "$LINENO" 5
3158 fi
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3160 $as_echo "yes" >&6; }
3161 # If we didn't sleep, we still need to ensure time stamps of config.status and
3162 # generated files are strictly newer.
3163 am_sleep_pid=
3164 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3165   ( sleep 1 ) &
3166   am_sleep_pid=$!
3167 fi
3168
3169 rm -f conftest.file
3170
3171 test "$program_prefix" != NONE &&
3172   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3173 # Use a double $ so make ignores it.
3174 test "$program_suffix" != NONE &&
3175   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3176 # Double any \ or $.
3177 # By default was `s,x,x', remove it if useless.
3178 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3179 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3180
3181 # expand $ac_aux_dir to an absolute path
3182 am_aux_dir=`cd $ac_aux_dir && pwd`
3183
3184 if test x"${MISSING+set}" != xset; then
3185   case $am_aux_dir in
3186   *\ * | *\     *)
3187     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3188   *)
3189     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3190   esac
3191 fi
3192 # Use eval to expand $SHELL
3193 if eval "$MISSING --is-lightweight"; then
3194   am_missing_run="$MISSING "
3195 else
3196   am_missing_run=
3197   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3198 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3199 fi
3200
3201 if test x"${install_sh}" != xset; then
3202   case $am_aux_dir in
3203   *\ * | *\     *)
3204     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3205   *)
3206     install_sh="\${SHELL} $am_aux_dir/install-sh"
3207   esac
3208 fi
3209
3210 # Installed binaries are usually stripped using 'strip' when the user
3211 # run "make install-strip".  However 'strip' might not be the right
3212 # tool to use in cross-compilation environments, therefore Automake
3213 # will honor the 'STRIP' environment variable to overrule this program.
3214 if test "$cross_compiling" != no; then
3215   if test -n "$ac_tool_prefix"; then
3216   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3217 set dummy ${ac_tool_prefix}strip; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_STRIP+:} false; then :
3221   $as_echo_n "(cached) " >&6
3222 else
3223   if test -n "$STRIP"; then
3224   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3225 else
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH
3228 do
3229   IFS=$as_save_IFS
3230   test -z "$as_dir" && as_dir=.
3231     for ac_exec_ext in '' $ac_executable_extensions; do
3232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235     break 2
3236   fi
3237 done
3238   done
3239 IFS=$as_save_IFS
3240
3241 fi
3242 fi
3243 STRIP=$ac_cv_prog_STRIP
3244 if test -n "$STRIP"; then
3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3246 $as_echo "$STRIP" >&6; }
3247 else
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 fi
3251
3252
3253 fi
3254 if test -z "$ac_cv_prog_STRIP"; then
3255   ac_ct_STRIP=$STRIP
3256   # Extract the first word of "strip", so it can be a program name with args.
3257 set dummy strip; ac_word=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3261   $as_echo_n "(cached) " >&6
3262 else
3263   if test -n "$ac_ct_STRIP"; then
3264   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3265 else
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH
3268 do
3269   IFS=$as_save_IFS
3270   test -z "$as_dir" && as_dir=.
3271     for ac_exec_ext in '' $ac_executable_extensions; do
3272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3273     ac_cv_prog_ac_ct_STRIP="strip"
3274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275     break 2
3276   fi
3277 done
3278   done
3279 IFS=$as_save_IFS
3280
3281 fi
3282 fi
3283 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3284 if test -n "$ac_ct_STRIP"; then
3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3286 $as_echo "$ac_ct_STRIP" >&6; }
3287 else
3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3290 fi
3291
3292   if test "x$ac_ct_STRIP" = x; then
3293     STRIP=":"
3294   else
3295     case $cross_compiling:$ac_tool_warned in
3296 yes:)
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3299 ac_tool_warned=yes ;;
3300 esac
3301     STRIP=$ac_ct_STRIP
3302   fi
3303 else
3304   STRIP="$ac_cv_prog_STRIP"
3305 fi
3306
3307 fi
3308 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3309
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3311 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3312 if test -z "$MKDIR_P"; then
3313   if ${ac_cv_path_mkdir+:} false; then :
3314   $as_echo_n "(cached) " >&6
3315 else
3316   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3318 do
3319   IFS=$as_save_IFS
3320   test -z "$as_dir" && as_dir=.
3321     for ac_prog in mkdir gmkdir; do
3322          for ac_exec_ext in '' $ac_executable_extensions; do
3323            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3324            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3325              'mkdir (GNU coreutils) '* | \
3326              'mkdir (coreutils) '* | \
3327              'mkdir (fileutils) '4.1*)
3328                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3329                break 3;;
3330            esac
3331          done
3332        done
3333   done
3334 IFS=$as_save_IFS
3335
3336 fi
3337
3338   test -d ./--version && rmdir ./--version
3339   if test "${ac_cv_path_mkdir+set}" = set; then
3340     MKDIR_P="$ac_cv_path_mkdir -p"
3341   else
3342     # As a last resort, use the slow shell script.  Don't cache a
3343     # value for MKDIR_P within a source directory, because that will
3344     # break other packages using the cache if that directory is
3345     # removed, or if the value is a relative name.
3346     MKDIR_P="$ac_install_sh -d"
3347   fi
3348 fi
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3350 $as_echo "$MKDIR_P" >&6; }
3351
3352 for ac_prog in gawk mawk nawk awk
3353 do
3354   # Extract the first word of "$ac_prog", so it can be a program name with args.
3355 set dummy $ac_prog; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if ${ac_cv_prog_AWK+:} false; then :
3359   $as_echo_n "(cached) " >&6
3360 else
3361   if test -n "$AWK"; then
3362   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3366 do
3367   IFS=$as_save_IFS
3368   test -z "$as_dir" && as_dir=.
3369     for ac_exec_ext in '' $ac_executable_extensions; do
3370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371     ac_cv_prog_AWK="$ac_prog"
3372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373     break 2
3374   fi
3375 done
3376   done
3377 IFS=$as_save_IFS
3378
3379 fi
3380 fi
3381 AWK=$ac_cv_prog_AWK
3382 if test -n "$AWK"; then
3383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3384 $as_echo "$AWK" >&6; }
3385 else
3386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3388 fi
3389
3390
3391   test -n "$AWK" && break
3392 done
3393
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3395 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3396 set x ${MAKE-make}
3397 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3398 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3399   $as_echo_n "(cached) " >&6
3400 else
3401   cat >conftest.make <<\_ACEOF
3402 SHELL = /bin/sh
3403 all:
3404         @echo '@@@%%%=$(MAKE)=@@@%%%'
3405 _ACEOF
3406 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3407 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3408   *@@@%%%=?*=@@@%%%*)
3409     eval ac_cv_prog_make_${ac_make}_set=yes;;
3410   *)
3411     eval ac_cv_prog_make_${ac_make}_set=no;;
3412 esac
3413 rm -f conftest.make
3414 fi
3415 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3417 $as_echo "yes" >&6; }
3418   SET_MAKE=
3419 else
3420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3422   SET_MAKE="MAKE=${MAKE-make}"
3423 fi
3424
3425 rm -rf .tst 2>/dev/null
3426 mkdir .tst 2>/dev/null
3427 if test -d .tst; then
3428   am__leading_dot=.
3429 else
3430   am__leading_dot=_
3431 fi
3432 rmdir .tst 2>/dev/null
3433
3434 # Check whether --enable-silent-rules was given.
3435 if test "${enable_silent_rules+set}" = set; then :
3436   enableval=$enable_silent_rules;
3437 fi
3438
3439 case $enable_silent_rules in # (((
3440   yes) AM_DEFAULT_VERBOSITY=0;;
3441    no) AM_DEFAULT_VERBOSITY=1;;
3442     *) AM_DEFAULT_VERBOSITY=1;;
3443 esac
3444 am_make=${MAKE-make}
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3446 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3447 if ${am_cv_make_support_nested_variables+:} false; then :
3448   $as_echo_n "(cached) " >&6
3449 else
3450   if $as_echo 'TRUE=$(BAR$(V))
3451 BAR0=false
3452 BAR1=true
3453 V=1
3454 am__doit:
3455         @$(TRUE)
3456 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3457   am_cv_make_support_nested_variables=yes
3458 else
3459   am_cv_make_support_nested_variables=no
3460 fi
3461 fi
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3463 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3464 if test $am_cv_make_support_nested_variables = yes; then
3465     AM_V='$(V)'
3466   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3467 else
3468   AM_V=$AM_DEFAULT_VERBOSITY
3469   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3470 fi
3471 AM_BACKSLASH='\'
3472
3473 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3474   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3475   # is not polluted with repeated "-I."
3476   am__isrc=' -I$(srcdir)'
3477   # test to see if srcdir already configured
3478   if test -f $srcdir/config.status; then
3479     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3480   fi
3481 fi
3482
3483 # test whether we have cygpath
3484 if test -z "$CYGPATH_W"; then
3485   if (cygpath --version) >/dev/null 2>/dev/null; then
3486     CYGPATH_W='cygpath -w'
3487   else
3488     CYGPATH_W=echo
3489   fi
3490 fi
3491
3492
3493 # Define the identity of the package.
3494  PACKAGE='nlfaultinjection'
3495  VERSION='g249f564'
3496
3497
3498 cat >>confdefs.h <<_ACEOF
3499 #define PACKAGE "$PACKAGE"
3500 _ACEOF
3501
3502
3503 cat >>confdefs.h <<_ACEOF
3504 #define VERSION "$VERSION"
3505 _ACEOF
3506
3507 # Some tools Automake needs.
3508
3509 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3510
3511
3512 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3513
3514
3515 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3516
3517
3518 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3519
3520
3521 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3522
3523 # For better backward compatibility.  To be removed once Automake 1.9.x
3524 # dies out for good.  For more background, see:
3525 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3526 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3527 mkdir_p='$(MKDIR_P)'
3528
3529 # We need awk for the "check" target.  The system "awk" is bad on
3530 # some platforms.
3531 # Always define AMTAR for backward compatibility.  Yes, it's still used
3532 # in the wild :-(  We should find a proper way to deprecate it ...
3533 AMTAR='$${TAR-tar}'
3534
3535
3536 # We'll loop over all known methods to create a tar archive until one works.
3537 _am_tools='gnutar  pax cpio none'
3538
3539
3540
3541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3542 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3543
3544   # Go ahead even if we have the value already cached.  We do so because we
3545   # need to set the values for the 'am__tar' and 'am__untar' variables.
3546   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
3547
3548   for _am_tool in $_am_tools; do
3549     case $_am_tool in
3550     gnutar)
3551       for _am_tar in tar gnutar gtar; do
3552         { echo "$as_me:$LINENO: $_am_tar --version" >&5
3553    ($_am_tar --version) >&5 2>&5
3554    ac_status=$?
3555    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556    (exit $ac_status); } && break
3557       done
3558       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3559       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3560       am__untar="$_am_tar -xf -"
3561       ;;
3562     plaintar)
3563       # Must skip GNU tar: if it does not support --format= it doesn't create
3564       # ustar tarball either.
3565       (tar --version) >/dev/null 2>&1 && continue
3566       am__tar='tar chf - "$$tardir"'
3567       am__tar_='tar chf - "$tardir"'
3568       am__untar='tar xf -'
3569       ;;
3570     pax)
3571       am__tar='pax -L -x pax -w "$$tardir"'
3572       am__tar_='pax -L -x pax -w "$tardir"'
3573       am__untar='pax -r'
3574       ;;
3575     cpio)
3576       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3577       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3578       am__untar='cpio -i -H pax -d'
3579       ;;
3580     none)
3581       am__tar=false
3582       am__tar_=false
3583       am__untar=false
3584       ;;
3585     esac
3586
3587     # If the value was cached, stop now.  We just wanted to have am__tar
3588     # and am__untar set.
3589     test -n "${am_cv_prog_tar_pax}" && break
3590
3591     # tar/untar a dummy directory, and stop if the command works.
3592     rm -rf conftest.dir
3593     mkdir conftest.dir
3594     echo GrepMe > conftest.dir/file
3595     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3596    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3597    ac_status=$?
3598    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599    (exit $ac_status); }
3600     rm -rf conftest.dir
3601     if test -s conftest.tar; then
3602       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3603    ($am__untar <conftest.tar) >&5 2>&5
3604    ac_status=$?
3605    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606    (exit $ac_status); }
3607       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3608    (cat conftest.dir/file) >&5 2>&5
3609    ac_status=$?
3610    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611    (exit $ac_status); }
3612       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3613     fi
3614   done
3615   rm -rf conftest.dir
3616
3617   if ${am_cv_prog_tar_pax+:} false; then :
3618   $as_echo_n "(cached) " >&6
3619 else
3620   am_cv_prog_tar_pax=$_am_tool
3621 fi
3622
3623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3624 $as_echo "$am_cv_prog_tar_pax" >&6; }
3625
3626
3627
3628
3629
3630
3631 # POSIX will say in a future version that running "rm -f" with no argument
3632 # is OK; and we want to be able to make that assumption in our Makefile
3633 # recipes.  So use an aggressive probe to check that the usage we want is
3634 # actually supported "in the wild" to an acceptable degree.
3635 # See automake bug#10828.
3636 # To make any issue more visible, cause the running configure to be aborted
3637 # by default if the 'rm' program in use doesn't match our expectations; the
3638 # user can still override this though.
3639 if rm -f && rm -fr && rm -rf; then : OK; else
3640   cat >&2 <<'END'
3641 Oops!
3642
3643 Your 'rm' program seems unable to run without file operands specified
3644 on the command line, even when the '-f' option is present.  This is contrary
3645 to the behaviour of most rm programs out there, and not conforming with
3646 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3647
3648 Please tell bug-automake@gnu.org about your system, including the value
3649 of your $PATH and any error possibly output before this message.  This
3650 can help us improve future automake versions.
3651
3652 END
3653   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3654     echo 'Configuration will proceed anyway, since you have set the' >&2
3655     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3656     echo >&2
3657   else
3658     cat >&2 <<'END'
3659 Aborting the configuration process, to ensure you take notice of the issue.
3660
3661 You can download and install GNU coreutils to get an 'rm' implementation
3662 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3663
3664 If you want to complete the configuration process using your problematic
3665 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3666 to "yes", and re-run configure.
3667
3668 END
3669     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3670   fi
3671 fi
3672
3673 #
3674 # Silent build rules requires at least automake-1.11. Employ
3675 # techniques for not breaking earlier versions of automake.
3676 #
3677 # Check whether --enable-silent-rules was given.
3678 if test "${enable_silent_rules+set}" = set; then :
3679   enableval=$enable_silent_rules;
3680 fi
3681
3682 case $enable_silent_rules in # (((
3683   yes) AM_DEFAULT_VERBOSITY=0;;
3684    no) AM_DEFAULT_VERBOSITY=1;;
3685     *) AM_DEFAULT_VERBOSITY=0;;
3686 esac
3687 am_make=${MAKE-make}
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3689 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3690 if ${am_cv_make_support_nested_variables+:} false; then :
3691   $as_echo_n "(cached) " >&6
3692 else
3693   if $as_echo 'TRUE=$(BAR$(V))
3694 BAR0=false
3695 BAR1=true
3696 V=1
3697 am__doit:
3698         @$(TRUE)
3699 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3700   am_cv_make_support_nested_variables=yes
3701 else
3702   am_cv_make_support_nested_variables=no
3703 fi
3704 fi
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3706 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3707 if test $am_cv_make_support_nested_variables = yes; then
3708     AM_V='$(V)'
3709   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3710 else
3711   AM_V=$AM_DEFAULT_VERBOSITY
3712   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3713 fi
3714 AM_BACKSLASH='\'
3715
3716 # Check whether --enable-silent-rules was given.
3717 if test "${enable_silent_rules+set}" = set; then :
3718   enableval=$enable_silent_rules;
3719 fi
3720
3721 case $enable_silent_rules in # (((
3722   yes) AM_DEFAULT_VERBOSITY=0;;
3723    no) AM_DEFAULT_VERBOSITY=1;;
3724     *) AM_DEFAULT_VERBOSITY=0;;
3725 esac
3726 am_make=${MAKE-make}
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3728 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3729 if ${am_cv_make_support_nested_variables+:} false; then :
3730   $as_echo_n "(cached) " >&6
3731 else
3732   if $as_echo 'TRUE=$(BAR$(V))
3733 BAR0=false
3734 BAR1=true
3735 V=1
3736 am__doit:
3737         @$(TRUE)
3738 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3739   am_cv_make_support_nested_variables=yes
3740 else
3741   am_cv_make_support_nested_variables=no
3742 fi
3743 fi
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3745 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3746 if test $am_cv_make_support_nested_variables = yes; then
3747     AM_V='$(V)'
3748   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3749 else
3750   AM_V=$AM_DEFAULT_VERBOSITY
3751   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3752 fi
3753 AM_BACKSLASH='\'
3754
3755
3756 #
3757 # Enable maintainer mode to prevent the package from constantly trying
3758 # to rebuild configure, Makefile.in, etc. Rebuilding such files rarely,
3759 # if ever, needs to be done "in the field".
3760 #
3761 # Use the included 'bootstrap' script instead when necessary.
3762 #
3763
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3765 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3766     # Check whether --enable-maintainer-mode was given.
3767 if test "${enable_maintainer_mode+set}" = set; then :
3768   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3769 else
3770   USE_MAINTAINER_MODE=no
3771 fi
3772
3773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3774 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3775    if test $USE_MAINTAINER_MODE = yes; then
3776   MAINTAINER_MODE_TRUE=
3777   MAINTAINER_MODE_FALSE='#'
3778 else
3779   MAINTAINER_MODE_TRUE='#'
3780   MAINTAINER_MODE_FALSE=
3781 fi
3782
3783   MAINT=$MAINTAINER_MODE_TRUE
3784
3785
3786
3787 #
3788 # Checks for build host programs
3789 #
3790
3791 # If we are cross-compiling and we are on an embedded target that
3792 # doesn't support independent, standalone executables, then all
3793 # compiler tests that attempt to create an executable will fail. In
3794 # such circumstances, set AC_NO_EXECUTABLES (see http://sourceware.org/
3795 # ml/newlib/2006/msg00353.html).
3796
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable executable checking" >&5
3798 $as_echo_n "checking whether to disable executable checking... " >&6; }
3799 if test "$cross_compiling" = yes; then
3800
3801     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3802 $as_echo "yes" >&6; }
3803 else
3804     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3806 fi
3807
3808 # Passing -Werror to GCC-based or -compatible compilers breaks some
3809 # autoconf tests (see
3810 # http://lists.gnu.org/archive/html/autoconf-patches/2008-09/msg00014.html).
3811 #
3812 # If -Werror has been passed transform it into -Wno-error. We'll
3813 # transform it back later with NL_RESTORE_WERROR.
3814
3815
3816
3817     if echo "${CPPFLAGS}" | grep -q '\-Werror'; then
3818         CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3819         nl_had_CPPFLAGS_werror=yes
3820     else
3821         nl_had_CPPFLAGS_werror=no
3822     fi
3823
3824
3825     if echo "${CFLAGS}" | grep -q '\-Werror'; then
3826         CFLAGS="`echo ${CFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3827         nl_had_CFLAGS_werror=yes
3828     else
3829         nl_had_CFLAGS_werror=no
3830     fi
3831
3832
3833     if echo "${CXXFLAGS}" | grep -q '\-Werror'; then
3834         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3835         nl_had_CXXFLAGS_werror=yes
3836     else
3837         nl_had_CXXFLAGS_werror=no
3838     fi
3839
3840
3841     if echo "${OBJCFLAGS}" | grep -q '\-Werror'; then
3842         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3843         nl_had_OBJCFLAGS_werror=yes
3844     else
3845         nl_had_OBJCFLAGS_werror=no
3846     fi
3847
3848
3849     if echo "${OBJCXXFLAGS}" | grep -q '\-Werror'; then
3850         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3851         nl_had_OBJCXXFLAGS_werror=yes
3852     else
3853         nl_had_OBJCXXFLAGS_werror=no
3854     fi
3855
3856
3857
3858 # Check for compilers.
3859 #
3860 # These should be checked BEFORE we check for and, implicitly,
3861 # initialize libtool such that libtool knows what languages it has to
3862 # work with.
3863
3864 DEPDIR="${am__leading_dot}deps"
3865
3866 ac_config_commands="$ac_config_commands depfiles"
3867
3868
3869 am_make=${MAKE-make}
3870 cat > confinc << 'END'
3871 am__doit:
3872         @echo this is the am__doit target
3873 .PHONY: am__doit
3874 END
3875 # If we don't find an include directive, just comment out the code.
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3877 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3878 am__include="#"
3879 am__quote=
3880 _am_result=none
3881 # First try GNU make style include.
3882 echo "include confinc" > confmf
3883 # Ignore all kinds of additional output from 'make'.
3884 case `$am_make -s -f confmf 2> /dev/null` in #(
3885 *the\ am__doit\ target*)
3886   am__include=include
3887   am__quote=
3888   _am_result=GNU
3889   ;;
3890 esac
3891 # Now try BSD make style include.
3892 if test "$am__include" = "#"; then
3893    echo '.include "confinc"' > confmf
3894    case `$am_make -s -f confmf 2> /dev/null` in #(
3895    *the\ am__doit\ target*)
3896      am__include=.include
3897      am__quote="\""
3898      _am_result=BSD
3899      ;;
3900    esac
3901 fi
3902
3903
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3905 $as_echo "$_am_result" >&6; }
3906 rm -f confinc confmf
3907
3908 # Check whether --enable-dependency-tracking was given.
3909 if test "${enable_dependency_tracking+set}" = set; then :
3910   enableval=$enable_dependency_tracking;
3911 fi
3912
3913 if test "x$enable_dependency_tracking" != xno; then
3914   am_depcomp="$ac_aux_dir/depcomp"
3915   AMDEPBACKSLASH='\'
3916   am__nodep='_no'
3917 fi
3918  if test "x$enable_dependency_tracking" != xno; then
3919   AMDEP_TRUE=
3920   AMDEP_FALSE='#'
3921 else
3922   AMDEP_TRUE='#'
3923   AMDEP_FALSE=
3924 fi
3925
3926
3927 ac_ext=c
3928 ac_cpp='$CPP $CPPFLAGS'
3929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3932 if test -n "$ac_tool_prefix"; then
3933   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3934 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if ${ac_cv_prog_CC+:} false; then :
3938   $as_echo_n "(cached) " >&6
3939 else
3940   if test -n "$CC"; then
3941   ac_cv_prog_CC="$CC" # Let the user override the test.
3942 else
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944 for as_dir in $PATH
3945 do
3946   IFS=$as_save_IFS
3947   test -z "$as_dir" && as_dir=.
3948     for ac_exec_ext in '' $ac_executable_extensions; do
3949   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3950     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952     break 2
3953   fi
3954 done
3955   done
3956 IFS=$as_save_IFS
3957
3958 fi
3959 fi
3960 CC=$ac_cv_prog_CC
3961 if test -n "$CC"; then
3962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3963 $as_echo "$CC" >&6; }
3964 else
3965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3967 fi
3968
3969
3970 fi
3971 if test -z "$ac_cv_prog_CC"; then
3972   ac_ct_CC=$CC
3973   # Extract the first word of "gcc", so it can be a program name with args.
3974 set dummy gcc; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3978   $as_echo_n "(cached) " >&6
3979 else
3980   if test -n "$ac_ct_CC"; then
3981   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3982 else
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3985 do
3986   IFS=$as_save_IFS
3987   test -z "$as_dir" && as_dir=.
3988     for ac_exec_ext in '' $ac_executable_extensions; do
3989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3990     ac_cv_prog_ac_ct_CC="gcc"
3991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992     break 2
3993   fi
3994 done
3995   done
3996 IFS=$as_save_IFS
3997
3998 fi
3999 fi
4000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4001 if test -n "$ac_ct_CC"; then
4002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4003 $as_echo "$ac_ct_CC" >&6; }
4004 else
4005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4007 fi
4008
4009   if test "x$ac_ct_CC" = x; then
4010     CC=""
4011   else
4012     case $cross_compiling:$ac_tool_warned in
4013 yes:)
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4016 ac_tool_warned=yes ;;
4017 esac
4018     CC=$ac_ct_CC
4019   fi
4020 else
4021   CC="$ac_cv_prog_CC"
4022 fi
4023
4024 if test -z "$CC"; then
4025           if test -n "$ac_tool_prefix"; then
4026     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4027 set dummy ${ac_tool_prefix}cc; ac_word=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if ${ac_cv_prog_CC+:} false; then :
4031   $as_echo_n "(cached) " >&6
4032 else
4033   if test -n "$CC"; then
4034   ac_cv_prog_CC="$CC" # Let the user override the test.
4035 else
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037 for as_dir in $PATH
4038 do
4039   IFS=$as_save_IFS
4040   test -z "$as_dir" && as_dir=.
4041     for ac_exec_ext in '' $ac_executable_extensions; do
4042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4043     ac_cv_prog_CC="${ac_tool_prefix}cc"
4044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045     break 2
4046   fi
4047 done
4048   done
4049 IFS=$as_save_IFS
4050
4051 fi
4052 fi
4053 CC=$ac_cv_prog_CC
4054 if test -n "$CC"; then
4055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4056 $as_echo "$CC" >&6; }
4057 else
4058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4060 fi
4061
4062
4063   fi
4064 fi
4065 if test -z "$CC"; then
4066   # Extract the first word of "cc", so it can be a program name with args.
4067 set dummy cc; ac_word=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_prog_CC+:} false; then :
4071   $as_echo_n "(cached) " >&6
4072 else
4073   if test -n "$CC"; then
4074   ac_cv_prog_CC="$CC" # Let the user override the test.
4075 else
4076   ac_prog_rejected=no
4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 for as_dir in $PATH
4079 do
4080   IFS=$as_save_IFS
4081   test -z "$as_dir" && as_dir=.
4082     for ac_exec_ext in '' $ac_executable_extensions; do
4083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4084     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4085        ac_prog_rejected=yes
4086        continue
4087      fi
4088     ac_cv_prog_CC="cc"
4089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4090     break 2
4091   fi
4092 done
4093   done
4094 IFS=$as_save_IFS
4095
4096 if test $ac_prog_rejected = yes; then
4097   # We found a bogon in the path, so make sure we never use it.
4098   set dummy $ac_cv_prog_CC
4099   shift
4100   if test $# != 0; then
4101     # We chose a different compiler from the bogus one.
4102     # However, it has the same basename, so the bogon will be chosen
4103     # first if we set CC to just the basename; use the full file name.
4104     shift
4105     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4106   fi
4107 fi
4108 fi
4109 fi
4110 CC=$ac_cv_prog_CC
4111 if test -n "$CC"; then
4112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4113 $as_echo "$CC" >&6; }
4114 else
4115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4117 fi
4118
4119
4120 fi
4121 if test -z "$CC"; then
4122   if test -n "$ac_tool_prefix"; then
4123   for ac_prog in cl.exe
4124   do
4125     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if ${ac_cv_prog_CC+:} false; then :
4130   $as_echo_n "(cached) " >&6
4131 else
4132   if test -n "$CC"; then
4133   ac_cv_prog_CC="$CC" # Let the user override the test.
4134 else
4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4136 for as_dir in $PATH
4137 do
4138   IFS=$as_save_IFS
4139   test -z "$as_dir" && as_dir=.
4140     for ac_exec_ext in '' $ac_executable_extensions; do
4141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4142     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4144     break 2
4145   fi
4146 done
4147   done
4148 IFS=$as_save_IFS
4149
4150 fi
4151 fi
4152 CC=$ac_cv_prog_CC
4153 if test -n "$CC"; then
4154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4155 $as_echo "$CC" >&6; }
4156 else
4157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4159 fi
4160
4161
4162     test -n "$CC" && break
4163   done
4164 fi
4165 if test -z "$CC"; then
4166   ac_ct_CC=$CC
4167   for ac_prog in cl.exe
4168 do
4169   # Extract the first word of "$ac_prog", so it can be a program name with args.
4170 set dummy $ac_prog; ac_word=$2
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4174   $as_echo_n "(cached) " >&6
4175 else
4176   if test -n "$ac_ct_CC"; then
4177   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4178 else
4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4180 for as_dir in $PATH
4181 do
4182   IFS=$as_save_IFS
4183   test -z "$as_dir" && as_dir=.
4184     for ac_exec_ext in '' $ac_executable_extensions; do
4185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4186     ac_cv_prog_ac_ct_CC="$ac_prog"
4187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188     break 2
4189   fi
4190 done
4191   done
4192 IFS=$as_save_IFS
4193
4194 fi
4195 fi
4196 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4197 if test -n "$ac_ct_CC"; then
4198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4199 $as_echo "$ac_ct_CC" >&6; }
4200 else
4201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202 $as_echo "no" >&6; }
4203 fi
4204
4205
4206   test -n "$ac_ct_CC" && break
4207 done
4208
4209   if test "x$ac_ct_CC" = x; then
4210     CC=""
4211   else
4212     case $cross_compiling:$ac_tool_warned in
4213 yes:)
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4216 ac_tool_warned=yes ;;
4217 esac
4218     CC=$ac_ct_CC
4219   fi
4220 fi
4221
4222 fi
4223
4224
4225 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4227 as_fn_error $? "no acceptable C compiler found in \$PATH
4228 See \`config.log' for more details" "$LINENO" 5; }
4229
4230 # Provide some information about the compiler.
4231 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4232 set X $ac_compile
4233 ac_compiler=$2
4234 for ac_option in --version -v -V -qversion; do
4235   { { ac_try="$ac_compiler $ac_option >&5"
4236 case "(($ac_try" in
4237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238   *) ac_try_echo=$ac_try;;
4239 esac
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4243   ac_status=$?
4244   if test -s conftest.err; then
4245     sed '10a\
4246 ... rest of stderr output deleted ...
4247          10q' conftest.err >conftest.er1
4248     cat conftest.er1 >&5
4249   fi
4250   rm -f conftest.er1 conftest.err
4251   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4252   test $ac_status = 0; }
4253 done
4254
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h.  */
4257
4258 int
4259 main ()
4260 {
4261
4262   ;
4263   return 0;
4264 }
4265 _ACEOF
4266 if { { ac_try="$ac_link"
4267 case "(($ac_try" in
4268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269   *) ac_try_echo=$ac_try;;
4270 esac
4271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4272 $as_echo "$ac_try_echo"; } >&5
4273   (eval "$ac_link") 2>&5
4274   ac_status=$?
4275   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4276   test $ac_status = 0; }; then
4277   ac_no_link=no
4278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h.  */
4280
4281 int
4282 main ()
4283 {
4284
4285   ;
4286   return 0;
4287 }
4288 _ACEOF
4289 ac_clean_files_save=$ac_clean_files
4290 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4291 # Try to create an executable without -o first, disregard a.out.
4292 # It will help us diagnose broken compilers, and finding out an intuition
4293 # of exeext.
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4295 $as_echo_n "checking whether the C compiler works... " >&6; }
4296 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4297
4298 # The possible output files:
4299 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4300
4301 ac_rmfiles=
4302 for ac_file in $ac_files
4303 do
4304   case $ac_file in
4305     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4306     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4307   esac
4308 done
4309 rm -f $ac_rmfiles
4310
4311 if { { ac_try="$ac_link_default"
4312 case "(($ac_try" in
4313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314   *) ac_try_echo=$ac_try;;
4315 esac
4316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4317 $as_echo "$ac_try_echo"; } >&5
4318   (eval "$ac_link_default") 2>&5
4319   ac_status=$?
4320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4321   test $ac_status = 0; }; then :
4322   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4323 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4324 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4325 # so that the user can short-circuit this test for compilers unknown to
4326 # Autoconf.
4327 for ac_file in $ac_files ''
4328 do
4329   test -f "$ac_file" || continue
4330   case $ac_file in
4331     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4332         ;;
4333     [ab].out )
4334         # We found the default executable, but exeext='' is most
4335         # certainly right.
4336         break;;
4337     *.* )
4338         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4339         then :; else
4340            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4341         fi
4342         # We set ac_cv_exeext here because the later test for it is not
4343         # safe: cross compilers may not add the suffix if given an `-o'
4344         # argument, so we may need to know it at that point already.
4345         # Even if this section looks crufty: it has the advantage of
4346         # actually working.
4347         break;;
4348     * )
4349         break;;
4350   esac
4351 done
4352 test "$ac_cv_exeext" = no && ac_cv_exeext=
4353
4354 else
4355   ac_file=''
4356 fi
4357 if test -z "$ac_file"; then :
4358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359 $as_echo "no" >&6; }
4360 $as_echo "$as_me: failed program was:" >&5
4361 sed 's/^/| /' conftest.$ac_ext >&5
4362
4363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4365 as_fn_error 77 "C compiler cannot create executables
4366 See \`config.log' for more details" "$LINENO" 5; }
4367 else
4368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4369 $as_echo "yes" >&6; }
4370 fi
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4372 $as_echo_n "checking for C compiler default output file name... " >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4374 $as_echo "$ac_file" >&6; }
4375 ac_exeext=$ac_cv_exeext
4376
4377 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4378 ac_clean_files=$ac_clean_files_save
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4380 $as_echo_n "checking for suffix of executables... " >&6; }
4381 if { { ac_try="$ac_link"
4382 case "(($ac_try" in
4383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384   *) ac_try_echo=$ac_try;;
4385 esac
4386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387 $as_echo "$ac_try_echo"; } >&5
4388   (eval "$ac_link") 2>&5
4389   ac_status=$?
4390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391   test $ac_status = 0; }; then :
4392   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4393 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4394 # work properly (i.e., refer to `conftest.exe'), while it won't with
4395 # `rm'.
4396 for ac_file in conftest.exe conftest conftest.*; do
4397   test -f "$ac_file" || continue
4398   case $ac_file in
4399     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4400     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4401           break;;
4402     * ) break;;
4403   esac
4404 done
4405 else
4406   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4408 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4409 See \`config.log' for more details" "$LINENO" 5; }
4410 fi
4411 rm -f conftest conftest$ac_cv_exeext
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4413 $as_echo "$ac_cv_exeext" >&6; }
4414
4415 rm -f conftest.$ac_ext
4416 EXEEXT=$ac_cv_exeext
4417 ac_exeext=$EXEEXT
4418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h.  */
4420 #include <stdio.h>
4421 int
4422 main ()
4423 {
4424 FILE *f = fopen ("conftest.out", "w");
4425  return ferror (f) || fclose (f) != 0;
4426
4427   ;
4428   return 0;
4429 }
4430 _ACEOF
4431 ac_clean_files="$ac_clean_files conftest.out"
4432 # Check that the compiler produces executables we can run.  If not, either
4433 # the compiler is broken, or we cross compile.
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4435 $as_echo_n "checking whether we are cross compiling... " >&6; }
4436 if test "$cross_compiling" != yes; then
4437   { { ac_try="$ac_link"
4438 case "(($ac_try" in
4439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440   *) ac_try_echo=$ac_try;;
4441 esac
4442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4443 $as_echo "$ac_try_echo"; } >&5
4444   (eval "$ac_link") 2>&5
4445   ac_status=$?
4446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4447   test $ac_status = 0; }
4448   if { ac_try='./conftest$ac_cv_exeext'
4449   { { case "(($ac_try" in
4450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451   *) ac_try_echo=$ac_try;;
4452 esac
4453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4454 $as_echo "$ac_try_echo"; } >&5
4455   (eval "$ac_try") 2>&5
4456   ac_status=$?
4457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4458   test $ac_status = 0; }; }; then
4459     cross_compiling=no
4460   else
4461     if test "$cross_compiling" = maybe; then
4462         cross_compiling=yes
4463     else
4464         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4466 as_fn_error $? "cannot run C compiled programs.
4467 If you meant to cross compile, use \`--host'.
4468 See \`config.log' for more details" "$LINENO" 5; }
4469     fi
4470   fi
4471 fi
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4473 $as_echo "$cross_compiling" >&6; }
4474
4475 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4476 ac_clean_files=$ac_clean_files_save
4477
4478 else
4479   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
4480   ac_no_link=yes
4481   # Setting cross_compile will disable run tests; it will
4482   # also disable AC_CHECK_FILE but that's generally
4483   # correct if we can't link.
4484   cross_compiling=yes
4485   EXEEXT=
4486   # Check that the compiler produces executables we can run.  If not, either
4487 # the compiler is broken, or we cross compile.
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4489 $as_echo_n "checking whether we are cross compiling... " >&6; }
4490 if test "$cross_compiling" != yes; then
4491   { { ac_try="$ac_link"
4492 case "(($ac_try" in
4493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4494   *) ac_try_echo=$ac_try;;
4495 esac
4496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4497 $as_echo "$ac_try_echo"; } >&5
4498   (eval "$ac_link") 2>&5
4499   ac_status=$?
4500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4501   test $ac_status = 0; }
4502   if { ac_try='./conftest$ac_cv_exeext'
4503   { { case "(($ac_try" in
4504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505   *) ac_try_echo=$ac_try;;
4506 esac
4507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4508 $as_echo "$ac_try_echo"; } >&5
4509   (eval "$ac_try") 2>&5
4510   ac_status=$?
4511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4512   test $ac_status = 0; }; }; then
4513     cross_compiling=no
4514   else
4515     if test "$cross_compiling" = maybe; then
4516         cross_compiling=yes
4517     else
4518         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4520 as_fn_error $? "cannot run C compiled programs.
4521 If you meant to cross compile, use \`--host'.
4522 See \`config.log' for more details" "$LINENO" 5; }
4523     fi
4524   fi
4525 fi
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4527 $as_echo "$cross_compiling" >&6; }
4528
4529 fi
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4531 $as_echo_n "checking for suffix of object files... " >&6; }
4532 if ${ac_cv_objext+:} false; then :
4533   $as_echo_n "(cached) " >&6
4534 else
4535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h.  */
4537
4538 int
4539 main ()
4540 {
4541
4542   ;
4543   return 0;
4544 }
4545 _ACEOF
4546 rm -f conftest.o conftest.obj
4547 if { { ac_try="$ac_compile"
4548 case "(($ac_try" in
4549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4550   *) ac_try_echo=$ac_try;;
4551 esac
4552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4553 $as_echo "$ac_try_echo"; } >&5
4554   (eval "$ac_compile") 2>&5
4555   ac_status=$?
4556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4557   test $ac_status = 0; }; then :
4558   for ac_file in conftest.o conftest.obj conftest.*; do
4559   test -f "$ac_file" || continue;
4560   case $ac_file in
4561     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4562     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4563        break;;
4564   esac
4565 done
4566 else
4567   $as_echo "$as_me: failed program was:" >&5
4568 sed 's/^/| /' conftest.$ac_ext >&5
4569
4570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4572 as_fn_error $? "cannot compute suffix of object files: cannot compile
4573 See \`config.log' for more details" "$LINENO" 5; }
4574 fi
4575 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4576 fi
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4578 $as_echo "$ac_cv_objext" >&6; }
4579 OBJEXT=$ac_cv_objext
4580 ac_objext=$OBJEXT
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4582 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4583 if ${ac_cv_c_compiler_gnu+:} false; then :
4584   $as_echo_n "(cached) " >&6
4585 else
4586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h.  */
4588
4589 int
4590 main ()
4591 {
4592 #ifndef __GNUC__
4593        choke me
4594 #endif
4595
4596   ;
4597   return 0;
4598 }
4599 _ACEOF
4600 if ac_fn_c_try_compile "$LINENO"; then :
4601   ac_compiler_gnu=yes
4602 else
4603   ac_compiler_gnu=no
4604 fi
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4607
4608 fi
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4610 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4611 if test $ac_compiler_gnu = yes; then
4612   GCC=yes
4613 else
4614   GCC=
4615 fi
4616 ac_test_CFLAGS=${CFLAGS+set}
4617 ac_save_CFLAGS=$CFLAGS
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4619 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4620 if ${ac_cv_prog_cc_g+:} false; then :
4621   $as_echo_n "(cached) " >&6
4622 else
4623   ac_save_c_werror_flag=$ac_c_werror_flag
4624    ac_c_werror_flag=yes
4625    ac_cv_prog_cc_g=no
4626    CFLAGS="-g"
4627    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h.  */
4629
4630 int
4631 main ()
4632 {
4633
4634   ;
4635   return 0;
4636 }
4637 _ACEOF
4638 if ac_fn_c_try_compile "$LINENO"; then :
4639   ac_cv_prog_cc_g=yes
4640 else
4641   CFLAGS=""
4642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h.  */
4644
4645 int
4646 main ()
4647 {
4648
4649   ;
4650   return 0;
4651 }
4652 _ACEOF
4653 if ac_fn_c_try_compile "$LINENO"; then :
4654
4655 else
4656   ac_c_werror_flag=$ac_save_c_werror_flag
4657          CFLAGS="-g"
4658          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h.  */
4660
4661 int
4662 main ()
4663 {
4664
4665   ;
4666   return 0;
4667 }
4668 _ACEOF
4669 if ac_fn_c_try_compile "$LINENO"; then :
4670   ac_cv_prog_cc_g=yes
4671 fi
4672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4673 fi
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4675 fi
4676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4677    ac_c_werror_flag=$ac_save_c_werror_flag
4678 fi
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4680 $as_echo "$ac_cv_prog_cc_g" >&6; }
4681 if test "$ac_test_CFLAGS" = set; then
4682   CFLAGS=$ac_save_CFLAGS
4683 elif test $ac_cv_prog_cc_g = yes; then
4684   if test "$GCC" = yes; then
4685     CFLAGS="-g -O2"
4686   else
4687     CFLAGS="-g"
4688   fi
4689 else
4690   if test "$GCC" = yes; then
4691     CFLAGS="-O2"
4692   else
4693     CFLAGS=
4694   fi
4695 fi
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4697 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4698 if ${ac_cv_prog_cc_c89+:} false; then :
4699   $as_echo_n "(cached) " >&6
4700 else
4701   ac_cv_prog_cc_c89=no
4702 ac_save_CC=$CC
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h.  */
4705 #include <stdarg.h>
4706 #include <stdio.h>
4707 #include <sys/types.h>
4708 #include <sys/stat.h>
4709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4710 struct buf { int x; };
4711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4712 static char *e (p, i)
4713      char **p;
4714      int i;
4715 {
4716   return p[i];
4717 }
4718 static char *f (char * (*g) (char **, int), char **p, ...)
4719 {
4720   char *s;
4721   va_list v;
4722   va_start (v,p);
4723   s = g (p, va_arg (v,int));
4724   va_end (v);
4725   return s;
4726 }
4727
4728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4729    function prototypes and stuff, but not '\xHH' hex character constants.
4730    These don't provoke an error unfortunately, instead are silently treated
4731    as 'x'.  The following induces an error, until -std is added to get
4732    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4733    array size at least.  It's necessary to write '\x00'==0 to get something
4734    that's true only with -std.  */
4735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4736
4737 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4738    inside strings and character constants.  */
4739 #define FOO(x) 'x'
4740 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4741
4742 int test (int i, double x);
4743 struct s1 {int (*f) (int a);};
4744 struct s2 {int (*f) (double a);};
4745 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4746 int argc;
4747 char **argv;
4748 int
4749 main ()
4750 {
4751 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4752   ;
4753   return 0;
4754 }
4755 _ACEOF
4756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4757         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4758 do
4759   CC="$ac_save_CC $ac_arg"
4760   if ac_fn_c_try_compile "$LINENO"; then :
4761   ac_cv_prog_cc_c89=$ac_arg
4762 fi
4763 rm -f core conftest.err conftest.$ac_objext
4764   test "x$ac_cv_prog_cc_c89" != "xno" && break
4765 done
4766 rm -f conftest.$ac_ext
4767 CC=$ac_save_CC
4768
4769 fi
4770 # AC_CACHE_VAL
4771 case "x$ac_cv_prog_cc_c89" in
4772   x)
4773     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4774 $as_echo "none needed" >&6; } ;;
4775   xno)
4776     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4777 $as_echo "unsupported" >&6; } ;;
4778   *)
4779     CC="$CC $ac_cv_prog_cc_c89"
4780     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4781 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4782 esac
4783 if test "x$ac_cv_prog_cc_c89" != xno; then :
4784
4785 fi
4786
4787 ac_ext=c
4788 ac_cpp='$CPP $CPPFLAGS'
4789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4792
4793 ac_ext=c
4794 ac_cpp='$CPP $CPPFLAGS'
4795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4799 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4800 if ${am_cv_prog_cc_c_o+:} false; then :
4801   $as_echo_n "(cached) " >&6
4802 else
4803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h.  */
4805
4806 int
4807 main ()
4808 {
4809
4810   ;
4811   return 0;
4812 }
4813 _ACEOF
4814   # Make sure it works both with $CC and with simple cc.
4815   # Following AC_PROG_CC_C_O, we do the test twice because some
4816   # compilers refuse to overwrite an existing .o file with -o,
4817   # though they will create one.
4818   am_cv_prog_cc_c_o=yes
4819   for am_i in 1 2; do
4820     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4821    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4822    ac_status=$?
4823    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824    (exit $ac_status); } \
4825          && test -f conftest2.$ac_objext; then
4826       : OK
4827     else
4828       am_cv_prog_cc_c_o=no
4829       break
4830     fi
4831   done
4832   rm -f core conftest*
4833   unset am_i
4834 fi
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4836 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4837 if test "$am_cv_prog_cc_c_o" != yes; then
4838    # Losing compiler, so override with the script.
4839    # FIXME: It is wrong to rewrite CC.
4840    # But if we don't then we get into trouble of one sort or another.
4841    # A longer-term fix would be to have automake use am__CC in this case,
4842    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4843    CC="$am_aux_dir/compile $CC"
4844 fi
4845 ac_ext=c
4846 ac_cpp='$CPP $CPPFLAGS'
4847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4850
4851
4852 depcc="$CC"   am_compiler_list=
4853
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4855 $as_echo_n "checking dependency style of $depcc... " >&6; }
4856 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4857   $as_echo_n "(cached) " >&6
4858 else
4859   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4860   # We make a subdir and do the tests there.  Otherwise we can end up
4861   # making bogus files that we don't know about and never remove.  For
4862   # instance it was reported that on HP-UX the gcc test will end up
4863   # making a dummy file named 'D' -- because '-MD' means "put the output
4864   # in D".
4865   rm -rf conftest.dir
4866   mkdir conftest.dir
4867   # Copy depcomp to subdir because otherwise we won't find it if we're
4868   # using a relative directory.
4869   cp "$am_depcomp" conftest.dir
4870   cd conftest.dir
4871   # We will build objects and dependencies in a subdirectory because
4872   # it helps to detect inapplicable dependency modes.  For instance
4873   # both Tru64's cc and ICC support -MD to output dependencies as a
4874   # side effect of compilation, but ICC will put the dependencies in
4875   # the current directory while Tru64 will put them in the object
4876   # directory.
4877   mkdir sub
4878
4879   am_cv_CC_dependencies_compiler_type=none
4880   if test "$am_compiler_list" = ""; then
4881      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4882   fi
4883   am__universal=false
4884   case " $depcc " in #(
4885      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4886      esac
4887
4888   for depmode in $am_compiler_list; do
4889     # Setup a source with many dependencies, because some compilers
4890     # like to wrap large dependency lists on column 80 (with \), and
4891     # we should not choose a depcomp mode which is confused by this.
4892     #
4893     # We need to recreate these files for each test, as the compiler may
4894     # overwrite some of them when testing with obscure command lines.
4895     # This happens at least with the AIX C compiler.
4896     : > sub/conftest.c
4897     for i in 1 2 3 4 5 6; do
4898       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4899       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4900       # Solaris 10 /bin/sh.
4901       echo '/* dummy */' > sub/conftst$i.h
4902     done
4903     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4904
4905     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4906     # mode.  It turns out that the SunPro C++ compiler does not properly
4907     # handle '-M -o', and we need to detect this.  Also, some Intel
4908     # versions had trouble with output in subdirs.
4909     am__obj=sub/conftest.${OBJEXT-o}
4910     am__minus_obj="-o $am__obj"
4911     case $depmode in
4912     gcc)
4913       # This depmode causes a compiler race in universal mode.
4914       test "$am__universal" = false || continue
4915       ;;
4916     nosideeffect)
4917       # After this tag, mechanisms are not by side-effect, so they'll
4918       # only be used when explicitly requested.
4919       if test "x$enable_dependency_tracking" = xyes; then
4920         continue
4921       else
4922         break
4923       fi
4924       ;;
4925     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4926       # This compiler won't grok '-c -o', but also, the minuso test has
4927       # not run yet.  These depmodes are late enough in the game, and
4928       # so weak that their functioning should not be impacted.
4929       am__obj=conftest.${OBJEXT-o}
4930       am__minus_obj=
4931       ;;
4932     none) break ;;
4933     esac
4934     if depmode=$depmode \
4935        source=sub/conftest.c object=$am__obj \
4936        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4937        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4938          >/dev/null 2>conftest.err &&
4939        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4940        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4941        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4942        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4943       # icc doesn't choke on unknown options, it will just issue warnings
4944       # or remarks (even with -Werror).  So we grep stderr for any message
4945       # that says an option was ignored or not supported.
4946       # When given -MP, icc 7.0 and 7.1 complain thusly:
4947       #   icc: Command line warning: ignoring option '-M'; no argument required
4948       # The diagnosis changed in icc 8.0:
4949       #   icc: Command line remark: option '-MP' not supported
4950       if (grep 'ignoring option' conftest.err ||
4951           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4952         am_cv_CC_dependencies_compiler_type=$depmode
4953         break
4954       fi
4955     fi
4956   done
4957
4958   cd ..
4959   rm -rf conftest.dir
4960 else
4961   am_cv_CC_dependencies_compiler_type=none
4962 fi
4963
4964 fi
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4966 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4967 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4968
4969  if
4970   test "x$enable_dependency_tracking" != xno \
4971   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4972   am__fastdepCC_TRUE=
4973   am__fastdepCC_FALSE='#'
4974 else
4975   am__fastdepCC_TRUE='#'
4976   am__fastdepCC_FALSE=
4977 fi
4978
4979
4980 ac_ext=c
4981 ac_cpp='$CPP $CPPFLAGS'
4982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4986 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4987 # On Suns, sometimes $CPP names a directory.
4988 if test -n "$CPP" && test -d "$CPP"; then
4989   CPP=
4990 fi
4991 if test -z "$CPP"; then
4992   if ${ac_cv_prog_CPP+:} false; then :
4993   $as_echo_n "(cached) " >&6
4994 else
4995       # Double quotes because CPP needs to be expanded
4996     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4997     do
4998       ac_preproc_ok=false
4999 for ac_c_preproc_warn_flag in '' yes
5000 do
5001   # Use a header file that comes with gcc, so configuring glibc
5002   # with a fresh cross-compiler works.
5003   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5004   # <limits.h> exists even on freestanding compilers.
5005   # On the NeXT, cc -E runs the code through the compiler's parser,
5006   # not just through cpp. "Syntax error" is here to catch this case.
5007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5008 /* end confdefs.h.  */
5009 #ifdef __STDC__
5010 # include <limits.h>
5011 #else
5012 # include <assert.h>
5013 #endif
5014                      Syntax error
5015 _ACEOF
5016 if ac_fn_c_try_cpp "$LINENO"; then :
5017
5018 else
5019   # Broken: fails on valid input.
5020 continue
5021 fi
5022 rm -f conftest.err conftest.i conftest.$ac_ext
5023
5024   # OK, works on sane cases.  Now check whether nonexistent headers
5025   # can be detected and how.
5026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h.  */
5028 #include <ac_nonexistent.h>
5029 _ACEOF
5030 if ac_fn_c_try_cpp "$LINENO"; then :
5031   # Broken: success on invalid input.
5032 continue
5033 else
5034   # Passes both tests.
5035 ac_preproc_ok=:
5036 break
5037 fi
5038 rm -f conftest.err conftest.i conftest.$ac_ext
5039
5040 done
5041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5042 rm -f conftest.i conftest.err conftest.$ac_ext
5043 if $ac_preproc_ok; then :
5044   break
5045 fi
5046
5047     done
5048     ac_cv_prog_CPP=$CPP
5049
5050 fi
5051   CPP=$ac_cv_prog_CPP
5052 else
5053   ac_cv_prog_CPP=$CPP
5054 fi
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5056 $as_echo "$CPP" >&6; }
5057 ac_preproc_ok=false
5058 for ac_c_preproc_warn_flag in '' yes
5059 do
5060   # Use a header file that comes with gcc, so configuring glibc
5061   # with a fresh cross-compiler works.
5062   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5063   # <limits.h> exists even on freestanding compilers.
5064   # On the NeXT, cc -E runs the code through the compiler's parser,
5065   # not just through cpp. "Syntax error" is here to catch this case.
5066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5067 /* end confdefs.h.  */
5068 #ifdef __STDC__
5069 # include <limits.h>
5070 #else
5071 # include <assert.h>
5072 #endif
5073                      Syntax error
5074 _ACEOF
5075 if ac_fn_c_try_cpp "$LINENO"; then :
5076
5077 else
5078   # Broken: fails on valid input.
5079 continue
5080 fi
5081 rm -f conftest.err conftest.i conftest.$ac_ext
5082
5083   # OK, works on sane cases.  Now check whether nonexistent headers
5084   # can be detected and how.
5085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086 /* end confdefs.h.  */
5087 #include <ac_nonexistent.h>
5088 _ACEOF
5089 if ac_fn_c_try_cpp "$LINENO"; then :
5090   # Broken: success on invalid input.
5091 continue
5092 else
5093   # Passes both tests.
5094 ac_preproc_ok=:
5095 break
5096 fi
5097 rm -f conftest.err conftest.i conftest.$ac_ext
5098
5099 done
5100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5101 rm -f conftest.i conftest.err conftest.$ac_ext
5102 if $ac_preproc_ok; then :
5103
5104 else
5105   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5107 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5108 See \`config.log' for more details" "$LINENO" 5; }
5109 fi
5110
5111 ac_ext=c
5112 ac_cpp='$CPP $CPPFLAGS'
5113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5116
5117 ac_c_preproc_warn_flag=yes
5118
5119 ac_ext=c
5120 ac_cpp='$CPP $CPPFLAGS'
5121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5124 if test -n "$ac_tool_prefix"; then
5125   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5126 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_CC+:} false; then :
5130   $as_echo_n "(cached) " >&6
5131 else
5132   if test -n "$CC"; then
5133   ac_cv_prog_CC="$CC" # Let the user override the test.
5134 else
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5136 for as_dir in $PATH
5137 do
5138   IFS=$as_save_IFS
5139   test -z "$as_dir" && as_dir=.
5140     for ac_exec_ext in '' $ac_executable_extensions; do
5141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5142     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144     break 2
5145   fi
5146 done
5147   done
5148 IFS=$as_save_IFS
5149
5150 fi
5151 fi
5152 CC=$ac_cv_prog_CC
5153 if test -n "$CC"; then
5154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5155 $as_echo "$CC" >&6; }
5156 else
5157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5159 fi
5160
5161
5162 fi
5163 if test -z "$ac_cv_prog_CC"; then
5164   ac_ct_CC=$CC
5165   # Extract the first word of "gcc", so it can be a program name with args.
5166 set dummy gcc; ac_word=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5170   $as_echo_n "(cached) " >&6
5171 else
5172   if test -n "$ac_ct_CC"; then
5173   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5177 do
5178   IFS=$as_save_IFS
5179   test -z "$as_dir" && as_dir=.
5180     for ac_exec_ext in '' $ac_executable_extensions; do
5181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182     ac_cv_prog_ac_ct_CC="gcc"
5183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184     break 2
5185   fi
5186 done
5187   done
5188 IFS=$as_save_IFS
5189
5190 fi
5191 fi
5192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5193 if test -n "$ac_ct_CC"; then
5194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5195 $as_echo "$ac_ct_CC" >&6; }
5196 else
5197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5199 fi
5200
5201   if test "x$ac_ct_CC" = x; then
5202     CC=""
5203   else
5204     case $cross_compiling:$ac_tool_warned in
5205 yes:)
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5208 ac_tool_warned=yes ;;
5209 esac
5210     CC=$ac_ct_CC
5211   fi
5212 else
5213   CC="$ac_cv_prog_CC"
5214 fi
5215
5216 if test -z "$CC"; then
5217           if test -n "$ac_tool_prefix"; then
5218     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5219 set dummy ${ac_tool_prefix}cc; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_CC+:} false; then :
5223   $as_echo_n "(cached) " >&6
5224 else
5225   if test -n "$CC"; then
5226   ac_cv_prog_CC="$CC" # Let the user override the test.
5227 else
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 for as_dir in $PATH
5230 do
5231   IFS=$as_save_IFS
5232   test -z "$as_dir" && as_dir=.
5233     for ac_exec_ext in '' $ac_executable_extensions; do
5234   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5235     ac_cv_prog_CC="${ac_tool_prefix}cc"
5236     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237     break 2
5238   fi
5239 done
5240   done
5241 IFS=$as_save_IFS
5242
5243 fi
5244 fi
5245 CC=$ac_cv_prog_CC
5246 if test -n "$CC"; then
5247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5248 $as_echo "$CC" >&6; }
5249 else
5250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5252 fi
5253
5254
5255   fi
5256 fi
5257 if test -z "$CC"; then
5258   # Extract the first word of "cc", so it can be a program name with args.
5259 set dummy cc; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_CC+:} false; then :
5263   $as_echo_n "(cached) " >&6
5264 else
5265   if test -n "$CC"; then
5266   ac_cv_prog_CC="$CC" # Let the user override the test.
5267 else
5268   ac_prog_rejected=no
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5271 do
5272   IFS=$as_save_IFS
5273   test -z "$as_dir" && as_dir=.
5274     for ac_exec_ext in '' $ac_executable_extensions; do
5275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5276     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5277        ac_prog_rejected=yes
5278        continue
5279      fi
5280     ac_cv_prog_CC="cc"
5281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282     break 2
5283   fi
5284 done
5285   done
5286 IFS=$as_save_IFS
5287
5288 if test $ac_prog_rejected = yes; then
5289   # We found a bogon in the path, so make sure we never use it.
5290   set dummy $ac_cv_prog_CC
5291   shift
5292   if test $# != 0; then
5293     # We chose a different compiler from the bogus one.
5294     # However, it has the same basename, so the bogon will be chosen
5295     # first if we set CC to just the basename; use the full file name.
5296     shift
5297     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5298   fi
5299 fi
5300 fi
5301 fi
5302 CC=$ac_cv_prog_CC
5303 if test -n "$CC"; then
5304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5305 $as_echo "$CC" >&6; }
5306 else
5307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 $as_echo "no" >&6; }
5309 fi
5310
5311
5312 fi
5313 if test -z "$CC"; then
5314   if test -n "$ac_tool_prefix"; then
5315   for ac_prog in cl.exe
5316   do
5317     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5320 $as_echo_n "checking for $ac_word... " >&6; }
5321 if ${ac_cv_prog_CC+:} false; then :
5322   $as_echo_n "(cached) " >&6
5323 else
5324   if test -n "$CC"; then
5325   ac_cv_prog_CC="$CC" # Let the user override the test.
5326 else
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 for as_dir in $PATH
5329 do
5330   IFS=$as_save_IFS
5331   test -z "$as_dir" && as_dir=.
5332     for ac_exec_ext in '' $ac_executable_extensions; do
5333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5336     break 2
5337   fi
5338 done
5339   done
5340 IFS=$as_save_IFS
5341
5342 fi
5343 fi
5344 CC=$ac_cv_prog_CC
5345 if test -n "$CC"; then
5346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5347 $as_echo "$CC" >&6; }
5348 else
5349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350 $as_echo "no" >&6; }
5351 fi
5352
5353
5354     test -n "$CC" && break
5355   done
5356 fi
5357 if test -z "$CC"; then
5358   ac_ct_CC=$CC
5359   for ac_prog in cl.exe
5360 do
5361   # Extract the first word of "$ac_prog", so it can be a program name with args.
5362 set dummy $ac_prog; ac_word=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5366   $as_echo_n "(cached) " >&6
5367 else
5368   if test -n "$ac_ct_CC"; then
5369   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5370 else
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH
5373 do
5374   IFS=$as_save_IFS
5375   test -z "$as_dir" && as_dir=.
5376     for ac_exec_ext in '' $ac_executable_extensions; do
5377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5378     ac_cv_prog_ac_ct_CC="$ac_prog"
5379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380     break 2
5381   fi
5382 done
5383   done
5384 IFS=$as_save_IFS
5385
5386 fi
5387 fi
5388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5389 if test -n "$ac_ct_CC"; then
5390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5391 $as_echo "$ac_ct_CC" >&6; }
5392 else
5393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5395 fi
5396
5397
5398   test -n "$ac_ct_CC" && break
5399 done
5400
5401   if test "x$ac_ct_CC" = x; then
5402     CC=""
5403   else
5404     case $cross_compiling:$ac_tool_warned in
5405 yes:)
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5408 ac_tool_warned=yes ;;
5409 esac
5410     CC=$ac_ct_CC
5411   fi
5412 fi
5413
5414 fi
5415
5416
5417 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5419 as_fn_error $? "no acceptable C compiler found in \$PATH
5420 See \`config.log' for more details" "$LINENO" 5; }
5421
5422 # Provide some information about the compiler.
5423 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5424 set X $ac_compile
5425 ac_compiler=$2
5426 for ac_option in --version -v -V -qversion; do
5427   { { ac_try="$ac_compiler $ac_option >&5"
5428 case "(($ac_try" in
5429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430   *) ac_try_echo=$ac_try;;
5431 esac
5432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5433 $as_echo "$ac_try_echo"; } >&5
5434   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5435   ac_status=$?
5436   if test -s conftest.err; then
5437     sed '10a\
5438 ... rest of stderr output deleted ...
5439          10q' conftest.err >conftest.er1
5440     cat conftest.er1 >&5
5441   fi
5442   rm -f conftest.er1 conftest.err
5443   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5444   test $ac_status = 0; }
5445 done
5446
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5448 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5449 if ${ac_cv_c_compiler_gnu+:} false; then :
5450   $as_echo_n "(cached) " >&6
5451 else
5452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h.  */
5454
5455 int
5456 main ()
5457 {
5458 #ifndef __GNUC__
5459        choke me
5460 #endif
5461
5462   ;
5463   return 0;
5464 }
5465 _ACEOF
5466 if ac_fn_c_try_compile "$LINENO"; then :
5467   ac_compiler_gnu=yes
5468 else
5469   ac_compiler_gnu=no
5470 fi
5471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5472 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5473
5474 fi
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5476 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5477 if test $ac_compiler_gnu = yes; then
5478   GCC=yes
5479 else
5480   GCC=
5481 fi
5482 ac_test_CFLAGS=${CFLAGS+set}
5483 ac_save_CFLAGS=$CFLAGS
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5485 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5486 if ${ac_cv_prog_cc_g+:} false; then :
5487   $as_echo_n "(cached) " >&6
5488 else
5489   ac_save_c_werror_flag=$ac_c_werror_flag
5490    ac_c_werror_flag=yes
5491    ac_cv_prog_cc_g=no
5492    CFLAGS="-g"
5493    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494 /* end confdefs.h.  */
5495
5496 int
5497 main ()
5498 {
5499
5500   ;
5501   return 0;
5502 }
5503 _ACEOF
5504 if ac_fn_c_try_compile "$LINENO"; then :
5505   ac_cv_prog_cc_g=yes
5506 else
5507   CFLAGS=""
5508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5509 /* end confdefs.h.  */
5510
5511 int
5512 main ()
5513 {
5514
5515   ;
5516   return 0;
5517 }
5518 _ACEOF
5519 if ac_fn_c_try_compile "$LINENO"; then :
5520
5521 else
5522   ac_c_werror_flag=$ac_save_c_werror_flag
5523          CFLAGS="-g"
5524          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h.  */
5526
5527 int
5528 main ()
5529 {
5530
5531   ;
5532   return 0;
5533 }
5534 _ACEOF
5535 if ac_fn_c_try_compile "$LINENO"; then :
5536   ac_cv_prog_cc_g=yes
5537 fi
5538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5539 fi
5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5541 fi
5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5543    ac_c_werror_flag=$ac_save_c_werror_flag
5544 fi
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5546 $as_echo "$ac_cv_prog_cc_g" >&6; }
5547 if test "$ac_test_CFLAGS" = set; then
5548   CFLAGS=$ac_save_CFLAGS
5549 elif test $ac_cv_prog_cc_g = yes; then
5550   if test "$GCC" = yes; then
5551     CFLAGS="-g -O2"
5552   else
5553     CFLAGS="-g"
5554   fi
5555 else
5556   if test "$GCC" = yes; then
5557     CFLAGS="-O2"
5558   else
5559     CFLAGS=
5560   fi
5561 fi
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5563 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5564 if ${ac_cv_prog_cc_c89+:} false; then :
5565   $as_echo_n "(cached) " >&6
5566 else
5567   ac_cv_prog_cc_c89=no
5568 ac_save_CC=$CC
5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h.  */
5571 #include <stdarg.h>
5572 #include <stdio.h>
5573 #include <sys/types.h>
5574 #include <sys/stat.h>
5575 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5576 struct buf { int x; };
5577 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5578 static char *e (p, i)
5579      char **p;
5580      int i;
5581 {
5582   return p[i];
5583 }
5584 static char *f (char * (*g) (char **, int), char **p, ...)
5585 {
5586   char *s;
5587   va_list v;
5588   va_start (v,p);
5589   s = g (p, va_arg (v,int));
5590   va_end (v);
5591   return s;
5592 }
5593
5594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5595    function prototypes and stuff, but not '\xHH' hex character constants.
5596    These don't provoke an error unfortunately, instead are silently treated
5597    as 'x'.  The following induces an error, until -std is added to get
5598    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5599    array size at least.  It's necessary to write '\x00'==0 to get something
5600    that's true only with -std.  */
5601 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5602
5603 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5604    inside strings and character constants.  */
5605 #define FOO(x) 'x'
5606 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5607
5608 int test (int i, double x);
5609 struct s1 {int (*f) (int a);};
5610 struct s2 {int (*f) (double a);};
5611 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5612 int argc;
5613 char **argv;
5614 int
5615 main ()
5616 {
5617 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5618   ;
5619   return 0;
5620 }
5621 _ACEOF
5622 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5623         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5624 do
5625   CC="$ac_save_CC $ac_arg"
5626   if ac_fn_c_try_compile "$LINENO"; then :
5627   ac_cv_prog_cc_c89=$ac_arg
5628 fi
5629 rm -f core conftest.err conftest.$ac_objext
5630   test "x$ac_cv_prog_cc_c89" != "xno" && break
5631 done
5632 rm -f conftest.$ac_ext
5633 CC=$ac_save_CC
5634
5635 fi
5636 # AC_CACHE_VAL
5637 case "x$ac_cv_prog_cc_c89" in
5638   x)
5639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5640 $as_echo "none needed" >&6; } ;;
5641   xno)
5642     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5643 $as_echo "unsupported" >&6; } ;;
5644   *)
5645     CC="$CC $ac_cv_prog_cc_c89"
5646     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5647 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5648 esac
5649 if test "x$ac_cv_prog_cc_c89" != xno; then :
5650
5651 fi
5652
5653 ac_ext=c
5654 ac_cpp='$CPP $CPPFLAGS'
5655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5658
5659 ac_ext=c
5660 ac_cpp='$CPP $CPPFLAGS'
5661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5665 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5666 if ${am_cv_prog_cc_c_o+:} false; then :
5667   $as_echo_n "(cached) " >&6
5668 else
5669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h.  */
5671
5672 int
5673 main ()
5674 {
5675
5676   ;
5677   return 0;
5678 }
5679 _ACEOF
5680   # Make sure it works both with $CC and with simple cc.
5681   # Following AC_PROG_CC_C_O, we do the test twice because some
5682   # compilers refuse to overwrite an existing .o file with -o,
5683   # though they will create one.
5684   am_cv_prog_cc_c_o=yes
5685   for am_i in 1 2; do
5686     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5687    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5688    ac_status=$?
5689    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690    (exit $ac_status); } \
5691          && test -f conftest2.$ac_objext; then
5692       : OK
5693     else
5694       am_cv_prog_cc_c_o=no
5695       break
5696     fi
5697   done
5698   rm -f core conftest*
5699   unset am_i
5700 fi
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5702 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5703 if test "$am_cv_prog_cc_c_o" != yes; then
5704    # Losing compiler, so override with the script.
5705    # FIXME: It is wrong to rewrite CC.
5706    # But if we don't then we get into trouble of one sort or another.
5707    # A longer-term fix would be to have automake use am__CC in this case,
5708    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5709    CC="$am_aux_dir/compile $CC"
5710 fi
5711 ac_ext=c
5712 ac_cpp='$CPP $CPPFLAGS'
5713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5716
5717
5718 depcc="$CC"   am_compiler_list=
5719
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5721 $as_echo_n "checking dependency style of $depcc... " >&6; }
5722 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5723   $as_echo_n "(cached) " >&6
5724 else
5725   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5726   # We make a subdir and do the tests there.  Otherwise we can end up
5727   # making bogus files that we don't know about and never remove.  For
5728   # instance it was reported that on HP-UX the gcc test will end up
5729   # making a dummy file named 'D' -- because '-MD' means "put the output
5730   # in D".
5731   rm -rf conftest.dir
5732   mkdir conftest.dir
5733   # Copy depcomp to subdir because otherwise we won't find it if we're
5734   # using a relative directory.
5735   cp "$am_depcomp" conftest.dir
5736   cd conftest.dir
5737   # We will build objects and dependencies in a subdirectory because
5738   # it helps to detect inapplicable dependency modes.  For instance
5739   # both Tru64's cc and ICC support -MD to output dependencies as a
5740   # side effect of compilation, but ICC will put the dependencies in
5741   # the current directory while Tru64 will put them in the object
5742   # directory.
5743   mkdir sub
5744
5745   am_cv_CC_dependencies_compiler_type=none
5746   if test "$am_compiler_list" = ""; then
5747      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5748   fi
5749   am__universal=false
5750   case " $depcc " in #(
5751      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5752      esac
5753
5754   for depmode in $am_compiler_list; do
5755     # Setup a source with many dependencies, because some compilers
5756     # like to wrap large dependency lists on column 80 (with \), and
5757     # we should not choose a depcomp mode which is confused by this.
5758     #
5759     # We need to recreate these files for each test, as the compiler may
5760     # overwrite some of them when testing with obscure command lines.
5761     # This happens at least with the AIX C compiler.
5762     : > sub/conftest.c
5763     for i in 1 2 3 4 5 6; do
5764       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5765       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5766       # Solaris 10 /bin/sh.
5767       echo '/* dummy */' > sub/conftst$i.h
5768     done
5769     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5770
5771     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5772     # mode.  It turns out that the SunPro C++ compiler does not properly
5773     # handle '-M -o', and we need to detect this.  Also, some Intel
5774     # versions had trouble with output in subdirs.
5775     am__obj=sub/conftest.${OBJEXT-o}
5776     am__minus_obj="-o $am__obj"
5777     case $depmode in
5778     gcc)
5779       # This depmode causes a compiler race in universal mode.
5780       test "$am__universal" = false || continue
5781       ;;
5782     nosideeffect)
5783       # After this tag, mechanisms are not by side-effect, so they'll
5784       # only be used when explicitly requested.
5785       if test "x$enable_dependency_tracking" = xyes; then
5786         continue
5787       else
5788         break
5789       fi
5790       ;;
5791     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5792       # This compiler won't grok '-c -o', but also, the minuso test has
5793       # not run yet.  These depmodes are late enough in the game, and
5794       # so weak that their functioning should not be impacted.
5795       am__obj=conftest.${OBJEXT-o}
5796       am__minus_obj=
5797       ;;
5798     none) break ;;
5799     esac
5800     if depmode=$depmode \
5801        source=sub/conftest.c object=$am__obj \
5802        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5803        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5804          >/dev/null 2>conftest.err &&
5805        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5806        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5807        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5808        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5809       # icc doesn't choke on unknown options, it will just issue warnings
5810       # or remarks (even with -Werror).  So we grep stderr for any message
5811       # that says an option was ignored or not supported.
5812       # When given -MP, icc 7.0 and 7.1 complain thusly:
5813       #   icc: Command line warning: ignoring option '-M'; no argument required
5814       # The diagnosis changed in icc 8.0:
5815       #   icc: Command line remark: option '-MP' not supported
5816       if (grep 'ignoring option' conftest.err ||
5817           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5818         am_cv_CC_dependencies_compiler_type=$depmode
5819         break
5820       fi
5821     fi
5822   done
5823
5824   cd ..
5825   rm -rf conftest.dir
5826 else
5827   am_cv_CC_dependencies_compiler_type=none
5828 fi
5829
5830 fi
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5832 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5833 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5834
5835  if
5836   test "x$enable_dependency_tracking" != xno \
5837   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5838   am__fastdepCC_TRUE=
5839   am__fastdepCC_FALSE='#'
5840 else
5841   am__fastdepCC_TRUE='#'
5842   am__fastdepCC_FALSE=
5843 fi
5844
5845
5846 if test "x$CC" != xcc; then
5847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5848 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5849 else
5850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5851 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5852 fi
5853 set dummy $CC; ac_cc=`$as_echo "$2" |
5854                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5855 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5856   $as_echo_n "(cached) " >&6
5857 else
5858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h.  */
5860
5861 int
5862 main ()
5863 {
5864
5865   ;
5866   return 0;
5867 }
5868 _ACEOF
5869 # Make sure it works both with $CC and with simple cc.
5870 # We do the test twice because some compilers refuse to overwrite an
5871 # existing .o file with -o, though they will create one.
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   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5896   if test "x$CC" != xcc; then
5897     # Test first that cc exists at all.
5898     if { ac_try='cc -c conftest.$ac_ext >&5'
5899   { { case "(($ac_try" in
5900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5901   *) ac_try_echo=$ac_try;;
5902 esac
5903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5904 $as_echo "$ac_try_echo"; } >&5
5905   (eval "$ac_try") 2>&5
5906   ac_status=$?
5907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5908   test $ac_status = 0; }; }; then
5909       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5910       rm -f conftest2.*
5911       if { { case "(($ac_try" in
5912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5913   *) ac_try_echo=$ac_try;;
5914 esac
5915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5916 $as_echo "$ac_try_echo"; } >&5
5917   (eval "$ac_try") 2>&5
5918   ac_status=$?
5919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5920   test $ac_status = 0; } &&
5921          test -f conftest2.$ac_objext && { { case "(($ac_try" in
5922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5923   *) ac_try_echo=$ac_try;;
5924 esac
5925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5926 $as_echo "$ac_try_echo"; } >&5
5927   (eval "$ac_try") 2>&5
5928   ac_status=$?
5929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5930   test $ac_status = 0; };
5931       then
5932         # cc works too.
5933         :
5934       else
5935         # cc exists but doesn't like -o.
5936         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5937       fi
5938     fi
5939   fi
5940 else
5941   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5942 fi
5943 rm -f core conftest*
5944
5945 fi
5946 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5948 $as_echo "yes" >&6; }
5949 else
5950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5952
5953 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5954
5955 fi
5956
5957
5958 ac_ext=cpp
5959 ac_cpp='$CXXCPP $CPPFLAGS'
5960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5963 if test -z "$CXX"; then
5964   if test -n "$CCC"; then
5965     CXX=$CCC
5966   else
5967     if test -n "$ac_tool_prefix"; then
5968   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5969   do
5970     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if ${ac_cv_prog_CXX+:} false; then :
5975   $as_echo_n "(cached) " >&6
5976 else
5977   if test -n "$CXX"; then
5978   ac_cv_prog_CXX="$CXX" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5982 do
5983   IFS=$as_save_IFS
5984   test -z "$as_dir" && as_dir=.
5985     for ac_exec_ext in '' $ac_executable_extensions; do
5986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989     break 2
5990   fi
5991 done
5992   done
5993 IFS=$as_save_IFS
5994
5995 fi
5996 fi
5997 CXX=$ac_cv_prog_CXX
5998 if test -n "$CXX"; then
5999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6000 $as_echo "$CXX" >&6; }
6001 else
6002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6004 fi
6005
6006
6007     test -n "$CXX" && break
6008   done
6009 fi
6010 if test -z "$CXX"; then
6011   ac_ct_CXX=$CXX
6012   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6013 do
6014   # Extract the first word of "$ac_prog", so it can be a program name with args.
6015 set dummy $ac_prog; ac_word=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 $as_echo_n "checking for $ac_word... " >&6; }
6018 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6019   $as_echo_n "(cached) " >&6
6020 else
6021   if test -n "$ac_ct_CXX"; then
6022   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6023 else
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 for as_dir in $PATH
6026 do
6027   IFS=$as_save_IFS
6028   test -z "$as_dir" && as_dir=.
6029     for ac_exec_ext in '' $ac_executable_extensions; do
6030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031     ac_cv_prog_ac_ct_CXX="$ac_prog"
6032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033     break 2
6034   fi
6035 done
6036   done
6037 IFS=$as_save_IFS
6038
6039 fi
6040 fi
6041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6042 if test -n "$ac_ct_CXX"; then
6043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6044 $as_echo "$ac_ct_CXX" >&6; }
6045 else
6046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }
6048 fi
6049
6050
6051   test -n "$ac_ct_CXX" && break
6052 done
6053
6054   if test "x$ac_ct_CXX" = x; then
6055     CXX="g++"
6056   else
6057     case $cross_compiling:$ac_tool_warned in
6058 yes:)
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6061 ac_tool_warned=yes ;;
6062 esac
6063     CXX=$ac_ct_CXX
6064   fi
6065 fi
6066
6067   fi
6068 fi
6069 # Provide some information about the compiler.
6070 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6071 set X $ac_compile
6072 ac_compiler=$2
6073 for ac_option in --version -v -V -qversion; do
6074   { { ac_try="$ac_compiler $ac_option >&5"
6075 case "(($ac_try" in
6076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6077   *) ac_try_echo=$ac_try;;
6078 esac
6079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6080 $as_echo "$ac_try_echo"; } >&5
6081   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6082   ac_status=$?
6083   if test -s conftest.err; then
6084     sed '10a\
6085 ... rest of stderr output deleted ...
6086          10q' conftest.err >conftest.er1
6087     cat conftest.er1 >&5
6088   fi
6089   rm -f conftest.er1 conftest.err
6090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6091   test $ac_status = 0; }
6092 done
6093
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6095 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6096 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6097   $as_echo_n "(cached) " >&6
6098 else
6099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6100 /* end confdefs.h.  */
6101
6102 int
6103 main ()
6104 {
6105 #ifndef __GNUC__
6106        choke me
6107 #endif
6108
6109   ;
6110   return 0;
6111 }
6112 _ACEOF
6113 if ac_fn_cxx_try_compile "$LINENO"; then :
6114   ac_compiler_gnu=yes
6115 else
6116   ac_compiler_gnu=no
6117 fi
6118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6119 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6120
6121 fi
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6123 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6124 if test $ac_compiler_gnu = yes; then
6125   GXX=yes
6126 else
6127   GXX=
6128 fi
6129 ac_test_CXXFLAGS=${CXXFLAGS+set}
6130 ac_save_CXXFLAGS=$CXXFLAGS
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6132 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6133 if ${ac_cv_prog_cxx_g+:} false; then :
6134   $as_echo_n "(cached) " >&6
6135 else
6136   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6137    ac_cxx_werror_flag=yes
6138    ac_cv_prog_cxx_g=no
6139    CXXFLAGS="-g"
6140    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6141 /* end confdefs.h.  */
6142
6143 int
6144 main ()
6145 {
6146
6147   ;
6148   return 0;
6149 }
6150 _ACEOF
6151 if ac_fn_cxx_try_compile "$LINENO"; then :
6152   ac_cv_prog_cxx_g=yes
6153 else
6154   CXXFLAGS=""
6155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6156 /* end confdefs.h.  */
6157
6158 int
6159 main ()
6160 {
6161
6162   ;
6163   return 0;
6164 }
6165 _ACEOF
6166 if ac_fn_cxx_try_compile "$LINENO"; then :
6167
6168 else
6169   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6170          CXXFLAGS="-g"
6171          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h.  */
6173
6174 int
6175 main ()
6176 {
6177
6178   ;
6179   return 0;
6180 }
6181 _ACEOF
6182 if ac_fn_cxx_try_compile "$LINENO"; then :
6183   ac_cv_prog_cxx_g=yes
6184 fi
6185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6186 fi
6187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6188 fi
6189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6190    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6191 fi
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6193 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6194 if test "$ac_test_CXXFLAGS" = set; then
6195   CXXFLAGS=$ac_save_CXXFLAGS
6196 elif test $ac_cv_prog_cxx_g = yes; then
6197   if test "$GXX" = yes; then
6198     CXXFLAGS="-g -O2"
6199   else
6200     CXXFLAGS="-g"
6201   fi
6202 else
6203   if test "$GXX" = yes; then
6204     CXXFLAGS="-O2"
6205   else
6206     CXXFLAGS=
6207   fi
6208 fi
6209 ac_ext=c
6210 ac_cpp='$CPP $CPPFLAGS'
6211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6214
6215 depcc="$CXX"  am_compiler_list=
6216
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6218 $as_echo_n "checking dependency style of $depcc... " >&6; }
6219 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6220   $as_echo_n "(cached) " >&6
6221 else
6222   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6223   # We make a subdir and do the tests there.  Otherwise we can end up
6224   # making bogus files that we don't know about and never remove.  For
6225   # instance it was reported that on HP-UX the gcc test will end up
6226   # making a dummy file named 'D' -- because '-MD' means "put the output
6227   # in D".
6228   rm -rf conftest.dir
6229   mkdir conftest.dir
6230   # Copy depcomp to subdir because otherwise we won't find it if we're
6231   # using a relative directory.
6232   cp "$am_depcomp" conftest.dir
6233   cd conftest.dir
6234   # We will build objects and dependencies in a subdirectory because
6235   # it helps to detect inapplicable dependency modes.  For instance
6236   # both Tru64's cc and ICC support -MD to output dependencies as a
6237   # side effect of compilation, but ICC will put the dependencies in
6238   # the current directory while Tru64 will put them in the object
6239   # directory.
6240   mkdir sub
6241
6242   am_cv_CXX_dependencies_compiler_type=none
6243   if test "$am_compiler_list" = ""; then
6244      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6245   fi
6246   am__universal=false
6247   case " $depcc " in #(
6248      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6249      esac
6250
6251   for depmode in $am_compiler_list; do
6252     # Setup a source with many dependencies, because some compilers
6253     # like to wrap large dependency lists on column 80 (with \), and
6254     # we should not choose a depcomp mode which is confused by this.
6255     #
6256     # We need to recreate these files for each test, as the compiler may
6257     # overwrite some of them when testing with obscure command lines.
6258     # This happens at least with the AIX C compiler.
6259     : > sub/conftest.c
6260     for i in 1 2 3 4 5 6; do
6261       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6262       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6263       # Solaris 10 /bin/sh.
6264       echo '/* dummy */' > sub/conftst$i.h
6265     done
6266     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6267
6268     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6269     # mode.  It turns out that the SunPro C++ compiler does not properly
6270     # handle '-M -o', and we need to detect this.  Also, some Intel
6271     # versions had trouble with output in subdirs.
6272     am__obj=sub/conftest.${OBJEXT-o}
6273     am__minus_obj="-o $am__obj"
6274     case $depmode in
6275     gcc)
6276       # This depmode causes a compiler race in universal mode.
6277       test "$am__universal" = false || continue
6278       ;;
6279     nosideeffect)
6280       # After this tag, mechanisms are not by side-effect, so they'll
6281       # only be used when explicitly requested.
6282       if test "x$enable_dependency_tracking" = xyes; then
6283         continue
6284       else
6285         break
6286       fi
6287       ;;
6288     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6289       # This compiler won't grok '-c -o', but also, the minuso test has
6290       # not run yet.  These depmodes are late enough in the game, and
6291       # so weak that their functioning should not be impacted.
6292       am__obj=conftest.${OBJEXT-o}
6293       am__minus_obj=
6294       ;;
6295     none) break ;;
6296     esac
6297     if depmode=$depmode \
6298        source=sub/conftest.c object=$am__obj \
6299        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6300        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6301          >/dev/null 2>conftest.err &&
6302        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6303        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6304        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6305        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6306       # icc doesn't choke on unknown options, it will just issue warnings
6307       # or remarks (even with -Werror).  So we grep stderr for any message
6308       # that says an option was ignored or not supported.
6309       # When given -MP, icc 7.0 and 7.1 complain thusly:
6310       #   icc: Command line warning: ignoring option '-M'; no argument required
6311       # The diagnosis changed in icc 8.0:
6312       #   icc: Command line remark: option '-MP' not supported
6313       if (grep 'ignoring option' conftest.err ||
6314           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6315         am_cv_CXX_dependencies_compiler_type=$depmode
6316         break
6317       fi
6318     fi
6319   done
6320
6321   cd ..
6322   rm -rf conftest.dir
6323 else
6324   am_cv_CXX_dependencies_compiler_type=none
6325 fi
6326
6327 fi
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6329 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6330 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6331
6332  if
6333   test "x$enable_dependency_tracking" != xno \
6334   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6335   am__fastdepCXX_TRUE=
6336   am__fastdepCXX_FALSE='#'
6337 else
6338   am__fastdepCXX_TRUE='#'
6339   am__fastdepCXX_FALSE=
6340 fi
6341
6342
6343 ac_ext=cpp
6344 ac_cpp='$CXXCPP $CPPFLAGS'
6345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6349 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6350 if test -z "$CXXCPP"; then
6351   if ${ac_cv_prog_CXXCPP+:} false; then :
6352   $as_echo_n "(cached) " >&6
6353 else
6354       # Double quotes because CXXCPP needs to be expanded
6355     for CXXCPP in "$CXX -E" "/lib/cpp"
6356     do
6357       ac_preproc_ok=false
6358 for ac_cxx_preproc_warn_flag in '' yes
6359 do
6360   # Use a header file that comes with gcc, so configuring glibc
6361   # with a fresh cross-compiler works.
6362   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6363   # <limits.h> exists even on freestanding compilers.
6364   # On the NeXT, cc -E runs the code through the compiler's parser,
6365   # not just through cpp. "Syntax error" is here to catch this case.
6366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h.  */
6368 #ifdef __STDC__
6369 # include <limits.h>
6370 #else
6371 # include <assert.h>
6372 #endif
6373                      Syntax error
6374 _ACEOF
6375 if ac_fn_cxx_try_cpp "$LINENO"; then :
6376
6377 else
6378   # Broken: fails on valid input.
6379 continue
6380 fi
6381 rm -f conftest.err conftest.i conftest.$ac_ext
6382
6383   # OK, works on sane cases.  Now check whether nonexistent headers
6384   # can be detected and how.
6385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h.  */
6387 #include <ac_nonexistent.h>
6388 _ACEOF
6389 if ac_fn_cxx_try_cpp "$LINENO"; then :
6390   # Broken: success on invalid input.
6391 continue
6392 else
6393   # Passes both tests.
6394 ac_preproc_ok=:
6395 break
6396 fi
6397 rm -f conftest.err conftest.i conftest.$ac_ext
6398
6399 done
6400 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6401 rm -f conftest.i conftest.err conftest.$ac_ext
6402 if $ac_preproc_ok; then :
6403   break
6404 fi
6405
6406     done
6407     ac_cv_prog_CXXCPP=$CXXCPP
6408
6409 fi
6410   CXXCPP=$ac_cv_prog_CXXCPP
6411 else
6412   ac_cv_prog_CXXCPP=$CXXCPP
6413 fi
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6415 $as_echo "$CXXCPP" >&6; }
6416 ac_preproc_ok=false
6417 for ac_cxx_preproc_warn_flag in '' yes
6418 do
6419   # Use a header file that comes with gcc, so configuring glibc
6420   # with a fresh cross-compiler works.
6421   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6422   # <limits.h> exists even on freestanding compilers.
6423   # On the NeXT, cc -E runs the code through the compiler's parser,
6424   # not just through cpp. "Syntax error" is here to catch this case.
6425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h.  */
6427 #ifdef __STDC__
6428 # include <limits.h>
6429 #else
6430 # include <assert.h>
6431 #endif
6432                      Syntax error
6433 _ACEOF
6434 if ac_fn_cxx_try_cpp "$LINENO"; then :
6435
6436 else
6437   # Broken: fails on valid input.
6438 continue
6439 fi
6440 rm -f conftest.err conftest.i conftest.$ac_ext
6441
6442   # OK, works on sane cases.  Now check whether nonexistent headers
6443   # can be detected and how.
6444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h.  */
6446 #include <ac_nonexistent.h>
6447 _ACEOF
6448 if ac_fn_cxx_try_cpp "$LINENO"; then :
6449   # Broken: success on invalid input.
6450 continue
6451 else
6452   # Passes both tests.
6453 ac_preproc_ok=:
6454 break
6455 fi
6456 rm -f conftest.err conftest.i conftest.$ac_ext
6457
6458 done
6459 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6460 rm -f conftest.i conftest.err conftest.$ac_ext
6461 if $ac_preproc_ok; then :
6462
6463 else
6464   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6466 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
6467 See \`config.log' for more details" "$LINENO" 5; }
6468 fi
6469
6470 ac_ext=c
6471 ac_cpp='$CPP $CPPFLAGS'
6472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6475
6476
6477 ac_ext=cpp
6478 ac_cpp='$CXXCPP $CPPFLAGS'
6479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6482 if test -z "$CXX"; then
6483   if test -n "$CCC"; then
6484     CXX=$CCC
6485   else
6486     if test -n "$ac_tool_prefix"; then
6487   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6488   do
6489     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6490 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_prog_CXX+:} false; then :
6494   $as_echo_n "(cached) " >&6
6495 else
6496   if test -n "$CXX"; then
6497   ac_cv_prog_CXX="$CXX" # Let the user override the test.
6498 else
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 for as_dir in $PATH
6501 do
6502   IFS=$as_save_IFS
6503   test -z "$as_dir" && as_dir=.
6504     for ac_exec_ext in '' $ac_executable_extensions; do
6505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6506     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6508     break 2
6509   fi
6510 done
6511   done
6512 IFS=$as_save_IFS
6513
6514 fi
6515 fi
6516 CXX=$ac_cv_prog_CXX
6517 if test -n "$CXX"; then
6518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6519 $as_echo "$CXX" >&6; }
6520 else
6521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6523 fi
6524
6525
6526     test -n "$CXX" && break
6527   done
6528 fi
6529 if test -z "$CXX"; then
6530   ac_ct_CXX=$CXX
6531   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6532 do
6533   # Extract the first word of "$ac_prog", so it can be a program name with args.
6534 set dummy $ac_prog; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6538   $as_echo_n "(cached) " >&6
6539 else
6540   if test -n "$ac_ct_CXX"; then
6541   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6542 else
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 for as_dir in $PATH
6545 do
6546   IFS=$as_save_IFS
6547   test -z "$as_dir" && as_dir=.
6548     for ac_exec_ext in '' $ac_executable_extensions; do
6549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6550     ac_cv_prog_ac_ct_CXX="$ac_prog"
6551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552     break 2
6553   fi
6554 done
6555   done
6556 IFS=$as_save_IFS
6557
6558 fi
6559 fi
6560 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6561 if test -n "$ac_ct_CXX"; then
6562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6563 $as_echo "$ac_ct_CXX" >&6; }
6564 else
6565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6567 fi
6568
6569
6570   test -n "$ac_ct_CXX" && break
6571 done
6572
6573   if test "x$ac_ct_CXX" = x; then
6574     CXX="g++"
6575   else
6576     case $cross_compiling:$ac_tool_warned in
6577 yes:)
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6580 ac_tool_warned=yes ;;
6581 esac
6582     CXX=$ac_ct_CXX
6583   fi
6584 fi
6585
6586   fi
6587 fi
6588 # Provide some information about the compiler.
6589 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6590 set X $ac_compile
6591 ac_compiler=$2
6592 for ac_option in --version -v -V -qversion; do
6593   { { ac_try="$ac_compiler $ac_option >&5"
6594 case "(($ac_try" in
6595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6596   *) ac_try_echo=$ac_try;;
6597 esac
6598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6599 $as_echo "$ac_try_echo"; } >&5
6600   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6601   ac_status=$?
6602   if test -s conftest.err; then
6603     sed '10a\
6604 ... rest of stderr output deleted ...
6605          10q' conftest.err >conftest.er1
6606     cat conftest.er1 >&5
6607   fi
6608   rm -f conftest.er1 conftest.err
6609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6610   test $ac_status = 0; }
6611 done
6612
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6614 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6615 if ${ac_cv_cxx_compiler_gnu+:} false; then :
6616   $as_echo_n "(cached) " >&6
6617 else
6618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6619 /* end confdefs.h.  */
6620
6621 int
6622 main ()
6623 {
6624 #ifndef __GNUC__
6625        choke me
6626 #endif
6627
6628   ;
6629   return 0;
6630 }
6631 _ACEOF
6632 if ac_fn_cxx_try_compile "$LINENO"; then :
6633   ac_compiler_gnu=yes
6634 else
6635   ac_compiler_gnu=no
6636 fi
6637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6638 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6639
6640 fi
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6642 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6643 if test $ac_compiler_gnu = yes; then
6644   GXX=yes
6645 else
6646   GXX=
6647 fi
6648 ac_test_CXXFLAGS=${CXXFLAGS+set}
6649 ac_save_CXXFLAGS=$CXXFLAGS
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6651 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
6652 if ${ac_cv_prog_cxx_g+:} false; then :
6653   $as_echo_n "(cached) " >&6
6654 else
6655   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6656    ac_cxx_werror_flag=yes
6657    ac_cv_prog_cxx_g=no
6658    CXXFLAGS="-g"
6659    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h.  */
6661
6662 int
6663 main ()
6664 {
6665
6666   ;
6667   return 0;
6668 }
6669 _ACEOF
6670 if ac_fn_cxx_try_compile "$LINENO"; then :
6671   ac_cv_prog_cxx_g=yes
6672 else
6673   CXXFLAGS=""
6674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6675 /* end confdefs.h.  */
6676
6677 int
6678 main ()
6679 {
6680
6681   ;
6682   return 0;
6683 }
6684 _ACEOF
6685 if ac_fn_cxx_try_compile "$LINENO"; then :
6686
6687 else
6688   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6689          CXXFLAGS="-g"
6690          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h.  */
6692
6693 int
6694 main ()
6695 {
6696
6697   ;
6698   return 0;
6699 }
6700 _ACEOF
6701 if ac_fn_cxx_try_compile "$LINENO"; then :
6702   ac_cv_prog_cxx_g=yes
6703 fi
6704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6705 fi
6706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6707 fi
6708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6709    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6710 fi
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6712 $as_echo "$ac_cv_prog_cxx_g" >&6; }
6713 if test "$ac_test_CXXFLAGS" = set; then
6714   CXXFLAGS=$ac_save_CXXFLAGS
6715 elif test $ac_cv_prog_cxx_g = yes; then
6716   if test "$GXX" = yes; then
6717     CXXFLAGS="-g -O2"
6718   else
6719     CXXFLAGS="-g"
6720   fi
6721 else
6722   if test "$GXX" = yes; then
6723     CXXFLAGS="-O2"
6724   else
6725     CXXFLAGS=
6726   fi
6727 fi
6728 ac_ext=c
6729 ac_cpp='$CPP $CPPFLAGS'
6730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6733
6734 depcc="$CXX"  am_compiler_list=
6735
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6737 $as_echo_n "checking dependency style of $depcc... " >&6; }
6738 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6739   $as_echo_n "(cached) " >&6
6740 else
6741   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6742   # We make a subdir and do the tests there.  Otherwise we can end up
6743   # making bogus files that we don't know about and never remove.  For
6744   # instance it was reported that on HP-UX the gcc test will end up
6745   # making a dummy file named 'D' -- because '-MD' means "put the output
6746   # in D".
6747   rm -rf conftest.dir
6748   mkdir conftest.dir
6749   # Copy depcomp to subdir because otherwise we won't find it if we're
6750   # using a relative directory.
6751   cp "$am_depcomp" conftest.dir
6752   cd conftest.dir
6753   # We will build objects and dependencies in a subdirectory because
6754   # it helps to detect inapplicable dependency modes.  For instance
6755   # both Tru64's cc and ICC support -MD to output dependencies as a
6756   # side effect of compilation, but ICC will put the dependencies in
6757   # the current directory while Tru64 will put them in the object
6758   # directory.
6759   mkdir sub
6760
6761   am_cv_CXX_dependencies_compiler_type=none
6762   if test "$am_compiler_list" = ""; then
6763      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6764   fi
6765   am__universal=false
6766   case " $depcc " in #(
6767      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6768      esac
6769
6770   for depmode in $am_compiler_list; do
6771     # Setup a source with many dependencies, because some compilers
6772     # like to wrap large dependency lists on column 80 (with \), and
6773     # we should not choose a depcomp mode which is confused by this.
6774     #
6775     # We need to recreate these files for each test, as the compiler may
6776     # overwrite some of them when testing with obscure command lines.
6777     # This happens at least with the AIX C compiler.
6778     : > sub/conftest.c
6779     for i in 1 2 3 4 5 6; do
6780       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6781       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6782       # Solaris 10 /bin/sh.
6783       echo '/* dummy */' > sub/conftst$i.h
6784     done
6785     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6786
6787     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6788     # mode.  It turns out that the SunPro C++ compiler does not properly
6789     # handle '-M -o', and we need to detect this.  Also, some Intel
6790     # versions had trouble with output in subdirs.
6791     am__obj=sub/conftest.${OBJEXT-o}
6792     am__minus_obj="-o $am__obj"
6793     case $depmode in
6794     gcc)
6795       # This depmode causes a compiler race in universal mode.
6796       test "$am__universal" = false || continue
6797       ;;
6798     nosideeffect)
6799       # After this tag, mechanisms are not by side-effect, so they'll
6800       # only be used when explicitly requested.
6801       if test "x$enable_dependency_tracking" = xyes; then
6802         continue
6803       else
6804         break
6805       fi
6806       ;;
6807     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6808       # This compiler won't grok '-c -o', but also, the minuso test has
6809       # not run yet.  These depmodes are late enough in the game, and
6810       # so weak that their functioning should not be impacted.
6811       am__obj=conftest.${OBJEXT-o}
6812       am__minus_obj=
6813       ;;
6814     none) break ;;
6815     esac
6816     if depmode=$depmode \
6817        source=sub/conftest.c object=$am__obj \
6818        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6819        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6820          >/dev/null 2>conftest.err &&
6821        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6822        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6823        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6824        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6825       # icc doesn't choke on unknown options, it will just issue warnings
6826       # or remarks (even with -Werror).  So we grep stderr for any message
6827       # that says an option was ignored or not supported.
6828       # When given -MP, icc 7.0 and 7.1 complain thusly:
6829       #   icc: Command line warning: ignoring option '-M'; no argument required
6830       # The diagnosis changed in icc 8.0:
6831       #   icc: Command line remark: option '-MP' not supported
6832       if (grep 'ignoring option' conftest.err ||
6833           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6834         am_cv_CXX_dependencies_compiler_type=$depmode
6835         break
6836       fi
6837     fi
6838   done
6839
6840   cd ..
6841   rm -rf conftest.dir
6842 else
6843   am_cv_CXX_dependencies_compiler_type=none
6844 fi
6845
6846 fi
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6848 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6849 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6850
6851  if
6852   test "x$enable_dependency_tracking" != xno \
6853   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6854   am__fastdepCXX_TRUE=
6855   am__fastdepCXX_FALSE='#'
6856 else
6857   am__fastdepCXX_TRUE='#'
6858   am__fastdepCXX_FALSE=
6859 fi
6860
6861
6862 ac_ext=cpp
6863 ac_cpp='$CXXCPP $CPPFLAGS'
6864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX understands -c and -o together" >&5
6868 $as_echo_n "checking whether $CXX understands -c and -o together... " >&6; }
6869 if ${ac_cv_prog_cxx_c_o+:} false; then :
6870   $as_echo_n "(cached) " >&6
6871 else
6872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6873 /* end confdefs.h.  */
6874
6875 int
6876 main ()
6877 {
6878
6879   ;
6880   return 0;
6881 }
6882 _ACEOF
6883 # We test twice because some compilers refuse to overwrite an existing
6884 # `.o' file with `-o', although they will create one.
6885 ac_try='$CXX $CXXFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
6886 rm -f conftest2.*
6887 if { { case "(($ac_try" in
6888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6889   *) ac_try_echo=$ac_try;;
6890 esac
6891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6892 $as_echo "$ac_try_echo"; } >&5
6893   (eval "$ac_try") 2>&5
6894   ac_status=$?
6895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6896   test $ac_status = 0; } &&
6897      test -f conftest2.$ac_objext &&
6898      { { case "(($ac_try" in
6899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6900   *) ac_try_echo=$ac_try;;
6901 esac
6902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6903 $as_echo "$ac_try_echo"; } >&5
6904   (eval "$ac_try") 2>&5
6905   ac_status=$?
6906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6907   test $ac_status = 0; }; then
6908   ac_cv_prog_cxx_c_o=yes
6909 else
6910   ac_cv_prog_cxx_c_o=no
6911 fi
6912 rm -f conftest*
6913 fi
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_c_o" >&5
6915 $as_echo "$ac_cv_prog_cxx_c_o" >&6; }
6916 if test $ac_cv_prog_cxx_c_o = no; then
6917
6918 $as_echo "#define CXX_NO_MINUS_C_MINUS_O 1" >>confdefs.h
6919
6920 fi
6921 ac_ext=c
6922 ac_cpp='$CPP $CPPFLAGS'
6923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6926
6927
6928 # Check for other compiler toolchain tools.
6929
6930 if test -n "$ac_tool_prefix"; then
6931   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6932 set dummy ${ac_tool_prefix}ar; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_prog_AR+:} false; then :
6936   $as_echo_n "(cached) " >&6
6937 else
6938   if test -n "$AR"; then
6939   ac_cv_prog_AR="$AR" # Let the user override the test.
6940 else
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 for as_dir in $PATH
6943 do
6944   IFS=$as_save_IFS
6945   test -z "$as_dir" && as_dir=.
6946     for ac_exec_ext in '' $ac_executable_extensions; do
6947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948     ac_cv_prog_AR="${ac_tool_prefix}ar"
6949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950     break 2
6951   fi
6952 done
6953   done
6954 IFS=$as_save_IFS
6955
6956 fi
6957 fi
6958 AR=$ac_cv_prog_AR
6959 if test -n "$AR"; then
6960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6961 $as_echo "$AR" >&6; }
6962 else
6963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6965 fi
6966
6967
6968 fi
6969 if test -z "$ac_cv_prog_AR"; then
6970   ac_ct_AR=$AR
6971   # Extract the first word of "ar", so it can be a program name with args.
6972 set dummy ar; ac_word=$2
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6974 $as_echo_n "checking for $ac_word... " >&6; }
6975 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6976   $as_echo_n "(cached) " >&6
6977 else
6978   if test -n "$ac_ct_AR"; then
6979   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6980 else
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 for as_dir in $PATH
6983 do
6984   IFS=$as_save_IFS
6985   test -z "$as_dir" && as_dir=.
6986     for ac_exec_ext in '' $ac_executable_extensions; do
6987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6988     ac_cv_prog_ac_ct_AR="ar"
6989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6990     break 2
6991   fi
6992 done
6993   done
6994 IFS=$as_save_IFS
6995
6996 fi
6997 fi
6998 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6999 if test -n "$ac_ct_AR"; then
7000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7001 $as_echo "$ac_ct_AR" >&6; }
7002 else
7003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 $as_echo "no" >&6; }
7005 fi
7006
7007   if test "x$ac_ct_AR" = x; then
7008     AR=""
7009   else
7010     case $cross_compiling:$ac_tool_warned in
7011 yes:)
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7014 ac_tool_warned=yes ;;
7015 esac
7016     AR=$ac_ct_AR
7017   fi
7018 else
7019   AR="$ac_cv_prog_AR"
7020 fi
7021
7022 if test -n "$ac_tool_prefix"; then
7023   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7024 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_RANLIB+:} false; then :
7028   $as_echo_n "(cached) " >&6
7029 else
7030   if test -n "$RANLIB"; then
7031   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7032 else
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 for as_dir in $PATH
7035 do
7036   IFS=$as_save_IFS
7037   test -z "$as_dir" && as_dir=.
7038     for ac_exec_ext in '' $ac_executable_extensions; do
7039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7040     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042     break 2
7043   fi
7044 done
7045   done
7046 IFS=$as_save_IFS
7047
7048 fi
7049 fi
7050 RANLIB=$ac_cv_prog_RANLIB
7051 if test -n "$RANLIB"; then
7052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7053 $as_echo "$RANLIB" >&6; }
7054 else
7055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7057 fi
7058
7059
7060 fi
7061 if test -z "$ac_cv_prog_RANLIB"; then
7062   ac_ct_RANLIB=$RANLIB
7063   # Extract the first word of "ranlib", so it can be a program name with args.
7064 set dummy ranlib; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7068   $as_echo_n "(cached) " >&6
7069 else
7070   if test -n "$ac_ct_RANLIB"; then
7071   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7072 else
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 for as_dir in $PATH
7075 do
7076   IFS=$as_save_IFS
7077   test -z "$as_dir" && as_dir=.
7078     for ac_exec_ext in '' $ac_executable_extensions; do
7079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080     ac_cv_prog_ac_ct_RANLIB="ranlib"
7081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082     break 2
7083   fi
7084 done
7085   done
7086 IFS=$as_save_IFS
7087
7088 fi
7089 fi
7090 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7091 if test -n "$ac_ct_RANLIB"; then
7092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7093 $as_echo "$ac_ct_RANLIB" >&6; }
7094 else
7095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7097 fi
7098
7099   if test "x$ac_ct_RANLIB" = x; then
7100     RANLIB=""
7101   else
7102     case $cross_compiling:$ac_tool_warned in
7103 yes:)
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7106 ac_tool_warned=yes ;;
7107 esac
7108     RANLIB=$ac_ct_RANLIB
7109   fi
7110 else
7111   RANLIB="$ac_cv_prog_RANLIB"
7112 fi
7113
7114 if test -n "$ac_tool_prefix"; then
7115   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
7116 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if ${ac_cv_prog_OBJCOPY+:} false; then :
7120   $as_echo_n "(cached) " >&6
7121 else
7122   if test -n "$OBJCOPY"; then
7123   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
7124 else
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 for as_dir in $PATH
7127 do
7128   IFS=$as_save_IFS
7129   test -z "$as_dir" && as_dir=.
7130     for ac_exec_ext in '' $ac_executable_extensions; do
7131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7132     ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
7133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134     break 2
7135   fi
7136 done
7137   done
7138 IFS=$as_save_IFS
7139
7140 fi
7141 fi
7142 OBJCOPY=$ac_cv_prog_OBJCOPY
7143 if test -n "$OBJCOPY"; then
7144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
7145 $as_echo "$OBJCOPY" >&6; }
7146 else
7147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 $as_echo "no" >&6; }
7149 fi
7150
7151
7152 fi
7153 if test -z "$ac_cv_prog_OBJCOPY"; then
7154   ac_ct_OBJCOPY=$OBJCOPY
7155   # Extract the first word of "objcopy", so it can be a program name with args.
7156 set dummy objcopy; ac_word=$2
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7158 $as_echo_n "checking for $ac_word... " >&6; }
7159 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
7160   $as_echo_n "(cached) " >&6
7161 else
7162   if test -n "$ac_ct_OBJCOPY"; then
7163   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
7164 else
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 for as_dir in $PATH
7167 do
7168   IFS=$as_save_IFS
7169   test -z "$as_dir" && as_dir=.
7170     for ac_exec_ext in '' $ac_executable_extensions; do
7171   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7172     ac_cv_prog_ac_ct_OBJCOPY="objcopy"
7173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174     break 2
7175   fi
7176 done
7177   done
7178 IFS=$as_save_IFS
7179
7180 fi
7181 fi
7182 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
7183 if test -n "$ac_ct_OBJCOPY"; then
7184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
7185 $as_echo "$ac_ct_OBJCOPY" >&6; }
7186 else
7187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188 $as_echo "no" >&6; }
7189 fi
7190
7191   if test "x$ac_ct_OBJCOPY" = x; then
7192     OBJCOPY=""
7193   else
7194     case $cross_compiling:$ac_tool_warned in
7195 yes:)
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7198 ac_tool_warned=yes ;;
7199 esac
7200     OBJCOPY=$ac_ct_OBJCOPY
7201   fi
7202 else
7203   OBJCOPY="$ac_cv_prog_OBJCOPY"
7204 fi
7205
7206 if test -n "$ac_tool_prefix"; then
7207   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7208 set dummy ${ac_tool_prefix}strip; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_STRIP+:} false; then :
7212   $as_echo_n "(cached) " >&6
7213 else
7214   if test -n "$STRIP"; then
7215   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7216 else
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 for as_dir in $PATH
7219 do
7220   IFS=$as_save_IFS
7221   test -z "$as_dir" && as_dir=.
7222     for ac_exec_ext in '' $ac_executable_extensions; do
7223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7224     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7226     break 2
7227   fi
7228 done
7229   done
7230 IFS=$as_save_IFS
7231
7232 fi
7233 fi
7234 STRIP=$ac_cv_prog_STRIP
7235 if test -n "$STRIP"; then
7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7237 $as_echo "$STRIP" >&6; }
7238 else
7239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7241 fi
7242
7243
7244 fi
7245 if test -z "$ac_cv_prog_STRIP"; then
7246   ac_ct_STRIP=$STRIP
7247   # Extract the first word of "strip", so it can be a program name with args.
7248 set dummy strip; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7252   $as_echo_n "(cached) " >&6
7253 else
7254   if test -n "$ac_ct_STRIP"; then
7255   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7256 else
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 for as_dir in $PATH
7259 do
7260   IFS=$as_save_IFS
7261   test -z "$as_dir" && as_dir=.
7262     for ac_exec_ext in '' $ac_executable_extensions; do
7263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264     ac_cv_prog_ac_ct_STRIP="strip"
7265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266     break 2
7267   fi
7268 done
7269   done
7270 IFS=$as_save_IFS
7271
7272 fi
7273 fi
7274 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7275 if test -n "$ac_ct_STRIP"; then
7276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7277 $as_echo "$ac_ct_STRIP" >&6; }
7278 else
7279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7281 fi
7282
7283   if test "x$ac_ct_STRIP" = x; then
7284     STRIP=""
7285   else
7286     case $cross_compiling:$ac_tool_warned in
7287 yes:)
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7290 ac_tool_warned=yes ;;
7291 esac
7292     STRIP=$ac_ct_STRIP
7293   fi
7294 else
7295   STRIP="$ac_cv_prog_STRIP"
7296 fi
7297
7298
7299 # Check for other host tools.
7300
7301
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7303 $as_echo_n "checking whether ln -s works... " >&6; }
7304 LN_S=$as_ln_s
7305 if test "$LN_S" = "ln -s"; then
7306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7307 $as_echo "yes" >&6; }
7308 else
7309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7310 $as_echo "no, using $LN_S" >&6; }
7311 fi
7312
7313
7314 #
7315 # Checks for specific compiler characteristics
7316 #
7317
7318 #
7319 # Common compiler flags we would like to have.
7320 # Note that in gcc, -Wconversion implies -Wsign-conversion (but only for C)
7321 #
7322
7323 PROSPECTIVE_CFLAGS="-Wall -Wextra -Wshadow -Werror -std=c99 -pedantic-errors -Wconversion -Wsign-conversion"
7324 PROSPECTIVE_CXXFLAGS="-Wall -Wextra -Wshadow -Werror -Wconversion -Wsign-conversion"
7325
7326 TARGET_STYLE=
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target style" >&5
7328 $as_echo_n "checking for target style... " >&6; }
7329
7330 # The user may have attempted to explicitly specify the target
7331 # style. Sanity check it or default to 'auto'.
7332
7333
7334 # Check whether --with-target-style was given.
7335 if test "${with_target_style+set}" = set; then :
7336   withval=$with_target_style;
7337         case "${with_target_style}" in
7338
7339         auto|embedded|unix)
7340             ;;
7341
7342         *)
7343             as_fn_error $? "Invalid value ${with_target_style} for --with-target-style" "$LINENO" 5
7344             ;;
7345
7346         esac
7347
7348 else
7349   with_target_style=auto
7350 fi
7351
7352
7353 # At this point, the target style is one of the allowed
7354 # values. If it's 'auto' we autodetect it.
7355
7356 if test "${with_target_style}" = "auto"; then
7357     case ${target_os} in
7358
7359     *cygwin*|*darwin*|*linux*|*freebsd*|*netbsd*|*openbsd*)
7360             with_target_style=unix
7361         ;;
7362
7363     *freertos*)
7364             with_target_style=embedded
7365         ;;
7366
7367     *)
7368         { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
7369 $as_echo "unknown" >&6; }
7370         as_fn_error $? "Unsupported target OS ${target_os}" "$LINENO" 5
7371         ;;
7372
7373     esac
7374 fi
7375
7376 TARGET_STYLE=${with_target_style}
7377
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TARGET_STYLE}" >&5
7379 $as_echo "${TARGET_STYLE}" >&6; }
7380
7381
7382
7383 cat >>confdefs.h <<_ACEOF
7384 #define TARGET_STYLE ${TARGET_STYLE}
7385 _ACEOF
7386
7387
7388 if test "${TARGET_STYLE}" = "unix"; then
7389     PROSPECTIVE_CFLAGS="${PROSPECTIVE_CFLAGS} -fPIC -fno-stack-protector"
7390     PROSPECTIVE_CXXFLAGS="${PROSPECTIVE_CXXFLAGS} -fPIC -fno-exceptions"
7391 fi
7392
7393
7394
7395
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7397 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7398 if ${ac_cv_path_GREP+:} false; then :
7399   $as_echo_n "(cached) " >&6
7400 else
7401   if test -z "$GREP"; then
7402   ac_path_GREP_found=false
7403   # Loop through the user's path and test for each of PROGNAME-LIST
7404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7406 do
7407   IFS=$as_save_IFS
7408   test -z "$as_dir" && as_dir=.
7409     for ac_prog in grep ggrep; do
7410     for ac_exec_ext in '' $ac_executable_extensions; do
7411       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7412       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7413 # Check for GNU ac_path_GREP and select it if it is found.
7414   # Check for GNU $ac_path_GREP
7415 case `"$ac_path_GREP" --version 2>&1` in
7416 *GNU*)
7417   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7418 *)
7419   ac_count=0
7420   $as_echo_n 0123456789 >"conftest.in"
7421   while :
7422   do
7423     cat "conftest.in" "conftest.in" >"conftest.tmp"
7424     mv "conftest.tmp" "conftest.in"
7425     cp "conftest.in" "conftest.nl"
7426     $as_echo 'GREP' >> "conftest.nl"
7427     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7428     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7429     as_fn_arith $ac_count + 1 && ac_count=$as_val
7430     if test $ac_count -gt ${ac_path_GREP_max-0}; then
7431       # Best one so far, save it but keep looking for a better one
7432       ac_cv_path_GREP="$ac_path_GREP"
7433       ac_path_GREP_max=$ac_count
7434     fi
7435     # 10*(2^10) chars as input seems more than enough
7436     test $ac_count -gt 10 && break
7437   done
7438   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7439 esac
7440
7441       $ac_path_GREP_found && break 3
7442     done
7443   done
7444   done
7445 IFS=$as_save_IFS
7446   if test -z "$ac_cv_path_GREP"; then
7447     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7448   fi
7449 else
7450   ac_cv_path_GREP=$GREP
7451 fi
7452
7453 fi
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7455 $as_echo "$ac_cv_path_GREP" >&6; }
7456  GREP="$ac_cv_path_GREP"
7457
7458
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7460 $as_echo_n "checking for egrep... " >&6; }
7461 if ${ac_cv_path_EGREP+:} false; then :
7462   $as_echo_n "(cached) " >&6
7463 else
7464   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7465    then ac_cv_path_EGREP="$GREP -E"
7466    else
7467      if test -z "$EGREP"; then
7468   ac_path_EGREP_found=false
7469   # Loop through the user's path and test for each of PROGNAME-LIST
7470   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7471 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7472 do
7473   IFS=$as_save_IFS
7474   test -z "$as_dir" && as_dir=.
7475     for ac_prog in egrep; do
7476     for ac_exec_ext in '' $ac_executable_extensions; do
7477       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7478       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7479 # Check for GNU ac_path_EGREP and select it if it is found.
7480   # Check for GNU $ac_path_EGREP
7481 case `"$ac_path_EGREP" --version 2>&1` in
7482 *GNU*)
7483   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7484 *)
7485   ac_count=0
7486   $as_echo_n 0123456789 >"conftest.in"
7487   while :
7488   do
7489     cat "conftest.in" "conftest.in" >"conftest.tmp"
7490     mv "conftest.tmp" "conftest.in"
7491     cp "conftest.in" "conftest.nl"
7492     $as_echo 'EGREP' >> "conftest.nl"
7493     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7494     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7495     as_fn_arith $ac_count + 1 && ac_count=$as_val
7496     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7497       # Best one so far, save it but keep looking for a better one
7498       ac_cv_path_EGREP="$ac_path_EGREP"
7499       ac_path_EGREP_max=$ac_count
7500     fi
7501     # 10*(2^10) chars as input seems more than enough
7502     test $ac_count -gt 10 && break
7503   done
7504   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7505 esac
7506
7507       $ac_path_EGREP_found && break 3
7508     done
7509   done
7510   done
7511 IFS=$as_save_IFS
7512   if test -z "$ac_cv_path_EGREP"; then
7513     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7514   fi
7515 else
7516   ac_cv_path_EGREP=$EGREP
7517 fi
7518
7519    fi
7520 fi
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7522 $as_echo "$ac_cv_path_EGREP" >&6; }
7523  EGREP="$ac_cv_path_EGREP"
7524
7525
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
7527 $as_echo_n "checking whether $CC is Clang... " >&6; }
7528 if ${nl_cv_clang+:} false; then :
7529   $as_echo_n "(cached) " >&6
7530 else
7531   nl_cv_clang=no
7532     if test "x${GCC}" = "xyes"; then
7533         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h.  */
7535 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
7536 #            if defined(__clang__) && defined(__llvm__)
7537              NL_CC_IS_CLANG
7538 #            endif
7539
7540 _ACEOF
7541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7542   $EGREP "NL_CC_IS_CLANG" >/dev/null 2>&1; then :
7543   nl_cv_clang=yes
7544 fi
7545 rm -f conftest*
7546
7547     fi
7548
7549 fi
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_clang" >&5
7551 $as_echo "$nl_cv_clang" >&6; }
7552
7553
7554
7555             for ax_compiler_option in ${PROSPECTIVE_CFLAGS}; do
7556
7557     ac_ext=c
7558 ac_cpp='$CPP $CPPFLAGS'
7559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7562
7563     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler understands $ax_compiler_option" >&5
7564 $as_echo_n "checking whether the C compiler understands $ax_compiler_option... " >&6; }
7565     SAVE_CFLAGS=${CFLAGS}
7566     CFLAGS=$ax_compiler_option
7567     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7568 /* end confdefs.h.  */
7569
7570 int
7571 main ()
7572 {
7573 ;
7574   ;
7575   return 0;
7576 }
7577 _ACEOF
7578 if ac_fn_c_try_compile "$LINENO"; then :
7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7580 $as_echo "yes" >&6; }; CFLAGS="${SAVE_CFLAGS} $ax_compiler_option"
7581 else
7582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7583 $as_echo "no" >&6; }; CFLAGS=${SAVE_CFLAGS}
7584 fi
7585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
7586     unset SAVE_CFLAGS
7587     ac_ext=c
7588 ac_cpp='$CPP $CPPFLAGS'
7589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7592
7593
7594             done
7595
7596
7597
7598
7599
7600             for ax_compiler_option in ${PROSPECTIVE_CXXFLAGS}; do
7601
7602     ac_ext=cpp
7603 ac_cpp='$CXXCPP $CPPFLAGS'
7604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7607
7608     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands $ax_compiler_option" >&5
7609 $as_echo_n "checking whether the C++ compiler understands $ax_compiler_option... " >&6; }
7610     SAVE_CXXFLAGS=${CXXFLAGS}
7611     CXXFLAGS=$ax_compiler_option
7612     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7613 /* end confdefs.h.  */
7614
7615 int
7616 main ()
7617 {
7618 ;
7619   ;
7620   return 0;
7621 }
7622 _ACEOF
7623 if ac_fn_cxx_try_compile "$LINENO"; then :
7624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7625 $as_echo "yes" >&6; }; CXXFLAGS="${SAVE_CXXFLAGS} $ax_compiler_option"
7626 else
7627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628 $as_echo "no" >&6; }; CXXFLAGS=${SAVE_CXXFLAGS}
7629 fi
7630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
7631     unset SAVE_CXXFLAGS
7632     ac_ext=c
7633 ac_cpp='$CPP $CPPFLAGS'
7634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7637
7638
7639             done
7640
7641
7642
7643 # Check for and initialize libtool
7644
7645 case `pwd` in
7646   *\ * | *\     *)
7647     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7648 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7649 esac
7650
7651
7652
7653 macro_version='2.4.2'
7654 macro_revision='1.3337'
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668 ltmain="$ac_aux_dir/ltmain.sh"
7669
7670 # Backslashify metacharacters that are still active within
7671 # double-quoted strings.
7672 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7673
7674 # Same as above, but do not quote variable references.
7675 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7676
7677 # Sed substitution to delay expansion of an escaped shell variable in a
7678 # double_quote_subst'ed string.
7679 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7680
7681 # Sed substitution to delay expansion of an escaped single quote.
7682 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7683
7684 # Sed substitution to avoid accidental globbing in evaled expressions
7685 no_glob_subst='s/\*/\\\*/g'
7686
7687 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7688 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7689 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7690
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7692 $as_echo_n "checking how to print strings... " >&6; }
7693 # Test print first, because it will be a builtin if present.
7694 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7695    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7696   ECHO='print -r --'
7697 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7698   ECHO='printf %s\n'
7699 else
7700   # Use this function as a fallback that always works.
7701   func_fallback_echo ()
7702   {
7703     eval 'cat <<_LTECHO_EOF
7704 $1
7705 _LTECHO_EOF'
7706   }
7707   ECHO='func_fallback_echo'
7708 fi
7709
7710 # func_echo_all arg...
7711 # Invoke $ECHO with all args, space-separated.
7712 func_echo_all ()
7713 {
7714     $ECHO ""
7715 }
7716
7717 case "$ECHO" in
7718   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7719 $as_echo "printf" >&6; } ;;
7720   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7721 $as_echo "print -r" >&6; } ;;
7722   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7723 $as_echo "cat" >&6; } ;;
7724 esac
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7740 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7741 if ${ac_cv_path_SED+:} false; then :
7742   $as_echo_n "(cached) " >&6
7743 else
7744             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7745      for ac_i in 1 2 3 4 5 6 7; do
7746        ac_script="$ac_script$as_nl$ac_script"
7747      done
7748      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7749      { ac_script=; unset ac_script;}
7750      if test -z "$SED"; then
7751   ac_path_SED_found=false
7752   # Loop through the user's path and test for each of PROGNAME-LIST
7753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7754 for as_dir in $PATH
7755 do
7756   IFS=$as_save_IFS
7757   test -z "$as_dir" && as_dir=.
7758     for ac_prog in sed gsed; do
7759     for ac_exec_ext in '' $ac_executable_extensions; do
7760       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7761       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7762 # Check for GNU ac_path_SED and select it if it is found.
7763   # Check for GNU $ac_path_SED
7764 case `"$ac_path_SED" --version 2>&1` in
7765 *GNU*)
7766   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7767 *)
7768   ac_count=0
7769   $as_echo_n 0123456789 >"conftest.in"
7770   while :
7771   do
7772     cat "conftest.in" "conftest.in" >"conftest.tmp"
7773     mv "conftest.tmp" "conftest.in"
7774     cp "conftest.in" "conftest.nl"
7775     $as_echo '' >> "conftest.nl"
7776     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7777     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7778     as_fn_arith $ac_count + 1 && ac_count=$as_val
7779     if test $ac_count -gt ${ac_path_SED_max-0}; then
7780       # Best one so far, save it but keep looking for a better one
7781       ac_cv_path_SED="$ac_path_SED"
7782       ac_path_SED_max=$ac_count
7783     fi
7784     # 10*(2^10) chars as input seems more than enough
7785     test $ac_count -gt 10 && break
7786   done
7787   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7788 esac
7789
7790       $ac_path_SED_found && break 3
7791     done
7792   done
7793   done
7794 IFS=$as_save_IFS
7795   if test -z "$ac_cv_path_SED"; then
7796     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7797   fi
7798 else
7799   ac_cv_path_SED=$SED
7800 fi
7801
7802 fi
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7804 $as_echo "$ac_cv_path_SED" >&6; }
7805  SED="$ac_cv_path_SED"
7806   rm -f conftest.sed
7807
7808 test -z "$SED" && SED=sed
7809 Xsed="$SED -e 1s/^X//"
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7822 $as_echo_n "checking for fgrep... " >&6; }
7823 if ${ac_cv_path_FGREP+:} false; then :
7824   $as_echo_n "(cached) " >&6
7825 else
7826   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7827    then ac_cv_path_FGREP="$GREP -F"
7828    else
7829      if test -z "$FGREP"; then
7830   ac_path_FGREP_found=false
7831   # Loop through the user's path and test for each of PROGNAME-LIST
7832   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7833 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7834 do
7835   IFS=$as_save_IFS
7836   test -z "$as_dir" && as_dir=.
7837     for ac_prog in fgrep; do
7838     for ac_exec_ext in '' $ac_executable_extensions; do
7839       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7840       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7841 # Check for GNU ac_path_FGREP and select it if it is found.
7842   # Check for GNU $ac_path_FGREP
7843 case `"$ac_path_FGREP" --version 2>&1` in
7844 *GNU*)
7845   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7846 *)
7847   ac_count=0
7848   $as_echo_n 0123456789 >"conftest.in"
7849   while :
7850   do
7851     cat "conftest.in" "conftest.in" >"conftest.tmp"
7852     mv "conftest.tmp" "conftest.in"
7853     cp "conftest.in" "conftest.nl"
7854     $as_echo 'FGREP' >> "conftest.nl"
7855     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7856     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7857     as_fn_arith $ac_count + 1 && ac_count=$as_val
7858     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7859       # Best one so far, save it but keep looking for a better one
7860       ac_cv_path_FGREP="$ac_path_FGREP"
7861       ac_path_FGREP_max=$ac_count
7862     fi
7863     # 10*(2^10) chars as input seems more than enough
7864     test $ac_count -gt 10 && break
7865   done
7866   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7867 esac
7868
7869       $ac_path_FGREP_found && break 3
7870     done
7871   done
7872   done
7873 IFS=$as_save_IFS
7874   if test -z "$ac_cv_path_FGREP"; then
7875     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7876   fi
7877 else
7878   ac_cv_path_FGREP=$FGREP
7879 fi
7880
7881    fi
7882 fi
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7884 $as_echo "$ac_cv_path_FGREP" >&6; }
7885  FGREP="$ac_cv_path_FGREP"
7886
7887
7888 test -z "$GREP" && GREP=grep
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908 # Check whether --with-gnu-ld was given.
7909 if test "${with_gnu_ld+set}" = set; then :
7910   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7911 else
7912   with_gnu_ld=no
7913 fi
7914
7915 ac_prog=ld
7916 if test "$GCC" = yes; then
7917   # Check if gcc -print-prog-name=ld gives a path.
7918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7919 $as_echo_n "checking for ld used by $CC... " >&6; }
7920   case $host in
7921   *-*-mingw*)
7922     # gcc leaves a trailing carriage return which upsets mingw
7923     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7924   *)
7925     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7926   esac
7927   case $ac_prog in
7928     # Accept absolute paths.
7929     [\\/]* | ?:[\\/]*)
7930       re_direlt='/[^/][^/]*/\.\./'
7931       # Canonicalize the pathname of ld
7932       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7933       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7934         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7935       done
7936       test -z "$LD" && LD="$ac_prog"
7937       ;;
7938   "")
7939     # If it fails, then pretend we aren't using GCC.
7940     ac_prog=ld
7941     ;;
7942   *)
7943     # If it is relative, then search for the first ld in PATH.
7944     with_gnu_ld=unknown
7945     ;;
7946   esac
7947 elif test "$with_gnu_ld" = yes; then
7948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7949 $as_echo_n "checking for GNU ld... " >&6; }
7950 else
7951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7952 $as_echo_n "checking for non-GNU ld... " >&6; }
7953 fi
7954 if ${lt_cv_path_LD+:} false; then :
7955   $as_echo_n "(cached) " >&6
7956 else
7957   if test -z "$LD"; then
7958   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7959   for ac_dir in $PATH; do
7960     IFS="$lt_save_ifs"
7961     test -z "$ac_dir" && ac_dir=.
7962     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7963       lt_cv_path_LD="$ac_dir/$ac_prog"
7964       # Check to see if the program is GNU ld.  I'd rather use --version,
7965       # but apparently some variants of GNU ld only accept -v.
7966       # Break only if it was the GNU/non-GNU ld that we prefer.
7967       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7968       *GNU* | *'with BFD'*)
7969         test "$with_gnu_ld" != no && break
7970         ;;
7971       *)
7972         test "$with_gnu_ld" != yes && break
7973         ;;
7974       esac
7975     fi
7976   done
7977   IFS="$lt_save_ifs"
7978 else
7979   lt_cv_path_LD="$LD" # Let the user override the test with a path.
7980 fi
7981 fi
7982
7983 LD="$lt_cv_path_LD"
7984 if test -n "$LD"; then
7985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7986 $as_echo "$LD" >&6; }
7987 else
7988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7990 fi
7991 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7993 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7994 if ${lt_cv_prog_gnu_ld+:} false; then :
7995   $as_echo_n "(cached) " >&6
7996 else
7997   # I'd rather use --version here, but apparently some GNU lds only accept -v.
7998 case `$LD -v 2>&1 </dev/null` in
7999 *GNU* | *'with BFD'*)
8000   lt_cv_prog_gnu_ld=yes
8001   ;;
8002 *)
8003   lt_cv_prog_gnu_ld=no
8004   ;;
8005 esac
8006 fi
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8008 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
8009 with_gnu_ld=$lt_cv_prog_gnu_ld
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8020 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8021 if ${lt_cv_path_NM+:} false; then :
8022   $as_echo_n "(cached) " >&6
8023 else
8024   if test -n "$NM"; then
8025   # Let the user override the test.
8026   lt_cv_path_NM="$NM"
8027 else
8028   lt_nm_to_check="${ac_tool_prefix}nm"
8029   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8030     lt_nm_to_check="$lt_nm_to_check nm"
8031   fi
8032   for lt_tmp_nm in $lt_nm_to_check; do
8033     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8034     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8035       IFS="$lt_save_ifs"
8036       test -z "$ac_dir" && ac_dir=.
8037       tmp_nm="$ac_dir/$lt_tmp_nm"
8038       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8039         # Check to see if the nm accepts a BSD-compat flag.
8040         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8041         #   nm: unknown option "B" ignored
8042         # Tru64's nm complains that /dev/null is an invalid object file
8043         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8044         */dev/null* | *'Invalid file or object type'*)
8045           lt_cv_path_NM="$tmp_nm -B"
8046           break
8047           ;;
8048         *)
8049           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8050           */dev/null*)
8051             lt_cv_path_NM="$tmp_nm -p"
8052             break
8053             ;;
8054           *)
8055             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8056             continue # so that we can try to find one that supports BSD flags
8057             ;;
8058           esac
8059           ;;
8060         esac
8061       fi
8062     done
8063     IFS="$lt_save_ifs"
8064   done
8065   : ${lt_cv_path_NM=no}
8066 fi
8067 fi
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8069 $as_echo "$lt_cv_path_NM" >&6; }
8070 if test "$lt_cv_path_NM" != "no"; then
8071   NM="$lt_cv_path_NM"
8072 else
8073   # Didn't find any BSD compatible name lister, look for dumpbin.
8074   if test -n "$DUMPBIN"; then :
8075     # Let the user override the test.
8076   else
8077     if test -n "$ac_tool_prefix"; then
8078   for ac_prog in dumpbin "link -dump"
8079   do
8080     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8083 $as_echo_n "checking for $ac_word... " >&6; }
8084 if ${ac_cv_prog_DUMPBIN+:} false; then :
8085   $as_echo_n "(cached) " >&6
8086 else
8087   if test -n "$DUMPBIN"; then
8088   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8089 else
8090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8091 for as_dir in $PATH
8092 do
8093   IFS=$as_save_IFS
8094   test -z "$as_dir" && as_dir=.
8095     for ac_exec_ext in '' $ac_executable_extensions; do
8096   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8097     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8099     break 2
8100   fi
8101 done
8102   done
8103 IFS=$as_save_IFS
8104
8105 fi
8106 fi
8107 DUMPBIN=$ac_cv_prog_DUMPBIN
8108 if test -n "$DUMPBIN"; then
8109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8110 $as_echo "$DUMPBIN" >&6; }
8111 else
8112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8113 $as_echo "no" >&6; }
8114 fi
8115
8116
8117     test -n "$DUMPBIN" && break
8118   done
8119 fi
8120 if test -z "$DUMPBIN"; then
8121   ac_ct_DUMPBIN=$DUMPBIN
8122   for ac_prog in dumpbin "link -dump"
8123 do
8124   # Extract the first word of "$ac_prog", so it can be a program name with args.
8125 set dummy $ac_prog; ac_word=$2
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8127 $as_echo_n "checking for $ac_word... " >&6; }
8128 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
8129   $as_echo_n "(cached) " >&6
8130 else
8131   if test -n "$ac_ct_DUMPBIN"; then
8132   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8133 else
8134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 for as_dir in $PATH
8136 do
8137   IFS=$as_save_IFS
8138   test -z "$as_dir" && as_dir=.
8139     for ac_exec_ext in '' $ac_executable_extensions; do
8140   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8141     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8143     break 2
8144   fi
8145 done
8146   done
8147 IFS=$as_save_IFS
8148
8149 fi
8150 fi
8151 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8152 if test -n "$ac_ct_DUMPBIN"; then
8153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8154 $as_echo "$ac_ct_DUMPBIN" >&6; }
8155 else
8156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8157 $as_echo "no" >&6; }
8158 fi
8159
8160
8161   test -n "$ac_ct_DUMPBIN" && break
8162 done
8163
8164   if test "x$ac_ct_DUMPBIN" = x; then
8165     DUMPBIN=":"
8166   else
8167     case $cross_compiling:$ac_tool_warned in
8168 yes:)
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8171 ac_tool_warned=yes ;;
8172 esac
8173     DUMPBIN=$ac_ct_DUMPBIN
8174   fi
8175 fi
8176
8177     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8178     *COFF*)
8179       DUMPBIN="$DUMPBIN -symbols"
8180       ;;
8181     *)
8182       DUMPBIN=:
8183       ;;
8184     esac
8185   fi
8186
8187   if test "$DUMPBIN" != ":"; then
8188     NM="$DUMPBIN"
8189   fi
8190 fi
8191 test -z "$NM" && NM=nm
8192
8193
8194
8195
8196
8197
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8199 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8200 if ${lt_cv_nm_interface+:} false; then :
8201   $as_echo_n "(cached) " >&6
8202 else
8203   lt_cv_nm_interface="BSD nm"
8204   echo "int some_variable = 0;" > conftest.$ac_ext
8205   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8206   (eval "$ac_compile" 2>conftest.err)
8207   cat conftest.err >&5
8208   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8209   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8210   cat conftest.err >&5
8211   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8212   cat conftest.out >&5
8213   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8214     lt_cv_nm_interface="MS dumpbin"
8215   fi
8216   rm -f conftest*
8217 fi
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8219 $as_echo "$lt_cv_nm_interface" >&6; }
8220
8221 # find the maximum length of command line arguments
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8223 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8224 if ${lt_cv_sys_max_cmd_len+:} false; then :
8225   $as_echo_n "(cached) " >&6
8226 else
8227     i=0
8228   teststring="ABCD"
8229
8230   case $build_os in
8231   msdosdjgpp*)
8232     # On DJGPP, this test can blow up pretty badly due to problems in libc
8233     # (any single argument exceeding 2000 bytes causes a buffer overrun
8234     # during glob expansion).  Even if it were fixed, the result of this
8235     # check would be larger than it should be.
8236     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8237     ;;
8238
8239   gnu*)
8240     # Under GNU Hurd, this test is not required because there is
8241     # no limit to the length of command line arguments.
8242     # Libtool will interpret -1 as no limit whatsoever
8243     lt_cv_sys_max_cmd_len=-1;
8244     ;;
8245
8246   cygwin* | mingw* | cegcc*)
8247     # On Win9x/ME, this test blows up -- it succeeds, but takes
8248     # about 5 minutes as the teststring grows exponentially.
8249     # Worse, since 9x/ME are not pre-emptively multitasking,
8250     # you end up with a "frozen" computer, even though with patience
8251     # the test eventually succeeds (with a max line length of 256k).
8252     # Instead, let's just punt: use the minimum linelength reported by
8253     # all of the supported platforms: 8192 (on NT/2K/XP).
8254     lt_cv_sys_max_cmd_len=8192;
8255     ;;
8256
8257   mint*)
8258     # On MiNT this can take a long time and run out of memory.
8259     lt_cv_sys_max_cmd_len=8192;
8260     ;;
8261
8262   amigaos*)
8263     # On AmigaOS with pdksh, this test takes hours, literally.
8264     # So we just punt and use a minimum line length of 8192.
8265     lt_cv_sys_max_cmd_len=8192;
8266     ;;
8267
8268   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8269     # This has been around since 386BSD, at least.  Likely further.
8270     if test -x /sbin/sysctl; then
8271       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8272     elif test -x /usr/sbin/sysctl; then
8273       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8274     else
8275       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
8276     fi
8277     # And add a safety zone
8278     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8279     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8280     ;;
8281
8282   interix*)
8283     # We know the value 262144 and hardcode it with a safety zone (like BSD)
8284     lt_cv_sys_max_cmd_len=196608
8285     ;;
8286
8287   os2*)
8288     # The test takes a long time on OS/2.
8289     lt_cv_sys_max_cmd_len=8192
8290     ;;
8291
8292   osf*)
8293     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8294     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8295     # nice to cause kernel panics so lets avoid the loop below.
8296     # First set a reasonable default.
8297     lt_cv_sys_max_cmd_len=16384
8298     #
8299     if test -x /sbin/sysconfig; then
8300       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8301         *1*) lt_cv_sys_max_cmd_len=-1 ;;
8302       esac
8303     fi
8304     ;;
8305   sco3.2v5*)
8306     lt_cv_sys_max_cmd_len=102400
8307     ;;
8308   sysv5* | sco5v6* | sysv4.2uw2*)
8309     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8310     if test -n "$kargmax"; then
8311       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
8312     else
8313       lt_cv_sys_max_cmd_len=32768
8314     fi
8315     ;;
8316   *)
8317     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8318     if test -n "$lt_cv_sys_max_cmd_len"; then
8319       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8320       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8321     else
8322       # Make teststring a little bigger before we do anything with it.
8323       # a 1K string should be a reasonable start.
8324       for i in 1 2 3 4 5 6 7 8 ; do
8325         teststring=$teststring$teststring
8326       done
8327       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8328       # If test is not a shell built-in, we'll probably end up computing a
8329       # maximum length that is only half of the actual maximum length, but
8330       # we can't tell.
8331       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
8332                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8333               test $i != 17 # 1/2 MB should be enough
8334       do
8335         i=`expr $i + 1`
8336         teststring=$teststring$teststring
8337       done
8338       # Only check the string length outside the loop.
8339       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8340       teststring=
8341       # Add a significant safety factor because C++ compilers can tack on
8342       # massive amounts of additional arguments before passing them to the
8343       # linker.  It appears as though 1/2 is a usable value.
8344       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8345     fi
8346     ;;
8347   esac
8348
8349 fi
8350
8351 if test -n $lt_cv_sys_max_cmd_len ; then
8352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8353 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8354 else
8355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8356 $as_echo "none" >&6; }
8357 fi
8358 max_cmd_len=$lt_cv_sys_max_cmd_len
8359
8360
8361
8362
8363
8364
8365 : ${CP="cp -f"}
8366 : ${MV="mv -f"}
8367 : ${RM="rm -f"}
8368
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8370 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8371 # Try some XSI features
8372 xsi_shell=no
8373 ( _lt_dummy="a/b/c"
8374   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8375       = c,a/b,b/c, \
8376     && eval 'test $(( 1 + 1 )) -eq 2 \
8377     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8378   && xsi_shell=yes
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8380 $as_echo "$xsi_shell" >&6; }
8381
8382
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8384 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8385 lt_shell_append=no
8386 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8387     >/dev/null 2>&1 \
8388   && lt_shell_append=yes
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8390 $as_echo "$lt_shell_append" >&6; }
8391
8392
8393 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8394   lt_unset=unset
8395 else
8396   lt_unset=false
8397 fi
8398
8399
8400
8401
8402
8403 # test EBCDIC or ASCII
8404 case `echo X|tr X '\101'` in
8405  A) # ASCII based system
8406     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8407   lt_SP2NL='tr \040 \012'
8408   lt_NL2SP='tr \015\012 \040\040'
8409   ;;
8410  *) # EBCDIC based system
8411   lt_SP2NL='tr \100 \n'
8412   lt_NL2SP='tr \r\n \100\100'
8413   ;;
8414 esac
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8425 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8426 if ${lt_cv_to_host_file_cmd+:} false; then :
8427   $as_echo_n "(cached) " >&6
8428 else
8429   case $host in
8430   *-*-mingw* )
8431     case $build in
8432       *-*-mingw* ) # actually msys
8433         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8434         ;;
8435       *-*-cygwin* )
8436         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8437         ;;
8438       * ) # otherwise, assume *nix
8439         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8440         ;;
8441     esac
8442     ;;
8443   *-*-cygwin* )
8444     case $build in
8445       *-*-mingw* ) # actually msys
8446         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8447         ;;
8448       *-*-cygwin* )
8449         lt_cv_to_host_file_cmd=func_convert_file_noop
8450         ;;
8451       * ) # otherwise, assume *nix
8452         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8453         ;;
8454     esac
8455     ;;
8456   * ) # unhandled hosts (and "normal" native builds)
8457     lt_cv_to_host_file_cmd=func_convert_file_noop
8458     ;;
8459 esac
8460
8461 fi
8462
8463 to_host_file_cmd=$lt_cv_to_host_file_cmd
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8465 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8466
8467
8468
8469
8470
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8472 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8473 if ${lt_cv_to_tool_file_cmd+:} false; then :
8474   $as_echo_n "(cached) " >&6
8475 else
8476   #assume ordinary cross tools, or native build.
8477 lt_cv_to_tool_file_cmd=func_convert_file_noop
8478 case $host in
8479   *-*-mingw* )
8480     case $build in
8481       *-*-mingw* ) # actually msys
8482         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8483         ;;
8484     esac
8485     ;;
8486 esac
8487
8488 fi
8489
8490 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8492 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8493
8494
8495
8496
8497
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8499 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8500 if ${lt_cv_ld_reload_flag+:} false; then :
8501   $as_echo_n "(cached) " >&6
8502 else
8503   lt_cv_ld_reload_flag='-r'
8504 fi
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8506 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8507 reload_flag=$lt_cv_ld_reload_flag
8508 case $reload_flag in
8509 "" | " "*) ;;
8510 *) reload_flag=" $reload_flag" ;;
8511 esac
8512 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8513 case $host_os in
8514   cygwin* | mingw* | pw32* | cegcc*)
8515     if test "$GCC" != yes; then
8516       reload_cmds=false
8517     fi
8518     ;;
8519   darwin*)
8520     if test "$GCC" = yes; then
8521       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8522     else
8523       reload_cmds='$LD$reload_flag -o $output$reload_objs'
8524     fi
8525     ;;
8526 esac
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536 if test -n "$ac_tool_prefix"; then
8537   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8538 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8540 $as_echo_n "checking for $ac_word... " >&6; }
8541 if ${ac_cv_prog_OBJDUMP+:} false; then :
8542   $as_echo_n "(cached) " >&6
8543 else
8544   if test -n "$OBJDUMP"; then
8545   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8546 else
8547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8548 for as_dir in $PATH
8549 do
8550   IFS=$as_save_IFS
8551   test -z "$as_dir" && as_dir=.
8552     for ac_exec_ext in '' $ac_executable_extensions; do
8553   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8554     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8556     break 2
8557   fi
8558 done
8559   done
8560 IFS=$as_save_IFS
8561
8562 fi
8563 fi
8564 OBJDUMP=$ac_cv_prog_OBJDUMP
8565 if test -n "$OBJDUMP"; then
8566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8567 $as_echo "$OBJDUMP" >&6; }
8568 else
8569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8570 $as_echo "no" >&6; }
8571 fi
8572
8573
8574 fi
8575 if test -z "$ac_cv_prog_OBJDUMP"; then
8576   ac_ct_OBJDUMP=$OBJDUMP
8577   # Extract the first word of "objdump", so it can be a program name with args.
8578 set dummy objdump; ac_word=$2
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8580 $as_echo_n "checking for $ac_word... " >&6; }
8581 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8582   $as_echo_n "(cached) " >&6
8583 else
8584   if test -n "$ac_ct_OBJDUMP"; then
8585   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8586 else
8587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8588 for as_dir in $PATH
8589 do
8590   IFS=$as_save_IFS
8591   test -z "$as_dir" && as_dir=.
8592     for ac_exec_ext in '' $ac_executable_extensions; do
8593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8594     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8596     break 2
8597   fi
8598 done
8599   done
8600 IFS=$as_save_IFS
8601
8602 fi
8603 fi
8604 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8605 if test -n "$ac_ct_OBJDUMP"; then
8606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8607 $as_echo "$ac_ct_OBJDUMP" >&6; }
8608 else
8609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8610 $as_echo "no" >&6; }
8611 fi
8612
8613   if test "x$ac_ct_OBJDUMP" = x; then
8614     OBJDUMP="false"
8615   else
8616     case $cross_compiling:$ac_tool_warned in
8617 yes:)
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8620 ac_tool_warned=yes ;;
8621 esac
8622     OBJDUMP=$ac_ct_OBJDUMP
8623   fi
8624 else
8625   OBJDUMP="$ac_cv_prog_OBJDUMP"
8626 fi
8627
8628 test -z "$OBJDUMP" && OBJDUMP=objdump
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8639 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8640 if ${lt_cv_deplibs_check_method+:} false; then :
8641   $as_echo_n "(cached) " >&6
8642 else
8643   lt_cv_file_magic_cmd='$MAGIC_CMD'
8644 lt_cv_file_magic_test_file=
8645 lt_cv_deplibs_check_method='unknown'
8646 # Need to set the preceding variable on all platforms that support
8647 # interlibrary dependencies.
8648 # 'none' -- dependencies not supported.
8649 # `unknown' -- same as none, but documents that we really don't know.
8650 # 'pass_all' -- all dependencies passed with no checks.
8651 # 'test_compile' -- check by making test program.
8652 # 'file_magic [[regex]]' -- check by looking for files in library path
8653 # which responds to the $file_magic_cmd with a given extended regex.
8654 # If you have `file' or equivalent on your system and you're not sure
8655 # whether `pass_all' will *always* work, you probably want this one.
8656
8657 case $host_os in
8658 aix[4-9]*)
8659   lt_cv_deplibs_check_method=pass_all
8660   ;;
8661
8662 beos*)
8663   lt_cv_deplibs_check_method=pass_all
8664   ;;
8665
8666 bsdi[45]*)
8667   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8668   lt_cv_file_magic_cmd='/usr/bin/file -L'
8669   lt_cv_file_magic_test_file=/shlib/libc.so
8670   ;;
8671
8672 cygwin*)
8673   # func_win32_libid is a shell function defined in ltmain.sh
8674   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8675   lt_cv_file_magic_cmd='func_win32_libid'
8676   ;;
8677
8678 mingw* | pw32*)
8679   # Base MSYS/MinGW do not provide the 'file' command needed by
8680   # func_win32_libid shell function, so use a weaker test based on 'objdump',
8681   # unless we find 'file', for example because we are cross-compiling.
8682   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8683   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8684     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8685     lt_cv_file_magic_cmd='func_win32_libid'
8686   else
8687     # Keep this pattern in sync with the one in func_win32_libid.
8688     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8689     lt_cv_file_magic_cmd='$OBJDUMP -f'
8690   fi
8691   ;;
8692
8693 cegcc*)
8694   # use the weaker test based on 'objdump'. See mingw*.
8695   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8696   lt_cv_file_magic_cmd='$OBJDUMP -f'
8697   ;;
8698
8699 darwin* | rhapsody*)
8700   lt_cv_deplibs_check_method=pass_all
8701   ;;
8702
8703 freebsd* | dragonfly*)
8704   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8705     case $host_cpu in
8706     i*86 )
8707       # Not sure whether the presence of OpenBSD here was a mistake.
8708       # Let's accept both of them until this is cleared up.
8709       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8710       lt_cv_file_magic_cmd=/usr/bin/file
8711       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8712       ;;
8713     esac
8714   else
8715     lt_cv_deplibs_check_method=pass_all
8716   fi
8717   ;;
8718
8719 gnu*)
8720   lt_cv_deplibs_check_method=pass_all
8721   ;;
8722
8723 haiku*)
8724   lt_cv_deplibs_check_method=pass_all
8725   ;;
8726
8727 hpux10.20* | hpux11*)
8728   lt_cv_file_magic_cmd=/usr/bin/file
8729   case $host_cpu in
8730   ia64*)
8731     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8732     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8733     ;;
8734   hppa*64*)
8735     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]'
8736     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8737     ;;
8738   *)
8739     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8740     lt_cv_file_magic_test_file=/usr/lib/libc.sl
8741     ;;
8742   esac
8743   ;;
8744
8745 interix[3-9]*)
8746   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8747   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8748   ;;
8749
8750 irix5* | irix6* | nonstopux*)
8751   case $LD in
8752   *-32|*"-32 ") libmagic=32-bit;;
8753   *-n32|*"-n32 ") libmagic=N32;;
8754   *-64|*"-64 ") libmagic=64-bit;;
8755   *) libmagic=never-match;;
8756   esac
8757   lt_cv_deplibs_check_method=pass_all
8758   ;;
8759
8760 # This must be glibc/ELF.
8761 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8762   lt_cv_deplibs_check_method=pass_all
8763   ;;
8764
8765 netbsd*)
8766   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8767     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8768   else
8769     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8770   fi
8771   ;;
8772
8773 newos6*)
8774   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8775   lt_cv_file_magic_cmd=/usr/bin/file
8776   lt_cv_file_magic_test_file=/usr/lib/libnls.so
8777   ;;
8778
8779 *nto* | *qnx*)
8780   lt_cv_deplibs_check_method=pass_all
8781   ;;
8782
8783 openbsd*)
8784   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8785     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8786   else
8787     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8788   fi
8789   ;;
8790
8791 osf3* | osf4* | osf5*)
8792   lt_cv_deplibs_check_method=pass_all
8793   ;;
8794
8795 rdos*)
8796   lt_cv_deplibs_check_method=pass_all
8797   ;;
8798
8799 solaris*)
8800   lt_cv_deplibs_check_method=pass_all
8801   ;;
8802
8803 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8804   lt_cv_deplibs_check_method=pass_all
8805   ;;
8806
8807 sysv4 | sysv4.3*)
8808   case $host_vendor in
8809   motorola)
8810     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]'
8811     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8812     ;;
8813   ncr)
8814     lt_cv_deplibs_check_method=pass_all
8815     ;;
8816   sequent)
8817     lt_cv_file_magic_cmd='/bin/file'
8818     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8819     ;;
8820   sni)
8821     lt_cv_file_magic_cmd='/bin/file'
8822     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8823     lt_cv_file_magic_test_file=/lib/libc.so
8824     ;;
8825   siemens)
8826     lt_cv_deplibs_check_method=pass_all
8827     ;;
8828   pc)
8829     lt_cv_deplibs_check_method=pass_all
8830     ;;
8831   esac
8832   ;;
8833
8834 tpf*)
8835   lt_cv_deplibs_check_method=pass_all
8836   ;;
8837 esac
8838
8839 fi
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8841 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8842
8843 file_magic_glob=
8844 want_nocaseglob=no
8845 if test "$build" = "$host"; then
8846   case $host_os in
8847   mingw* | pw32*)
8848     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8849       want_nocaseglob=yes
8850     else
8851       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8852     fi
8853     ;;
8854   esac
8855 fi
8856
8857 file_magic_cmd=$lt_cv_file_magic_cmd
8858 deplibs_check_method=$lt_cv_deplibs_check_method
8859 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882 if test -n "$ac_tool_prefix"; then
8883   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8884 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8886 $as_echo_n "checking for $ac_word... " >&6; }
8887 if ${ac_cv_prog_DLLTOOL+:} false; then :
8888   $as_echo_n "(cached) " >&6
8889 else
8890   if test -n "$DLLTOOL"; then
8891   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8892 else
8893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8894 for as_dir in $PATH
8895 do
8896   IFS=$as_save_IFS
8897   test -z "$as_dir" && as_dir=.
8898     for ac_exec_ext in '' $ac_executable_extensions; do
8899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8900     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8902     break 2
8903   fi
8904 done
8905   done
8906 IFS=$as_save_IFS
8907
8908 fi
8909 fi
8910 DLLTOOL=$ac_cv_prog_DLLTOOL
8911 if test -n "$DLLTOOL"; then
8912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8913 $as_echo "$DLLTOOL" >&6; }
8914 else
8915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8916 $as_echo "no" >&6; }
8917 fi
8918
8919
8920 fi
8921 if test -z "$ac_cv_prog_DLLTOOL"; then
8922   ac_ct_DLLTOOL=$DLLTOOL
8923   # Extract the first word of "dlltool", so it can be a program name with args.
8924 set dummy dlltool; ac_word=$2
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8926 $as_echo_n "checking for $ac_word... " >&6; }
8927 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8928   $as_echo_n "(cached) " >&6
8929 else
8930   if test -n "$ac_ct_DLLTOOL"; then
8931   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8932 else
8933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8934 for as_dir in $PATH
8935 do
8936   IFS=$as_save_IFS
8937   test -z "$as_dir" && as_dir=.
8938     for ac_exec_ext in '' $ac_executable_extensions; do
8939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8940     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8942     break 2
8943   fi
8944 done
8945   done
8946 IFS=$as_save_IFS
8947
8948 fi
8949 fi
8950 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8951 if test -n "$ac_ct_DLLTOOL"; then
8952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8953 $as_echo "$ac_ct_DLLTOOL" >&6; }
8954 else
8955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8956 $as_echo "no" >&6; }
8957 fi
8958
8959   if test "x$ac_ct_DLLTOOL" = x; then
8960     DLLTOOL="false"
8961   else
8962     case $cross_compiling:$ac_tool_warned in
8963 yes:)
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8966 ac_tool_warned=yes ;;
8967 esac
8968     DLLTOOL=$ac_ct_DLLTOOL
8969   fi
8970 else
8971   DLLTOOL="$ac_cv_prog_DLLTOOL"
8972 fi
8973
8974 test -z "$DLLTOOL" && DLLTOOL=dlltool
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8986 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8987 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8988   $as_echo_n "(cached) " >&6
8989 else
8990   lt_cv_sharedlib_from_linklib_cmd='unknown'
8991
8992 case $host_os in
8993 cygwin* | mingw* | pw32* | cegcc*)
8994   # two different shell functions defined in ltmain.sh
8995   # decide which to use based on capabilities of $DLLTOOL
8996   case `$DLLTOOL --help 2>&1` in
8997   *--identify-strict*)
8998     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8999     ;;
9000   *)
9001     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
9002     ;;
9003   esac
9004   ;;
9005 *)
9006   # fallback: assume linklib IS sharedlib
9007   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
9008   ;;
9009 esac
9010
9011 fi
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9013 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
9014 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
9015 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
9016
9017
9018
9019
9020
9021
9022
9023 if test -n "$ac_tool_prefix"; then
9024   for ac_prog in ar
9025   do
9026     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9029 $as_echo_n "checking for $ac_word... " >&6; }
9030 if ${ac_cv_prog_AR+:} false; then :
9031   $as_echo_n "(cached) " >&6
9032 else
9033   if test -n "$AR"; then
9034   ac_cv_prog_AR="$AR" # Let the user override the test.
9035 else
9036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9037 for as_dir in $PATH
9038 do
9039   IFS=$as_save_IFS
9040   test -z "$as_dir" && as_dir=.
9041     for ac_exec_ext in '' $ac_executable_extensions; do
9042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9043     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9045     break 2
9046   fi
9047 done
9048   done
9049 IFS=$as_save_IFS
9050
9051 fi
9052 fi
9053 AR=$ac_cv_prog_AR
9054 if test -n "$AR"; then
9055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9056 $as_echo "$AR" >&6; }
9057 else
9058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9060 fi
9061
9062
9063     test -n "$AR" && break
9064   done
9065 fi
9066 if test -z "$AR"; then
9067   ac_ct_AR=$AR
9068   for ac_prog in ar
9069 do
9070   # Extract the first word of "$ac_prog", so it can be a program name with args.
9071 set dummy $ac_prog; ac_word=$2
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9073 $as_echo_n "checking for $ac_word... " >&6; }
9074 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9075   $as_echo_n "(cached) " >&6
9076 else
9077   if test -n "$ac_ct_AR"; then
9078   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9079 else
9080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9081 for as_dir in $PATH
9082 do
9083   IFS=$as_save_IFS
9084   test -z "$as_dir" && as_dir=.
9085     for ac_exec_ext in '' $ac_executable_extensions; do
9086   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9087     ac_cv_prog_ac_ct_AR="$ac_prog"
9088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9089     break 2
9090   fi
9091 done
9092   done
9093 IFS=$as_save_IFS
9094
9095 fi
9096 fi
9097 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9098 if test -n "$ac_ct_AR"; then
9099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9100 $as_echo "$ac_ct_AR" >&6; }
9101 else
9102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9103 $as_echo "no" >&6; }
9104 fi
9105
9106
9107   test -n "$ac_ct_AR" && break
9108 done
9109
9110   if test "x$ac_ct_AR" = x; then
9111     AR="false"
9112   else
9113     case $cross_compiling:$ac_tool_warned in
9114 yes:)
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9117 ac_tool_warned=yes ;;
9118 esac
9119     AR=$ac_ct_AR
9120   fi
9121 fi
9122
9123 : ${AR=ar}
9124 : ${AR_FLAGS=cru}
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9137 $as_echo_n "checking for archiver @FILE support... " >&6; }
9138 if ${lt_cv_ar_at_file+:} false; then :
9139   $as_echo_n "(cached) " >&6
9140 else
9141   lt_cv_ar_at_file=no
9142    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h.  */
9144
9145 int
9146 main ()
9147 {
9148
9149   ;
9150   return 0;
9151 }
9152 _ACEOF
9153 if ac_fn_c_try_compile "$LINENO"; then :
9154   echo conftest.$ac_objext > conftest.lst
9155       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9156       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9157   (eval $lt_ar_try) 2>&5
9158   ac_status=$?
9159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9160   test $ac_status = 0; }
9161       if test "$ac_status" -eq 0; then
9162         # Ensure the archiver fails upon bogus file names.
9163         rm -f conftest.$ac_objext libconftest.a
9164         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9165   (eval $lt_ar_try) 2>&5
9166   ac_status=$?
9167   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9168   test $ac_status = 0; }
9169         if test "$ac_status" -ne 0; then
9170           lt_cv_ar_at_file=@
9171         fi
9172       fi
9173       rm -f conftest.* libconftest.a
9174
9175 fi
9176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9177
9178 fi
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9180 $as_echo "$lt_cv_ar_at_file" >&6; }
9181
9182 if test "x$lt_cv_ar_at_file" = xno; then
9183   archiver_list_spec=
9184 else
9185   archiver_list_spec=$lt_cv_ar_at_file
9186 fi
9187
9188
9189
9190
9191
9192
9193
9194 if test -n "$ac_tool_prefix"; then
9195   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9196 set dummy ${ac_tool_prefix}strip; ac_word=$2
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9198 $as_echo_n "checking for $ac_word... " >&6; }
9199 if ${ac_cv_prog_STRIP+:} false; then :
9200   $as_echo_n "(cached) " >&6
9201 else
9202   if test -n "$STRIP"; then
9203   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9204 else
9205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9206 for as_dir in $PATH
9207 do
9208   IFS=$as_save_IFS
9209   test -z "$as_dir" && as_dir=.
9210     for ac_exec_ext in '' $ac_executable_extensions; do
9211   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9212     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9214     break 2
9215   fi
9216 done
9217   done
9218 IFS=$as_save_IFS
9219
9220 fi
9221 fi
9222 STRIP=$ac_cv_prog_STRIP
9223 if test -n "$STRIP"; then
9224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9225 $as_echo "$STRIP" >&6; }
9226 else
9227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9228 $as_echo "no" >&6; }
9229 fi
9230
9231
9232 fi
9233 if test -z "$ac_cv_prog_STRIP"; then
9234   ac_ct_STRIP=$STRIP
9235   # Extract the first word of "strip", so it can be a program name with args.
9236 set dummy strip; ac_word=$2
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9238 $as_echo_n "checking for $ac_word... " >&6; }
9239 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9240   $as_echo_n "(cached) " >&6
9241 else
9242   if test -n "$ac_ct_STRIP"; then
9243   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9244 else
9245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9246 for as_dir in $PATH
9247 do
9248   IFS=$as_save_IFS
9249   test -z "$as_dir" && as_dir=.
9250     for ac_exec_ext in '' $ac_executable_extensions; do
9251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9252     ac_cv_prog_ac_ct_STRIP="strip"
9253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9254     break 2
9255   fi
9256 done
9257   done
9258 IFS=$as_save_IFS
9259
9260 fi
9261 fi
9262 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9263 if test -n "$ac_ct_STRIP"; then
9264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9265 $as_echo "$ac_ct_STRIP" >&6; }
9266 else
9267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9268 $as_echo "no" >&6; }
9269 fi
9270
9271   if test "x$ac_ct_STRIP" = x; then
9272     STRIP=":"
9273   else
9274     case $cross_compiling:$ac_tool_warned in
9275 yes:)
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9278 ac_tool_warned=yes ;;
9279 esac
9280     STRIP=$ac_ct_STRIP
9281   fi
9282 else
9283   STRIP="$ac_cv_prog_STRIP"
9284 fi
9285
9286 test -z "$STRIP" && STRIP=:
9287
9288
9289
9290
9291
9292
9293 if test -n "$ac_tool_prefix"; then
9294   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9295 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9297 $as_echo_n "checking for $ac_word... " >&6; }
9298 if ${ac_cv_prog_RANLIB+:} false; then :
9299   $as_echo_n "(cached) " >&6
9300 else
9301   if test -n "$RANLIB"; then
9302   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9303 else
9304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9305 for as_dir in $PATH
9306 do
9307   IFS=$as_save_IFS
9308   test -z "$as_dir" && as_dir=.
9309     for ac_exec_ext in '' $ac_executable_extensions; do
9310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9311     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9313     break 2
9314   fi
9315 done
9316   done
9317 IFS=$as_save_IFS
9318
9319 fi
9320 fi
9321 RANLIB=$ac_cv_prog_RANLIB
9322 if test -n "$RANLIB"; then
9323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9324 $as_echo "$RANLIB" >&6; }
9325 else
9326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9327 $as_echo "no" >&6; }
9328 fi
9329
9330
9331 fi
9332 if test -z "$ac_cv_prog_RANLIB"; then
9333   ac_ct_RANLIB=$RANLIB
9334   # Extract the first word of "ranlib", so it can be a program name with args.
9335 set dummy ranlib; ac_word=$2
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9337 $as_echo_n "checking for $ac_word... " >&6; }
9338 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9339   $as_echo_n "(cached) " >&6
9340 else
9341   if test -n "$ac_ct_RANLIB"; then
9342   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9343 else
9344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9345 for as_dir in $PATH
9346 do
9347   IFS=$as_save_IFS
9348   test -z "$as_dir" && as_dir=.
9349     for ac_exec_ext in '' $ac_executable_extensions; do
9350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9351     ac_cv_prog_ac_ct_RANLIB="ranlib"
9352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9353     break 2
9354   fi
9355 done
9356   done
9357 IFS=$as_save_IFS
9358
9359 fi
9360 fi
9361 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9362 if test -n "$ac_ct_RANLIB"; then
9363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9364 $as_echo "$ac_ct_RANLIB" >&6; }
9365 else
9366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9367 $as_echo "no" >&6; }
9368 fi
9369
9370   if test "x$ac_ct_RANLIB" = x; then
9371     RANLIB=":"
9372   else
9373     case $cross_compiling:$ac_tool_warned in
9374 yes:)
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9377 ac_tool_warned=yes ;;
9378 esac
9379     RANLIB=$ac_ct_RANLIB
9380   fi
9381 else
9382   RANLIB="$ac_cv_prog_RANLIB"
9383 fi
9384
9385 test -z "$RANLIB" && RANLIB=:
9386
9387
9388
9389
9390
9391
9392 # Determine commands to create old-style static archives.
9393 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9394 old_postinstall_cmds='chmod 644 $oldlib'
9395 old_postuninstall_cmds=
9396
9397 if test -n "$RANLIB"; then
9398   case $host_os in
9399   openbsd*)
9400     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9401     ;;
9402   *)
9403     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9404     ;;
9405   esac
9406   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9407 fi
9408
9409 case $host_os in
9410   darwin*)
9411     lock_old_archive_extraction=yes ;;
9412   *)
9413     lock_old_archive_extraction=no ;;
9414 esac
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454 # If no C compiler was specified, use CC.
9455 LTCC=${LTCC-"$CC"}
9456
9457 # If no C compiler flags were specified, use CFLAGS.
9458 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9459
9460 # Allow CC to be a program name with arguments.
9461 compiler=$CC
9462
9463
9464 # Check for command to grab the raw symbol name followed by C symbol from nm.
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9466 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9467 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9468   $as_echo_n "(cached) " >&6
9469 else
9470
9471 # These are sane defaults that work on at least a few old systems.
9472 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9473
9474 # Character class describing NM global symbol codes.
9475 symcode='[BCDEGRST]'
9476
9477 # Regexp to match symbols that can be accessed directly from C.
9478 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9479
9480 # Define system-specific variables.
9481 case $host_os in
9482 aix*)
9483   symcode='[BCDT]'
9484   ;;
9485 cygwin* | mingw* | pw32* | cegcc*)
9486   symcode='[ABCDGISTW]'
9487   ;;
9488 hpux*)
9489   if test "$host_cpu" = ia64; then
9490     symcode='[ABCDEGRST]'
9491   fi
9492   ;;
9493 irix* | nonstopux*)
9494   symcode='[BCDEGRST]'
9495   ;;
9496 osf*)
9497   symcode='[BCDEGQRST]'
9498   ;;
9499 solaris*)
9500   symcode='[BDRT]'
9501   ;;
9502 sco3.2v5*)
9503   symcode='[DT]'
9504   ;;
9505 sysv4.2uw2*)
9506   symcode='[DT]'
9507   ;;
9508 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9509   symcode='[ABDT]'
9510   ;;
9511 sysv4)
9512   symcode='[DFNSTU]'
9513   ;;
9514 esac
9515
9516 # If we're using GNU nm, then use its standard symbol codes.
9517 case `$NM -V 2>&1` in
9518 *GNU* | *'with BFD'*)
9519   symcode='[ABCDGIRSTW]' ;;
9520 esac
9521
9522 # Transform an extracted symbol line into a proper C declaration.
9523 # Some systems (esp. on ia64) link data and code symbols differently,
9524 # so use this general approach.
9525 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9526
9527 # Transform an extracted symbol line into symbol name and symbol address
9528 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
9529 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'"
9530
9531 # Handle CRLF in mingw tool chain
9532 opt_cr=
9533 case $build_os in
9534 mingw*)
9535   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9536   ;;
9537 esac
9538
9539 # Try without a prefix underscore, then with it.
9540 for ac_symprfx in "" "_"; do
9541
9542   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9543   symxfrm="\\1 $ac_symprfx\\2 \\2"
9544
9545   # Write the raw and C identifiers.
9546   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9547     # Fake it for dumpbin and say T for any non-static function
9548     # and D for any global variable.
9549     # Also find C++ and __fastcall symbols from MSVC++,
9550     # which start with @ or ?.
9551     lt_cv_sys_global_symbol_pipe="$AWK '"\
9552 "     {last_section=section; section=\$ 3};"\
9553 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9554 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9555 "     \$ 0!~/External *\|/{next};"\
9556 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9557 "     {if(hide[section]) next};"\
9558 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9559 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9560 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
9561 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9562 "     ' prfx=^$ac_symprfx"
9563   else
9564     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9565   fi
9566   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9567
9568   # Check to see that the pipe works correctly.
9569   pipe_works=no
9570
9571   rm -f conftest*
9572   cat > conftest.$ac_ext <<_LT_EOF
9573 #ifdef __cplusplus
9574 extern "C" {
9575 #endif
9576 char nm_test_var;
9577 void nm_test_func(void);
9578 void nm_test_func(void){}
9579 #ifdef __cplusplus
9580 }
9581 #endif
9582 int main(){nm_test_var='a';nm_test_func();return(0);}
9583 _LT_EOF
9584
9585   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9586   (eval $ac_compile) 2>&5
9587   ac_status=$?
9588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9589   test $ac_status = 0; }; then
9590     # Now try to grab the symbols.
9591     nlist=conftest.nm
9592     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9593   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9594   ac_status=$?
9595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9596   test $ac_status = 0; } && test -s "$nlist"; then
9597       # Try sorting and uniquifying the output.
9598       if sort "$nlist" | uniq > "$nlist"T; then
9599         mv -f "$nlist"T "$nlist"
9600       else
9601         rm -f "$nlist"T
9602       fi
9603
9604       # Make sure that we snagged all the symbols we need.
9605       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9606         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9607           cat <<_LT_EOF > conftest.$ac_ext
9608 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
9609 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9610 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9611    relocations are performed -- see ld's documentation on pseudo-relocs.  */
9612 # define LT_DLSYM_CONST
9613 #elif defined(__osf__)
9614 /* This system does not cope well with relocations in const data.  */
9615 # define LT_DLSYM_CONST
9616 #else
9617 # define LT_DLSYM_CONST const
9618 #endif
9619
9620 #ifdef __cplusplus
9621 extern "C" {
9622 #endif
9623
9624 _LT_EOF
9625           # Now generate the symbol file.
9626           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9627
9628           cat <<_LT_EOF >> conftest.$ac_ext
9629
9630 /* The mapping between symbol names and symbols.  */
9631 LT_DLSYM_CONST struct {
9632   const char *name;
9633   void       *address;
9634 }
9635 lt__PROGRAM__LTX_preloaded_symbols[] =
9636 {
9637   { "@PROGRAM@", (void *) 0 },
9638 _LT_EOF
9639           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9640           cat <<\_LT_EOF >> conftest.$ac_ext
9641   {0, (void *) 0}
9642 };
9643
9644 /* This works around a problem in FreeBSD linker */
9645 #ifdef FREEBSD_WORKAROUND
9646 static const void *lt_preloaded_setup() {
9647   return lt__PROGRAM__LTX_preloaded_symbols;
9648 }
9649 #endif
9650
9651 #ifdef __cplusplus
9652 }
9653 #endif
9654 _LT_EOF
9655           # Now try linking the two files.
9656           mv conftest.$ac_objext conftstm.$ac_objext
9657           lt_globsym_save_LIBS=$LIBS
9658           lt_globsym_save_CFLAGS=$CFLAGS
9659           LIBS="conftstm.$ac_objext"
9660           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9661           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9662   (eval $ac_link) 2>&5
9663   ac_status=$?
9664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9665   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9666             pipe_works=yes
9667           fi
9668           LIBS=$lt_globsym_save_LIBS
9669           CFLAGS=$lt_globsym_save_CFLAGS
9670         else
9671           echo "cannot find nm_test_func in $nlist" >&5
9672         fi
9673       else
9674         echo "cannot find nm_test_var in $nlist" >&5
9675       fi
9676     else
9677       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9678     fi
9679   else
9680     echo "$progname: failed program was:" >&5
9681     cat conftest.$ac_ext >&5
9682   fi
9683   rm -rf conftest* conftst*
9684
9685   # Do not use the global_symbol_pipe unless it works.
9686   if test "$pipe_works" = yes; then
9687     break
9688   else
9689     lt_cv_sys_global_symbol_pipe=
9690   fi
9691 done
9692
9693 fi
9694
9695 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9696   lt_cv_sys_global_symbol_to_cdecl=
9697 fi
9698 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9700 $as_echo "failed" >&6; }
9701 else
9702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9703 $as_echo "ok" >&6; }
9704 fi
9705
9706 # Response file support.
9707 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9708   nm_file_list_spec='@'
9709 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9710   nm_file_list_spec='@'
9711 fi
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9740 $as_echo_n "checking for sysroot... " >&6; }
9741
9742 # Check whether --with-sysroot was given.
9743 if test "${with_sysroot+set}" = set; then :
9744   withval=$with_sysroot;
9745 else
9746   with_sysroot=no
9747 fi
9748
9749
9750 lt_sysroot=
9751 case ${with_sysroot} in #(
9752  yes)
9753    if test "$GCC" = yes; then
9754      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9755    fi
9756    ;; #(
9757  /*)
9758    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9759    ;; #(
9760  no|'')
9761    ;; #(
9762  *)
9763    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9764 $as_echo "${with_sysroot}" >&6; }
9765    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9766    ;;
9767 esac
9768
9769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9770 $as_echo "${lt_sysroot:-no}" >&6; }
9771
9772
9773
9774
9775
9776 # Check whether --enable-libtool-lock was given.
9777 if test "${enable_libtool_lock+set}" = set; then :
9778   enableval=$enable_libtool_lock;
9779 fi
9780
9781 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9782
9783 # Some flags need to be propagated to the compiler or linker for good
9784 # libtool support.
9785 case $host in
9786 ia64-*-hpux*)
9787   # Find out which ABI we are using.
9788   echo 'int i;' > conftest.$ac_ext
9789   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9790   (eval $ac_compile) 2>&5
9791   ac_status=$?
9792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9793   test $ac_status = 0; }; then
9794     case `/usr/bin/file conftest.$ac_objext` in
9795       *ELF-32*)
9796         HPUX_IA64_MODE="32"
9797         ;;
9798       *ELF-64*)
9799         HPUX_IA64_MODE="64"
9800         ;;
9801     esac
9802   fi
9803   rm -rf conftest*
9804   ;;
9805 *-*-irix6*)
9806   # Find out which ABI we are using.
9807   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9808   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9809   (eval $ac_compile) 2>&5
9810   ac_status=$?
9811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9812   test $ac_status = 0; }; then
9813     if test "$lt_cv_prog_gnu_ld" = yes; then
9814       case `/usr/bin/file conftest.$ac_objext` in
9815         *32-bit*)
9816           LD="${LD-ld} -melf32bsmip"
9817           ;;
9818         *N32*)
9819           LD="${LD-ld} -melf32bmipn32"
9820           ;;
9821         *64-bit*)
9822           LD="${LD-ld} -melf64bmip"
9823         ;;
9824       esac
9825     else
9826       case `/usr/bin/file conftest.$ac_objext` in
9827         *32-bit*)
9828           LD="${LD-ld} -32"
9829           ;;
9830         *N32*)
9831           LD="${LD-ld} -n32"
9832           ;;
9833         *64-bit*)
9834           LD="${LD-ld} -64"
9835           ;;
9836       esac
9837     fi
9838   fi
9839   rm -rf conftest*
9840   ;;
9841
9842 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9843 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9844   # Find out which ABI we are using.
9845   echo 'int i;' > conftest.$ac_ext
9846   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9847   (eval $ac_compile) 2>&5
9848   ac_status=$?
9849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9850   test $ac_status = 0; }; then
9851     case `/usr/bin/file conftest.o` in
9852       *32-bit*)
9853         case $host in
9854           x86_64-*kfreebsd*-gnu)
9855             LD="${LD-ld} -m elf_i386_fbsd"
9856             ;;
9857           x86_64-*linux*)
9858             LD="${LD-ld} -m elf_i386"
9859             ;;
9860           ppc64-*linux*|powerpc64-*linux*)
9861             LD="${LD-ld} -m elf32ppclinux"
9862             ;;
9863           s390x-*linux*)
9864             LD="${LD-ld} -m elf_s390"
9865             ;;
9866           sparc64-*linux*)
9867             LD="${LD-ld} -m elf32_sparc"
9868             ;;
9869         esac
9870         ;;
9871       *64-bit*)
9872         case $host in
9873           x86_64-*kfreebsd*-gnu)
9874             LD="${LD-ld} -m elf_x86_64_fbsd"
9875             ;;
9876           x86_64-*linux*)
9877             LD="${LD-ld} -m elf_x86_64"
9878             ;;
9879           ppc*-*linux*|powerpc*-*linux*)
9880             LD="${LD-ld} -m elf64ppc"
9881             ;;
9882           s390*-*linux*|s390*-*tpf*)
9883             LD="${LD-ld} -m elf64_s390"
9884             ;;
9885           sparc*-*linux*)
9886             LD="${LD-ld} -m elf64_sparc"
9887             ;;
9888         esac
9889         ;;
9890     esac
9891   fi
9892   rm -rf conftest*
9893   ;;
9894
9895 *-*-sco3.2v5*)
9896   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9897   SAVE_CFLAGS="$CFLAGS"
9898   CFLAGS="$CFLAGS -belf"
9899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9900 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9901 if ${lt_cv_cc_needs_belf+:} false; then :
9902   $as_echo_n "(cached) " >&6
9903 else
9904   ac_ext=c
9905 ac_cpp='$CPP $CPPFLAGS'
9906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9909
9910      if test x$ac_no_link = xyes; then
9911   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
9912 fi
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h.  */
9915
9916 int
9917 main ()
9918 {
9919
9920   ;
9921   return 0;
9922 }
9923 _ACEOF
9924 if ac_fn_c_try_link "$LINENO"; then :
9925   lt_cv_cc_needs_belf=yes
9926 else
9927   lt_cv_cc_needs_belf=no
9928 fi
9929 rm -f core conftest.err conftest.$ac_objext \
9930     conftest$ac_exeext conftest.$ac_ext
9931      ac_ext=c
9932 ac_cpp='$CPP $CPPFLAGS'
9933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9936
9937 fi
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9939 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9940   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9941     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9942     CFLAGS="$SAVE_CFLAGS"
9943   fi
9944   ;;
9945 *-*solaris*)
9946   # Find out which ABI we are using.
9947   echo 'int i;' > conftest.$ac_ext
9948   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9949   (eval $ac_compile) 2>&5
9950   ac_status=$?
9951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9952   test $ac_status = 0; }; then
9953     case `/usr/bin/file conftest.o` in
9954     *64-bit*)
9955       case $lt_cv_prog_gnu_ld in
9956       yes*)
9957         case $host in
9958         i?86-*-solaris*)
9959           LD="${LD-ld} -m elf_x86_64"
9960           ;;
9961         sparc*-*-solaris*)
9962           LD="${LD-ld} -m elf64_sparc"
9963           ;;
9964         esac
9965         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
9966         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9967           LD="${LD-ld}_sol2"
9968         fi
9969         ;;
9970       *)
9971         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9972           LD="${LD-ld} -64"
9973         fi
9974         ;;
9975       esac
9976       ;;
9977     esac
9978   fi
9979   rm -rf conftest*
9980   ;;
9981 esac
9982
9983 need_locks="$enable_libtool_lock"
9984
9985 if test -n "$ac_tool_prefix"; then
9986   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9987 set dummy ${ac_tool_prefix}mt; ac_word=$2
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9989 $as_echo_n "checking for $ac_word... " >&6; }
9990 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9991   $as_echo_n "(cached) " >&6
9992 else
9993   if test -n "$MANIFEST_TOOL"; then
9994   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9995 else
9996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9997 for as_dir in $PATH
9998 do
9999   IFS=$as_save_IFS
10000   test -z "$as_dir" && as_dir=.
10001     for ac_exec_ext in '' $ac_executable_extensions; do
10002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10003     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10005     break 2
10006   fi
10007 done
10008   done
10009 IFS=$as_save_IFS
10010
10011 fi
10012 fi
10013 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10014 if test -n "$MANIFEST_TOOL"; then
10015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10016 $as_echo "$MANIFEST_TOOL" >&6; }
10017 else
10018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10019 $as_echo "no" >&6; }
10020 fi
10021
10022
10023 fi
10024 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10025   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10026   # Extract the first word of "mt", so it can be a program name with args.
10027 set dummy mt; ac_word=$2
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10029 $as_echo_n "checking for $ac_word... " >&6; }
10030 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
10031   $as_echo_n "(cached) " >&6
10032 else
10033   if test -n "$ac_ct_MANIFEST_TOOL"; then
10034   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10035 else
10036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10037 for as_dir in $PATH
10038 do
10039   IFS=$as_save_IFS
10040   test -z "$as_dir" && as_dir=.
10041     for ac_exec_ext in '' $ac_executable_extensions; do
10042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10043     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10045     break 2
10046   fi
10047 done
10048   done
10049 IFS=$as_save_IFS
10050
10051 fi
10052 fi
10053 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10054 if test -n "$ac_ct_MANIFEST_TOOL"; then
10055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10056 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10057 else
10058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10059 $as_echo "no" >&6; }
10060 fi
10061
10062   if test "x$ac_ct_MANIFEST_TOOL" = x; then
10063     MANIFEST_TOOL=":"
10064   else
10065     case $cross_compiling:$ac_tool_warned in
10066 yes:)
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10069 ac_tool_warned=yes ;;
10070 esac
10071     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10072   fi
10073 else
10074   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10075 fi
10076
10077 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10079 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10080 if ${lt_cv_path_mainfest_tool+:} false; then :
10081   $as_echo_n "(cached) " >&6
10082 else
10083   lt_cv_path_mainfest_tool=no
10084   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10085   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10086   cat conftest.err >&5
10087   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10088     lt_cv_path_mainfest_tool=yes
10089   fi
10090   rm -f conftest*
10091 fi
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10093 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10094 if test "x$lt_cv_path_mainfest_tool" != xyes; then
10095   MANIFEST_TOOL=:
10096 fi
10097
10098
10099
10100
10101
10102
10103   case $host_os in
10104     rhapsody* | darwin*)
10105     if test -n "$ac_tool_prefix"; then
10106   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10107 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10109 $as_echo_n "checking for $ac_word... " >&6; }
10110 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10111   $as_echo_n "(cached) " >&6
10112 else
10113   if test -n "$DSYMUTIL"; then
10114   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10115 else
10116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10117 for as_dir in $PATH
10118 do
10119   IFS=$as_save_IFS
10120   test -z "$as_dir" && as_dir=.
10121     for ac_exec_ext in '' $ac_executable_extensions; do
10122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10123     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10125     break 2
10126   fi
10127 done
10128   done
10129 IFS=$as_save_IFS
10130
10131 fi
10132 fi
10133 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10134 if test -n "$DSYMUTIL"; then
10135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10136 $as_echo "$DSYMUTIL" >&6; }
10137 else
10138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10139 $as_echo "no" >&6; }
10140 fi
10141
10142
10143 fi
10144 if test -z "$ac_cv_prog_DSYMUTIL"; then
10145   ac_ct_DSYMUTIL=$DSYMUTIL
10146   # Extract the first word of "dsymutil", so it can be a program name with args.
10147 set dummy dsymutil; ac_word=$2
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10149 $as_echo_n "checking for $ac_word... " >&6; }
10150 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10151   $as_echo_n "(cached) " >&6
10152 else
10153   if test -n "$ac_ct_DSYMUTIL"; then
10154   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10155 else
10156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10157 for as_dir in $PATH
10158 do
10159   IFS=$as_save_IFS
10160   test -z "$as_dir" && as_dir=.
10161     for ac_exec_ext in '' $ac_executable_extensions; do
10162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10163     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10165     break 2
10166   fi
10167 done
10168   done
10169 IFS=$as_save_IFS
10170
10171 fi
10172 fi
10173 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10174 if test -n "$ac_ct_DSYMUTIL"; then
10175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10176 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10177 else
10178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10179 $as_echo "no" >&6; }
10180 fi
10181
10182   if test "x$ac_ct_DSYMUTIL" = x; then
10183     DSYMUTIL=":"
10184   else
10185     case $cross_compiling:$ac_tool_warned in
10186 yes:)
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10189 ac_tool_warned=yes ;;
10190 esac
10191     DSYMUTIL=$ac_ct_DSYMUTIL
10192   fi
10193 else
10194   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10195 fi
10196
10197     if test -n "$ac_tool_prefix"; then
10198   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10199 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10201 $as_echo_n "checking for $ac_word... " >&6; }
10202 if ${ac_cv_prog_NMEDIT+:} false; then :
10203   $as_echo_n "(cached) " >&6
10204 else
10205   if test -n "$NMEDIT"; then
10206   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10207 else
10208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10209 for as_dir in $PATH
10210 do
10211   IFS=$as_save_IFS
10212   test -z "$as_dir" && as_dir=.
10213     for ac_exec_ext in '' $ac_executable_extensions; do
10214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10215     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10217     break 2
10218   fi
10219 done
10220   done
10221 IFS=$as_save_IFS
10222
10223 fi
10224 fi
10225 NMEDIT=$ac_cv_prog_NMEDIT
10226 if test -n "$NMEDIT"; then
10227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10228 $as_echo "$NMEDIT" >&6; }
10229 else
10230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10231 $as_echo "no" >&6; }
10232 fi
10233
10234
10235 fi
10236 if test -z "$ac_cv_prog_NMEDIT"; then
10237   ac_ct_NMEDIT=$NMEDIT
10238   # Extract the first word of "nmedit", so it can be a program name with args.
10239 set dummy nmedit; ac_word=$2
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10241 $as_echo_n "checking for $ac_word... " >&6; }
10242 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10243   $as_echo_n "(cached) " >&6
10244 else
10245   if test -n "$ac_ct_NMEDIT"; then
10246   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10247 else
10248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10249 for as_dir in $PATH
10250 do
10251   IFS=$as_save_IFS
10252   test -z "$as_dir" && as_dir=.
10253     for ac_exec_ext in '' $ac_executable_extensions; do
10254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10255     ac_cv_prog_ac_ct_NMEDIT="nmedit"
10256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10257     break 2
10258   fi
10259 done
10260   done
10261 IFS=$as_save_IFS
10262
10263 fi
10264 fi
10265 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10266 if test -n "$ac_ct_NMEDIT"; then
10267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10268 $as_echo "$ac_ct_NMEDIT" >&6; }
10269 else
10270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10271 $as_echo "no" >&6; }
10272 fi
10273
10274   if test "x$ac_ct_NMEDIT" = x; then
10275     NMEDIT=":"
10276   else
10277     case $cross_compiling:$ac_tool_warned in
10278 yes:)
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10281 ac_tool_warned=yes ;;
10282 esac
10283     NMEDIT=$ac_ct_NMEDIT
10284   fi
10285 else
10286   NMEDIT="$ac_cv_prog_NMEDIT"
10287 fi
10288
10289     if test -n "$ac_tool_prefix"; then
10290   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10291 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10293 $as_echo_n "checking for $ac_word... " >&6; }
10294 if ${ac_cv_prog_LIPO+:} false; then :
10295   $as_echo_n "(cached) " >&6
10296 else
10297   if test -n "$LIPO"; then
10298   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10299 else
10300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10301 for as_dir in $PATH
10302 do
10303   IFS=$as_save_IFS
10304   test -z "$as_dir" && as_dir=.
10305     for ac_exec_ext in '' $ac_executable_extensions; do
10306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10307     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10309     break 2
10310   fi
10311 done
10312   done
10313 IFS=$as_save_IFS
10314
10315 fi
10316 fi
10317 LIPO=$ac_cv_prog_LIPO
10318 if test -n "$LIPO"; then
10319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10320 $as_echo "$LIPO" >&6; }
10321 else
10322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10323 $as_echo "no" >&6; }
10324 fi
10325
10326
10327 fi
10328 if test -z "$ac_cv_prog_LIPO"; then
10329   ac_ct_LIPO=$LIPO
10330   # Extract the first word of "lipo", so it can be a program name with args.
10331 set dummy lipo; ac_word=$2
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10333 $as_echo_n "checking for $ac_word... " >&6; }
10334 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10335   $as_echo_n "(cached) " >&6
10336 else
10337   if test -n "$ac_ct_LIPO"; then
10338   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10339 else
10340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10341 for as_dir in $PATH
10342 do
10343   IFS=$as_save_IFS
10344   test -z "$as_dir" && as_dir=.
10345     for ac_exec_ext in '' $ac_executable_extensions; do
10346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10347     ac_cv_prog_ac_ct_LIPO="lipo"
10348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10349     break 2
10350   fi
10351 done
10352   done
10353 IFS=$as_save_IFS
10354
10355 fi
10356 fi
10357 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10358 if test -n "$ac_ct_LIPO"; then
10359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10360 $as_echo "$ac_ct_LIPO" >&6; }
10361 else
10362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10363 $as_echo "no" >&6; }
10364 fi
10365
10366   if test "x$ac_ct_LIPO" = x; then
10367     LIPO=":"
10368   else
10369     case $cross_compiling:$ac_tool_warned in
10370 yes:)
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10373 ac_tool_warned=yes ;;
10374 esac
10375     LIPO=$ac_ct_LIPO
10376   fi
10377 else
10378   LIPO="$ac_cv_prog_LIPO"
10379 fi
10380
10381     if test -n "$ac_tool_prefix"; then
10382   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10383 set dummy ${ac_tool_prefix}otool; ac_word=$2
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10385 $as_echo_n "checking for $ac_word... " >&6; }
10386 if ${ac_cv_prog_OTOOL+:} false; then :
10387   $as_echo_n "(cached) " >&6
10388 else
10389   if test -n "$OTOOL"; then
10390   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10391 else
10392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10393 for as_dir in $PATH
10394 do
10395   IFS=$as_save_IFS
10396   test -z "$as_dir" && as_dir=.
10397     for ac_exec_ext in '' $ac_executable_extensions; do
10398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10399     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10401     break 2
10402   fi
10403 done
10404   done
10405 IFS=$as_save_IFS
10406
10407 fi
10408 fi
10409 OTOOL=$ac_cv_prog_OTOOL
10410 if test -n "$OTOOL"; then
10411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10412 $as_echo "$OTOOL" >&6; }
10413 else
10414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10415 $as_echo "no" >&6; }
10416 fi
10417
10418
10419 fi
10420 if test -z "$ac_cv_prog_OTOOL"; then
10421   ac_ct_OTOOL=$OTOOL
10422   # Extract the first word of "otool", so it can be a program name with args.
10423 set dummy otool; ac_word=$2
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10425 $as_echo_n "checking for $ac_word... " >&6; }
10426 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10427   $as_echo_n "(cached) " >&6
10428 else
10429   if test -n "$ac_ct_OTOOL"; then
10430   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10431 else
10432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10433 for as_dir in $PATH
10434 do
10435   IFS=$as_save_IFS
10436   test -z "$as_dir" && as_dir=.
10437     for ac_exec_ext in '' $ac_executable_extensions; do
10438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10439     ac_cv_prog_ac_ct_OTOOL="otool"
10440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10441     break 2
10442   fi
10443 done
10444   done
10445 IFS=$as_save_IFS
10446
10447 fi
10448 fi
10449 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10450 if test -n "$ac_ct_OTOOL"; then
10451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10452 $as_echo "$ac_ct_OTOOL" >&6; }
10453 else
10454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10455 $as_echo "no" >&6; }
10456 fi
10457
10458   if test "x$ac_ct_OTOOL" = x; then
10459     OTOOL=":"
10460   else
10461     case $cross_compiling:$ac_tool_warned in
10462 yes:)
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10465 ac_tool_warned=yes ;;
10466 esac
10467     OTOOL=$ac_ct_OTOOL
10468   fi
10469 else
10470   OTOOL="$ac_cv_prog_OTOOL"
10471 fi
10472
10473     if test -n "$ac_tool_prefix"; then
10474   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10475 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10477 $as_echo_n "checking for $ac_word... " >&6; }
10478 if ${ac_cv_prog_OTOOL64+:} false; then :
10479   $as_echo_n "(cached) " >&6
10480 else
10481   if test -n "$OTOOL64"; then
10482   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10483 else
10484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10485 for as_dir in $PATH
10486 do
10487   IFS=$as_save_IFS
10488   test -z "$as_dir" && as_dir=.
10489     for ac_exec_ext in '' $ac_executable_extensions; do
10490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10491     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10493     break 2
10494   fi
10495 done
10496   done
10497 IFS=$as_save_IFS
10498
10499 fi
10500 fi
10501 OTOOL64=$ac_cv_prog_OTOOL64
10502 if test -n "$OTOOL64"; then
10503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10504 $as_echo "$OTOOL64" >&6; }
10505 else
10506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10507 $as_echo "no" >&6; }
10508 fi
10509
10510
10511 fi
10512 if test -z "$ac_cv_prog_OTOOL64"; then
10513   ac_ct_OTOOL64=$OTOOL64
10514   # Extract the first word of "otool64", so it can be a program name with args.
10515 set dummy otool64; ac_word=$2
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10517 $as_echo_n "checking for $ac_word... " >&6; }
10518 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10519   $as_echo_n "(cached) " >&6
10520 else
10521   if test -n "$ac_ct_OTOOL64"; then
10522   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10523 else
10524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10525 for as_dir in $PATH
10526 do
10527   IFS=$as_save_IFS
10528   test -z "$as_dir" && as_dir=.
10529     for ac_exec_ext in '' $ac_executable_extensions; do
10530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10531     ac_cv_prog_ac_ct_OTOOL64="otool64"
10532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10533     break 2
10534   fi
10535 done
10536   done
10537 IFS=$as_save_IFS
10538
10539 fi
10540 fi
10541 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10542 if test -n "$ac_ct_OTOOL64"; then
10543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10544 $as_echo "$ac_ct_OTOOL64" >&6; }
10545 else
10546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10547 $as_echo "no" >&6; }
10548 fi
10549
10550   if test "x$ac_ct_OTOOL64" = x; then
10551     OTOOL64=":"
10552   else
10553     case $cross_compiling:$ac_tool_warned in
10554 yes:)
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10557 ac_tool_warned=yes ;;
10558 esac
10559     OTOOL64=$ac_ct_OTOOL64
10560   fi
10561 else
10562   OTOOL64="$ac_cv_prog_OTOOL64"
10563 fi
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10592 $as_echo_n "checking for -single_module linker flag... " >&6; }
10593 if ${lt_cv_apple_cc_single_mod+:} false; then :
10594   $as_echo_n "(cached) " >&6
10595 else
10596   lt_cv_apple_cc_single_mod=no
10597       if test -z "${LT_MULTI_MODULE}"; then
10598         # By default we will add the -single_module flag. You can override
10599         # by either setting the environment variable LT_MULTI_MODULE
10600         # non-empty at configure time, or by adding -multi_module to the
10601         # link flags.
10602         rm -rf libconftest.dylib*
10603         echo "int foo(void){return 1;}" > conftest.c
10604         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10605 -dynamiclib -Wl,-single_module conftest.c" >&5
10606         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10607           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10608         _lt_result=$?
10609         # If there is a non-empty error log, and "single_module"
10610         # appears in it, assume the flag caused a linker warning
10611         if test -s conftest.err && $GREP single_module conftest.err; then
10612           cat conftest.err >&5
10613         # Otherwise, if the output was created with a 0 exit code from
10614         # the compiler, it worked.
10615         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
10616           lt_cv_apple_cc_single_mod=yes
10617         else
10618           cat conftest.err >&5
10619         fi
10620         rm -rf libconftest.dylib*
10621         rm -f conftest.*
10622       fi
10623 fi
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10625 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10626
10627     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10628 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10629 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10630   $as_echo_n "(cached) " >&6
10631 else
10632   lt_cv_ld_exported_symbols_list=no
10633       save_LDFLAGS=$LDFLAGS
10634       echo "_main" > conftest.sym
10635       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10636       if test x$ac_no_link = xyes; then
10637   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
10638 fi
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h.  */
10641
10642 int
10643 main ()
10644 {
10645
10646   ;
10647   return 0;
10648 }
10649 _ACEOF
10650 if ac_fn_c_try_link "$LINENO"; then :
10651   lt_cv_ld_exported_symbols_list=yes
10652 else
10653   lt_cv_ld_exported_symbols_list=no
10654 fi
10655 rm -f core conftest.err conftest.$ac_objext \
10656     conftest$ac_exeext conftest.$ac_ext
10657         LDFLAGS="$save_LDFLAGS"
10658
10659 fi
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10661 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10662
10663     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10664 $as_echo_n "checking for -force_load linker flag... " >&6; }
10665 if ${lt_cv_ld_force_load+:} false; then :
10666   $as_echo_n "(cached) " >&6
10667 else
10668   lt_cv_ld_force_load=no
10669       cat > conftest.c << _LT_EOF
10670 int forced_loaded() { return 2;}
10671 _LT_EOF
10672       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10673       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10674       echo "$AR cru libconftest.a conftest.o" >&5
10675       $AR cru libconftest.a conftest.o 2>&5
10676       echo "$RANLIB libconftest.a" >&5
10677       $RANLIB libconftest.a 2>&5
10678       cat > conftest.c << _LT_EOF
10679 int main() { return 0;}
10680 _LT_EOF
10681       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10682       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10683       _lt_result=$?
10684       if test -s conftest.err && $GREP force_load conftest.err; then
10685         cat conftest.err >&5
10686       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
10687         lt_cv_ld_force_load=yes
10688       else
10689         cat conftest.err >&5
10690       fi
10691         rm -f conftest.err libconftest.a conftest conftest.c
10692         rm -rf conftest.dSYM
10693
10694 fi
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10696 $as_echo "$lt_cv_ld_force_load" >&6; }
10697     case $host_os in
10698     rhapsody* | darwin1.[012])
10699       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10700     darwin1.*)
10701       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10702     darwin*) # darwin 5.x on
10703       # if running on 10.5 or later, the deployment target defaults
10704       # to the OS version, if on x86, and 10.4, the deployment
10705       # target defaults to 10.4. Don't you love it?
10706       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10707         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10708           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10709         10.[012]*)
10710           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10711         10.*)
10712           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10713       esac
10714     ;;
10715   esac
10716     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10717       _lt_dar_single_mod='$single_module'
10718     fi
10719     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10720       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10721     else
10722       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10723     fi
10724     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10725       _lt_dsymutil='~$DSYMUTIL $lib || :'
10726     else
10727       _lt_dsymutil=
10728     fi
10729     ;;
10730   esac
10731
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10733 $as_echo_n "checking for ANSI C header files... " >&6; }
10734 if ${ac_cv_header_stdc+:} false; then :
10735   $as_echo_n "(cached) " >&6
10736 else
10737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h.  */
10739 #include <stdlib.h>
10740 #include <stdarg.h>
10741 #include <string.h>
10742 #include <float.h>
10743
10744 int
10745 main ()
10746 {
10747
10748   ;
10749   return 0;
10750 }
10751 _ACEOF
10752 if ac_fn_c_try_compile "$LINENO"; then :
10753   ac_cv_header_stdc=yes
10754 else
10755   ac_cv_header_stdc=no
10756 fi
10757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10758
10759 if test $ac_cv_header_stdc = yes; then
10760   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h.  */
10763 #include <string.h>
10764
10765 _ACEOF
10766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10767   $EGREP "memchr" >/dev/null 2>&1; then :
10768
10769 else
10770   ac_cv_header_stdc=no
10771 fi
10772 rm -f conftest*
10773
10774 fi
10775
10776 if test $ac_cv_header_stdc = yes; then
10777   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h.  */
10780 #include <stdlib.h>
10781
10782 _ACEOF
10783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10784   $EGREP "free" >/dev/null 2>&1; then :
10785
10786 else
10787   ac_cv_header_stdc=no
10788 fi
10789 rm -f conftest*
10790
10791 fi
10792
10793 if test $ac_cv_header_stdc = yes; then
10794   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10795   if test "$cross_compiling" = yes; then :
10796   :
10797 else
10798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h.  */
10800 #include <ctype.h>
10801 #include <stdlib.h>
10802 #if ((' ' & 0x0FF) == 0x020)
10803 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10804 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10805 #else
10806 # define ISLOWER(c) \
10807                    (('a' <= (c) && (c) <= 'i') \
10808                      || ('j' <= (c) && (c) <= 'r') \
10809                      || ('s' <= (c) && (c) <= 'z'))
10810 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10811 #endif
10812
10813 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10814 int
10815 main ()
10816 {
10817   int i;
10818   for (i = 0; i < 256; i++)
10819     if (XOR (islower (i), ISLOWER (i))
10820         || toupper (i) != TOUPPER (i))
10821       return 2;
10822   return 0;
10823 }
10824 _ACEOF
10825 if ac_fn_c_try_run "$LINENO"; then :
10826
10827 else
10828   ac_cv_header_stdc=no
10829 fi
10830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10831   conftest.$ac_objext conftest.beam conftest.$ac_ext
10832 fi
10833
10834 fi
10835 fi
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10837 $as_echo "$ac_cv_header_stdc" >&6; }
10838 if test $ac_cv_header_stdc = yes; then
10839
10840 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10841
10842 fi
10843
10844 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10845 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10846                   inttypes.h stdint.h unistd.h
10847 do :
10848   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10849 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10850 "
10851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10852   cat >>confdefs.h <<_ACEOF
10853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10854 _ACEOF
10855
10856 fi
10857
10858 done
10859
10860
10861 for ac_header in dlfcn.h
10862 do :
10863   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10864 "
10865 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10866   cat >>confdefs.h <<_ACEOF
10867 #define HAVE_DLFCN_H 1
10868 _ACEOF
10869
10870 fi
10871
10872 done
10873
10874
10875
10876 func_stripname_cnf ()
10877 {
10878   case ${2} in
10879   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10880   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10881   esac
10882 } # func_stripname_cnf
10883
10884
10885
10886
10887
10888 # Set options
10889
10890
10891
10892         enable_dlopen=no
10893
10894
10895   enable_win32_dll=no
10896
10897
10898             # Check whether --enable-shared was given.
10899 if test "${enable_shared+set}" = set; then :
10900   enableval=$enable_shared; p=${PACKAGE-default}
10901     case $enableval in
10902     yes) enable_shared=yes ;;
10903     no) enable_shared=no ;;
10904     *)
10905       enable_shared=no
10906       # Look at the argument we got.  We use all the common list separators.
10907       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10908       for pkg in $enableval; do
10909         IFS="$lt_save_ifs"
10910         if test "X$pkg" = "X$p"; then
10911           enable_shared=yes
10912         fi
10913       done
10914       IFS="$lt_save_ifs"
10915       ;;
10916     esac
10917 else
10918   enable_shared=yes
10919 fi
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929   # Check whether --enable-static was given.
10930 if test "${enable_static+set}" = set; then :
10931   enableval=$enable_static; p=${PACKAGE-default}
10932     case $enableval in
10933     yes) enable_static=yes ;;
10934     no) enable_static=no ;;
10935     *)
10936      enable_static=no
10937       # Look at the argument we got.  We use all the common list separators.
10938       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10939       for pkg in $enableval; do
10940         IFS="$lt_save_ifs"
10941         if test "X$pkg" = "X$p"; then
10942           enable_static=yes
10943         fi
10944       done
10945       IFS="$lt_save_ifs"
10946       ;;
10947     esac
10948 else
10949   enable_static=yes
10950 fi
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961 # Check whether --with-pic was given.
10962 if test "${with_pic+set}" = set; then :
10963   withval=$with_pic; lt_p=${PACKAGE-default}
10964     case $withval in
10965     yes|no) pic_mode=$withval ;;
10966     *)
10967       pic_mode=default
10968       # Look at the argument we got.  We use all the common list separators.
10969       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10970       for lt_pkg in $withval; do
10971         IFS="$lt_save_ifs"
10972         if test "X$lt_pkg" = "X$lt_p"; then
10973           pic_mode=yes
10974         fi
10975       done
10976       IFS="$lt_save_ifs"
10977       ;;
10978     esac
10979 else
10980   pic_mode=default
10981 fi
10982
10983
10984 test -z "$pic_mode" && pic_mode=default
10985
10986
10987
10988
10989
10990
10991
10992   # Check whether --enable-fast-install was given.
10993 if test "${enable_fast_install+set}" = set; then :
10994   enableval=$enable_fast_install; p=${PACKAGE-default}
10995     case $enableval in
10996     yes) enable_fast_install=yes ;;
10997     no) enable_fast_install=no ;;
10998     *)
10999       enable_fast_install=no
11000       # Look at the argument we got.  We use all the common list separators.
11001       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11002       for pkg in $enableval; do
11003         IFS="$lt_save_ifs"
11004         if test "X$pkg" = "X$p"; then
11005           enable_fast_install=yes
11006         fi
11007       done
11008       IFS="$lt_save_ifs"
11009       ;;
11010     esac
11011 else
11012   enable_fast_install=yes
11013 fi
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025 # This can be used to rebuild libtool when needed
11026 LIBTOOL_DEPS="$ltmain"
11027
11028 # Always use our own libtool.
11029 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060 test -z "$LN_S" && LN_S="ln -s"
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075 if test -n "${ZSH_VERSION+set}" ; then
11076    setopt NO_GLOB_SUBST
11077 fi
11078
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11080 $as_echo_n "checking for objdir... " >&6; }
11081 if ${lt_cv_objdir+:} false; then :
11082   $as_echo_n "(cached) " >&6
11083 else
11084   rm -f .libs 2>/dev/null
11085 mkdir .libs 2>/dev/null
11086 if test -d .libs; then
11087   lt_cv_objdir=.libs
11088 else
11089   # MS-DOS does not allow filenames that begin with a dot.
11090   lt_cv_objdir=_libs
11091 fi
11092 rmdir .libs 2>/dev/null
11093 fi
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11095 $as_echo "$lt_cv_objdir" >&6; }
11096 objdir=$lt_cv_objdir
11097
11098
11099
11100
11101
11102 cat >>confdefs.h <<_ACEOF
11103 #define LT_OBJDIR "$lt_cv_objdir/"
11104 _ACEOF
11105
11106
11107
11108
11109 case $host_os in
11110 aix3*)
11111   # AIX sometimes has problems with the GCC collect2 program.  For some
11112   # reason, if we set the COLLECT_NAMES environment variable, the problems
11113   # vanish in a puff of smoke.
11114   if test "X${COLLECT_NAMES+set}" != Xset; then
11115     COLLECT_NAMES=
11116     export COLLECT_NAMES
11117   fi
11118   ;;
11119 esac
11120
11121 # Global variables:
11122 ofile=libtool
11123 can_build_shared=yes
11124
11125 # All known linkers require a `.a' archive for static linking (except MSVC,
11126 # which needs '.lib').
11127 libext=a
11128
11129 with_gnu_ld="$lt_cv_prog_gnu_ld"
11130
11131 old_CC="$CC"
11132 old_CFLAGS="$CFLAGS"
11133
11134 # Set sane defaults for various variables
11135 test -z "$CC" && CC=cc
11136 test -z "$LTCC" && LTCC=$CC
11137 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11138 test -z "$LD" && LD=ld
11139 test -z "$ac_objext" && ac_objext=o
11140
11141 for cc_temp in $compiler""; do
11142   case $cc_temp in
11143     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11144     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11145     \-*) ;;
11146     *) break;;
11147   esac
11148 done
11149 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11150
11151
11152 # Only perform the check for file, if the check method requires it
11153 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11154 case $deplibs_check_method in
11155 file_magic*)
11156   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11157     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11158 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11159 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11160   $as_echo_n "(cached) " >&6
11161 else
11162   case $MAGIC_CMD in
11163 [\\/*] |  ?:[\\/]*)
11164   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11165   ;;
11166 *)
11167   lt_save_MAGIC_CMD="$MAGIC_CMD"
11168   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11169   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11170   for ac_dir in $ac_dummy; do
11171     IFS="$lt_save_ifs"
11172     test -z "$ac_dir" && ac_dir=.
11173     if test -f $ac_dir/${ac_tool_prefix}file; then
11174       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11175       if test -n "$file_magic_test_file"; then
11176         case $deplibs_check_method in
11177         "file_magic "*)
11178           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11179           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11180           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11181             $EGREP "$file_magic_regex" > /dev/null; then
11182             :
11183           else
11184             cat <<_LT_EOF 1>&2
11185
11186 *** Warning: the command libtool uses to detect shared libraries,
11187 *** $file_magic_cmd, produces output that libtool cannot recognize.
11188 *** The result is that libtool may fail to recognize shared libraries
11189 *** as such.  This will affect the creation of libtool libraries that
11190 *** depend on shared libraries, but programs linked with such libtool
11191 *** libraries will work regardless of this problem.  Nevertheless, you
11192 *** may want to report the problem to your system manager and/or to
11193 *** bug-libtool@gnu.org
11194
11195 _LT_EOF
11196           fi ;;
11197         esac
11198       fi
11199       break
11200     fi
11201   done
11202   IFS="$lt_save_ifs"
11203   MAGIC_CMD="$lt_save_MAGIC_CMD"
11204   ;;
11205 esac
11206 fi
11207
11208 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11209 if test -n "$MAGIC_CMD"; then
11210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11211 $as_echo "$MAGIC_CMD" >&6; }
11212 else
11213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11214 $as_echo "no" >&6; }
11215 fi
11216
11217
11218
11219
11220
11221 if test -z "$lt_cv_path_MAGIC_CMD"; then
11222   if test -n "$ac_tool_prefix"; then
11223     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11224 $as_echo_n "checking for file... " >&6; }
11225 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11226   $as_echo_n "(cached) " >&6
11227 else
11228   case $MAGIC_CMD in
11229 [\\/*] |  ?:[\\/]*)
11230   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11231   ;;
11232 *)
11233   lt_save_MAGIC_CMD="$MAGIC_CMD"
11234   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11235   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11236   for ac_dir in $ac_dummy; do
11237     IFS="$lt_save_ifs"
11238     test -z "$ac_dir" && ac_dir=.
11239     if test -f $ac_dir/file; then
11240       lt_cv_path_MAGIC_CMD="$ac_dir/file"
11241       if test -n "$file_magic_test_file"; then
11242         case $deplibs_check_method in
11243         "file_magic "*)
11244           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11245           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11246           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11247             $EGREP "$file_magic_regex" > /dev/null; then
11248             :
11249           else
11250             cat <<_LT_EOF 1>&2
11251
11252 *** Warning: the command libtool uses to detect shared libraries,
11253 *** $file_magic_cmd, produces output that libtool cannot recognize.
11254 *** The result is that libtool may fail to recognize shared libraries
11255 *** as such.  This will affect the creation of libtool libraries that
11256 *** depend on shared libraries, but programs linked with such libtool
11257 *** libraries will work regardless of this problem.  Nevertheless, you
11258 *** may want to report the problem to your system manager and/or to
11259 *** bug-libtool@gnu.org
11260
11261 _LT_EOF
11262           fi ;;
11263         esac
11264       fi
11265       break
11266     fi
11267   done
11268   IFS="$lt_save_ifs"
11269   MAGIC_CMD="$lt_save_MAGIC_CMD"
11270   ;;
11271 esac
11272 fi
11273
11274 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11275 if test -n "$MAGIC_CMD"; then
11276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11277 $as_echo "$MAGIC_CMD" >&6; }
11278 else
11279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11280 $as_echo "no" >&6; }
11281 fi
11282
11283
11284   else
11285     MAGIC_CMD=:
11286   fi
11287 fi
11288
11289   fi
11290   ;;
11291 esac
11292
11293 # Use C for the default configuration in the libtool script
11294
11295 lt_save_CC="$CC"
11296 ac_ext=c
11297 ac_cpp='$CPP $CPPFLAGS'
11298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11301
11302
11303 # Source file extension for C test sources.
11304 ac_ext=c
11305
11306 # Object file extension for compiled C test sources.
11307 objext=o
11308 objext=$objext
11309
11310 # Code to be used in simple compile tests
11311 lt_simple_compile_test_code="int some_variable = 0;"
11312
11313 # Code to be used in simple link tests
11314 lt_simple_link_test_code='int main(){return(0);}'
11315
11316
11317
11318
11319
11320
11321
11322 # If no C compiler was specified, use CC.
11323 LTCC=${LTCC-"$CC"}
11324
11325 # If no C compiler flags were specified, use CFLAGS.
11326 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11327
11328 # Allow CC to be a program name with arguments.
11329 compiler=$CC
11330
11331 # Save the default compiler, since it gets overwritten when the other
11332 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11333 compiler_DEFAULT=$CC
11334
11335 # save warnings/boilerplate of simple test code
11336 ac_outfile=conftest.$ac_objext
11337 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11338 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11339 _lt_compiler_boilerplate=`cat conftest.err`
11340 $RM conftest*
11341
11342 ac_outfile=conftest.$ac_objext
11343 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11344 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11345 _lt_linker_boilerplate=`cat conftest.err`
11346 $RM -r conftest*
11347
11348
11349 ## CAVEAT EMPTOR:
11350 ## There is no encapsulation within the following macros, do not change
11351 ## the running order or otherwise move them around unless you know exactly
11352 ## what you are doing...
11353 if test -n "$compiler"; then
11354
11355 lt_prog_compiler_no_builtin_flag=
11356
11357 if test "$GCC" = yes; then
11358   case $cc_basename in
11359   nvcc*)
11360     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11361   *)
11362     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11363   esac
11364
11365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11366 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11367 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11368   $as_echo_n "(cached) " >&6
11369 else
11370   lt_cv_prog_compiler_rtti_exceptions=no
11371    ac_outfile=conftest.$ac_objext
11372    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11373    lt_compiler_flag="-fno-rtti -fno-exceptions"
11374    # Insert the option either (1) after the last *FLAGS variable, or
11375    # (2) before a word containing "conftest.", or (3) at the end.
11376    # Note that $ac_compile itself does not contain backslashes and begins
11377    # with a dollar sign (not a hyphen), so the echo should work correctly.
11378    # The option is referenced via a variable to avoid confusing sed.
11379    lt_compile=`echo "$ac_compile" | $SED \
11380    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11381    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11382    -e 's:$: $lt_compiler_flag:'`
11383    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11384    (eval "$lt_compile" 2>conftest.err)
11385    ac_status=$?
11386    cat conftest.err >&5
11387    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388    if (exit $ac_status) && test -s "$ac_outfile"; then
11389      # The compiler can only warn and ignore the option if not recognized
11390      # So say no if there are warnings other than the usual output.
11391      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11392      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11393      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11394        lt_cv_prog_compiler_rtti_exceptions=yes
11395      fi
11396    fi
11397    $RM conftest*
11398
11399 fi
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11401 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11402
11403 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11404     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11405 else
11406     :
11407 fi
11408
11409 fi
11410
11411
11412
11413
11414
11415
11416   lt_prog_compiler_wl=
11417 lt_prog_compiler_pic=
11418 lt_prog_compiler_static=
11419
11420
11421   if test "$GCC" = yes; then
11422     lt_prog_compiler_wl='-Wl,'
11423     lt_prog_compiler_static='-static'
11424
11425     case $host_os in
11426       aix*)
11427       # All AIX code is PIC.
11428       if test "$host_cpu" = ia64; then
11429         # AIX 5 now supports IA64 processor
11430         lt_prog_compiler_static='-Bstatic'
11431       fi
11432       ;;
11433
11434     amigaos*)
11435       case $host_cpu in
11436       powerpc)
11437             # see comment about AmigaOS4 .so support
11438             lt_prog_compiler_pic='-fPIC'
11439         ;;
11440       m68k)
11441             # FIXME: we need at least 68020 code to build shared libraries, but
11442             # adding the `-m68020' flag to GCC prevents building anything better,
11443             # like `-m68040'.
11444             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11445         ;;
11446       esac
11447       ;;
11448
11449     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11450       # PIC is the default for these OSes.
11451       ;;
11452
11453     mingw* | cygwin* | pw32* | os2* | cegcc*)
11454       # This hack is so that the source file can tell whether it is being
11455       # built for inclusion in a dll (and should export symbols for example).
11456       # Although the cygwin gcc ignores -fPIC, still need this for old-style
11457       # (--disable-auto-import) libraries
11458       lt_prog_compiler_pic='-DDLL_EXPORT'
11459       ;;
11460
11461     darwin* | rhapsody*)
11462       # PIC is the default on this platform
11463       # Common symbols not allowed in MH_DYLIB files
11464       lt_prog_compiler_pic='-fno-common'
11465       ;;
11466
11467     haiku*)
11468       # PIC is the default for Haiku.
11469       # The "-static" flag exists, but is broken.
11470       lt_prog_compiler_static=
11471       ;;
11472
11473     hpux*)
11474       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11475       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
11476       # sets the default TLS model and affects inlining.
11477       case $host_cpu in
11478       hppa*64*)
11479         # +Z the default
11480         ;;
11481       *)
11482         lt_prog_compiler_pic='-fPIC'
11483         ;;
11484       esac
11485       ;;
11486
11487     interix[3-9]*)
11488       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11489       # Instead, we relocate shared libraries at runtime.
11490       ;;
11491
11492     msdosdjgpp*)
11493       # Just because we use GCC doesn't mean we suddenly get shared libraries
11494       # on systems that don't support them.
11495       lt_prog_compiler_can_build_shared=no
11496       enable_shared=no
11497       ;;
11498
11499     *nto* | *qnx*)
11500       # QNX uses GNU C++, but need to define -shared option too, otherwise
11501       # it will coredump.
11502       lt_prog_compiler_pic='-fPIC -shared'
11503       ;;
11504
11505     sysv4*MP*)
11506       if test -d /usr/nec; then
11507         lt_prog_compiler_pic=-Kconform_pic
11508       fi
11509       ;;
11510
11511     *)
11512       lt_prog_compiler_pic='-fPIC'
11513       ;;
11514     esac
11515
11516     case $cc_basename in
11517     nvcc*) # Cuda Compiler Driver 2.2
11518       lt_prog_compiler_wl='-Xlinker '
11519       if test -n "$lt_prog_compiler_pic"; then
11520         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11521       fi
11522       ;;
11523     esac
11524   else
11525     # PORTME Check for flag to pass linker flags through the system compiler.
11526     case $host_os in
11527     aix*)
11528       lt_prog_compiler_wl='-Wl,'
11529       if test "$host_cpu" = ia64; then
11530         # AIX 5 now supports IA64 processor
11531         lt_prog_compiler_static='-Bstatic'
11532       else
11533         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11534       fi
11535       ;;
11536
11537     mingw* | cygwin* | pw32* | os2* | cegcc*)
11538       # This hack is so that the source file can tell whether it is being
11539       # built for inclusion in a dll (and should export symbols for example).
11540       lt_prog_compiler_pic='-DDLL_EXPORT'
11541       ;;
11542
11543     hpux9* | hpux10* | hpux11*)
11544       lt_prog_compiler_wl='-Wl,'
11545       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11546       # not for PA HP-UX.
11547       case $host_cpu in
11548       hppa*64*|ia64*)
11549         # +Z the default
11550         ;;
11551       *)
11552         lt_prog_compiler_pic='+Z'
11553         ;;
11554       esac
11555       # Is there a better lt_prog_compiler_static that works with the bundled CC?
11556       lt_prog_compiler_static='${wl}-a ${wl}archive'
11557       ;;
11558
11559     irix5* | irix6* | nonstopux*)
11560       lt_prog_compiler_wl='-Wl,'
11561       # PIC (with -KPIC) is the default.
11562       lt_prog_compiler_static='-non_shared'
11563       ;;
11564
11565     linux* | k*bsd*-gnu | kopensolaris*-gnu)
11566       case $cc_basename in
11567       # old Intel for x86_64 which still supported -KPIC.
11568       ecc*)
11569         lt_prog_compiler_wl='-Wl,'
11570         lt_prog_compiler_pic='-KPIC'
11571         lt_prog_compiler_static='-static'
11572         ;;
11573       # icc used to be incompatible with GCC.
11574       # ICC 10 doesn't accept -KPIC any more.
11575       icc* | ifort*)
11576         lt_prog_compiler_wl='-Wl,'
11577         lt_prog_compiler_pic='-fPIC'
11578         lt_prog_compiler_static='-static'
11579         ;;
11580       # Lahey Fortran 8.1.
11581       lf95*)
11582         lt_prog_compiler_wl='-Wl,'
11583         lt_prog_compiler_pic='--shared'
11584         lt_prog_compiler_static='--static'
11585         ;;
11586       nagfor*)
11587         # NAG Fortran compiler
11588         lt_prog_compiler_wl='-Wl,-Wl,,'
11589         lt_prog_compiler_pic='-PIC'
11590         lt_prog_compiler_static='-Bstatic'
11591         ;;
11592       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11593         # Portland Group compilers (*not* the Pentium gcc compiler,
11594         # which looks to be a dead project)
11595         lt_prog_compiler_wl='-Wl,'
11596         lt_prog_compiler_pic='-fpic'
11597         lt_prog_compiler_static='-Bstatic'
11598         ;;
11599       ccc*)
11600         lt_prog_compiler_wl='-Wl,'
11601         # All Alpha code is PIC.
11602         lt_prog_compiler_static='-non_shared'
11603         ;;
11604       xl* | bgxl* | bgf* | mpixl*)
11605         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11606         lt_prog_compiler_wl='-Wl,'
11607         lt_prog_compiler_pic='-qpic'
11608         lt_prog_compiler_static='-qstaticlink'
11609         ;;
11610       *)
11611         case `$CC -V 2>&1 | sed 5q` in
11612         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11613           # Sun Fortran 8.3 passes all unrecognized flags to the linker
11614           lt_prog_compiler_pic='-KPIC'
11615           lt_prog_compiler_static='-Bstatic'
11616           lt_prog_compiler_wl=''
11617           ;;
11618         *Sun\ F* | *Sun*Fortran*)
11619           lt_prog_compiler_pic='-KPIC'
11620           lt_prog_compiler_static='-Bstatic'
11621           lt_prog_compiler_wl='-Qoption ld '
11622           ;;
11623         *Sun\ C*)
11624           # Sun C 5.9
11625           lt_prog_compiler_pic='-KPIC'
11626           lt_prog_compiler_static='-Bstatic'
11627           lt_prog_compiler_wl='-Wl,'
11628           ;;
11629         *Intel*\ [CF]*Compiler*)
11630           lt_prog_compiler_wl='-Wl,'
11631           lt_prog_compiler_pic='-fPIC'
11632           lt_prog_compiler_static='-static'
11633           ;;
11634         *Portland\ Group*)
11635           lt_prog_compiler_wl='-Wl,'
11636           lt_prog_compiler_pic='-fpic'
11637           lt_prog_compiler_static='-Bstatic'
11638           ;;
11639         esac
11640         ;;
11641       esac
11642       ;;
11643
11644     newsos6)
11645       lt_prog_compiler_pic='-KPIC'
11646       lt_prog_compiler_static='-Bstatic'
11647       ;;
11648
11649     *nto* | *qnx*)
11650       # QNX uses GNU C++, but need to define -shared option too, otherwise
11651       # it will coredump.
11652       lt_prog_compiler_pic='-fPIC -shared'
11653       ;;
11654
11655     osf3* | osf4* | osf5*)
11656       lt_prog_compiler_wl='-Wl,'
11657       # All OSF/1 code is PIC.
11658       lt_prog_compiler_static='-non_shared'
11659       ;;
11660
11661     rdos*)
11662       lt_prog_compiler_static='-non_shared'
11663       ;;
11664
11665     solaris*)
11666       lt_prog_compiler_pic='-KPIC'
11667       lt_prog_compiler_static='-Bstatic'
11668       case $cc_basename in
11669       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11670         lt_prog_compiler_wl='-Qoption ld ';;
11671       *)
11672         lt_prog_compiler_wl='-Wl,';;
11673       esac
11674       ;;
11675
11676     sunos4*)
11677       lt_prog_compiler_wl='-Qoption ld '
11678       lt_prog_compiler_pic='-PIC'
11679       lt_prog_compiler_static='-Bstatic'
11680       ;;
11681
11682     sysv4 | sysv4.2uw2* | sysv4.3*)
11683       lt_prog_compiler_wl='-Wl,'
11684       lt_prog_compiler_pic='-KPIC'
11685       lt_prog_compiler_static='-Bstatic'
11686       ;;
11687
11688     sysv4*MP*)
11689       if test -d /usr/nec ;then
11690         lt_prog_compiler_pic='-Kconform_pic'
11691         lt_prog_compiler_static='-Bstatic'
11692       fi
11693       ;;
11694
11695     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11696       lt_prog_compiler_wl='-Wl,'
11697       lt_prog_compiler_pic='-KPIC'
11698       lt_prog_compiler_static='-Bstatic'
11699       ;;
11700
11701     unicos*)
11702       lt_prog_compiler_wl='-Wl,'
11703       lt_prog_compiler_can_build_shared=no
11704       ;;
11705
11706     uts4*)
11707       lt_prog_compiler_pic='-pic'
11708       lt_prog_compiler_static='-Bstatic'
11709       ;;
11710
11711     *)
11712       lt_prog_compiler_can_build_shared=no
11713       ;;
11714     esac
11715   fi
11716
11717 case $host_os in
11718   # For platforms which do not support PIC, -DPIC is meaningless:
11719   *djgpp*)
11720     lt_prog_compiler_pic=
11721     ;;
11722   *)
11723     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11724     ;;
11725 esac
11726
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11728 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11729 if ${lt_cv_prog_compiler_pic+:} false; then :
11730   $as_echo_n "(cached) " >&6
11731 else
11732   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11733 fi
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11735 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11736 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11737
11738 #
11739 # Check to make sure the PIC flag actually works.
11740 #
11741 if test -n "$lt_prog_compiler_pic"; then
11742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11744 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11745   $as_echo_n "(cached) " >&6
11746 else
11747   lt_cv_prog_compiler_pic_works=no
11748    ac_outfile=conftest.$ac_objext
11749    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11750    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11751    # Insert the option either (1) after the last *FLAGS variable, or
11752    # (2) before a word containing "conftest.", or (3) at the end.
11753    # Note that $ac_compile itself does not contain backslashes and begins
11754    # with a dollar sign (not a hyphen), so the echo should work correctly.
11755    # The option is referenced via a variable to avoid confusing sed.
11756    lt_compile=`echo "$ac_compile" | $SED \
11757    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11758    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11759    -e 's:$: $lt_compiler_flag:'`
11760    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11761    (eval "$lt_compile" 2>conftest.err)
11762    ac_status=$?
11763    cat conftest.err >&5
11764    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765    if (exit $ac_status) && test -s "$ac_outfile"; then
11766      # The compiler can only warn and ignore the option if not recognized
11767      # So say no if there are warnings other than the usual output.
11768      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11769      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11770      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11771        lt_cv_prog_compiler_pic_works=yes
11772      fi
11773    fi
11774    $RM conftest*
11775
11776 fi
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11778 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11779
11780 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11781     case $lt_prog_compiler_pic in
11782      "" | " "*) ;;
11783      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11784      esac
11785 else
11786     lt_prog_compiler_pic=
11787      lt_prog_compiler_can_build_shared=no
11788 fi
11789
11790 fi
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802 #
11803 # Check to make sure the static flag actually works.
11804 #
11805 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11807 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11808 if ${lt_cv_prog_compiler_static_works+:} false; then :
11809   $as_echo_n "(cached) " >&6
11810 else
11811   lt_cv_prog_compiler_static_works=no
11812    save_LDFLAGS="$LDFLAGS"
11813    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11814    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11815    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11816      # The linker can only warn and ignore the option if not recognized
11817      # So say no if there are warnings
11818      if test -s conftest.err; then
11819        # Append any errors to the config.log.
11820        cat conftest.err 1>&5
11821        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11822        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11823        if diff conftest.exp conftest.er2 >/dev/null; then
11824          lt_cv_prog_compiler_static_works=yes
11825        fi
11826      else
11827        lt_cv_prog_compiler_static_works=yes
11828      fi
11829    fi
11830    $RM -r conftest*
11831    LDFLAGS="$save_LDFLAGS"
11832
11833 fi
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11835 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11836
11837 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11838     :
11839 else
11840     lt_prog_compiler_static=
11841 fi
11842
11843
11844
11845
11846
11847
11848
11849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11850 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11851 if ${lt_cv_prog_compiler_c_o+:} false; then :
11852   $as_echo_n "(cached) " >&6
11853 else
11854   lt_cv_prog_compiler_c_o=no
11855    $RM -r conftest 2>/dev/null
11856    mkdir conftest
11857    cd conftest
11858    mkdir out
11859    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11860
11861    lt_compiler_flag="-o out/conftest2.$ac_objext"
11862    # Insert the option either (1) after the last *FLAGS variable, or
11863    # (2) before a word containing "conftest.", or (3) at the end.
11864    # Note that $ac_compile itself does not contain backslashes and begins
11865    # with a dollar sign (not a hyphen), so the echo should work correctly.
11866    lt_compile=`echo "$ac_compile" | $SED \
11867    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11868    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11869    -e 's:$: $lt_compiler_flag:'`
11870    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11871    (eval "$lt_compile" 2>out/conftest.err)
11872    ac_status=$?
11873    cat out/conftest.err >&5
11874    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11876    then
11877      # The compiler can only warn and ignore the option if not recognized
11878      # So say no if there are warnings
11879      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11880      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11881      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11882        lt_cv_prog_compiler_c_o=yes
11883      fi
11884    fi
11885    chmod u+w . 2>&5
11886    $RM conftest*
11887    # SGI C++ compiler will create directory out/ii_files/ for
11888    # template instantiation
11889    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11890    $RM out/* && rmdir out
11891    cd ..
11892    $RM -r conftest
11893    $RM conftest*
11894
11895 fi
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11897 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11898
11899
11900
11901
11902
11903
11904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11906 if ${lt_cv_prog_compiler_c_o+:} false; then :
11907   $as_echo_n "(cached) " >&6
11908 else
11909   lt_cv_prog_compiler_c_o=no
11910    $RM -r conftest 2>/dev/null
11911    mkdir conftest
11912    cd conftest
11913    mkdir out
11914    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11915
11916    lt_compiler_flag="-o out/conftest2.$ac_objext"
11917    # Insert the option either (1) after the last *FLAGS variable, or
11918    # (2) before a word containing "conftest.", or (3) at the end.
11919    # Note that $ac_compile itself does not contain backslashes and begins
11920    # with a dollar sign (not a hyphen), so the echo should work correctly.
11921    lt_compile=`echo "$ac_compile" | $SED \
11922    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11923    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11924    -e 's:$: $lt_compiler_flag:'`
11925    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11926    (eval "$lt_compile" 2>out/conftest.err)
11927    ac_status=$?
11928    cat out/conftest.err >&5
11929    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930    if (exit $ac_status) && test -s out/conftest2.$ac_objext
11931    then
11932      # The compiler can only warn and ignore the option if not recognized
11933      # So say no if there are warnings
11934      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11935      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11936      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11937        lt_cv_prog_compiler_c_o=yes
11938      fi
11939    fi
11940    chmod u+w . 2>&5
11941    $RM conftest*
11942    # SGI C++ compiler will create directory out/ii_files/ for
11943    # template instantiation
11944    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11945    $RM out/* && rmdir out
11946    cd ..
11947    $RM -r conftest
11948    $RM conftest*
11949
11950 fi
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11952 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11953
11954
11955
11956
11957 hard_links="nottested"
11958 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11959   # do not overwrite the value of need_locks provided by the user
11960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11961 $as_echo_n "checking if we can lock with hard links... " >&6; }
11962   hard_links=yes
11963   $RM conftest*
11964   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11965   touch conftest.a
11966   ln conftest.a conftest.b 2>&5 || hard_links=no
11967   ln conftest.a conftest.b 2>/dev/null && hard_links=no
11968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11969 $as_echo "$hard_links" >&6; }
11970   if test "$hard_links" = no; then
11971     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11972 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11973     need_locks=warn
11974   fi
11975 else
11976   need_locks=no
11977 fi
11978
11979
11980
11981
11982
11983
11984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11985 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11986
11987   runpath_var=
11988   allow_undefined_flag=
11989   always_export_symbols=no
11990   archive_cmds=
11991   archive_expsym_cmds=
11992   compiler_needs_object=no
11993   enable_shared_with_static_runtimes=no
11994   export_dynamic_flag_spec=
11995   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11996   hardcode_automatic=no
11997   hardcode_direct=no
11998   hardcode_direct_absolute=no
11999   hardcode_libdir_flag_spec=
12000   hardcode_libdir_separator=
12001   hardcode_minus_L=no
12002   hardcode_shlibpath_var=unsupported
12003   inherit_rpath=no
12004   link_all_deplibs=unknown
12005   module_cmds=
12006   module_expsym_cmds=
12007   old_archive_from_new_cmds=
12008   old_archive_from_expsyms_cmds=
12009   thread_safe_flag_spec=
12010   whole_archive_flag_spec=
12011   # include_expsyms should be a list of space-separated symbols to be *always*
12012   # included in the symbol list
12013   include_expsyms=
12014   # exclude_expsyms can be an extended regexp of symbols to exclude
12015   # it will be wrapped by ` (' and `)$', so one must not match beginning or
12016   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12017   # as well as any symbol that contains `d'.
12018   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12019   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12020   # platforms (ab)use it in PIC code, but their linkers get confused if
12021   # the symbol is explicitly referenced.  Since portable code cannot
12022   # rely on this symbol name, it's probably fine to never include it in
12023   # preloaded symbol tables.
12024   # Exclude shared library initialization/finalization symbols.
12025   extract_expsyms_cmds=
12026
12027   case $host_os in
12028   cygwin* | mingw* | pw32* | cegcc*)
12029     # FIXME: the MSVC++ port hasn't been tested in a loooong time
12030     # When not using gcc, we currently assume that we are using
12031     # Microsoft Visual C++.
12032     if test "$GCC" != yes; then
12033       with_gnu_ld=no
12034     fi
12035     ;;
12036   interix*)
12037     # we just hope/assume this is gcc and not c89 (= MSVC++)
12038     with_gnu_ld=yes
12039     ;;
12040   openbsd*)
12041     with_gnu_ld=no
12042     ;;
12043   esac
12044
12045   ld_shlibs=yes
12046
12047   # On some targets, GNU ld is compatible enough with the native linker
12048   # that we're better off using the native interface for both.
12049   lt_use_gnu_ld_interface=no
12050   if test "$with_gnu_ld" = yes; then
12051     case $host_os in
12052       aix*)
12053         # The AIX port of GNU ld has always aspired to compatibility
12054         # with the native linker.  However, as the warning in the GNU ld
12055         # block says, versions before 2.19.5* couldn't really create working
12056         # shared libraries, regardless of the interface used.
12057         case `$LD -v 2>&1` in
12058           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12059           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12060           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12061           *)
12062             lt_use_gnu_ld_interface=yes
12063             ;;
12064         esac
12065         ;;
12066       *)
12067         lt_use_gnu_ld_interface=yes
12068         ;;
12069     esac
12070   fi
12071
12072   if test "$lt_use_gnu_ld_interface" = yes; then
12073     # If archive_cmds runs LD, not CC, wlarc should be empty
12074     wlarc='${wl}'
12075
12076     # Set some defaults for GNU ld with shared library support. These
12077     # are reset later if shared libraries are not supported. Putting them
12078     # here allows them to be overridden if necessary.
12079     runpath_var=LD_RUN_PATH
12080     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12081     export_dynamic_flag_spec='${wl}--export-dynamic'
12082     # ancient GNU ld didn't support --whole-archive et. al.
12083     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12084       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12085     else
12086       whole_archive_flag_spec=
12087     fi
12088     supports_anon_versioning=no
12089     case `$LD -v 2>&1` in
12090       *GNU\ gold*) supports_anon_versioning=yes ;;
12091       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12092       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12093       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12094       *\ 2.11.*) ;; # other 2.11 versions
12095       *) supports_anon_versioning=yes ;;
12096     esac
12097
12098     # See if GNU ld supports shared libraries.
12099     case $host_os in
12100     aix[3-9]*)
12101       # On AIX/PPC, the GNU linker is very broken
12102       if test "$host_cpu" != ia64; then
12103         ld_shlibs=no
12104         cat <<_LT_EOF 1>&2
12105
12106 *** Warning: the GNU linker, at least up to release 2.19, is reported
12107 *** to be unable to reliably create shared libraries on AIX.
12108 *** Therefore, libtool is disabling shared libraries support.  If you
12109 *** really care for shared libraries, you may want to install binutils
12110 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12111 *** You will then need to restart the configuration process.
12112
12113 _LT_EOF
12114       fi
12115       ;;
12116
12117     amigaos*)
12118       case $host_cpu in
12119       powerpc)
12120             # see comment about AmigaOS4 .so support
12121             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12122             archive_expsym_cmds=''
12123         ;;
12124       m68k)
12125             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)'
12126             hardcode_libdir_flag_spec='-L$libdir'
12127             hardcode_minus_L=yes
12128         ;;
12129       esac
12130       ;;
12131
12132     beos*)
12133       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12134         allow_undefined_flag=unsupported
12135         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12136         # support --undefined.  This deserves some investigation.  FIXME
12137         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12138       else
12139         ld_shlibs=no
12140       fi
12141       ;;
12142
12143     cygwin* | mingw* | pw32* | cegcc*)
12144       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12145       # as there is no search path for DLLs.
12146       hardcode_libdir_flag_spec='-L$libdir'
12147       export_dynamic_flag_spec='${wl}--export-all-symbols'
12148       allow_undefined_flag=unsupported
12149       always_export_symbols=no
12150       enable_shared_with_static_runtimes=yes
12151       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'
12152       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12153
12154       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12155         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12156         # If the export-symbols file already is a .def file (1st line
12157         # is EXPORTS), use it as is; otherwise, prepend...
12158         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12159           cp $export_symbols $output_objdir/$soname.def;
12160         else
12161           echo EXPORTS > $output_objdir/$soname.def;
12162           cat $export_symbols >> $output_objdir/$soname.def;
12163         fi~
12164         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12165       else
12166         ld_shlibs=no
12167       fi
12168       ;;
12169
12170     haiku*)
12171       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12172       link_all_deplibs=yes
12173       ;;
12174
12175     interix[3-9]*)
12176       hardcode_direct=no
12177       hardcode_shlibpath_var=no
12178       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12179       export_dynamic_flag_spec='${wl}-E'
12180       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12181       # Instead, shared libraries are loaded at an image base (0x10000000 by
12182       # default) and relocated if they conflict, which is a slow very memory
12183       # consuming and fragmenting process.  To avoid this, we pick a random,
12184       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12185       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12186       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12187       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'
12188       ;;
12189
12190     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12191       tmp_diet=no
12192       if test "$host_os" = linux-dietlibc; then
12193         case $cc_basename in
12194           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12195         esac
12196       fi
12197       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12198          && test "$tmp_diet" = no
12199       then
12200         tmp_addflag=' $pic_flag'
12201         tmp_sharedflag='-shared'
12202         case $cc_basename,$host_cpu in
12203         pgcc*)                          # Portland Group C compiler
12204           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'
12205           tmp_addflag=' $pic_flag'
12206           ;;
12207         pgf77* | pgf90* | pgf95* | pgfortran*)
12208                                         # Portland Group f77 and f90 compilers
12209           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'
12210           tmp_addflag=' $pic_flag -Mnomain' ;;
12211         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12212           tmp_addflag=' -i_dynamic' ;;
12213         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12214           tmp_addflag=' -i_dynamic -nofor_main' ;;
12215         ifc* | ifort*)                  # Intel Fortran compiler
12216           tmp_addflag=' -nofor_main' ;;
12217         lf95*)                          # Lahey Fortran 8.1
12218           whole_archive_flag_spec=
12219           tmp_sharedflag='--shared' ;;
12220         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12221           tmp_sharedflag='-qmkshrobj'
12222           tmp_addflag= ;;
12223         nvcc*)  # Cuda Compiler Driver 2.2
12224           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'
12225           compiler_needs_object=yes
12226           ;;
12227         esac
12228         case `$CC -V 2>&1 | sed 5q` in
12229         *Sun\ C*)                       # Sun C 5.9
12230           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'
12231           compiler_needs_object=yes
12232           tmp_sharedflag='-G' ;;
12233         *Sun\ F*)                       # Sun Fortran 8.3
12234           tmp_sharedflag='-G' ;;
12235         esac
12236         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12237
12238         if test "x$supports_anon_versioning" = xyes; then
12239           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12240             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12241             echo "local: *; };" >> $output_objdir/$libname.ver~
12242             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12243         fi
12244
12245         case $cc_basename in
12246         xlf* | bgf* | bgxlf* | mpixlf*)
12247           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12248           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12249           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12250           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12251           if test "x$supports_anon_versioning" = xyes; then
12252             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12253               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12254               echo "local: *; };" >> $output_objdir/$libname.ver~
12255               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12256           fi
12257           ;;
12258         esac
12259       else
12260         ld_shlibs=no
12261       fi
12262       ;;
12263
12264     netbsd*)
12265       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12266         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12267         wlarc=
12268       else
12269         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12270         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12271       fi
12272       ;;
12273
12274     solaris*)
12275       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12276         ld_shlibs=no
12277         cat <<_LT_EOF 1>&2
12278
12279 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12280 *** create shared libraries on Solaris systems.  Therefore, libtool
12281 *** is disabling shared libraries support.  We urge you to upgrade GNU
12282 *** binutils to release 2.9.1 or newer.  Another option is to modify
12283 *** your PATH or compiler configuration so that the native linker is
12284 *** used, and then restart.
12285
12286 _LT_EOF
12287       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12288         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12289         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12290       else
12291         ld_shlibs=no
12292       fi
12293       ;;
12294
12295     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12296       case `$LD -v 2>&1` in
12297         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12298         ld_shlibs=no
12299         cat <<_LT_EOF 1>&2
12300
12301 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12302 *** reliably create shared libraries on SCO systems.  Therefore, libtool
12303 *** is disabling shared libraries support.  We urge you to upgrade GNU
12304 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
12305 *** your PATH or compiler configuration so that the native linker is
12306 *** used, and then restart.
12307
12308 _LT_EOF
12309         ;;
12310         *)
12311           # For security reasons, it is highly recommended that you always
12312           # use absolute paths for naming shared libraries, and exclude the
12313           # DT_RUNPATH tag from executables and libraries.  But doing so
12314           # requires that you compile everything twice, which is a pain.
12315           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12316             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12317             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12318             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12319           else
12320             ld_shlibs=no
12321           fi
12322         ;;
12323       esac
12324       ;;
12325
12326     sunos4*)
12327       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12328       wlarc=
12329       hardcode_direct=yes
12330       hardcode_shlibpath_var=no
12331       ;;
12332
12333     *)
12334       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12335         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12336         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12337       else
12338         ld_shlibs=no
12339       fi
12340       ;;
12341     esac
12342
12343     if test "$ld_shlibs" = no; then
12344       runpath_var=
12345       hardcode_libdir_flag_spec=
12346       export_dynamic_flag_spec=
12347       whole_archive_flag_spec=
12348     fi
12349   else
12350     # PORTME fill in a description of your system's linker (not GNU ld)
12351     case $host_os in
12352     aix3*)
12353       allow_undefined_flag=unsupported
12354       always_export_symbols=yes
12355       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'
12356       # Note: this linker hardcodes the directories in LIBPATH if there
12357       # are no directories specified by -L.
12358       hardcode_minus_L=yes
12359       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12360         # Neither direct hardcoding nor static linking is supported with a
12361         # broken collect2.
12362         hardcode_direct=unsupported
12363       fi
12364       ;;
12365
12366     aix[4-9]*)
12367       if test "$host_cpu" = ia64; then
12368         # On IA64, the linker does run time linking by default, so we don't
12369         # have to do anything special.
12370         aix_use_runtimelinking=no
12371         exp_sym_flag='-Bexport'
12372         no_entry_flag=""
12373       else
12374         # If we're using GNU nm, then we don't want the "-C" option.
12375         # -C means demangle to AIX nm, but means don't demangle with GNU nm
12376         # Also, AIX nm treats weak defined symbols like other global
12377         # defined symbols, whereas GNU nm marks them as "W".
12378         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12379           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'
12380         else
12381           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'
12382         fi
12383         aix_use_runtimelinking=no
12384
12385         # Test if we are trying to use run time linking or normal
12386         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12387         # need to do runtime linking.
12388         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12389           for ld_flag in $LDFLAGS; do
12390           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12391             aix_use_runtimelinking=yes
12392             break
12393           fi
12394           done
12395           ;;
12396         esac
12397
12398         exp_sym_flag='-bexport'
12399         no_entry_flag='-bnoentry'
12400       fi
12401
12402       # When large executables or shared objects are built, AIX ld can
12403       # have problems creating the table of contents.  If linking a library
12404       # or program results in "error TOC overflow" add -mminimal-toc to
12405       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12406       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12407
12408       archive_cmds=''
12409       hardcode_direct=yes
12410       hardcode_direct_absolute=yes
12411       hardcode_libdir_separator=':'
12412       link_all_deplibs=yes
12413       file_list_spec='${wl}-f,'
12414
12415       if test "$GCC" = yes; then
12416         case $host_os in aix4.[012]|aix4.[012].*)
12417         # We only want to do this on AIX 4.2 and lower, the check
12418         # below for broken collect2 doesn't work under 4.3+
12419           collect2name=`${CC} -print-prog-name=collect2`
12420           if test -f "$collect2name" &&
12421            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12422           then
12423           # We have reworked collect2
12424           :
12425           else
12426           # We have old collect2
12427           hardcode_direct=unsupported
12428           # It fails to find uninstalled libraries when the uninstalled
12429           # path is not listed in the libpath.  Setting hardcode_minus_L
12430           # to unsupported forces relinking
12431           hardcode_minus_L=yes
12432           hardcode_libdir_flag_spec='-L$libdir'
12433           hardcode_libdir_separator=
12434           fi
12435           ;;
12436         esac
12437         shared_flag='-shared'
12438         if test "$aix_use_runtimelinking" = yes; then
12439           shared_flag="$shared_flag "'${wl}-G'
12440         fi
12441       else
12442         # not using gcc
12443         if test "$host_cpu" = ia64; then
12444         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12445         # chokes on -Wl,-G. The following line is correct:
12446           shared_flag='-G'
12447         else
12448           if test "$aix_use_runtimelinking" = yes; then
12449             shared_flag='${wl}-G'
12450           else
12451             shared_flag='${wl}-bM:SRE'
12452           fi
12453         fi
12454       fi
12455
12456       export_dynamic_flag_spec='${wl}-bexpall'
12457       # It seems that -bexpall does not export symbols beginning with
12458       # underscore (_), so it is better to generate a list of symbols to export.
12459       always_export_symbols=yes
12460       if test "$aix_use_runtimelinking" = yes; then
12461         # Warning - without using the other runtime loading flags (-brtl),
12462         # -berok will link without error, but may produce a broken library.
12463         allow_undefined_flag='-berok'
12464         # Determine the default libpath from the value encoded in an
12465         # empty executable.
12466         if test "${lt_cv_aix_libpath+set}" = set; then
12467   aix_libpath=$lt_cv_aix_libpath
12468 else
12469   if ${lt_cv_aix_libpath_+:} false; then :
12470   $as_echo_n "(cached) " >&6
12471 else
12472   if test x$ac_no_link = xyes; then
12473   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12474 fi
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h.  */
12477
12478 int
12479 main ()
12480 {
12481
12482   ;
12483   return 0;
12484 }
12485 _ACEOF
12486 if ac_fn_c_try_link "$LINENO"; then :
12487
12488   lt_aix_libpath_sed='
12489       /Import File Strings/,/^$/ {
12490           /^0/ {
12491               s/^0  *\([^ ]*\) *$/\1/
12492               p
12493           }
12494       }'
12495   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12496   # Check for a 64-bit object if we didn't find anything.
12497   if test -z "$lt_cv_aix_libpath_"; then
12498     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12499   fi
12500 fi
12501 rm -f core conftest.err conftest.$ac_objext \
12502     conftest$ac_exeext conftest.$ac_ext
12503   if test -z "$lt_cv_aix_libpath_"; then
12504     lt_cv_aix_libpath_="/usr/lib:/lib"
12505   fi
12506
12507 fi
12508
12509   aix_libpath=$lt_cv_aix_libpath_
12510 fi
12511
12512         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12513         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"
12514       else
12515         if test "$host_cpu" = ia64; then
12516           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12517           allow_undefined_flag="-z nodefs"
12518           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"
12519         else
12520          # Determine the default libpath from the value encoded in an
12521          # empty executable.
12522          if test "${lt_cv_aix_libpath+set}" = set; then
12523   aix_libpath=$lt_cv_aix_libpath
12524 else
12525   if ${lt_cv_aix_libpath_+:} false; then :
12526   $as_echo_n "(cached) " >&6
12527 else
12528   if test x$ac_no_link = xyes; then
12529   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12530 fi
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h.  */
12533
12534 int
12535 main ()
12536 {
12537
12538   ;
12539   return 0;
12540 }
12541 _ACEOF
12542 if ac_fn_c_try_link "$LINENO"; then :
12543
12544   lt_aix_libpath_sed='
12545       /Import File Strings/,/^$/ {
12546           /^0/ {
12547               s/^0  *\([^ ]*\) *$/\1/
12548               p
12549           }
12550       }'
12551   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12552   # Check for a 64-bit object if we didn't find anything.
12553   if test -z "$lt_cv_aix_libpath_"; then
12554     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12555   fi
12556 fi
12557 rm -f core conftest.err conftest.$ac_objext \
12558     conftest$ac_exeext conftest.$ac_ext
12559   if test -z "$lt_cv_aix_libpath_"; then
12560     lt_cv_aix_libpath_="/usr/lib:/lib"
12561   fi
12562
12563 fi
12564
12565   aix_libpath=$lt_cv_aix_libpath_
12566 fi
12567
12568          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12569           # Warning - without using the other run time loading flags,
12570           # -berok will link without error, but may produce a broken library.
12571           no_undefined_flag=' ${wl}-bernotok'
12572           allow_undefined_flag=' ${wl}-berok'
12573           if test "$with_gnu_ld" = yes; then
12574             # We only use this code for GNU lds that support --whole-archive.
12575             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12576           else
12577             # Exported symbols can be pulled into shared objects from archives
12578             whole_archive_flag_spec='$convenience'
12579           fi
12580           archive_cmds_need_lc=yes
12581           # This is similar to how AIX traditionally builds its shared libraries.
12582           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'
12583         fi
12584       fi
12585       ;;
12586
12587     amigaos*)
12588       case $host_cpu in
12589       powerpc)
12590             # see comment about AmigaOS4 .so support
12591             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12592             archive_expsym_cmds=''
12593         ;;
12594       m68k)
12595             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)'
12596             hardcode_libdir_flag_spec='-L$libdir'
12597             hardcode_minus_L=yes
12598         ;;
12599       esac
12600       ;;
12601
12602     bsdi[45]*)
12603       export_dynamic_flag_spec=-rdynamic
12604       ;;
12605
12606     cygwin* | mingw* | pw32* | cegcc*)
12607       # When not using gcc, we currently assume that we are using
12608       # Microsoft Visual C++.
12609       # hardcode_libdir_flag_spec is actually meaningless, as there is
12610       # no search path for DLLs.
12611       case $cc_basename in
12612       cl*)
12613         # Native MSVC
12614         hardcode_libdir_flag_spec=' '
12615         allow_undefined_flag=unsupported
12616         always_export_symbols=yes
12617         file_list_spec='@'
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 $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12624         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12625             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12626           else
12627             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12628           fi~
12629           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12630           linknames='
12631         # The linker will not automatically build a static lib if we build a DLL.
12632         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12633         enable_shared_with_static_runtimes=yes
12634         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12635         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12636         # Don't use ranlib
12637         old_postinstall_cmds='chmod 644 $oldlib'
12638         postlink_cmds='lt_outputfile="@OUTPUT@"~
12639           lt_tool_outputfile="@TOOL_OUTPUT@"~
12640           case $lt_outputfile in
12641             *.exe|*.EXE) ;;
12642             *)
12643               lt_outputfile="$lt_outputfile.exe"
12644               lt_tool_outputfile="$lt_tool_outputfile.exe"
12645               ;;
12646           esac~
12647           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12648             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12649             $RM "$lt_outputfile.manifest";
12650           fi'
12651         ;;
12652       *)
12653         # Assume MSVC wrapper
12654         hardcode_libdir_flag_spec=' '
12655         allow_undefined_flag=unsupported
12656         # Tell ltmain to make .lib files, not .a files.
12657         libext=lib
12658         # Tell ltmain to make .dll files, not .so files.
12659         shrext_cmds=".dll"
12660         # FIXME: Setting linknames here is a bad hack.
12661         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12662         # The linker will automatically build a .lib file if we build a DLL.
12663         old_archive_from_new_cmds='true'
12664         # FIXME: Should let the user specify the lib program.
12665         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12666         enable_shared_with_static_runtimes=yes
12667         ;;
12668       esac
12669       ;;
12670
12671     darwin* | rhapsody*)
12672
12673
12674   archive_cmds_need_lc=no
12675   hardcode_direct=no
12676   hardcode_automatic=yes
12677   hardcode_shlibpath_var=unsupported
12678   if test "$lt_cv_ld_force_load" = "yes"; then
12679     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\"`'
12680
12681   else
12682     whole_archive_flag_spec=''
12683   fi
12684   link_all_deplibs=yes
12685   allow_undefined_flag="$_lt_dar_allow_undefined"
12686   case $cc_basename in
12687      ifort*) _lt_dar_can_shared=yes ;;
12688      *) _lt_dar_can_shared=$GCC ;;
12689   esac
12690   if test "$_lt_dar_can_shared" = "yes"; then
12691     output_verbose_link_cmd=func_echo_all
12692     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12693     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12694     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}"
12695     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}"
12696
12697   else
12698   ld_shlibs=no
12699   fi
12700
12701       ;;
12702
12703     dgux*)
12704       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12705       hardcode_libdir_flag_spec='-L$libdir'
12706       hardcode_shlibpath_var=no
12707       ;;
12708
12709     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12710     # support.  Future versions do this automatically, but an explicit c++rt0.o
12711     # does not break anything, and helps significantly (at the cost of a little
12712     # extra space).
12713     freebsd2.2*)
12714       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12715       hardcode_libdir_flag_spec='-R$libdir'
12716       hardcode_direct=yes
12717       hardcode_shlibpath_var=no
12718       ;;
12719
12720     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12721     freebsd2.*)
12722       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12723       hardcode_direct=yes
12724       hardcode_minus_L=yes
12725       hardcode_shlibpath_var=no
12726       ;;
12727
12728     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12729     freebsd* | dragonfly*)
12730       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12731       hardcode_libdir_flag_spec='-R$libdir'
12732       hardcode_direct=yes
12733       hardcode_shlibpath_var=no
12734       ;;
12735
12736     hpux9*)
12737       if test "$GCC" = yes; then
12738         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'
12739       else
12740         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'
12741       fi
12742       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12743       hardcode_libdir_separator=:
12744       hardcode_direct=yes
12745
12746       # hardcode_minus_L: Not really in the search PATH,
12747       # but as the default location of the library.
12748       hardcode_minus_L=yes
12749       export_dynamic_flag_spec='${wl}-E'
12750       ;;
12751
12752     hpux10*)
12753       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12754         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12755       else
12756         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12757       fi
12758       if test "$with_gnu_ld" = no; then
12759         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12760         hardcode_libdir_separator=:
12761         hardcode_direct=yes
12762         hardcode_direct_absolute=yes
12763         export_dynamic_flag_spec='${wl}-E'
12764         # hardcode_minus_L: Not really in the search PATH,
12765         # but as the default location of the library.
12766         hardcode_minus_L=yes
12767       fi
12768       ;;
12769
12770     hpux11*)
12771       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12772         case $host_cpu in
12773         hppa*64*)
12774           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12775           ;;
12776         ia64*)
12777           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12778           ;;
12779         *)
12780           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12781           ;;
12782         esac
12783       else
12784         case $host_cpu in
12785         hppa*64*)
12786           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12787           ;;
12788         ia64*)
12789           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12790           ;;
12791         *)
12792
12793           # Older versions of the 11.00 compiler do not understand -b yet
12794           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12795           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12796 $as_echo_n "checking if $CC understands -b... " >&6; }
12797 if ${lt_cv_prog_compiler__b+:} false; then :
12798   $as_echo_n "(cached) " >&6
12799 else
12800   lt_cv_prog_compiler__b=no
12801    save_LDFLAGS="$LDFLAGS"
12802    LDFLAGS="$LDFLAGS -b"
12803    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12804    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12805      # The linker can only warn and ignore the option if not recognized
12806      # So say no if there are warnings
12807      if test -s conftest.err; then
12808        # Append any errors to the config.log.
12809        cat conftest.err 1>&5
12810        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12811        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12812        if diff conftest.exp conftest.er2 >/dev/null; then
12813          lt_cv_prog_compiler__b=yes
12814        fi
12815      else
12816        lt_cv_prog_compiler__b=yes
12817      fi
12818    fi
12819    $RM -r conftest*
12820    LDFLAGS="$save_LDFLAGS"
12821
12822 fi
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12824 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12825
12826 if test x"$lt_cv_prog_compiler__b" = xyes; then
12827     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12828 else
12829     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12830 fi
12831
12832           ;;
12833         esac
12834       fi
12835       if test "$with_gnu_ld" = no; then
12836         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12837         hardcode_libdir_separator=:
12838
12839         case $host_cpu in
12840         hppa*64*|ia64*)
12841           hardcode_direct=no
12842           hardcode_shlibpath_var=no
12843           ;;
12844         *)
12845           hardcode_direct=yes
12846           hardcode_direct_absolute=yes
12847           export_dynamic_flag_spec='${wl}-E'
12848
12849           # hardcode_minus_L: Not really in the search PATH,
12850           # but as the default location of the library.
12851           hardcode_minus_L=yes
12852           ;;
12853         esac
12854       fi
12855       ;;
12856
12857     irix5* | irix6* | nonstopux*)
12858       if test "$GCC" = yes; then
12859         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'
12860         # Try to use the -exported_symbol ld option, if it does not
12861         # work, assume that -exports_file does not work either and
12862         # implicitly export all symbols.
12863         # This should be the same for all languages, so no per-tag cache variable.
12864         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12865 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12866 if ${lt_cv_irix_exported_symbol+:} false; then :
12867   $as_echo_n "(cached) " >&6
12868 else
12869   save_LDFLAGS="$LDFLAGS"
12870            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12871            if test x$ac_no_link = xyes; then
12872   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12873 fi
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h.  */
12876 int foo (void) { return 0; }
12877 _ACEOF
12878 if ac_fn_c_try_link "$LINENO"; then :
12879   lt_cv_irix_exported_symbol=yes
12880 else
12881   lt_cv_irix_exported_symbol=no
12882 fi
12883 rm -f core conftest.err conftest.$ac_objext \
12884     conftest$ac_exeext conftest.$ac_ext
12885            LDFLAGS="$save_LDFLAGS"
12886 fi
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12888 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12889         if test "$lt_cv_irix_exported_symbol" = yes; then
12890           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'
12891         fi
12892       else
12893         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'
12894         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'
12895       fi
12896       archive_cmds_need_lc='no'
12897       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12898       hardcode_libdir_separator=:
12899       inherit_rpath=yes
12900       link_all_deplibs=yes
12901       ;;
12902
12903     netbsd*)
12904       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12905         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12906       else
12907         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12908       fi
12909       hardcode_libdir_flag_spec='-R$libdir'
12910       hardcode_direct=yes
12911       hardcode_shlibpath_var=no
12912       ;;
12913
12914     newsos6)
12915       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12916       hardcode_direct=yes
12917       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12918       hardcode_libdir_separator=:
12919       hardcode_shlibpath_var=no
12920       ;;
12921
12922     *nto* | *qnx*)
12923       ;;
12924
12925     openbsd*)
12926       if test -f /usr/libexec/ld.so; then
12927         hardcode_direct=yes
12928         hardcode_shlibpath_var=no
12929         hardcode_direct_absolute=yes
12930         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12931           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12932           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12933           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12934           export_dynamic_flag_spec='${wl}-E'
12935         else
12936           case $host_os in
12937            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12938              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12939              hardcode_libdir_flag_spec='-R$libdir'
12940              ;;
12941            *)
12942              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12943              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12944              ;;
12945           esac
12946         fi
12947       else
12948         ld_shlibs=no
12949       fi
12950       ;;
12951
12952     os2*)
12953       hardcode_libdir_flag_spec='-L$libdir'
12954       hardcode_minus_L=yes
12955       allow_undefined_flag=unsupported
12956       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'
12957       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12958       ;;
12959
12960     osf3*)
12961       if test "$GCC" = yes; then
12962         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12963         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'
12964       else
12965         allow_undefined_flag=' -expect_unresolved \*'
12966         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'
12967       fi
12968       archive_cmds_need_lc='no'
12969       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12970       hardcode_libdir_separator=:
12971       ;;
12972
12973     osf4* | osf5*)      # as osf3* with the addition of -msym flag
12974       if test "$GCC" = yes; then
12975         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12976         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'
12977         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12978       else
12979         allow_undefined_flag=' -expect_unresolved \*'
12980         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'
12981         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~
12982         $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'
12983
12984         # Both c and cxx compiler support -rpath directly
12985         hardcode_libdir_flag_spec='-rpath $libdir'
12986       fi
12987       archive_cmds_need_lc='no'
12988       hardcode_libdir_separator=:
12989       ;;
12990
12991     solaris*)
12992       no_undefined_flag=' -z defs'
12993       if test "$GCC" = yes; then
12994         wlarc='${wl}'
12995         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12996         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12997           $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'
12998       else
12999         case `$CC -V 2>&1` in
13000         *"Compilers 5.0"*)
13001           wlarc=''
13002           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13003           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13004           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13005           ;;
13006         *)
13007           wlarc='${wl}'
13008           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13009           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13010           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13011           ;;
13012         esac
13013       fi
13014       hardcode_libdir_flag_spec='-R$libdir'
13015       hardcode_shlibpath_var=no
13016       case $host_os in
13017       solaris2.[0-5] | solaris2.[0-5].*) ;;
13018       *)
13019         # The compiler driver will combine and reorder linker options,
13020         # but understands `-z linker_flag'.  GCC discards it without `$wl',
13021         # but is careful enough not to reorder.
13022         # Supported since Solaris 2.6 (maybe 2.5.1?)
13023         if test "$GCC" = yes; then
13024           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13025         else
13026           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13027         fi
13028         ;;
13029       esac
13030       link_all_deplibs=yes
13031       ;;
13032
13033     sunos4*)
13034       if test "x$host_vendor" = xsequent; then
13035         # Use $CC to link under sequent, because it throws in some extra .o
13036         # files that make .init and .fini sections work.
13037         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13038       else
13039         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13040       fi
13041       hardcode_libdir_flag_spec='-L$libdir'
13042       hardcode_direct=yes
13043       hardcode_minus_L=yes
13044       hardcode_shlibpath_var=no
13045       ;;
13046
13047     sysv4)
13048       case $host_vendor in
13049         sni)
13050           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13051           hardcode_direct=yes # is this really true???
13052         ;;
13053         siemens)
13054           ## LD is ld it makes a PLAMLIB
13055           ## CC just makes a GrossModule.
13056           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13057           reload_cmds='$CC -r -o $output$reload_objs'
13058           hardcode_direct=no
13059         ;;
13060         motorola)
13061           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13062           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13063         ;;
13064       esac
13065       runpath_var='LD_RUN_PATH'
13066       hardcode_shlibpath_var=no
13067       ;;
13068
13069     sysv4.3*)
13070       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13071       hardcode_shlibpath_var=no
13072       export_dynamic_flag_spec='-Bexport'
13073       ;;
13074
13075     sysv4*MP*)
13076       if test -d /usr/nec; then
13077         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13078         hardcode_shlibpath_var=no
13079         runpath_var=LD_RUN_PATH
13080         hardcode_runpath_var=yes
13081         ld_shlibs=yes
13082       fi
13083       ;;
13084
13085     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13086       no_undefined_flag='${wl}-z,text'
13087       archive_cmds_need_lc=no
13088       hardcode_shlibpath_var=no
13089       runpath_var='LD_RUN_PATH'
13090
13091       if test "$GCC" = yes; then
13092         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13093         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13094       else
13095         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13097       fi
13098       ;;
13099
13100     sysv5* | sco3.2v5* | sco5v6*)
13101       # Note: We can NOT use -z defs as we might desire, because we do not
13102       # link with -lc, and that would cause any symbols used from libc to
13103       # always be unresolved, which means just about no library would
13104       # ever link correctly.  If we're not using GNU ld we use -z text
13105       # though, which does catch some bad symbols but isn't as heavy-handed
13106       # as -z defs.
13107       no_undefined_flag='${wl}-z,text'
13108       allow_undefined_flag='${wl}-z,nodefs'
13109       archive_cmds_need_lc=no
13110       hardcode_shlibpath_var=no
13111       hardcode_libdir_flag_spec='${wl}-R,$libdir'
13112       hardcode_libdir_separator=':'
13113       link_all_deplibs=yes
13114       export_dynamic_flag_spec='${wl}-Bexport'
13115       runpath_var='LD_RUN_PATH'
13116
13117       if test "$GCC" = yes; then
13118         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13119         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13120       else
13121         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13122         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13123       fi
13124       ;;
13125
13126     uts4*)
13127       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13128       hardcode_libdir_flag_spec='-L$libdir'
13129       hardcode_shlibpath_var=no
13130       ;;
13131
13132     *)
13133       ld_shlibs=no
13134       ;;
13135     esac
13136
13137     if test x$host_vendor = xsni; then
13138       case $host in
13139       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13140         export_dynamic_flag_spec='${wl}-Blargedynsym'
13141         ;;
13142       esac
13143     fi
13144   fi
13145
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13147 $as_echo "$ld_shlibs" >&6; }
13148 test "$ld_shlibs" = no && can_build_shared=no
13149
13150 with_gnu_ld=$with_gnu_ld
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166 #
13167 # Do we need to explicitly link libc?
13168 #
13169 case "x$archive_cmds_need_lc" in
13170 x|xyes)
13171   # Assume -lc should be added
13172   archive_cmds_need_lc=yes
13173
13174   if test "$enable_shared" = yes && test "$GCC" = yes; then
13175     case $archive_cmds in
13176     *'~'*)
13177       # FIXME: we may have to deal with multi-command sequences.
13178       ;;
13179     '$CC '*)
13180       # Test whether the compiler implicitly links with -lc since on some
13181       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13182       # to ld, don't add -lc before -lgcc.
13183       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13184 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13185 if ${lt_cv_archive_cmds_need_lc+:} false; then :
13186   $as_echo_n "(cached) " >&6
13187 else
13188   $RM conftest*
13189         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13190
13191         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13192   (eval $ac_compile) 2>&5
13193   ac_status=$?
13194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13195   test $ac_status = 0; } 2>conftest.err; then
13196           soname=conftest
13197           lib=conftest
13198           libobjs=conftest.$ac_objext
13199           deplibs=
13200           wl=$lt_prog_compiler_wl
13201           pic_flag=$lt_prog_compiler_pic
13202           compiler_flags=-v
13203           linker_flags=-v
13204           verstring=
13205           output_objdir=.
13206           libname=conftest
13207           lt_save_allow_undefined_flag=$allow_undefined_flag
13208           allow_undefined_flag=
13209           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13210   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13211   ac_status=$?
13212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213   test $ac_status = 0; }
13214           then
13215             lt_cv_archive_cmds_need_lc=no
13216           else
13217             lt_cv_archive_cmds_need_lc=yes
13218           fi
13219           allow_undefined_flag=$lt_save_allow_undefined_flag
13220         else
13221           cat conftest.err 1>&5
13222         fi
13223         $RM conftest*
13224
13225 fi
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13227 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13228       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13229       ;;
13230     esac
13231   fi
13232   ;;
13233 esac
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
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13387 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13388
13389 if test "$GCC" = yes; then
13390   case $host_os in
13391     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
13392     *) lt_awk_arg="/^libraries:/" ;;
13393   esac
13394   case $host_os in
13395     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
13396     *) lt_sed_strip_eq="s,=/,/,g" ;;
13397   esac
13398   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13399   case $lt_search_path_spec in
13400   *\;*)
13401     # if the path contains ";" then we assume it to be the separator
13402     # otherwise default to the standard path separator (i.e. ":") - it is
13403     # assumed that no part of a normal pathname contains ";" but that should
13404     # okay in the real world where ";" in dirpaths is itself problematic.
13405     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13406     ;;
13407   *)
13408     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13409     ;;
13410   esac
13411   # Ok, now we have the path, separated by spaces, we can step through it
13412   # and add multilib dir if necessary.
13413   lt_tmp_lt_search_path_spec=
13414   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13415   for lt_sys_path in $lt_search_path_spec; do
13416     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13417       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13418     else
13419       test -d "$lt_sys_path" && \
13420         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13421     fi
13422   done
13423   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13424 BEGIN {RS=" "; FS="/|\n";} {
13425   lt_foo="";
13426   lt_count=0;
13427   for (lt_i = NF; lt_i > 0; lt_i--) {
13428     if ($lt_i != "" && $lt_i != ".") {
13429       if ($lt_i == "..") {
13430         lt_count++;
13431       } else {
13432         if (lt_count == 0) {
13433           lt_foo="/" $lt_i lt_foo;
13434         } else {
13435           lt_count--;
13436         }
13437       }
13438     }
13439   }
13440   if (lt_foo != "") { lt_freq[lt_foo]++; }
13441   if (lt_freq[lt_foo] == 1) { print lt_foo; }
13442 }'`
13443   # AWK program above erroneously prepends '/' to C:/dos/paths
13444   # for these hosts.
13445   case $host_os in
13446     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13447       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
13448   esac
13449   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13450 else
13451   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13452 fi
13453 library_names_spec=
13454 libname_spec='lib$name'
13455 soname_spec=
13456 shrext_cmds=".so"
13457 postinstall_cmds=
13458 postuninstall_cmds=
13459 finish_cmds=
13460 finish_eval=
13461 shlibpath_var=
13462 shlibpath_overrides_runpath=unknown
13463 version_type=none
13464 dynamic_linker="$host_os ld.so"
13465 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13466 need_lib_prefix=unknown
13467 hardcode_into_libs=no
13468
13469 # when you set need_version to no, make sure it does not cause -set_version
13470 # flags to be left without arguments
13471 need_version=unknown
13472
13473 case $host_os in
13474 aix3*)
13475   version_type=linux # correct to gnu/linux during the next big refactor
13476   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13477   shlibpath_var=LIBPATH
13478
13479   # AIX 3 has no versioning support, so we append a major version to the name.
13480   soname_spec='${libname}${release}${shared_ext}$major'
13481   ;;
13482
13483 aix[4-9]*)
13484   version_type=linux # correct to gnu/linux during the next big refactor
13485   need_lib_prefix=no
13486   need_version=no
13487   hardcode_into_libs=yes
13488   if test "$host_cpu" = ia64; then
13489     # AIX 5 supports IA64
13490     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13491     shlibpath_var=LD_LIBRARY_PATH
13492   else
13493     # With GCC up to 2.95.x, collect2 would create an import file
13494     # for dependence libraries.  The import file would start with
13495     # the line `#! .'.  This would cause the generated library to
13496     # depend on `.', always an invalid library.  This was fixed in
13497     # development snapshots of GCC prior to 3.0.
13498     case $host_os in
13499       aix4 | aix4.[01] | aix4.[01].*)
13500       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13501            echo ' yes '
13502            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13503         :
13504       else
13505         can_build_shared=no
13506       fi
13507       ;;
13508     esac
13509     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13510     # soname into executable. Probably we can add versioning support to
13511     # collect2, so additional links can be useful in future.
13512     if test "$aix_use_runtimelinking" = yes; then
13513       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13514       # instead of lib<name>.a to let people know that these are not
13515       # typical AIX shared libraries.
13516       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13517     else
13518       # We preserve .a as extension for shared libraries through AIX4.2
13519       # and later when we are not doing run time linking.
13520       library_names_spec='${libname}${release}.a $libname.a'
13521       soname_spec='${libname}${release}${shared_ext}$major'
13522     fi
13523     shlibpath_var=LIBPATH
13524   fi
13525   ;;
13526
13527 amigaos*)
13528   case $host_cpu in
13529   powerpc)
13530     # Since July 2007 AmigaOS4 officially supports .so libraries.
13531     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13532     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13533     ;;
13534   m68k)
13535     library_names_spec='$libname.ixlibrary $libname.a'
13536     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13537     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'
13538     ;;
13539   esac
13540   ;;
13541
13542 beos*)
13543   library_names_spec='${libname}${shared_ext}'
13544   dynamic_linker="$host_os ld.so"
13545   shlibpath_var=LIBRARY_PATH
13546   ;;
13547
13548 bsdi[45]*)
13549   version_type=linux # correct to gnu/linux during the next big refactor
13550   need_version=no
13551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13552   soname_spec='${libname}${release}${shared_ext}$major'
13553   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13554   shlibpath_var=LD_LIBRARY_PATH
13555   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13556   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13557   # the default ld.so.conf also contains /usr/contrib/lib and
13558   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13559   # libtool to hard-code these into programs
13560   ;;
13561
13562 cygwin* | mingw* | pw32* | cegcc*)
13563   version_type=windows
13564   shrext_cmds=".dll"
13565   need_version=no
13566   need_lib_prefix=no
13567
13568   case $GCC,$cc_basename in
13569   yes,*)
13570     # gcc
13571     library_names_spec='$libname.dll.a'
13572     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13573     postinstall_cmds='base_file=`basename \${file}`~
13574       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13575       dldir=$destdir/`dirname \$dlpath`~
13576       test -d \$dldir || mkdir -p \$dldir~
13577       $install_prog $dir/$dlname \$dldir/$dlname~
13578       chmod a+x \$dldir/$dlname~
13579       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13580         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13581       fi'
13582     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13583       dlpath=$dir/\$dldll~
13584        $RM \$dlpath'
13585     shlibpath_overrides_runpath=yes
13586
13587     case $host_os in
13588     cygwin*)
13589       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13590       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13591
13592       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13593       ;;
13594     mingw* | cegcc*)
13595       # MinGW DLLs use traditional 'lib' prefix
13596       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13597       ;;
13598     pw32*)
13599       # pw32 DLLs use 'pw' prefix rather than 'lib'
13600       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13601       ;;
13602     esac
13603     dynamic_linker='Win32 ld.exe'
13604     ;;
13605
13606   *,cl*)
13607     # Native MSVC
13608     libname_spec='$name'
13609     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13610     library_names_spec='${libname}.dll.lib'
13611
13612     case $build_os in
13613     mingw*)
13614       sys_lib_search_path_spec=
13615       lt_save_ifs=$IFS
13616       IFS=';'
13617       for lt_path in $LIB
13618       do
13619         IFS=$lt_save_ifs
13620         # Let DOS variable expansion print the short 8.3 style file name.
13621         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13622         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13623       done
13624       IFS=$lt_save_ifs
13625       # Convert to MSYS style.
13626       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13627       ;;
13628     cygwin*)
13629       # Convert to unix form, then to dos form, then back to unix form
13630       # but this time dos style (no spaces!) so that the unix form looks
13631       # like /cygdrive/c/PROGRA~1:/cygdr...
13632       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13633       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13634       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13635       ;;
13636     *)
13637       sys_lib_search_path_spec="$LIB"
13638       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13639         # It is most probably a Windows format PATH.
13640         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13641       else
13642         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13643       fi
13644       # FIXME: find the short name or the path components, as spaces are
13645       # common. (e.g. "Program Files" -> "PROGRA~1")
13646       ;;
13647     esac
13648
13649     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13650     postinstall_cmds='base_file=`basename \${file}`~
13651       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13652       dldir=$destdir/`dirname \$dlpath`~
13653       test -d \$dldir || mkdir -p \$dldir~
13654       $install_prog $dir/$dlname \$dldir/$dlname'
13655     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13656       dlpath=$dir/\$dldll~
13657        $RM \$dlpath'
13658     shlibpath_overrides_runpath=yes
13659     dynamic_linker='Win32 link.exe'
13660     ;;
13661
13662   *)
13663     # Assume MSVC wrapper
13664     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13665     dynamic_linker='Win32 ld.exe'
13666     ;;
13667   esac
13668   # FIXME: first we should search . and the directory the executable is in
13669   shlibpath_var=PATH
13670   ;;
13671
13672 darwin* | rhapsody*)
13673   dynamic_linker="$host_os dyld"
13674   version_type=darwin
13675   need_lib_prefix=no
13676   need_version=no
13677   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13678   soname_spec='${libname}${release}${major}$shared_ext'
13679   shlibpath_overrides_runpath=yes
13680   shlibpath_var=DYLD_LIBRARY_PATH
13681   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13682
13683   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13684   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13685   ;;
13686
13687 dgux*)
13688   version_type=linux # correct to gnu/linux during the next big refactor
13689   need_lib_prefix=no
13690   need_version=no
13691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13692   soname_spec='${libname}${release}${shared_ext}$major'
13693   shlibpath_var=LD_LIBRARY_PATH
13694   ;;
13695
13696 freebsd* | dragonfly*)
13697   # DragonFly does not have aout.  When/if they implement a new
13698   # versioning mechanism, adjust this.
13699   if test -x /usr/bin/objformat; then
13700     objformat=`/usr/bin/objformat`
13701   else
13702     case $host_os in
13703     freebsd[23].*) objformat=aout ;;
13704     *) objformat=elf ;;
13705     esac
13706   fi
13707   version_type=freebsd-$objformat
13708   case $version_type in
13709     freebsd-elf*)
13710       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13711       need_version=no
13712       need_lib_prefix=no
13713       ;;
13714     freebsd-*)
13715       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13716       need_version=yes
13717       ;;
13718   esac
13719   shlibpath_var=LD_LIBRARY_PATH
13720   case $host_os in
13721   freebsd2.*)
13722     shlibpath_overrides_runpath=yes
13723     ;;
13724   freebsd3.[01]* | freebsdelf3.[01]*)
13725     shlibpath_overrides_runpath=yes
13726     hardcode_into_libs=yes
13727     ;;
13728   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13729   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13730     shlibpath_overrides_runpath=no
13731     hardcode_into_libs=yes
13732     ;;
13733   *) # from 4.6 on, and DragonFly
13734     shlibpath_overrides_runpath=yes
13735     hardcode_into_libs=yes
13736     ;;
13737   esac
13738   ;;
13739
13740 gnu*)
13741   version_type=linux # correct to gnu/linux during the next big refactor
13742   need_lib_prefix=no
13743   need_version=no
13744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13745   soname_spec='${libname}${release}${shared_ext}$major'
13746   shlibpath_var=LD_LIBRARY_PATH
13747   shlibpath_overrides_runpath=no
13748   hardcode_into_libs=yes
13749   ;;
13750
13751 haiku*)
13752   version_type=linux # correct to gnu/linux during the next big refactor
13753   need_lib_prefix=no
13754   need_version=no
13755   dynamic_linker="$host_os runtime_loader"
13756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13757   soname_spec='${libname}${release}${shared_ext}$major'
13758   shlibpath_var=LIBRARY_PATH
13759   shlibpath_overrides_runpath=yes
13760   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13761   hardcode_into_libs=yes
13762   ;;
13763
13764 hpux9* | hpux10* | hpux11*)
13765   # Give a soname corresponding to the major version so that dld.sl refuses to
13766   # link against other versions.
13767   version_type=sunos
13768   need_lib_prefix=no
13769   need_version=no
13770   case $host_cpu in
13771   ia64*)
13772     shrext_cmds='.so'
13773     hardcode_into_libs=yes
13774     dynamic_linker="$host_os dld.so"
13775     shlibpath_var=LD_LIBRARY_PATH
13776     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13777     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13778     soname_spec='${libname}${release}${shared_ext}$major'
13779     if test "X$HPUX_IA64_MODE" = X32; then
13780       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13781     else
13782       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13783     fi
13784     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13785     ;;
13786   hppa*64*)
13787     shrext_cmds='.sl'
13788     hardcode_into_libs=yes
13789     dynamic_linker="$host_os dld.sl"
13790     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13791     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13792     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13793     soname_spec='${libname}${release}${shared_ext}$major'
13794     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13795     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13796     ;;
13797   *)
13798     shrext_cmds='.sl'
13799     dynamic_linker="$host_os dld.sl"
13800     shlibpath_var=SHLIB_PATH
13801     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13802     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13803     soname_spec='${libname}${release}${shared_ext}$major'
13804     ;;
13805   esac
13806   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13807   postinstall_cmds='chmod 555 $lib'
13808   # or fails outright, so override atomically:
13809   install_override_mode=555
13810   ;;
13811
13812 interix[3-9]*)
13813   version_type=linux # correct to gnu/linux during the next big refactor
13814   need_lib_prefix=no
13815   need_version=no
13816   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13817   soname_spec='${libname}${release}${shared_ext}$major'
13818   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13819   shlibpath_var=LD_LIBRARY_PATH
13820   shlibpath_overrides_runpath=no
13821   hardcode_into_libs=yes
13822   ;;
13823
13824 irix5* | irix6* | nonstopux*)
13825   case $host_os in
13826     nonstopux*) version_type=nonstopux ;;
13827     *)
13828         if test "$lt_cv_prog_gnu_ld" = yes; then
13829                 version_type=linux # correct to gnu/linux during the next big refactor
13830         else
13831                 version_type=irix
13832         fi ;;
13833   esac
13834   need_lib_prefix=no
13835   need_version=no
13836   soname_spec='${libname}${release}${shared_ext}$major'
13837   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13838   case $host_os in
13839   irix5* | nonstopux*)
13840     libsuff= shlibsuff=
13841     ;;
13842   *)
13843     case $LD in # libtool.m4 will add one of these switches to LD
13844     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13845       libsuff= shlibsuff= libmagic=32-bit;;
13846     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13847       libsuff=32 shlibsuff=N32 libmagic=N32;;
13848     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13849       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13850     *) libsuff= shlibsuff= libmagic=never-match;;
13851     esac
13852     ;;
13853   esac
13854   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13855   shlibpath_overrides_runpath=no
13856   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13857   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13858   hardcode_into_libs=yes
13859   ;;
13860
13861 # No shared lib support for Linux oldld, aout, or coff.
13862 linux*oldld* | linux*aout* | linux*coff*)
13863   dynamic_linker=no
13864   ;;
13865
13866 # This must be glibc/ELF.
13867 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13868   version_type=linux # correct to gnu/linux during the next big refactor
13869   need_lib_prefix=no
13870   need_version=no
13871   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13872   soname_spec='${libname}${release}${shared_ext}$major'
13873   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13874   shlibpath_var=LD_LIBRARY_PATH
13875   shlibpath_overrides_runpath=no
13876
13877   # Some binutils ld are patched to set DT_RUNPATH
13878   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13879   $as_echo_n "(cached) " >&6
13880 else
13881   lt_cv_shlibpath_overrides_runpath=no
13882     save_LDFLAGS=$LDFLAGS
13883     save_libdir=$libdir
13884     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13885          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13886     if test x$ac_no_link = xyes; then
13887   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
13888 fi
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h.  */
13891
13892 int
13893 main ()
13894 {
13895
13896   ;
13897   return 0;
13898 }
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"; then :
13901   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13902   lt_cv_shlibpath_overrides_runpath=yes
13903 fi
13904 fi
13905 rm -f core conftest.err conftest.$ac_objext \
13906     conftest$ac_exeext conftest.$ac_ext
13907     LDFLAGS=$save_LDFLAGS
13908     libdir=$save_libdir
13909
13910 fi
13911
13912   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13913
13914   # This implies no fast_install, which is unacceptable.
13915   # Some rework will be needed to allow for fast_install
13916   # before this can be enabled.
13917   hardcode_into_libs=yes
13918
13919   # Append ld.so.conf contents to the search path
13920   if test -f /etc/ld.so.conf; then
13921     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' ' '`
13922     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13923   fi
13924
13925   # We used to test for /lib/ld.so.1 and disable shared libraries on
13926   # powerpc, because MkLinux only supported shared libraries with the
13927   # GNU dynamic linker.  Since this was broken with cross compilers,
13928   # most powerpc-linux boxes support dynamic linking these days and
13929   # people can always --disable-shared, the test was removed, and we
13930   # assume the GNU/Linux dynamic linker is in use.
13931   dynamic_linker='GNU/Linux ld.so'
13932   ;;
13933
13934 netbsd*)
13935   version_type=sunos
13936   need_lib_prefix=no
13937   need_version=no
13938   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13939     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13940     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13941     dynamic_linker='NetBSD (a.out) ld.so'
13942   else
13943     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13944     soname_spec='${libname}${release}${shared_ext}$major'
13945     dynamic_linker='NetBSD ld.elf_so'
13946   fi
13947   shlibpath_var=LD_LIBRARY_PATH
13948   shlibpath_overrides_runpath=yes
13949   hardcode_into_libs=yes
13950   ;;
13951
13952 newsos6)
13953   version_type=linux # correct to gnu/linux during the next big refactor
13954   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13955   shlibpath_var=LD_LIBRARY_PATH
13956   shlibpath_overrides_runpath=yes
13957   ;;
13958
13959 *nto* | *qnx*)
13960   version_type=qnx
13961   need_lib_prefix=no
13962   need_version=no
13963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13964   soname_spec='${libname}${release}${shared_ext}$major'
13965   shlibpath_var=LD_LIBRARY_PATH
13966   shlibpath_overrides_runpath=no
13967   hardcode_into_libs=yes
13968   dynamic_linker='ldqnx.so'
13969   ;;
13970
13971 openbsd*)
13972   version_type=sunos
13973   sys_lib_dlsearch_path_spec="/usr/lib"
13974   need_lib_prefix=no
13975   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13976   case $host_os in
13977     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13978     *)                          need_version=no  ;;
13979   esac
13980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13981   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13982   shlibpath_var=LD_LIBRARY_PATH
13983   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13984     case $host_os in
13985       openbsd2.[89] | openbsd2.[89].*)
13986         shlibpath_overrides_runpath=no
13987         ;;
13988       *)
13989         shlibpath_overrides_runpath=yes
13990         ;;
13991       esac
13992   else
13993     shlibpath_overrides_runpath=yes
13994   fi
13995   ;;
13996
13997 os2*)
13998   libname_spec='$name'
13999   shrext_cmds=".dll"
14000   need_lib_prefix=no
14001   library_names_spec='$libname${shared_ext} $libname.a'
14002   dynamic_linker='OS/2 ld.exe'
14003   shlibpath_var=LIBPATH
14004   ;;
14005
14006 osf3* | osf4* | osf5*)
14007   version_type=osf
14008   need_lib_prefix=no
14009   need_version=no
14010   soname_spec='${libname}${release}${shared_ext}$major'
14011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14012   shlibpath_var=LD_LIBRARY_PATH
14013   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14014   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14015   ;;
14016
14017 rdos*)
14018   dynamic_linker=no
14019   ;;
14020
14021 solaris*)
14022   version_type=linux # correct to gnu/linux during the next big refactor
14023   need_lib_prefix=no
14024   need_version=no
14025   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14026   soname_spec='${libname}${release}${shared_ext}$major'
14027   shlibpath_var=LD_LIBRARY_PATH
14028   shlibpath_overrides_runpath=yes
14029   hardcode_into_libs=yes
14030   # ldd complains unless libraries are executable
14031   postinstall_cmds='chmod +x $lib'
14032   ;;
14033
14034 sunos4*)
14035   version_type=sunos
14036   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14037   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14038   shlibpath_var=LD_LIBRARY_PATH
14039   shlibpath_overrides_runpath=yes
14040   if test "$with_gnu_ld" = yes; then
14041     need_lib_prefix=no
14042   fi
14043   need_version=yes
14044   ;;
14045
14046 sysv4 | sysv4.3*)
14047   version_type=linux # correct to gnu/linux during the next big refactor
14048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14049   soname_spec='${libname}${release}${shared_ext}$major'
14050   shlibpath_var=LD_LIBRARY_PATH
14051   case $host_vendor in
14052     sni)
14053       shlibpath_overrides_runpath=no
14054       need_lib_prefix=no
14055       runpath_var=LD_RUN_PATH
14056       ;;
14057     siemens)
14058       need_lib_prefix=no
14059       ;;
14060     motorola)
14061       need_lib_prefix=no
14062       need_version=no
14063       shlibpath_overrides_runpath=no
14064       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14065       ;;
14066   esac
14067   ;;
14068
14069 sysv4*MP*)
14070   if test -d /usr/nec ;then
14071     version_type=linux # correct to gnu/linux during the next big refactor
14072     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14073     soname_spec='$libname${shared_ext}.$major'
14074     shlibpath_var=LD_LIBRARY_PATH
14075   fi
14076   ;;
14077
14078 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14079   version_type=freebsd-elf
14080   need_lib_prefix=no
14081   need_version=no
14082   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14083   soname_spec='${libname}${release}${shared_ext}$major'
14084   shlibpath_var=LD_LIBRARY_PATH
14085   shlibpath_overrides_runpath=yes
14086   hardcode_into_libs=yes
14087   if test "$with_gnu_ld" = yes; then
14088     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14089   else
14090     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14091     case $host_os in
14092       sco3.2v5*)
14093         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14094         ;;
14095     esac
14096   fi
14097   sys_lib_dlsearch_path_spec='/usr/lib'
14098   ;;
14099
14100 tpf*)
14101   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14102   version_type=linux # correct to gnu/linux during the next big refactor
14103   need_lib_prefix=no
14104   need_version=no
14105   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14106   shlibpath_var=LD_LIBRARY_PATH
14107   shlibpath_overrides_runpath=no
14108   hardcode_into_libs=yes
14109   ;;
14110
14111 uts4*)
14112   version_type=linux # correct to gnu/linux during the next big refactor
14113   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14114   soname_spec='${libname}${release}${shared_ext}$major'
14115   shlibpath_var=LD_LIBRARY_PATH
14116   ;;
14117
14118 *)
14119   dynamic_linker=no
14120   ;;
14121 esac
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14123 $as_echo "$dynamic_linker" >&6; }
14124 test "$dynamic_linker" = no && can_build_shared=no
14125
14126 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14127 if test "$GCC" = yes; then
14128   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14129 fi
14130
14131 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14132   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14133 fi
14134 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14135   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14136 fi
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
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14230 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14231 hardcode_action=
14232 if test -n "$hardcode_libdir_flag_spec" ||
14233    test -n "$runpath_var" ||
14234    test "X$hardcode_automatic" = "Xyes" ; then
14235
14236   # We can hardcode non-existent directories.
14237   if test "$hardcode_direct" != no &&
14238      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14239      # have to relink, otherwise we might link with an installed library
14240      # when we should be linking with a yet-to-be-installed one
14241      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14242      test "$hardcode_minus_L" != no; then
14243     # Linking always hardcodes the temporary library directory.
14244     hardcode_action=relink
14245   else
14246     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14247     hardcode_action=immediate
14248   fi
14249 else
14250   # We cannot hardcode anything, or else we can only hardcode existing
14251   # directories.
14252   hardcode_action=unsupported
14253 fi
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14255 $as_echo "$hardcode_action" >&6; }
14256
14257 if test "$hardcode_action" = relink ||
14258    test "$inherit_rpath" = yes; then
14259   # Fast installation is not supported
14260   enable_fast_install=no
14261 elif test "$shlibpath_overrides_runpath" = yes ||
14262      test "$enable_shared" = no; then
14263   # Fast installation is not necessary
14264   enable_fast_install=needless
14265 fi
14266
14267
14268
14269
14270
14271
14272   if test "x$enable_dlopen" != xyes; then
14273   enable_dlopen=unknown
14274   enable_dlopen_self=unknown
14275   enable_dlopen_self_static=unknown
14276 else
14277   lt_cv_dlopen=no
14278   lt_cv_dlopen_libs=
14279
14280   case $host_os in
14281   beos*)
14282     lt_cv_dlopen="load_add_on"
14283     lt_cv_dlopen_libs=
14284     lt_cv_dlopen_self=yes
14285     ;;
14286
14287   mingw* | pw32* | cegcc*)
14288     lt_cv_dlopen="LoadLibrary"
14289     lt_cv_dlopen_libs=
14290     ;;
14291
14292   cygwin*)
14293     lt_cv_dlopen="dlopen"
14294     lt_cv_dlopen_libs=
14295     ;;
14296
14297   darwin*)
14298   # if libdl is installed we need to link against it
14299     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14300 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14301 if ${ac_cv_lib_dl_dlopen+:} false; then :
14302   $as_echo_n "(cached) " >&6
14303 else
14304   ac_check_lib_save_LIBS=$LIBS
14305 LIBS="-ldl  $LIBS"
14306 if test x$ac_no_link = xyes; then
14307   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14308 fi
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h.  */
14311
14312 /* Override any GCC internal prototype to avoid an error.
14313    Use char because int might match the return type of a GCC
14314    builtin and then its argument prototype would still apply.  */
14315 #ifdef __cplusplus
14316 extern "C"
14317 #endif
14318 char dlopen ();
14319 int
14320 main ()
14321 {
14322 return dlopen ();
14323   ;
14324   return 0;
14325 }
14326 _ACEOF
14327 if ac_fn_c_try_link "$LINENO"; then :
14328   ac_cv_lib_dl_dlopen=yes
14329 else
14330   ac_cv_lib_dl_dlopen=no
14331 fi
14332 rm -f core conftest.err conftest.$ac_objext \
14333     conftest$ac_exeext conftest.$ac_ext
14334 LIBS=$ac_check_lib_save_LIBS
14335 fi
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14337 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14338 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14339   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14340 else
14341
14342     lt_cv_dlopen="dyld"
14343     lt_cv_dlopen_libs=
14344     lt_cv_dlopen_self=yes
14345
14346 fi
14347
14348     ;;
14349
14350   *)
14351     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14352 if test "x$ac_cv_func_shl_load" = xyes; then :
14353   lt_cv_dlopen="shl_load"
14354 else
14355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14356 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14357 if ${ac_cv_lib_dld_shl_load+:} false; then :
14358   $as_echo_n "(cached) " >&6
14359 else
14360   ac_check_lib_save_LIBS=$LIBS
14361 LIBS="-ldld  $LIBS"
14362 if test x$ac_no_link = xyes; then
14363   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14364 fi
14365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14366 /* end confdefs.h.  */
14367
14368 /* Override any GCC internal prototype to avoid an error.
14369    Use char because int might match the return type of a GCC
14370    builtin and then its argument prototype would still apply.  */
14371 #ifdef __cplusplus
14372 extern "C"
14373 #endif
14374 char shl_load ();
14375 int
14376 main ()
14377 {
14378 return shl_load ();
14379   ;
14380   return 0;
14381 }
14382 _ACEOF
14383 if ac_fn_c_try_link "$LINENO"; then :
14384   ac_cv_lib_dld_shl_load=yes
14385 else
14386   ac_cv_lib_dld_shl_load=no
14387 fi
14388 rm -f core conftest.err conftest.$ac_objext \
14389     conftest$ac_exeext conftest.$ac_ext
14390 LIBS=$ac_check_lib_save_LIBS
14391 fi
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14393 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14394 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14395   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
14396 else
14397   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14398 if test "x$ac_cv_func_dlopen" = xyes; then :
14399   lt_cv_dlopen="dlopen"
14400 else
14401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14402 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14403 if ${ac_cv_lib_dl_dlopen+:} false; then :
14404   $as_echo_n "(cached) " >&6
14405 else
14406   ac_check_lib_save_LIBS=$LIBS
14407 LIBS="-ldl  $LIBS"
14408 if test x$ac_no_link = xyes; then
14409   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14410 fi
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h.  */
14413
14414 /* Override any GCC internal prototype to avoid an error.
14415    Use char because int might match the return type of a GCC
14416    builtin and then its argument prototype would still apply.  */
14417 #ifdef __cplusplus
14418 extern "C"
14419 #endif
14420 char dlopen ();
14421 int
14422 main ()
14423 {
14424 return dlopen ();
14425   ;
14426   return 0;
14427 }
14428 _ACEOF
14429 if ac_fn_c_try_link "$LINENO"; then :
14430   ac_cv_lib_dl_dlopen=yes
14431 else
14432   ac_cv_lib_dl_dlopen=no
14433 fi
14434 rm -f core conftest.err conftest.$ac_objext \
14435     conftest$ac_exeext conftest.$ac_ext
14436 LIBS=$ac_check_lib_save_LIBS
14437 fi
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14439 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14440 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14441   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14442 else
14443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14444 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14445 if ${ac_cv_lib_svld_dlopen+:} false; then :
14446   $as_echo_n "(cached) " >&6
14447 else
14448   ac_check_lib_save_LIBS=$LIBS
14449 LIBS="-lsvld  $LIBS"
14450 if test x$ac_no_link = xyes; then
14451   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14452 fi
14453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14454 /* end confdefs.h.  */
14455
14456 /* Override any GCC internal prototype to avoid an error.
14457    Use char because int might match the return type of a GCC
14458    builtin and then its argument prototype would still apply.  */
14459 #ifdef __cplusplus
14460 extern "C"
14461 #endif
14462 char dlopen ();
14463 int
14464 main ()
14465 {
14466 return dlopen ();
14467   ;
14468   return 0;
14469 }
14470 _ACEOF
14471 if ac_fn_c_try_link "$LINENO"; then :
14472   ac_cv_lib_svld_dlopen=yes
14473 else
14474   ac_cv_lib_svld_dlopen=no
14475 fi
14476 rm -f core conftest.err conftest.$ac_objext \
14477     conftest$ac_exeext conftest.$ac_ext
14478 LIBS=$ac_check_lib_save_LIBS
14479 fi
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14481 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14482 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14483   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14484 else
14485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14486 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14487 if ${ac_cv_lib_dld_dld_link+:} false; then :
14488   $as_echo_n "(cached) " >&6
14489 else
14490   ac_check_lib_save_LIBS=$LIBS
14491 LIBS="-ldld  $LIBS"
14492 if test x$ac_no_link = xyes; then
14493   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
14494 fi
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h.  */
14497
14498 /* Override any GCC internal prototype to avoid an error.
14499    Use char because int might match the return type of a GCC
14500    builtin and then its argument prototype would still apply.  */
14501 #ifdef __cplusplus
14502 extern "C"
14503 #endif
14504 char dld_link ();
14505 int
14506 main ()
14507 {
14508 return dld_link ();
14509   ;
14510   return 0;
14511 }
14512 _ACEOF
14513 if ac_fn_c_try_link "$LINENO"; then :
14514   ac_cv_lib_dld_dld_link=yes
14515 else
14516   ac_cv_lib_dld_dld_link=no
14517 fi
14518 rm -f core conftest.err conftest.$ac_objext \
14519     conftest$ac_exeext conftest.$ac_ext
14520 LIBS=$ac_check_lib_save_LIBS
14521 fi
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14523 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14524 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14525   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14526 fi
14527
14528
14529 fi
14530
14531
14532 fi
14533
14534
14535 fi
14536
14537
14538 fi
14539
14540
14541 fi
14542
14543     ;;
14544   esac
14545
14546   if test "x$lt_cv_dlopen" != xno; then
14547     enable_dlopen=yes
14548   else
14549     enable_dlopen=no
14550   fi
14551
14552   case $lt_cv_dlopen in
14553   dlopen)
14554     save_CPPFLAGS="$CPPFLAGS"
14555     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14556
14557     save_LDFLAGS="$LDFLAGS"
14558     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14559
14560     save_LIBS="$LIBS"
14561     LIBS="$lt_cv_dlopen_libs $LIBS"
14562
14563     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14564 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14565 if ${lt_cv_dlopen_self+:} false; then :
14566   $as_echo_n "(cached) " >&6
14567 else
14568           if test "$cross_compiling" = yes; then :
14569   lt_cv_dlopen_self=cross
14570 else
14571   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14572   lt_status=$lt_dlunknown
14573   cat > conftest.$ac_ext <<_LT_EOF
14574 #line $LINENO "configure"
14575 #include "confdefs.h"
14576
14577 #if HAVE_DLFCN_H
14578 #include <dlfcn.h>
14579 #endif
14580
14581 #include <stdio.h>
14582
14583 #ifdef RTLD_GLOBAL
14584 #  define LT_DLGLOBAL           RTLD_GLOBAL
14585 #else
14586 #  ifdef DL_GLOBAL
14587 #    define LT_DLGLOBAL         DL_GLOBAL
14588 #  else
14589 #    define LT_DLGLOBAL         0
14590 #  endif
14591 #endif
14592
14593 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14594    find out it does not work in some platform. */
14595 #ifndef LT_DLLAZY_OR_NOW
14596 #  ifdef RTLD_LAZY
14597 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14598 #  else
14599 #    ifdef DL_LAZY
14600 #      define LT_DLLAZY_OR_NOW          DL_LAZY
14601 #    else
14602 #      ifdef RTLD_NOW
14603 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
14604 #      else
14605 #        ifdef DL_NOW
14606 #          define LT_DLLAZY_OR_NOW      DL_NOW
14607 #        else
14608 #          define LT_DLLAZY_OR_NOW      0
14609 #        endif
14610 #      endif
14611 #    endif
14612 #  endif
14613 #endif
14614
14615 /* When -fvisbility=hidden is used, assume the code has been annotated
14616    correspondingly for the symbols needed.  */
14617 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14618 int fnord () __attribute__((visibility("default")));
14619 #endif
14620
14621 int fnord () { return 42; }
14622 int main ()
14623 {
14624   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14625   int status = $lt_dlunknown;
14626
14627   if (self)
14628     {
14629       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14630       else
14631         {
14632           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14633           else puts (dlerror ());
14634         }
14635       /* dlclose (self); */
14636     }
14637   else
14638     puts (dlerror ());
14639
14640   return status;
14641 }
14642 _LT_EOF
14643   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14644   (eval $ac_link) 2>&5
14645   ac_status=$?
14646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14647   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14648     (./conftest; exit; ) >&5 2>/dev/null
14649     lt_status=$?
14650     case x$lt_status in
14651       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14652       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14653       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14654     esac
14655   else :
14656     # compilation failed
14657     lt_cv_dlopen_self=no
14658   fi
14659 fi
14660 rm -fr conftest*
14661
14662
14663 fi
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14665 $as_echo "$lt_cv_dlopen_self" >&6; }
14666
14667     if test "x$lt_cv_dlopen_self" = xyes; then
14668       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14669       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14670 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14671 if ${lt_cv_dlopen_self_static+:} false; then :
14672   $as_echo_n "(cached) " >&6
14673 else
14674           if test "$cross_compiling" = yes; then :
14675   lt_cv_dlopen_self_static=cross
14676 else
14677   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14678   lt_status=$lt_dlunknown
14679   cat > conftest.$ac_ext <<_LT_EOF
14680 #line $LINENO "configure"
14681 #include "confdefs.h"
14682
14683 #if HAVE_DLFCN_H
14684 #include <dlfcn.h>
14685 #endif
14686
14687 #include <stdio.h>
14688
14689 #ifdef RTLD_GLOBAL
14690 #  define LT_DLGLOBAL           RTLD_GLOBAL
14691 #else
14692 #  ifdef DL_GLOBAL
14693 #    define LT_DLGLOBAL         DL_GLOBAL
14694 #  else
14695 #    define LT_DLGLOBAL         0
14696 #  endif
14697 #endif
14698
14699 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14700    find out it does not work in some platform. */
14701 #ifndef LT_DLLAZY_OR_NOW
14702 #  ifdef RTLD_LAZY
14703 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
14704 #  else
14705 #    ifdef DL_LAZY
14706 #      define LT_DLLAZY_OR_NOW          DL_LAZY
14707 #    else
14708 #      ifdef RTLD_NOW
14709 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
14710 #      else
14711 #        ifdef DL_NOW
14712 #          define LT_DLLAZY_OR_NOW      DL_NOW
14713 #        else
14714 #          define LT_DLLAZY_OR_NOW      0
14715 #        endif
14716 #      endif
14717 #    endif
14718 #  endif
14719 #endif
14720
14721 /* When -fvisbility=hidden is used, assume the code has been annotated
14722    correspondingly for the symbols needed.  */
14723 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14724 int fnord () __attribute__((visibility("default")));
14725 #endif
14726
14727 int fnord () { return 42; }
14728 int main ()
14729 {
14730   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14731   int status = $lt_dlunknown;
14732
14733   if (self)
14734     {
14735       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14736       else
14737         {
14738           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
14739           else puts (dlerror ());
14740         }
14741       /* dlclose (self); */
14742     }
14743   else
14744     puts (dlerror ());
14745
14746   return status;
14747 }
14748 _LT_EOF
14749   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14750   (eval $ac_link) 2>&5
14751   ac_status=$?
14752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14753   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14754     (./conftest; exit; ) >&5 2>/dev/null
14755     lt_status=$?
14756     case x$lt_status in
14757       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14758       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14759       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14760     esac
14761   else :
14762     # compilation failed
14763     lt_cv_dlopen_self_static=no
14764   fi
14765 fi
14766 rm -fr conftest*
14767
14768
14769 fi
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14771 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14772     fi
14773
14774     CPPFLAGS="$save_CPPFLAGS"
14775     LDFLAGS="$save_LDFLAGS"
14776     LIBS="$save_LIBS"
14777     ;;
14778   esac
14779
14780   case $lt_cv_dlopen_self in
14781   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14782   *) enable_dlopen_self=unknown ;;
14783   esac
14784
14785   case $lt_cv_dlopen_self_static in
14786   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14787   *) enable_dlopen_self_static=unknown ;;
14788   esac
14789 fi
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807 striplib=
14808 old_striplib=
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14810 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14811 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14812   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14813   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14815 $as_echo "yes" >&6; }
14816 else
14817 # FIXME - insert some real tests, host_os isn't really good enough
14818   case $host_os in
14819   darwin*)
14820     if test -n "$STRIP" ; then
14821       striplib="$STRIP -x"
14822       old_striplib="$STRIP -S"
14823       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14824 $as_echo "yes" >&6; }
14825     else
14826       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14827 $as_echo "no" >&6; }
14828     fi
14829     ;;
14830   *)
14831     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14832 $as_echo "no" >&6; }
14833     ;;
14834   esac
14835 fi
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848   # Report which library types will actually be built
14849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14850 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14852 $as_echo "$can_build_shared" >&6; }
14853
14854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14855 $as_echo_n "checking whether to build shared libraries... " >&6; }
14856   test "$can_build_shared" = "no" && enable_shared=no
14857
14858   # On AIX, shared libraries and static libraries use the same namespace, and
14859   # are all built from PIC.
14860   case $host_os in
14861   aix3*)
14862     test "$enable_shared" = yes && enable_static=no
14863     if test -n "$RANLIB"; then
14864       archive_cmds="$archive_cmds~\$RANLIB \$lib"
14865       postinstall_cmds='$RANLIB $lib'
14866     fi
14867     ;;
14868
14869   aix[4-9]*)
14870     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14871       test "$enable_shared" = yes && enable_static=no
14872     fi
14873     ;;
14874   esac
14875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14876 $as_echo "$enable_shared" >&6; }
14877
14878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14879 $as_echo_n "checking whether to build static libraries... " >&6; }
14880   # Make sure either enable_shared or enable_static is yes.
14881   test "$enable_shared" = yes || enable_static=yes
14882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14883 $as_echo "$enable_static" >&6; }
14884
14885
14886
14887
14888 fi
14889 ac_ext=c
14890 ac_cpp='$CPP $CPPFLAGS'
14891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14894
14895 CC="$lt_save_CC"
14896
14897       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14898     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14899     (test "X$CXX" != "Xg++"))) ; then
14900   ac_ext=cpp
14901 ac_cpp='$CXXCPP $CPPFLAGS'
14902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14906 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14907 if test -z "$CXXCPP"; then
14908   if ${ac_cv_prog_CXXCPP+:} false; then :
14909   $as_echo_n "(cached) " >&6
14910 else
14911       # Double quotes because CXXCPP needs to be expanded
14912     for CXXCPP in "$CXX -E" "/lib/cpp"
14913     do
14914       ac_preproc_ok=false
14915 for ac_cxx_preproc_warn_flag in '' yes
14916 do
14917   # Use a header file that comes with gcc, so configuring glibc
14918   # with a fresh cross-compiler works.
14919   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14920   # <limits.h> exists even on freestanding compilers.
14921   # On the NeXT, cc -E runs the code through the compiler's parser,
14922   # not just through cpp. "Syntax error" is here to catch this case.
14923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14924 /* end confdefs.h.  */
14925 #ifdef __STDC__
14926 # include <limits.h>
14927 #else
14928 # include <assert.h>
14929 #endif
14930                      Syntax error
14931 _ACEOF
14932 if ac_fn_cxx_try_cpp "$LINENO"; then :
14933
14934 else
14935   # Broken: fails on valid input.
14936 continue
14937 fi
14938 rm -f conftest.err conftest.i conftest.$ac_ext
14939
14940   # OK, works on sane cases.  Now check whether nonexistent headers
14941   # can be detected and how.
14942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h.  */
14944 #include <ac_nonexistent.h>
14945 _ACEOF
14946 if ac_fn_cxx_try_cpp "$LINENO"; then :
14947   # Broken: success on invalid input.
14948 continue
14949 else
14950   # Passes both tests.
14951 ac_preproc_ok=:
14952 break
14953 fi
14954 rm -f conftest.err conftest.i conftest.$ac_ext
14955
14956 done
14957 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14958 rm -f conftest.i conftest.err conftest.$ac_ext
14959 if $ac_preproc_ok; then :
14960   break
14961 fi
14962
14963     done
14964     ac_cv_prog_CXXCPP=$CXXCPP
14965
14966 fi
14967   CXXCPP=$ac_cv_prog_CXXCPP
14968 else
14969   ac_cv_prog_CXXCPP=$CXXCPP
14970 fi
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14972 $as_echo "$CXXCPP" >&6; }
14973 ac_preproc_ok=false
14974 for ac_cxx_preproc_warn_flag in '' yes
14975 do
14976   # Use a header file that comes with gcc, so configuring glibc
14977   # with a fresh cross-compiler works.
14978   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14979   # <limits.h> exists even on freestanding compilers.
14980   # On the NeXT, cc -E runs the code through the compiler's parser,
14981   # not just through cpp. "Syntax error" is here to catch this case.
14982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h.  */
14984 #ifdef __STDC__
14985 # include <limits.h>
14986 #else
14987 # include <assert.h>
14988 #endif
14989                      Syntax error
14990 _ACEOF
14991 if ac_fn_cxx_try_cpp "$LINENO"; then :
14992
14993 else
14994   # Broken: fails on valid input.
14995 continue
14996 fi
14997 rm -f conftest.err conftest.i conftest.$ac_ext
14998
14999   # OK, works on sane cases.  Now check whether nonexistent headers
15000   # can be detected and how.
15001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h.  */
15003 #include <ac_nonexistent.h>
15004 _ACEOF
15005 if ac_fn_cxx_try_cpp "$LINENO"; then :
15006   # Broken: success on invalid input.
15007 continue
15008 else
15009   # Passes both tests.
15010 ac_preproc_ok=:
15011 break
15012 fi
15013 rm -f conftest.err conftest.i conftest.$ac_ext
15014
15015 done
15016 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15017 rm -f conftest.i conftest.err conftest.$ac_ext
15018 if $ac_preproc_ok; then :
15019
15020 else
15021   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15023 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
15024 See \`config.log' for more details" "$LINENO" 5; }
15025 fi
15026
15027 ac_ext=c
15028 ac_cpp='$CPP $CPPFLAGS'
15029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15032
15033 else
15034   _lt_caught_CXX_error=yes
15035 fi
15036
15037 ac_ext=cpp
15038 ac_cpp='$CXXCPP $CPPFLAGS'
15039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15042
15043 archive_cmds_need_lc_CXX=no
15044 allow_undefined_flag_CXX=
15045 always_export_symbols_CXX=no
15046 archive_expsym_cmds_CXX=
15047 compiler_needs_object_CXX=no
15048 export_dynamic_flag_spec_CXX=
15049 hardcode_direct_CXX=no
15050 hardcode_direct_absolute_CXX=no
15051 hardcode_libdir_flag_spec_CXX=
15052 hardcode_libdir_separator_CXX=
15053 hardcode_minus_L_CXX=no
15054 hardcode_shlibpath_var_CXX=unsupported
15055 hardcode_automatic_CXX=no
15056 inherit_rpath_CXX=no
15057 module_cmds_CXX=
15058 module_expsym_cmds_CXX=
15059 link_all_deplibs_CXX=unknown
15060 old_archive_cmds_CXX=$old_archive_cmds
15061 reload_flag_CXX=$reload_flag
15062 reload_cmds_CXX=$reload_cmds
15063 no_undefined_flag_CXX=
15064 whole_archive_flag_spec_CXX=
15065 enable_shared_with_static_runtimes_CXX=no
15066
15067 # Source file extension for C++ test sources.
15068 ac_ext=cpp
15069
15070 # Object file extension for compiled C++ test sources.
15071 objext=o
15072 objext_CXX=$objext
15073
15074 # No sense in running all these tests if we already determined that
15075 # the CXX compiler isn't working.  Some variables (like enable_shared)
15076 # are currently assumed to apply to all compilers on this platform,
15077 # and will be corrupted by setting them based on a non-working compiler.
15078 if test "$_lt_caught_CXX_error" != yes; then
15079   # Code to be used in simple compile tests
15080   lt_simple_compile_test_code="int some_variable = 0;"
15081
15082   # Code to be used in simple link tests
15083   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15084
15085   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15086
15087
15088
15089
15090
15091
15092 # If no C compiler was specified, use CC.
15093 LTCC=${LTCC-"$CC"}
15094
15095 # If no C compiler flags were specified, use CFLAGS.
15096 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15097
15098 # Allow CC to be a program name with arguments.
15099 compiler=$CC
15100
15101
15102   # save warnings/boilerplate of simple test code
15103   ac_outfile=conftest.$ac_objext
15104 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15105 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15106 _lt_compiler_boilerplate=`cat conftest.err`
15107 $RM conftest*
15108
15109   ac_outfile=conftest.$ac_objext
15110 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15111 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15112 _lt_linker_boilerplate=`cat conftest.err`
15113 $RM -r conftest*
15114
15115
15116   # Allow CC to be a program name with arguments.
15117   lt_save_CC=$CC
15118   lt_save_CFLAGS=$CFLAGS
15119   lt_save_LD=$LD
15120   lt_save_GCC=$GCC
15121   GCC=$GXX
15122   lt_save_with_gnu_ld=$with_gnu_ld
15123   lt_save_path_LD=$lt_cv_path_LD
15124   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15125     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15126   else
15127     $as_unset lt_cv_prog_gnu_ld
15128   fi
15129   if test -n "${lt_cv_path_LDCXX+set}"; then
15130     lt_cv_path_LD=$lt_cv_path_LDCXX
15131   else
15132     $as_unset lt_cv_path_LD
15133   fi
15134   test -z "${LDCXX+set}" || LD=$LDCXX
15135   CC=${CXX-"c++"}
15136   CFLAGS=$CXXFLAGS
15137   compiler=$CC
15138   compiler_CXX=$CC
15139   for cc_temp in $compiler""; do
15140   case $cc_temp in
15141     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15142     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15143     \-*) ;;
15144     *) break;;
15145   esac
15146 done
15147 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15148
15149
15150   if test -n "$compiler"; then
15151     # We don't want -fno-exception when compiling C++ code, so set the
15152     # no_builtin_flag separately
15153     if test "$GXX" = yes; then
15154       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15155     else
15156       lt_prog_compiler_no_builtin_flag_CXX=
15157     fi
15158
15159     if test "$GXX" = yes; then
15160       # Set up default GNU C++ configuration
15161
15162
15163
15164 # Check whether --with-gnu-ld was given.
15165 if test "${with_gnu_ld+set}" = set; then :
15166   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15167 else
15168   with_gnu_ld=no
15169 fi
15170
15171 ac_prog=ld
15172 if test "$GCC" = yes; then
15173   # Check if gcc -print-prog-name=ld gives a path.
15174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15175 $as_echo_n "checking for ld used by $CC... " >&6; }
15176   case $host in
15177   *-*-mingw*)
15178     # gcc leaves a trailing carriage return which upsets mingw
15179     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15180   *)
15181     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15182   esac
15183   case $ac_prog in
15184     # Accept absolute paths.
15185     [\\/]* | ?:[\\/]*)
15186       re_direlt='/[^/][^/]*/\.\./'
15187       # Canonicalize the pathname of ld
15188       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15189       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15190         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15191       done
15192       test -z "$LD" && LD="$ac_prog"
15193       ;;
15194   "")
15195     # If it fails, then pretend we aren't using GCC.
15196     ac_prog=ld
15197     ;;
15198   *)
15199     # If it is relative, then search for the first ld in PATH.
15200     with_gnu_ld=unknown
15201     ;;
15202   esac
15203 elif test "$with_gnu_ld" = yes; then
15204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15205 $as_echo_n "checking for GNU ld... " >&6; }
15206 else
15207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15208 $as_echo_n "checking for non-GNU ld... " >&6; }
15209 fi
15210 if ${lt_cv_path_LD+:} false; then :
15211   $as_echo_n "(cached) " >&6
15212 else
15213   if test -z "$LD"; then
15214   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15215   for ac_dir in $PATH; do
15216     IFS="$lt_save_ifs"
15217     test -z "$ac_dir" && ac_dir=.
15218     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15219       lt_cv_path_LD="$ac_dir/$ac_prog"
15220       # Check to see if the program is GNU ld.  I'd rather use --version,
15221       # but apparently some variants of GNU ld only accept -v.
15222       # Break only if it was the GNU/non-GNU ld that we prefer.
15223       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15224       *GNU* | *'with BFD'*)
15225         test "$with_gnu_ld" != no && break
15226         ;;
15227       *)
15228         test "$with_gnu_ld" != yes && break
15229         ;;
15230       esac
15231     fi
15232   done
15233   IFS="$lt_save_ifs"
15234 else
15235   lt_cv_path_LD="$LD" # Let the user override the test with a path.
15236 fi
15237 fi
15238
15239 LD="$lt_cv_path_LD"
15240 if test -n "$LD"; then
15241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15242 $as_echo "$LD" >&6; }
15243 else
15244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15245 $as_echo "no" >&6; }
15246 fi
15247 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15249 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15250 if ${lt_cv_prog_gnu_ld+:} false; then :
15251   $as_echo_n "(cached) " >&6
15252 else
15253   # I'd rather use --version here, but apparently some GNU lds only accept -v.
15254 case `$LD -v 2>&1 </dev/null` in
15255 *GNU* | *'with BFD'*)
15256   lt_cv_prog_gnu_ld=yes
15257   ;;
15258 *)
15259   lt_cv_prog_gnu_ld=no
15260   ;;
15261 esac
15262 fi
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15264 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15265 with_gnu_ld=$lt_cv_prog_gnu_ld
15266
15267
15268
15269
15270
15271
15272
15273       # Check if GNU C++ uses GNU ld as the underlying linker, since the
15274       # archiving commands below assume that GNU ld is being used.
15275       if test "$with_gnu_ld" = yes; then
15276         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15277         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'
15278
15279         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15280         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15281
15282         # If archive_cmds runs LD, not CC, wlarc should be empty
15283         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15284         #     investigate it a little bit more. (MM)
15285         wlarc='${wl}'
15286
15287         # ancient GNU ld didn't support --whole-archive et. al.
15288         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15289           $GREP 'no-whole-archive' > /dev/null; then
15290           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15291         else
15292           whole_archive_flag_spec_CXX=
15293         fi
15294       else
15295         with_gnu_ld=no
15296         wlarc=
15297
15298         # A generic and very simple default shared library creation
15299         # command for GNU C++ for the case where it uses the native
15300         # linker, instead of GNU ld.  If possible, this setting should
15301         # overridden to take advantage of the native linker features on
15302         # the platform it is being used on.
15303         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15304       fi
15305
15306       # Commands to make compiler produce verbose output that lists
15307       # what "hidden" libraries, object files and flags are used when
15308       # linking a shared library.
15309       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15310
15311     else
15312       GXX=no
15313       with_gnu_ld=no
15314       wlarc=
15315     fi
15316
15317     # PORTME: fill in a description of your system's C++ link characteristics
15318     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15319 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15320     ld_shlibs_CXX=yes
15321     case $host_os in
15322       aix3*)
15323         # FIXME: insert proper C++ library support
15324         ld_shlibs_CXX=no
15325         ;;
15326       aix[4-9]*)
15327         if test "$host_cpu" = ia64; then
15328           # On IA64, the linker does run time linking by default, so we don't
15329           # have to do anything special.
15330           aix_use_runtimelinking=no
15331           exp_sym_flag='-Bexport'
15332           no_entry_flag=""
15333         else
15334           aix_use_runtimelinking=no
15335
15336           # Test if we are trying to use run time linking or normal
15337           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15338           # need to do runtime linking.
15339           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15340             for ld_flag in $LDFLAGS; do
15341               case $ld_flag in
15342               *-brtl*)
15343                 aix_use_runtimelinking=yes
15344                 break
15345                 ;;
15346               esac
15347             done
15348             ;;
15349           esac
15350
15351           exp_sym_flag='-bexport'
15352           no_entry_flag='-bnoentry'
15353         fi
15354
15355         # When large executables or shared objects are built, AIX ld can
15356         # have problems creating the table of contents.  If linking a library
15357         # or program results in "error TOC overflow" add -mminimal-toc to
15358         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15359         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15360
15361         archive_cmds_CXX=''
15362         hardcode_direct_CXX=yes
15363         hardcode_direct_absolute_CXX=yes
15364         hardcode_libdir_separator_CXX=':'
15365         link_all_deplibs_CXX=yes
15366         file_list_spec_CXX='${wl}-f,'
15367
15368         if test "$GXX" = yes; then
15369           case $host_os in aix4.[012]|aix4.[012].*)
15370           # We only want to do this on AIX 4.2 and lower, the check
15371           # below for broken collect2 doesn't work under 4.3+
15372           collect2name=`${CC} -print-prog-name=collect2`
15373           if test -f "$collect2name" &&
15374              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15375           then
15376             # We have reworked collect2
15377             :
15378           else
15379             # We have old collect2
15380             hardcode_direct_CXX=unsupported
15381             # It fails to find uninstalled libraries when the uninstalled
15382             # path is not listed in the libpath.  Setting hardcode_minus_L
15383             # to unsupported forces relinking
15384             hardcode_minus_L_CXX=yes
15385             hardcode_libdir_flag_spec_CXX='-L$libdir'
15386             hardcode_libdir_separator_CXX=
15387           fi
15388           esac
15389           shared_flag='-shared'
15390           if test "$aix_use_runtimelinking" = yes; then
15391             shared_flag="$shared_flag "'${wl}-G'
15392           fi
15393         else
15394           # not using gcc
15395           if test "$host_cpu" = ia64; then
15396           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15397           # chokes on -Wl,-G. The following line is correct:
15398           shared_flag='-G'
15399           else
15400             if test "$aix_use_runtimelinking" = yes; then
15401               shared_flag='${wl}-G'
15402             else
15403               shared_flag='${wl}-bM:SRE'
15404             fi
15405           fi
15406         fi
15407
15408         export_dynamic_flag_spec_CXX='${wl}-bexpall'
15409         # It seems that -bexpall does not export symbols beginning with
15410         # underscore (_), so it is better to generate a list of symbols to
15411         # export.
15412         always_export_symbols_CXX=yes
15413         if test "$aix_use_runtimelinking" = yes; then
15414           # Warning - without using the other runtime loading flags (-brtl),
15415           # -berok will link without error, but may produce a broken library.
15416           allow_undefined_flag_CXX='-berok'
15417           # Determine the default libpath from the value encoded in an empty
15418           # executable.
15419           if test "${lt_cv_aix_libpath+set}" = set; then
15420   aix_libpath=$lt_cv_aix_libpath
15421 else
15422   if ${lt_cv_aix_libpath__CXX+:} false; then :
15423   $as_echo_n "(cached) " >&6
15424 else
15425   if test x$ac_no_link = xyes; then
15426   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
15427 fi
15428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h.  */
15430
15431 int
15432 main ()
15433 {
15434
15435   ;
15436   return 0;
15437 }
15438 _ACEOF
15439 if ac_fn_cxx_try_link "$LINENO"; then :
15440
15441   lt_aix_libpath_sed='
15442       /Import File Strings/,/^$/ {
15443           /^0/ {
15444               s/^0  *\([^ ]*\) *$/\1/
15445               p
15446           }
15447       }'
15448   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15449   # Check for a 64-bit object if we didn't find anything.
15450   if test -z "$lt_cv_aix_libpath__CXX"; then
15451     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15452   fi
15453 fi
15454 rm -f core conftest.err conftest.$ac_objext \
15455     conftest$ac_exeext conftest.$ac_ext
15456   if test -z "$lt_cv_aix_libpath__CXX"; then
15457     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15458   fi
15459
15460 fi
15461
15462   aix_libpath=$lt_cv_aix_libpath__CXX
15463 fi
15464
15465           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15466
15467           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"
15468         else
15469           if test "$host_cpu" = ia64; then
15470             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15471             allow_undefined_flag_CXX="-z nodefs"
15472             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"
15473           else
15474             # Determine the default libpath from the value encoded in an
15475             # empty executable.
15476             if test "${lt_cv_aix_libpath+set}" = set; then
15477   aix_libpath=$lt_cv_aix_libpath
15478 else
15479   if ${lt_cv_aix_libpath__CXX+:} false; then :
15480   $as_echo_n "(cached) " >&6
15481 else
15482   if test x$ac_no_link = xyes; then
15483   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
15484 fi
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h.  */
15487
15488 int
15489 main ()
15490 {
15491
15492   ;
15493   return 0;
15494 }
15495 _ACEOF
15496 if ac_fn_cxx_try_link "$LINENO"; then :
15497
15498   lt_aix_libpath_sed='
15499       /Import File Strings/,/^$/ {
15500           /^0/ {
15501               s/^0  *\([^ ]*\) *$/\1/
15502               p
15503           }
15504       }'
15505   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15506   # Check for a 64-bit object if we didn't find anything.
15507   if test -z "$lt_cv_aix_libpath__CXX"; then
15508     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15509   fi
15510 fi
15511 rm -f core conftest.err conftest.$ac_objext \
15512     conftest$ac_exeext conftest.$ac_ext
15513   if test -z "$lt_cv_aix_libpath__CXX"; then
15514     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15515   fi
15516
15517 fi
15518
15519   aix_libpath=$lt_cv_aix_libpath__CXX
15520 fi
15521
15522             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15523             # Warning - without using the other run time loading flags,
15524             # -berok will link without error, but may produce a broken library.
15525             no_undefined_flag_CXX=' ${wl}-bernotok'
15526             allow_undefined_flag_CXX=' ${wl}-berok'
15527             if test "$with_gnu_ld" = yes; then
15528               # We only use this code for GNU lds that support --whole-archive.
15529               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15530             else
15531               # Exported symbols can be pulled into shared objects from archives
15532               whole_archive_flag_spec_CXX='$convenience'
15533             fi
15534             archive_cmds_need_lc_CXX=yes
15535             # This is similar to how AIX traditionally builds its shared
15536             # libraries.
15537             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'
15538           fi
15539         fi
15540         ;;
15541
15542       beos*)
15543         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15544           allow_undefined_flag_CXX=unsupported
15545           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15546           # support --undefined.  This deserves some investigation.  FIXME
15547           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15548         else
15549           ld_shlibs_CXX=no
15550         fi
15551         ;;
15552
15553       chorus*)
15554         case $cc_basename in
15555           *)
15556           # FIXME: insert proper C++ library support
15557           ld_shlibs_CXX=no
15558           ;;
15559         esac
15560         ;;
15561
15562       cygwin* | mingw* | pw32* | cegcc*)
15563         case $GXX,$cc_basename in
15564         ,cl* | no,cl*)
15565           # Native MSVC
15566           # hardcode_libdir_flag_spec is actually meaningless, as there is
15567           # no search path for DLLs.
15568           hardcode_libdir_flag_spec_CXX=' '
15569           allow_undefined_flag_CXX=unsupported
15570           always_export_symbols_CXX=yes
15571           file_list_spec_CXX='@'
15572           # Tell ltmain to make .lib files, not .a files.
15573           libext=lib
15574           # Tell ltmain to make .dll files, not .so files.
15575           shrext_cmds=".dll"
15576           # FIXME: Setting linknames here is a bad hack.
15577           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15578           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15579               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15580             else
15581               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15582             fi~
15583             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15584             linknames='
15585           # The linker will not automatically build a static lib if we build a DLL.
15586           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15587           enable_shared_with_static_runtimes_CXX=yes
15588           # Don't use ranlib
15589           old_postinstall_cmds_CXX='chmod 644 $oldlib'
15590           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15591             lt_tool_outputfile="@TOOL_OUTPUT@"~
15592             case $lt_outputfile in
15593               *.exe|*.EXE) ;;
15594               *)
15595                 lt_outputfile="$lt_outputfile.exe"
15596                 lt_tool_outputfile="$lt_tool_outputfile.exe"
15597                 ;;
15598             esac~
15599             func_to_tool_file "$lt_outputfile"~
15600             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15601               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15602               $RM "$lt_outputfile.manifest";
15603             fi'
15604           ;;
15605         *)
15606           # g++
15607           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15608           # as there is no search path for DLLs.
15609           hardcode_libdir_flag_spec_CXX='-L$libdir'
15610           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15611           allow_undefined_flag_CXX=unsupported
15612           always_export_symbols_CXX=no
15613           enable_shared_with_static_runtimes_CXX=yes
15614
15615           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15616             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'
15617             # If the export-symbols file already is a .def file (1st line
15618             # is EXPORTS), use it as is; otherwise, prepend...
15619             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15620               cp $export_symbols $output_objdir/$soname.def;
15621             else
15622               echo EXPORTS > $output_objdir/$soname.def;
15623               cat $export_symbols >> $output_objdir/$soname.def;
15624             fi~
15625             $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'
15626           else
15627             ld_shlibs_CXX=no
15628           fi
15629           ;;
15630         esac
15631         ;;
15632       darwin* | rhapsody*)
15633
15634
15635   archive_cmds_need_lc_CXX=no
15636   hardcode_direct_CXX=no
15637   hardcode_automatic_CXX=yes
15638   hardcode_shlibpath_var_CXX=unsupported
15639   if test "$lt_cv_ld_force_load" = "yes"; then
15640     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\"`'
15641
15642   else
15643     whole_archive_flag_spec_CXX=''
15644   fi
15645   link_all_deplibs_CXX=yes
15646   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15647   case $cc_basename in
15648      ifort*) _lt_dar_can_shared=yes ;;
15649      *) _lt_dar_can_shared=$GCC ;;
15650   esac
15651   if test "$_lt_dar_can_shared" = "yes"; then
15652     output_verbose_link_cmd=func_echo_all
15653     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}"
15654     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15655     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}"
15656     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}"
15657        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15658       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}"
15659       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}"
15660     fi
15661
15662   else
15663   ld_shlibs_CXX=no
15664   fi
15665
15666         ;;
15667
15668       dgux*)
15669         case $cc_basename in
15670           ec++*)
15671             # FIXME: insert proper C++ library support
15672             ld_shlibs_CXX=no
15673             ;;
15674           ghcx*)
15675             # Green Hills C++ Compiler
15676             # FIXME: insert proper C++ library support
15677             ld_shlibs_CXX=no
15678             ;;
15679           *)
15680             # FIXME: insert proper C++ library support
15681             ld_shlibs_CXX=no
15682             ;;
15683         esac
15684         ;;
15685
15686       freebsd2.*)
15687         # C++ shared libraries reported to be fairly broken before
15688         # switch to ELF
15689         ld_shlibs_CXX=no
15690         ;;
15691
15692       freebsd-elf*)
15693         archive_cmds_need_lc_CXX=no
15694         ;;
15695
15696       freebsd* | dragonfly*)
15697         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15698         # conventions
15699         ld_shlibs_CXX=yes
15700         ;;
15701
15702       gnu*)
15703         ;;
15704
15705       haiku*)
15706         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15707         link_all_deplibs_CXX=yes
15708         ;;
15709
15710       hpux9*)
15711         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15712         hardcode_libdir_separator_CXX=:
15713         export_dynamic_flag_spec_CXX='${wl}-E'
15714         hardcode_direct_CXX=yes
15715         hardcode_minus_L_CXX=yes # Not in the search PATH,
15716                                              # but as the default
15717                                              # location of the library.
15718
15719         case $cc_basename in
15720           CC*)
15721             # FIXME: insert proper C++ library support
15722             ld_shlibs_CXX=no
15723             ;;
15724           aCC*)
15725             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'
15726             # Commands to make compiler produce verbose output that lists
15727             # what "hidden" libraries, object files and flags are used when
15728             # linking a shared library.
15729             #
15730             # There doesn't appear to be a way to prevent this compiler from
15731             # explicitly linking system object files so we need to strip them
15732             # from the output so that they don't get included in the library
15733             # dependencies.
15734             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"'
15735             ;;
15736           *)
15737             if test "$GXX" = yes; then
15738               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'
15739             else
15740               # FIXME: insert proper C++ library support
15741               ld_shlibs_CXX=no
15742             fi
15743             ;;
15744         esac
15745         ;;
15746
15747       hpux10*|hpux11*)
15748         if test $with_gnu_ld = no; then
15749           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15750           hardcode_libdir_separator_CXX=:
15751
15752           case $host_cpu in
15753             hppa*64*|ia64*)
15754               ;;
15755             *)
15756               export_dynamic_flag_spec_CXX='${wl}-E'
15757               ;;
15758           esac
15759         fi
15760         case $host_cpu in
15761           hppa*64*|ia64*)
15762             hardcode_direct_CXX=no
15763             hardcode_shlibpath_var_CXX=no
15764             ;;
15765           *)
15766             hardcode_direct_CXX=yes
15767             hardcode_direct_absolute_CXX=yes
15768             hardcode_minus_L_CXX=yes # Not in the search PATH,
15769                                                  # but as the default
15770                                                  # location of the library.
15771             ;;
15772         esac
15773
15774         case $cc_basename in
15775           CC*)
15776             # FIXME: insert proper C++ library support
15777             ld_shlibs_CXX=no
15778             ;;
15779           aCC*)
15780             case $host_cpu in
15781               hppa*64*)
15782                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15783                 ;;
15784               ia64*)
15785                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15786                 ;;
15787               *)
15788                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15789                 ;;
15790             esac
15791             # Commands to make compiler produce verbose output that lists
15792             # what "hidden" libraries, object files and flags are used when
15793             # linking a shared library.
15794             #
15795             # There doesn't appear to be a way to prevent this compiler from
15796             # explicitly linking system object files so we need to strip them
15797             # from the output so that they don't get included in the library
15798             # dependencies.
15799             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"'
15800             ;;
15801           *)
15802             if test "$GXX" = yes; then
15803               if test $with_gnu_ld = no; then
15804                 case $host_cpu in
15805                   hppa*64*)
15806                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15807                     ;;
15808                   ia64*)
15809                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15810                     ;;
15811                   *)
15812                     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'
15813                     ;;
15814                 esac
15815               fi
15816             else
15817               # FIXME: insert proper C++ library support
15818               ld_shlibs_CXX=no
15819             fi
15820             ;;
15821         esac
15822         ;;
15823
15824       interix[3-9]*)
15825         hardcode_direct_CXX=no
15826         hardcode_shlibpath_var_CXX=no
15827         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15828         export_dynamic_flag_spec_CXX='${wl}-E'
15829         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15830         # Instead, shared libraries are loaded at an image base (0x10000000 by
15831         # default) and relocated if they conflict, which is a slow very memory
15832         # consuming and fragmenting process.  To avoid this, we pick a random,
15833         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15834         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15835         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'
15836         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'
15837         ;;
15838       irix5* | irix6*)
15839         case $cc_basename in
15840           CC*)
15841             # SGI C++
15842             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'
15843
15844             # Archives containing C++ object files must be created using
15845             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15846             # necessary to make sure instantiated templates are included
15847             # in the archive.
15848             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15849             ;;
15850           *)
15851             if test "$GXX" = yes; then
15852               if test "$with_gnu_ld" = no; then
15853                 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'
15854               else
15855                 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'
15856               fi
15857             fi
15858             link_all_deplibs_CXX=yes
15859             ;;
15860         esac
15861         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15862         hardcode_libdir_separator_CXX=:
15863         inherit_rpath_CXX=yes
15864         ;;
15865
15866       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15867         case $cc_basename in
15868           KCC*)
15869             # Kuck and Associates, Inc. (KAI) C++ Compiler
15870
15871             # KCC will only create a shared library if the output file
15872             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15873             # to its proper name (with version) after linking.
15874             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'
15875             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'
15876             # Commands to make compiler produce verbose output that lists
15877             # what "hidden" libraries, object files and flags are used when
15878             # linking a shared library.
15879             #
15880             # There doesn't appear to be a way to prevent this compiler from
15881             # explicitly linking system object files so we need to strip them
15882             # from the output so that they don't get included in the library
15883             # dependencies.
15884             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"'
15885
15886             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15887             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15888
15889             # Archives containing C++ object files must be created using
15890             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15891             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15892             ;;
15893           icpc* | ecpc* )
15894             # Intel C++
15895             with_gnu_ld=yes
15896             # version 8.0 and above of icpc choke on multiply defined symbols
15897             # if we add $predep_objects and $postdep_objects, however 7.1 and
15898             # earlier do not add the objects themselves.
15899             case `$CC -V 2>&1` in
15900               *"Version 7."*)
15901                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15902                 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'
15903                 ;;
15904               *)  # Version 8.0 or newer
15905                 tmp_idyn=
15906                 case $host_cpu in
15907                   ia64*) tmp_idyn=' -i_dynamic';;
15908                 esac
15909                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15910                 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'
15911                 ;;
15912             esac
15913             archive_cmds_need_lc_CXX=no
15914             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15915             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15916             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15917             ;;
15918           pgCC* | pgcpp*)
15919             # Portland Group C++ compiler
15920             case `$CC -V` in
15921             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15922               prelink_cmds_CXX='tpldir=Template.dir~
15923                 rm -rf $tpldir~
15924                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15925                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15926               old_archive_cmds_CXX='tpldir=Template.dir~
15927                 rm -rf $tpldir~
15928                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15929                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15930                 $RANLIB $oldlib'
15931               archive_cmds_CXX='tpldir=Template.dir~
15932                 rm -rf $tpldir~
15933                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15934                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15935               archive_expsym_cmds_CXX='tpldir=Template.dir~
15936                 rm -rf $tpldir~
15937                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15938                 $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'
15939               ;;
15940             *) # Version 6 and above use weak symbols
15941               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15942               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'
15943               ;;
15944             esac
15945
15946             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15947             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15948             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'
15949             ;;
15950           cxx*)
15951             # Compaq C++
15952             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15953             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'
15954
15955             runpath_var=LD_RUN_PATH
15956             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15957             hardcode_libdir_separator_CXX=:
15958
15959             # Commands to make compiler produce verbose output that lists
15960             # what "hidden" libraries, object files and flags are used when
15961             # linking a shared library.
15962             #
15963             # There doesn't appear to be a way to prevent this compiler from
15964             # explicitly linking system object files so we need to strip them
15965             # from the output so that they don't get included in the library
15966             # dependencies.
15967             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'
15968             ;;
15969           xl* | mpixl* | bgxl*)
15970             # IBM XL 8.0 on PPC, with GNU ld
15971             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15972             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15973             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15974             if test "x$supports_anon_versioning" = xyes; then
15975               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15976                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15977                 echo "local: *; };" >> $output_objdir/$libname.ver~
15978                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15979             fi
15980             ;;
15981           *)
15982             case `$CC -V 2>&1 | sed 5q` in
15983             *Sun\ C*)
15984               # Sun C++ 5.9
15985               no_undefined_flag_CXX=' -zdefs'
15986               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15987               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'
15988               hardcode_libdir_flag_spec_CXX='-R$libdir'
15989               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'
15990               compiler_needs_object_CXX=yes
15991
15992               # Not sure whether something based on
15993               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15994               # would be better.
15995               output_verbose_link_cmd='func_echo_all'
15996
15997               # Archives containing C++ object files must be created using
15998               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15999               # necessary to make sure instantiated templates are included
16000               # in the archive.
16001               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16002               ;;
16003             esac
16004             ;;
16005         esac
16006         ;;
16007
16008       lynxos*)
16009         # FIXME: insert proper C++ library support
16010         ld_shlibs_CXX=no
16011         ;;
16012
16013       m88k*)
16014         # FIXME: insert proper C++ library support
16015         ld_shlibs_CXX=no
16016         ;;
16017
16018       mvs*)
16019         case $cc_basename in
16020           cxx*)
16021             # FIXME: insert proper C++ library support
16022             ld_shlibs_CXX=no
16023             ;;
16024           *)
16025             # FIXME: insert proper C++ library support
16026             ld_shlibs_CXX=no
16027             ;;
16028         esac
16029         ;;
16030
16031       netbsd*)
16032         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16033           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16034           wlarc=
16035           hardcode_libdir_flag_spec_CXX='-R$libdir'
16036           hardcode_direct_CXX=yes
16037           hardcode_shlibpath_var_CXX=no
16038         fi
16039         # Workaround some broken pre-1.5 toolchains
16040         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16041         ;;
16042
16043       *nto* | *qnx*)
16044         ld_shlibs_CXX=yes
16045         ;;
16046
16047       openbsd2*)
16048         # C++ shared libraries are fairly broken
16049         ld_shlibs_CXX=no
16050         ;;
16051
16052       openbsd*)
16053         if test -f /usr/libexec/ld.so; then
16054           hardcode_direct_CXX=yes
16055           hardcode_shlibpath_var_CXX=no
16056           hardcode_direct_absolute_CXX=yes
16057           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16058           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16059           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16060             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16061             export_dynamic_flag_spec_CXX='${wl}-E'
16062             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16063           fi
16064           output_verbose_link_cmd=func_echo_all
16065         else
16066           ld_shlibs_CXX=no
16067         fi
16068         ;;
16069
16070       osf3* | osf4* | osf5*)
16071         case $cc_basename in
16072           KCC*)
16073             # Kuck and Associates, Inc. (KAI) C++ Compiler
16074
16075             # KCC will only create a shared library if the output file
16076             # ends with ".so" (or ".sl" for HP-UX), so rename the library
16077             # to its proper name (with version) after linking.
16078             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'
16079
16080             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16081             hardcode_libdir_separator_CXX=:
16082
16083             # Archives containing C++ object files must be created using
16084             # the KAI C++ compiler.
16085             case $host in
16086               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16087               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16088             esac
16089             ;;
16090           RCC*)
16091             # Rational C++ 2.4.1
16092             # FIXME: insert proper C++ library support
16093             ld_shlibs_CXX=no
16094             ;;
16095           cxx*)
16096             case $host in
16097               osf3*)
16098                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16099                 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'
16100                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16101                 ;;
16102               *)
16103                 allow_undefined_flag_CXX=' -expect_unresolved \*'
16104                 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'
16105                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16106                   echo "-hidden">> $lib.exp~
16107                   $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~
16108                   $RM $lib.exp'
16109                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16110                 ;;
16111             esac
16112
16113             hardcode_libdir_separator_CXX=:
16114
16115             # Commands to make compiler produce verbose output that lists
16116             # what "hidden" libraries, object files and flags are used when
16117             # linking a shared library.
16118             #
16119             # There doesn't appear to be a way to prevent this compiler from
16120             # explicitly linking system object files so we need to strip them
16121             # from the output so that they don't get included in the library
16122             # dependencies.
16123             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"'
16124             ;;
16125           *)
16126             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16127               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16128               case $host in
16129                 osf3*)
16130                   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'
16131                   ;;
16132                 *)
16133                   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'
16134                   ;;
16135               esac
16136
16137               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16138               hardcode_libdir_separator_CXX=:
16139
16140               # Commands to make compiler produce verbose output that lists
16141               # what "hidden" libraries, object files and flags are used when
16142               # linking a shared library.
16143               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16144
16145             else
16146               # FIXME: insert proper C++ library support
16147               ld_shlibs_CXX=no
16148             fi
16149             ;;
16150         esac
16151         ;;
16152
16153       psos*)
16154         # FIXME: insert proper C++ library support
16155         ld_shlibs_CXX=no
16156         ;;
16157
16158       sunos4*)
16159         case $cc_basename in
16160           CC*)
16161             # Sun C++ 4.x
16162             # FIXME: insert proper C++ library support
16163             ld_shlibs_CXX=no
16164             ;;
16165           lcc*)
16166             # Lucid
16167             # FIXME: insert proper C++ library support
16168             ld_shlibs_CXX=no
16169             ;;
16170           *)
16171             # FIXME: insert proper C++ library support
16172             ld_shlibs_CXX=no
16173             ;;
16174         esac
16175         ;;
16176
16177       solaris*)
16178         case $cc_basename in
16179           CC* | sunCC*)
16180             # Sun C++ 4.2, 5.x and Centerline C++
16181             archive_cmds_need_lc_CXX=yes
16182             no_undefined_flag_CXX=' -zdefs'
16183             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16184             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16185               $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'
16186
16187             hardcode_libdir_flag_spec_CXX='-R$libdir'
16188             hardcode_shlibpath_var_CXX=no
16189             case $host_os in
16190               solaris2.[0-5] | solaris2.[0-5].*) ;;
16191               *)
16192                 # The compiler driver will combine and reorder linker options,
16193                 # but understands `-z linker_flag'.
16194                 # Supported since Solaris 2.6 (maybe 2.5.1?)
16195                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16196                 ;;
16197             esac
16198             link_all_deplibs_CXX=yes
16199
16200             output_verbose_link_cmd='func_echo_all'
16201
16202             # Archives containing C++ object files must be created using
16203             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
16204             # necessary to make sure instantiated templates are included
16205             # in the archive.
16206             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16207             ;;
16208           gcx*)
16209             # Green Hills C++ Compiler
16210             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16211
16212             # The C++ compiler must be used to create the archive.
16213             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16214             ;;
16215           *)
16216             # GNU C++ compiler with Solaris linker
16217             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16218               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16219               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16220                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16221                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16222                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16223
16224                 # Commands to make compiler produce verbose output that lists
16225                 # what "hidden" libraries, object files and flags are used when
16226                 # linking a shared library.
16227                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16228               else
16229                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16230                 # platform.
16231                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16232                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16233                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16234
16235                 # Commands to make compiler produce verbose output that lists
16236                 # what "hidden" libraries, object files and flags are used when
16237                 # linking a shared library.
16238                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16239               fi
16240
16241               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16242               case $host_os in
16243                 solaris2.[0-5] | solaris2.[0-5].*) ;;
16244                 *)
16245                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16246                   ;;
16247               esac
16248             fi
16249             ;;
16250         esac
16251         ;;
16252
16253     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16254       no_undefined_flag_CXX='${wl}-z,text'
16255       archive_cmds_need_lc_CXX=no
16256       hardcode_shlibpath_var_CXX=no
16257       runpath_var='LD_RUN_PATH'
16258
16259       case $cc_basename in
16260         CC*)
16261           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16262           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16263           ;;
16264         *)
16265           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16266           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16267           ;;
16268       esac
16269       ;;
16270
16271       sysv5* | sco3.2v5* | sco5v6*)
16272         # Note: We can NOT use -z defs as we might desire, because we do not
16273         # link with -lc, and that would cause any symbols used from libc to
16274         # always be unresolved, which means just about no library would
16275         # ever link correctly.  If we're not using GNU ld we use -z text
16276         # though, which does catch some bad symbols but isn't as heavy-handed
16277         # as -z defs.
16278         no_undefined_flag_CXX='${wl}-z,text'
16279         allow_undefined_flag_CXX='${wl}-z,nodefs'
16280         archive_cmds_need_lc_CXX=no
16281         hardcode_shlibpath_var_CXX=no
16282         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
16283         hardcode_libdir_separator_CXX=':'
16284         link_all_deplibs_CXX=yes
16285         export_dynamic_flag_spec_CXX='${wl}-Bexport'
16286         runpath_var='LD_RUN_PATH'
16287
16288         case $cc_basename in
16289           CC*)
16290             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16291             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16292             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16293               '"$old_archive_cmds_CXX"
16294             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16295               '"$reload_cmds_CXX"
16296             ;;
16297           *)
16298             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16299             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16300             ;;
16301         esac
16302       ;;
16303
16304       tandem*)
16305         case $cc_basename in
16306           NCC*)
16307             # NonStop-UX NCC 3.20
16308             # FIXME: insert proper C++ library support
16309             ld_shlibs_CXX=no
16310             ;;
16311           *)
16312             # FIXME: insert proper C++ library support
16313             ld_shlibs_CXX=no
16314             ;;
16315         esac
16316         ;;
16317
16318       vxworks*)
16319         # FIXME: insert proper C++ library support
16320         ld_shlibs_CXX=no
16321         ;;
16322
16323       *)
16324         # FIXME: insert proper C++ library support
16325         ld_shlibs_CXX=no
16326         ;;
16327     esac
16328
16329     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16330 $as_echo "$ld_shlibs_CXX" >&6; }
16331     test "$ld_shlibs_CXX" = no && can_build_shared=no
16332
16333     GCC_CXX="$GXX"
16334     LD_CXX="$LD"
16335
16336     ## CAVEAT EMPTOR:
16337     ## There is no encapsulation within the following macros, do not change
16338     ## the running order or otherwise move them around unless you know exactly
16339     ## what you are doing...
16340     # Dependencies to place before and after the object being linked:
16341 predep_objects_CXX=
16342 postdep_objects_CXX=
16343 predeps_CXX=
16344 postdeps_CXX=
16345 compiler_lib_search_path_CXX=
16346
16347 cat > conftest.$ac_ext <<_LT_EOF
16348 class Foo
16349 {
16350 public:
16351   Foo (void) { a = 0; }
16352 private:
16353   int a;
16354 };
16355 _LT_EOF
16356
16357
16358 _lt_libdeps_save_CFLAGS=$CFLAGS
16359 case "$CC $CFLAGS " in #(
16360 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16361 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16362 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16363 esac
16364
16365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16366   (eval $ac_compile) 2>&5
16367   ac_status=$?
16368   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16369   test $ac_status = 0; }; then
16370   # Parse the compiler output and extract the necessary
16371   # objects, libraries and library flags.
16372
16373   # Sentinel used to keep track of whether or not we are before
16374   # the conftest object file.
16375   pre_test_object_deps_done=no
16376
16377   for p in `eval "$output_verbose_link_cmd"`; do
16378     case ${prev}${p} in
16379
16380     -L* | -R* | -l*)
16381        # Some compilers place space between "-{L,R}" and the path.
16382        # Remove the space.
16383        if test $p = "-L" ||
16384           test $p = "-R"; then
16385          prev=$p
16386          continue
16387        fi
16388
16389        # Expand the sysroot to ease extracting the directories later.
16390        if test -z "$prev"; then
16391          case $p in
16392          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16393          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16394          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16395          esac
16396        fi
16397        case $p in
16398        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16399        esac
16400        if test "$pre_test_object_deps_done" = no; then
16401          case ${prev} in
16402          -L | -R)
16403            # Internal compiler library paths should come after those
16404            # provided the user.  The postdeps already come after the
16405            # user supplied libs so there is no need to process them.
16406            if test -z "$compiler_lib_search_path_CXX"; then
16407              compiler_lib_search_path_CXX="${prev}${p}"
16408            else
16409              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16410            fi
16411            ;;
16412          # The "-l" case would never come before the object being
16413          # linked, so don't bother handling this case.
16414          esac
16415        else
16416          if test -z "$postdeps_CXX"; then
16417            postdeps_CXX="${prev}${p}"
16418          else
16419            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16420          fi
16421        fi
16422        prev=
16423        ;;
16424
16425     *.lto.$objext) ;; # Ignore GCC LTO objects
16426     *.$objext)
16427        # This assumes that the test object file only shows up
16428        # once in the compiler output.
16429        if test "$p" = "conftest.$objext"; then
16430          pre_test_object_deps_done=yes
16431          continue
16432        fi
16433
16434        if test "$pre_test_object_deps_done" = no; then
16435          if test -z "$predep_objects_CXX"; then
16436            predep_objects_CXX="$p"
16437          else
16438            predep_objects_CXX="$predep_objects_CXX $p"
16439          fi
16440        else
16441          if test -z "$postdep_objects_CXX"; then
16442            postdep_objects_CXX="$p"
16443          else
16444            postdep_objects_CXX="$postdep_objects_CXX $p"
16445          fi
16446        fi
16447        ;;
16448
16449     *) ;; # Ignore the rest.
16450
16451     esac
16452   done
16453
16454   # Clean up.
16455   rm -f a.out a.exe
16456 else
16457   echo "libtool.m4: error: problem compiling CXX test program"
16458 fi
16459
16460 $RM -f confest.$objext
16461 CFLAGS=$_lt_libdeps_save_CFLAGS
16462
16463 # PORTME: override above test on systems where it is broken
16464 case $host_os in
16465 interix[3-9]*)
16466   # Interix 3.5 installs completely hosed .la files for C++, so rather than
16467   # hack all around it, let's just trust "g++" to DTRT.
16468   predep_objects_CXX=
16469   postdep_objects_CXX=
16470   postdeps_CXX=
16471   ;;
16472
16473 linux*)
16474   case `$CC -V 2>&1 | sed 5q` in
16475   *Sun\ C*)
16476     # Sun C++ 5.9
16477
16478     # The more standards-conforming stlport4 library is
16479     # incompatible with the Cstd library. Avoid specifying
16480     # it if it's in CXXFLAGS. Ignore libCrun as
16481     # -library=stlport4 depends on it.
16482     case " $CXX $CXXFLAGS " in
16483     *" -library=stlport4 "*)
16484       solaris_use_stlport4=yes
16485       ;;
16486     esac
16487
16488     if test "$solaris_use_stlport4" != yes; then
16489       postdeps_CXX='-library=Cstd -library=Crun'
16490     fi
16491     ;;
16492   esac
16493   ;;
16494
16495 solaris*)
16496   case $cc_basename in
16497   CC* | sunCC*)
16498     # The more standards-conforming stlport4 library is
16499     # incompatible with the Cstd library. Avoid specifying
16500     # it if it's in CXXFLAGS. Ignore libCrun as
16501     # -library=stlport4 depends on it.
16502     case " $CXX $CXXFLAGS " in
16503     *" -library=stlport4 "*)
16504       solaris_use_stlport4=yes
16505       ;;
16506     esac
16507
16508     # Adding this requires a known-good setup of shared libraries for
16509     # Sun compiler versions before 5.6, else PIC objects from an old
16510     # archive will be linked into the output, leading to subtle bugs.
16511     if test "$solaris_use_stlport4" != yes; then
16512       postdeps_CXX='-library=Cstd -library=Crun'
16513     fi
16514     ;;
16515   esac
16516   ;;
16517 esac
16518
16519
16520 case " $postdeps_CXX " in
16521 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16522 esac
16523  compiler_lib_search_dirs_CXX=
16524 if test -n "${compiler_lib_search_path_CXX}"; then
16525  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16526 fi
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558     lt_prog_compiler_wl_CXX=
16559 lt_prog_compiler_pic_CXX=
16560 lt_prog_compiler_static_CXX=
16561
16562
16563   # C++ specific cases for pic, static, wl, etc.
16564   if test "$GXX" = yes; then
16565     lt_prog_compiler_wl_CXX='-Wl,'
16566     lt_prog_compiler_static_CXX='-static'
16567
16568     case $host_os in
16569     aix*)
16570       # All AIX code is PIC.
16571       if test "$host_cpu" = ia64; then
16572         # AIX 5 now supports IA64 processor
16573         lt_prog_compiler_static_CXX='-Bstatic'
16574       fi
16575       ;;
16576
16577     amigaos*)
16578       case $host_cpu in
16579       powerpc)
16580             # see comment about AmigaOS4 .so support
16581             lt_prog_compiler_pic_CXX='-fPIC'
16582         ;;
16583       m68k)
16584             # FIXME: we need at least 68020 code to build shared libraries, but
16585             # adding the `-m68020' flag to GCC prevents building anything better,
16586             # like `-m68040'.
16587             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16588         ;;
16589       esac
16590       ;;
16591
16592     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16593       # PIC is the default for these OSes.
16594       ;;
16595     mingw* | cygwin* | os2* | pw32* | cegcc*)
16596       # This hack is so that the source file can tell whether it is being
16597       # built for inclusion in a dll (and should export symbols for example).
16598       # Although the cygwin gcc ignores -fPIC, still need this for old-style
16599       # (--disable-auto-import) libraries
16600       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16601       ;;
16602     darwin* | rhapsody*)
16603       # PIC is the default on this platform
16604       # Common symbols not allowed in MH_DYLIB files
16605       lt_prog_compiler_pic_CXX='-fno-common'
16606       ;;
16607     *djgpp*)
16608       # DJGPP does not support shared libraries at all
16609       lt_prog_compiler_pic_CXX=
16610       ;;
16611     haiku*)
16612       # PIC is the default for Haiku.
16613       # The "-static" flag exists, but is broken.
16614       lt_prog_compiler_static_CXX=
16615       ;;
16616     interix[3-9]*)
16617       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16618       # Instead, we relocate shared libraries at runtime.
16619       ;;
16620     sysv4*MP*)
16621       if test -d /usr/nec; then
16622         lt_prog_compiler_pic_CXX=-Kconform_pic
16623       fi
16624       ;;
16625     hpux*)
16626       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16627       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16628       # sets the default TLS model and affects inlining.
16629       case $host_cpu in
16630       hppa*64*)
16631         ;;
16632       *)
16633         lt_prog_compiler_pic_CXX='-fPIC'
16634         ;;
16635       esac
16636       ;;
16637     *qnx* | *nto*)
16638       # QNX uses GNU C++, but need to define -shared option too, otherwise
16639       # it will coredump.
16640       lt_prog_compiler_pic_CXX='-fPIC -shared'
16641       ;;
16642     *)
16643       lt_prog_compiler_pic_CXX='-fPIC'
16644       ;;
16645     esac
16646   else
16647     case $host_os in
16648       aix[4-9]*)
16649         # All AIX code is PIC.
16650         if test "$host_cpu" = ia64; then
16651           # AIX 5 now supports IA64 processor
16652           lt_prog_compiler_static_CXX='-Bstatic'
16653         else
16654           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16655         fi
16656         ;;
16657       chorus*)
16658         case $cc_basename in
16659         cxch68*)
16660           # Green Hills C++ Compiler
16661           # _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"
16662           ;;
16663         esac
16664         ;;
16665       mingw* | cygwin* | os2* | pw32* | cegcc*)
16666         # This hack is so that the source file can tell whether it is being
16667         # built for inclusion in a dll (and should export symbols for example).
16668         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16669         ;;
16670       dgux*)
16671         case $cc_basename in
16672           ec++*)
16673             lt_prog_compiler_pic_CXX='-KPIC'
16674             ;;
16675           ghcx*)
16676             # Green Hills C++ Compiler
16677             lt_prog_compiler_pic_CXX='-pic'
16678             ;;
16679           *)
16680             ;;
16681         esac
16682         ;;
16683       freebsd* | dragonfly*)
16684         # FreeBSD uses GNU C++
16685         ;;
16686       hpux9* | hpux10* | hpux11*)
16687         case $cc_basename in
16688           CC*)
16689             lt_prog_compiler_wl_CXX='-Wl,'
16690             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16691             if test "$host_cpu" != ia64; then
16692               lt_prog_compiler_pic_CXX='+Z'
16693             fi
16694             ;;
16695           aCC*)
16696             lt_prog_compiler_wl_CXX='-Wl,'
16697             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16698             case $host_cpu in
16699             hppa*64*|ia64*)
16700               # +Z the default
16701               ;;
16702             *)
16703               lt_prog_compiler_pic_CXX='+Z'
16704               ;;
16705             esac
16706             ;;
16707           *)
16708             ;;
16709         esac
16710         ;;
16711       interix*)
16712         # This is c89, which is MS Visual C++ (no shared libs)
16713         # Anyone wants to do a port?
16714         ;;
16715       irix5* | irix6* | nonstopux*)
16716         case $cc_basename in
16717           CC*)
16718             lt_prog_compiler_wl_CXX='-Wl,'
16719             lt_prog_compiler_static_CXX='-non_shared'
16720             # CC pic flag -KPIC is the default.
16721             ;;
16722           *)
16723             ;;
16724         esac
16725         ;;
16726       linux* | k*bsd*-gnu | kopensolaris*-gnu)
16727         case $cc_basename in
16728           KCC*)
16729             # KAI C++ Compiler
16730             lt_prog_compiler_wl_CXX='--backend -Wl,'
16731             lt_prog_compiler_pic_CXX='-fPIC'
16732             ;;
16733           ecpc* )
16734             # old Intel C++ for x86_64 which still supported -KPIC.
16735             lt_prog_compiler_wl_CXX='-Wl,'
16736             lt_prog_compiler_pic_CXX='-KPIC'
16737             lt_prog_compiler_static_CXX='-static'
16738             ;;
16739           icpc* )
16740             # Intel C++, used to be incompatible with GCC.
16741             # ICC 10 doesn't accept -KPIC any more.
16742             lt_prog_compiler_wl_CXX='-Wl,'
16743             lt_prog_compiler_pic_CXX='-fPIC'
16744             lt_prog_compiler_static_CXX='-static'
16745             ;;
16746           pgCC* | pgcpp*)
16747             # Portland Group C++ compiler
16748             lt_prog_compiler_wl_CXX='-Wl,'
16749             lt_prog_compiler_pic_CXX='-fpic'
16750             lt_prog_compiler_static_CXX='-Bstatic'
16751             ;;
16752           cxx*)
16753             # Compaq C++
16754             # Make sure the PIC flag is empty.  It appears that all Alpha
16755             # Linux and Compaq Tru64 Unix objects are PIC.
16756             lt_prog_compiler_pic_CXX=
16757             lt_prog_compiler_static_CXX='-non_shared'
16758             ;;
16759           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16760             # IBM XL 8.0, 9.0 on PPC and BlueGene
16761             lt_prog_compiler_wl_CXX='-Wl,'
16762             lt_prog_compiler_pic_CXX='-qpic'
16763             lt_prog_compiler_static_CXX='-qstaticlink'
16764             ;;
16765           *)
16766             case `$CC -V 2>&1 | sed 5q` in
16767             *Sun\ C*)
16768               # Sun C++ 5.9
16769               lt_prog_compiler_pic_CXX='-KPIC'
16770               lt_prog_compiler_static_CXX='-Bstatic'
16771               lt_prog_compiler_wl_CXX='-Qoption ld '
16772               ;;
16773             esac
16774             ;;
16775         esac
16776         ;;
16777       lynxos*)
16778         ;;
16779       m88k*)
16780         ;;
16781       mvs*)
16782         case $cc_basename in
16783           cxx*)
16784             lt_prog_compiler_pic_CXX='-W c,exportall'
16785             ;;
16786           *)
16787             ;;
16788         esac
16789         ;;
16790       netbsd*)
16791         ;;
16792       *qnx* | *nto*)
16793         # QNX uses GNU C++, but need to define -shared option too, otherwise
16794         # it will coredump.
16795         lt_prog_compiler_pic_CXX='-fPIC -shared'
16796         ;;
16797       osf3* | osf4* | osf5*)
16798         case $cc_basename in
16799           KCC*)
16800             lt_prog_compiler_wl_CXX='--backend -Wl,'
16801             ;;
16802           RCC*)
16803             # Rational C++ 2.4.1
16804             lt_prog_compiler_pic_CXX='-pic'
16805             ;;
16806           cxx*)
16807             # Digital/Compaq C++
16808             lt_prog_compiler_wl_CXX='-Wl,'
16809             # Make sure the PIC flag is empty.  It appears that all Alpha
16810             # Linux and Compaq Tru64 Unix objects are PIC.
16811             lt_prog_compiler_pic_CXX=
16812             lt_prog_compiler_static_CXX='-non_shared'
16813             ;;
16814           *)
16815             ;;
16816         esac
16817         ;;
16818       psos*)
16819         ;;
16820       solaris*)
16821         case $cc_basename in
16822           CC* | sunCC*)
16823             # Sun C++ 4.2, 5.x and Centerline C++
16824             lt_prog_compiler_pic_CXX='-KPIC'
16825             lt_prog_compiler_static_CXX='-Bstatic'
16826             lt_prog_compiler_wl_CXX='-Qoption ld '
16827             ;;
16828           gcx*)
16829             # Green Hills C++ Compiler
16830             lt_prog_compiler_pic_CXX='-PIC'
16831             ;;
16832           *)
16833             ;;
16834         esac
16835         ;;
16836       sunos4*)
16837         case $cc_basename in
16838           CC*)
16839             # Sun C++ 4.x
16840             lt_prog_compiler_pic_CXX='-pic'
16841             lt_prog_compiler_static_CXX='-Bstatic'
16842             ;;
16843           lcc*)
16844             # Lucid
16845             lt_prog_compiler_pic_CXX='-pic'
16846             ;;
16847           *)
16848             ;;
16849         esac
16850         ;;
16851       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16852         case $cc_basename in
16853           CC*)
16854             lt_prog_compiler_wl_CXX='-Wl,'
16855             lt_prog_compiler_pic_CXX='-KPIC'
16856             lt_prog_compiler_static_CXX='-Bstatic'
16857             ;;
16858         esac
16859         ;;
16860       tandem*)
16861         case $cc_basename in
16862           NCC*)
16863             # NonStop-UX NCC 3.20
16864             lt_prog_compiler_pic_CXX='-KPIC'
16865             ;;
16866           *)
16867             ;;
16868         esac
16869         ;;
16870       vxworks*)
16871         ;;
16872       *)
16873         lt_prog_compiler_can_build_shared_CXX=no
16874         ;;
16875     esac
16876   fi
16877
16878 case $host_os in
16879   # For platforms which do not support PIC, -DPIC is meaningless:
16880   *djgpp*)
16881     lt_prog_compiler_pic_CXX=
16882     ;;
16883   *)
16884     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16885     ;;
16886 esac
16887
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16889 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16890 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16891   $as_echo_n "(cached) " >&6
16892 else
16893   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16894 fi
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16896 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16897 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16898
16899 #
16900 # Check to make sure the PIC flag actually works.
16901 #
16902 if test -n "$lt_prog_compiler_pic_CXX"; then
16903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16904 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16905 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16906   $as_echo_n "(cached) " >&6
16907 else
16908   lt_cv_prog_compiler_pic_works_CXX=no
16909    ac_outfile=conftest.$ac_objext
16910    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16911    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16912    # Insert the option either (1) after the last *FLAGS variable, or
16913    # (2) before a word containing "conftest.", or (3) at the end.
16914    # Note that $ac_compile itself does not contain backslashes and begins
16915    # with a dollar sign (not a hyphen), so the echo should work correctly.
16916    # The option is referenced via a variable to avoid confusing sed.
16917    lt_compile=`echo "$ac_compile" | $SED \
16918    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16919    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16920    -e 's:$: $lt_compiler_flag:'`
16921    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16922    (eval "$lt_compile" 2>conftest.err)
16923    ac_status=$?
16924    cat conftest.err >&5
16925    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926    if (exit $ac_status) && test -s "$ac_outfile"; then
16927      # The compiler can only warn and ignore the option if not recognized
16928      # So say no if there are warnings other than the usual output.
16929      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16930      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16931      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16932        lt_cv_prog_compiler_pic_works_CXX=yes
16933      fi
16934    fi
16935    $RM conftest*
16936
16937 fi
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16939 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16940
16941 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16942     case $lt_prog_compiler_pic_CXX in
16943      "" | " "*) ;;
16944      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16945      esac
16946 else
16947     lt_prog_compiler_pic_CXX=
16948      lt_prog_compiler_can_build_shared_CXX=no
16949 fi
16950
16951 fi
16952
16953
16954
16955
16956
16957 #
16958 # Check to make sure the static flag actually works.
16959 #
16960 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16962 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16963 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16964   $as_echo_n "(cached) " >&6
16965 else
16966   lt_cv_prog_compiler_static_works_CXX=no
16967    save_LDFLAGS="$LDFLAGS"
16968    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16969    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16970    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16971      # The linker can only warn and ignore the option if not recognized
16972      # So say no if there are warnings
16973      if test -s conftest.err; then
16974        # Append any errors to the config.log.
16975        cat conftest.err 1>&5
16976        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16977        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16978        if diff conftest.exp conftest.er2 >/dev/null; then
16979          lt_cv_prog_compiler_static_works_CXX=yes
16980        fi
16981      else
16982        lt_cv_prog_compiler_static_works_CXX=yes
16983      fi
16984    fi
16985    $RM -r conftest*
16986    LDFLAGS="$save_LDFLAGS"
16987
16988 fi
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16990 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16991
16992 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16993     :
16994 else
16995     lt_prog_compiler_static_CXX=
16996 fi
16997
16998
16999
17000
17001     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17003 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17004   $as_echo_n "(cached) " >&6
17005 else
17006   lt_cv_prog_compiler_c_o_CXX=no
17007    $RM -r conftest 2>/dev/null
17008    mkdir conftest
17009    cd conftest
17010    mkdir out
17011    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17012
17013    lt_compiler_flag="-o out/conftest2.$ac_objext"
17014    # Insert the option either (1) after the last *FLAGS variable, or
17015    # (2) before a word containing "conftest.", or (3) at the end.
17016    # Note that $ac_compile itself does not contain backslashes and begins
17017    # with a dollar sign (not a hyphen), so the echo should work correctly.
17018    lt_compile=`echo "$ac_compile" | $SED \
17019    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17020    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17021    -e 's:$: $lt_compiler_flag:'`
17022    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17023    (eval "$lt_compile" 2>out/conftest.err)
17024    ac_status=$?
17025    cat out/conftest.err >&5
17026    echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027    if (exit $ac_status) && test -s out/conftest2.$ac_objext
17028    then
17029      # The compiler can only warn and ignore the option if not recognized
17030      # So say no if there are warnings
17031      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17032      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17033      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17034        lt_cv_prog_compiler_c_o_CXX=yes
17035      fi
17036    fi
17037    chmod u+w . 2>&5
17038    $RM conftest*
17039    # SGI C++ compiler will create directory out/ii_files/ for
17040    # template instantiation
17041    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17042    $RM out/* && rmdir out
17043    cd ..
17044    $RM -r conftest
17045    $RM conftest*
17046
17047 fi
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17049 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17050
17051
17052
17053     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17054 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17055 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17056   $as_echo_n "(cached) " >&6
17057 else
17058   lt_cv_prog_compiler_c_o_CXX=no
17059    $RM -r conftest 2>/dev/null
17060    mkdir conftest
17061    cd conftest
17062    mkdir out
17063    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17064
17065    lt_compiler_flag="-o out/conftest2.$ac_objext"
17066    # Insert the option either (1) after the last *FLAGS variable, or
17067    # (2) before a word containing "conftest.", or (3) at the end.
17068    # Note that $ac_compile itself does not contain backslashes and begins
17069    # with a dollar sign (not a hyphen), so the echo should work correctly.
17070    lt_compile=`echo "$ac_compile" | $SED \
17071    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17072    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17073    -e 's:$: $lt_compiler_flag:'`
17074    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17075    (eval "$lt_compile" 2>out/conftest.err)
17076    ac_status=$?
17077    cat out/conftest.err >&5
17078    echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079    if (exit $ac_status) && test -s out/conftest2.$ac_objext
17080    then
17081      # The compiler can only warn and ignore the option if not recognized
17082      # So say no if there are warnings
17083      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17084      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17085      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17086        lt_cv_prog_compiler_c_o_CXX=yes
17087      fi
17088    fi
17089    chmod u+w . 2>&5
17090    $RM conftest*
17091    # SGI C++ compiler will create directory out/ii_files/ for
17092    # template instantiation
17093    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17094    $RM out/* && rmdir out
17095    cd ..
17096    $RM -r conftest
17097    $RM conftest*
17098
17099 fi
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17101 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17102
17103
17104
17105
17106 hard_links="nottested"
17107 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17108   # do not overwrite the value of need_locks provided by the user
17109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17110 $as_echo_n "checking if we can lock with hard links... " >&6; }
17111   hard_links=yes
17112   $RM conftest*
17113   ln conftest.a conftest.b 2>/dev/null && hard_links=no
17114   touch conftest.a
17115   ln conftest.a conftest.b 2>&5 || hard_links=no
17116   ln conftest.a conftest.b 2>/dev/null && hard_links=no
17117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17118 $as_echo "$hard_links" >&6; }
17119   if test "$hard_links" = no; then
17120     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17121 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17122     need_locks=warn
17123   fi
17124 else
17125   need_locks=no
17126 fi
17127
17128
17129
17130     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17131 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17132
17133   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17134   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17135   case $host_os in
17136   aix[4-9]*)
17137     # If we're using GNU nm, then we don't want the "-C" option.
17138     # -C means demangle to AIX nm, but means don't demangle with GNU nm
17139     # Also, AIX nm treats weak defined symbols like other global defined
17140     # symbols, whereas GNU nm marks them as "W".
17141     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17142       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'
17143     else
17144       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'
17145     fi
17146     ;;
17147   pw32*)
17148     export_symbols_cmds_CXX="$ltdll_cmds"
17149     ;;
17150   cygwin* | mingw* | cegcc*)
17151     case $cc_basename in
17152     cl*)
17153       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17154       ;;
17155     *)
17156       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'
17157       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17158       ;;
17159     esac
17160     ;;
17161   *)
17162     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17163     ;;
17164   esac
17165
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17167 $as_echo "$ld_shlibs_CXX" >&6; }
17168 test "$ld_shlibs_CXX" = no && can_build_shared=no
17169
17170 with_gnu_ld_CXX=$with_gnu_ld
17171
17172
17173
17174
17175
17176
17177 #
17178 # Do we need to explicitly link libc?
17179 #
17180 case "x$archive_cmds_need_lc_CXX" in
17181 x|xyes)
17182   # Assume -lc should be added
17183   archive_cmds_need_lc_CXX=yes
17184
17185   if test "$enable_shared" = yes && test "$GCC" = yes; then
17186     case $archive_cmds_CXX in
17187     *'~'*)
17188       # FIXME: we may have to deal with multi-command sequences.
17189       ;;
17190     '$CC '*)
17191       # Test whether the compiler implicitly links with -lc since on some
17192       # systems, -lgcc has to come before -lc. If gcc already passes -lc
17193       # to ld, don't add -lc before -lgcc.
17194       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17195 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17196 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
17197   $as_echo_n "(cached) " >&6
17198 else
17199   $RM conftest*
17200         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17201
17202         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17203   (eval $ac_compile) 2>&5
17204   ac_status=$?
17205   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17206   test $ac_status = 0; } 2>conftest.err; then
17207           soname=conftest
17208           lib=conftest
17209           libobjs=conftest.$ac_objext
17210           deplibs=
17211           wl=$lt_prog_compiler_wl_CXX
17212           pic_flag=$lt_prog_compiler_pic_CXX
17213           compiler_flags=-v
17214           linker_flags=-v
17215           verstring=
17216           output_objdir=.
17217           libname=conftest
17218           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17219           allow_undefined_flag_CXX=
17220           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17221   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17222   ac_status=$?
17223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17224   test $ac_status = 0; }
17225           then
17226             lt_cv_archive_cmds_need_lc_CXX=no
17227           else
17228             lt_cv_archive_cmds_need_lc_CXX=yes
17229           fi
17230           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17231         else
17232           cat conftest.err 1>&5
17233         fi
17234         $RM conftest*
17235
17236 fi
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17238 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17239       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17240       ;;
17241     esac
17242   fi
17243   ;;
17244 esac
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
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17308 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17309
17310 library_names_spec=
17311 libname_spec='lib$name'
17312 soname_spec=
17313 shrext_cmds=".so"
17314 postinstall_cmds=
17315 postuninstall_cmds=
17316 finish_cmds=
17317 finish_eval=
17318 shlibpath_var=
17319 shlibpath_overrides_runpath=unknown
17320 version_type=none
17321 dynamic_linker="$host_os ld.so"
17322 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17323 need_lib_prefix=unknown
17324 hardcode_into_libs=no
17325
17326 # when you set need_version to no, make sure it does not cause -set_version
17327 # flags to be left without arguments
17328 need_version=unknown
17329
17330 case $host_os in
17331 aix3*)
17332   version_type=linux # correct to gnu/linux during the next big refactor
17333   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17334   shlibpath_var=LIBPATH
17335
17336   # AIX 3 has no versioning support, so we append a major version to the name.
17337   soname_spec='${libname}${release}${shared_ext}$major'
17338   ;;
17339
17340 aix[4-9]*)
17341   version_type=linux # correct to gnu/linux during the next big refactor
17342   need_lib_prefix=no
17343   need_version=no
17344   hardcode_into_libs=yes
17345   if test "$host_cpu" = ia64; then
17346     # AIX 5 supports IA64
17347     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17348     shlibpath_var=LD_LIBRARY_PATH
17349   else
17350     # With GCC up to 2.95.x, collect2 would create an import file
17351     # for dependence libraries.  The import file would start with
17352     # the line `#! .'.  This would cause the generated library to
17353     # depend on `.', always an invalid library.  This was fixed in
17354     # development snapshots of GCC prior to 3.0.
17355     case $host_os in
17356       aix4 | aix4.[01] | aix4.[01].*)
17357       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17358            echo ' yes '
17359            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17360         :
17361       else
17362         can_build_shared=no
17363       fi
17364       ;;
17365     esac
17366     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17367     # soname into executable. Probably we can add versioning support to
17368     # collect2, so additional links can be useful in future.
17369     if test "$aix_use_runtimelinking" = yes; then
17370       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17371       # instead of lib<name>.a to let people know that these are not
17372       # typical AIX shared libraries.
17373       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17374     else
17375       # We preserve .a as extension for shared libraries through AIX4.2
17376       # and later when we are not doing run time linking.
17377       library_names_spec='${libname}${release}.a $libname.a'
17378       soname_spec='${libname}${release}${shared_ext}$major'
17379     fi
17380     shlibpath_var=LIBPATH
17381   fi
17382   ;;
17383
17384 amigaos*)
17385   case $host_cpu in
17386   powerpc)
17387     # Since July 2007 AmigaOS4 officially supports .so libraries.
17388     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17389     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17390     ;;
17391   m68k)
17392     library_names_spec='$libname.ixlibrary $libname.a'
17393     # Create ${libname}_ixlibrary.a entries in /sys/libs.
17394     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'
17395     ;;
17396   esac
17397   ;;
17398
17399 beos*)
17400   library_names_spec='${libname}${shared_ext}'
17401   dynamic_linker="$host_os ld.so"
17402   shlibpath_var=LIBRARY_PATH
17403   ;;
17404
17405 bsdi[45]*)
17406   version_type=linux # correct to gnu/linux during the next big refactor
17407   need_version=no
17408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17409   soname_spec='${libname}${release}${shared_ext}$major'
17410   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17411   shlibpath_var=LD_LIBRARY_PATH
17412   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17413   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17414   # the default ld.so.conf also contains /usr/contrib/lib and
17415   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17416   # libtool to hard-code these into programs
17417   ;;
17418
17419 cygwin* | mingw* | pw32* | cegcc*)
17420   version_type=windows
17421   shrext_cmds=".dll"
17422   need_version=no
17423   need_lib_prefix=no
17424
17425   case $GCC,$cc_basename in
17426   yes,*)
17427     # gcc
17428     library_names_spec='$libname.dll.a'
17429     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17430     postinstall_cmds='base_file=`basename \${file}`~
17431       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17432       dldir=$destdir/`dirname \$dlpath`~
17433       test -d \$dldir || mkdir -p \$dldir~
17434       $install_prog $dir/$dlname \$dldir/$dlname~
17435       chmod a+x \$dldir/$dlname~
17436       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17437         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17438       fi'
17439     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17440       dlpath=$dir/\$dldll~
17441        $RM \$dlpath'
17442     shlibpath_overrides_runpath=yes
17443
17444     case $host_os in
17445     cygwin*)
17446       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17447       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17448
17449       ;;
17450     mingw* | cegcc*)
17451       # MinGW DLLs use traditional 'lib' prefix
17452       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17453       ;;
17454     pw32*)
17455       # pw32 DLLs use 'pw' prefix rather than 'lib'
17456       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17457       ;;
17458     esac
17459     dynamic_linker='Win32 ld.exe'
17460     ;;
17461
17462   *,cl*)
17463     # Native MSVC
17464     libname_spec='$name'
17465     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17466     library_names_spec='${libname}.dll.lib'
17467
17468     case $build_os in
17469     mingw*)
17470       sys_lib_search_path_spec=
17471       lt_save_ifs=$IFS
17472       IFS=';'
17473       for lt_path in $LIB
17474       do
17475         IFS=$lt_save_ifs
17476         # Let DOS variable expansion print the short 8.3 style file name.
17477         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17478         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17479       done
17480       IFS=$lt_save_ifs
17481       # Convert to MSYS style.
17482       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17483       ;;
17484     cygwin*)
17485       # Convert to unix form, then to dos form, then back to unix form
17486       # but this time dos style (no spaces!) so that the unix form looks
17487       # like /cygdrive/c/PROGRA~1:/cygdr...
17488       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17489       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17490       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17491       ;;
17492     *)
17493       sys_lib_search_path_spec="$LIB"
17494       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17495         # It is most probably a Windows format PATH.
17496         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17497       else
17498         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17499       fi
17500       # FIXME: find the short name or the path components, as spaces are
17501       # common. (e.g. "Program Files" -> "PROGRA~1")
17502       ;;
17503     esac
17504
17505     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17506     postinstall_cmds='base_file=`basename \${file}`~
17507       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17508       dldir=$destdir/`dirname \$dlpath`~
17509       test -d \$dldir || mkdir -p \$dldir~
17510       $install_prog $dir/$dlname \$dldir/$dlname'
17511     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17512       dlpath=$dir/\$dldll~
17513        $RM \$dlpath'
17514     shlibpath_overrides_runpath=yes
17515     dynamic_linker='Win32 link.exe'
17516     ;;
17517
17518   *)
17519     # Assume MSVC wrapper
17520     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17521     dynamic_linker='Win32 ld.exe'
17522     ;;
17523   esac
17524   # FIXME: first we should search . and the directory the executable is in
17525   shlibpath_var=PATH
17526   ;;
17527
17528 darwin* | rhapsody*)
17529   dynamic_linker="$host_os dyld"
17530   version_type=darwin
17531   need_lib_prefix=no
17532   need_version=no
17533   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17534   soname_spec='${libname}${release}${major}$shared_ext'
17535   shlibpath_overrides_runpath=yes
17536   shlibpath_var=DYLD_LIBRARY_PATH
17537   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17538
17539   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17540   ;;
17541
17542 dgux*)
17543   version_type=linux # correct to gnu/linux during the next big refactor
17544   need_lib_prefix=no
17545   need_version=no
17546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17547   soname_spec='${libname}${release}${shared_ext}$major'
17548   shlibpath_var=LD_LIBRARY_PATH
17549   ;;
17550
17551 freebsd* | dragonfly*)
17552   # DragonFly does not have aout.  When/if they implement a new
17553   # versioning mechanism, adjust this.
17554   if test -x /usr/bin/objformat; then
17555     objformat=`/usr/bin/objformat`
17556   else
17557     case $host_os in
17558     freebsd[23].*) objformat=aout ;;
17559     *) objformat=elf ;;
17560     esac
17561   fi
17562   version_type=freebsd-$objformat
17563   case $version_type in
17564     freebsd-elf*)
17565       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17566       need_version=no
17567       need_lib_prefix=no
17568       ;;
17569     freebsd-*)
17570       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17571       need_version=yes
17572       ;;
17573   esac
17574   shlibpath_var=LD_LIBRARY_PATH
17575   case $host_os in
17576   freebsd2.*)
17577     shlibpath_overrides_runpath=yes
17578     ;;
17579   freebsd3.[01]* | freebsdelf3.[01]*)
17580     shlibpath_overrides_runpath=yes
17581     hardcode_into_libs=yes
17582     ;;
17583   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17584   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17585     shlibpath_overrides_runpath=no
17586     hardcode_into_libs=yes
17587     ;;
17588   *) # from 4.6 on, and DragonFly
17589     shlibpath_overrides_runpath=yes
17590     hardcode_into_libs=yes
17591     ;;
17592   esac
17593   ;;
17594
17595 gnu*)
17596   version_type=linux # correct to gnu/linux during the next big refactor
17597   need_lib_prefix=no
17598   need_version=no
17599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17600   soname_spec='${libname}${release}${shared_ext}$major'
17601   shlibpath_var=LD_LIBRARY_PATH
17602   shlibpath_overrides_runpath=no
17603   hardcode_into_libs=yes
17604   ;;
17605
17606 haiku*)
17607   version_type=linux # correct to gnu/linux during the next big refactor
17608   need_lib_prefix=no
17609   need_version=no
17610   dynamic_linker="$host_os runtime_loader"
17611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17612   soname_spec='${libname}${release}${shared_ext}$major'
17613   shlibpath_var=LIBRARY_PATH
17614   shlibpath_overrides_runpath=yes
17615   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17616   hardcode_into_libs=yes
17617   ;;
17618
17619 hpux9* | hpux10* | hpux11*)
17620   # Give a soname corresponding to the major version so that dld.sl refuses to
17621   # link against other versions.
17622   version_type=sunos
17623   need_lib_prefix=no
17624   need_version=no
17625   case $host_cpu in
17626   ia64*)
17627     shrext_cmds='.so'
17628     hardcode_into_libs=yes
17629     dynamic_linker="$host_os dld.so"
17630     shlibpath_var=LD_LIBRARY_PATH
17631     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17632     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17633     soname_spec='${libname}${release}${shared_ext}$major'
17634     if test "X$HPUX_IA64_MODE" = X32; then
17635       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17636     else
17637       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17638     fi
17639     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17640     ;;
17641   hppa*64*)
17642     shrext_cmds='.sl'
17643     hardcode_into_libs=yes
17644     dynamic_linker="$host_os dld.sl"
17645     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17646     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17647     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17648     soname_spec='${libname}${release}${shared_ext}$major'
17649     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17650     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17651     ;;
17652   *)
17653     shrext_cmds='.sl'
17654     dynamic_linker="$host_os dld.sl"
17655     shlibpath_var=SHLIB_PATH
17656     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17657     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17658     soname_spec='${libname}${release}${shared_ext}$major'
17659     ;;
17660   esac
17661   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17662   postinstall_cmds='chmod 555 $lib'
17663   # or fails outright, so override atomically:
17664   install_override_mode=555
17665   ;;
17666
17667 interix[3-9]*)
17668   version_type=linux # correct to gnu/linux during the next big refactor
17669   need_lib_prefix=no
17670   need_version=no
17671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17672   soname_spec='${libname}${release}${shared_ext}$major'
17673   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17674   shlibpath_var=LD_LIBRARY_PATH
17675   shlibpath_overrides_runpath=no
17676   hardcode_into_libs=yes
17677   ;;
17678
17679 irix5* | irix6* | nonstopux*)
17680   case $host_os in
17681     nonstopux*) version_type=nonstopux ;;
17682     *)
17683         if test "$lt_cv_prog_gnu_ld" = yes; then
17684                 version_type=linux # correct to gnu/linux during the next big refactor
17685         else
17686                 version_type=irix
17687         fi ;;
17688   esac
17689   need_lib_prefix=no
17690   need_version=no
17691   soname_spec='${libname}${release}${shared_ext}$major'
17692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17693   case $host_os in
17694   irix5* | nonstopux*)
17695     libsuff= shlibsuff=
17696     ;;
17697   *)
17698     case $LD in # libtool.m4 will add one of these switches to LD
17699     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17700       libsuff= shlibsuff= libmagic=32-bit;;
17701     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17702       libsuff=32 shlibsuff=N32 libmagic=N32;;
17703     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17704       libsuff=64 shlibsuff=64 libmagic=64-bit;;
17705     *) libsuff= shlibsuff= libmagic=never-match;;
17706     esac
17707     ;;
17708   esac
17709   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17710   shlibpath_overrides_runpath=no
17711   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17712   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17713   hardcode_into_libs=yes
17714   ;;
17715
17716 # No shared lib support for Linux oldld, aout, or coff.
17717 linux*oldld* | linux*aout* | linux*coff*)
17718   dynamic_linker=no
17719   ;;
17720
17721 # This must be glibc/ELF.
17722 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17723   version_type=linux # correct to gnu/linux during the next big refactor
17724   need_lib_prefix=no
17725   need_version=no
17726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17727   soname_spec='${libname}${release}${shared_ext}$major'
17728   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17729   shlibpath_var=LD_LIBRARY_PATH
17730   shlibpath_overrides_runpath=no
17731
17732   # Some binutils ld are patched to set DT_RUNPATH
17733   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17734   $as_echo_n "(cached) " >&6
17735 else
17736   lt_cv_shlibpath_overrides_runpath=no
17737     save_LDFLAGS=$LDFLAGS
17738     save_libdir=$libdir
17739     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17740          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17741     if test x$ac_no_link = xyes; then
17742   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
17743 fi
17744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17745 /* end confdefs.h.  */
17746
17747 int
17748 main ()
17749 {
17750
17751   ;
17752   return 0;
17753 }
17754 _ACEOF
17755 if ac_fn_cxx_try_link "$LINENO"; then :
17756   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17757   lt_cv_shlibpath_overrides_runpath=yes
17758 fi
17759 fi
17760 rm -f core conftest.err conftest.$ac_objext \
17761     conftest$ac_exeext conftest.$ac_ext
17762     LDFLAGS=$save_LDFLAGS
17763     libdir=$save_libdir
17764
17765 fi
17766
17767   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17768
17769   # This implies no fast_install, which is unacceptable.
17770   # Some rework will be needed to allow for fast_install
17771   # before this can be enabled.
17772   hardcode_into_libs=yes
17773
17774   # Append ld.so.conf contents to the search path
17775   if test -f /etc/ld.so.conf; then
17776     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' ' '`
17777     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17778   fi
17779
17780   # We used to test for /lib/ld.so.1 and disable shared libraries on
17781   # powerpc, because MkLinux only supported shared libraries with the
17782   # GNU dynamic linker.  Since this was broken with cross compilers,
17783   # most powerpc-linux boxes support dynamic linking these days and
17784   # people can always --disable-shared, the test was removed, and we
17785   # assume the GNU/Linux dynamic linker is in use.
17786   dynamic_linker='GNU/Linux ld.so'
17787   ;;
17788
17789 netbsd*)
17790   version_type=sunos
17791   need_lib_prefix=no
17792   need_version=no
17793   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17794     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17795     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17796     dynamic_linker='NetBSD (a.out) ld.so'
17797   else
17798     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17799     soname_spec='${libname}${release}${shared_ext}$major'
17800     dynamic_linker='NetBSD ld.elf_so'
17801   fi
17802   shlibpath_var=LD_LIBRARY_PATH
17803   shlibpath_overrides_runpath=yes
17804   hardcode_into_libs=yes
17805   ;;
17806
17807 newsos6)
17808   version_type=linux # correct to gnu/linux during the next big refactor
17809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17810   shlibpath_var=LD_LIBRARY_PATH
17811   shlibpath_overrides_runpath=yes
17812   ;;
17813
17814 *nto* | *qnx*)
17815   version_type=qnx
17816   need_lib_prefix=no
17817   need_version=no
17818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17819   soname_spec='${libname}${release}${shared_ext}$major'
17820   shlibpath_var=LD_LIBRARY_PATH
17821   shlibpath_overrides_runpath=no
17822   hardcode_into_libs=yes
17823   dynamic_linker='ldqnx.so'
17824   ;;
17825
17826 openbsd*)
17827   version_type=sunos
17828   sys_lib_dlsearch_path_spec="/usr/lib"
17829   need_lib_prefix=no
17830   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17831   case $host_os in
17832     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
17833     *)                          need_version=no  ;;
17834   esac
17835   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17836   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17837   shlibpath_var=LD_LIBRARY_PATH
17838   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17839     case $host_os in
17840       openbsd2.[89] | openbsd2.[89].*)
17841         shlibpath_overrides_runpath=no
17842         ;;
17843       *)
17844         shlibpath_overrides_runpath=yes
17845         ;;
17846       esac
17847   else
17848     shlibpath_overrides_runpath=yes
17849   fi
17850   ;;
17851
17852 os2*)
17853   libname_spec='$name'
17854   shrext_cmds=".dll"
17855   need_lib_prefix=no
17856   library_names_spec='$libname${shared_ext} $libname.a'
17857   dynamic_linker='OS/2 ld.exe'
17858   shlibpath_var=LIBPATH
17859   ;;
17860
17861 osf3* | osf4* | osf5*)
17862   version_type=osf
17863   need_lib_prefix=no
17864   need_version=no
17865   soname_spec='${libname}${release}${shared_ext}$major'
17866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17867   shlibpath_var=LD_LIBRARY_PATH
17868   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17869   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17870   ;;
17871
17872 rdos*)
17873   dynamic_linker=no
17874   ;;
17875
17876 solaris*)
17877   version_type=linux # correct to gnu/linux during the next big refactor
17878   need_lib_prefix=no
17879   need_version=no
17880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17881   soname_spec='${libname}${release}${shared_ext}$major'
17882   shlibpath_var=LD_LIBRARY_PATH
17883   shlibpath_overrides_runpath=yes
17884   hardcode_into_libs=yes
17885   # ldd complains unless libraries are executable
17886   postinstall_cmds='chmod +x $lib'
17887   ;;
17888
17889 sunos4*)
17890   version_type=sunos
17891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17892   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17893   shlibpath_var=LD_LIBRARY_PATH
17894   shlibpath_overrides_runpath=yes
17895   if test "$with_gnu_ld" = yes; then
17896     need_lib_prefix=no
17897   fi
17898   need_version=yes
17899   ;;
17900
17901 sysv4 | sysv4.3*)
17902   version_type=linux # correct to gnu/linux during the next big refactor
17903   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17904   soname_spec='${libname}${release}${shared_ext}$major'
17905   shlibpath_var=LD_LIBRARY_PATH
17906   case $host_vendor in
17907     sni)
17908       shlibpath_overrides_runpath=no
17909       need_lib_prefix=no
17910       runpath_var=LD_RUN_PATH
17911       ;;
17912     siemens)
17913       need_lib_prefix=no
17914       ;;
17915     motorola)
17916       need_lib_prefix=no
17917       need_version=no
17918       shlibpath_overrides_runpath=no
17919       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17920       ;;
17921   esac
17922   ;;
17923
17924 sysv4*MP*)
17925   if test -d /usr/nec ;then
17926     version_type=linux # correct to gnu/linux during the next big refactor
17927     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17928     soname_spec='$libname${shared_ext}.$major'
17929     shlibpath_var=LD_LIBRARY_PATH
17930   fi
17931   ;;
17932
17933 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17934   version_type=freebsd-elf
17935   need_lib_prefix=no
17936   need_version=no
17937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17938   soname_spec='${libname}${release}${shared_ext}$major'
17939   shlibpath_var=LD_LIBRARY_PATH
17940   shlibpath_overrides_runpath=yes
17941   hardcode_into_libs=yes
17942   if test "$with_gnu_ld" = yes; then
17943     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17944   else
17945     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17946     case $host_os in
17947       sco3.2v5*)
17948         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17949         ;;
17950     esac
17951   fi
17952   sys_lib_dlsearch_path_spec='/usr/lib'
17953   ;;
17954
17955 tpf*)
17956   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17957   version_type=linux # correct to gnu/linux during the next big refactor
17958   need_lib_prefix=no
17959   need_version=no
17960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17961   shlibpath_var=LD_LIBRARY_PATH
17962   shlibpath_overrides_runpath=no
17963   hardcode_into_libs=yes
17964   ;;
17965
17966 uts4*)
17967   version_type=linux # correct to gnu/linux during the next big refactor
17968   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17969   soname_spec='${libname}${release}${shared_ext}$major'
17970   shlibpath_var=LD_LIBRARY_PATH
17971   ;;
17972
17973 *)
17974   dynamic_linker=no
17975   ;;
17976 esac
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17978 $as_echo "$dynamic_linker" >&6; }
17979 test "$dynamic_linker" = no && can_build_shared=no
17980
17981 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17982 if test "$GCC" = yes; then
17983   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17984 fi
17985
17986 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17987   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17988 fi
17989 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17990   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17991 fi
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18031 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18032 hardcode_action_CXX=
18033 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18034    test -n "$runpath_var_CXX" ||
18035    test "X$hardcode_automatic_CXX" = "Xyes" ; then
18036
18037   # We can hardcode non-existent directories.
18038   if test "$hardcode_direct_CXX" != no &&
18039      # If the only mechanism to avoid hardcoding is shlibpath_var, we
18040      # have to relink, otherwise we might link with an installed library
18041      # when we should be linking with a yet-to-be-installed one
18042      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18043      test "$hardcode_minus_L_CXX" != no; then
18044     # Linking always hardcodes the temporary library directory.
18045     hardcode_action_CXX=relink
18046   else
18047     # We can link without hardcoding, and we can hardcode nonexisting dirs.
18048     hardcode_action_CXX=immediate
18049   fi
18050 else
18051   # We cannot hardcode anything, or else we can only hardcode existing
18052   # directories.
18053   hardcode_action_CXX=unsupported
18054 fi
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18056 $as_echo "$hardcode_action_CXX" >&6; }
18057
18058 if test "$hardcode_action_CXX" = relink ||
18059    test "$inherit_rpath_CXX" = yes; then
18060   # Fast installation is not supported
18061   enable_fast_install=no
18062 elif test "$shlibpath_overrides_runpath" = yes ||
18063      test "$enable_shared" = no; then
18064   # Fast installation is not necessary
18065   enable_fast_install=needless
18066 fi
18067
18068
18069
18070
18071
18072
18073
18074   fi # test -n "$compiler"
18075
18076   CC=$lt_save_CC
18077   CFLAGS=$lt_save_CFLAGS
18078   LDCXX=$LD
18079   LD=$lt_save_LD
18080   GCC=$lt_save_GCC
18081   with_gnu_ld=$lt_save_with_gnu_ld
18082   lt_cv_path_LDCXX=$lt_cv_path_LD
18083   lt_cv_path_LD=$lt_save_path_LD
18084   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18085   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18086 fi # test "$_lt_caught_CXX_error" != yes
18087
18088 ac_ext=c
18089 ac_cpp='$CPP $CPPFLAGS'
18090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108         ac_config_commands="$ac_config_commands libtool"
18109
18110
18111
18112
18113 # Only expand once:
18114
18115
18116
18117 #
18118 # Debug instances
18119 #
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances" >&5
18121 $as_echo "$as_me: checking whether to build debug instances" >&6;}
18122
18123 # Debug
18124
18125
18126     # Check whether or not a default value has been passed in.
18127
18128
18129
18130     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances of programs and libraries" >&5
18131 $as_echo_n "checking whether to build debug instances of programs and libraries... " >&6; }
18132 if ${nl_cv_build_debug+:} false; then :
18133   $as_echo_n "(cached) " >&6
18134 else
18135
18136             # Check whether --enable-debug was given.
18137 if test "${enable_debug+set}" = set; then :
18138   enableval=$enable_debug;
18139                     case "${enableval}" in
18140
18141                     no|yes)
18142                         nl_cv_build_debug=${enableval}
18143                         ;;
18144
18145                     *)
18146                         as_fn_error $? "Invalid value ${enableval} for --enable-debug" "$LINENO" 5
18147                         ;;
18148
18149                     esac
18150
18151 else
18152
18153                     nl_cv_build_debug=no
18154
18155 fi
18156
18157
18158 fi
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_debug" >&5
18160 $as_echo "$nl_cv_build_debug" >&6; }
18161
18162     if test "${nl_cv_build_debug}" = "yes"; then
18163         CFLAGS="${CFLAGS} -DDEBUG"
18164         CXXFLAGS="${CXXFLAGS} -DDEBUG"
18165         OBJCFLAGS="${OBJCFLAGS} -DDEBUG"
18166         OBJCXXFLAGS="${OBJCXXFLAGS} -DDEBUG"
18167     fi
18168
18169
18170
18171  if test "${nl_cv_build_debug}" = "yes"; then
18172   NLFAULTINJECTION_BUILD_DEBUG_TRUE=
18173   NLFAULTINJECTION_BUILD_DEBUG_FALSE='#'
18174 else
18175   NLFAULTINJECTION_BUILD_DEBUG_TRUE='#'
18176   NLFAULTINJECTION_BUILD_DEBUG_FALSE=
18177 fi
18178
18179
18180 #
18181 # Code coverage and compiler optimization
18182 #
18183
18184 # Coverage
18185
18186
18187     # Check whether or not a default value has been passed in.
18188
18189
18190
18191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-coverage instances of programs and libraries" >&5
18192 $as_echo_n "checking whether to build code-coverage instances of programs and libraries... " >&6; }
18193 if ${nl_cv_build_coverage+:} false; then :
18194   $as_echo_n "(cached) " >&6
18195 else
18196
18197             # Check whether --enable-coverage was given.
18198 if test "${enable_coverage+set}" = set; then :
18199   enableval=$enable_coverage;
18200                     case "${enableval}" in
18201
18202                     no|yes)
18203                         nl_cv_build_coverage=${enableval}
18204
18205                         if test "${nl_cv_build_optimized}" = "yes"; then
18206                             as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
18207                         fi
18208                         ;;
18209
18210                     *)
18211                         as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
18212                         ;;
18213
18214                     esac
18215
18216 else
18217
18218                     if test "${nl_cv_build_optimized}" = "yes"; then
18219                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-optimization was specified, coverage disabled" >&5
18220 $as_echo "$as_me: WARNING: --enable-optimization was specified, coverage disabled" >&2;}
18221                         nl_cv_build_coverage=no
18222
18223                     else
18224                         nl_cv_build_coverage=no
18225
18226                     fi
18227
18228 fi
18229
18230
18231 fi
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage" >&5
18233 $as_echo "$nl_cv_build_coverage" >&6; }
18234
18235     if test "${nl_cv_build_coverage}" = "yes"; then
18236         if test "${GCC}" != "yes"; then
18237             as_fn_error $? "GCC or a GCC-compatible toolchain is required for --enable-coverage" "$LINENO" 5
18238         else
18239             NL_COVERAGE_CPPFLAGS="--coverage"
18240             if ${CC} --version | grep -q clang; then
18241                 NL_COVERAGE_LDFLAGS="--coverage"
18242             else
18243                 NL_COVERAGE_LIBS="-lgcov"
18244             fi
18245         fi
18246     fi
18247
18248
18249
18250  if test "${nl_cv_build_coverage}" = "yes"; then
18251   NLFAULTINJECTION_BUILD_COVERAGE_TRUE=
18252   NLFAULTINJECTION_BUILD_COVERAGE_FALSE='#'
18253 else
18254   NLFAULTINJECTION_BUILD_COVERAGE_TRUE='#'
18255   NLFAULTINJECTION_BUILD_COVERAGE_FALSE=
18256 fi
18257
18258
18259
18260     # Check whether or not a default value has been passed in.
18261
18262
18263
18264     # Check for the presence of lcov and genhtml, required
18265     # to build and generate the coverage reports.
18266
18267     # Extract the first word of "lcov", so it can be a program name with args.
18268 set dummy lcov; ac_word=$2
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18270 $as_echo_n "checking for $ac_word... " >&6; }
18271 if ${ac_cv_path_LCOV+:} false; then :
18272   $as_echo_n "(cached) " >&6
18273 else
18274   case $LCOV in
18275   [\\/]* | ?:[\\/]*)
18276   ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
18277   ;;
18278   *)
18279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18280 for as_dir in $PATH
18281 do
18282   IFS=$as_save_IFS
18283   test -z "$as_dir" && as_dir=.
18284     for ac_exec_ext in '' $ac_executable_extensions; do
18285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18286     ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
18287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18288     break 2
18289   fi
18290 done
18291   done
18292 IFS=$as_save_IFS
18293
18294   ;;
18295 esac
18296 fi
18297 LCOV=$ac_cv_path_LCOV
18298 if test -n "$LCOV"; then
18299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
18300 $as_echo "$LCOV" >&6; }
18301 else
18302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18303 $as_echo "no" >&6; }
18304 fi
18305
18306
18307     # Extract the first word of "genhtml", so it can be a program name with args.
18308 set dummy genhtml; ac_word=$2
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18310 $as_echo_n "checking for $ac_word... " >&6; }
18311 if ${ac_cv_path_GENHTML+:} false; then :
18312   $as_echo_n "(cached) " >&6
18313 else
18314   case $GENHTML in
18315   [\\/]* | ?:[\\/]*)
18316   ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
18317   ;;
18318   *)
18319   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18320 for as_dir in $PATH
18321 do
18322   IFS=$as_save_IFS
18323   test -z "$as_dir" && as_dir=.
18324     for ac_exec_ext in '' $ac_executable_extensions; do
18325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18326     ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
18327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18328     break 2
18329   fi
18330 done
18331   done
18332 IFS=$as_save_IFS
18333
18334   ;;
18335 esac
18336 fi
18337 GENHTML=$ac_cv_path_GENHTML
18338 if test -n "$GENHTML"; then
18339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
18340 $as_echo "$GENHTML" >&6; }
18341 else
18342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18343 $as_echo "no" >&6; }
18344 fi
18345
18346
18347
18348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build graphical code coverage reports" >&5
18349 $as_echo_n "checking whether to build graphical code coverage reports... " >&6; }
18350 if ${nl_cv_build_coverage_reports+:} false; then :
18351   $as_echo_n "(cached) " >&6
18352 else
18353
18354             # Check whether --enable-coverage-reports was given.
18355 if test "${enable_coverage_reports+set}" = set; then :
18356   enableval=$enable_coverage_reports;
18357                     case "${enableval}" in
18358
18359                     auto|no|yes)
18360                         nl_cv_build_coverage_reports=${enableval}
18361                         ;;
18362
18363                     *)
18364                         as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
18365                         ;;
18366
18367                     esac
18368
18369 else
18370
18371                     nl_cv_build_coverage_reports=auto
18372
18373 fi
18374
18375
18376             # If coverage is not enabled, then coverage reports
18377             # defaults to 'no' if it is 'auto' or fails if it is
18378             # 'yes'. Otherwise, availability of lcov and genhtml
18379             # condition behavior. Lack of availability for 'yes'
18380             # results in failure; however, for 'auto' then coverage
18381             # reports default to 'no'.
18382
18383             case "${nl_cv_build_coverage}" in
18384
18385             no)
18386                 case "${nl_cv_build_coverage_reports}" in
18387
18388                     auto)
18389                         nl_cv_build_coverage_reports="no"
18390                         ;;
18391
18392                     yes)
18393                         as_fn_error $? "--enable-coverage must be asserted to use --enable-coverage-reports." "$LINENO" 5
18394                         ;;
18395
18396                     no)
18397                         ;;
18398
18399                 esac
18400                 ;;
18401
18402             yes)
18403                 case "${nl_cv_build_coverage_reports}" in
18404
18405                     auto)
18406                         # Both lcov and genhtml must exist to successfully
18407                         # enable coverage reports.
18408
18409                         if test "x${LCOV}" = "x" || test "x${GENHTML}" = "x"; then
18410                             nl_cv_build_coverage_reports="no"
18411
18412                         else
18413                             nl_cv_build_coverage_reports="yes"
18414
18415                         fi
18416                         ;;
18417
18418                     yes)
18419                         # Both lcov and genhtml must exist to successfully
18420                         # enable coverage reports. Since the default or user
18421                         # ask is 'yes', we must fail if lcov or genhtml cannot
18422                         # be found.
18423
18424                         if test "x${LCOV}" = "x"; then
18425                             as_fn_error $? "Cannot find 'lcov'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
18426
18427                         elif test "x${GENHTML}" = "x"; then
18428                             as_fn_error $? "Cannot find 'genhtml'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
18429
18430                         elif test "${nl_cv_build_coverage_reports}" = "auto"; then
18431                             nl_cv_build_coverage_reports="yes"
18432
18433                         fi
18434                         ;;
18435
18436                     no)
18437                         ;;
18438
18439                 esac
18440                 ;;
18441
18442             esac
18443
18444 fi
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage_reports" >&5
18446 $as_echo "$nl_cv_build_coverage_reports" >&6; }
18447
18448
18449  if test "${nl_cv_build_coverage_reports}" = "yes"; then
18450   NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_TRUE=
18451   NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_FALSE='#'
18452 else
18453   NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_TRUE='#'
18454   NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_FALSE=
18455 fi
18456
18457
18458 # Optimization
18459
18460
18461     # Check whether or not a default value has been passed in.
18462
18463
18464
18465     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-optimized instances of programs and libraries" >&5
18466 $as_echo_n "checking whether to build code-optimized instances of programs and libraries... " >&6; }
18467 if ${nl_cv_build_optimized+:} false; then :
18468   $as_echo_n "(cached) " >&6
18469 else
18470
18471             # Check whether --enable-optimization was given.
18472 if test "${enable_optimization+set}" = set; then :
18473   enableval=$enable_optimization;
18474                     case "${enableval}" in
18475
18476                     no|yes)
18477                         nl_cv_build_optimized=${enableval}
18478
18479                         if test "${nl_cv_build_coverage}" = "yes" && test "${nl_cv_build_optimized}" = "yes"; then
18480                             as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
18481                         fi
18482                         ;;
18483
18484                     *)
18485                         as_fn_error $? "Invalid value ${enableval} for --enable-optimized" "$LINENO" 5
18486                         ;;
18487
18488                     esac
18489
18490 else
18491
18492                     if test "${nl_cv_build_coverage}" = "yes"; then
18493                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-coverage was specified, optimization disabled" >&5
18494 $as_echo "$as_me: WARNING: --enable-coverage was specified, optimization disabled" >&2;}
18495                         nl_cv_build_optimized=no
18496
18497                     else
18498                         nl_cv_build_optimized=yes
18499
18500                     fi
18501
18502 fi
18503
18504
18505 fi
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_optimized" >&5
18507 $as_echo "$nl_cv_build_optimized" >&6; }
18508
18509     if test "${nl_cv_build_optimized}" = "no"; then
18510         CFLAGS="`echo ${CFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18511         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18512         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18513         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
18514     fi
18515
18516
18517
18518  if test "${nl_cv_build_optimized}" = "yes"; then
18519   NLFAULTINJECTION_BUILD_OPTIMIZED_TRUE=
18520   NLFAULTINJECTION_BUILD_OPTIMIZED_FALSE='#'
18521 else
18522   NLFAULTINJECTION_BUILD_OPTIMIZED_TRUE='#'
18523   NLFAULTINJECTION_BUILD_OPTIMIZED_FALSE=
18524 fi
18525
18526
18527 #
18528 # Code style
18529 #
18530 PRETTY_CHECK="\${PERL} \${abs_top_srcdir}/third_party/cstyle/repo/cstyle.pl"
18531
18532 PRETTY_CHECK_ARGS="\$(shell cat \${abs_top_srcdir}/build/cstyle/cstyle.options)"
18533
18534
18535 #
18536 # Tests
18537 #
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
18539 $as_echo "$as_me: checking whether to build tests" >&6;}
18540
18541 # Tests
18542
18543
18544     # Check whether or not a default value has been passed in.
18545
18546
18547
18548     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build tests" >&5
18549 $as_echo_n "checking whether to build tests... " >&6; }
18550 if ${nl_cv_build_tests+:} false; then :
18551   $as_echo_n "(cached) " >&6
18552 else
18553
18554             # Check whether --enable-tests was given.
18555 if test "${enable_tests+set}" = set; then :
18556   enableval=$enable_tests;
18557                     case "${enableval}" in
18558
18559                     no|yes)
18560                         nl_cv_build_tests=${enableval}
18561                         ;;
18562
18563                     *)
18564                         as_fn_error $? "Invalid value ${enableval} for --enable-tests" "$LINENO" 5
18565                         ;;
18566
18567                     esac
18568
18569 else
18570
18571                     nl_cv_build_tests=yes
18572
18573 fi
18574
18575
18576 fi
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_tests" >&5
18578 $as_echo "$nl_cv_build_tests" >&6; }
18579
18580
18581  if test "${nl_cv_build_tests}" = "yes"; then
18582   NLFAULTINJECTION_BUILD_TESTS_TRUE=
18583   NLFAULTINJECTION_BUILD_TESTS_FALSE='#'
18584 else
18585   NLFAULTINJECTION_BUILD_TESTS_TRUE='#'
18586   NLFAULTINJECTION_BUILD_TESTS_FALSE=
18587 fi
18588
18589
18590 #
18591 # Documentation
18592 #
18593
18594 # Determine whether or not documentation (via Doxygen) should be built
18595 # or not, with 'auto' as the default and establish a default support
18596 # value for GraphViz 'dot' support.
18597
18598
18599     # Check whether or not the 'default' value is sane.
18600
18601
18602
18603     # Check whether or not the 'dot_default' value is sane.
18604
18605
18606
18607     DOXYGEN_USE_DOT=NO
18608
18609
18610
18611
18612     # Extract the first word of "doxygen", so it can be a program name with args.
18613 set dummy doxygen; ac_word=$2
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18615 $as_echo_n "checking for $ac_word... " >&6; }
18616 if ${ac_cv_path_DOXYGEN+:} false; then :
18617   $as_echo_n "(cached) " >&6
18618 else
18619   case $DOXYGEN in
18620   [\\/]* | ?:[\\/]*)
18621   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
18622   ;;
18623   *)
18624   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18625 for as_dir in $PATH
18626 do
18627   IFS=$as_save_IFS
18628   test -z "$as_dir" && as_dir=.
18629     for ac_exec_ext in '' $ac_executable_extensions; do
18630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18631     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
18632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18633     break 2
18634   fi
18635 done
18636   done
18637 IFS=$as_save_IFS
18638
18639   ;;
18640 esac
18641 fi
18642 DOXYGEN=$ac_cv_path_DOXYGEN
18643 if test -n "$DOXYGEN"; then
18644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18645 $as_echo "$DOXYGEN" >&6; }
18646 else
18647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18648 $as_echo "no" >&6; }
18649 fi
18650
18651
18652     # Extract the first word of "dot", so it can be a program name with args.
18653 set dummy dot; ac_word=$2
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18655 $as_echo_n "checking for $ac_word... " >&6; }
18656 if ${ac_cv_path_DOT+:} false; then :
18657   $as_echo_n "(cached) " >&6
18658 else
18659   case $DOT in
18660   [\\/]* | ?:[\\/]*)
18661   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18662   ;;
18663   *)
18664   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18665 for as_dir in $PATH
18666 do
18667   IFS=$as_save_IFS
18668   test -z "$as_dir" && as_dir=.
18669     for ac_exec_ext in '' $ac_executable_extensions; do
18670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18671     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18673     break 2
18674   fi
18675 done
18676   done
18677 IFS=$as_save_IFS
18678
18679   ;;
18680 esac
18681 fi
18682 DOT=$ac_cv_path_DOT
18683 if test -n "$DOT"; then
18684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
18685 $as_echo "$DOT" >&6; }
18686 else
18687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18688 $as_echo "no" >&6; }
18689 fi
18690
18691
18692
18693     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
18694 $as_echo_n "checking whether to build documentation... " >&6; }
18695 if ${nl_cv_build_docs+:} false; then :
18696   $as_echo_n "(cached) " >&6
18697 else
18698
18699             # Check whether --enable-docs was given.
18700 if test "${enable_docs+set}" = set; then :
18701   enableval=$enable_docs;
18702                     case "${enableval}" in
18703
18704                     auto|no|yes)
18705                         nl_cv_build_docs=${enableval}
18706                         ;;
18707
18708                     *)
18709                         as_fn_error $? "Invalid value ${enableval} for --disable-docs" "$LINENO" 5
18710                         ;;
18711
18712                     esac
18713
18714 else
18715   nl_cv_build_docs=auto
18716 fi
18717
18718
18719             if test "x${DOXYGEN}" != "x"; then
18720                 nl_cv_have_doxygen=yes
18721             else
18722                 nl_cv_have_doxygen=no
18723             fi
18724
18725             if test "${nl_cv_build_docs}" = "auto"; then
18726                 if test "${nl_cv_have_doxygen}" = "no"; then
18727                     nl_cv_build_docs=no
18728                 else
18729                     nl_cv_build_docs=yes
18730                 fi
18731             fi
18732
18733             if test "${nl_cv_build_docs}" = "yes"; then
18734                 if test "${nl_cv_have_doxygen}" = "no"; then
18735                     as_fn_error $? "Building docs was explicitly requested but Doxygen cannot be found" "$LINENO" 5
18736                 elif test "${nl_cv_have_doxygen}" = "yes"; then
18737                     if test "x${DOT}" != "x"; then
18738                         DOXYGEN_USE_DOT=YES
18739                     fi
18740                 fi
18741             fi
18742
18743 fi
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_docs" >&5
18745 $as_echo "$nl_cv_build_docs" >&6; }
18746
18747
18748
18749
18750  if test "${nl_cv_build_docs}" = "yes"; then
18751   NLFAULTINJECTION_BUILD_DOCS_TRUE=
18752   NLFAULTINJECTION_BUILD_DOCS_FALSE='#'
18753 else
18754   NLFAULTINJECTION_BUILD_DOCS_TRUE='#'
18755   NLFAULTINJECTION_BUILD_DOCS_FALSE=
18756 fi
18757
18758
18759 #
18760 # Checks for libraries and packages.
18761 #
18762 # At minimum, the following packages are required:
18763 #
18764 #   * nlassert
18765 #
18766 # At minimum, the following packages are optional, depending on
18767 # configuration:
18768 #
18769 #   * nlunit-test
18770 #
18771 # All of these are supplied "in package"; however, they may be also
18772 # supplied out of package.
18773 #
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking required and optional package dependencies" >&5
18775 $as_echo "$as_me: checking required and optional package dependencies" >&6;}
18776
18777 # Check if the build host has pkg-config
18778
18779 # Extract the first word of "pkg-config", so it can be a program name with args.
18780 set dummy pkg-config; ac_word=$2
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18782 $as_echo_n "checking for $ac_word... " >&6; }
18783 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18784   $as_echo_n "(cached) " >&6
18785 else
18786   case $PKG_CONFIG in
18787   [\\/]* | ?:[\\/]*)
18788   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18789   ;;
18790   *)
18791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18792 for as_dir in $PATH
18793 do
18794   IFS=$as_save_IFS
18795   test -z "$as_dir" && as_dir=.
18796     for ac_exec_ext in '' $ac_executable_extensions; do
18797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18798     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18800     break 2
18801   fi
18802 done
18803   done
18804 IFS=$as_save_IFS
18805
18806   ;;
18807 esac
18808 fi
18809 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18810 if test -n "$PKG_CONFIG"; then
18811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18812 $as_echo "$PKG_CONFIG" >&6; }
18813 else
18814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18815 $as_echo "no" >&6; }
18816 fi
18817
18818
18819
18820 #
18821 # Nlassert
18822 #
18823
18824
18825
18826
18827
18828
18829     # Influential external variables for the package support
18830
18831
18832
18833
18834
18835     # Allow the user to specify both external headers and libraries
18836     # together (or internal).
18837
18838
18839
18840 # Check whether --with-nlassert was given.
18841 if test "${with_nlassert+set}" = set; then :
18842   withval=$with_nlassert;
18843             if test "${withval}" = "no"; then
18844                 as_fn_error $? "${PACKAGE_NAME} requires the Nlassert package." "$LINENO" 5
18845             elif test "${withval}" = "internal"; then
18846                 nlassert_dir=${withval}
18847                 nl_with_nlassert=${withval}
18848             else
18849                 nlassert_dir=${withval}
18850                 nl_with_nlassert=external
18851             fi
18852
18853 else
18854   nlassert_dir=; nl_with_nlassert=internal
18855 fi
18856
18857
18858     # Allow users to specify external headers and libraries independently.
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869 # Check whether --with-nlassert-includes was given.
18870 if test "${with_nlassert_includes+set}" = set; then :
18871   withval=$with_nlassert_includes;
18872             if test "${withval}" = "no"; then
18873                 as_fn_error $? "${PACKAGE_NAME} requires the Nlassert package." "$LINENO" 5
18874             fi
18875
18876             if test "x${nlassert_dir}" != "x"; then
18877                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlassert=${nlassert_dir}" >&5
18878 $as_echo "$as_me: WARNING: overriding --with-nlassert=${nlassert_dir}" >&2;}
18879             fi
18880
18881             if test "${withval}" = "internal"; then
18882                 nlassert_header_dir=${withval}
18883                 nl_with_nlassert=${withval}
18884             else
18885                 nlassert_header_dir=${withval}
18886                 nl_with_nlassert=external
18887             fi
18888
18889 else
18890
18891             nlassert_header_dir=;
18892             if test "x${nl_with_nlassert}" = "x"; then
18893                 nl_with_nlassert=internal
18894             fi
18895
18896 fi
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908 # Check whether --with-nlassert-libs was given.
18909 if test "${with_nlassert_libs+set}" = set; then :
18910   withval=$with_nlassert_libs;
18911             if test "${withval}" = "no"; then
18912                 as_fn_error $? "${PACKAGE_NAME} requires the Nlassert package." "$LINENO" 5
18913             fi
18914
18915             if test "x${nlassert_dir}" != "x"; then
18916                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlassert=${nlassert_dir}" >&5
18917 $as_echo "$as_me: WARNING: overriding --with-nlassert=${nlassert_dir}" >&2;}
18918             fi
18919
18920             if test "${withval}" = "internal"; then
18921                 nlassert_library_dir=${withval}
18922                 nl_with_nlassert=${withval}
18923             else
18924                 nlassert_library_dir=${withval}
18925                 nl_with_nlassert=external
18926             fi
18927
18928 else
18929
18930             nlassert_library_dir=;
18931             if test "x${nl_with_nlassert}" = "x"; then
18932                 nl_with_nlassert=internal
18933             fi
18934
18935 fi
18936
18937
18938     if test "${nl_with_nlassert}" == "no"; then
18939         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the Nlassert package" >&5
18940 $as_echo_n "checking whether to use the Nlassert package... " >&6; }
18941         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlassert}" >&5
18942 $as_echo "${nl_with_nlassert}" >&6; }
18943
18944     else
18945         { $as_echo "$as_me:${as_lineno-$LINENO}: checking source of the Nlassert package" >&5
18946 $as_echo_n "checking source of the Nlassert package... " >&6; }
18947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlassert}" >&5
18948 $as_echo "${nl_with_nlassert}" >&6; }
18949
18950         # If the user has selected or has defaulted into the internal Nlassert
18951         # package, set the values appropriately. Otherwise, run through the
18952         # usual routine.
18953
18954         if test "${nl_with_nlassert}" = "internal"; then
18955
18956         # At this point, the internal Nlassert package will be neither
18957         # configured nor built, so the normal checks we undertake for an
18958         # external package cannot be run here. Simply set the appropriate
18959         # variables and trust all will be well.
18960
18961         NLASSERT_CPPFLAGS="-I\${abs_top_srcdir}/third_party/nlassert/repo/include"
18962         NLASSERT_LDFLAGS=
18963         NLASSERT_LIBS=
18964
18965
18966         else
18967             # We always prefer checking the values of the various '--with-nlassert-...'
18968             # options first to using pkg-config because the former might be used
18969             # in a cross-compilation environment on a system that also contains
18970             # pkg-config. In such a case, the user wants what he/she specified
18971             # rather than what pkg-config indicates.
18972
18973             if test "x${nlassert_dir}" != "x" -o "x${nlassert_header_dir}" != "x" -o "x${nlassert_library_dir}" != "x"; then
18974                         if test "x${nlassert_dir}" != "x"; then
18975                     if test -d "${nlassert_dir}"; then
18976                         if test -d "${nlassert_dir}/include"; then
18977                             NLASSERT_CPPFLAGS="-I${nlassert_dir}/include"
18978                         else
18979                             NLASSERT_CPPFLAGS="-I${nlassert_dir}"
18980                         fi
18981
18982                         if test -d "${nlassert_dir}/lib"; then
18983                             NLASSERT_LDFLAGS="-L${nlassert_dir}/lib"
18984                         else
18985                             NLASSERT_LDFLAGS="-L${nlassert_dir}"
18986                         fi
18987                     else
18988                         as_fn_error $? "No such directory ${nlassert_dir}" "$LINENO" 5
18989                     fi
18990                 fi
18991
18992                 if test "x${nlassert_header_dir}" != "x"; then
18993                     if test -d "${nlassert_header_dir}"; then
18994                         NLASSERT_CPPFLAGS="-I${nlassert_header_dir}"
18995                     else
18996                         as_fn_error $? "No such directory ${nlassert_header_dir}" "$LINENO" 5
18997                     fi
18998                 fi
18999
19000                 if test "x${nlassert_library_dir}" != "x"; then
19001                     if test -d "${nlassert_library_dir}"; then
19002                         NLASSERT_LDFLAGS="-L${nlassert_library_dir}"
19003                     else
19004                         as_fn_error $? "No such directory ${nlassert_library_dir}" "$LINENO" 5
19005                     fi
19006                 fi
19007
19008                 NLASSERT_LIBS="${NLASSERT_LDFLAGS} "
19009
19010             elif test "x${PKG_CONFIG}" != "x"; then
19011                 if ${PKG_CONFIG} --exists "nlassert"; then
19012                     NLASSERT_CPPFLAGS="`${PKG_CONFIG} --cflags nlassert`"
19013                     NLASSERT_LDFLAGS="`${PKG_CONFIG} --libs-only-L nlassert`"
19014                     NLASSERT_LIBS="`${PKG_CONFIG} --libs-only-l nlassert`"
19015                 else
19016                     as_fn_error $? "Cannot find the nlassert package with ${PKG_CONFIG}. ${PACKAGE_NAME} requires the nlassert package. Try installing the package or use the relevant --with options to configure." "$LINENO" 5
19017                 fi
19018
19019             else
19020                 as_fn_error $? "Cannot find the Nlassert package. ${PACKAGE_NAME} requires the Nlassert package." "$LINENO" 5
19021             fi
19022         fi
19023
19024
19025
19026
19027
19028         if test "${nl_with_nlassert}" != "internal" -a "${nl_with_nlassert}" != "no"; then
19029             nl_saved_CPPFLAGS="${CPPFLAGS}"
19030             nl_saved_LDFLAGS="${LDFLAGS}"
19031             nl_saved_LIBS="${LIBS}"
19032
19033             CPPFLAGS="${CPPFLAGS} ${NLASSERT_CPPFLAGS}"
19034             LDFLAGS="${LDFLAGS} ${NLASSERT_LDFLAGS}"
19035             LIBS="${LIBS} ${NLASSERT_LIBS}"
19036
19037
19038         # Check for required Nlassert headers.
19039
19040         for ac_header in nlassert.h
19041 do :
19042   ac_fn_c_check_header_mongrel "$LINENO" "nlassert.h" "ac_cv_header_nlassert_h" "$ac_includes_default"
19043 if test "x$ac_cv_header_nlassert_h" = xyes; then :
19044   cat >>confdefs.h <<_ACEOF
19045 #define HAVE_NLASSERT_H 1
19046 _ACEOF
19047
19048 else
19049
19050             as_fn_error $? "The nlassert header \"$ac_header\" is required but cannot be found." "$LINENO" 5
19051
19052 fi
19053
19054 done
19055
19056
19057
19058
19059             CPPFLAGS="${nl_saved_CPPFLAGS}"
19060             LDFLAGS="${nl_saved_LDFLAGS}"
19061             LIBS="${nl_saved_LIBS}"
19062         fi
19063     fi
19064
19065
19066 # Depending on whether nlassert has been configured for an internal
19067 # location, its directory stem within this package needs to be set
19068 # accordingly. In addition, if the location is internal, then we need
19069 # to attempt to pull it down using the bootstrap makefile.
19070
19071 if test "${nl_with_nlassert}" = "internal"; then
19072     maybe_nlassert_dirstem="nlassert/repo"
19073     nlassert_dirstem="third_party/${maybe_nlassert_dirstem}"
19074
19075     { $as_echo "$as_me:${as_lineno-$LINENO}: attempting to create internal ${nlassert_dirstem}" >&5
19076 $as_echo "$as_me: attempting to create internal ${nlassert_dirstem}" >&6;}
19077
19078     ${MAKE-make} --no-print-directory -C ${srcdir} -f Makefile-bootstrap ${nlassert_dirstem}
19079
19080     if test $? -ne 0; then
19081         as_fn_error $? "failed to create ${nlassert_dirstem}. Please check your network connection or the correctness of 'repos.conf'" "$LINENO" 5
19082     fi
19083 else
19084     maybe_nlassert_dirstem=""
19085 fi
19086
19087 NLASSERT_SUBDIRS=${maybe_nlassert_dirstem}
19088
19089  if test "${nl_with_nlassert}" = "internal"; then
19090   NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_TRUE=
19091   NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_FALSE='#'
19092 else
19093   NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_TRUE='#'
19094   NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_FALSE=
19095 fi
19096
19097
19098 #
19099 # Nlunit-test
19100 #
19101
19102 if test "${nl_cv_build_tests}" = "yes"; then
19103
19104
19105
19106
19107
19108     # Influential external variables for the package support
19109
19110
19111
19112
19113
19114     # Allow the user to specify both external headers and libraries
19115     # together (or internal).
19116
19117
19118
19119 # Check whether --with-nlunit_test was given.
19120 if test "${with_nlunit_test+set}" = set; then :
19121   withval=$with_nlunit_test;
19122             if test "${withval}" = "no"; then
19123                 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
19124             elif test "${withval}" = "internal"; then
19125                 nlunit_test_dir=${withval}
19126                 nl_with_nlunit_test=${withval}
19127             else
19128                 nlunit_test_dir=${withval}
19129                 nl_with_nlunit_test=external
19130             fi
19131
19132 else
19133   nlunit_test_dir=; nl_with_nlunit_test=internal
19134 fi
19135
19136
19137     # Allow users to specify external headers and libraries independently.
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148 # Check whether --with-nlunit_test-includes was given.
19149 if test "${with_nlunit_test_includes+set}" = set; then :
19150   withval=$with_nlunit_test_includes;
19151             if test "${withval}" = "no"; then
19152                 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
19153             fi
19154
19155             if test "x${nlunit_test_dir}" != "x"; then
19156                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&5
19157 $as_echo "$as_me: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&2;}
19158             fi
19159
19160             if test "${withval}" = "internal"; then
19161                 nlunit_test_header_dir=${withval}
19162                 nl_with_nlunit_test=${withval}
19163             else
19164                 nlunit_test_header_dir=${withval}
19165                 nl_with_nlunit_test=external
19166             fi
19167
19168 else
19169
19170             nlunit_test_header_dir=;
19171             if test "x${nl_with_nlunit_test}" = "x"; then
19172                 nl_with_nlunit_test=internal
19173             fi
19174
19175 fi
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187 # Check whether --with-nlunit_test-libs was given.
19188 if test "${with_nlunit_test_libs+set}" = set; then :
19189   withval=$with_nlunit_test_libs;
19190             if test "${withval}" = "no"; then
19191                 as_fn_error $? "${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
19192             fi
19193
19194             if test "x${nlunit_test_dir}" != "x"; then
19195                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&5
19196 $as_echo "$as_me: WARNING: overriding --with-nlunit_test=${nlunit_test_dir}" >&2;}
19197             fi
19198
19199             if test "${withval}" = "internal"; then
19200                 nlunit_test_library_dir=${withval}
19201                 nl_with_nlunit_test=${withval}
19202             else
19203                 nlunit_test_library_dir=${withval}
19204                 nl_with_nlunit_test=external
19205             fi
19206
19207 else
19208
19209             nlunit_test_library_dir=;
19210             if test "x${nl_with_nlunit_test}" = "x"; then
19211                 nl_with_nlunit_test=internal
19212             fi
19213
19214 fi
19215
19216
19217     if test "${nl_with_nlunit_test}" == "no"; then
19218         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the Nlunit-test package" >&5
19219 $as_echo_n "checking whether to use the Nlunit-test package... " >&6; }
19220         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlunit_test}" >&5
19221 $as_echo "${nl_with_nlunit_test}" >&6; }
19222
19223     else
19224         { $as_echo "$as_me:${as_lineno-$LINENO}: checking source of the Nlunit-test package" >&5
19225 $as_echo_n "checking source of the Nlunit-test package... " >&6; }
19226         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${nl_with_nlunit_test}" >&5
19227 $as_echo "${nl_with_nlunit_test}" >&6; }
19228
19229         # If the user has selected or has defaulted into the internal Nlunit-test
19230         # package, set the values appropriately. Otherwise, run through the
19231         # usual routine.
19232
19233         if test "${nl_with_nlunit_test}" = "internal"; then
19234
19235             # At this point, the internal Nlunit-test package will be neither
19236             # configured nor built, so the normal checks we undertake for an
19237             # external package cannot be run here. Simply set the appropriate
19238             # variables and trust all will be well.
19239
19240             NLUNIT_TEST_CPPFLAGS="-I\${abs_top_srcdir}/third_party/nlunit-test/repo/src"
19241             NLUNIT_TEST_LDFLAGS="-L${ac_pwd}/third_party/nlunit-test/repo/src"
19242             NLUNIT_TEST_LIBS="-lnlunit-test"
19243
19244
19245         else
19246             # We always prefer checking the values of the various '--with-nlunit_test-...'
19247             # options first to using pkg-config because the former might be used
19248             # in a cross-compilation environment on a system that also contains
19249             # pkg-config. In such a case, the user wants what he/she specified
19250             # rather than what pkg-config indicates.
19251
19252             if test "x${nlunit_test_dir}" != "x" -o "x${nlunit_test_header_dir}" != "x" -o "x${nlunit_test_library_dir}" != "x"; then
19253                         if test "x${nlunit_test_dir}" != "x"; then
19254                     if test -d "${nlunit_test_dir}"; then
19255                         if test -d "${nlunit_test_dir}/include"; then
19256                             NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_dir}/include"
19257                         else
19258                             NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_dir}"
19259                         fi
19260
19261                         if test -d "${nlunit_test_dir}/lib"; then
19262                             NLUNIT_TEST_LDFLAGS="-L${nlunit_test_dir}/lib"
19263                         else
19264                             NLUNIT_TEST_LDFLAGS="-L${nlunit_test_dir}"
19265                         fi
19266                     else
19267                         as_fn_error $? "No such directory ${nlunit_test_dir}" "$LINENO" 5
19268                     fi
19269                 fi
19270
19271                 if test "x${nlunit_test_header_dir}" != "x"; then
19272                     if test -d "${nlunit_test_header_dir}"; then
19273                         NLUNIT_TEST_CPPFLAGS="-I${nlunit_test_header_dir}"
19274                     else
19275                         as_fn_error $? "No such directory ${nlunit_test_header_dir}" "$LINENO" 5
19276                     fi
19277                 fi
19278
19279                 if test "x${nlunit_test_library_dir}" != "x"; then
19280                     if test -d "${nlunit_test_library_dir}"; then
19281                         NLUNIT_TEST_LDFLAGS="-L${nlunit_test_library_dir}"
19282                     else
19283                         as_fn_error $? "No such directory ${nlunit_test_library_dir}" "$LINENO" 5
19284                     fi
19285                 fi
19286
19287                 NLUNIT_TEST_LIBS="${NLUNIT_TEST_LDFLAGS} -lnlunit-test"
19288
19289             elif test "x${PKG_CONFIG}" != "x"; then
19290                 if ${PKG_CONFIG} --exists "nlunit_test"; then
19291                     NLUNIT_TEST_CPPFLAGS="`${PKG_CONFIG} --cflags nlunit_test`"
19292                     NLUNIT_TEST_LDFLAGS="`${PKG_CONFIG} --libs-only-L nlunit_test`"
19293                     NLUNIT_TEST_LIBS="`${PKG_CONFIG} --libs-only-l nlunit_test`"
19294                 else
19295                     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
19296                 fi
19297
19298             else
19299                 as_fn_error $? "Cannot find the Nlunit-test package. ${PACKAGE_NAME} requires the Nlunit-test package." "$LINENO" 5
19300             fi
19301         fi
19302
19303
19304
19305
19306
19307         if test "${nl_with_nlunit_test}" != "internal" -a "${nl_with_nlunit_test}" != "no"; then
19308             nl_saved_CPPFLAGS="${CPPFLAGS}"
19309             nl_saved_LDFLAGS="${LDFLAGS}"
19310             nl_saved_LIBS="${LIBS}"
19311
19312             CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
19313             LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
19314             LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
19315
19316
19317             # Check for required nlunit-test headers.
19318
19319             for ac_header in nlunit-test.h
19320 do :
19321   ac_fn_c_check_header_mongrel "$LINENO" "nlunit-test.h" "ac_cv_header_nlunit_test_h" "$ac_includes_default"
19322 if test "x$ac_cv_header_nlunit_test_h" = xyes; then :
19323   cat >>confdefs.h <<_ACEOF
19324 #define HAVE_NLUNIT_TEST_H 1
19325 _ACEOF
19326
19327 else
19328
19329                 as_fn_error $? "The nlunit-test header \"$ac_header\" is required but cannot be found." "$LINENO" 5
19330
19331 fi
19332
19333 done
19334
19335
19336
19337             CPPFLAGS="${nl_saved_CPPFLAGS}"
19338             LDFLAGS="${nl_saved_LDFLAGS}"
19339             LIBS="${nl_saved_LIBS}"
19340         fi
19341     fi
19342
19343 fi
19344
19345 # Depending on whether nlunit-test has been configured for an internal
19346 # location, its directory stem within this package needs to be set
19347 # accordingly. In addition, if the location is internal, then we need
19348 # to attempt to pull it down using the bootstrap makefile.
19349
19350 if test "${nl_with_nlunit_test}" = "internal"; then
19351     maybe_nlunit_test_dirstem="nlunit-test/repo"
19352     nlunit_test_dirstem="third_party/${maybe_nlunit_test_dirstem}"
19353
19354     { $as_echo "$as_me:${as_lineno-$LINENO}: attempting to create internal ${nlunit_test_dirstem}" >&5
19355 $as_echo "$as_me: attempting to create internal ${nlunit_test_dirstem}" >&6;}
19356
19357     ${MAKE-make} --no-print-directory -C ${srcdir} -f Makefile-bootstrap ${nlunit_test_dirstem}
19358
19359     if test $? -ne 0; then
19360         as_fn_error $? "failed to create ${nlunit_test_dirstem}. Please check your network connection or the correctness of 'repos.conf'" "$LINENO" 5
19361     fi
19362 else
19363     maybe_nlunit_test_dirstem=""
19364 fi
19365
19366 NLUNIT_TEST_SUBDIRS=${maybe_nlunit_test_dirstem}
19367
19368  if test "${nl_with_nlunit_test}" = "internal"; then
19369   NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_TRUE=
19370   NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_FALSE='#'
19371 else
19372   NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_TRUE='#'
19373   NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_FALSE=
19374 fi
19375
19376
19377 #
19378 # Check for headers
19379 #
19380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
19381 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
19382 if ${ac_cv_header_stdbool_h+:} false; then :
19383   $as_echo_n "(cached) " >&6
19384 else
19385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h.  */
19387
19388 #include <stdbool.h>
19389 #ifndef bool
19390  "error: bool is not defined"
19391 #endif
19392 #ifndef false
19393  "error: false is not defined"
19394 #endif
19395 #if false
19396  "error: false is not 0"
19397 #endif
19398 #ifndef true
19399  "error: true is not defined"
19400 #endif
19401 #if true != 1
19402  "error: true is not 1"
19403 #endif
19404 #ifndef __bool_true_false_are_defined
19405  "error: __bool_true_false_are_defined is not defined"
19406 #endif
19407
19408         struct s { _Bool s: 1; _Bool t; } s;
19409
19410         char a[true == 1 ? 1 : -1];
19411         char b[false == 0 ? 1 : -1];
19412         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
19413         char d[(bool) 0.5 == true ? 1 : -1];
19414         /* See body of main program for 'e'.  */
19415         char f[(_Bool) 0.0 == false ? 1 : -1];
19416         char g[true];
19417         char h[sizeof (_Bool)];
19418         char i[sizeof s.t];
19419         enum { j = false, k = true, l = false * true, m = true * 256 };
19420         /* The following fails for
19421            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
19422         _Bool n[m];
19423         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
19424         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
19425         /* Catch a bug in an HP-UX C compiler.  See
19426            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
19427            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
19428          */
19429         _Bool q = true;
19430         _Bool *pq = &q;
19431
19432 int
19433 main ()
19434 {
19435
19436         bool e = &s;
19437         *pq |= q;
19438         *pq |= ! q;
19439         /* Refer to every declared value, to avoid compiler optimizations.  */
19440         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
19441                 + !m + !n + !o + !p + !q + !pq);
19442
19443   ;
19444   return 0;
19445 }
19446 _ACEOF
19447 if ac_fn_c_try_compile "$LINENO"; then :
19448   ac_cv_header_stdbool_h=yes
19449 else
19450   ac_cv_header_stdbool_h=no
19451 fi
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19453 fi
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
19455 $as_echo "$ac_cv_header_stdbool_h" >&6; }
19456 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
19457 if test "x$ac_cv_type__Bool" = xyes; then :
19458
19459 cat >>confdefs.h <<_ACEOF
19460 #define HAVE__BOOL 1
19461 _ACEOF
19462
19463
19464 fi
19465
19466 if test $ac_cv_header_stdbool_h = yes; then
19467
19468 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
19469
19470 fi
19471
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19473 $as_echo_n "checking for ANSI C header files... " >&6; }
19474 if ${ac_cv_header_stdc+:} false; then :
19475   $as_echo_n "(cached) " >&6
19476 else
19477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19478 /* end confdefs.h.  */
19479 #include <stdlib.h>
19480 #include <stdarg.h>
19481 #include <string.h>
19482 #include <float.h>
19483
19484 int
19485 main ()
19486 {
19487
19488   ;
19489   return 0;
19490 }
19491 _ACEOF
19492 if ac_fn_c_try_compile "$LINENO"; then :
19493   ac_cv_header_stdc=yes
19494 else
19495   ac_cv_header_stdc=no
19496 fi
19497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19498
19499 if test $ac_cv_header_stdc = yes; then
19500   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h.  */
19503 #include <string.h>
19504
19505 _ACEOF
19506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19507   $EGREP "memchr" >/dev/null 2>&1; then :
19508
19509 else
19510   ac_cv_header_stdc=no
19511 fi
19512 rm -f conftest*
19513
19514 fi
19515
19516 if test $ac_cv_header_stdc = yes; then
19517   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h.  */
19520 #include <stdlib.h>
19521
19522 _ACEOF
19523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19524   $EGREP "free" >/dev/null 2>&1; then :
19525
19526 else
19527   ac_cv_header_stdc=no
19528 fi
19529 rm -f conftest*
19530
19531 fi
19532
19533 if test $ac_cv_header_stdc = yes; then
19534   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19535   if test "$cross_compiling" = yes; then :
19536   :
19537 else
19538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19539 /* end confdefs.h.  */
19540 #include <ctype.h>
19541 #include <stdlib.h>
19542 #if ((' ' & 0x0FF) == 0x020)
19543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19545 #else
19546 # define ISLOWER(c) \
19547                    (('a' <= (c) && (c) <= 'i') \
19548                      || ('j' <= (c) && (c) <= 'r') \
19549                      || ('s' <= (c) && (c) <= 'z'))
19550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19551 #endif
19552
19553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19554 int
19555 main ()
19556 {
19557   int i;
19558   for (i = 0; i < 256; i++)
19559     if (XOR (islower (i), ISLOWER (i))
19560         || toupper (i) != TOUPPER (i))
19561       return 2;
19562   return 0;
19563 }
19564 _ACEOF
19565 if ac_fn_c_try_run "$LINENO"; then :
19566
19567 else
19568   ac_cv_header_stdc=no
19569 fi
19570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19571   conftest.$ac_objext conftest.beam conftest.$ac_ext
19572 fi
19573
19574 fi
19575 fi
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19577 $as_echo "$ac_cv_header_stdc" >&6; }
19578 if test $ac_cv_header_stdc = yes; then
19579
19580 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19581
19582 fi
19583
19584
19585 for ac_header in stdint.h
19586 do :
19587   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
19588 if test "x$ac_cv_header_stdint_h" = xyes; then :
19589   cat >>confdefs.h <<_ACEOF
19590 #define HAVE_STDINT_H 1
19591 _ACEOF
19592
19593 fi
19594
19595 done
19596
19597 for ac_header in string.h
19598 do :
19599   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
19600 if test "x$ac_cv_header_string_h" = xyes; then :
19601   cat >>confdefs.h <<_ACEOF
19602 #define HAVE_STRING_H 1
19603 _ACEOF
19604
19605 fi
19606
19607 done
19608
19609 for ac_header in stdlib.h
19610 do :
19611   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19612 if test "x$ac_cv_header_stdlib_h" = xyes; then :
19613   cat >>confdefs.h <<_ACEOF
19614 #define HAVE_STDLIB_H 1
19615 _ACEOF
19616
19617 fi
19618
19619 done
19620
19621
19622 #
19623 # Check for types and structures
19624 #
19625 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
19626 case $ac_cv_c_int8_t in #(
19627   no|yes) ;; #(
19628   *)
19629
19630 cat >>confdefs.h <<_ACEOF
19631 #define int8_t $ac_cv_c_int8_t
19632 _ACEOF
19633 ;;
19634 esac
19635
19636 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
19637 case $ac_cv_c_int16_t in #(
19638   no|yes) ;; #(
19639   *)
19640
19641 cat >>confdefs.h <<_ACEOF
19642 #define int16_t $ac_cv_c_int16_t
19643 _ACEOF
19644 ;;
19645 esac
19646
19647 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
19648 case $ac_cv_c_int32_t in #(
19649   no|yes) ;; #(
19650   *)
19651
19652 cat >>confdefs.h <<_ACEOF
19653 #define int32_t $ac_cv_c_int32_t
19654 _ACEOF
19655 ;;
19656 esac
19657
19658 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
19659 case $ac_cv_c_int64_t in #(
19660   no|yes) ;; #(
19661   *)
19662
19663 cat >>confdefs.h <<_ACEOF
19664 #define int64_t $ac_cv_c_int64_t
19665 _ACEOF
19666 ;;
19667 esac
19668
19669 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
19670 case $ac_cv_c_uint8_t in #(
19671   no|yes) ;; #(
19672   *)
19673
19674 $as_echo "#define _UINT8_T 1" >>confdefs.h
19675
19676
19677 cat >>confdefs.h <<_ACEOF
19678 #define uint8_t $ac_cv_c_uint8_t
19679 _ACEOF
19680 ;;
19681   esac
19682
19683 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
19684 case $ac_cv_c_uint16_t in #(
19685   no|yes) ;; #(
19686   *)
19687
19688
19689 cat >>confdefs.h <<_ACEOF
19690 #define uint16_t $ac_cv_c_uint16_t
19691 _ACEOF
19692 ;;
19693   esac
19694
19695 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
19696 case $ac_cv_c_uint32_t in #(
19697   no|yes) ;; #(
19698   *)
19699
19700 $as_echo "#define _UINT32_T 1" >>confdefs.h
19701
19702
19703 cat >>confdefs.h <<_ACEOF
19704 #define uint32_t $ac_cv_c_uint32_t
19705 _ACEOF
19706 ;;
19707   esac
19708
19709 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
19710 case $ac_cv_c_uint64_t in #(
19711   no|yes) ;; #(
19712   *)
19713
19714 $as_echo "#define _UINT64_T 1" >>confdefs.h
19715
19716
19717 cat >>confdefs.h <<_ACEOF
19718 #define uint64_t $ac_cv_c_uint64_t
19719 _ACEOF
19720 ;;
19721   esac
19722
19723
19724 #
19725 # Checks for library functions
19726 #
19727
19728 if test "${ac_no_link}" != "yes"; then
19729     for ac_func in rand
19730 do :
19731   ac_fn_c_check_func "$LINENO" "rand" "ac_cv_func_rand"
19732 if test "x$ac_cv_func_rand" = xyes; then :
19733   cat >>confdefs.h <<_ACEOF
19734 #define HAVE_RAND 1
19735 _ACEOF
19736
19737 fi
19738 done
19739
19740 fi
19741
19742 # Add any nlassert CPPFLAGS, LDFLAGS, and LIBS
19743
19744 CPPFLAGS="${CPPFLAGS} ${NLASSERT_CPPFLAGS}"
19745 LDFLAGS="${LDFLAGS} ${NLASSERT_LDFLAGS}"
19746 LIBS="${LIBS} ${NLASSERT_LIBS}"
19747
19748 # Add any nlunit-test CPPFLAGS, LDFLAGS, and LIBS
19749
19750 CPPFLAGS="${CPPFLAGS} ${NLUNIT_TEST_CPPFLAGS}"
19751 LDFLAGS="${LDFLAGS} ${NLUNIT_TEST_LDFLAGS}"
19752 LIBS="${LIBS} ${NLUNIT_TEST_LIBS}"
19753
19754 # Add any code coverage CPPFLAGS and LIBS
19755
19756 CPPFLAGS="${CPPFLAGS} ${NL_COVERAGE_CPPFLAGS}"
19757 LDFLAGS="${LDFLAGS} ${NL_COVERAGE_LDFLAGS}"
19758 LIBS="${LIBS} ${NL_COVERAGE_LIBS}"
19759
19760 # At this point, we can restore the compiler flags to whatever the
19761 # user passed in, now that we're clear of any -Werror issues by
19762 # transforming -Wno-error back to -Werror.
19763
19764
19765
19766     if test "${nl_had_OBJCXXFLAGS_werror}" = "yes"; then
19767         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19768     fi
19769
19770     unset nl_had_OBJCXXFLAGS_werror
19771
19772
19773     if test "${nl_had_OBJCFLAGS_werror}" = "yes"; then
19774         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19775     fi
19776
19777     unset nl_had_OBJCFLAGS_werror
19778
19779
19780     if test "${nl_had_CXXFLAGS_werror}" = "yes"; then
19781         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19782     fi
19783
19784     unset nl_had_CXXFLAGS_werror
19785
19786
19787     if test "${nl_had_CFLAGS_werror}" = "yes"; then
19788         CFLAGS="`echo ${CFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19789     fi
19790
19791     unset nl_had_CFLAGS_werror
19792
19793
19794     if test "${nl_had_CPPFLAGS_werror}" = "yes"; then
19795         CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
19796     fi
19797
19798     unset nl_had_CPPFLAGS_werror
19799
19800
19801
19802 # Configure any autotools-based subdirectories
19803
19804 if test "${nl_with_nlassert}" = "internal"; then
19805
19806
19807 subdirs="$subdirs third_party/nlassert/repo"
19808
19809     NLASSERT_FOREIGN_SUBDIR_DEPENDENCY="${ac_pwd}/third_party/nlassert/repo/include"
19810
19811 fi
19812
19813 if test "${nl_with_nlunit_test}" = "internal"; then
19814     subdirs="$subdirs third_party/nlunit-test/repo"
19815
19816     NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY="${ac_pwd}/third_party/nlunit-test/repo/src"
19817
19818 fi
19819
19820 #
19821 # Identify the various makefiles and auto-generated files for the package
19822 #
19823 ac_config_files="$ac_config_files Makefile third_party/Makefile include/Makefile src/Makefile tests/Makefile doc/Makefile"
19824
19825
19826 #
19827 # Generate the auto-generated files for the package
19828 #
19829 cat >confcache <<\_ACEOF
19830 # This file is a shell script that caches the results of configure
19831 # tests run on this system so they can be shared between configure
19832 # scripts and configure runs, see configure's option --config-cache.
19833 # It is not useful on other systems.  If it contains results you don't
19834 # want to keep, you may remove or edit it.
19835 #
19836 # config.status only pays attention to the cache file if you give it
19837 # the --recheck option to rerun configure.
19838 #
19839 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19840 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19841 # following values.
19842
19843 _ACEOF
19844
19845 # The following way of writing the cache mishandles newlines in values,
19846 # but we know of no workaround that is simple, portable, and efficient.
19847 # So, we kill variables containing newlines.
19848 # Ultrix sh set writes to stderr and can't be redirected directly,
19849 # and sets the high bit in the cache file unless we assign to the vars.
19850 (
19851   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19852     eval ac_val=\$$ac_var
19853     case $ac_val in #(
19854     *${as_nl}*)
19855       case $ac_var in #(
19856       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19857 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19858       esac
19859       case $ac_var in #(
19860       _ | IFS | as_nl) ;; #(
19861       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19862       *) { eval $ac_var=; unset $ac_var;} ;;
19863       esac ;;
19864     esac
19865   done
19866
19867   (set) 2>&1 |
19868     case $as_nl`(ac_space=' '; set) 2>&1` in #(
19869     *${as_nl}ac_space=\ *)
19870       # `set' does not quote correctly, so add quotes: double-quote
19871       # substitution turns \\\\ into \\, and sed turns \\ into \.
19872       sed -n \
19873         "s/'/'\\\\''/g;
19874           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19875       ;; #(
19876     *)
19877       # `set' quotes correctly as required by POSIX, so do not add quotes.
19878       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19879       ;;
19880     esac |
19881     sort
19882 ) |
19883   sed '
19884      /^ac_cv_env_/b end
19885      t clear
19886      :clear
19887      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19888      t end
19889      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19890      :end' >>confcache
19891 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19892   if test -w "$cache_file"; then
19893     if test "x$cache_file" != "x/dev/null"; then
19894       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19895 $as_echo "$as_me: updating cache $cache_file" >&6;}
19896       if test ! -f "$cache_file" || test -h "$cache_file"; then
19897         cat confcache >"$cache_file"
19898       else
19899         case $cache_file in #(
19900         */* | ?:*)
19901           mv -f confcache "$cache_file"$$ &&
19902           mv -f "$cache_file"$$ "$cache_file" ;; #(
19903         *)
19904           mv -f confcache "$cache_file" ;;
19905         esac
19906       fi
19907     fi
19908   else
19909     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19910 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19911   fi
19912 fi
19913 rm -f confcache
19914
19915 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19916 # Let make expand exec_prefix.
19917 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19918
19919 DEFS=-DHAVE_CONFIG_H
19920
19921 ac_libobjs=
19922 ac_ltlibobjs=
19923 U=
19924 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19925   # 1. Remove the extension, and $U if already installed.
19926   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19927   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19928   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19929   #    will be set to the directory where LIBOBJS objects are built.
19930   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19931   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19932 done
19933 LIBOBJS=$ac_libobjs
19934
19935 LTLIBOBJS=$ac_ltlibobjs
19936
19937
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19939 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19940    if test -n "$am_sleep_pid"; then
19941      # Hide warnings about reused PIDs.
19942      wait $am_sleep_pid 2>/dev/null
19943    fi
19944    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19945 $as_echo "done" >&6; }
19946  if test -n "$EXEEXT"; then
19947   am__EXEEXT_TRUE=
19948   am__EXEEXT_FALSE='#'
19949 else
19950   am__EXEEXT_TRUE='#'
19951   am__EXEEXT_FALSE=
19952 fi
19953
19954 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19955   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19957 fi
19958 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19959   as_fn_error $? "conditional \"AMDEP\" was never defined.
19960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19961 fi
19962 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19963   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19965 fi
19966 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19967   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19969 fi
19970 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19971   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19973 fi
19974 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19975   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19977 fi
19978 if test -z "${NLFAULTINJECTION_BUILD_DEBUG_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_DEBUG_FALSE}"; then
19979   as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_DEBUG\" was never defined.
19980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19981 fi
19982 if test -z "${NLFAULTINJECTION_BUILD_COVERAGE_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_COVERAGE_FALSE}"; then
19983   as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_COVERAGE\" was never defined.
19984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19985 fi
19986 if test -z "${NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_COVERAGE_REPORTS_FALSE}"; then
19987   as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_COVERAGE_REPORTS\" was never defined.
19988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19989 fi
19990 if test -z "${NLFAULTINJECTION_BUILD_OPTIMIZED_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_OPTIMIZED_FALSE}"; then
19991   as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_OPTIMIZED\" was never defined.
19992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19993 fi
19994 if test -z "${NLFAULTINJECTION_BUILD_TESTS_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_TESTS_FALSE}"; then
19995   as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_TESTS\" was never defined.
19996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19997 fi
19998 if test -z "${NLFAULTINJECTION_BUILD_DOCS_TRUE}" && test -z "${NLFAULTINJECTION_BUILD_DOCS_FALSE}"; then
19999   as_fn_error $? "conditional \"NLFAULTINJECTION_BUILD_DOCS\" was never defined.
20000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20001 fi
20002 if test -z "${NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_TRUE}" && test -z "${NLFAULTINJECTION_WITH_NLASSERT_INTERNAL_FALSE}"; then
20003   as_fn_error $? "conditional \"NLFAULTINJECTION_WITH_NLASSERT_INTERNAL\" was never defined.
20004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20005 fi
20006 if test -z "${NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_TRUE}" && test -z "${NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL_FALSE}"; then
20007   as_fn_error $? "conditional \"NLFAULTINJECTION_WITH_NLUNIT_TEST_INTERNAL\" was never defined.
20008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20009 fi
20010
20011 : "${CONFIG_STATUS=./config.status}"
20012 ac_write_fail=0
20013 ac_clean_files_save=$ac_clean_files
20014 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20016 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20017 as_write_fail=0
20018 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20019 #! $SHELL
20020 # Generated by $as_me.
20021 # Run this file to recreate the current configuration.
20022 # Compiler output produced by configure, useful for debugging
20023 # configure, is in config.log if it exists.
20024
20025 debug=false
20026 ac_cs_recheck=false
20027 ac_cs_silent=false
20028
20029 SHELL=\${CONFIG_SHELL-$SHELL}
20030 export SHELL
20031 _ASEOF
20032 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20033 ## -------------------- ##
20034 ## M4sh Initialization. ##
20035 ## -------------------- ##
20036
20037 # Be more Bourne compatible
20038 DUALCASE=1; export DUALCASE # for MKS sh
20039 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20040   emulate sh
20041   NULLCMD=:
20042   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20043   # is contrary to our usage.  Disable this feature.
20044   alias -g '${1+"$@"}'='"$@"'
20045   setopt NO_GLOB_SUBST
20046 else
20047   case `(set -o) 2>/dev/null` in #(
20048   *posix*) :
20049     set -o posix ;; #(
20050   *) :
20051      ;;
20052 esac
20053 fi
20054
20055
20056 as_nl='
20057 '
20058 export as_nl
20059 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20060 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20061 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20062 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20063 # Prefer a ksh shell builtin over an external printf program on Solaris,
20064 # but without wasting forks for bash or zsh.
20065 if test -z "$BASH_VERSION$ZSH_VERSION" \
20066     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20067   as_echo='print -r --'
20068   as_echo_n='print -rn --'
20069 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20070   as_echo='printf %s\n'
20071   as_echo_n='printf %s'
20072 else
20073   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20074     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20075     as_echo_n='/usr/ucb/echo -n'
20076   else
20077     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20078     as_echo_n_body='eval
20079       arg=$1;
20080       case $arg in #(
20081       *"$as_nl"*)
20082         expr "X$arg" : "X\\(.*\\)$as_nl";
20083         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20084       esac;
20085       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20086     '
20087     export as_echo_n_body
20088     as_echo_n='sh -c $as_echo_n_body as_echo'
20089   fi
20090   export as_echo_body
20091   as_echo='sh -c $as_echo_body as_echo'
20092 fi
20093
20094 # The user is always right.
20095 if test "${PATH_SEPARATOR+set}" != set; then
20096   PATH_SEPARATOR=:
20097   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20098     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20099       PATH_SEPARATOR=';'
20100   }
20101 fi
20102
20103
20104 # IFS
20105 # We need space, tab and new line, in precisely that order.  Quoting is
20106 # there to prevent editors from complaining about space-tab.
20107 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20108 # splitting by setting IFS to empty value.)
20109 IFS=" ""        $as_nl"
20110
20111 # Find who we are.  Look in the path if we contain no directory separator.
20112 as_myself=
20113 case $0 in #((
20114   *[\\/]* ) as_myself=$0 ;;
20115   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20116 for as_dir in $PATH
20117 do
20118   IFS=$as_save_IFS
20119   test -z "$as_dir" && as_dir=.
20120     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20121   done
20122 IFS=$as_save_IFS
20123
20124      ;;
20125 esac
20126 # We did not find ourselves, most probably we were run as `sh COMMAND'
20127 # in which case we are not to be found in the path.
20128 if test "x$as_myself" = x; then
20129   as_myself=$0
20130 fi
20131 if test ! -f "$as_myself"; then
20132   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20133   exit 1
20134 fi
20135
20136 # Unset variables that we do not need and which cause bugs (e.g. in
20137 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
20138 # suppresses any "Segmentation fault" message there.  '((' could
20139 # trigger a bug in pdksh 5.2.14.
20140 for as_var in BASH_ENV ENV MAIL MAILPATH
20141 do eval test x\${$as_var+set} = xset \
20142   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20143 done
20144 PS1='$ '
20145 PS2='> '
20146 PS4='+ '
20147
20148 # NLS nuisances.
20149 LC_ALL=C
20150 export LC_ALL
20151 LANGUAGE=C
20152 export LANGUAGE
20153
20154 # CDPATH.
20155 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20156
20157
20158 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20159 # ----------------------------------------
20160 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20161 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20162 # script with STATUS, using 1 if that was 0.
20163 as_fn_error ()
20164 {
20165   as_status=$1; test $as_status -eq 0 && as_status=1
20166   if test "$4"; then
20167     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20168     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20169   fi
20170   $as_echo "$as_me: error: $2" >&2
20171   as_fn_exit $as_status
20172 } # as_fn_error
20173
20174
20175 # as_fn_set_status STATUS
20176 # -----------------------
20177 # Set $? to STATUS, without forking.
20178 as_fn_set_status ()
20179 {
20180   return $1
20181 } # as_fn_set_status
20182
20183 # as_fn_exit STATUS
20184 # -----------------
20185 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20186 as_fn_exit ()
20187 {
20188   set +e
20189   as_fn_set_status $1
20190   exit $1
20191 } # as_fn_exit
20192
20193 # as_fn_unset VAR
20194 # ---------------
20195 # Portably unset VAR.
20196 as_fn_unset ()
20197 {
20198   { eval $1=; unset $1;}
20199 }
20200 as_unset=as_fn_unset
20201 # as_fn_append VAR VALUE
20202 # ----------------------
20203 # Append the text in VALUE to the end of the definition contained in VAR. Take
20204 # advantage of any shell optimizations that allow amortized linear growth over
20205 # repeated appends, instead of the typical quadratic growth present in naive
20206 # implementations.
20207 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20208   eval 'as_fn_append ()
20209   {
20210     eval $1+=\$2
20211   }'
20212 else
20213   as_fn_append ()
20214   {
20215     eval $1=\$$1\$2
20216   }
20217 fi # as_fn_append
20218
20219 # as_fn_arith ARG...
20220 # ------------------
20221 # Perform arithmetic evaluation on the ARGs, and store the result in the
20222 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20223 # must be portable across $(()) and expr.
20224 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20225   eval 'as_fn_arith ()
20226   {
20227     as_val=$(( $* ))
20228   }'
20229 else
20230   as_fn_arith ()
20231   {
20232     as_val=`expr "$@" || test $? -eq 1`
20233   }
20234 fi # as_fn_arith
20235
20236
20237 if expr a : '\(a\)' >/dev/null 2>&1 &&
20238    test "X`expr 00001 : '.*\(...\)'`" = X001; then
20239   as_expr=expr
20240 else
20241   as_expr=false
20242 fi
20243
20244 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20245   as_basename=basename
20246 else
20247   as_basename=false
20248 fi
20249
20250 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20251   as_dirname=dirname
20252 else
20253   as_dirname=false
20254 fi
20255
20256 as_me=`$as_basename -- "$0" ||
20257 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20258          X"$0" : 'X\(//\)$' \| \
20259          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20260 $as_echo X/"$0" |
20261     sed '/^.*\/\([^/][^/]*\)\/*$/{
20262             s//\1/
20263             q
20264           }
20265           /^X\/\(\/\/\)$/{
20266             s//\1/
20267             q
20268           }
20269           /^X\/\(\/\).*/{
20270             s//\1/
20271             q
20272           }
20273           s/.*/./; q'`
20274
20275 # Avoid depending upon Character Ranges.
20276 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20277 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20278 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20279 as_cr_digits='0123456789'
20280 as_cr_alnum=$as_cr_Letters$as_cr_digits
20281
20282 ECHO_C= ECHO_N= ECHO_T=
20283 case `echo -n x` in #(((((
20284 -n*)
20285   case `echo 'xy\c'` in
20286   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
20287   xy)  ECHO_C='\c';;
20288   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
20289        ECHO_T=' ';;
20290   esac;;
20291 *)
20292   ECHO_N='-n';;
20293 esac
20294
20295 rm -f conf$$ conf$$.exe conf$$.file
20296 if test -d conf$$.dir; then
20297   rm -f conf$$.dir/conf$$.file
20298 else
20299   rm -f conf$$.dir
20300   mkdir conf$$.dir 2>/dev/null
20301 fi
20302 if (echo >conf$$.file) 2>/dev/null; then
20303   if ln -s conf$$.file conf$$ 2>/dev/null; then
20304     as_ln_s='ln -s'
20305     # ... but there are two gotchas:
20306     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20307     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20308     # In both cases, we have to default to `cp -p'.
20309     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20310       as_ln_s='cp -p'
20311   elif ln conf$$.file conf$$ 2>/dev/null; then
20312     as_ln_s=ln
20313   else
20314     as_ln_s='cp -p'
20315   fi
20316 else
20317   as_ln_s='cp -p'
20318 fi
20319 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20320 rmdir conf$$.dir 2>/dev/null
20321
20322
20323 # as_fn_mkdir_p
20324 # -------------
20325 # Create "$as_dir" as a directory, including parents if necessary.
20326 as_fn_mkdir_p ()
20327 {
20328
20329   case $as_dir in #(
20330   -*) as_dir=./$as_dir;;
20331   esac
20332   test -d "$as_dir" || eval $as_mkdir_p || {
20333     as_dirs=
20334     while :; do
20335       case $as_dir in #(
20336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20337       *) as_qdir=$as_dir;;
20338       esac
20339       as_dirs="'$as_qdir' $as_dirs"
20340       as_dir=`$as_dirname -- "$as_dir" ||
20341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20342          X"$as_dir" : 'X\(//\)[^/]' \| \
20343          X"$as_dir" : 'X\(//\)$' \| \
20344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20345 $as_echo X"$as_dir" |
20346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20347             s//\1/
20348             q
20349           }
20350           /^X\(\/\/\)[^/].*/{
20351             s//\1/
20352             q
20353           }
20354           /^X\(\/\/\)$/{
20355             s//\1/
20356             q
20357           }
20358           /^X\(\/\).*/{
20359             s//\1/
20360             q
20361           }
20362           s/.*/./; q'`
20363       test -d "$as_dir" && break
20364     done
20365     test -z "$as_dirs" || eval "mkdir $as_dirs"
20366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20367
20368
20369 } # as_fn_mkdir_p
20370 if mkdir -p . 2>/dev/null; then
20371   as_mkdir_p='mkdir -p "$as_dir"'
20372 else
20373   test -d ./-p && rmdir ./-p
20374   as_mkdir_p=false
20375 fi
20376
20377 if test -x / >/dev/null 2>&1; then
20378   as_test_x='test -x'
20379 else
20380   if ls -dL / >/dev/null 2>&1; then
20381     as_ls_L_option=L
20382   else
20383     as_ls_L_option=
20384   fi
20385   as_test_x='
20386     eval sh -c '\''
20387       if test -d "$1"; then
20388         test -d "$1/.";
20389       else
20390         case $1 in #(
20391         -*)set "./$1";;
20392         esac;
20393         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20394         ???[sx]*):;;*)false;;esac;fi
20395     '\'' sh
20396   '
20397 fi
20398 as_executable_p=$as_test_x
20399
20400 # Sed expression to map a string onto a valid CPP name.
20401 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20402
20403 # Sed expression to map a string onto a valid variable name.
20404 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20405
20406
20407 exec 6>&1
20408 ## ----------------------------------- ##
20409 ## Main body of $CONFIG_STATUS script. ##
20410 ## ----------------------------------- ##
20411 _ASEOF
20412 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20413
20414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20415 # Save the log message, to keep $0 and so on meaningful, and to
20416 # report actual input values of CONFIG_FILES etc. instead of their
20417 # values after options handling.
20418 ac_log="
20419 This file was extended by nlfaultinjection $as_me g249f564, which was
20420 generated by GNU Autoconf 2.68.  Invocation command line was
20421
20422   CONFIG_FILES    = $CONFIG_FILES
20423   CONFIG_HEADERS  = $CONFIG_HEADERS
20424   CONFIG_LINKS    = $CONFIG_LINKS
20425   CONFIG_COMMANDS = $CONFIG_COMMANDS
20426   $ $0 $@
20427
20428 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20429 "
20430
20431 _ACEOF
20432
20433 case $ac_config_files in *"
20434 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20435 esac
20436
20437 case $ac_config_headers in *"
20438 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20439 esac
20440
20441
20442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20443 # Files that config.status was made for.
20444 config_files="$ac_config_files"
20445 config_headers="$ac_config_headers"
20446 config_commands="$ac_config_commands"
20447
20448 _ACEOF
20449
20450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20451 ac_cs_usage="\
20452 \`$as_me' instantiates files and other configuration actions
20453 from templates according to the current configuration.  Unless the files
20454 and actions are specified as TAGs, all are instantiated by default.
20455
20456 Usage: $0 [OPTION]... [TAG]...
20457
20458   -h, --help       print this help, then exit
20459   -V, --version    print version number and configuration settings, then exit
20460       --config     print configuration, then exit
20461   -q, --quiet, --silent
20462                    do not print progress messages
20463   -d, --debug      don't remove temporary files
20464       --recheck    update $as_me by reconfiguring in the same conditions
20465       --file=FILE[:TEMPLATE]
20466                    instantiate the configuration file FILE
20467       --header=FILE[:TEMPLATE]
20468                    instantiate the configuration header FILE
20469
20470 Configuration files:
20471 $config_files
20472
20473 Configuration headers:
20474 $config_headers
20475
20476 Configuration commands:
20477 $config_commands
20478
20479 Report bugs to <nlfaultinjection-users@google.com>.
20480 nlfaultinjection home page: <https://github.com/nestlabs/nlfaultinjection/>."
20481
20482 _ACEOF
20483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20484 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20485 ac_cs_version="\\
20486 nlfaultinjection config.status g249f564
20487 configured by $0, generated by GNU Autoconf 2.68,
20488   with options \\"\$ac_cs_config\\"
20489
20490 Copyright (C) 2010 Free Software Foundation, Inc.
20491 This config.status script is free software; the Free Software Foundation
20492 gives unlimited permission to copy, distribute and modify it."
20493
20494 ac_pwd='$ac_pwd'
20495 srcdir='$srcdir'
20496 INSTALL='$INSTALL'
20497 MKDIR_P='$MKDIR_P'
20498 AWK='$AWK'
20499 test -n "\$AWK" || AWK=awk
20500 _ACEOF
20501
20502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20503 # The default lists apply if the user does not specify any file.
20504 ac_need_defaults=:
20505 while test $# != 0
20506 do
20507   case $1 in
20508   --*=?*)
20509     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20510     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20511     ac_shift=:
20512     ;;
20513   --*=)
20514     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20515     ac_optarg=
20516     ac_shift=:
20517     ;;
20518   *)
20519     ac_option=$1
20520     ac_optarg=$2
20521     ac_shift=shift
20522     ;;
20523   esac
20524
20525   case $ac_option in
20526   # Handling of the options.
20527   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20528     ac_cs_recheck=: ;;
20529   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20530     $as_echo "$ac_cs_version"; exit ;;
20531   --config | --confi | --conf | --con | --co | --c )
20532     $as_echo "$ac_cs_config"; exit ;;
20533   --debug | --debu | --deb | --de | --d | -d )
20534     debug=: ;;
20535   --file | --fil | --fi | --f )
20536     $ac_shift
20537     case $ac_optarg in
20538     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20539     '') as_fn_error $? "missing file argument" ;;
20540     esac
20541     as_fn_append CONFIG_FILES " '$ac_optarg'"
20542     ac_need_defaults=false;;
20543   --header | --heade | --head | --hea )
20544     $ac_shift
20545     case $ac_optarg in
20546     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20547     esac
20548     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20549     ac_need_defaults=false;;
20550   --he | --h)
20551     # Conflict between --help and --header
20552     as_fn_error $? "ambiguous option: \`$1'
20553 Try \`$0 --help' for more information.";;
20554   --help | --hel | -h )
20555     $as_echo "$ac_cs_usage"; exit ;;
20556   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20557   | -silent | --silent | --silen | --sile | --sil | --si | --s)
20558     ac_cs_silent=: ;;
20559
20560   # This is an error.
20561   -*) as_fn_error $? "unrecognized option: \`$1'
20562 Try \`$0 --help' for more information." ;;
20563
20564   *) as_fn_append ac_config_targets " $1"
20565      ac_need_defaults=false ;;
20566
20567   esac
20568   shift
20569 done
20570
20571 ac_configure_extra_args=
20572
20573 if $ac_cs_silent; then
20574   exec 6>/dev/null
20575   ac_configure_extra_args="$ac_configure_extra_args --silent"
20576 fi
20577
20578 _ACEOF
20579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20580 if \$ac_cs_recheck; then
20581   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20582   shift
20583   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20584   CONFIG_SHELL='$SHELL'
20585   export CONFIG_SHELL
20586   exec "\$@"
20587 fi
20588
20589 _ACEOF
20590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20591 exec 5>>config.log
20592 {
20593   echo
20594   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20595 ## Running $as_me. ##
20596 _ASBOX
20597   $as_echo "$ac_log"
20598 } >&5
20599
20600 _ACEOF
20601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20602 #
20603 # INIT-COMMANDS
20604 #
20605 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20606
20607
20608 # The HP-UX ksh and POSIX shell print the target directory to stdout
20609 # if CDPATH is set.
20610 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20611
20612 sed_quote_subst='$sed_quote_subst'
20613 double_quote_subst='$double_quote_subst'
20614 delay_variable_subst='$delay_variable_subst'
20615 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20616 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20617 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20618 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20619 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20620 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20621 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20622 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20623 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20624 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20625 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20626 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20627 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20628 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20629 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20630 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20631 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20632 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20633 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20634 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20635 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20636 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20637 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20638 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20639 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20640 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20641 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20642 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20643 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20644 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20645 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20646 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20647 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20648 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20649 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20650 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20651 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20652 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20653 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20654 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20655 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20656 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20657 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20658 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20659 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20660 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20661 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20662 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20663 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20664 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20665 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20666 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20667 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20668 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20669 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20670 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20671 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"`'
20672 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20673 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20674 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20675 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20676 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20677 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20678 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20679 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20680 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20681 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20682 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20683 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20684 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20685 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20686 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20687 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20688 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20689 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20690 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20691 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20692 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20693 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20694 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20695 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20696 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20697 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20698 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20699 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20700 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20701 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20702 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20703 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20704 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20705 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20706 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20707 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20708 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20709 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20710 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20711 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20712 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20713 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20714 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20715 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20716 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20717 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20718 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20719 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20720 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20721 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20722 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20723 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20724 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20725 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20726 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20727 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20728 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20729 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20730 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20731 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20732 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20733 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20734 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20735 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20736 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20737 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20738 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20739 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20740 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20741 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20742 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20743 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20744 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20745 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20746 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20747 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20748 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20749 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20750 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20751 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20752 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20753 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20754 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20755 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20756 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20757 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20758 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20759 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20760 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20761 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20762 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20763 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20764 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20765 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20766 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20767 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20768 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20769 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20770 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20771 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20772 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20773 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20774 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20775 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20776 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20777 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20778 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20779 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20780 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20781 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20782 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20783 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20784 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20785 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20786 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20787 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20788 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20789 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20790 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20791 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20792 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20793 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20794 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20795 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20796 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20797 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20798 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20799
20800 LTCC='$LTCC'
20801 LTCFLAGS='$LTCFLAGS'
20802 compiler='$compiler_DEFAULT'
20803
20804 # A function that is used when there is no print builtin or printf.
20805 func_fallback_echo ()
20806 {
20807   eval 'cat <<_LTECHO_EOF
20808 \$1
20809 _LTECHO_EOF'
20810 }
20811
20812 # Quote evaled strings.
20813 for var in SHELL \
20814 ECHO \
20815 PATH_SEPARATOR \
20816 SED \
20817 GREP \
20818 EGREP \
20819 FGREP \
20820 LD \
20821 NM \
20822 LN_S \
20823 lt_SP2NL \
20824 lt_NL2SP \
20825 reload_flag \
20826 OBJDUMP \
20827 deplibs_check_method \
20828 file_magic_cmd \
20829 file_magic_glob \
20830 want_nocaseglob \
20831 DLLTOOL \
20832 sharedlib_from_linklib_cmd \
20833 AR \
20834 AR_FLAGS \
20835 archiver_list_spec \
20836 STRIP \
20837 RANLIB \
20838 CC \
20839 CFLAGS \
20840 compiler \
20841 lt_cv_sys_global_symbol_pipe \
20842 lt_cv_sys_global_symbol_to_cdecl \
20843 lt_cv_sys_global_symbol_to_c_name_address \
20844 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20845 nm_file_list_spec \
20846 lt_prog_compiler_no_builtin_flag \
20847 lt_prog_compiler_pic \
20848 lt_prog_compiler_wl \
20849 lt_prog_compiler_static \
20850 lt_cv_prog_compiler_c_o \
20851 need_locks \
20852 MANIFEST_TOOL \
20853 DSYMUTIL \
20854 NMEDIT \
20855 LIPO \
20856 OTOOL \
20857 OTOOL64 \
20858 shrext_cmds \
20859 export_dynamic_flag_spec \
20860 whole_archive_flag_spec \
20861 compiler_needs_object \
20862 with_gnu_ld \
20863 allow_undefined_flag \
20864 no_undefined_flag \
20865 hardcode_libdir_flag_spec \
20866 hardcode_libdir_separator \
20867 exclude_expsyms \
20868 include_expsyms \
20869 file_list_spec \
20870 variables_saved_for_relink \
20871 libname_spec \
20872 library_names_spec \
20873 soname_spec \
20874 install_override_mode \
20875 finish_eval \
20876 old_striplib \
20877 striplib \
20878 compiler_lib_search_dirs \
20879 predep_objects \
20880 postdep_objects \
20881 predeps \
20882 postdeps \
20883 compiler_lib_search_path \
20884 LD_CXX \
20885 reload_flag_CXX \
20886 compiler_CXX \
20887 lt_prog_compiler_no_builtin_flag_CXX \
20888 lt_prog_compiler_pic_CXX \
20889 lt_prog_compiler_wl_CXX \
20890 lt_prog_compiler_static_CXX \
20891 lt_cv_prog_compiler_c_o_CXX \
20892 export_dynamic_flag_spec_CXX \
20893 whole_archive_flag_spec_CXX \
20894 compiler_needs_object_CXX \
20895 with_gnu_ld_CXX \
20896 allow_undefined_flag_CXX \
20897 no_undefined_flag_CXX \
20898 hardcode_libdir_flag_spec_CXX \
20899 hardcode_libdir_separator_CXX \
20900 exclude_expsyms_CXX \
20901 include_expsyms_CXX \
20902 file_list_spec_CXX \
20903 compiler_lib_search_dirs_CXX \
20904 predep_objects_CXX \
20905 postdep_objects_CXX \
20906 predeps_CXX \
20907 postdeps_CXX \
20908 compiler_lib_search_path_CXX; do
20909     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20910     *[\\\\\\\`\\"\\\$]*)
20911       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20912       ;;
20913     *)
20914       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20915       ;;
20916     esac
20917 done
20918
20919 # Double-quote double-evaled strings.
20920 for var in reload_cmds \
20921 old_postinstall_cmds \
20922 old_postuninstall_cmds \
20923 old_archive_cmds \
20924 extract_expsyms_cmds \
20925 old_archive_from_new_cmds \
20926 old_archive_from_expsyms_cmds \
20927 archive_cmds \
20928 archive_expsym_cmds \
20929 module_cmds \
20930 module_expsym_cmds \
20931 export_symbols_cmds \
20932 prelink_cmds \
20933 postlink_cmds \
20934 postinstall_cmds \
20935 postuninstall_cmds \
20936 finish_cmds \
20937 sys_lib_search_path_spec \
20938 sys_lib_dlsearch_path_spec \
20939 reload_cmds_CXX \
20940 old_archive_cmds_CXX \
20941 old_archive_from_new_cmds_CXX \
20942 old_archive_from_expsyms_cmds_CXX \
20943 archive_cmds_CXX \
20944 archive_expsym_cmds_CXX \
20945 module_cmds_CXX \
20946 module_expsym_cmds_CXX \
20947 export_symbols_cmds_CXX \
20948 prelink_cmds_CXX \
20949 postlink_cmds_CXX; do
20950     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20951     *[\\\\\\\`\\"\\\$]*)
20952       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20953       ;;
20954     *)
20955       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20956       ;;
20957     esac
20958 done
20959
20960 ac_aux_dir='$ac_aux_dir'
20961 xsi_shell='$xsi_shell'
20962 lt_shell_append='$lt_shell_append'
20963
20964 # See if we are running on zsh, and set the options which allow our
20965 # commands through without removal of \ escapes INIT.
20966 if test -n "\${ZSH_VERSION+set}" ; then
20967    setopt NO_GLOB_SUBST
20968 fi
20969
20970
20971     PACKAGE='$PACKAGE'
20972     VERSION='$VERSION'
20973     TIMESTAMP='$TIMESTAMP'
20974     RM='$RM'
20975     ofile='$ofile'
20976
20977
20978
20979
20980
20981
20982 _ACEOF
20983
20984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20985
20986 # Handling of arguments.
20987 for ac_config_target in $ac_config_targets
20988 do
20989   case $ac_config_target in
20990     "include/nlfaultinjection-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/nlfaultinjection-config.h" ;;
20991     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20992     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20993     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20994     "third_party/Makefile") CONFIG_FILES="$CONFIG_FILES third_party/Makefile" ;;
20995     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20996     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20997     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
20998     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20999
21000   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21001   esac
21002 done
21003
21004
21005 # If the user did not use the arguments to specify the items to instantiate,
21006 # then the envvar interface is used.  Set only those that are not.
21007 # We use the long form for the default assignment because of an extremely
21008 # bizarre bug on SunOS 4.1.3.
21009 if $ac_need_defaults; then
21010   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21011   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21012   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21013 fi
21014
21015 # Have a temporary directory for convenience.  Make it in the build tree
21016 # simply because there is no reason against having it here, and in addition,
21017 # creating and moving files from /tmp can sometimes cause problems.
21018 # Hook for its removal unless debugging.
21019 # Note that there is a small window in which the directory will not be cleaned:
21020 # after its creation but before its name has been assigned to `$tmp'.
21021 $debug ||
21022 {
21023   tmp= ac_tmp=
21024   trap 'exit_status=$?
21025   : "${ac_tmp:=$tmp}"
21026   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21027 ' 0
21028   trap 'as_fn_exit 1' 1 2 13 15
21029 }
21030 # Create a (secure) tmp directory for tmp files.
21031
21032 {
21033   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21034   test -d "$tmp"
21035 }  ||
21036 {
21037   tmp=./conf$$-$RANDOM
21038   (umask 077 && mkdir "$tmp")
21039 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21040 ac_tmp=$tmp
21041
21042 # Set up the scripts for CONFIG_FILES section.
21043 # No need to generate them if there are no CONFIG_FILES.
21044 # This happens for instance with `./config.status config.h'.
21045 if test -n "$CONFIG_FILES"; then
21046
21047
21048 ac_cr=`echo X | tr X '\015'`
21049 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21050 # But we know of no other shell where ac_cr would be empty at this
21051 # point, so we can use a bashism as a fallback.
21052 if test "x$ac_cr" = x; then
21053   eval ac_cr=\$\'\\r\'
21054 fi
21055 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21056 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21057   ac_cs_awk_cr='\\r'
21058 else
21059   ac_cs_awk_cr=$ac_cr
21060 fi
21061
21062 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21063 _ACEOF
21064
21065
21066 {
21067   echo "cat >conf$$subs.awk <<_ACEOF" &&
21068   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21069   echo "_ACEOF"
21070 } >conf$$subs.sh ||
21071   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21072 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21073 ac_delim='%!_!# '
21074 for ac_last_try in false false false false false :; do
21075   . ./conf$$subs.sh ||
21076     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21077
21078   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21079   if test $ac_delim_n = $ac_delim_num; then
21080     break
21081   elif $ac_last_try; then
21082     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21083   else
21084     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21085   fi
21086 done
21087 rm -f conf$$subs.sh
21088
21089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21090 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21091 _ACEOF
21092 sed -n '
21093 h
21094 s/^/S["/; s/!.*/"]=/
21095 p
21096 g
21097 s/^[^!]*!//
21098 :repl
21099 t repl
21100 s/'"$ac_delim"'$//
21101 t delim
21102 :nl
21103 h
21104 s/\(.\{148\}\)..*/\1/
21105 t more1
21106 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21107 p
21108 n
21109 b repl
21110 :more1
21111 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21112 p
21113 g
21114 s/.\{148\}//
21115 t nl
21116 :delim
21117 h
21118 s/\(.\{148\}\)..*/\1/
21119 t more2
21120 s/["\\]/\\&/g; s/^/"/; s/$/"/
21121 p
21122 b
21123 :more2
21124 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21125 p
21126 g
21127 s/.\{148\}//
21128 t delim
21129 ' <conf$$subs.awk | sed '
21130 /^[^""]/{
21131   N
21132   s/\n//
21133 }
21134 ' >>$CONFIG_STATUS || ac_write_fail=1
21135 rm -f conf$$subs.awk
21136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21137 _ACAWK
21138 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21139   for (key in S) S_is_set[key] = 1
21140   FS = "\a"
21141
21142 }
21143 {
21144   line = $ 0
21145   nfields = split(line, field, "@")
21146   substed = 0
21147   len = length(field[1])
21148   for (i = 2; i < nfields; i++) {
21149     key = field[i]
21150     keylen = length(key)
21151     if (S_is_set[key]) {
21152       value = S[key]
21153       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21154       len += length(value) + length(field[++i])
21155       substed = 1
21156     } else
21157       len += 1 + keylen
21158   }
21159
21160   print line
21161 }
21162
21163 _ACAWK
21164 _ACEOF
21165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21166 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21167   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21168 else
21169   cat
21170 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21171   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21172 _ACEOF
21173
21174 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21175 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21176 # trailing colons and then remove the whole line if VPATH becomes empty
21177 # (actually we leave an empty line to preserve line numbers).
21178 if test "x$srcdir" = x.; then
21179   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
21180 h
21181 s///
21182 s/^/:/
21183 s/[      ]*$/:/
21184 s/:\$(srcdir):/:/g
21185 s/:\${srcdir}:/:/g
21186 s/:@srcdir@:/:/g
21187 s/^:*//
21188 s/:*$//
21189 x
21190 s/\(=[   ]*\).*/\1/
21191 G
21192 s/\n//
21193 s/^[^=]*=[       ]*$//
21194 }'
21195 fi
21196
21197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21198 fi # test -n "$CONFIG_FILES"
21199
21200 # Set up the scripts for CONFIG_HEADERS section.
21201 # No need to generate them if there are no CONFIG_HEADERS.
21202 # This happens for instance with `./config.status Makefile'.
21203 if test -n "$CONFIG_HEADERS"; then
21204 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21205 BEGIN {
21206 _ACEOF
21207
21208 # Transform confdefs.h into an awk script `defines.awk', embedded as
21209 # here-document in config.status, that substitutes the proper values into
21210 # config.h.in to produce config.h.
21211
21212 # Create a delimiter string that does not exist in confdefs.h, to ease
21213 # handling of long lines.
21214 ac_delim='%!_!# '
21215 for ac_last_try in false false :; do
21216   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21217   if test -z "$ac_tt"; then
21218     break
21219   elif $ac_last_try; then
21220     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21221   else
21222     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21223   fi
21224 done
21225
21226 # For the awk script, D is an array of macro values keyed by name,
21227 # likewise P contains macro parameters if any.  Preserve backslash
21228 # newline sequences.
21229
21230 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21231 sed -n '
21232 s/.\{148\}/&'"$ac_delim"'/g
21233 t rset
21234 :rset
21235 s/^[     ]*#[    ]*define[       ][      ]*/ /
21236 t def
21237 d
21238 :def
21239 s/\\$//
21240 t bsnl
21241 s/["\\]/\\&/g
21242 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
21243 D["\1"]=" \3"/p
21244 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
21245 d
21246 :bsnl
21247 s/["\\]/\\&/g
21248 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
21249 D["\1"]=" \3\\\\\\n"\\/p
21250 t cont
21251 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21252 t cont
21253 d
21254 :cont
21255 n
21256 s/.\{148\}/&'"$ac_delim"'/g
21257 t clear
21258 :clear
21259 s/\\$//
21260 t bsnlc
21261 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21262 d
21263 :bsnlc
21264 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21265 b cont
21266 ' <confdefs.h | sed '
21267 s/'"$ac_delim"'/"\\\
21268 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21269
21270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21271   for (key in D) D_is_set[key] = 1
21272   FS = "\a"
21273 }
21274 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21275   line = \$ 0
21276   split(line, arg, " ")
21277   if (arg[1] == "#") {
21278     defundef = arg[2]
21279     mac1 = arg[3]
21280   } else {
21281     defundef = substr(arg[1], 2)
21282     mac1 = arg[2]
21283   }
21284   split(mac1, mac2, "(") #)
21285   macro = mac2[1]
21286   prefix = substr(line, 1, index(line, defundef) - 1)
21287   if (D_is_set[macro]) {
21288     # Preserve the white space surrounding the "#".
21289     print prefix "define", macro P[macro] D[macro]
21290     next
21291   } else {
21292     # Replace #undef with comments.  This is necessary, for example,
21293     # in the case of _POSIX_SOURCE, which is predefined and required
21294     # on some systems where configure will not decide to define it.
21295     if (defundef == "undef") {
21296       print "/*", prefix defundef, macro, "*/"
21297       next
21298     }
21299   }
21300 }
21301 { print }
21302 _ACAWK
21303 _ACEOF
21304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21305   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21306 fi # test -n "$CONFIG_HEADERS"
21307
21308
21309 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
21310 shift
21311 for ac_tag
21312 do
21313   case $ac_tag in
21314   :[FHLC]) ac_mode=$ac_tag; continue;;
21315   esac
21316   case $ac_mode$ac_tag in
21317   :[FHL]*:*);;
21318   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21319   :[FH]-) ac_tag=-:-;;
21320   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21321   esac
21322   ac_save_IFS=$IFS
21323   IFS=:
21324   set x $ac_tag
21325   IFS=$ac_save_IFS
21326   shift
21327   ac_file=$1
21328   shift
21329
21330   case $ac_mode in
21331   :L) ac_source=$1;;
21332   :[FH])
21333     ac_file_inputs=
21334     for ac_f
21335     do
21336       case $ac_f in
21337       -) ac_f="$ac_tmp/stdin";;
21338       *) # Look for the file first in the build tree, then in the source tree
21339          # (if the path is not absolute).  The absolute path cannot be DOS-style,
21340          # because $ac_f cannot contain `:'.
21341          test -f "$ac_f" ||
21342            case $ac_f in
21343            [\\/$]*) false;;
21344            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21345            esac ||
21346            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21347       esac
21348       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21349       as_fn_append ac_file_inputs " '$ac_f'"
21350     done
21351
21352     # Let's still pretend it is `configure' which instantiates (i.e., don't
21353     # use $as_me), people would be surprised to read:
21354     #    /* config.h.  Generated by config.status.  */
21355     configure_input='Generated from '`
21356           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21357         `' by configure.'
21358     if test x"$ac_file" != x-; then
21359       configure_input="$ac_file.  $configure_input"
21360       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21361 $as_echo "$as_me: creating $ac_file" >&6;}
21362     fi
21363     # Neutralize special characters interpreted by sed in replacement strings.
21364     case $configure_input in #(
21365     *\&* | *\|* | *\\* )
21366        ac_sed_conf_input=`$as_echo "$configure_input" |
21367        sed 's/[\\\\&|]/\\\\&/g'`;; #(
21368     *) ac_sed_conf_input=$configure_input;;
21369     esac
21370
21371     case $ac_tag in
21372     *:-:* | *:-) cat >"$ac_tmp/stdin" \
21373       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21374     esac
21375     ;;
21376   esac
21377
21378   ac_dir=`$as_dirname -- "$ac_file" ||
21379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21380          X"$ac_file" : 'X\(//\)[^/]' \| \
21381          X"$ac_file" : 'X\(//\)$' \| \
21382          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21383 $as_echo X"$ac_file" |
21384     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21385             s//\1/
21386             q
21387           }
21388           /^X\(\/\/\)[^/].*/{
21389             s//\1/
21390             q
21391           }
21392           /^X\(\/\/\)$/{
21393             s//\1/
21394             q
21395           }
21396           /^X\(\/\).*/{
21397             s//\1/
21398             q
21399           }
21400           s/.*/./; q'`
21401   as_dir="$ac_dir"; as_fn_mkdir_p
21402   ac_builddir=.
21403
21404 case "$ac_dir" in
21405 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21406 *)
21407   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21408   # A ".." for each directory in $ac_dir_suffix.
21409   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21410   case $ac_top_builddir_sub in
21411   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21412   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21413   esac ;;
21414 esac
21415 ac_abs_top_builddir=$ac_pwd
21416 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21417 # for backward compatibility:
21418 ac_top_builddir=$ac_top_build_prefix
21419
21420 case $srcdir in
21421   .)  # We are building in place.
21422     ac_srcdir=.
21423     ac_top_srcdir=$ac_top_builddir_sub
21424     ac_abs_top_srcdir=$ac_pwd ;;
21425   [\\/]* | ?:[\\/]* )  # Absolute name.
21426     ac_srcdir=$srcdir$ac_dir_suffix;
21427     ac_top_srcdir=$srcdir
21428     ac_abs_top_srcdir=$srcdir ;;
21429   *) # Relative name.
21430     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21431     ac_top_srcdir=$ac_top_build_prefix$srcdir
21432     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21433 esac
21434 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21435
21436
21437   case $ac_mode in
21438   :F)
21439   #
21440   # CONFIG_FILE
21441   #
21442
21443   case $INSTALL in
21444   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21445   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21446   esac
21447   ac_MKDIR_P=$MKDIR_P
21448   case $MKDIR_P in
21449   [\\/$]* | ?:[\\/]* ) ;;
21450   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21451   esac
21452 _ACEOF
21453
21454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21455 # If the template does not know about datarootdir, expand it.
21456 # FIXME: This hack should be removed a few years after 2.60.
21457 ac_datarootdir_hack=; ac_datarootdir_seen=
21458 ac_sed_dataroot='
21459 /datarootdir/ {
21460   p
21461   q
21462 }
21463 /@datadir@/p
21464 /@docdir@/p
21465 /@infodir@/p
21466 /@localedir@/p
21467 /@mandir@/p'
21468 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21469 *datarootdir*) ac_datarootdir_seen=yes;;
21470 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21471   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21472 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21473 _ACEOF
21474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21475   ac_datarootdir_hack='
21476   s&@datadir@&$datadir&g
21477   s&@docdir@&$docdir&g
21478   s&@infodir@&$infodir&g
21479   s&@localedir@&$localedir&g
21480   s&@mandir@&$mandir&g
21481   s&\\\${datarootdir}&$datarootdir&g' ;;
21482 esac
21483 _ACEOF
21484
21485 # Neutralize VPATH when `$srcdir' = `.'.
21486 # Shell code in configure.ac might set extrasub.
21487 # FIXME: do we really want to maintain this feature?
21488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21489 ac_sed_extra="$ac_vpsub
21490 $extrasub
21491 _ACEOF
21492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21493 :t
21494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21495 s|@configure_input@|$ac_sed_conf_input|;t t
21496 s&@top_builddir@&$ac_top_builddir_sub&;t t
21497 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21498 s&@srcdir@&$ac_srcdir&;t t
21499 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21500 s&@top_srcdir@&$ac_top_srcdir&;t t
21501 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21502 s&@builddir@&$ac_builddir&;t t
21503 s&@abs_builddir@&$ac_abs_builddir&;t t
21504 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21505 s&@INSTALL@&$ac_INSTALL&;t t
21506 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21507 $ac_datarootdir_hack
21508 "
21509 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21510   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21511
21512 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21513   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21514   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
21515       "$ac_tmp/out"`; test -z "$ac_out"; } &&
21516   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21517 which seems to be undefined.  Please make sure it is defined" >&5
21518 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21519 which seems to be undefined.  Please make sure it is defined" >&2;}
21520
21521   rm -f "$ac_tmp/stdin"
21522   case $ac_file in
21523   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21524   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21525   esac \
21526   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21527  ;;
21528   :H)
21529   #
21530   # CONFIG_HEADER
21531   #
21532   if test x"$ac_file" != x-; then
21533     {
21534       $as_echo "/* $configure_input  */" \
21535       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21536     } >"$ac_tmp/config.h" \
21537       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21538     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21539       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21540 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21541     else
21542       rm -f "$ac_file"
21543       mv "$ac_tmp/config.h" "$ac_file" \
21544         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21545     fi
21546   else
21547     $as_echo "/* $configure_input  */" \
21548       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21549       || as_fn_error $? "could not create -" "$LINENO" 5
21550   fi
21551 # Compute "$ac_file"'s index in $config_headers.
21552 _am_arg="$ac_file"
21553 _am_stamp_count=1
21554 for _am_header in $config_headers :; do
21555   case $_am_header in
21556     $_am_arg | $_am_arg:* )
21557       break ;;
21558     * )
21559       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21560   esac
21561 done
21562 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21563 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21564          X"$_am_arg" : 'X\(//\)[^/]' \| \
21565          X"$_am_arg" : 'X\(//\)$' \| \
21566          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21567 $as_echo X"$_am_arg" |
21568     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21569             s//\1/
21570             q
21571           }
21572           /^X\(\/\/\)[^/].*/{
21573             s//\1/
21574             q
21575           }
21576           /^X\(\/\/\)$/{
21577             s//\1/
21578             q
21579           }
21580           /^X\(\/\).*/{
21581             s//\1/
21582             q
21583           }
21584           s/.*/./; q'`/stamp-h$_am_stamp_count
21585  ;;
21586
21587   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21588 $as_echo "$as_me: executing $ac_file commands" >&6;}
21589  ;;
21590   esac
21591
21592
21593   case $ac_file$ac_mode in
21594     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21595   # Older Autoconf quotes --file arguments for eval, but not when files
21596   # are listed without --file.  Let's play safe and only enable the eval
21597   # if we detect the quoting.
21598   case $CONFIG_FILES in
21599   *\'*) eval set x "$CONFIG_FILES" ;;
21600   *)   set x $CONFIG_FILES ;;
21601   esac
21602   shift
21603   for mf
21604   do
21605     # Strip MF so we end up with the name of the file.
21606     mf=`echo "$mf" | sed -e 's/:.*$//'`
21607     # Check whether this is an Automake generated Makefile or not.
21608     # We used to match only the files named 'Makefile.in', but
21609     # some people rename them; so instead we look at the file content.
21610     # Grep'ing the first line is not enough: some people post-process
21611     # each Makefile.in and add a new line on top of each file to say so.
21612     # Grep'ing the whole file is not good either: AIX grep has a line
21613     # limit of 2048, but all sed's we know have understand at least 4000.
21614     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21615       dirpart=`$as_dirname -- "$mf" ||
21616 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21617          X"$mf" : 'X\(//\)[^/]' \| \
21618          X"$mf" : 'X\(//\)$' \| \
21619          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21620 $as_echo X"$mf" |
21621     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21622             s//\1/
21623             q
21624           }
21625           /^X\(\/\/\)[^/].*/{
21626             s//\1/
21627             q
21628           }
21629           /^X\(\/\/\)$/{
21630             s//\1/
21631             q
21632           }
21633           /^X\(\/\).*/{
21634             s//\1/
21635             q
21636           }
21637           s/.*/./; q'`
21638     else
21639       continue
21640     fi
21641     # Extract the definition of DEPDIR, am__include, and am__quote
21642     # from the Makefile without running 'make'.
21643     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21644     test -z "$DEPDIR" && continue
21645     am__include=`sed -n 's/^am__include = //p' < "$mf"`
21646     test -z "$am__include" && continue
21647     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21648     # Find all dependency output files, they are included files with
21649     # $(DEPDIR) in their names.  We invoke sed twice because it is the
21650     # simplest approach to changing $(DEPDIR) to its actual value in the
21651     # expansion.
21652     for file in `sed -n "
21653       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21654          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21655       # Make sure the directory exists.
21656       test -f "$dirpart/$file" && continue
21657       fdir=`$as_dirname -- "$file" ||
21658 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21659          X"$file" : 'X\(//\)[^/]' \| \
21660          X"$file" : 'X\(//\)$' \| \
21661          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21662 $as_echo X"$file" |
21663     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21664             s//\1/
21665             q
21666           }
21667           /^X\(\/\/\)[^/].*/{
21668             s//\1/
21669             q
21670           }
21671           /^X\(\/\/\)$/{
21672             s//\1/
21673             q
21674           }
21675           /^X\(\/\).*/{
21676             s//\1/
21677             q
21678           }
21679           s/.*/./; q'`
21680       as_dir=$dirpart/$fdir; as_fn_mkdir_p
21681       # echo "creating $dirpart/$file"
21682       echo '# dummy' > "$dirpart/$file"
21683     done
21684   done
21685 }
21686  ;;
21687     "libtool":C)
21688
21689     # See if we are running on zsh, and set the options which allow our
21690     # commands through without removal of \ escapes.
21691     if test -n "${ZSH_VERSION+set}" ; then
21692       setopt NO_GLOB_SUBST
21693     fi
21694
21695     cfgfile="${ofile}T"
21696     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21697     $RM "$cfgfile"
21698
21699     cat <<_LT_EOF >> "$cfgfile"
21700 #! $SHELL
21701
21702 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21703 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21704 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21705 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21706 #
21707 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21708 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21709 #                 Foundation, Inc.
21710 #   Written by Gordon Matzigkeit, 1996
21711 #
21712 #   This file is part of GNU Libtool.
21713 #
21714 # GNU Libtool is free software; you can redistribute it and/or
21715 # modify it under the terms of the GNU General Public License as
21716 # published by the Free Software Foundation; either version 2 of
21717 # the License, or (at your option) any later version.
21718 #
21719 # As a special exception to the GNU General Public License,
21720 # if you distribute this file as part of a program or library that
21721 # is built using GNU Libtool, you may include this file under the
21722 # same distribution terms that you use for the rest of that program.
21723 #
21724 # GNU Libtool is distributed in the hope that it will be useful,
21725 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21726 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21727 # GNU General Public License for more details.
21728 #
21729 # You should have received a copy of the GNU General Public License
21730 # along with GNU Libtool; see the file COPYING.  If not, a copy
21731 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21732 # obtained by writing to the Free Software Foundation, Inc.,
21733 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21734
21735
21736 # The names of the tagged configurations supported by this script.
21737 available_tags="CXX "
21738
21739 # ### BEGIN LIBTOOL CONFIG
21740
21741 # Which release of libtool.m4 was used?
21742 macro_version=$macro_version
21743 macro_revision=$macro_revision
21744
21745 # Whether or not to build shared libraries.
21746 build_libtool_libs=$enable_shared
21747
21748 # Whether or not to build static libraries.
21749 build_old_libs=$enable_static
21750
21751 # What type of objects to build.
21752 pic_mode=$pic_mode
21753
21754 # Whether or not to optimize for fast installation.
21755 fast_install=$enable_fast_install
21756
21757 # Shell to use when invoking shell scripts.
21758 SHELL=$lt_SHELL
21759
21760 # An echo program that protects backslashes.
21761 ECHO=$lt_ECHO
21762
21763 # The PATH separator for the build system.
21764 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21765
21766 # The host system.
21767 host_alias=$host_alias
21768 host=$host
21769 host_os=$host_os
21770
21771 # The build system.
21772 build_alias=$build_alias
21773 build=$build
21774 build_os=$build_os
21775
21776 # A sed program that does not truncate output.
21777 SED=$lt_SED
21778
21779 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21780 Xsed="\$SED -e 1s/^X//"
21781
21782 # A grep program that handles long lines.
21783 GREP=$lt_GREP
21784
21785 # An ERE matcher.
21786 EGREP=$lt_EGREP
21787
21788 # A literal string matcher.
21789 FGREP=$lt_FGREP
21790
21791 # A BSD- or MS-compatible name lister.
21792 NM=$lt_NM
21793
21794 # Whether we need soft or hard links.
21795 LN_S=$lt_LN_S
21796
21797 # What is the maximum length of a command?
21798 max_cmd_len=$max_cmd_len
21799
21800 # Object file suffix (normally "o").
21801 objext=$ac_objext
21802
21803 # Executable file suffix (normally "").
21804 exeext=$exeext
21805
21806 # whether the shell understands "unset".
21807 lt_unset=$lt_unset
21808
21809 # turn spaces into newlines.
21810 SP2NL=$lt_lt_SP2NL
21811
21812 # turn newlines into spaces.
21813 NL2SP=$lt_lt_NL2SP
21814
21815 # convert \$build file names to \$host format.
21816 to_host_file_cmd=$lt_cv_to_host_file_cmd
21817
21818 # convert \$build files to toolchain format.
21819 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21820
21821 # An object symbol dumper.
21822 OBJDUMP=$lt_OBJDUMP
21823
21824 # Method to check whether dependent libraries are shared objects.
21825 deplibs_check_method=$lt_deplibs_check_method
21826
21827 # Command to use when deplibs_check_method = "file_magic".
21828 file_magic_cmd=$lt_file_magic_cmd
21829
21830 # How to find potential files when deplibs_check_method = "file_magic".
21831 file_magic_glob=$lt_file_magic_glob
21832
21833 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21834 want_nocaseglob=$lt_want_nocaseglob
21835
21836 # DLL creation program.
21837 DLLTOOL=$lt_DLLTOOL
21838
21839 # Command to associate shared and link libraries.
21840 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21841
21842 # The archiver.
21843 AR=$lt_AR
21844
21845 # Flags to create an archive.
21846 AR_FLAGS=$lt_AR_FLAGS
21847
21848 # How to feed a file listing to the archiver.
21849 archiver_list_spec=$lt_archiver_list_spec
21850
21851 # A symbol stripping program.
21852 STRIP=$lt_STRIP
21853
21854 # Commands used to install an old-style archive.
21855 RANLIB=$lt_RANLIB
21856 old_postinstall_cmds=$lt_old_postinstall_cmds
21857 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21858
21859 # Whether to use a lock for old archive extraction.
21860 lock_old_archive_extraction=$lock_old_archive_extraction
21861
21862 # A C compiler.
21863 LTCC=$lt_CC
21864
21865 # LTCC compiler flags.
21866 LTCFLAGS=$lt_CFLAGS
21867
21868 # Take the output of nm and produce a listing of raw symbols and C names.
21869 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21870
21871 # Transform the output of nm in a proper C declaration.
21872 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21873
21874 # Transform the output of nm in a C name address pair.
21875 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21876
21877 # Transform the output of nm in a C name address pair when lib prefix is needed.
21878 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21879
21880 # Specify filename containing input files for \$NM.
21881 nm_file_list_spec=$lt_nm_file_list_spec
21882
21883 # The root where to search for dependent libraries,and in which our libraries should be installed.
21884 lt_sysroot=$lt_sysroot
21885
21886 # The name of the directory that contains temporary libtool files.
21887 objdir=$objdir
21888
21889 # Used to examine libraries when file_magic_cmd begins with "file".
21890 MAGIC_CMD=$MAGIC_CMD
21891
21892 # Must we lock files when doing compilation?
21893 need_locks=$lt_need_locks
21894
21895 # Manifest tool.
21896 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21897
21898 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21899 DSYMUTIL=$lt_DSYMUTIL
21900
21901 # Tool to change global to local symbols on Mac OS X.
21902 NMEDIT=$lt_NMEDIT
21903
21904 # Tool to manipulate fat objects and archives on Mac OS X.
21905 LIPO=$lt_LIPO
21906
21907 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21908 OTOOL=$lt_OTOOL
21909
21910 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21911 OTOOL64=$lt_OTOOL64
21912
21913 # Old archive suffix (normally "a").
21914 libext=$libext
21915
21916 # Shared library suffix (normally ".so").
21917 shrext_cmds=$lt_shrext_cmds
21918
21919 # The commands to extract the exported symbol list from a shared archive.
21920 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21921
21922 # Variables whose values should be saved in libtool wrapper scripts and
21923 # restored at link time.
21924 variables_saved_for_relink=$lt_variables_saved_for_relink
21925
21926 # Do we need the "lib" prefix for modules?
21927 need_lib_prefix=$need_lib_prefix
21928
21929 # Do we need a version for libraries?
21930 need_version=$need_version
21931
21932 # Library versioning type.
21933 version_type=$version_type
21934
21935 # Shared library runtime path variable.
21936 runpath_var=$runpath_var
21937
21938 # Shared library path variable.
21939 shlibpath_var=$shlibpath_var
21940
21941 # Is shlibpath searched before the hard-coded library search path?
21942 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21943
21944 # Format of library name prefix.
21945 libname_spec=$lt_libname_spec
21946
21947 # List of archive names.  First name is the real one, the rest are links.
21948 # The last name is the one that the linker finds with -lNAME
21949 library_names_spec=$lt_library_names_spec
21950
21951 # The coded name of the library, if different from the real name.
21952 soname_spec=$lt_soname_spec
21953
21954 # Permission mode override for installation of shared libraries.
21955 install_override_mode=$lt_install_override_mode
21956
21957 # Command to use after installation of a shared archive.
21958 postinstall_cmds=$lt_postinstall_cmds
21959
21960 # Command to use after uninstallation of a shared archive.
21961 postuninstall_cmds=$lt_postuninstall_cmds
21962
21963 # Commands used to finish a libtool library installation in a directory.
21964 finish_cmds=$lt_finish_cmds
21965
21966 # As "finish_cmds", except a single script fragment to be evaled but
21967 # not shown.
21968 finish_eval=$lt_finish_eval
21969
21970 # Whether we should hardcode library paths into libraries.
21971 hardcode_into_libs=$hardcode_into_libs
21972
21973 # Compile-time system search path for libraries.
21974 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21975
21976 # Run-time system search path for libraries.
21977 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21978
21979 # Whether dlopen is supported.
21980 dlopen_support=$enable_dlopen
21981
21982 # Whether dlopen of programs is supported.
21983 dlopen_self=$enable_dlopen_self
21984
21985 # Whether dlopen of statically linked programs is supported.
21986 dlopen_self_static=$enable_dlopen_self_static
21987
21988 # Commands to strip libraries.
21989 old_striplib=$lt_old_striplib
21990 striplib=$lt_striplib
21991
21992
21993 # The linker used to build libraries.
21994 LD=$lt_LD
21995
21996 # How to create reloadable object files.
21997 reload_flag=$lt_reload_flag
21998 reload_cmds=$lt_reload_cmds
21999
22000 # Commands used to build an old-style archive.
22001 old_archive_cmds=$lt_old_archive_cmds
22002
22003 # A language specific compiler.
22004 CC=$lt_compiler
22005
22006 # Is the compiler the GNU compiler?
22007 with_gcc=$GCC
22008
22009 # Compiler flag to turn off builtin functions.
22010 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22011
22012 # Additional compiler flags for building library objects.
22013 pic_flag=$lt_lt_prog_compiler_pic
22014
22015 # How to pass a linker flag through the compiler.
22016 wl=$lt_lt_prog_compiler_wl
22017
22018 # Compiler flag to prevent dynamic linking.
22019 link_static_flag=$lt_lt_prog_compiler_static
22020
22021 # Does compiler simultaneously support -c and -o options?
22022 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22023
22024 # Whether or not to add -lc for building shared libraries.
22025 build_libtool_need_lc=$archive_cmds_need_lc
22026
22027 # Whether or not to disallow shared libs when runtime libs are static.
22028 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22029
22030 # Compiler flag to allow reflexive dlopens.
22031 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22032
22033 # Compiler flag to generate shared objects directly from archives.
22034 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22035
22036 # Whether the compiler copes with passing no objects directly.
22037 compiler_needs_object=$lt_compiler_needs_object
22038
22039 # Create an old-style archive from a shared archive.
22040 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22041
22042 # Create a temporary old-style archive to link instead of a shared archive.
22043 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22044
22045 # Commands used to build a shared archive.
22046 archive_cmds=$lt_archive_cmds
22047 archive_expsym_cmds=$lt_archive_expsym_cmds
22048
22049 # Commands used to build a loadable module if different from building
22050 # a shared archive.
22051 module_cmds=$lt_module_cmds
22052 module_expsym_cmds=$lt_module_expsym_cmds
22053
22054 # Whether we are building with GNU ld or not.
22055 with_gnu_ld=$lt_with_gnu_ld
22056
22057 # Flag that allows shared libraries with undefined symbols to be built.
22058 allow_undefined_flag=$lt_allow_undefined_flag
22059
22060 # Flag that enforces no undefined symbols.
22061 no_undefined_flag=$lt_no_undefined_flag
22062
22063 # Flag to hardcode \$libdir into a binary during linking.
22064 # This must work even if \$libdir does not exist
22065 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22066
22067 # Whether we need a single "-rpath" flag with a separated argument.
22068 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22069
22070 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22071 # DIR into the resulting binary.
22072 hardcode_direct=$hardcode_direct
22073
22074 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22075 # DIR into the resulting binary and the resulting library dependency is
22076 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22077 # library is relocated.
22078 hardcode_direct_absolute=$hardcode_direct_absolute
22079
22080 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22081 # into the resulting binary.
22082 hardcode_minus_L=$hardcode_minus_L
22083
22084 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22085 # into the resulting binary.
22086 hardcode_shlibpath_var=$hardcode_shlibpath_var
22087
22088 # Set to "yes" if building a shared library automatically hardcodes DIR
22089 # into the library and all subsequent libraries and executables linked
22090 # against it.
22091 hardcode_automatic=$hardcode_automatic
22092
22093 # Set to yes if linker adds runtime paths of dependent libraries
22094 # to runtime path list.
22095 inherit_rpath=$inherit_rpath
22096
22097 # Whether libtool must link a program against all its dependency libraries.
22098 link_all_deplibs=$link_all_deplibs
22099
22100 # Set to "yes" if exported symbols are required.
22101 always_export_symbols=$always_export_symbols
22102
22103 # The commands to list exported symbols.
22104 export_symbols_cmds=$lt_export_symbols_cmds
22105
22106 # Symbols that should not be listed in the preloaded symbols.
22107 exclude_expsyms=$lt_exclude_expsyms
22108
22109 # Symbols that must always be exported.
22110 include_expsyms=$lt_include_expsyms
22111
22112 # Commands necessary for linking programs (against libraries) with templates.
22113 prelink_cmds=$lt_prelink_cmds
22114
22115 # Commands necessary for finishing linking programs.
22116 postlink_cmds=$lt_postlink_cmds
22117
22118 # Specify filename containing input files.
22119 file_list_spec=$lt_file_list_spec
22120
22121 # How to hardcode a shared library path into an executable.
22122 hardcode_action=$hardcode_action
22123
22124 # The directories searched by this compiler when creating a shared library.
22125 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22126
22127 # Dependencies to place before and after the objects being linked to
22128 # create a shared library.
22129 predep_objects=$lt_predep_objects
22130 postdep_objects=$lt_postdep_objects
22131 predeps=$lt_predeps
22132 postdeps=$lt_postdeps
22133
22134 # The library search path used internally by the compiler when linking
22135 # a shared library.
22136 compiler_lib_search_path=$lt_compiler_lib_search_path
22137
22138 # ### END LIBTOOL CONFIG
22139
22140 _LT_EOF
22141
22142   case $host_os in
22143   aix3*)
22144     cat <<\_LT_EOF >> "$cfgfile"
22145 # AIX sometimes has problems with the GCC collect2 program.  For some
22146 # reason, if we set the COLLECT_NAMES environment variable, the problems
22147 # vanish in a puff of smoke.
22148 if test "X${COLLECT_NAMES+set}" != Xset; then
22149   COLLECT_NAMES=
22150   export COLLECT_NAMES
22151 fi
22152 _LT_EOF
22153     ;;
22154   esac
22155
22156
22157 ltmain="$ac_aux_dir/ltmain.sh"
22158
22159
22160   # We use sed instead of cat because bash on DJGPP gets confused if
22161   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
22162   # text mode, it properly converts lines to CR/LF.  This bash problem
22163   # is reportedly fixed, but why not run on old versions too?
22164   sed '$q' "$ltmain" >> "$cfgfile" \
22165      || (rm -f "$cfgfile"; exit 1)
22166
22167   if test x"$xsi_shell" = xyes; then
22168   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22169 func_dirname ()\
22170 {\
22171 \    case ${1} in\
22172 \      */*) func_dirname_result="${1%/*}${2}" ;;\
22173 \      *  ) func_dirname_result="${3}" ;;\
22174 \    esac\
22175 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22176   && mv -f "$cfgfile.tmp" "$cfgfile" \
22177     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22178 test 0 -eq $? || _lt_function_replace_fail=:
22179
22180
22181   sed -e '/^func_basename ()$/,/^} # func_basename /c\
22182 func_basename ()\
22183 {\
22184 \    func_basename_result="${1##*/}"\
22185 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22186   && mv -f "$cfgfile.tmp" "$cfgfile" \
22187     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22188 test 0 -eq $? || _lt_function_replace_fail=:
22189
22190
22191   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22192 func_dirname_and_basename ()\
22193 {\
22194 \    case ${1} in\
22195 \      */*) func_dirname_result="${1%/*}${2}" ;;\
22196 \      *  ) func_dirname_result="${3}" ;;\
22197 \    esac\
22198 \    func_basename_result="${1##*/}"\
22199 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22200   && mv -f "$cfgfile.tmp" "$cfgfile" \
22201     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22202 test 0 -eq $? || _lt_function_replace_fail=:
22203
22204
22205   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22206 func_stripname ()\
22207 {\
22208 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22209 \    # positional parameters, so assign one to ordinary parameter first.\
22210 \    func_stripname_result=${3}\
22211 \    func_stripname_result=${func_stripname_result#"${1}"}\
22212 \    func_stripname_result=${func_stripname_result%"${2}"}\
22213 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22214   && mv -f "$cfgfile.tmp" "$cfgfile" \
22215     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22216 test 0 -eq $? || _lt_function_replace_fail=:
22217
22218
22219   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22220 func_split_long_opt ()\
22221 {\
22222 \    func_split_long_opt_name=${1%%=*}\
22223 \    func_split_long_opt_arg=${1#*=}\
22224 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22225   && mv -f "$cfgfile.tmp" "$cfgfile" \
22226     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22227 test 0 -eq $? || _lt_function_replace_fail=:
22228
22229
22230   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22231 func_split_short_opt ()\
22232 {\
22233 \    func_split_short_opt_arg=${1#??}\
22234 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22235 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22236   && mv -f "$cfgfile.tmp" "$cfgfile" \
22237     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22238 test 0 -eq $? || _lt_function_replace_fail=:
22239
22240
22241   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22242 func_lo2o ()\
22243 {\
22244 \    case ${1} in\
22245 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22246 \      *)    func_lo2o_result=${1} ;;\
22247 \    esac\
22248 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22249   && mv -f "$cfgfile.tmp" "$cfgfile" \
22250     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22251 test 0 -eq $? || _lt_function_replace_fail=:
22252
22253
22254   sed -e '/^func_xform ()$/,/^} # func_xform /c\
22255 func_xform ()\
22256 {\
22257     func_xform_result=${1%.*}.lo\
22258 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22259   && mv -f "$cfgfile.tmp" "$cfgfile" \
22260     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22261 test 0 -eq $? || _lt_function_replace_fail=:
22262
22263
22264   sed -e '/^func_arith ()$/,/^} # func_arith /c\
22265 func_arith ()\
22266 {\
22267     func_arith_result=$(( $* ))\
22268 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22269   && mv -f "$cfgfile.tmp" "$cfgfile" \
22270     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22271 test 0 -eq $? || _lt_function_replace_fail=:
22272
22273
22274   sed -e '/^func_len ()$/,/^} # func_len /c\
22275 func_len ()\
22276 {\
22277     func_len_result=${#1}\
22278 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22279   && mv -f "$cfgfile.tmp" "$cfgfile" \
22280     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22281 test 0 -eq $? || _lt_function_replace_fail=:
22282
22283 fi
22284
22285 if test x"$lt_shell_append" = xyes; then
22286   sed -e '/^func_append ()$/,/^} # func_append /c\
22287 func_append ()\
22288 {\
22289     eval "${1}+=\\${2}"\
22290 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22291   && mv -f "$cfgfile.tmp" "$cfgfile" \
22292     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22293 test 0 -eq $? || _lt_function_replace_fail=:
22294
22295
22296   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22297 func_append_quoted ()\
22298 {\
22299 \    func_quote_for_eval "${2}"\
22300 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22301 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22302   && mv -f "$cfgfile.tmp" "$cfgfile" \
22303     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22304 test 0 -eq $? || _lt_function_replace_fail=:
22305
22306
22307   # Save a `func_append' function call where possible by direct use of '+='
22308   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22309     && mv -f "$cfgfile.tmp" "$cfgfile" \
22310       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22311   test 0 -eq $? || _lt_function_replace_fail=:
22312 else
22313   # Save a `func_append' function call even when '+=' is not available
22314   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22315     && mv -f "$cfgfile.tmp" "$cfgfile" \
22316       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22317   test 0 -eq $? || _lt_function_replace_fail=:
22318 fi
22319
22320 if test x"$_lt_function_replace_fail" = x":"; then
22321   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22322 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22323 fi
22324
22325
22326    mv -f "$cfgfile" "$ofile" ||
22327     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22328   chmod +x "$ofile"
22329
22330
22331     cat <<_LT_EOF >> "$ofile"
22332
22333 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22334
22335 # The linker used to build libraries.
22336 LD=$lt_LD_CXX
22337
22338 # How to create reloadable object files.
22339 reload_flag=$lt_reload_flag_CXX
22340 reload_cmds=$lt_reload_cmds_CXX
22341
22342 # Commands used to build an old-style archive.
22343 old_archive_cmds=$lt_old_archive_cmds_CXX
22344
22345 # A language specific compiler.
22346 CC=$lt_compiler_CXX
22347
22348 # Is the compiler the GNU compiler?
22349 with_gcc=$GCC_CXX
22350
22351 # Compiler flag to turn off builtin functions.
22352 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22353
22354 # Additional compiler flags for building library objects.
22355 pic_flag=$lt_lt_prog_compiler_pic_CXX
22356
22357 # How to pass a linker flag through the compiler.
22358 wl=$lt_lt_prog_compiler_wl_CXX
22359
22360 # Compiler flag to prevent dynamic linking.
22361 link_static_flag=$lt_lt_prog_compiler_static_CXX
22362
22363 # Does compiler simultaneously support -c and -o options?
22364 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22365
22366 # Whether or not to add -lc for building shared libraries.
22367 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22368
22369 # Whether or not to disallow shared libs when runtime libs are static.
22370 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22371
22372 # Compiler flag to allow reflexive dlopens.
22373 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22374
22375 # Compiler flag to generate shared objects directly from archives.
22376 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22377
22378 # Whether the compiler copes with passing no objects directly.
22379 compiler_needs_object=$lt_compiler_needs_object_CXX
22380
22381 # Create an old-style archive from a shared archive.
22382 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22383
22384 # Create a temporary old-style archive to link instead of a shared archive.
22385 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22386
22387 # Commands used to build a shared archive.
22388 archive_cmds=$lt_archive_cmds_CXX
22389 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22390
22391 # Commands used to build a loadable module if different from building
22392 # a shared archive.
22393 module_cmds=$lt_module_cmds_CXX
22394 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22395
22396 # Whether we are building with GNU ld or not.
22397 with_gnu_ld=$lt_with_gnu_ld_CXX
22398
22399 # Flag that allows shared libraries with undefined symbols to be built.
22400 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22401
22402 # Flag that enforces no undefined symbols.
22403 no_undefined_flag=$lt_no_undefined_flag_CXX
22404
22405 # Flag to hardcode \$libdir into a binary during linking.
22406 # This must work even if \$libdir does not exist
22407 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22408
22409 # Whether we need a single "-rpath" flag with a separated argument.
22410 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22411
22412 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22413 # DIR into the resulting binary.
22414 hardcode_direct=$hardcode_direct_CXX
22415
22416 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22417 # DIR into the resulting binary and the resulting library dependency is
22418 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22419 # library is relocated.
22420 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22421
22422 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22423 # into the resulting binary.
22424 hardcode_minus_L=$hardcode_minus_L_CXX
22425
22426 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22427 # into the resulting binary.
22428 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22429
22430 # Set to "yes" if building a shared library automatically hardcodes DIR
22431 # into the library and all subsequent libraries and executables linked
22432 # against it.
22433 hardcode_automatic=$hardcode_automatic_CXX
22434
22435 # Set to yes if linker adds runtime paths of dependent libraries
22436 # to runtime path list.
22437 inherit_rpath=$inherit_rpath_CXX
22438
22439 # Whether libtool must link a program against all its dependency libraries.
22440 link_all_deplibs=$link_all_deplibs_CXX
22441
22442 # Set to "yes" if exported symbols are required.
22443 always_export_symbols=$always_export_symbols_CXX
22444
22445 # The commands to list exported symbols.
22446 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22447
22448 # Symbols that should not be listed in the preloaded symbols.
22449 exclude_expsyms=$lt_exclude_expsyms_CXX
22450
22451 # Symbols that must always be exported.
22452 include_expsyms=$lt_include_expsyms_CXX
22453
22454 # Commands necessary for linking programs (against libraries) with templates.
22455 prelink_cmds=$lt_prelink_cmds_CXX
22456
22457 # Commands necessary for finishing linking programs.
22458 postlink_cmds=$lt_postlink_cmds_CXX
22459
22460 # Specify filename containing input files.
22461 file_list_spec=$lt_file_list_spec_CXX
22462
22463 # How to hardcode a shared library path into an executable.
22464 hardcode_action=$hardcode_action_CXX
22465
22466 # The directories searched by this compiler when creating a shared library.
22467 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22468
22469 # Dependencies to place before and after the objects being linked to
22470 # create a shared library.
22471 predep_objects=$lt_predep_objects_CXX
22472 postdep_objects=$lt_postdep_objects_CXX
22473 predeps=$lt_predeps_CXX
22474 postdeps=$lt_postdeps_CXX
22475
22476 # The library search path used internally by the compiler when linking
22477 # a shared library.
22478 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22479
22480 # ### END LIBTOOL TAG CONFIG: CXX
22481 _LT_EOF
22482
22483  ;;
22484
22485   esac
22486 done # for ac_tag
22487
22488
22489 as_fn_exit 0
22490 _ACEOF
22491 ac_clean_files=$ac_clean_files_save
22492
22493 test $ac_write_fail = 0 ||
22494   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22495
22496
22497 # configure is writing to config.log, and then calls config.status.
22498 # config.status does its own redirection, appending to config.log.
22499 # Unfortunately, on DOS this fails, as config.log is still kept open
22500 # by configure, so config.status won't be able to write to it; its
22501 # output is simply discarded.  So we exec the FD to /dev/null,
22502 # effectively closing config.log, so it can be properly (re)opened and
22503 # appended to by config.status.  When coming back to configure, we
22504 # need to make the FD available again.
22505 if test "$no_create" != yes; then
22506   ac_cs_success=:
22507   ac_config_status_args=
22508   test "$silent" = yes &&
22509     ac_config_status_args="$ac_config_status_args --quiet"
22510   exec 5>/dev/null
22511   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22512   exec 5>>config.log
22513   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22514   # would make configure fail if this is the last instruction.
22515   $ac_cs_success || as_fn_exit 1
22516 fi
22517
22518 #
22519 # CONFIG_SUBDIRS section.
22520 #
22521 if test "$no_recursion" != yes; then
22522
22523   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22524   # so they do not pile up.
22525   ac_sub_configure_args=
22526   ac_prev=
22527   eval "set x $ac_configure_args"
22528   shift
22529   for ac_arg
22530   do
22531     if test -n "$ac_prev"; then
22532       ac_prev=
22533       continue
22534     fi
22535     case $ac_arg in
22536     -cache-file | --cache-file | --cache-fil | --cache-fi \
22537     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22538       ac_prev=cache_file ;;
22539     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22540     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
22541     | --c=*)
22542       ;;
22543     --config-cache | -C)
22544       ;;
22545     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22546       ac_prev=srcdir ;;
22547     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22548       ;;
22549     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
22550       ac_prev=prefix ;;
22551     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
22552       ;;
22553     --disable-option-checking)
22554       ;;
22555     *)
22556       case $ac_arg in
22557       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22558       esac
22559       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
22560     esac
22561   done
22562
22563   # Always prepend --prefix to ensure using the same prefix
22564   # in subdir configurations.
22565   ac_arg="--prefix=$prefix"
22566   case $ac_arg in
22567   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22568   esac
22569   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
22570
22571   # Pass --silent
22572   if test "$silent" = yes; then
22573     ac_sub_configure_args="--silent $ac_sub_configure_args"
22574   fi
22575
22576   # Always prepend --disable-option-checking to silence warnings, since
22577   # different subdirs can have different --enable and --with options.
22578   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
22579
22580   ac_popdir=`pwd`
22581   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
22582
22583     # Do not complain, so a configure script can configure whichever
22584     # parts of a large source tree are present.
22585     test -d "$srcdir/$ac_dir" || continue
22586
22587     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22588     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22589     $as_echo "$ac_msg" >&6
22590     as_dir="$ac_dir"; as_fn_mkdir_p
22591     ac_builddir=.
22592
22593 case "$ac_dir" in
22594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22595 *)
22596   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22597   # A ".." for each directory in $ac_dir_suffix.
22598   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22599   case $ac_top_builddir_sub in
22600   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22601   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22602   esac ;;
22603 esac
22604 ac_abs_top_builddir=$ac_pwd
22605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22606 # for backward compatibility:
22607 ac_top_builddir=$ac_top_build_prefix
22608
22609 case $srcdir in
22610   .)  # We are building in place.
22611     ac_srcdir=.
22612     ac_top_srcdir=$ac_top_builddir_sub
22613     ac_abs_top_srcdir=$ac_pwd ;;
22614   [\\/]* | ?:[\\/]* )  # Absolute name.
22615     ac_srcdir=$srcdir$ac_dir_suffix;
22616     ac_top_srcdir=$srcdir
22617     ac_abs_top_srcdir=$srcdir ;;
22618   *) # Relative name.
22619     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22620     ac_top_srcdir=$ac_top_build_prefix$srcdir
22621     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22622 esac
22623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22624
22625
22626     cd "$ac_dir"
22627
22628     # Check for guested configure; otherwise get Cygnus style configure.
22629     if test -f "$ac_srcdir/configure.gnu"; then
22630       ac_sub_configure=$ac_srcdir/configure.gnu
22631     elif test -f "$ac_srcdir/configure"; then
22632       ac_sub_configure=$ac_srcdir/configure
22633     elif test -f "$ac_srcdir/configure.in"; then
22634       # This should be Cygnus configure.
22635       ac_sub_configure=$ac_aux_dir/configure
22636     else
22637       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22639       ac_sub_configure=
22640     fi
22641
22642     # The recursion is here.
22643     if test -n "$ac_sub_configure"; then
22644       # Make the cache file name correct relative to the subdirectory.
22645       case $cache_file in
22646       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
22647       *) # Relative name.
22648         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
22649       esac
22650
22651       { $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
22652 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22653       # The eval makes quoting arguments work.
22654       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22655            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22656         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22657     fi
22658
22659     cd "$ac_popdir"
22660   done
22661 fi
22662 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22663   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22664 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22665 fi
22666
22667
22668 #
22669 # Summarize the package configuration
22670 #
22671
22672 { $as_echo "$as_me:${as_lineno-$LINENO}:
22673
22674   Configuration Summary
22675   ---------------------
22676   Package                                     : ${PACKAGE_NAME}
22677   Version                                     : ${PACKAGE_VERSION}
22678   Interface                                   : ${LIBNLFAULTINJECTION_VERSION_INFO//:/.}
22679   Build system                                : ${build}
22680   Host system                                 : ${host}
22681   Target system                               : ${target}
22682   Target architecture                         : ${target_cpu}
22683   Target OS                                   : ${target_os}
22684   Target style                                : ${TARGET_STYLE}
22685   Cross compiling                             : ${cross_compiling}
22686   Build shared libraries                      : ${enable_shared}
22687   Build static libraries                      : ${enable_static}
22688   Build debug libraries                       : ${nl_cv_build_debug}
22689   Build optimized libraries                   : ${nl_cv_build_optimized}
22690   Build coverage libraries                    : ${nl_cv_build_coverage}
22691   Build coverage reports                      : ${nl_cv_build_coverage_reports}
22692   Lcov                                        : ${LCOV:--}
22693   Genhtml                                     : ${GENHTML:--}
22694   Build tests                                 : ${nl_cv_build_tests}
22695   NLFAULTINJECTION tests                      : ${with_tests}
22696   Prefix                                      : ${prefix}
22697   Documentation support                       : ${nl_cv_build_docs}
22698   Doxygen                                     : ${DOXYGEN:--}
22699   GraphViz dot                                : ${DOT:--}
22700   Nlassert source                             : ${nl_with_nlassert:--}
22701   Nlassert compile flags                      : ${NLASSERT_CPPFLAGS:--}
22702   Nlassert link flags                         : ${NLASSERT_LDFLAGS:--}
22703   Nlassert link libraries                     : ${NLASSERT_LIBS:--}
22704   Nlassert foreign subdirectory dependency    : ${NLASSERT_FOREIGN_SUBDIR_DEPENDENCY:--}
22705   Nlunit-test source                          : ${nl_with_nlunit_test:--}
22706   Nlunit-test compile flags                   : ${NLUNIT_TEST_CPPFLAGS:--}
22707   Nlunit-test link flags                      : ${NLUNIT_TEST_LDFLAGS:--}
22708   Nlunit-test link libraries                  : ${NLUNIT_TEST_LIBS:--}
22709   Nlunit-test foreign subdirectory dependency : ${NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY:--}
22710   C Preprocessor                              : ${CPP}
22711   C Compiler                                  : ${CC}
22712   C++ Preprocessor                            : ${CXXCPP}
22713   C++ Compiler                                : ${CXX}
22714   Archiver                                    : ${AR}
22715   Archive Indexer                             : ${RANLIB}
22716   Symbol Stripper                             : ${STRIP}
22717   Object Copier                               : ${OBJCOPY}
22718   C Preprocessor flags                        : ${CPPFLAGS:--}
22719   C Compile flags                             : ${CFLAGS:--}
22720   C++ Compile flags                           : ${CXXFLAGS:--}
22721   Link flags                                  : ${LDFLAGS:--}
22722   Link libraries                              : ${LIBS}
22723   Pretty                                      : ${PRETTY:--}
22724   Pretty args                                 : ${PRETTY_ARGS:--}
22725   Pretty check                                : ${PRETTY_CHECK:--}
22726   Pretty check args                           : ${PRETTY_CHECK_ARGS:--}
22727 " >&5
22728 $as_echo "$as_me:
22729
22730   Configuration Summary
22731   ---------------------
22732   Package                                     : ${PACKAGE_NAME}
22733   Version                                     : ${PACKAGE_VERSION}
22734   Interface                                   : ${LIBNLFAULTINJECTION_VERSION_INFO//:/.}
22735   Build system                                : ${build}
22736   Host system                                 : ${host}
22737   Target system                               : ${target}
22738   Target architecture                         : ${target_cpu}
22739   Target OS                                   : ${target_os}
22740   Target style                                : ${TARGET_STYLE}
22741   Cross compiling                             : ${cross_compiling}
22742   Build shared libraries                      : ${enable_shared}
22743   Build static libraries                      : ${enable_static}
22744   Build debug libraries                       : ${nl_cv_build_debug}
22745   Build optimized libraries                   : ${nl_cv_build_optimized}
22746   Build coverage libraries                    : ${nl_cv_build_coverage}
22747   Build coverage reports                      : ${nl_cv_build_coverage_reports}
22748   Lcov                                        : ${LCOV:--}
22749   Genhtml                                     : ${GENHTML:--}
22750   Build tests                                 : ${nl_cv_build_tests}
22751   NLFAULTINJECTION tests                      : ${with_tests}
22752   Prefix                                      : ${prefix}
22753   Documentation support                       : ${nl_cv_build_docs}
22754   Doxygen                                     : ${DOXYGEN:--}
22755   GraphViz dot                                : ${DOT:--}
22756   Nlassert source                             : ${nl_with_nlassert:--}
22757   Nlassert compile flags                      : ${NLASSERT_CPPFLAGS:--}
22758   Nlassert link flags                         : ${NLASSERT_LDFLAGS:--}
22759   Nlassert link libraries                     : ${NLASSERT_LIBS:--}
22760   Nlassert foreign subdirectory dependency    : ${NLASSERT_FOREIGN_SUBDIR_DEPENDENCY:--}
22761   Nlunit-test source                          : ${nl_with_nlunit_test:--}
22762   Nlunit-test compile flags                   : ${NLUNIT_TEST_CPPFLAGS:--}
22763   Nlunit-test link flags                      : ${NLUNIT_TEST_LDFLAGS:--}
22764   Nlunit-test link libraries                  : ${NLUNIT_TEST_LIBS:--}
22765   Nlunit-test foreign subdirectory dependency : ${NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY:--}
22766   C Preprocessor                              : ${CPP}
22767   C Compiler                                  : ${CC}
22768   C++ Preprocessor                            : ${CXXCPP}
22769   C++ Compiler                                : ${CXX}
22770   Archiver                                    : ${AR}
22771   Archive Indexer                             : ${RANLIB}
22772   Symbol Stripper                             : ${STRIP}
22773   Object Copier                               : ${OBJCOPY}
22774   C Preprocessor flags                        : ${CPPFLAGS:--}
22775   C Compile flags                             : ${CFLAGS:--}
22776   C++ Compile flags                           : ${CXXFLAGS:--}
22777   Link flags                                  : ${LDFLAGS:--}
22778   Link libraries                              : ${LIBS}
22779   Pretty                                      : ${PRETTY:--}
22780   Pretty args                                 : ${PRETTY_ARGS:--}
22781   Pretty check                                : ${PRETTY_CHECK:--}
22782   Pretty check args                           : ${PRETTY_CHECK_ARGS:--}
22783 " >&6;}