Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / nlunit-test / repo / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for nlunit-test g4c5ae45-dirty.
4 #
5 # Report bugs to <nlunit-test-users@google.com>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: nlunit-test-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='nlunit-test'
572 PACKAGE_TARNAME='nlunit-test'
573 PACKAGE_VERSION='g4c5ae45-dirty'
574 PACKAGE_STRING='nlunit-test g4c5ae45-dirty'
575 PACKAGE_BUGREPORT='nlunit-test-users@google.com'
576 PACKAGE_URL='https://github.com/nestlabs/nlunit-test/'
577
578 ac_unique_file="src/nlunit-test.h"
579 ac_no_link=no
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 ac_subst_vars='am__EXEEXT_FALSE
617 am__EXEEXT_TRUE
618 LTLIBOBJS
619 LIBOBJS
620 NLUNIT_TEST_BUILD_DOCS_FALSE
621 NLUNIT_TEST_BUILD_DOCS_TRUE
622 DOXYGEN_USE_DOT
623 DOT
624 DOXYGEN
625 NLUNIT_TEST_BUILD_OPTIMIZED_FALSE
626 NLUNIT_TEST_BUILD_OPTIMIZED_TRUE
627 NLUNIT_TEST_BUILD_COVERAGE_REPORTS_FALSE
628 NLUNIT_TEST_BUILD_COVERAGE_REPORTS_TRUE
629 GENHTML
630 LCOV
631 NLUNIT_TEST_BUILD_COVERAGE_FALSE
632 NLUNIT_TEST_BUILD_COVERAGE_TRUE
633 NLUNIT_TEST_BUILD_DEBUG_FALSE
634 NLUNIT_TEST_BUILD_DEBUG_TRUE
635 OTOOL64
636 OTOOL
637 LIPO
638 NMEDIT
639 DSYMUTIL
640 MANIFEST_TOOL
641 ac_ct_AR
642 DLLTOOL
643 OBJDUMP
644 NM
645 ac_ct_DUMPBIN
646 DUMPBIN
647 LD
648 FGREP
649 EGREP
650 GREP
651 SED
652 LIBTOOL
653 PERL
654 CMP
655 LN_S
656 OBJCOPY
657 RANLIB
658 AR
659 CPP
660 am__fastdepCC_FALSE
661 am__fastdepCC_TRUE
662 CCDEPMODE
663 am__nodep
664 AMDEPBACKSLASH
665 AMDEP_FALSE
666 AMDEP_TRUE
667 am__quote
668 am__include
669 DEPDIR
670 OBJEXT
671 EXEEXT
672 ac_ct_CC
673 CPPFLAGS
674 LDFLAGS
675 CFLAGS
676 CC
677 MAINT
678 MAINTAINER_MODE_FALSE
679 MAINTAINER_MODE_TRUE
680 AM_BACKSLASH
681 AM_DEFAULT_VERBOSITY
682 AM_DEFAULT_V
683 AM_V
684 am__untar
685 am__tar
686 AMTAR
687 am__leading_dot
688 SET_MAKE
689 AWK
690 mkdir_p
691 MKDIR_P
692 INSTALL_STRIP_PROGRAM
693 STRIP
694 install_sh
695 MAKEINFO
696 AUTOHEADER
697 AUTOMAKE
698 AUTOCONF
699 ACLOCAL
700 VERSION
701 PACKAGE
702 CYGPATH_W
703 am__isrc
704 INSTALL_DATA
705 INSTALL_SCRIPT
706 INSTALL_PROGRAM
707 nl_filtered_target_os
708 nl_filtered_target_vendor
709 nl_filtered_target_cpu
710 nl_filtered_target
711 nl_filtered_host_os
712 nl_filtered_host_vendor
713 nl_filtered_host_cpu
714 nl_filtered_host
715 nl_filtered_build_os
716 nl_filtered_build_vendor
717 nl_filtered_build_cpu
718 nl_filtered_build
719 target_os
720 target_vendor
721 target_cpu
722 target
723 host_os
724 host_vendor
725 host_cpu
726 host
727 build_os
728 build_vendor
729 build_cpu
730 build
731 LIBNLUNIT_TEST_VERSION_INFO
732 LIBNLUNIT_TEST_VERSION_REVISION
733 LIBNLUNIT_TEST_VERSION_AGE
734 LIBNLUNIT_TEST_VERSION_CURRENT
735 abs_top_nlbuild_autotools_dir
736 nlbuild_autotools_stem
737 target_alias
738 host_alias
739 build_alias
740 LIBS
741 ECHO_T
742 ECHO_N
743 ECHO_C
744 DEFS
745 mandir
746 localedir
747 libdir
748 psdir
749 pdfdir
750 dvidir
751 htmldir
752 infodir
753 docdir
754 oldincludedir
755 includedir
756 localstatedir
757 sharedstatedir
758 sysconfdir
759 datadir
760 datarootdir
761 libexecdir
762 sbindir
763 bindir
764 program_transform_name
765 prefix
766 exec_prefix
767 PACKAGE_URL
768 PACKAGE_BUGREPORT
769 PACKAGE_STRING
770 PACKAGE_VERSION
771 PACKAGE_TARNAME
772 PACKAGE_NAME
773 PATH_SEPARATOR
774 SHELL'
775 ac_subst_files=''
776 ac_user_opts='
777 enable_option_checking
778 enable_silent_rules
779 enable_maintainer_mode
780 enable_dependency_tracking
781 enable_shared
782 enable_static
783 with_pic
784 enable_fast_install
785 with_gnu_ld
786 with_sysroot
787 enable_libtool_lock
788 enable_debug
789 enable_coverage
790 enable_coverage_reports
791 enable_optimization
792 enable_docs
793 '
794       ac_precious_vars='build_alias
795 host_alias
796 target_alias
797 CC
798 CFLAGS
799 LDFLAGS
800 LIBS
801 CPPFLAGS
802 CPP
803 DOXYGEN
804 DOT'
805
806
807 # Initialize some variables set by options.
808 ac_init_help=
809 ac_init_version=false
810 ac_unrecognized_opts=
811 ac_unrecognized_sep=
812 # The variables have the same names as the options, with
813 # dashes changed to underlines.
814 cache_file=/dev/null
815 exec_prefix=NONE
816 no_create=
817 no_recursion=
818 prefix=NONE
819 program_prefix=NONE
820 program_suffix=NONE
821 program_transform_name=s,x,x,
822 silent=
823 site=
824 srcdir=
825 verbose=
826 x_includes=NONE
827 x_libraries=NONE
828
829 # Installation directory options.
830 # These are left unexpanded so users can "make install exec_prefix=/foo"
831 # and all the variables that are supposed to be based on exec_prefix
832 # by default will actually change.
833 # Use braces instead of parens because sh, perl, etc. also accept them.
834 # (The list follows the same order as the GNU Coding Standards.)
835 bindir='${exec_prefix}/bin'
836 sbindir='${exec_prefix}/sbin'
837 libexecdir='${exec_prefix}/libexec'
838 datarootdir='${prefix}/share'
839 datadir='${datarootdir}'
840 sysconfdir='${prefix}/etc'
841 sharedstatedir='${prefix}/com'
842 localstatedir='${prefix}/var'
843 includedir='${prefix}/include'
844 oldincludedir='/usr/include'
845 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
846 infodir='${datarootdir}/info'
847 htmldir='${docdir}'
848 dvidir='${docdir}'
849 pdfdir='${docdir}'
850 psdir='${docdir}'
851 libdir='${exec_prefix}/lib'
852 localedir='${datarootdir}/locale'
853 mandir='${datarootdir}/man'
854
855 ac_prev=
856 ac_dashdash=
857 for ac_option
858 do
859   # If the previous option needs an argument, assign it.
860   if test -n "$ac_prev"; then
861     eval $ac_prev=\$ac_option
862     ac_prev=
863     continue
864   fi
865
866   case $ac_option in
867   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868   *=)   ac_optarg= ;;
869   *)    ac_optarg=yes ;;
870   esac
871
872   # Accept the important Cygnus configure options, so we can diagnose typos.
873
874   case $ac_dashdash$ac_option in
875   --)
876     ac_dashdash=yes ;;
877
878   -bindir | --bindir | --bindi | --bind | --bin | --bi)
879     ac_prev=bindir ;;
880   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
881     bindir=$ac_optarg ;;
882
883   -build | --build | --buil | --bui | --bu)
884     ac_prev=build_alias ;;
885   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
886     build_alias=$ac_optarg ;;
887
888   -cache-file | --cache-file | --cache-fil | --cache-fi \
889   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
890     ac_prev=cache_file ;;
891   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
892   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
893     cache_file=$ac_optarg ;;
894
895   --config-cache | -C)
896     cache_file=config.cache ;;
897
898   -datadir | --datadir | --datadi | --datad)
899     ac_prev=datadir ;;
900   -datadir=* | --datadir=* | --datadi=* | --datad=*)
901     datadir=$ac_optarg ;;
902
903   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
904   | --dataroo | --dataro | --datar)
905     ac_prev=datarootdir ;;
906   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
907   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
908     datarootdir=$ac_optarg ;;
909
910   -disable-* | --disable-*)
911     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
912     # Reject names that are not valid shell variable names.
913     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914       as_fn_error $? "invalid feature name: $ac_useropt"
915     ac_useropt_orig=$ac_useropt
916     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917     case $ac_user_opts in
918       *"
919 "enable_$ac_useropt"
920 "*) ;;
921       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
922          ac_unrecognized_sep=', ';;
923     esac
924     eval enable_$ac_useropt=no ;;
925
926   -docdir | --docdir | --docdi | --doc | --do)
927     ac_prev=docdir ;;
928   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
929     docdir=$ac_optarg ;;
930
931   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
932     ac_prev=dvidir ;;
933   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
934     dvidir=$ac_optarg ;;
935
936   -enable-* | --enable-*)
937     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
938     # Reject names that are not valid shell variable names.
939     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940       as_fn_error $? "invalid feature name: $ac_useropt"
941     ac_useropt_orig=$ac_useropt
942     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943     case $ac_user_opts in
944       *"
945 "enable_$ac_useropt"
946 "*) ;;
947       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
948          ac_unrecognized_sep=', ';;
949     esac
950     eval enable_$ac_useropt=\$ac_optarg ;;
951
952   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
953   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
954   | --exec | --exe | --ex)
955     ac_prev=exec_prefix ;;
956   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
957   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
958   | --exec=* | --exe=* | --ex=*)
959     exec_prefix=$ac_optarg ;;
960
961   -gas | --gas | --ga | --g)
962     # Obsolete; use --with-gas.
963     with_gas=yes ;;
964
965   -help | --help | --hel | --he | -h)
966     ac_init_help=long ;;
967   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
968     ac_init_help=recursive ;;
969   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
970     ac_init_help=short ;;
971
972   -host | --host | --hos | --ho)
973     ac_prev=host_alias ;;
974   -host=* | --host=* | --hos=* | --ho=*)
975     host_alias=$ac_optarg ;;
976
977   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
978     ac_prev=htmldir ;;
979   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
980   | --ht=*)
981     htmldir=$ac_optarg ;;
982
983   -includedir | --includedir | --includedi | --included | --include \
984   | --includ | --inclu | --incl | --inc)
985     ac_prev=includedir ;;
986   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
987   | --includ=* | --inclu=* | --incl=* | --inc=*)
988     includedir=$ac_optarg ;;
989
990   -infodir | --infodir | --infodi | --infod | --info | --inf)
991     ac_prev=infodir ;;
992   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
993     infodir=$ac_optarg ;;
994
995   -libdir | --libdir | --libdi | --libd)
996     ac_prev=libdir ;;
997   -libdir=* | --libdir=* | --libdi=* | --libd=*)
998     libdir=$ac_optarg ;;
999
1000   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1001   | --libexe | --libex | --libe)
1002     ac_prev=libexecdir ;;
1003   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1004   | --libexe=* | --libex=* | --libe=*)
1005     libexecdir=$ac_optarg ;;
1006
1007   -localedir | --localedir | --localedi | --localed | --locale)
1008     ac_prev=localedir ;;
1009   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1010     localedir=$ac_optarg ;;
1011
1012   -localstatedir | --localstatedir | --localstatedi | --localstated \
1013   | --localstate | --localstat | --localsta | --localst | --locals)
1014     ac_prev=localstatedir ;;
1015   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1016   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1017     localstatedir=$ac_optarg ;;
1018
1019   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1020     ac_prev=mandir ;;
1021   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1022     mandir=$ac_optarg ;;
1023
1024   -nfp | --nfp | --nf)
1025     # Obsolete; use --without-fp.
1026     with_fp=no ;;
1027
1028   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1029   | --no-cr | --no-c | -n)
1030     no_create=yes ;;
1031
1032   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1033   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1034     no_recursion=yes ;;
1035
1036   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1037   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1038   | --oldin | --oldi | --old | --ol | --o)
1039     ac_prev=oldincludedir ;;
1040   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1041   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1042   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1043     oldincludedir=$ac_optarg ;;
1044
1045   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1046     ac_prev=prefix ;;
1047   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1048     prefix=$ac_optarg ;;
1049
1050   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1051   | --program-pre | --program-pr | --program-p)
1052     ac_prev=program_prefix ;;
1053   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1054   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1055     program_prefix=$ac_optarg ;;
1056
1057   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1058   | --program-suf | --program-su | --program-s)
1059     ac_prev=program_suffix ;;
1060   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1061   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1062     program_suffix=$ac_optarg ;;
1063
1064   -program-transform-name | --program-transform-name \
1065   | --program-transform-nam | --program-transform-na \
1066   | --program-transform-n | --program-transform- \
1067   | --program-transform | --program-transfor \
1068   | --program-transfo | --program-transf \
1069   | --program-trans | --program-tran \
1070   | --progr-tra | --program-tr | --program-t)
1071     ac_prev=program_transform_name ;;
1072   -program-transform-name=* | --program-transform-name=* \
1073   | --program-transform-nam=* | --program-transform-na=* \
1074   | --program-transform-n=* | --program-transform-=* \
1075   | --program-transform=* | --program-transfor=* \
1076   | --program-transfo=* | --program-transf=* \
1077   | --program-trans=* | --program-tran=* \
1078   | --progr-tra=* | --program-tr=* | --program-t=*)
1079     program_transform_name=$ac_optarg ;;
1080
1081   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1082     ac_prev=pdfdir ;;
1083   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1084     pdfdir=$ac_optarg ;;
1085
1086   -psdir | --psdir | --psdi | --psd | --ps)
1087     ac_prev=psdir ;;
1088   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1089     psdir=$ac_optarg ;;
1090
1091   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1092   | -silent | --silent | --silen | --sile | --sil)
1093     silent=yes ;;
1094
1095   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1096     ac_prev=sbindir ;;
1097   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1098   | --sbi=* | --sb=*)
1099     sbindir=$ac_optarg ;;
1100
1101   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1102   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1103   | --sharedst | --shareds | --shared | --share | --shar \
1104   | --sha | --sh)
1105     ac_prev=sharedstatedir ;;
1106   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1107   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1108   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1109   | --sha=* | --sh=*)
1110     sharedstatedir=$ac_optarg ;;
1111
1112   -site | --site | --sit)
1113     ac_prev=site ;;
1114   -site=* | --site=* | --sit=*)
1115     site=$ac_optarg ;;
1116
1117   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1118     ac_prev=srcdir ;;
1119   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1120     srcdir=$ac_optarg ;;
1121
1122   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1123   | --syscon | --sysco | --sysc | --sys | --sy)
1124     ac_prev=sysconfdir ;;
1125   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1126   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1127     sysconfdir=$ac_optarg ;;
1128
1129   -target | --target | --targe | --targ | --tar | --ta | --t)
1130     ac_prev=target_alias ;;
1131   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1132     target_alias=$ac_optarg ;;
1133
1134   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1135     verbose=yes ;;
1136
1137   -version | --version | --versio | --versi | --vers | -V)
1138     ac_init_version=: ;;
1139
1140   -with-* | --with-*)
1141     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142     # Reject names that are not valid shell variable names.
1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144       as_fn_error $? "invalid package name: $ac_useropt"
1145     ac_useropt_orig=$ac_useropt
1146     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147     case $ac_user_opts in
1148       *"
1149 "with_$ac_useropt"
1150 "*) ;;
1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1152          ac_unrecognized_sep=', ';;
1153     esac
1154     eval with_$ac_useropt=\$ac_optarg ;;
1155
1156   -without-* | --without-*)
1157     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158     # Reject names that are not valid shell variable names.
1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160       as_fn_error $? "invalid package name: $ac_useropt"
1161     ac_useropt_orig=$ac_useropt
1162     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163     case $ac_user_opts in
1164       *"
1165 "with_$ac_useropt"
1166 "*) ;;
1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1168          ac_unrecognized_sep=', ';;
1169     esac
1170     eval with_$ac_useropt=no ;;
1171
1172   --x)
1173     # Obsolete; use --with-x.
1174     with_x=yes ;;
1175
1176   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1177   | --x-incl | --x-inc | --x-in | --x-i)
1178     ac_prev=x_includes ;;
1179   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1180   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1181     x_includes=$ac_optarg ;;
1182
1183   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1184   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1185     ac_prev=x_libraries ;;
1186   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1187   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1188     x_libraries=$ac_optarg ;;
1189
1190   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1191 Try \`$0 --help' for more information"
1192     ;;
1193
1194   *=*)
1195     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1196     # Reject names that are not valid shell variable names.
1197     case $ac_envvar in #(
1198       '' | [0-9]* | *[!_$as_cr_alnum]* )
1199       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1200     esac
1201     eval $ac_envvar=\$ac_optarg
1202     export $ac_envvar ;;
1203
1204   *)
1205     # FIXME: should be removed in autoconf 3.0.
1206     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1207     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1208       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1209     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210     ;;
1211
1212   esac
1213 done
1214
1215 if test -n "$ac_prev"; then
1216   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1217   as_fn_error $? "missing argument to $ac_option"
1218 fi
1219
1220 if test -n "$ac_unrecognized_opts"; then
1221   case $enable_option_checking in
1222     no) ;;
1223     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1224     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1225   esac
1226 fi
1227
1228 # Check all directory arguments for consistency.
1229 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230                 datadir sysconfdir sharedstatedir localstatedir includedir \
1231                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1232                 libdir localedir mandir
1233 do
1234   eval ac_val=\$$ac_var
1235   # Remove trailing slashes.
1236   case $ac_val in
1237     */ )
1238       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1239       eval $ac_var=\$ac_val;;
1240   esac
1241   # Be sure to have absolute directory names.
1242   case $ac_val in
1243     [\\/$]* | ?:[\\/]* )  continue;;
1244     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1245   esac
1246   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1247 done
1248
1249 # There might be people who depend on the old broken behavior: `$host'
1250 # used to hold the argument of --host etc.
1251 # FIXME: To remove some day.
1252 build=$build_alias
1253 host=$host_alias
1254 target=$target_alias
1255
1256 # FIXME: To remove some day.
1257 if test "x$host_alias" != x; then
1258   if test "x$build_alias" = x; then
1259     cross_compiling=maybe
1260     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1261     If a cross compiler is detected then cross compile mode will be used" >&2
1262   elif test "x$build_alias" != "x$host_alias"; then
1263     cross_compiling=yes
1264   fi
1265 fi
1266
1267 ac_tool_prefix=
1268 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1269
1270 test "$silent" = yes && exec 6>/dev/null
1271
1272
1273 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1274 ac_ls_di=`ls -di .` &&
1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1276   as_fn_error $? "working directory cannot be determined"
1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278   as_fn_error $? "pwd does not report name of working directory"
1279
1280
1281 # Find the source files, if location was not specified.
1282 if test -z "$srcdir"; then
1283   ac_srcdir_defaulted=yes
1284   # Try the directory containing this script, then the parent directory.
1285   ac_confdir=`$as_dirname -- "$as_myself" ||
1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287          X"$as_myself" : 'X\(//\)[^/]' \| \
1288          X"$as_myself" : 'X\(//\)$' \| \
1289          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290 $as_echo X"$as_myself" |
1291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292             s//\1/
1293             q
1294           }
1295           /^X\(\/\/\)[^/].*/{
1296             s//\1/
1297             q
1298           }
1299           /^X\(\/\/\)$/{
1300             s//\1/
1301             q
1302           }
1303           /^X\(\/\).*/{
1304             s//\1/
1305             q
1306           }
1307           s/.*/./; q'`
1308   srcdir=$ac_confdir
1309   if test ! -r "$srcdir/$ac_unique_file"; then
1310     srcdir=..
1311   fi
1312 else
1313   ac_srcdir_defaulted=no
1314 fi
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1317   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1318 fi
1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1320 ac_abs_confdir=`(
1321         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1322         pwd)`
1323 # When building in place, set srcdir=.
1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
1325   srcdir=.
1326 fi
1327 # Remove unnecessary trailing slashes from srcdir.
1328 # Double slashes in file names in object file debugging info
1329 # mess up M-x gdb in Emacs.
1330 case $srcdir in
1331 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332 esac
1333 for ac_var in $ac_precious_vars; do
1334   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1335   eval ac_env_${ac_var}_value=\$${ac_var}
1336   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1337   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1338 done
1339
1340 #
1341 # Report the --help message.
1342 #
1343 if test "$ac_init_help" = "long"; then
1344   # Omit some internal or obsolete options to make the list less imposing.
1345   # This message is too long to be a string in the A/UX 3.1 sh.
1346   cat <<_ACEOF
1347 \`configure' configures nlunit-test g4c5ae45-dirty to adapt to many kinds of systems.
1348
1349 Usage: $0 [OPTION]... [VAR=VALUE]...
1350
1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352 VAR=VALUE.  See below for descriptions of some of the useful variables.
1353
1354 Defaults for the options are specified in brackets.
1355
1356 Configuration:
1357   -h, --help              display this help and exit
1358       --help=short        display options specific to this package
1359       --help=recursive    display the short help of all the included packages
1360   -V, --version           display version information and exit
1361   -q, --quiet, --silent   do not print \`checking ...' messages
1362       --cache-file=FILE   cache test results in FILE [disabled]
1363   -C, --config-cache      alias for \`--cache-file=config.cache'
1364   -n, --no-create         do not create output files
1365       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1366
1367 Installation directories:
1368   --prefix=PREFIX         install architecture-independent files in PREFIX
1369                           [$ac_default_prefix]
1370   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1371                           [PREFIX]
1372
1373 By default, \`make install' will install all the files in
1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376 for instance \`--prefix=\$HOME'.
1377
1378 For better control, use the options below.
1379
1380 Fine tuning of the installation directories:
1381   --bindir=DIR            user executables [EPREFIX/bin]
1382   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1383   --libexecdir=DIR        program executables [EPREFIX/libexec]
1384   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1385   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1386   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1387   --libdir=DIR            object code libraries [EPREFIX/lib]
1388   --includedir=DIR        C header files [PREFIX/include]
1389   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1390   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1391   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1392   --infodir=DIR           info documentation [DATAROOTDIR/info]
1393   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1394   --mandir=DIR            man documentation [DATAROOTDIR/man]
1395   --docdir=DIR            documentation root [DATAROOTDIR/doc/nlunit-test]
1396   --htmldir=DIR           html documentation [DOCDIR]
1397   --dvidir=DIR            dvi documentation [DOCDIR]
1398   --pdfdir=DIR            pdf documentation [DOCDIR]
1399   --psdir=DIR             ps documentation [DOCDIR]
1400 _ACEOF
1401
1402   cat <<\_ACEOF
1403
1404 Program names:
1405   --program-prefix=PREFIX            prepend PREFIX to installed program names
1406   --program-suffix=SUFFIX            append SUFFIX to installed program names
1407   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1408
1409 System types:
1410   --build=BUILD     configure for building on BUILD [guessed]
1411   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1412   --target=TARGET   configure for building compilers for TARGET [HOST]
1413 _ACEOF
1414 fi
1415
1416 if test -n "$ac_init_help"; then
1417   case $ac_init_help in
1418      short | recursive ) echo "Configuration of nlunit-test g4c5ae45-dirty:";;
1419    esac
1420   cat <<\_ACEOF
1421
1422 Optional Features:
1423   --disable-option-checking  ignore unrecognized --enable/--with options
1424   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1425   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1426   --enable-silent-rules   less verbose build output (undo: "make V=1")
1427   --disable-silent-rules  verbose build output (undo: "make V=0")
1428   --enable-maintainer-mode
1429                           enable make rules and dependencies not useful (and
1430                           sometimes confusing) to the casual installer
1431   --enable-dependency-tracking
1432                           do not reject slow dependency extractors
1433   --disable-dependency-tracking
1434                           speeds up one-time build
1435   --enable-shared[=PKGS]  build shared libraries [default=yes]
1436   --enable-static[=PKGS]  build static libraries [default=yes]
1437   --enable-fast-install[=PKGS]
1438                           optimize for fast installation [default=yes]
1439   --disable-libtool-lock  avoid locking (might break parallel builds)
1440   --enable-debug          Enable the generation of debug instances
1441                           [default=no].
1442   --enable-coverage       Enable the generation of code-coverage instances
1443                           [default=no].
1444   --enable-coverage-reports
1445                           Enable the generation of code coverage reports
1446                           (requires lcov) [default=auto].
1447   --enable-optimization   Enable the generation of code-optimized instances
1448                           [default=yes].
1449   --disable-docs          Enable building documentation (requires Doxygen)
1450                           [default=auto].
1451
1452 Optional Packages:
1453   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1454   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1455   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1456                           both]
1457   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1458   --with-sysroot=DIR Search for dependent libraries within DIR
1459                         (or the compiler's sysroot if not specified).
1460
1461 Some influential environment variables:
1462   CC          C compiler command
1463   CFLAGS      C compiler flags
1464   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1465               nonstandard directory <lib dir>
1466   LIBS        libraries to pass to the linker, e.g. -l<library>
1467   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1468               you have headers in a nonstandard directory <include dir>
1469   CPP         C preprocessor
1470   DOXYGEN     Doxygen executable
1471   DOT         GraphViz 'dot' executable, which may be used, when present, to
1472               generate Doxygen class graphs
1473
1474 Use these variables to override the choices made by `configure' or to help
1475 it to find libraries and programs with nonstandard names/locations.
1476
1477 Report bugs to <nlunit-test-users@google.com>.
1478 nlunit-test home page: <https://github.com/nestlabs/nlunit-test/>.
1479 _ACEOF
1480 ac_status=$?
1481 fi
1482
1483 if test "$ac_init_help" = "recursive"; then
1484   # If there are subdirs, report their specific --help.
1485   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1486     test -d "$ac_dir" ||
1487       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1488       continue
1489     ac_builddir=.
1490
1491 case "$ac_dir" in
1492 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1493 *)
1494   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1495   # A ".." for each directory in $ac_dir_suffix.
1496   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1497   case $ac_top_builddir_sub in
1498   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1499   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1500   esac ;;
1501 esac
1502 ac_abs_top_builddir=$ac_pwd
1503 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1504 # for backward compatibility:
1505 ac_top_builddir=$ac_top_build_prefix
1506
1507 case $srcdir in
1508   .)  # We are building in place.
1509     ac_srcdir=.
1510     ac_top_srcdir=$ac_top_builddir_sub
1511     ac_abs_top_srcdir=$ac_pwd ;;
1512   [\\/]* | ?:[\\/]* )  # Absolute name.
1513     ac_srcdir=$srcdir$ac_dir_suffix;
1514     ac_top_srcdir=$srcdir
1515     ac_abs_top_srcdir=$srcdir ;;
1516   *) # Relative name.
1517     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1518     ac_top_srcdir=$ac_top_build_prefix$srcdir
1519     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1520 esac
1521 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1522
1523     cd "$ac_dir" || { ac_status=$?; continue; }
1524     # Check for guested configure.
1525     if test -f "$ac_srcdir/configure.gnu"; then
1526       echo &&
1527       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1528     elif test -f "$ac_srcdir/configure"; then
1529       echo &&
1530       $SHELL "$ac_srcdir/configure" --help=recursive
1531     else
1532       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1533     fi || ac_status=$?
1534     cd "$ac_pwd" || { ac_status=$?; break; }
1535   done
1536 fi
1537
1538 test -n "$ac_init_help" && exit $ac_status
1539 if $ac_init_version; then
1540   cat <<\_ACEOF
1541 nlunit-test configure g4c5ae45-dirty
1542 generated by GNU Autoconf 2.68
1543
1544 Copyright (C) 2010 Free Software Foundation, Inc.
1545 This configure script is free software; the Free Software Foundation
1546 gives unlimited permission to copy, distribute and modify it.
1547 _ACEOF
1548   exit
1549 fi
1550
1551 ## ------------------------ ##
1552 ## Autoconf initialization. ##
1553 ## ------------------------ ##
1554
1555 # ac_fn_c_try_compile LINENO
1556 # --------------------------
1557 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1558 ac_fn_c_try_compile ()
1559 {
1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561   rm -f conftest.$ac_objext
1562   if { { ac_try="$ac_compile"
1563 case "(($ac_try" in
1564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1565   *) ac_try_echo=$ac_try;;
1566 esac
1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 $as_echo "$ac_try_echo"; } >&5
1569   (eval "$ac_compile") 2>conftest.err
1570   ac_status=$?
1571   if test -s conftest.err; then
1572     grep -v '^ *+' conftest.err >conftest.er1
1573     cat conftest.er1 >&5
1574     mv -f conftest.er1 conftest.err
1575   fi
1576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577   test $ac_status = 0; } && {
1578          test -z "$ac_c_werror_flag" ||
1579          test ! -s conftest.err
1580        } && test -s conftest.$ac_objext; then :
1581   ac_retval=0
1582 else
1583   $as_echo "$as_me: failed program was:" >&5
1584 sed 's/^/| /' conftest.$ac_ext >&5
1585
1586         ac_retval=1
1587 fi
1588   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589   as_fn_set_status $ac_retval
1590
1591 } # ac_fn_c_try_compile
1592
1593 # ac_fn_c_try_cpp LINENO
1594 # ----------------------
1595 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_c_try_cpp ()
1597 {
1598   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599   if { { ac_try="$ac_cpp conftest.$ac_ext"
1600 case "(($ac_try" in
1601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602   *) ac_try_echo=$ac_try;;
1603 esac
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1607   ac_status=$?
1608   if test -s conftest.err; then
1609     grep -v '^ *+' conftest.err >conftest.er1
1610     cat conftest.er1 >&5
1611     mv -f conftest.er1 conftest.err
1612   fi
1613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614   test $ac_status = 0; } > conftest.i && {
1615          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1616          test ! -s conftest.err
1617        }; then :
1618   ac_retval=0
1619 else
1620   $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1622
1623     ac_retval=1
1624 fi
1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626   as_fn_set_status $ac_retval
1627
1628 } # ac_fn_c_try_cpp
1629
1630 # ac_fn_c_try_link LINENO
1631 # -----------------------
1632 # Try to link conftest.$ac_ext, and return whether this succeeded.
1633 ac_fn_c_try_link ()
1634 {
1635   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636   rm -f conftest.$ac_objext conftest$ac_exeext
1637   if { { ac_try="$ac_link"
1638 case "(($ac_try" in
1639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640   *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644   (eval "$ac_link") 2>conftest.err
1645   ac_status=$?
1646   if test -s conftest.err; then
1647     grep -v '^ *+' conftest.err >conftest.er1
1648     cat conftest.er1 >&5
1649     mv -f conftest.er1 conftest.err
1650   fi
1651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652   test $ac_status = 0; } && {
1653          test -z "$ac_c_werror_flag" ||
1654          test ! -s conftest.err
1655        } && test -s conftest$ac_exeext && {
1656          test "$cross_compiling" = yes ||
1657          $as_test_x conftest$ac_exeext
1658        }; then :
1659   ac_retval=0
1660 else
1661   $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1663
1664         ac_retval=1
1665 fi
1666   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1667   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1668   # interfere with the next link command; also delete a directory that is
1669   # left behind by Apple's compiler.  We do this before executing the actions.
1670   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672   as_fn_set_status $ac_retval
1673
1674 } # ac_fn_c_try_link
1675
1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1677 # -------------------------------------------------------
1678 # Tests whether HEADER exists and can be compiled using the include files in
1679 # INCLUDES, setting the cache variable VAR accordingly.
1680 ac_fn_c_check_header_compile ()
1681 {
1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1684 $as_echo_n "checking for $2... " >&6; }
1685 if eval \${$3+:} false; then :
1686   $as_echo_n "(cached) " >&6
1687 else
1688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h.  */
1690 $4
1691 #include <$2>
1692 _ACEOF
1693 if ac_fn_c_try_compile "$LINENO"; then :
1694   eval "$3=yes"
1695 else
1696   eval "$3=no"
1697 fi
1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1699 fi
1700 eval ac_res=\$$3
1701                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1702 $as_echo "$ac_res" >&6; }
1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704
1705 } # ac_fn_c_check_header_compile
1706
1707 # ac_fn_c_try_run LINENO
1708 # ----------------------
1709 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1710 # that executables *can* be run.
1711 ac_fn_c_try_run ()
1712 {
1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714   if { { ac_try="$ac_link"
1715 case "(($ac_try" in
1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717   *) ac_try_echo=$ac_try;;
1718 esac
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721   (eval "$ac_link") 2>&5
1722   ac_status=$?
1723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1725   { { case "(($ac_try" in
1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727   *) ac_try_echo=$ac_try;;
1728 esac
1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730 $as_echo "$ac_try_echo"; } >&5
1731   (eval "$ac_try") 2>&5
1732   ac_status=$?
1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734   test $ac_status = 0; }; }; then :
1735   ac_retval=0
1736 else
1737   $as_echo "$as_me: program exited with status $ac_status" >&5
1738        $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1740
1741        ac_retval=$ac_status
1742 fi
1743   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745   as_fn_set_status $ac_retval
1746
1747 } # ac_fn_c_try_run
1748
1749 # ac_fn_c_check_func LINENO FUNC VAR
1750 # ----------------------------------
1751 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1752 ac_fn_c_check_func ()
1753 {
1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \${$3+:} false; then :
1758   $as_echo_n "(cached) " >&6
1759 else
1760   if test x$ac_no_link = xyes; then
1761   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
1762 fi
1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h.  */
1765 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1767 #define $2 innocuous_$2
1768
1769 /* System header to define __stub macros and hopefully few prototypes,
1770     which can conflict with char $2 (); below.
1771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1772     <limits.h> exists even on freestanding compilers.  */
1773
1774 #ifdef __STDC__
1775 # include <limits.h>
1776 #else
1777 # include <assert.h>
1778 #endif
1779
1780 #undef $2
1781
1782 /* Override any GCC internal prototype to avoid an error.
1783    Use char because int might match the return type of a GCC
1784    builtin and then its argument prototype would still apply.  */
1785 #ifdef __cplusplus
1786 extern "C"
1787 #endif
1788 char $2 ();
1789 /* The GNU C library defines this for functions which it implements
1790     to always fail with ENOSYS.  Some functions are actually named
1791     something starting with __ and the normal name is an alias.  */
1792 #if defined __stub_$2 || defined __stub___$2
1793 choke me
1794 #endif
1795
1796 int
1797 main ()
1798 {
1799 return $2 ();
1800   ;
1801   return 0;
1802 }
1803 _ACEOF
1804 if ac_fn_c_try_link "$LINENO"; then :
1805   eval "$3=yes"
1806 else
1807   eval "$3=no"
1808 fi
1809 rm -f core conftest.err conftest.$ac_objext \
1810     conftest$ac_exeext conftest.$ac_ext
1811 fi
1812 eval ac_res=\$$3
1813                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; }
1815   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816
1817 } # ac_fn_c_check_func
1818
1819 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1820 # -------------------------------------------
1821 # Tests whether TYPE exists after having included INCLUDES, setting cache
1822 # variable VAR accordingly.
1823 ac_fn_c_check_type ()
1824 {
1825   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1827 $as_echo_n "checking for $2... " >&6; }
1828 if eval \${$3+:} false; then :
1829   $as_echo_n "(cached) " >&6
1830 else
1831   eval "$3=no"
1832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1833 /* end confdefs.h.  */
1834 $4
1835 int
1836 main ()
1837 {
1838 if (sizeof ($2))
1839          return 0;
1840   ;
1841   return 0;
1842 }
1843 _ACEOF
1844 if ac_fn_c_try_compile "$LINENO"; then :
1845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h.  */
1847 $4
1848 int
1849 main ()
1850 {
1851 if (sizeof (($2)))
1852             return 0;
1853   ;
1854   return 0;
1855 }
1856 _ACEOF
1857 if ac_fn_c_try_compile "$LINENO"; then :
1858
1859 else
1860   eval "$3=yes"
1861 fi
1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1863 fi
1864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1865 fi
1866 eval ac_res=\$$3
1867                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1868 $as_echo "$ac_res" >&6; }
1869   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870
1871 } # ac_fn_c_check_type
1872 cat >config.log <<_ACEOF
1873 This file contains any messages produced by compilers while
1874 running configure, to aid debugging if configure makes a mistake.
1875
1876 It was created by nlunit-test $as_me g4c5ae45-dirty, which was
1877 generated by GNU Autoconf 2.68.  Invocation command line was
1878
1879   $ $0 $@
1880
1881 _ACEOF
1882 exec 5>>config.log
1883 {
1884 cat <<_ASUNAME
1885 ## --------- ##
1886 ## Platform. ##
1887 ## --------- ##
1888
1889 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1890 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1891 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1892 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1893 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1894
1895 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1896 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1897
1898 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1899 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1900 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1901 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1902 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1903 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1904 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1905
1906 _ASUNAME
1907
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909 for as_dir in $PATH
1910 do
1911   IFS=$as_save_IFS
1912   test -z "$as_dir" && as_dir=.
1913     $as_echo "PATH: $as_dir"
1914   done
1915 IFS=$as_save_IFS
1916
1917 } >&5
1918
1919 cat >&5 <<_ACEOF
1920
1921
1922 ## ----------- ##
1923 ## Core tests. ##
1924 ## ----------- ##
1925
1926 _ACEOF
1927
1928
1929 # Keep a trace of the command line.
1930 # Strip out --no-create and --no-recursion so they do not pile up.
1931 # Strip out --silent because we don't want to record it for future runs.
1932 # Also quote any args containing shell meta-characters.
1933 # Make two passes to allow for proper duplicate-argument suppression.
1934 ac_configure_args=
1935 ac_configure_args0=
1936 ac_configure_args1=
1937 ac_must_keep_next=false
1938 for ac_pass in 1 2
1939 do
1940   for ac_arg
1941   do
1942     case $ac_arg in
1943     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1944     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1945     | -silent | --silent | --silen | --sile | --sil)
1946       continue ;;
1947     *\'*)
1948       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1949     esac
1950     case $ac_pass in
1951     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1952     2)
1953       as_fn_append ac_configure_args1 " '$ac_arg'"
1954       if test $ac_must_keep_next = true; then
1955         ac_must_keep_next=false # Got value, back to normal.
1956       else
1957         case $ac_arg in
1958           *=* | --config-cache | -C | -disable-* | --disable-* \
1959           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1960           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1961           | -with-* | --with-* | -without-* | --without-* | --x)
1962             case "$ac_configure_args0 " in
1963               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1964             esac
1965             ;;
1966           -* ) ac_must_keep_next=true ;;
1967         esac
1968       fi
1969       as_fn_append ac_configure_args " '$ac_arg'"
1970       ;;
1971     esac
1972   done
1973 done
1974 { ac_configure_args0=; unset ac_configure_args0;}
1975 { ac_configure_args1=; unset ac_configure_args1;}
1976
1977 # When interrupted or exit'd, cleanup temporary files, and complete
1978 # config.log.  We remove comments because anyway the quotes in there
1979 # would cause problems or look ugly.
1980 # WARNING: Use '\'' to represent an apostrophe within the trap.
1981 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1982 trap 'exit_status=$?
1983   # Save into config.log some information that might help in debugging.
1984   {
1985     echo
1986
1987     $as_echo "## ---------------- ##
1988 ## Cache variables. ##
1989 ## ---------------- ##"
1990     echo
1991     # The following way of writing the cache mishandles newlines in values,
1992 (
1993   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1994     eval ac_val=\$$ac_var
1995     case $ac_val in #(
1996     *${as_nl}*)
1997       case $ac_var in #(
1998       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2000       esac
2001       case $ac_var in #(
2002       _ | IFS | as_nl) ;; #(
2003       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2004       *) { eval $ac_var=; unset $ac_var;} ;;
2005       esac ;;
2006     esac
2007   done
2008   (set) 2>&1 |
2009     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2010     *${as_nl}ac_space=\ *)
2011       sed -n \
2012         "s/'\''/'\''\\\\'\'''\''/g;
2013           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2014       ;; #(
2015     *)
2016       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2017       ;;
2018     esac |
2019     sort
2020 )
2021     echo
2022
2023     $as_echo "## ----------------- ##
2024 ## Output variables. ##
2025 ## ----------------- ##"
2026     echo
2027     for ac_var in $ac_subst_vars
2028     do
2029       eval ac_val=\$$ac_var
2030       case $ac_val in
2031       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2032       esac
2033       $as_echo "$ac_var='\''$ac_val'\''"
2034     done | sort
2035     echo
2036
2037     if test -n "$ac_subst_files"; then
2038       $as_echo "## ------------------- ##
2039 ## File substitutions. ##
2040 ## ------------------- ##"
2041       echo
2042       for ac_var in $ac_subst_files
2043       do
2044         eval ac_val=\$$ac_var
2045         case $ac_val in
2046         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2047         esac
2048         $as_echo "$ac_var='\''$ac_val'\''"
2049       done | sort
2050       echo
2051     fi
2052
2053     if test -s confdefs.h; then
2054       $as_echo "## ----------- ##
2055 ## confdefs.h. ##
2056 ## ----------- ##"
2057       echo
2058       cat confdefs.h
2059       echo
2060     fi
2061     test "$ac_signal" != 0 &&
2062       $as_echo "$as_me: caught signal $ac_signal"
2063     $as_echo "$as_me: exit $exit_status"
2064   } >&5
2065   rm -f core *.core core.conftest.* &&
2066     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2067     exit $exit_status
2068 ' 0
2069 for ac_signal in 1 2 13 15; do
2070   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2071 done
2072 ac_signal=0
2073
2074 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2075 rm -f -r conftest* confdefs.h
2076
2077 $as_echo "/* confdefs.h */" > confdefs.h
2078
2079 # Predefined preprocessor variables.
2080
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_NAME "$PACKAGE_NAME"
2083 _ACEOF
2084
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2087 _ACEOF
2088
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2091 _ACEOF
2092
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_STRING "$PACKAGE_STRING"
2095 _ACEOF
2096
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2099 _ACEOF
2100
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_URL "$PACKAGE_URL"
2103 _ACEOF
2104
2105
2106 # Let the site file select an alternate cache file if it wants to.
2107 # Prefer an explicitly selected file to automatically selected ones.
2108 ac_site_file1=NONE
2109 ac_site_file2=NONE
2110 if test -n "$CONFIG_SITE"; then
2111   # We do not want a PATH search for config.site.
2112   case $CONFIG_SITE in #((
2113     -*)  ac_site_file1=./$CONFIG_SITE;;
2114     */*) ac_site_file1=$CONFIG_SITE;;
2115     *)   ac_site_file1=./$CONFIG_SITE;;
2116   esac
2117 elif test "x$prefix" != xNONE; then
2118   ac_site_file1=$prefix/share/config.site
2119   ac_site_file2=$prefix/etc/config.site
2120 else
2121   ac_site_file1=$ac_default_prefix/share/config.site
2122   ac_site_file2=$ac_default_prefix/etc/config.site
2123 fi
2124 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2125 do
2126   test "x$ac_site_file" = xNONE && continue
2127   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2128     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2129 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2130     sed 's/^/| /' "$ac_site_file" >&5
2131     . "$ac_site_file" \
2132       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134 as_fn_error $? "failed to load site script $ac_site_file
2135 See \`config.log' for more details" "$LINENO" 5; }
2136   fi
2137 done
2138
2139 if test -r "$cache_file"; then
2140   # Some versions of bash will fail to source /dev/null (special files
2141   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2142   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2143     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2144 $as_echo "$as_me: loading cache $cache_file" >&6;}
2145     case $cache_file in
2146       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2147       *)                      . "./$cache_file";;
2148     esac
2149   fi
2150 else
2151   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2152 $as_echo "$as_me: creating cache $cache_file" >&6;}
2153   >$cache_file
2154 fi
2155
2156 # Check that the precious variables saved in the cache have kept the same
2157 # value.
2158 ac_cache_corrupted=false
2159 for ac_var in $ac_precious_vars; do
2160   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2161   eval ac_new_set=\$ac_env_${ac_var}_set
2162   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2163   eval ac_new_val=\$ac_env_${ac_var}_value
2164   case $ac_old_set,$ac_new_set in
2165     set,)
2166       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2167 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2168       ac_cache_corrupted=: ;;
2169     ,set)
2170       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2171 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2172       ac_cache_corrupted=: ;;
2173     ,);;
2174     *)
2175       if test "x$ac_old_val" != "x$ac_new_val"; then
2176         # differences in whitespace do not lead to failure.
2177         ac_old_val_w=`echo x $ac_old_val`
2178         ac_new_val_w=`echo x $ac_new_val`
2179         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2180           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2181 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2182           ac_cache_corrupted=:
2183         else
2184           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2185 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2186           eval $ac_var=\$ac_old_val
2187         fi
2188         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2189 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2190         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2191 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2192       fi;;
2193   esac
2194   # Pass precious variables to config.status.
2195   if test "$ac_new_set" = set; then
2196     case $ac_new_val in
2197     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2198     *) ac_arg=$ac_var=$ac_new_val ;;
2199     esac
2200     case " $ac_configure_args " in
2201       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2202       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2203     esac
2204   fi
2205 done
2206 if $ac_cache_corrupted; then
2207   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2210 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2211   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2212 fi
2213 ## -------------------- ##
2214 ## Main body of script. ##
2215 ## -------------------- ##
2216
2217 ac_ext=c
2218 ac_cpp='$CPP $CPPFLAGS'
2219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2222
2223
2224
2225 # Tell the rest of the build system the absolute path where the
2226 # nlbuild-autotools repository is rooted at.
2227
2228 nlbuild_autotools_stem=third_party/nlbuild-autotools/repo
2229
2230 abs_top_nlbuild_autotools_dir=\${abs_top_srcdir}/\${nlbuild_autotools_stem}
2231
2232
2233 #
2234 # NLUNIT_TEST interface current, revision, and age versions.
2235 #
2236 # NOTE: At present, NLUNIT_TEST makes NO ABI compatibility
2237 #       commitments. Consequently, these simply serve as documentation
2238 #       for how the interfaces have evolved.
2239 #
2240 # Maintainters: Please manage these fields as follows:
2241 #
2242 #   Interfaces removed:    CURRENT++, AGE = 0, REVISION = 0
2243 #   Interfaces added:      CURRENT++, AGE++,   REVISION = 0
2244 #   No interfaces changed:                     REVISION++
2245 #
2246 #
2247 LIBNLUNIT_TEST_VERSION_CURRENT=1
2248
2249 LIBNLUNIT_TEST_VERSION_AGE=0
2250
2251 LIBNLUNIT_TEST_VERSION_REVISION=0
2252
2253 LIBNLUNIT_TEST_VERSION_INFO=${LIBNLUNIT_TEST_VERSION_CURRENT}:${LIBNLUNIT_TEST_VERSION_REVISION}:${LIBNLUNIT_TEST_VERSION_AGE}
2254
2255
2256 #
2257 # Check the sanity of the source directory by checking for the
2258 # presence of a key watch file
2259 #
2260
2261
2262 #
2263 # Tell autoconf where to find auxilliary build tools (e.g. config.guess,
2264 # install-sh, missing, etc.)
2265 #
2266 ac_aux_dir=
2267 for ac_dir in third_party/nlbuild-autotools/repo/third_party/autoconf "$srcdir"/third_party/nlbuild-autotools/repo/third_party/autoconf; do
2268   if test -f "$ac_dir/install-sh"; then
2269     ac_aux_dir=$ac_dir
2270     ac_install_sh="$ac_aux_dir/install-sh -c"
2271     break
2272   elif test -f "$ac_dir/install.sh"; then
2273     ac_aux_dir=$ac_dir
2274     ac_install_sh="$ac_aux_dir/install.sh -c"
2275     break
2276   elif test -f "$ac_dir/shtool"; then
2277     ac_aux_dir=$ac_dir
2278     ac_install_sh="$ac_aux_dir/shtool install -c"
2279     break
2280   fi
2281 done
2282 if test -z "$ac_aux_dir"; then
2283   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
2284 fi
2285
2286 # These three variables are undocumented and unsupported,
2287 # and are intended to be withdrawn in a future Autoconf release.
2288 # They can cause serious problems if a builder's source tree is in a directory
2289 # whose full name contains unusual characters.
2290 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2291 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2292 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2293
2294
2295
2296 #
2297 # Tell autoconf where to find auxilliary M4 macros
2298 #
2299
2300
2301 #
2302 # Tell autoconf what file the package is using to aggregate C preprocessor
2303 # defines.
2304 #
2305 ac_config_headers="$ac_config_headers src/nlunit-test-config.h"
2306
2307
2308 #
2309 # Figure out what the canonical build, host and target tuples are.
2310 #
2311 # Make sure we can run config.sub.
2312 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2313   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2314
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2316 $as_echo_n "checking build system type... " >&6; }
2317 if ${ac_cv_build+:} false; then :
2318   $as_echo_n "(cached) " >&6
2319 else
2320   ac_build_alias=$build_alias
2321 test "x$ac_build_alias" = x &&
2322   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2323 test "x$ac_build_alias" = x &&
2324   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2325 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2326   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2327
2328 fi
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2330 $as_echo "$ac_cv_build" >&6; }
2331 case $ac_cv_build in
2332 *-*-*) ;;
2333 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2334 esac
2335 build=$ac_cv_build
2336 ac_save_IFS=$IFS; IFS='-'
2337 set x $ac_cv_build
2338 shift
2339 build_cpu=$1
2340 build_vendor=$2
2341 shift; shift
2342 # Remember, the first character of IFS is used to create $*,
2343 # except with old shells:
2344 build_os=$*
2345 IFS=$ac_save_IFS
2346 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2347
2348
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2350 $as_echo_n "checking host system type... " >&6; }
2351 if ${ac_cv_host+:} false; then :
2352   $as_echo_n "(cached) " >&6
2353 else
2354   if test "x$host_alias" = x; then
2355   ac_cv_host=$ac_cv_build
2356 else
2357   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2358     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2359 fi
2360
2361 fi
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2363 $as_echo "$ac_cv_host" >&6; }
2364 case $ac_cv_host in
2365 *-*-*) ;;
2366 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2367 esac
2368 host=$ac_cv_host
2369 ac_save_IFS=$IFS; IFS='-'
2370 set x $ac_cv_host
2371 shift
2372 host_cpu=$1
2373 host_vendor=$2
2374 shift; shift
2375 # Remember, the first character of IFS is used to create $*,
2376 # except with old shells:
2377 host_os=$*
2378 IFS=$ac_save_IFS
2379 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2380
2381
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2383 $as_echo_n "checking target system type... " >&6; }
2384 if ${ac_cv_target+:} false; then :
2385   $as_echo_n "(cached) " >&6
2386 else
2387   if test "x$target_alias" = x; then
2388   ac_cv_target=$ac_cv_host
2389 else
2390   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2391     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2392 fi
2393
2394 fi
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2396 $as_echo "$ac_cv_target" >&6; }
2397 case $ac_cv_target in
2398 *-*-*) ;;
2399 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2400 esac
2401 target=$ac_cv_target
2402 ac_save_IFS=$IFS; IFS='-'
2403 set x $ac_cv_target
2404 shift
2405 target_cpu=$1
2406 target_vendor=$2
2407 shift; shift
2408 # Remember, the first character of IFS is used to create $*,
2409 # except with old shells:
2410 target_os=$*
2411 IFS=$ac_save_IFS
2412 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2413
2414
2415 # The aliases save the names the user supplied, while $host etc.
2416 # will get canonicalized.
2417 test -n "$target_alias" &&
2418   test "$program_prefix$program_suffix$program_transform_name" = \
2419     NONENONEs,x,x, &&
2420   program_prefix=${target_alias}-
2421
2422 #
2423 # Mac OS X / Darwin ends up putting some versioning cruft on the end of its
2424 # tuple that we don't care about in this script. Create "clean" variables
2425 # devoid of it.
2426 #
2427
2428
2429
2430
2431     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered build system type" >&5
2432 $as_echo_n "checking filtered build system type... " >&6; }
2433 if ${nl_cv_filtered_build+:} false; then :
2434   $as_echo_n "(cached) " >&6
2435 else
2436   nl_cv_filtered_build=`echo ${build} | sed -e 's/[[:digit:].]*$//g'`
2437         nl_filtered_build=${nl_cv_filtered_build}
2438 fi
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_build" >&5
2440 $as_echo "$nl_cv_filtered_build" >&6; }
2441
2442
2443     case ${nl_cv_filtered_build} in
2444
2445     *-*-*) ;;
2446     *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2447
2448     esac
2449
2450     nl_filtered_build=$nl_cv_filtered_build
2451
2452
2453     nl_save_IFS=$IFS; IFS='-'
2454     set x $nl_cv_filtered_build
2455     shift
2456
2457     nl_filtered_build_cpu=$1
2458
2459     nl_filtered_build_vendor=$2
2460
2461
2462     shift; shift
2463     # Remember, the first character of IFS is used to create $*,
2464     # except with old shells:
2465     nl_filtered_build_os=$*
2466     IFS=$nl_save_IFS
2467
2468     case nl_filtered_$build_os in
2469
2470     *\ *) nl_filtered_build_os=`echo "$build_os" | sed 's/ /-/g'`;;
2471
2472     esac
2473
2474
2475
2476
2477
2478
2479
2480
2481     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered host system type" >&5
2482 $as_echo_n "checking filtered host system type... " >&6; }
2483 if ${nl_cv_filtered_host+:} false; then :
2484   $as_echo_n "(cached) " >&6
2485 else
2486   nl_cv_filtered_host=`echo ${host} | sed -e 's/[[:digit:].]*$//g'`
2487         nl_filtered_host=${nl_cv_filtered_host}
2488 fi
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_host" >&5
2490 $as_echo "$nl_cv_filtered_host" >&6; }
2491
2492
2493     case ${nl_cv_filtered_host} in
2494
2495     *-*-*) ;;
2496     *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2497
2498     esac
2499
2500     nl_filtered_host=$nl_cv_filtered_host
2501
2502
2503     nl_save_IFS=$IFS; IFS='-'
2504     set x $nl_cv_filtered_host
2505     shift
2506
2507     nl_filtered_host_cpu=$1
2508
2509     nl_filtered_host_vendor=$2
2510
2511
2512     shift; shift
2513     # Remember, the first character of IFS is used to create $*,
2514     # except with old shells:
2515     nl_filtered_host_os=$*
2516     IFS=$nl_save_IFS
2517
2518     case nl_filtered_$host_os in
2519
2520     *\ *) nl_filtered_host_os=`echo "$host_os" | sed 's/ /-/g'`;;
2521
2522     esac
2523
2524
2525
2526
2527
2528
2529
2530
2531     { $as_echo "$as_me:${as_lineno-$LINENO}: checking filtered target system type" >&5
2532 $as_echo_n "checking filtered target system type... " >&6; }
2533 if ${nl_cv_filtered_target+:} false; then :
2534   $as_echo_n "(cached) " >&6
2535 else
2536   nl_cv_filtered_target=`echo ${target} | sed -e 's/[[:digit:].]*$//g'`
2537         nl_filtered_target=${nl_cv_filtered_target}
2538 fi
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_filtered_target" >&5
2540 $as_echo "$nl_cv_filtered_target" >&6; }
2541
2542
2543     case ${nl_cv_filtered_target} in
2544
2545     *-*-*) ;;
2546     *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2547
2548     esac
2549
2550     nl_filtered_target=$nl_cv_filtered_target
2551
2552
2553     nl_save_IFS=$IFS; IFS='-'
2554     set x $nl_cv_filtered_target
2555     shift
2556
2557     nl_filtered_target_cpu=$1
2558
2559     nl_filtered_target_vendor=$2
2560
2561
2562     shift; shift
2563     # Remember, the first character of IFS is used to create $*,
2564     # except with old shells:
2565     nl_filtered_target_os=$*
2566     IFS=$nl_save_IFS
2567
2568     case nl_filtered_$target_os in
2569
2570     *\ *) nl_filtered_target_os=`echo "$target_os" | sed 's/ /-/g'`;;
2571
2572     esac
2573
2574
2575
2576
2577
2578
2579 #
2580 # Configure automake with the desired options, indicating that this is not
2581 # a native GNU package, that we want "silent" build rules, and that we want
2582 # objects built in the same subdirectory as their source rather than collapsed
2583 # together at the top-level directory.
2584 #
2585 # Disable silent build rules by either passing --disable-silent-rules to
2586 # configure or passing V=1 to make
2587 #
2588 am__api_version='1.14'
2589
2590 # Find a good install program.  We prefer a C program (faster),
2591 # so one script is as good as another.  But avoid the broken or
2592 # incompatible versions:
2593 # SysV /etc/install, /usr/sbin/install
2594 # SunOS /usr/etc/install
2595 # IRIX /sbin/install
2596 # AIX /bin/install
2597 # AmigaOS /C/install, which installs bootblocks on floppy discs
2598 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2599 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2600 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2601 # OS/2's system install, which has a completely different semantic
2602 # ./install, which can be erroneously created by make from ./install.sh.
2603 # Reject install programs that cannot install multiple files.
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2605 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2606 if test -z "$INSTALL"; then
2607 if ${ac_cv_path_install+:} false; then :
2608   $as_echo_n "(cached) " >&6
2609 else
2610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 for as_dir in $PATH
2612 do
2613   IFS=$as_save_IFS
2614   test -z "$as_dir" && as_dir=.
2615     # Account for people who put trailing slashes in PATH elements.
2616 case $as_dir/ in #((
2617   ./ | .// | /[cC]/* | \
2618   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2619   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2620   /usr/ucb/* ) ;;
2621   *)
2622     # OSF1 and SCO ODT 3.0 have their own names for install.
2623     # Don't use installbsd from OSF since it installs stuff as root
2624     # by default.
2625     for ac_prog in ginstall scoinst install; do
2626       for ac_exec_ext in '' $ac_executable_extensions; do
2627         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2628           if test $ac_prog = install &&
2629             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2630             # AIX install.  It has an incompatible calling convention.
2631             :
2632           elif test $ac_prog = install &&
2633             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2634             # program-specific install script used by HP pwplus--don't use.
2635             :
2636           else
2637             rm -rf conftest.one conftest.two conftest.dir
2638             echo one > conftest.one
2639             echo two > conftest.two
2640             mkdir conftest.dir
2641             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2642               test -s conftest.one && test -s conftest.two &&
2643               test -s conftest.dir/conftest.one &&
2644               test -s conftest.dir/conftest.two
2645             then
2646               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2647               break 3
2648             fi
2649           fi
2650         fi
2651       done
2652     done
2653     ;;
2654 esac
2655
2656   done
2657 IFS=$as_save_IFS
2658
2659 rm -rf conftest.one conftest.two conftest.dir
2660
2661 fi
2662   if test "${ac_cv_path_install+set}" = set; then
2663     INSTALL=$ac_cv_path_install
2664   else
2665     # As a last resort, use the slow shell script.  Don't cache a
2666     # value for INSTALL within a source directory, because that will
2667     # break other packages using the cache if that directory is
2668     # removed, or if the value is a relative name.
2669     INSTALL=$ac_install_sh
2670   fi
2671 fi
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2673 $as_echo "$INSTALL" >&6; }
2674
2675 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2676 # It thinks the first close brace ends the variable substitution.
2677 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2678
2679 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2680
2681 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2682
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2684 $as_echo_n "checking whether build environment is sane... " >&6; }
2685 # Reject unsafe characters in $srcdir or the absolute working directory
2686 # name.  Accept space and tab only in the latter.
2687 am_lf='
2688 '
2689 case `pwd` in
2690   *[\\\"\#\$\&\'\`$am_lf]*)
2691     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2692 esac
2693 case $srcdir in
2694   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2695     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2696 esac
2697
2698 # Do 'set' in a subshell so we don't clobber the current shell's
2699 # arguments.  Must try -L first in case configure is actually a
2700 # symlink; some systems play weird games with the mod time of symlinks
2701 # (eg FreeBSD returns the mod time of the symlink's containing
2702 # directory).
2703 if (
2704    am_has_slept=no
2705    for am_try in 1 2; do
2706      echo "timestamp, slept: $am_has_slept" > conftest.file
2707      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2708      if test "$*" = "X"; then
2709         # -L didn't work.
2710         set X `ls -t "$srcdir/configure" conftest.file`
2711      fi
2712      if test "$*" != "X $srcdir/configure conftest.file" \
2713         && test "$*" != "X conftest.file $srcdir/configure"; then
2714
2715         # If neither matched, then we have a broken ls.  This can happen
2716         # if, for instance, CONFIG_SHELL is bash and it inherits a
2717         # broken ls alias from the environment.  This has actually
2718         # happened.  Such a system could not be considered "sane".
2719         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2720   alias in your environment" "$LINENO" 5
2721      fi
2722      if test "$2" = conftest.file || test $am_try -eq 2; then
2723        break
2724      fi
2725      # Just in case.
2726      sleep 1
2727      am_has_slept=yes
2728    done
2729    test "$2" = conftest.file
2730    )
2731 then
2732    # Ok.
2733    :
2734 else
2735    as_fn_error $? "newly created file is older than distributed files!
2736 Check your system clock" "$LINENO" 5
2737 fi
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2739 $as_echo "yes" >&6; }
2740 # If we didn't sleep, we still need to ensure time stamps of config.status and
2741 # generated files are strictly newer.
2742 am_sleep_pid=
2743 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2744   ( sleep 1 ) &
2745   am_sleep_pid=$!
2746 fi
2747
2748 rm -f conftest.file
2749
2750 test "$program_prefix" != NONE &&
2751   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2752 # Use a double $ so make ignores it.
2753 test "$program_suffix" != NONE &&
2754   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2755 # Double any \ or $.
2756 # By default was `s,x,x', remove it if useless.
2757 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2758 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2759
2760 # expand $ac_aux_dir to an absolute path
2761 am_aux_dir=`cd $ac_aux_dir && pwd`
2762
2763 if test x"${MISSING+set}" != xset; then
2764   case $am_aux_dir in
2765   *\ * | *\     *)
2766     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2767   *)
2768     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2769   esac
2770 fi
2771 # Use eval to expand $SHELL
2772 if eval "$MISSING --is-lightweight"; then
2773   am_missing_run="$MISSING "
2774 else
2775   am_missing_run=
2776   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2777 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2778 fi
2779
2780 if test x"${install_sh}" != xset; then
2781   case $am_aux_dir in
2782   *\ * | *\     *)
2783     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2784   *)
2785     install_sh="\${SHELL} $am_aux_dir/install-sh"
2786   esac
2787 fi
2788
2789 # Installed binaries are usually stripped using 'strip' when the user
2790 # run "make install-strip".  However 'strip' might not be the right
2791 # tool to use in cross-compilation environments, therefore Automake
2792 # will honor the 'STRIP' environment variable to overrule this program.
2793 if test "$cross_compiling" != no; then
2794   if test -n "$ac_tool_prefix"; then
2795   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2796 set dummy ${ac_tool_prefix}strip; ac_word=$2
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798 $as_echo_n "checking for $ac_word... " >&6; }
2799 if ${ac_cv_prog_STRIP+:} false; then :
2800   $as_echo_n "(cached) " >&6
2801 else
2802   if test -n "$STRIP"; then
2803   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2804 else
2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806 for as_dir in $PATH
2807 do
2808   IFS=$as_save_IFS
2809   test -z "$as_dir" && as_dir=.
2810     for ac_exec_ext in '' $ac_executable_extensions; do
2811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2812     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2814     break 2
2815   fi
2816 done
2817   done
2818 IFS=$as_save_IFS
2819
2820 fi
2821 fi
2822 STRIP=$ac_cv_prog_STRIP
2823 if test -n "$STRIP"; then
2824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2825 $as_echo "$STRIP" >&6; }
2826 else
2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828 $as_echo "no" >&6; }
2829 fi
2830
2831
2832 fi
2833 if test -z "$ac_cv_prog_STRIP"; then
2834   ac_ct_STRIP=$STRIP
2835   # Extract the first word of "strip", so it can be a program name with args.
2836 set dummy strip; ac_word=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2840   $as_echo_n "(cached) " >&6
2841 else
2842   if test -n "$ac_ct_STRIP"; then
2843   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2844 else
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846 for as_dir in $PATH
2847 do
2848   IFS=$as_save_IFS
2849   test -z "$as_dir" && as_dir=.
2850     for ac_exec_ext in '' $ac_executable_extensions; do
2851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852     ac_cv_prog_ac_ct_STRIP="strip"
2853     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854     break 2
2855   fi
2856 done
2857   done
2858 IFS=$as_save_IFS
2859
2860 fi
2861 fi
2862 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2863 if test -n "$ac_ct_STRIP"; then
2864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2865 $as_echo "$ac_ct_STRIP" >&6; }
2866 else
2867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2869 fi
2870
2871   if test "x$ac_ct_STRIP" = x; then
2872     STRIP=":"
2873   else
2874     case $cross_compiling:$ac_tool_warned in
2875 yes:)
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2878 ac_tool_warned=yes ;;
2879 esac
2880     STRIP=$ac_ct_STRIP
2881   fi
2882 else
2883   STRIP="$ac_cv_prog_STRIP"
2884 fi
2885
2886 fi
2887 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2888
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2890 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2891 if test -z "$MKDIR_P"; then
2892   if ${ac_cv_path_mkdir+:} false; then :
2893   $as_echo_n "(cached) " >&6
2894 else
2895   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2897 do
2898   IFS=$as_save_IFS
2899   test -z "$as_dir" && as_dir=.
2900     for ac_prog in mkdir gmkdir; do
2901          for ac_exec_ext in '' $ac_executable_extensions; do
2902            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2903            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2904              'mkdir (GNU coreutils) '* | \
2905              'mkdir (coreutils) '* | \
2906              'mkdir (fileutils) '4.1*)
2907                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2908                break 3;;
2909            esac
2910          done
2911        done
2912   done
2913 IFS=$as_save_IFS
2914
2915 fi
2916
2917   test -d ./--version && rmdir ./--version
2918   if test "${ac_cv_path_mkdir+set}" = set; then
2919     MKDIR_P="$ac_cv_path_mkdir -p"
2920   else
2921     # As a last resort, use the slow shell script.  Don't cache a
2922     # value for MKDIR_P within a source directory, because that will
2923     # break other packages using the cache if that directory is
2924     # removed, or if the value is a relative name.
2925     MKDIR_P="$ac_install_sh -d"
2926   fi
2927 fi
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2929 $as_echo "$MKDIR_P" >&6; }
2930
2931 for ac_prog in gawk mawk nawk awk
2932 do
2933   # Extract the first word of "$ac_prog", so it can be a program name with args.
2934 set dummy $ac_prog; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_AWK+:} false; then :
2938   $as_echo_n "(cached) " >&6
2939 else
2940   if test -n "$AWK"; then
2941   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2942 else
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 for as_dir in $PATH
2945 do
2946   IFS=$as_save_IFS
2947   test -z "$as_dir" && as_dir=.
2948     for ac_exec_ext in '' $ac_executable_extensions; do
2949   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950     ac_cv_prog_AWK="$ac_prog"
2951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952     break 2
2953   fi
2954 done
2955   done
2956 IFS=$as_save_IFS
2957
2958 fi
2959 fi
2960 AWK=$ac_cv_prog_AWK
2961 if test -n "$AWK"; then
2962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2963 $as_echo "$AWK" >&6; }
2964 else
2965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2967 fi
2968
2969
2970   test -n "$AWK" && break
2971 done
2972
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2974 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2975 set x ${MAKE-make}
2976 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2977 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2978   $as_echo_n "(cached) " >&6
2979 else
2980   cat >conftest.make <<\_ACEOF
2981 SHELL = /bin/sh
2982 all:
2983         @echo '@@@%%%=$(MAKE)=@@@%%%'
2984 _ACEOF
2985 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2986 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2987   *@@@%%%=?*=@@@%%%*)
2988     eval ac_cv_prog_make_${ac_make}_set=yes;;
2989   *)
2990     eval ac_cv_prog_make_${ac_make}_set=no;;
2991 esac
2992 rm -f conftest.make
2993 fi
2994 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2996 $as_echo "yes" >&6; }
2997   SET_MAKE=
2998 else
2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3001   SET_MAKE="MAKE=${MAKE-make}"
3002 fi
3003
3004 rm -rf .tst 2>/dev/null
3005 mkdir .tst 2>/dev/null
3006 if test -d .tst; then
3007   am__leading_dot=.
3008 else
3009   am__leading_dot=_
3010 fi
3011 rmdir .tst 2>/dev/null
3012
3013 # Check whether --enable-silent-rules was given.
3014 if test "${enable_silent_rules+set}" = set; then :
3015   enableval=$enable_silent_rules;
3016 fi
3017
3018 case $enable_silent_rules in # (((
3019   yes) AM_DEFAULT_VERBOSITY=0;;
3020    no) AM_DEFAULT_VERBOSITY=1;;
3021     *) AM_DEFAULT_VERBOSITY=1;;
3022 esac
3023 am_make=${MAKE-make}
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3025 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3026 if ${am_cv_make_support_nested_variables+:} false; then :
3027   $as_echo_n "(cached) " >&6
3028 else
3029   if $as_echo 'TRUE=$(BAR$(V))
3030 BAR0=false
3031 BAR1=true
3032 V=1
3033 am__doit:
3034         @$(TRUE)
3035 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3036   am_cv_make_support_nested_variables=yes
3037 else
3038   am_cv_make_support_nested_variables=no
3039 fi
3040 fi
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3042 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3043 if test $am_cv_make_support_nested_variables = yes; then
3044     AM_V='$(V)'
3045   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3046 else
3047   AM_V=$AM_DEFAULT_VERBOSITY
3048   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3049 fi
3050 AM_BACKSLASH='\'
3051
3052 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3053   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3054   # is not polluted with repeated "-I."
3055   am__isrc=' -I$(srcdir)'
3056   # test to see if srcdir already configured
3057   if test -f $srcdir/config.status; then
3058     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3059   fi
3060 fi
3061
3062 # test whether we have cygpath
3063 if test -z "$CYGPATH_W"; then
3064   if (cygpath --version) >/dev/null 2>/dev/null; then
3065     CYGPATH_W='cygpath -w'
3066   else
3067     CYGPATH_W=echo
3068   fi
3069 fi
3070
3071
3072 # Define the identity of the package.
3073  PACKAGE='nlunit-test'
3074  VERSION='g4c5ae45-dirty'
3075
3076
3077 cat >>confdefs.h <<_ACEOF
3078 #define PACKAGE "$PACKAGE"
3079 _ACEOF
3080
3081
3082 cat >>confdefs.h <<_ACEOF
3083 #define VERSION "$VERSION"
3084 _ACEOF
3085
3086 # Some tools Automake needs.
3087
3088 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3089
3090
3091 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3092
3093
3094 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3095
3096
3097 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3098
3099
3100 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3101
3102 # For better backward compatibility.  To be removed once Automake 1.9.x
3103 # dies out for good.  For more background, see:
3104 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3105 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3106 mkdir_p='$(MKDIR_P)'
3107
3108 # We need awk for the "check" target.  The system "awk" is bad on
3109 # some platforms.
3110 # Always define AMTAR for backward compatibility.  Yes, it's still used
3111 # in the wild :-(  We should find a proper way to deprecate it ...
3112 AMTAR='$${TAR-tar}'
3113
3114
3115 # We'll loop over all known methods to create a tar archive until one works.
3116 _am_tools='gnutar  pax cpio none'
3117
3118
3119
3120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3121 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3122
3123   # Go ahead even if we have the value already cached.  We do so because we
3124   # need to set the values for the 'am__tar' and 'am__untar' variables.
3125   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
3126
3127   for _am_tool in $_am_tools; do
3128     case $_am_tool in
3129     gnutar)
3130       for _am_tar in tar gnutar gtar; do
3131         { echo "$as_me:$LINENO: $_am_tar --version" >&5
3132    ($_am_tar --version) >&5 2>&5
3133    ac_status=$?
3134    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135    (exit $ac_status); } && break
3136       done
3137       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3138       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3139       am__untar="$_am_tar -xf -"
3140       ;;
3141     plaintar)
3142       # Must skip GNU tar: if it does not support --format= it doesn't create
3143       # ustar tarball either.
3144       (tar --version) >/dev/null 2>&1 && continue
3145       am__tar='tar chf - "$$tardir"'
3146       am__tar_='tar chf - "$tardir"'
3147       am__untar='tar xf -'
3148       ;;
3149     pax)
3150       am__tar='pax -L -x pax -w "$$tardir"'
3151       am__tar_='pax -L -x pax -w "$tardir"'
3152       am__untar='pax -r'
3153       ;;
3154     cpio)
3155       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3156       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3157       am__untar='cpio -i -H pax -d'
3158       ;;
3159     none)
3160       am__tar=false
3161       am__tar_=false
3162       am__untar=false
3163       ;;
3164     esac
3165
3166     # If the value was cached, stop now.  We just wanted to have am__tar
3167     # and am__untar set.
3168     test -n "${am_cv_prog_tar_pax}" && break
3169
3170     # tar/untar a dummy directory, and stop if the command works.
3171     rm -rf conftest.dir
3172     mkdir conftest.dir
3173     echo GrepMe > conftest.dir/file
3174     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3175    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3176    ac_status=$?
3177    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178    (exit $ac_status); }
3179     rm -rf conftest.dir
3180     if test -s conftest.tar; then
3181       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3182    ($am__untar <conftest.tar) >&5 2>&5
3183    ac_status=$?
3184    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185    (exit $ac_status); }
3186       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3187    (cat conftest.dir/file) >&5 2>&5
3188    ac_status=$?
3189    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190    (exit $ac_status); }
3191       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3192     fi
3193   done
3194   rm -rf conftest.dir
3195
3196   if ${am_cv_prog_tar_pax+:} false; then :
3197   $as_echo_n "(cached) " >&6
3198 else
3199   am_cv_prog_tar_pax=$_am_tool
3200 fi
3201
3202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3203 $as_echo "$am_cv_prog_tar_pax" >&6; }
3204
3205
3206
3207
3208
3209
3210 # POSIX will say in a future version that running "rm -f" with no argument
3211 # is OK; and we want to be able to make that assumption in our Makefile
3212 # recipes.  So use an aggressive probe to check that the usage we want is
3213 # actually supported "in the wild" to an acceptable degree.
3214 # See automake bug#10828.
3215 # To make any issue more visible, cause the running configure to be aborted
3216 # by default if the 'rm' program in use doesn't match our expectations; the
3217 # user can still override this though.
3218 if rm -f && rm -fr && rm -rf; then : OK; else
3219   cat >&2 <<'END'
3220 Oops!
3221
3222 Your 'rm' program seems unable to run without file operands specified
3223 on the command line, even when the '-f' option is present.  This is contrary
3224 to the behaviour of most rm programs out there, and not conforming with
3225 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3226
3227 Please tell bug-automake@gnu.org about your system, including the value
3228 of your $PATH and any error possibly output before this message.  This
3229 can help us improve future automake versions.
3230
3231 END
3232   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3233     echo 'Configuration will proceed anyway, since you have set the' >&2
3234     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3235     echo >&2
3236   else
3237     cat >&2 <<'END'
3238 Aborting the configuration process, to ensure you take notice of the issue.
3239
3240 You can download and install GNU coreutils to get an 'rm' implementation
3241 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3242
3243 If you want to complete the configuration process using your problematic
3244 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3245 to "yes", and re-run configure.
3246
3247 END
3248     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3249   fi
3250 fi
3251
3252 #
3253 # Silent build rules requires at least automake-1.11. Employ
3254 # techniques for not breaking earlier versions of automake.
3255 #
3256 # Check whether --enable-silent-rules was given.
3257 if test "${enable_silent_rules+set}" = set; then :
3258   enableval=$enable_silent_rules;
3259 fi
3260
3261 case $enable_silent_rules in # (((
3262   yes) AM_DEFAULT_VERBOSITY=0;;
3263    no) AM_DEFAULT_VERBOSITY=1;;
3264     *) AM_DEFAULT_VERBOSITY=0;;
3265 esac
3266 am_make=${MAKE-make}
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3268 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3269 if ${am_cv_make_support_nested_variables+:} false; then :
3270   $as_echo_n "(cached) " >&6
3271 else
3272   if $as_echo 'TRUE=$(BAR$(V))
3273 BAR0=false
3274 BAR1=true
3275 V=1
3276 am__doit:
3277         @$(TRUE)
3278 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3279   am_cv_make_support_nested_variables=yes
3280 else
3281   am_cv_make_support_nested_variables=no
3282 fi
3283 fi
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3285 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3286 if test $am_cv_make_support_nested_variables = yes; then
3287     AM_V='$(V)'
3288   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3289 else
3290   AM_V=$AM_DEFAULT_VERBOSITY
3291   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3292 fi
3293 AM_BACKSLASH='\'
3294
3295 # Check whether --enable-silent-rules was given.
3296 if test "${enable_silent_rules+set}" = set; then :
3297   enableval=$enable_silent_rules;
3298 fi
3299
3300 case $enable_silent_rules in # (((
3301   yes) AM_DEFAULT_VERBOSITY=0;;
3302    no) AM_DEFAULT_VERBOSITY=1;;
3303     *) AM_DEFAULT_VERBOSITY=0;;
3304 esac
3305 am_make=${MAKE-make}
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3307 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3308 if ${am_cv_make_support_nested_variables+:} false; then :
3309   $as_echo_n "(cached) " >&6
3310 else
3311   if $as_echo 'TRUE=$(BAR$(V))
3312 BAR0=false
3313 BAR1=true
3314 V=1
3315 am__doit:
3316         @$(TRUE)
3317 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3318   am_cv_make_support_nested_variables=yes
3319 else
3320   am_cv_make_support_nested_variables=no
3321 fi
3322 fi
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3324 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3325 if test $am_cv_make_support_nested_variables = yes; then
3326     AM_V='$(V)'
3327   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3328 else
3329   AM_V=$AM_DEFAULT_VERBOSITY
3330   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3331 fi
3332 AM_BACKSLASH='\'
3333
3334
3335 #
3336 # Enable maintainer mode to prevent the package from constantly trying
3337 # to rebuild configure, Makefile.in, etc. Rebuilding such files rarely,
3338 # if ever, needs to be done "in the field".
3339 #
3340 # Use the included 'bootstrap' script instead when necessary.
3341 #
3342
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3344 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3345     # Check whether --enable-maintainer-mode was given.
3346 if test "${enable_maintainer_mode+set}" = set; then :
3347   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3348 else
3349   USE_MAINTAINER_MODE=no
3350 fi
3351
3352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3353 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3354    if test $USE_MAINTAINER_MODE = yes; then
3355   MAINTAINER_MODE_TRUE=
3356   MAINTAINER_MODE_FALSE='#'
3357 else
3358   MAINTAINER_MODE_TRUE='#'
3359   MAINTAINER_MODE_FALSE=
3360 fi
3361
3362   MAINT=$MAINTAINER_MODE_TRUE
3363
3364
3365
3366 #
3367 # Checks for build host programs
3368 #
3369
3370 # If we are cross-compiling and we are on an embedded target that
3371 # doesn't support independent, standalone executables, then all
3372 # compiler tests that attempt to create an executable will fail. In
3373 # such circumstances, set AC_NO_EXECUTABLES (see http://sourceware.org/
3374 # ml/newlib/2006/msg00353.html).
3375
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable executable checking" >&5
3377 $as_echo_n "checking whether to disable executable checking... " >&6; }
3378 if test "$cross_compiling" = yes; then
3379
3380     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3381 $as_echo "yes" >&6; }
3382 else
3383     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3385 fi
3386
3387 # Passing -Werror to GCC-based or -compatible compilers breaks some
3388 # autoconf tests (see
3389 # http://lists.gnu.org/archive/html/autoconf-patches/2008-09/msg00014.html).
3390 #
3391 # If -Werror has been passed transform it into -Wno-error. We'll
3392 # transform it back later with NL_RESTORE_WERROR.
3393
3394
3395
3396     if echo "${CPPFLAGS}" | grep -q '\-Werror'; then
3397         CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3398         nl_had_CPPFLAGS_werror=yes
3399     else
3400         nl_had_CPPFLAGS_werror=no
3401     fi
3402
3403
3404     if echo "${CFLAGS}" | grep -q '\-Werror'; then
3405         CFLAGS="`echo ${CFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3406         nl_had_CFLAGS_werror=yes
3407     else
3408         nl_had_CFLAGS_werror=no
3409     fi
3410
3411
3412     if echo "${CXXFLAGS}" | grep -q '\-Werror'; then
3413         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3414         nl_had_CXXFLAGS_werror=yes
3415     else
3416         nl_had_CXXFLAGS_werror=no
3417     fi
3418
3419
3420     if echo "${OBJCFLAGS}" | grep -q '\-Werror'; then
3421         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3422         nl_had_OBJCFLAGS_werror=yes
3423     else
3424         nl_had_OBJCFLAGS_werror=no
3425     fi
3426
3427
3428     if echo "${OBJCXXFLAGS}" | grep -q '\-Werror'; then
3429         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Werror\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Wno-error\1\2,g'`"
3430         nl_had_OBJCXXFLAGS_werror=yes
3431     else
3432         nl_had_OBJCXXFLAGS_werror=no
3433     fi
3434
3435
3436
3437 # Check for compilers.
3438 #
3439 # These should be checked BEFORE we check for and, implicitly,
3440 # initialize libtool such that libtool knows what languages it has to
3441 # work with.
3442
3443 DEPDIR="${am__leading_dot}deps"
3444
3445 ac_config_commands="$ac_config_commands depfiles"
3446
3447
3448 am_make=${MAKE-make}
3449 cat > confinc << 'END'
3450 am__doit:
3451         @echo this is the am__doit target
3452 .PHONY: am__doit
3453 END
3454 # If we don't find an include directive, just comment out the code.
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3456 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3457 am__include="#"
3458 am__quote=
3459 _am_result=none
3460 # First try GNU make style include.
3461 echo "include confinc" > confmf
3462 # Ignore all kinds of additional output from 'make'.
3463 case `$am_make -s -f confmf 2> /dev/null` in #(
3464 *the\ am__doit\ target*)
3465   am__include=include
3466   am__quote=
3467   _am_result=GNU
3468   ;;
3469 esac
3470 # Now try BSD make style include.
3471 if test "$am__include" = "#"; then
3472    echo '.include "confinc"' > confmf
3473    case `$am_make -s -f confmf 2> /dev/null` in #(
3474    *the\ am__doit\ target*)
3475      am__include=.include
3476      am__quote="\""
3477      _am_result=BSD
3478      ;;
3479    esac
3480 fi
3481
3482
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3484 $as_echo "$_am_result" >&6; }
3485 rm -f confinc confmf
3486
3487 # Check whether --enable-dependency-tracking was given.
3488 if test "${enable_dependency_tracking+set}" = set; then :
3489   enableval=$enable_dependency_tracking;
3490 fi
3491
3492 if test "x$enable_dependency_tracking" != xno; then
3493   am_depcomp="$ac_aux_dir/depcomp"
3494   AMDEPBACKSLASH='\'
3495   am__nodep='_no'
3496 fi
3497  if test "x$enable_dependency_tracking" != xno; then
3498   AMDEP_TRUE=
3499   AMDEP_FALSE='#'
3500 else
3501   AMDEP_TRUE='#'
3502   AMDEP_FALSE=
3503 fi
3504
3505
3506 ac_ext=c
3507 ac_cpp='$CPP $CPPFLAGS'
3508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3511 if test -n "$ac_tool_prefix"; then
3512   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3513 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if ${ac_cv_prog_CC+:} false; then :
3517   $as_echo_n "(cached) " >&6
3518 else
3519   if test -n "$CC"; then
3520   ac_cv_prog_CC="$CC" # Let the user override the test.
3521 else
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523 for as_dir in $PATH
3524 do
3525   IFS=$as_save_IFS
3526   test -z "$as_dir" && as_dir=.
3527     for ac_exec_ext in '' $ac_executable_extensions; do
3528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3529     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3531     break 2
3532   fi
3533 done
3534   done
3535 IFS=$as_save_IFS
3536
3537 fi
3538 fi
3539 CC=$ac_cv_prog_CC
3540 if test -n "$CC"; then
3541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 $as_echo "$CC" >&6; }
3543 else
3544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3546 fi
3547
3548
3549 fi
3550 if test -z "$ac_cv_prog_CC"; then
3551   ac_ct_CC=$CC
3552   # Extract the first word of "gcc", so it can be a program name with args.
3553 set dummy gcc; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3557   $as_echo_n "(cached) " >&6
3558 else
3559   if test -n "$ac_ct_CC"; then
3560   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3561 else
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 for as_dir in $PATH
3564 do
3565   IFS=$as_save_IFS
3566   test -z "$as_dir" && as_dir=.
3567     for ac_exec_ext in '' $ac_executable_extensions; do
3568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569     ac_cv_prog_ac_ct_CC="gcc"
3570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571     break 2
3572   fi
3573 done
3574   done
3575 IFS=$as_save_IFS
3576
3577 fi
3578 fi
3579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3580 if test -n "$ac_ct_CC"; then
3581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3582 $as_echo "$ac_ct_CC" >&6; }
3583 else
3584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3586 fi
3587
3588   if test "x$ac_ct_CC" = x; then
3589     CC=""
3590   else
3591     case $cross_compiling:$ac_tool_warned in
3592 yes:)
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3595 ac_tool_warned=yes ;;
3596 esac
3597     CC=$ac_ct_CC
3598   fi
3599 else
3600   CC="$ac_cv_prog_CC"
3601 fi
3602
3603 if test -z "$CC"; then
3604           if test -n "$ac_tool_prefix"; then
3605     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3606 set dummy ${ac_tool_prefix}cc; ac_word=$2
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608 $as_echo_n "checking for $ac_word... " >&6; }
3609 if ${ac_cv_prog_CC+:} false; then :
3610   $as_echo_n "(cached) " >&6
3611 else
3612   if test -n "$CC"; then
3613   ac_cv_prog_CC="$CC" # Let the user override the test.
3614 else
3615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 for as_dir in $PATH
3617 do
3618   IFS=$as_save_IFS
3619   test -z "$as_dir" && as_dir=.
3620     for ac_exec_ext in '' $ac_executable_extensions; do
3621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622     ac_cv_prog_CC="${ac_tool_prefix}cc"
3623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624     break 2
3625   fi
3626 done
3627   done
3628 IFS=$as_save_IFS
3629
3630 fi
3631 fi
3632 CC=$ac_cv_prog_CC
3633 if test -n "$CC"; then
3634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3635 $as_echo "$CC" >&6; }
3636 else
3637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3639 fi
3640
3641
3642   fi
3643 fi
3644 if test -z "$CC"; then
3645   # Extract the first word of "cc", so it can be a program name with args.
3646 set dummy cc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if ${ac_cv_prog_CC+:} false; then :
3650   $as_echo_n "(cached) " >&6
3651 else
3652   if test -n "$CC"; then
3653   ac_cv_prog_CC="$CC" # Let the user override the test.
3654 else
3655   ac_prog_rejected=no
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 for as_dir in $PATH
3658 do
3659   IFS=$as_save_IFS
3660   test -z "$as_dir" && as_dir=.
3661     for ac_exec_ext in '' $ac_executable_extensions; do
3662   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3663     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3664        ac_prog_rejected=yes
3665        continue
3666      fi
3667     ac_cv_prog_CC="cc"
3668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669     break 2
3670   fi
3671 done
3672   done
3673 IFS=$as_save_IFS
3674
3675 if test $ac_prog_rejected = yes; then
3676   # We found a bogon in the path, so make sure we never use it.
3677   set dummy $ac_cv_prog_CC
3678   shift
3679   if test $# != 0; then
3680     # We chose a different compiler from the bogus one.
3681     # However, it has the same basename, so the bogon will be chosen
3682     # first if we set CC to just the basename; use the full file name.
3683     shift
3684     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3685   fi
3686 fi
3687 fi
3688 fi
3689 CC=$ac_cv_prog_CC
3690 if test -n "$CC"; then
3691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3692 $as_echo "$CC" >&6; }
3693 else
3694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3696 fi
3697
3698
3699 fi
3700 if test -z "$CC"; then
3701   if test -n "$ac_tool_prefix"; then
3702   for ac_prog in cl.exe
3703   do
3704     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3705 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707 $as_echo_n "checking for $ac_word... " >&6; }
3708 if ${ac_cv_prog_CC+:} false; then :
3709   $as_echo_n "(cached) " >&6
3710 else
3711   if test -n "$CC"; then
3712   ac_cv_prog_CC="$CC" # Let the user override the test.
3713 else
3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715 for as_dir in $PATH
3716 do
3717   IFS=$as_save_IFS
3718   test -z "$as_dir" && as_dir=.
3719     for ac_exec_ext in '' $ac_executable_extensions; do
3720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3721     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723     break 2
3724   fi
3725 done
3726   done
3727 IFS=$as_save_IFS
3728
3729 fi
3730 fi
3731 CC=$ac_cv_prog_CC
3732 if test -n "$CC"; then
3733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3735 else
3736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3738 fi
3739
3740
3741     test -n "$CC" && break
3742   done
3743 fi
3744 if test -z "$CC"; then
3745   ac_ct_CC=$CC
3746   for ac_prog in cl.exe
3747 do
3748   # Extract the first word of "$ac_prog", so it can be a program name with args.
3749 set dummy $ac_prog; ac_word=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3753   $as_echo_n "(cached) " >&6
3754 else
3755   if test -n "$ac_ct_CC"; then
3756   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3757 else
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3759 for as_dir in $PATH
3760 do
3761   IFS=$as_save_IFS
3762   test -z "$as_dir" && as_dir=.
3763     for ac_exec_ext in '' $ac_executable_extensions; do
3764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3765     ac_cv_prog_ac_ct_CC="$ac_prog"
3766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767     break 2
3768   fi
3769 done
3770   done
3771 IFS=$as_save_IFS
3772
3773 fi
3774 fi
3775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3776 if test -n "$ac_ct_CC"; then
3777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3778 $as_echo "$ac_ct_CC" >&6; }
3779 else
3780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3782 fi
3783
3784
3785   test -n "$ac_ct_CC" && break
3786 done
3787
3788   if test "x$ac_ct_CC" = x; then
3789     CC=""
3790   else
3791     case $cross_compiling:$ac_tool_warned in
3792 yes:)
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3795 ac_tool_warned=yes ;;
3796 esac
3797     CC=$ac_ct_CC
3798   fi
3799 fi
3800
3801 fi
3802
3803
3804 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error $? "no acceptable C compiler found in \$PATH
3807 See \`config.log' for more details" "$LINENO" 5; }
3808
3809 # Provide some information about the compiler.
3810 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3811 set X $ac_compile
3812 ac_compiler=$2
3813 for ac_option in --version -v -V -qversion; do
3814   { { ac_try="$ac_compiler $ac_option >&5"
3815 case "(($ac_try" in
3816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817   *) ac_try_echo=$ac_try;;
3818 esac
3819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3820 $as_echo "$ac_try_echo"; } >&5
3821   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3822   ac_status=$?
3823   if test -s conftest.err; then
3824     sed '10a\
3825 ... rest of stderr output deleted ...
3826          10q' conftest.err >conftest.er1
3827     cat conftest.er1 >&5
3828   fi
3829   rm -f conftest.er1 conftest.err
3830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3831   test $ac_status = 0; }
3832 done
3833
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h.  */
3836
3837 int
3838 main ()
3839 {
3840
3841   ;
3842   return 0;
3843 }
3844 _ACEOF
3845 if { { ac_try="$ac_link"
3846 case "(($ac_try" in
3847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848   *) ac_try_echo=$ac_try;;
3849 esac
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852   (eval "$ac_link") 2>&5
3853   ac_status=$?
3854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855   test $ac_status = 0; }; then
3856   ac_no_link=no
3857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h.  */
3859
3860 int
3861 main ()
3862 {
3863
3864   ;
3865   return 0;
3866 }
3867 _ACEOF
3868 ac_clean_files_save=$ac_clean_files
3869 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3870 # Try to create an executable without -o first, disregard a.out.
3871 # It will help us diagnose broken compilers, and finding out an intuition
3872 # of exeext.
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3874 $as_echo_n "checking whether the C compiler works... " >&6; }
3875 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3876
3877 # The possible output files:
3878 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3879
3880 ac_rmfiles=
3881 for ac_file in $ac_files
3882 do
3883   case $ac_file in
3884     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3885     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3886   esac
3887 done
3888 rm -f $ac_rmfiles
3889
3890 if { { ac_try="$ac_link_default"
3891 case "(($ac_try" in
3892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893   *) ac_try_echo=$ac_try;;
3894 esac
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897   (eval "$ac_link_default") 2>&5
3898   ac_status=$?
3899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900   test $ac_status = 0; }; then :
3901   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3902 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3903 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3904 # so that the user can short-circuit this test for compilers unknown to
3905 # Autoconf.
3906 for ac_file in $ac_files ''
3907 do
3908   test -f "$ac_file" || continue
3909   case $ac_file in
3910     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3911         ;;
3912     [ab].out )
3913         # We found the default executable, but exeext='' is most
3914         # certainly right.
3915         break;;
3916     *.* )
3917         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3918         then :; else
3919            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3920         fi
3921         # We set ac_cv_exeext here because the later test for it is not
3922         # safe: cross compilers may not add the suffix if given an `-o'
3923         # argument, so we may need to know it at that point already.
3924         # Even if this section looks crufty: it has the advantage of
3925         # actually working.
3926         break;;
3927     * )
3928         break;;
3929   esac
3930 done
3931 test "$ac_cv_exeext" = no && ac_cv_exeext=
3932
3933 else
3934   ac_file=''
3935 fi
3936 if test -z "$ac_file"; then :
3937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3939 $as_echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3941
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944 as_fn_error 77 "C compiler cannot create executables
3945 See \`config.log' for more details" "$LINENO" 5; }
3946 else
3947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3948 $as_echo "yes" >&6; }
3949 fi
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3951 $as_echo_n "checking for C compiler default output file name... " >&6; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3953 $as_echo "$ac_file" >&6; }
3954 ac_exeext=$ac_cv_exeext
3955
3956 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3957 ac_clean_files=$ac_clean_files_save
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3959 $as_echo_n "checking for suffix of executables... " >&6; }
3960 if { { ac_try="$ac_link"
3961 case "(($ac_try" in
3962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963   *) ac_try_echo=$ac_try;;
3964 esac
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967   (eval "$ac_link") 2>&5
3968   ac_status=$?
3969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970   test $ac_status = 0; }; then :
3971   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3972 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3973 # work properly (i.e., refer to `conftest.exe'), while it won't with
3974 # `rm'.
3975 for ac_file in conftest.exe conftest conftest.*; do
3976   test -f "$ac_file" || continue
3977   case $ac_file in
3978     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3979     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3980           break;;
3981     * ) break;;
3982   esac
3983 done
3984 else
3985   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3988 See \`config.log' for more details" "$LINENO" 5; }
3989 fi
3990 rm -f conftest conftest$ac_cv_exeext
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3992 $as_echo "$ac_cv_exeext" >&6; }
3993
3994 rm -f conftest.$ac_ext
3995 EXEEXT=$ac_cv_exeext
3996 ac_exeext=$EXEEXT
3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h.  */
3999 #include <stdio.h>
4000 int
4001 main ()
4002 {
4003 FILE *f = fopen ("conftest.out", "w");
4004  return ferror (f) || fclose (f) != 0;
4005
4006   ;
4007   return 0;
4008 }
4009 _ACEOF
4010 ac_clean_files="$ac_clean_files conftest.out"
4011 # Check that the compiler produces executables we can run.  If not, either
4012 # the compiler is broken, or we cross compile.
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4014 $as_echo_n "checking whether we are cross compiling... " >&6; }
4015 if test "$cross_compiling" != yes; then
4016   { { ac_try="$ac_link"
4017 case "(($ac_try" in
4018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019   *) ac_try_echo=$ac_try;;
4020 esac
4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4022 $as_echo "$ac_try_echo"; } >&5
4023   (eval "$ac_link") 2>&5
4024   ac_status=$?
4025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4026   test $ac_status = 0; }
4027   if { ac_try='./conftest$ac_cv_exeext'
4028   { { case "(($ac_try" in
4029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030   *) ac_try_echo=$ac_try;;
4031 esac
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034   (eval "$ac_try") 2>&5
4035   ac_status=$?
4036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037   test $ac_status = 0; }; }; then
4038     cross_compiling=no
4039   else
4040     if test "$cross_compiling" = maybe; then
4041         cross_compiling=yes
4042     else
4043         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4045 as_fn_error $? "cannot run C compiled programs.
4046 If you meant to cross compile, use \`--host'.
4047 See \`config.log' for more details" "$LINENO" 5; }
4048     fi
4049   fi
4050 fi
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4052 $as_echo "$cross_compiling" >&6; }
4053
4054 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4055 ac_clean_files=$ac_clean_files_save
4056
4057 else
4058   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
4059   ac_no_link=yes
4060   # Setting cross_compile will disable run tests; it will
4061   # also disable AC_CHECK_FILE but that's generally
4062   # correct if we can't link.
4063   cross_compiling=yes
4064   EXEEXT=
4065   # Check that the compiler produces executables we can run.  If not, either
4066 # the compiler is broken, or we cross compile.
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4068 $as_echo_n "checking whether we are cross compiling... " >&6; }
4069 if test "$cross_compiling" != yes; then
4070   { { ac_try="$ac_link"
4071 case "(($ac_try" in
4072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073   *) ac_try_echo=$ac_try;;
4074 esac
4075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4076 $as_echo "$ac_try_echo"; } >&5
4077   (eval "$ac_link") 2>&5
4078   ac_status=$?
4079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4080   test $ac_status = 0; }
4081   if { ac_try='./conftest$ac_cv_exeext'
4082   { { case "(($ac_try" in
4083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084   *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088   (eval "$ac_try") 2>&5
4089   ac_status=$?
4090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091   test $ac_status = 0; }; }; then
4092     cross_compiling=no
4093   else
4094     if test "$cross_compiling" = maybe; then
4095         cross_compiling=yes
4096     else
4097         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error $? "cannot run C compiled programs.
4100 If you meant to cross compile, use \`--host'.
4101 See \`config.log' for more details" "$LINENO" 5; }
4102     fi
4103   fi
4104 fi
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4106 $as_echo "$cross_compiling" >&6; }
4107
4108 fi
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4110 $as_echo_n "checking for suffix of object files... " >&6; }
4111 if ${ac_cv_objext+:} false; then :
4112   $as_echo_n "(cached) " >&6
4113 else
4114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h.  */
4116
4117 int
4118 main ()
4119 {
4120
4121   ;
4122   return 0;
4123 }
4124 _ACEOF
4125 rm -f conftest.o conftest.obj
4126 if { { ac_try="$ac_compile"
4127 case "(($ac_try" in
4128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4129   *) ac_try_echo=$ac_try;;
4130 esac
4131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4132 $as_echo "$ac_try_echo"; } >&5
4133   (eval "$ac_compile") 2>&5
4134   ac_status=$?
4135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4136   test $ac_status = 0; }; then :
4137   for ac_file in conftest.o conftest.obj conftest.*; do
4138   test -f "$ac_file" || continue;
4139   case $ac_file in
4140     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4141     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4142        break;;
4143   esac
4144 done
4145 else
4146   $as_echo "$as_me: failed program was:" >&5
4147 sed 's/^/| /' conftest.$ac_ext >&5
4148
4149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4151 as_fn_error $? "cannot compute suffix of object files: cannot compile
4152 See \`config.log' for more details" "$LINENO" 5; }
4153 fi
4154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4155 fi
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4157 $as_echo "$ac_cv_objext" >&6; }
4158 OBJEXT=$ac_cv_objext
4159 ac_objext=$OBJEXT
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4161 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4162 if ${ac_cv_c_compiler_gnu+:} false; then :
4163   $as_echo_n "(cached) " >&6
4164 else
4165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h.  */
4167
4168 int
4169 main ()
4170 {
4171 #ifndef __GNUC__
4172        choke me
4173 #endif
4174
4175   ;
4176   return 0;
4177 }
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180   ac_compiler_gnu=yes
4181 else
4182   ac_compiler_gnu=no
4183 fi
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4186
4187 fi
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4189 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4190 if test $ac_compiler_gnu = yes; then
4191   GCC=yes
4192 else
4193   GCC=
4194 fi
4195 ac_test_CFLAGS=${CFLAGS+set}
4196 ac_save_CFLAGS=$CFLAGS
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4198 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4199 if ${ac_cv_prog_cc_g+:} false; then :
4200   $as_echo_n "(cached) " >&6
4201 else
4202   ac_save_c_werror_flag=$ac_c_werror_flag
4203    ac_c_werror_flag=yes
4204    ac_cv_prog_cc_g=no
4205    CFLAGS="-g"
4206    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h.  */
4208
4209 int
4210 main ()
4211 {
4212
4213   ;
4214   return 0;
4215 }
4216 _ACEOF
4217 if ac_fn_c_try_compile "$LINENO"; then :
4218   ac_cv_prog_cc_g=yes
4219 else
4220   CFLAGS=""
4221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h.  */
4223
4224 int
4225 main ()
4226 {
4227
4228   ;
4229   return 0;
4230 }
4231 _ACEOF
4232 if ac_fn_c_try_compile "$LINENO"; then :
4233
4234 else
4235   ac_c_werror_flag=$ac_save_c_werror_flag
4236          CFLAGS="-g"
4237          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h.  */
4239
4240 int
4241 main ()
4242 {
4243
4244   ;
4245   return 0;
4246 }
4247 _ACEOF
4248 if ac_fn_c_try_compile "$LINENO"; then :
4249   ac_cv_prog_cc_g=yes
4250 fi
4251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4252 fi
4253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254 fi
4255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4256    ac_c_werror_flag=$ac_save_c_werror_flag
4257 fi
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4259 $as_echo "$ac_cv_prog_cc_g" >&6; }
4260 if test "$ac_test_CFLAGS" = set; then
4261   CFLAGS=$ac_save_CFLAGS
4262 elif test $ac_cv_prog_cc_g = yes; then
4263   if test "$GCC" = yes; then
4264     CFLAGS="-g -O2"
4265   else
4266     CFLAGS="-g"
4267   fi
4268 else
4269   if test "$GCC" = yes; then
4270     CFLAGS="-O2"
4271   else
4272     CFLAGS=
4273   fi
4274 fi
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4276 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4277 if ${ac_cv_prog_cc_c89+:} false; then :
4278   $as_echo_n "(cached) " >&6
4279 else
4280   ac_cv_prog_cc_c89=no
4281 ac_save_CC=$CC
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h.  */
4284 #include <stdarg.h>
4285 #include <stdio.h>
4286 #include <sys/types.h>
4287 #include <sys/stat.h>
4288 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4289 struct buf { int x; };
4290 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4291 static char *e (p, i)
4292      char **p;
4293      int i;
4294 {
4295   return p[i];
4296 }
4297 static char *f (char * (*g) (char **, int), char **p, ...)
4298 {
4299   char *s;
4300   va_list v;
4301   va_start (v,p);
4302   s = g (p, va_arg (v,int));
4303   va_end (v);
4304   return s;
4305 }
4306
4307 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4308    function prototypes and stuff, but not '\xHH' hex character constants.
4309    These don't provoke an error unfortunately, instead are silently treated
4310    as 'x'.  The following induces an error, until -std is added to get
4311    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4312    array size at least.  It's necessary to write '\x00'==0 to get something
4313    that's true only with -std.  */
4314 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4315
4316 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4317    inside strings and character constants.  */
4318 #define FOO(x) 'x'
4319 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4320
4321 int test (int i, double x);
4322 struct s1 {int (*f) (int a);};
4323 struct s2 {int (*f) (double a);};
4324 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4325 int argc;
4326 char **argv;
4327 int
4328 main ()
4329 {
4330 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4331   ;
4332   return 0;
4333 }
4334 _ACEOF
4335 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4336         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4337 do
4338   CC="$ac_save_CC $ac_arg"
4339   if ac_fn_c_try_compile "$LINENO"; then :
4340   ac_cv_prog_cc_c89=$ac_arg
4341 fi
4342 rm -f core conftest.err conftest.$ac_objext
4343   test "x$ac_cv_prog_cc_c89" != "xno" && break
4344 done
4345 rm -f conftest.$ac_ext
4346 CC=$ac_save_CC
4347
4348 fi
4349 # AC_CACHE_VAL
4350 case "x$ac_cv_prog_cc_c89" in
4351   x)
4352     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4353 $as_echo "none needed" >&6; } ;;
4354   xno)
4355     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4356 $as_echo "unsupported" >&6; } ;;
4357   *)
4358     CC="$CC $ac_cv_prog_cc_c89"
4359     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4360 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4361 esac
4362 if test "x$ac_cv_prog_cc_c89" != xno; then :
4363
4364 fi
4365
4366 ac_ext=c
4367 ac_cpp='$CPP $CPPFLAGS'
4368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4371
4372 ac_ext=c
4373 ac_cpp='$CPP $CPPFLAGS'
4374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4378 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4379 if ${am_cv_prog_cc_c_o+:} false; then :
4380   $as_echo_n "(cached) " >&6
4381 else
4382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h.  */
4384
4385 int
4386 main ()
4387 {
4388
4389   ;
4390   return 0;
4391 }
4392 _ACEOF
4393   # Make sure it works both with $CC and with simple cc.
4394   # Following AC_PROG_CC_C_O, we do the test twice because some
4395   # compilers refuse to overwrite an existing .o file with -o,
4396   # though they will create one.
4397   am_cv_prog_cc_c_o=yes
4398   for am_i in 1 2; do
4399     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4400    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4401    ac_status=$?
4402    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403    (exit $ac_status); } \
4404          && test -f conftest2.$ac_objext; then
4405       : OK
4406     else
4407       am_cv_prog_cc_c_o=no
4408       break
4409     fi
4410   done
4411   rm -f core conftest*
4412   unset am_i
4413 fi
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4415 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4416 if test "$am_cv_prog_cc_c_o" != yes; then
4417    # Losing compiler, so override with the script.
4418    # FIXME: It is wrong to rewrite CC.
4419    # But if we don't then we get into trouble of one sort or another.
4420    # A longer-term fix would be to have automake use am__CC in this case,
4421    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4422    CC="$am_aux_dir/compile $CC"
4423 fi
4424 ac_ext=c
4425 ac_cpp='$CPP $CPPFLAGS'
4426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4429
4430
4431 depcc="$CC"   am_compiler_list=
4432
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4434 $as_echo_n "checking dependency style of $depcc... " >&6; }
4435 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4436   $as_echo_n "(cached) " >&6
4437 else
4438   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4439   # We make a subdir and do the tests there.  Otherwise we can end up
4440   # making bogus files that we don't know about and never remove.  For
4441   # instance it was reported that on HP-UX the gcc test will end up
4442   # making a dummy file named 'D' -- because '-MD' means "put the output
4443   # in D".
4444   rm -rf conftest.dir
4445   mkdir conftest.dir
4446   # Copy depcomp to subdir because otherwise we won't find it if we're
4447   # using a relative directory.
4448   cp "$am_depcomp" conftest.dir
4449   cd conftest.dir
4450   # We will build objects and dependencies in a subdirectory because
4451   # it helps to detect inapplicable dependency modes.  For instance
4452   # both Tru64's cc and ICC support -MD to output dependencies as a
4453   # side effect of compilation, but ICC will put the dependencies in
4454   # the current directory while Tru64 will put them in the object
4455   # directory.
4456   mkdir sub
4457
4458   am_cv_CC_dependencies_compiler_type=none
4459   if test "$am_compiler_list" = ""; then
4460      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4461   fi
4462   am__universal=false
4463   case " $depcc " in #(
4464      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4465      esac
4466
4467   for depmode in $am_compiler_list; do
4468     # Setup a source with many dependencies, because some compilers
4469     # like to wrap large dependency lists on column 80 (with \), and
4470     # we should not choose a depcomp mode which is confused by this.
4471     #
4472     # We need to recreate these files for each test, as the compiler may
4473     # overwrite some of them when testing with obscure command lines.
4474     # This happens at least with the AIX C compiler.
4475     : > sub/conftest.c
4476     for i in 1 2 3 4 5 6; do
4477       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4478       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4479       # Solaris 10 /bin/sh.
4480       echo '/* dummy */' > sub/conftst$i.h
4481     done
4482     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4483
4484     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4485     # mode.  It turns out that the SunPro C++ compiler does not properly
4486     # handle '-M -o', and we need to detect this.  Also, some Intel
4487     # versions had trouble with output in subdirs.
4488     am__obj=sub/conftest.${OBJEXT-o}
4489     am__minus_obj="-o $am__obj"
4490     case $depmode in
4491     gcc)
4492       # This depmode causes a compiler race in universal mode.
4493       test "$am__universal" = false || continue
4494       ;;
4495     nosideeffect)
4496       # After this tag, mechanisms are not by side-effect, so they'll
4497       # only be used when explicitly requested.
4498       if test "x$enable_dependency_tracking" = xyes; then
4499         continue
4500       else
4501         break
4502       fi
4503       ;;
4504     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4505       # This compiler won't grok '-c -o', but also, the minuso test has
4506       # not run yet.  These depmodes are late enough in the game, and
4507       # so weak that their functioning should not be impacted.
4508       am__obj=conftest.${OBJEXT-o}
4509       am__minus_obj=
4510       ;;
4511     none) break ;;
4512     esac
4513     if depmode=$depmode \
4514        source=sub/conftest.c object=$am__obj \
4515        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4516        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4517          >/dev/null 2>conftest.err &&
4518        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4519        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4520        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4521        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4522       # icc doesn't choke on unknown options, it will just issue warnings
4523       # or remarks (even with -Werror).  So we grep stderr for any message
4524       # that says an option was ignored or not supported.
4525       # When given -MP, icc 7.0 and 7.1 complain thusly:
4526       #   icc: Command line warning: ignoring option '-M'; no argument required
4527       # The diagnosis changed in icc 8.0:
4528       #   icc: Command line remark: option '-MP' not supported
4529       if (grep 'ignoring option' conftest.err ||
4530           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4531         am_cv_CC_dependencies_compiler_type=$depmode
4532         break
4533       fi
4534     fi
4535   done
4536
4537   cd ..
4538   rm -rf conftest.dir
4539 else
4540   am_cv_CC_dependencies_compiler_type=none
4541 fi
4542
4543 fi
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4545 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4546 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4547
4548  if
4549   test "x$enable_dependency_tracking" != xno \
4550   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4551   am__fastdepCC_TRUE=
4552   am__fastdepCC_FALSE='#'
4553 else
4554   am__fastdepCC_TRUE='#'
4555   am__fastdepCC_FALSE=
4556 fi
4557
4558
4559 ac_ext=c
4560 ac_cpp='$CPP $CPPFLAGS'
4561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4565 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4566 # On Suns, sometimes $CPP names a directory.
4567 if test -n "$CPP" && test -d "$CPP"; then
4568   CPP=
4569 fi
4570 if test -z "$CPP"; then
4571   if ${ac_cv_prog_CPP+:} false; then :
4572   $as_echo_n "(cached) " >&6
4573 else
4574       # Double quotes because CPP needs to be expanded
4575     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4576     do
4577       ac_preproc_ok=false
4578 for ac_c_preproc_warn_flag in '' yes
4579 do
4580   # Use a header file that comes with gcc, so configuring glibc
4581   # with a fresh cross-compiler works.
4582   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4583   # <limits.h> exists even on freestanding compilers.
4584   # On the NeXT, cc -E runs the code through the compiler's parser,
4585   # not just through cpp. "Syntax error" is here to catch this case.
4586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h.  */
4588 #ifdef __STDC__
4589 # include <limits.h>
4590 #else
4591 # include <assert.h>
4592 #endif
4593                      Syntax error
4594 _ACEOF
4595 if ac_fn_c_try_cpp "$LINENO"; then :
4596
4597 else
4598   # Broken: fails on valid input.
4599 continue
4600 fi
4601 rm -f conftest.err conftest.i conftest.$ac_ext
4602
4603   # OK, works on sane cases.  Now check whether nonexistent headers
4604   # can be detected and how.
4605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h.  */
4607 #include <ac_nonexistent.h>
4608 _ACEOF
4609 if ac_fn_c_try_cpp "$LINENO"; then :
4610   # Broken: success on invalid input.
4611 continue
4612 else
4613   # Passes both tests.
4614 ac_preproc_ok=:
4615 break
4616 fi
4617 rm -f conftest.err conftest.i conftest.$ac_ext
4618
4619 done
4620 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4621 rm -f conftest.i conftest.err conftest.$ac_ext
4622 if $ac_preproc_ok; then :
4623   break
4624 fi
4625
4626     done
4627     ac_cv_prog_CPP=$CPP
4628
4629 fi
4630   CPP=$ac_cv_prog_CPP
4631 else
4632   ac_cv_prog_CPP=$CPP
4633 fi
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4635 $as_echo "$CPP" >&6; }
4636 ac_preproc_ok=false
4637 for ac_c_preproc_warn_flag in '' yes
4638 do
4639   # Use a header file that comes with gcc, so configuring glibc
4640   # with a fresh cross-compiler works.
4641   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4642   # <limits.h> exists even on freestanding compilers.
4643   # On the NeXT, cc -E runs the code through the compiler's parser,
4644   # not just through cpp. "Syntax error" is here to catch this case.
4645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4646 /* end confdefs.h.  */
4647 #ifdef __STDC__
4648 # include <limits.h>
4649 #else
4650 # include <assert.h>
4651 #endif
4652                      Syntax error
4653 _ACEOF
4654 if ac_fn_c_try_cpp "$LINENO"; then :
4655
4656 else
4657   # Broken: fails on valid input.
4658 continue
4659 fi
4660 rm -f conftest.err conftest.i conftest.$ac_ext
4661
4662   # OK, works on sane cases.  Now check whether nonexistent headers
4663   # can be detected and how.
4664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h.  */
4666 #include <ac_nonexistent.h>
4667 _ACEOF
4668 if ac_fn_c_try_cpp "$LINENO"; then :
4669   # Broken: success on invalid input.
4670 continue
4671 else
4672   # Passes both tests.
4673 ac_preproc_ok=:
4674 break
4675 fi
4676 rm -f conftest.err conftest.i conftest.$ac_ext
4677
4678 done
4679 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4680 rm -f conftest.i conftest.err conftest.$ac_ext
4681 if $ac_preproc_ok; then :
4682
4683 else
4684   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4686 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4687 See \`config.log' for more details" "$LINENO" 5; }
4688 fi
4689
4690 ac_ext=c
4691 ac_cpp='$CPP $CPPFLAGS'
4692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4695
4696 ac_c_preproc_warn_flag=yes
4697
4698 ac_ext=c
4699 ac_cpp='$CPP $CPPFLAGS'
4700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703 if test -n "$ac_tool_prefix"; then
4704   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4705 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 $as_echo_n "checking for $ac_word... " >&6; }
4708 if ${ac_cv_prog_CC+:} false; then :
4709   $as_echo_n "(cached) " >&6
4710 else
4711   if test -n "$CC"; then
4712   ac_cv_prog_CC="$CC" # Let the user override the test.
4713 else
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH
4716 do
4717   IFS=$as_save_IFS
4718   test -z "$as_dir" && as_dir=.
4719     for ac_exec_ext in '' $ac_executable_extensions; do
4720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4721     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723     break 2
4724   fi
4725 done
4726   done
4727 IFS=$as_save_IFS
4728
4729 fi
4730 fi
4731 CC=$ac_cv_prog_CC
4732 if test -n "$CC"; then
4733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4734 $as_echo "$CC" >&6; }
4735 else
4736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4738 fi
4739
4740
4741 fi
4742 if test -z "$ac_cv_prog_CC"; then
4743   ac_ct_CC=$CC
4744   # Extract the first word of "gcc", so it can be a program name with args.
4745 set dummy gcc; ac_word=$2
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4747 $as_echo_n "checking for $ac_word... " >&6; }
4748 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4749   $as_echo_n "(cached) " >&6
4750 else
4751   if test -n "$ac_ct_CC"; then
4752   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4753 else
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755 for as_dir in $PATH
4756 do
4757   IFS=$as_save_IFS
4758   test -z "$as_dir" && as_dir=.
4759     for ac_exec_ext in '' $ac_executable_extensions; do
4760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4761     ac_cv_prog_ac_ct_CC="gcc"
4762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763     break 2
4764   fi
4765 done
4766   done
4767 IFS=$as_save_IFS
4768
4769 fi
4770 fi
4771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4772 if test -n "$ac_ct_CC"; then
4773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4774 $as_echo "$ac_ct_CC" >&6; }
4775 else
4776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4778 fi
4779
4780   if test "x$ac_ct_CC" = x; then
4781     CC=""
4782   else
4783     case $cross_compiling:$ac_tool_warned in
4784 yes:)
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4787 ac_tool_warned=yes ;;
4788 esac
4789     CC=$ac_ct_CC
4790   fi
4791 else
4792   CC="$ac_cv_prog_CC"
4793 fi
4794
4795 if test -z "$CC"; then
4796           if test -n "$ac_tool_prefix"; then
4797     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4798 set dummy ${ac_tool_prefix}cc; ac_word=$2
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4800 $as_echo_n "checking for $ac_word... " >&6; }
4801 if ${ac_cv_prog_CC+:} false; then :
4802   $as_echo_n "(cached) " >&6
4803 else
4804   if test -n "$CC"; then
4805   ac_cv_prog_CC="$CC" # Let the user override the test.
4806 else
4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808 for as_dir in $PATH
4809 do
4810   IFS=$as_save_IFS
4811   test -z "$as_dir" && as_dir=.
4812     for ac_exec_ext in '' $ac_executable_extensions; do
4813   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4814     ac_cv_prog_CC="${ac_tool_prefix}cc"
4815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4816     break 2
4817   fi
4818 done
4819   done
4820 IFS=$as_save_IFS
4821
4822 fi
4823 fi
4824 CC=$ac_cv_prog_CC
4825 if test -n "$CC"; then
4826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4827 $as_echo "$CC" >&6; }
4828 else
4829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4831 fi
4832
4833
4834   fi
4835 fi
4836 if test -z "$CC"; then
4837   # Extract the first word of "cc", so it can be a program name with args.
4838 set dummy cc; ac_word=$2
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4840 $as_echo_n "checking for $ac_word... " >&6; }
4841 if ${ac_cv_prog_CC+:} false; then :
4842   $as_echo_n "(cached) " >&6
4843 else
4844   if test -n "$CC"; then
4845   ac_cv_prog_CC="$CC" # Let the user override the test.
4846 else
4847   ac_prog_rejected=no
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849 for as_dir in $PATH
4850 do
4851   IFS=$as_save_IFS
4852   test -z "$as_dir" && as_dir=.
4853     for ac_exec_ext in '' $ac_executable_extensions; do
4854   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4855     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4856        ac_prog_rejected=yes
4857        continue
4858      fi
4859     ac_cv_prog_CC="cc"
4860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4861     break 2
4862   fi
4863 done
4864   done
4865 IFS=$as_save_IFS
4866
4867 if test $ac_prog_rejected = yes; then
4868   # We found a bogon in the path, so make sure we never use it.
4869   set dummy $ac_cv_prog_CC
4870   shift
4871   if test $# != 0; then
4872     # We chose a different compiler from the bogus one.
4873     # However, it has the same basename, so the bogon will be chosen
4874     # first if we set CC to just the basename; use the full file name.
4875     shift
4876     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4877   fi
4878 fi
4879 fi
4880 fi
4881 CC=$ac_cv_prog_CC
4882 if test -n "$CC"; then
4883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4884 $as_echo "$CC" >&6; }
4885 else
4886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 $as_echo "no" >&6; }
4888 fi
4889
4890
4891 fi
4892 if test -z "$CC"; then
4893   if test -n "$ac_tool_prefix"; then
4894   for ac_prog in cl.exe
4895   do
4896     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_CC+:} false; then :
4901   $as_echo_n "(cached) " >&6
4902 else
4903   if test -n "$CC"; then
4904   ac_cv_prog_CC="$CC" # Let the user override the test.
4905 else
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH
4908 do
4909   IFS=$as_save_IFS
4910   test -z "$as_dir" && as_dir=.
4911     for ac_exec_ext in '' $ac_executable_extensions; do
4912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915     break 2
4916   fi
4917 done
4918   done
4919 IFS=$as_save_IFS
4920
4921 fi
4922 fi
4923 CC=$ac_cv_prog_CC
4924 if test -n "$CC"; then
4925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4926 $as_echo "$CC" >&6; }
4927 else
4928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4930 fi
4931
4932
4933     test -n "$CC" && break
4934   done
4935 fi
4936 if test -z "$CC"; then
4937   ac_ct_CC=$CC
4938   for ac_prog in cl.exe
4939 do
4940   # Extract the first word of "$ac_prog", so it can be a program name with args.
4941 set dummy $ac_prog; ac_word=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4945   $as_echo_n "(cached) " >&6
4946 else
4947   if test -n "$ac_ct_CC"; then
4948   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4949 else
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $PATH
4952 do
4953   IFS=$as_save_IFS
4954   test -z "$as_dir" && as_dir=.
4955     for ac_exec_ext in '' $ac_executable_extensions; do
4956   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4957     ac_cv_prog_ac_ct_CC="$ac_prog"
4958     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959     break 2
4960   fi
4961 done
4962   done
4963 IFS=$as_save_IFS
4964
4965 fi
4966 fi
4967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4968 if test -n "$ac_ct_CC"; then
4969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4970 $as_echo "$ac_ct_CC" >&6; }
4971 else
4972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4974 fi
4975
4976
4977   test -n "$ac_ct_CC" && break
4978 done
4979
4980   if test "x$ac_ct_CC" = x; then
4981     CC=""
4982   else
4983     case $cross_compiling:$ac_tool_warned in
4984 yes:)
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4987 ac_tool_warned=yes ;;
4988 esac
4989     CC=$ac_ct_CC
4990   fi
4991 fi
4992
4993 fi
4994
4995
4996 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4998 as_fn_error $? "no acceptable C compiler found in \$PATH
4999 See \`config.log' for more details" "$LINENO" 5; }
5000
5001 # Provide some information about the compiler.
5002 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5003 set X $ac_compile
5004 ac_compiler=$2
5005 for ac_option in --version -v -V -qversion; do
5006   { { ac_try="$ac_compiler $ac_option >&5"
5007 case "(($ac_try" in
5008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5009   *) ac_try_echo=$ac_try;;
5010 esac
5011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5012 $as_echo "$ac_try_echo"; } >&5
5013   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5014   ac_status=$?
5015   if test -s conftest.err; then
5016     sed '10a\
5017 ... rest of stderr output deleted ...
5018          10q' conftest.err >conftest.er1
5019     cat conftest.er1 >&5
5020   fi
5021   rm -f conftest.er1 conftest.err
5022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5023   test $ac_status = 0; }
5024 done
5025
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5027 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5028 if ${ac_cv_c_compiler_gnu+:} false; then :
5029   $as_echo_n "(cached) " >&6
5030 else
5031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h.  */
5033
5034 int
5035 main ()
5036 {
5037 #ifndef __GNUC__
5038        choke me
5039 #endif
5040
5041   ;
5042   return 0;
5043 }
5044 _ACEOF
5045 if ac_fn_c_try_compile "$LINENO"; then :
5046   ac_compiler_gnu=yes
5047 else
5048   ac_compiler_gnu=no
5049 fi
5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5052
5053 fi
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5055 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5056 if test $ac_compiler_gnu = yes; then
5057   GCC=yes
5058 else
5059   GCC=
5060 fi
5061 ac_test_CFLAGS=${CFLAGS+set}
5062 ac_save_CFLAGS=$CFLAGS
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5064 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5065 if ${ac_cv_prog_cc_g+:} false; then :
5066   $as_echo_n "(cached) " >&6
5067 else
5068   ac_save_c_werror_flag=$ac_c_werror_flag
5069    ac_c_werror_flag=yes
5070    ac_cv_prog_cc_g=no
5071    CFLAGS="-g"
5072    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h.  */
5074
5075 int
5076 main ()
5077 {
5078
5079   ;
5080   return 0;
5081 }
5082 _ACEOF
5083 if ac_fn_c_try_compile "$LINENO"; then :
5084   ac_cv_prog_cc_g=yes
5085 else
5086   CFLAGS=""
5087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h.  */
5089
5090 int
5091 main ()
5092 {
5093
5094   ;
5095   return 0;
5096 }
5097 _ACEOF
5098 if ac_fn_c_try_compile "$LINENO"; then :
5099
5100 else
5101   ac_c_werror_flag=$ac_save_c_werror_flag
5102          CFLAGS="-g"
5103          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h.  */
5105
5106 int
5107 main ()
5108 {
5109
5110   ;
5111   return 0;
5112 }
5113 _ACEOF
5114 if ac_fn_c_try_compile "$LINENO"; then :
5115   ac_cv_prog_cc_g=yes
5116 fi
5117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5118 fi
5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5120 fi
5121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5122    ac_c_werror_flag=$ac_save_c_werror_flag
5123 fi
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5125 $as_echo "$ac_cv_prog_cc_g" >&6; }
5126 if test "$ac_test_CFLAGS" = set; then
5127   CFLAGS=$ac_save_CFLAGS
5128 elif test $ac_cv_prog_cc_g = yes; then
5129   if test "$GCC" = yes; then
5130     CFLAGS="-g -O2"
5131   else
5132     CFLAGS="-g"
5133   fi
5134 else
5135   if test "$GCC" = yes; then
5136     CFLAGS="-O2"
5137   else
5138     CFLAGS=
5139   fi
5140 fi
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5142 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5143 if ${ac_cv_prog_cc_c89+:} false; then :
5144   $as_echo_n "(cached) " >&6
5145 else
5146   ac_cv_prog_cc_c89=no
5147 ac_save_CC=$CC
5148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5149 /* end confdefs.h.  */
5150 #include <stdarg.h>
5151 #include <stdio.h>
5152 #include <sys/types.h>
5153 #include <sys/stat.h>
5154 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5155 struct buf { int x; };
5156 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5157 static char *e (p, i)
5158      char **p;
5159      int i;
5160 {
5161   return p[i];
5162 }
5163 static char *f (char * (*g) (char **, int), char **p, ...)
5164 {
5165   char *s;
5166   va_list v;
5167   va_start (v,p);
5168   s = g (p, va_arg (v,int));
5169   va_end (v);
5170   return s;
5171 }
5172
5173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5174    function prototypes and stuff, but not '\xHH' hex character constants.
5175    These don't provoke an error unfortunately, instead are silently treated
5176    as 'x'.  The following induces an error, until -std is added to get
5177    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5178    array size at least.  It's necessary to write '\x00'==0 to get something
5179    that's true only with -std.  */
5180 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5181
5182 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5183    inside strings and character constants.  */
5184 #define FOO(x) 'x'
5185 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5186
5187 int test (int i, double x);
5188 struct s1 {int (*f) (int a);};
5189 struct s2 {int (*f) (double a);};
5190 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5191 int argc;
5192 char **argv;
5193 int
5194 main ()
5195 {
5196 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5197   ;
5198   return 0;
5199 }
5200 _ACEOF
5201 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5202         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5203 do
5204   CC="$ac_save_CC $ac_arg"
5205   if ac_fn_c_try_compile "$LINENO"; then :
5206   ac_cv_prog_cc_c89=$ac_arg
5207 fi
5208 rm -f core conftest.err conftest.$ac_objext
5209   test "x$ac_cv_prog_cc_c89" != "xno" && break
5210 done
5211 rm -f conftest.$ac_ext
5212 CC=$ac_save_CC
5213
5214 fi
5215 # AC_CACHE_VAL
5216 case "x$ac_cv_prog_cc_c89" in
5217   x)
5218     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5219 $as_echo "none needed" >&6; } ;;
5220   xno)
5221     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5222 $as_echo "unsupported" >&6; } ;;
5223   *)
5224     CC="$CC $ac_cv_prog_cc_c89"
5225     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5226 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5227 esac
5228 if test "x$ac_cv_prog_cc_c89" != xno; then :
5229
5230 fi
5231
5232 ac_ext=c
5233 ac_cpp='$CPP $CPPFLAGS'
5234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5237
5238 ac_ext=c
5239 ac_cpp='$CPP $CPPFLAGS'
5240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5244 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5245 if ${am_cv_prog_cc_c_o+:} false; then :
5246   $as_echo_n "(cached) " >&6
5247 else
5248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h.  */
5250
5251 int
5252 main ()
5253 {
5254
5255   ;
5256   return 0;
5257 }
5258 _ACEOF
5259   # Make sure it works both with $CC and with simple cc.
5260   # Following AC_PROG_CC_C_O, we do the test twice because some
5261   # compilers refuse to overwrite an existing .o file with -o,
5262   # though they will create one.
5263   am_cv_prog_cc_c_o=yes
5264   for am_i in 1 2; do
5265     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5266    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5267    ac_status=$?
5268    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269    (exit $ac_status); } \
5270          && test -f conftest2.$ac_objext; then
5271       : OK
5272     else
5273       am_cv_prog_cc_c_o=no
5274       break
5275     fi
5276   done
5277   rm -f core conftest*
5278   unset am_i
5279 fi
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5281 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5282 if test "$am_cv_prog_cc_c_o" != yes; then
5283    # Losing compiler, so override with the script.
5284    # FIXME: It is wrong to rewrite CC.
5285    # But if we don't then we get into trouble of one sort or another.
5286    # A longer-term fix would be to have automake use am__CC in this case,
5287    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5288    CC="$am_aux_dir/compile $CC"
5289 fi
5290 ac_ext=c
5291 ac_cpp='$CPP $CPPFLAGS'
5292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5295
5296
5297 depcc="$CC"   am_compiler_list=
5298
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5300 $as_echo_n "checking dependency style of $depcc... " >&6; }
5301 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5302   $as_echo_n "(cached) " >&6
5303 else
5304   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5305   # We make a subdir and do the tests there.  Otherwise we can end up
5306   # making bogus files that we don't know about and never remove.  For
5307   # instance it was reported that on HP-UX the gcc test will end up
5308   # making a dummy file named 'D' -- because '-MD' means "put the output
5309   # in D".
5310   rm -rf conftest.dir
5311   mkdir conftest.dir
5312   # Copy depcomp to subdir because otherwise we won't find it if we're
5313   # using a relative directory.
5314   cp "$am_depcomp" conftest.dir
5315   cd conftest.dir
5316   # We will build objects and dependencies in a subdirectory because
5317   # it helps to detect inapplicable dependency modes.  For instance
5318   # both Tru64's cc and ICC support -MD to output dependencies as a
5319   # side effect of compilation, but ICC will put the dependencies in
5320   # the current directory while Tru64 will put them in the object
5321   # directory.
5322   mkdir sub
5323
5324   am_cv_CC_dependencies_compiler_type=none
5325   if test "$am_compiler_list" = ""; then
5326      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5327   fi
5328   am__universal=false
5329   case " $depcc " in #(
5330      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5331      esac
5332
5333   for depmode in $am_compiler_list; do
5334     # Setup a source with many dependencies, because some compilers
5335     # like to wrap large dependency lists on column 80 (with \), and
5336     # we should not choose a depcomp mode which is confused by this.
5337     #
5338     # We need to recreate these files for each test, as the compiler may
5339     # overwrite some of them when testing with obscure command lines.
5340     # This happens at least with the AIX C compiler.
5341     : > sub/conftest.c
5342     for i in 1 2 3 4 5 6; do
5343       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5344       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5345       # Solaris 10 /bin/sh.
5346       echo '/* dummy */' > sub/conftst$i.h
5347     done
5348     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5349
5350     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5351     # mode.  It turns out that the SunPro C++ compiler does not properly
5352     # handle '-M -o', and we need to detect this.  Also, some Intel
5353     # versions had trouble with output in subdirs.
5354     am__obj=sub/conftest.${OBJEXT-o}
5355     am__minus_obj="-o $am__obj"
5356     case $depmode in
5357     gcc)
5358       # This depmode causes a compiler race in universal mode.
5359       test "$am__universal" = false || continue
5360       ;;
5361     nosideeffect)
5362       # After this tag, mechanisms are not by side-effect, so they'll
5363       # only be used when explicitly requested.
5364       if test "x$enable_dependency_tracking" = xyes; then
5365         continue
5366       else
5367         break
5368       fi
5369       ;;
5370     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5371       # This compiler won't grok '-c -o', but also, the minuso test has
5372       # not run yet.  These depmodes are late enough in the game, and
5373       # so weak that their functioning should not be impacted.
5374       am__obj=conftest.${OBJEXT-o}
5375       am__minus_obj=
5376       ;;
5377     none) break ;;
5378     esac
5379     if depmode=$depmode \
5380        source=sub/conftest.c object=$am__obj \
5381        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5382        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5383          >/dev/null 2>conftest.err &&
5384        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5385        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5386        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5387        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5388       # icc doesn't choke on unknown options, it will just issue warnings
5389       # or remarks (even with -Werror).  So we grep stderr for any message
5390       # that says an option was ignored or not supported.
5391       # When given -MP, icc 7.0 and 7.1 complain thusly:
5392       #   icc: Command line warning: ignoring option '-M'; no argument required
5393       # The diagnosis changed in icc 8.0:
5394       #   icc: Command line remark: option '-MP' not supported
5395       if (grep 'ignoring option' conftest.err ||
5396           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5397         am_cv_CC_dependencies_compiler_type=$depmode
5398         break
5399       fi
5400     fi
5401   done
5402
5403   cd ..
5404   rm -rf conftest.dir
5405 else
5406   am_cv_CC_dependencies_compiler_type=none
5407 fi
5408
5409 fi
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5411 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5412 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5413
5414  if
5415   test "x$enable_dependency_tracking" != xno \
5416   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5417   am__fastdepCC_TRUE=
5418   am__fastdepCC_FALSE='#'
5419 else
5420   am__fastdepCC_TRUE='#'
5421   am__fastdepCC_FALSE=
5422 fi
5423
5424
5425 if test "x$CC" != xcc; then
5426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5427 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5428 else
5429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5430 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5431 fi
5432 set dummy $CC; ac_cc=`$as_echo "$2" |
5433                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5434 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5435   $as_echo_n "(cached) " >&6
5436 else
5437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h.  */
5439
5440 int
5441 main ()
5442 {
5443
5444   ;
5445   return 0;
5446 }
5447 _ACEOF
5448 # Make sure it works both with $CC and with simple cc.
5449 # We do the test twice because some compilers refuse to overwrite an
5450 # existing .o file with -o, though they will create one.
5451 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5452 rm -f conftest2.*
5453 if { { case "(($ac_try" in
5454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455   *) ac_try_echo=$ac_try;;
5456 esac
5457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5458 $as_echo "$ac_try_echo"; } >&5
5459   (eval "$ac_try") 2>&5
5460   ac_status=$?
5461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5462   test $ac_status = 0; } &&
5463    test -f conftest2.$ac_objext && { { case "(($ac_try" in
5464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5465   *) ac_try_echo=$ac_try;;
5466 esac
5467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5468 $as_echo "$ac_try_echo"; } >&5
5469   (eval "$ac_try") 2>&5
5470   ac_status=$?
5471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5472   test $ac_status = 0; };
5473 then
5474   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5475   if test "x$CC" != xcc; then
5476     # Test first that cc exists at all.
5477     if { ac_try='cc -c conftest.$ac_ext >&5'
5478   { { case "(($ac_try" in
5479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5480   *) ac_try_echo=$ac_try;;
5481 esac
5482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5483 $as_echo "$ac_try_echo"; } >&5
5484   (eval "$ac_try") 2>&5
5485   ac_status=$?
5486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5487   test $ac_status = 0; }; }; then
5488       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5489       rm -f conftest2.*
5490       if { { case "(($ac_try" in
5491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5492   *) ac_try_echo=$ac_try;;
5493 esac
5494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5495 $as_echo "$ac_try_echo"; } >&5
5496   (eval "$ac_try") 2>&5
5497   ac_status=$?
5498   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5499   test $ac_status = 0; } &&
5500          test -f conftest2.$ac_objext && { { case "(($ac_try" in
5501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5502   *) ac_try_echo=$ac_try;;
5503 esac
5504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5505 $as_echo "$ac_try_echo"; } >&5
5506   (eval "$ac_try") 2>&5
5507   ac_status=$?
5508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5509   test $ac_status = 0; };
5510       then
5511         # cc works too.
5512         :
5513       else
5514         # cc exists but doesn't like -o.
5515         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5516       fi
5517     fi
5518   fi
5519 else
5520   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5521 fi
5522 rm -f core conftest*
5523
5524 fi
5525 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5527 $as_echo "yes" >&6; }
5528 else
5529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5531
5532 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5533
5534 fi
5535
5536
5537 # Check for other compiler toolchain tools.
5538
5539 if test -n "$ac_tool_prefix"; then
5540   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5541 set dummy ${ac_tool_prefix}ar; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_AR+:} false; then :
5545   $as_echo_n "(cached) " >&6
5546 else
5547   if test -n "$AR"; then
5548   ac_cv_prog_AR="$AR" # Let the user override the test.
5549 else
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 for as_dir in $PATH
5552 do
5553   IFS=$as_save_IFS
5554   test -z "$as_dir" && as_dir=.
5555     for ac_exec_ext in '' $ac_executable_extensions; do
5556   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557     ac_cv_prog_AR="${ac_tool_prefix}ar"
5558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559     break 2
5560   fi
5561 done
5562   done
5563 IFS=$as_save_IFS
5564
5565 fi
5566 fi
5567 AR=$ac_cv_prog_AR
5568 if test -n "$AR"; then
5569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5570 $as_echo "$AR" >&6; }
5571 else
5572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5574 fi
5575
5576
5577 fi
5578 if test -z "$ac_cv_prog_AR"; then
5579   ac_ct_AR=$AR
5580   # Extract the first word of "ar", so it can be a program name with args.
5581 set dummy ar; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5585   $as_echo_n "(cached) " >&6
5586 else
5587   if test -n "$ac_ct_AR"; then
5588   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5589 else
5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5591 for as_dir in $PATH
5592 do
5593   IFS=$as_save_IFS
5594   test -z "$as_dir" && as_dir=.
5595     for ac_exec_ext in '' $ac_executable_extensions; do
5596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5597     ac_cv_prog_ac_ct_AR="ar"
5598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599     break 2
5600   fi
5601 done
5602   done
5603 IFS=$as_save_IFS
5604
5605 fi
5606 fi
5607 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5608 if test -n "$ac_ct_AR"; then
5609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5610 $as_echo "$ac_ct_AR" >&6; }
5611 else
5612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }
5614 fi
5615
5616   if test "x$ac_ct_AR" = x; then
5617     AR=""
5618   else
5619     case $cross_compiling:$ac_tool_warned in
5620 yes:)
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5623 ac_tool_warned=yes ;;
5624 esac
5625     AR=$ac_ct_AR
5626   fi
5627 else
5628   AR="$ac_cv_prog_AR"
5629 fi
5630
5631 if test -n "$ac_tool_prefix"; then
5632   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5633 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_RANLIB+:} false; then :
5637   $as_echo_n "(cached) " >&6
5638 else
5639   if test -n "$RANLIB"; then
5640   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5641 else
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5643 for as_dir in $PATH
5644 do
5645   IFS=$as_save_IFS
5646   test -z "$as_dir" && as_dir=.
5647     for ac_exec_ext in '' $ac_executable_extensions; do
5648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5649     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651     break 2
5652   fi
5653 done
5654   done
5655 IFS=$as_save_IFS
5656
5657 fi
5658 fi
5659 RANLIB=$ac_cv_prog_RANLIB
5660 if test -n "$RANLIB"; then
5661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5662 $as_echo "$RANLIB" >&6; }
5663 else
5664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5666 fi
5667
5668
5669 fi
5670 if test -z "$ac_cv_prog_RANLIB"; then
5671   ac_ct_RANLIB=$RANLIB
5672   # Extract the first word of "ranlib", so it can be a program name with args.
5673 set dummy ranlib; ac_word=$2
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5675 $as_echo_n "checking for $ac_word... " >&6; }
5676 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5677   $as_echo_n "(cached) " >&6
5678 else
5679   if test -n "$ac_ct_RANLIB"; then
5680   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5681 else
5682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5683 for as_dir in $PATH
5684 do
5685   IFS=$as_save_IFS
5686   test -z "$as_dir" && as_dir=.
5687     for ac_exec_ext in '' $ac_executable_extensions; do
5688   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5689     ac_cv_prog_ac_ct_RANLIB="ranlib"
5690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5691     break 2
5692   fi
5693 done
5694   done
5695 IFS=$as_save_IFS
5696
5697 fi
5698 fi
5699 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5700 if test -n "$ac_ct_RANLIB"; then
5701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5702 $as_echo "$ac_ct_RANLIB" >&6; }
5703 else
5704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5705 $as_echo "no" >&6; }
5706 fi
5707
5708   if test "x$ac_ct_RANLIB" = x; then
5709     RANLIB=""
5710   else
5711     case $cross_compiling:$ac_tool_warned in
5712 yes:)
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5715 ac_tool_warned=yes ;;
5716 esac
5717     RANLIB=$ac_ct_RANLIB
5718   fi
5719 else
5720   RANLIB="$ac_cv_prog_RANLIB"
5721 fi
5722
5723 if test -n "$ac_tool_prefix"; then
5724   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
5725 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if ${ac_cv_prog_OBJCOPY+:} false; then :
5729   $as_echo_n "(cached) " >&6
5730 else
5731   if test -n "$OBJCOPY"; then
5732   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5736 do
5737   IFS=$as_save_IFS
5738   test -z "$as_dir" && as_dir=.
5739     for ac_exec_ext in '' $ac_executable_extensions; do
5740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741     ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
5742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743     break 2
5744   fi
5745 done
5746   done
5747 IFS=$as_save_IFS
5748
5749 fi
5750 fi
5751 OBJCOPY=$ac_cv_prog_OBJCOPY
5752 if test -n "$OBJCOPY"; then
5753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
5754 $as_echo "$OBJCOPY" >&6; }
5755 else
5756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5758 fi
5759
5760
5761 fi
5762 if test -z "$ac_cv_prog_OBJCOPY"; then
5763   ac_ct_OBJCOPY=$OBJCOPY
5764   # Extract the first word of "objcopy", so it can be a program name with args.
5765 set dummy objcopy; ac_word=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 $as_echo_n "checking for $ac_word... " >&6; }
5768 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
5769   $as_echo_n "(cached) " >&6
5770 else
5771   if test -n "$ac_ct_OBJCOPY"; then
5772   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
5773 else
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH
5776 do
5777   IFS=$as_save_IFS
5778   test -z "$as_dir" && as_dir=.
5779     for ac_exec_ext in '' $ac_executable_extensions; do
5780   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5781     ac_cv_prog_ac_ct_OBJCOPY="objcopy"
5782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5783     break 2
5784   fi
5785 done
5786   done
5787 IFS=$as_save_IFS
5788
5789 fi
5790 fi
5791 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
5792 if test -n "$ac_ct_OBJCOPY"; then
5793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
5794 $as_echo "$ac_ct_OBJCOPY" >&6; }
5795 else
5796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5798 fi
5799
5800   if test "x$ac_ct_OBJCOPY" = x; then
5801     OBJCOPY=""
5802   else
5803     case $cross_compiling:$ac_tool_warned in
5804 yes:)
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5807 ac_tool_warned=yes ;;
5808 esac
5809     OBJCOPY=$ac_ct_OBJCOPY
5810   fi
5811 else
5812   OBJCOPY="$ac_cv_prog_OBJCOPY"
5813 fi
5814
5815 if test -n "$ac_tool_prefix"; then
5816   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5817 set dummy ${ac_tool_prefix}strip; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if ${ac_cv_prog_STRIP+:} false; then :
5821   $as_echo_n "(cached) " >&6
5822 else
5823   if test -n "$STRIP"; then
5824   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5825 else
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 for as_dir in $PATH
5828 do
5829   IFS=$as_save_IFS
5830   test -z "$as_dir" && as_dir=.
5831     for ac_exec_ext in '' $ac_executable_extensions; do
5832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835     break 2
5836   fi
5837 done
5838   done
5839 IFS=$as_save_IFS
5840
5841 fi
5842 fi
5843 STRIP=$ac_cv_prog_STRIP
5844 if test -n "$STRIP"; then
5845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5846 $as_echo "$STRIP" >&6; }
5847 else
5848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5850 fi
5851
5852
5853 fi
5854 if test -z "$ac_cv_prog_STRIP"; then
5855   ac_ct_STRIP=$STRIP
5856   # Extract the first word of "strip", so it can be a program name with args.
5857 set dummy strip; ac_word=$2
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5861   $as_echo_n "(cached) " >&6
5862 else
5863   if test -n "$ac_ct_STRIP"; then
5864   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5865 else
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 for as_dir in $PATH
5868 do
5869   IFS=$as_save_IFS
5870   test -z "$as_dir" && as_dir=.
5871     for ac_exec_ext in '' $ac_executable_extensions; do
5872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873     ac_cv_prog_ac_ct_STRIP="strip"
5874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875     break 2
5876   fi
5877 done
5878   done
5879 IFS=$as_save_IFS
5880
5881 fi
5882 fi
5883 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5884 if test -n "$ac_ct_STRIP"; then
5885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5886 $as_echo "$ac_ct_STRIP" >&6; }
5887 else
5888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5890 fi
5891
5892   if test "x$ac_ct_STRIP" = x; then
5893     STRIP=""
5894   else
5895     case $cross_compiling:$ac_tool_warned in
5896 yes:)
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5899 ac_tool_warned=yes ;;
5900 esac
5901     STRIP=$ac_ct_STRIP
5902   fi
5903 else
5904   STRIP="$ac_cv_prog_STRIP"
5905 fi
5906
5907
5908 # Check for other host tools.
5909
5910
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5912 $as_echo_n "checking whether ln -s works... " >&6; }
5913 LN_S=$as_ln_s
5914 if test "$LN_S" = "ln -s"; then
5915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5916 $as_echo "yes" >&6; }
5917 else
5918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5919 $as_echo "no, using $LN_S" >&6; }
5920 fi
5921
5922
5923 # Extract the first word of "cmp", so it can be a program name with args.
5924 set dummy cmp; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if ${ac_cv_path_CMP+:} false; then :
5928   $as_echo_n "(cached) " >&6
5929 else
5930   case $CMP in
5931   [\\/]* | ?:[\\/]*)
5932   ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5933   ;;
5934   *)
5935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 for as_dir in $PATH
5937 do
5938   IFS=$as_save_IFS
5939   test -z "$as_dir" && as_dir=.
5940     for ac_exec_ext in '' $ac_executable_extensions; do
5941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942     ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5944     break 2
5945   fi
5946 done
5947   done
5948 IFS=$as_save_IFS
5949
5950   ;;
5951 esac
5952 fi
5953 CMP=$ac_cv_path_CMP
5954 if test -n "$CMP"; then
5955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5
5956 $as_echo "$CMP" >&6; }
5957 else
5958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5960 fi
5961
5962
5963 # Extract the first word of "perl", so it can be a program name with args.
5964 set dummy perl; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_path_PERL+:} false; then :
5968   $as_echo_n "(cached) " >&6
5969 else
5970   case $PERL in
5971   [\\/]* | ?:[\\/]*)
5972   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
5973   ;;
5974   *)
5975   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976 for as_dir in $PATH
5977 do
5978   IFS=$as_save_IFS
5979   test -z "$as_dir" && as_dir=.
5980     for ac_exec_ext in '' $ac_executable_extensions; do
5981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
5983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5984     break 2
5985   fi
5986 done
5987   done
5988 IFS=$as_save_IFS
5989
5990   ;;
5991 esac
5992 fi
5993 PERL=$ac_cv_path_PERL
5994 if test -n "$PERL"; then
5995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
5996 $as_echo "$PERL" >&6; }
5997 else
5998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5999 $as_echo "no" >&6; }
6000 fi
6001
6002
6003
6004 #
6005 # Checks for specific compiler characteristics
6006 #
6007
6008 #
6009 # Common compiler flags we would like to have.
6010 #
6011 #   -Wall                        CC, CXX
6012 #
6013
6014 PROSPECTIVE_CFLAGS="-Wall"
6015
6016
6017
6018
6019             for ax_compiler_option in ${PROSPECTIVE_CFLAGS}; do
6020
6021     ac_ext=c
6022 ac_cpp='$CPP $CPPFLAGS'
6023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6026
6027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler understands $ax_compiler_option" >&5
6028 $as_echo_n "checking whether the C compiler understands $ax_compiler_option... " >&6; }
6029     SAVE_CFLAGS=${CFLAGS}
6030     CFLAGS=$ax_compiler_option
6031     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h.  */
6033
6034 int
6035 main ()
6036 {
6037 ;
6038   ;
6039   return 0;
6040 }
6041 _ACEOF
6042 if ac_fn_c_try_compile "$LINENO"; then :
6043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6044 $as_echo "yes" >&6; }; CFLAGS="${SAVE_CFLAGS} $ax_compiler_option"
6045 else
6046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047 $as_echo "no" >&6; }; CFLAGS=${SAVE_CFLAGS}
6048 fi
6049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
6050     unset SAVE_CFLAGS
6051     ac_ext=c
6052 ac_cpp='$CPP $CPPFLAGS'
6053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6056
6057
6058             done
6059
6060
6061
6062 # Check for and initialize libtool
6063
6064 case `pwd` in
6065   *\ * | *\     *)
6066     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6067 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6068 esac
6069
6070
6071
6072 macro_version='2.4.2'
6073 macro_revision='1.3337'
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087 ltmain="$ac_aux_dir/ltmain.sh"
6088
6089 # Backslashify metacharacters that are still active within
6090 # double-quoted strings.
6091 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6092
6093 # Same as above, but do not quote variable references.
6094 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6095
6096 # Sed substitution to delay expansion of an escaped shell variable in a
6097 # double_quote_subst'ed string.
6098 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6099
6100 # Sed substitution to delay expansion of an escaped single quote.
6101 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6102
6103 # Sed substitution to avoid accidental globbing in evaled expressions
6104 no_glob_subst='s/\*/\\\*/g'
6105
6106 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6107 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6108 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6109
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6111 $as_echo_n "checking how to print strings... " >&6; }
6112 # Test print first, because it will be a builtin if present.
6113 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6114    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6115   ECHO='print -r --'
6116 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6117   ECHO='printf %s\n'
6118 else
6119   # Use this function as a fallback that always works.
6120   func_fallback_echo ()
6121   {
6122     eval 'cat <<_LTECHO_EOF
6123 $1
6124 _LTECHO_EOF'
6125   }
6126   ECHO='func_fallback_echo'
6127 fi
6128
6129 # func_echo_all arg...
6130 # Invoke $ECHO with all args, space-separated.
6131 func_echo_all ()
6132 {
6133     $ECHO ""
6134 }
6135
6136 case "$ECHO" in
6137   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6138 $as_echo "printf" >&6; } ;;
6139   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6140 $as_echo "print -r" >&6; } ;;
6141   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6142 $as_echo "cat" >&6; } ;;
6143 esac
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6159 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6160 if ${ac_cv_path_SED+:} false; then :
6161   $as_echo_n "(cached) " >&6
6162 else
6163             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6164      for ac_i in 1 2 3 4 5 6 7; do
6165        ac_script="$ac_script$as_nl$ac_script"
6166      done
6167      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6168      { ac_script=; unset ac_script;}
6169      if test -z "$SED"; then
6170   ac_path_SED_found=false
6171   # Loop through the user's path and test for each of PROGNAME-LIST
6172   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6174 do
6175   IFS=$as_save_IFS
6176   test -z "$as_dir" && as_dir=.
6177     for ac_prog in sed gsed; do
6178     for ac_exec_ext in '' $ac_executable_extensions; do
6179       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6180       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6181 # Check for GNU ac_path_SED and select it if it is found.
6182   # Check for GNU $ac_path_SED
6183 case `"$ac_path_SED" --version 2>&1` in
6184 *GNU*)
6185   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6186 *)
6187   ac_count=0
6188   $as_echo_n 0123456789 >"conftest.in"
6189   while :
6190   do
6191     cat "conftest.in" "conftest.in" >"conftest.tmp"
6192     mv "conftest.tmp" "conftest.in"
6193     cp "conftest.in" "conftest.nl"
6194     $as_echo '' >> "conftest.nl"
6195     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6196     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6197     as_fn_arith $ac_count + 1 && ac_count=$as_val
6198     if test $ac_count -gt ${ac_path_SED_max-0}; then
6199       # Best one so far, save it but keep looking for a better one
6200       ac_cv_path_SED="$ac_path_SED"
6201       ac_path_SED_max=$ac_count
6202     fi
6203     # 10*(2^10) chars as input seems more than enough
6204     test $ac_count -gt 10 && break
6205   done
6206   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6207 esac
6208
6209       $ac_path_SED_found && break 3
6210     done
6211   done
6212   done
6213 IFS=$as_save_IFS
6214   if test -z "$ac_cv_path_SED"; then
6215     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6216   fi
6217 else
6218   ac_cv_path_SED=$SED
6219 fi
6220
6221 fi
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6223 $as_echo "$ac_cv_path_SED" >&6; }
6224  SED="$ac_cv_path_SED"
6225   rm -f conftest.sed
6226
6227 test -z "$SED" && SED=sed
6228 Xsed="$SED -e 1s/^X//"
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6241 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6242 if ${ac_cv_path_GREP+:} false; then :
6243   $as_echo_n "(cached) " >&6
6244 else
6245   if test -z "$GREP"; then
6246   ac_path_GREP_found=false
6247   # Loop through the user's path and test for each of PROGNAME-LIST
6248   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6250 do
6251   IFS=$as_save_IFS
6252   test -z "$as_dir" && as_dir=.
6253     for ac_prog in grep ggrep; do
6254     for ac_exec_ext in '' $ac_executable_extensions; do
6255       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6256       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6257 # Check for GNU ac_path_GREP and select it if it is found.
6258   # Check for GNU $ac_path_GREP
6259 case `"$ac_path_GREP" --version 2>&1` in
6260 *GNU*)
6261   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6262 *)
6263   ac_count=0
6264   $as_echo_n 0123456789 >"conftest.in"
6265   while :
6266   do
6267     cat "conftest.in" "conftest.in" >"conftest.tmp"
6268     mv "conftest.tmp" "conftest.in"
6269     cp "conftest.in" "conftest.nl"
6270     $as_echo 'GREP' >> "conftest.nl"
6271     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6272     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6273     as_fn_arith $ac_count + 1 && ac_count=$as_val
6274     if test $ac_count -gt ${ac_path_GREP_max-0}; then
6275       # Best one so far, save it but keep looking for a better one
6276       ac_cv_path_GREP="$ac_path_GREP"
6277       ac_path_GREP_max=$ac_count
6278     fi
6279     # 10*(2^10) chars as input seems more than enough
6280     test $ac_count -gt 10 && break
6281   done
6282   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6283 esac
6284
6285       $ac_path_GREP_found && break 3
6286     done
6287   done
6288   done
6289 IFS=$as_save_IFS
6290   if test -z "$ac_cv_path_GREP"; then
6291     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6292   fi
6293 else
6294   ac_cv_path_GREP=$GREP
6295 fi
6296
6297 fi
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6299 $as_echo "$ac_cv_path_GREP" >&6; }
6300  GREP="$ac_cv_path_GREP"
6301
6302
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6304 $as_echo_n "checking for egrep... " >&6; }
6305 if ${ac_cv_path_EGREP+:} false; then :
6306   $as_echo_n "(cached) " >&6
6307 else
6308   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6309    then ac_cv_path_EGREP="$GREP -E"
6310    else
6311      if test -z "$EGREP"; then
6312   ac_path_EGREP_found=false
6313   # Loop through the user's path and test for each of PROGNAME-LIST
6314   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6316 do
6317   IFS=$as_save_IFS
6318   test -z "$as_dir" && as_dir=.
6319     for ac_prog in egrep; do
6320     for ac_exec_ext in '' $ac_executable_extensions; do
6321       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6322       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6323 # Check for GNU ac_path_EGREP and select it if it is found.
6324   # Check for GNU $ac_path_EGREP
6325 case `"$ac_path_EGREP" --version 2>&1` in
6326 *GNU*)
6327   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6328 *)
6329   ac_count=0
6330   $as_echo_n 0123456789 >"conftest.in"
6331   while :
6332   do
6333     cat "conftest.in" "conftest.in" >"conftest.tmp"
6334     mv "conftest.tmp" "conftest.in"
6335     cp "conftest.in" "conftest.nl"
6336     $as_echo 'EGREP' >> "conftest.nl"
6337     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6338     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6339     as_fn_arith $ac_count + 1 && ac_count=$as_val
6340     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6341       # Best one so far, save it but keep looking for a better one
6342       ac_cv_path_EGREP="$ac_path_EGREP"
6343       ac_path_EGREP_max=$ac_count
6344     fi
6345     # 10*(2^10) chars as input seems more than enough
6346     test $ac_count -gt 10 && break
6347   done
6348   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6349 esac
6350
6351       $ac_path_EGREP_found && break 3
6352     done
6353   done
6354   done
6355 IFS=$as_save_IFS
6356   if test -z "$ac_cv_path_EGREP"; then
6357     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6358   fi
6359 else
6360   ac_cv_path_EGREP=$EGREP
6361 fi
6362
6363    fi
6364 fi
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6366 $as_echo "$ac_cv_path_EGREP" >&6; }
6367  EGREP="$ac_cv_path_EGREP"
6368
6369
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6371 $as_echo_n "checking for fgrep... " >&6; }
6372 if ${ac_cv_path_FGREP+:} false; then :
6373   $as_echo_n "(cached) " >&6
6374 else
6375   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6376    then ac_cv_path_FGREP="$GREP -F"
6377    else
6378      if test -z "$FGREP"; then
6379   ac_path_FGREP_found=false
6380   # Loop through the user's path and test for each of PROGNAME-LIST
6381   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6383 do
6384   IFS=$as_save_IFS
6385   test -z "$as_dir" && as_dir=.
6386     for ac_prog in fgrep; do
6387     for ac_exec_ext in '' $ac_executable_extensions; do
6388       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6389       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6390 # Check for GNU ac_path_FGREP and select it if it is found.
6391   # Check for GNU $ac_path_FGREP
6392 case `"$ac_path_FGREP" --version 2>&1` in
6393 *GNU*)
6394   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6395 *)
6396   ac_count=0
6397   $as_echo_n 0123456789 >"conftest.in"
6398   while :
6399   do
6400     cat "conftest.in" "conftest.in" >"conftest.tmp"
6401     mv "conftest.tmp" "conftest.in"
6402     cp "conftest.in" "conftest.nl"
6403     $as_echo 'FGREP' >> "conftest.nl"
6404     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6405     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6406     as_fn_arith $ac_count + 1 && ac_count=$as_val
6407     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6408       # Best one so far, save it but keep looking for a better one
6409       ac_cv_path_FGREP="$ac_path_FGREP"
6410       ac_path_FGREP_max=$ac_count
6411     fi
6412     # 10*(2^10) chars as input seems more than enough
6413     test $ac_count -gt 10 && break
6414   done
6415   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6416 esac
6417
6418       $ac_path_FGREP_found && break 3
6419     done
6420   done
6421   done
6422 IFS=$as_save_IFS
6423   if test -z "$ac_cv_path_FGREP"; then
6424     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6425   fi
6426 else
6427   ac_cv_path_FGREP=$FGREP
6428 fi
6429
6430    fi
6431 fi
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6433 $as_echo "$ac_cv_path_FGREP" >&6; }
6434  FGREP="$ac_cv_path_FGREP"
6435
6436
6437 test -z "$GREP" && GREP=grep
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457 # Check whether --with-gnu-ld was given.
6458 if test "${with_gnu_ld+set}" = set; then :
6459   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6460 else
6461   with_gnu_ld=no
6462 fi
6463
6464 ac_prog=ld
6465 if test "$GCC" = yes; then
6466   # Check if gcc -print-prog-name=ld gives a path.
6467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6468 $as_echo_n "checking for ld used by $CC... " >&6; }
6469   case $host in
6470   *-*-mingw*)
6471     # gcc leaves a trailing carriage return which upsets mingw
6472     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6473   *)
6474     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6475   esac
6476   case $ac_prog in
6477     # Accept absolute paths.
6478     [\\/]* | ?:[\\/]*)
6479       re_direlt='/[^/][^/]*/\.\./'
6480       # Canonicalize the pathname of ld
6481       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6482       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6483         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6484       done
6485       test -z "$LD" && LD="$ac_prog"
6486       ;;
6487   "")
6488     # If it fails, then pretend we aren't using GCC.
6489     ac_prog=ld
6490     ;;
6491   *)
6492     # If it is relative, then search for the first ld in PATH.
6493     with_gnu_ld=unknown
6494     ;;
6495   esac
6496 elif test "$with_gnu_ld" = yes; then
6497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6498 $as_echo_n "checking for GNU ld... " >&6; }
6499 else
6500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6501 $as_echo_n "checking for non-GNU ld... " >&6; }
6502 fi
6503 if ${lt_cv_path_LD+:} false; then :
6504   $as_echo_n "(cached) " >&6
6505 else
6506   if test -z "$LD"; then
6507   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6508   for ac_dir in $PATH; do
6509     IFS="$lt_save_ifs"
6510     test -z "$ac_dir" && ac_dir=.
6511     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6512       lt_cv_path_LD="$ac_dir/$ac_prog"
6513       # Check to see if the program is GNU ld.  I'd rather use --version,
6514       # but apparently some variants of GNU ld only accept -v.
6515       # Break only if it was the GNU/non-GNU ld that we prefer.
6516       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6517       *GNU* | *'with BFD'*)
6518         test "$with_gnu_ld" != no && break
6519         ;;
6520       *)
6521         test "$with_gnu_ld" != yes && break
6522         ;;
6523       esac
6524     fi
6525   done
6526   IFS="$lt_save_ifs"
6527 else
6528   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6529 fi
6530 fi
6531
6532 LD="$lt_cv_path_LD"
6533 if test -n "$LD"; then
6534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6535 $as_echo "$LD" >&6; }
6536 else
6537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6539 fi
6540 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6542 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6543 if ${lt_cv_prog_gnu_ld+:} false; then :
6544   $as_echo_n "(cached) " >&6
6545 else
6546   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6547 case `$LD -v 2>&1 </dev/null` in
6548 *GNU* | *'with BFD'*)
6549   lt_cv_prog_gnu_ld=yes
6550   ;;
6551 *)
6552   lt_cv_prog_gnu_ld=no
6553   ;;
6554 esac
6555 fi
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6557 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6558 with_gnu_ld=$lt_cv_prog_gnu_ld
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6569 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6570 if ${lt_cv_path_NM+:} false; then :
6571   $as_echo_n "(cached) " >&6
6572 else
6573   if test -n "$NM"; then
6574   # Let the user override the test.
6575   lt_cv_path_NM="$NM"
6576 else
6577   lt_nm_to_check="${ac_tool_prefix}nm"
6578   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6579     lt_nm_to_check="$lt_nm_to_check nm"
6580   fi
6581   for lt_tmp_nm in $lt_nm_to_check; do
6582     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6583     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6584       IFS="$lt_save_ifs"
6585       test -z "$ac_dir" && ac_dir=.
6586       tmp_nm="$ac_dir/$lt_tmp_nm"
6587       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6588         # Check to see if the nm accepts a BSD-compat flag.
6589         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6590         #   nm: unknown option "B" ignored
6591         # Tru64's nm complains that /dev/null is an invalid object file
6592         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6593         */dev/null* | *'Invalid file or object type'*)
6594           lt_cv_path_NM="$tmp_nm -B"
6595           break
6596           ;;
6597         *)
6598           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6599           */dev/null*)
6600             lt_cv_path_NM="$tmp_nm -p"
6601             break
6602             ;;
6603           *)
6604             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6605             continue # so that we can try to find one that supports BSD flags
6606             ;;
6607           esac
6608           ;;
6609         esac
6610       fi
6611     done
6612     IFS="$lt_save_ifs"
6613   done
6614   : ${lt_cv_path_NM=no}
6615 fi
6616 fi
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6618 $as_echo "$lt_cv_path_NM" >&6; }
6619 if test "$lt_cv_path_NM" != "no"; then
6620   NM="$lt_cv_path_NM"
6621 else
6622   # Didn't find any BSD compatible name lister, look for dumpbin.
6623   if test -n "$DUMPBIN"; then :
6624     # Let the user override the test.
6625   else
6626     if test -n "$ac_tool_prefix"; then
6627   for ac_prog in dumpbin "link -dump"
6628   do
6629     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if ${ac_cv_prog_DUMPBIN+:} false; then :
6634   $as_echo_n "(cached) " >&6
6635 else
6636   if test -n "$DUMPBIN"; then
6637   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6641 do
6642   IFS=$as_save_IFS
6643   test -z "$as_dir" && as_dir=.
6644     for ac_exec_ext in '' $ac_executable_extensions; do
6645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648     break 2
6649   fi
6650 done
6651   done
6652 IFS=$as_save_IFS
6653
6654 fi
6655 fi
6656 DUMPBIN=$ac_cv_prog_DUMPBIN
6657 if test -n "$DUMPBIN"; then
6658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6659 $as_echo "$DUMPBIN" >&6; }
6660 else
6661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6663 fi
6664
6665
6666     test -n "$DUMPBIN" && break
6667   done
6668 fi
6669 if test -z "$DUMPBIN"; then
6670   ac_ct_DUMPBIN=$DUMPBIN
6671   for ac_prog in dumpbin "link -dump"
6672 do
6673   # Extract the first word of "$ac_prog", so it can be a program name with args.
6674 set dummy $ac_prog; ac_word=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6678   $as_echo_n "(cached) " >&6
6679 else
6680   if test -n "$ac_ct_DUMPBIN"; then
6681   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6682 else
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 for as_dir in $PATH
6685 do
6686   IFS=$as_save_IFS
6687   test -z "$as_dir" && as_dir=.
6688     for ac_exec_ext in '' $ac_executable_extensions; do
6689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692     break 2
6693   fi
6694 done
6695   done
6696 IFS=$as_save_IFS
6697
6698 fi
6699 fi
6700 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6701 if test -n "$ac_ct_DUMPBIN"; then
6702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6703 $as_echo "$ac_ct_DUMPBIN" >&6; }
6704 else
6705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706 $as_echo "no" >&6; }
6707 fi
6708
6709
6710   test -n "$ac_ct_DUMPBIN" && break
6711 done
6712
6713   if test "x$ac_ct_DUMPBIN" = x; then
6714     DUMPBIN=":"
6715   else
6716     case $cross_compiling:$ac_tool_warned in
6717 yes:)
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720 ac_tool_warned=yes ;;
6721 esac
6722     DUMPBIN=$ac_ct_DUMPBIN
6723   fi
6724 fi
6725
6726     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6727     *COFF*)
6728       DUMPBIN="$DUMPBIN -symbols"
6729       ;;
6730     *)
6731       DUMPBIN=:
6732       ;;
6733     esac
6734   fi
6735
6736   if test "$DUMPBIN" != ":"; then
6737     NM="$DUMPBIN"
6738   fi
6739 fi
6740 test -z "$NM" && NM=nm
6741
6742
6743
6744
6745
6746
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6748 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6749 if ${lt_cv_nm_interface+:} false; then :
6750   $as_echo_n "(cached) " >&6
6751 else
6752   lt_cv_nm_interface="BSD nm"
6753   echo "int some_variable = 0;" > conftest.$ac_ext
6754   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6755   (eval "$ac_compile" 2>conftest.err)
6756   cat conftest.err >&5
6757   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6758   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6759   cat conftest.err >&5
6760   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6761   cat conftest.out >&5
6762   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6763     lt_cv_nm_interface="MS dumpbin"
6764   fi
6765   rm -f conftest*
6766 fi
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6768 $as_echo "$lt_cv_nm_interface" >&6; }
6769
6770 # find the maximum length of command line arguments
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6772 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6773 if ${lt_cv_sys_max_cmd_len+:} false; then :
6774   $as_echo_n "(cached) " >&6
6775 else
6776     i=0
6777   teststring="ABCD"
6778
6779   case $build_os in
6780   msdosdjgpp*)
6781     # On DJGPP, this test can blow up pretty badly due to problems in libc
6782     # (any single argument exceeding 2000 bytes causes a buffer overrun
6783     # during glob expansion).  Even if it were fixed, the result of this
6784     # check would be larger than it should be.
6785     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6786     ;;
6787
6788   gnu*)
6789     # Under GNU Hurd, this test is not required because there is
6790     # no limit to the length of command line arguments.
6791     # Libtool will interpret -1 as no limit whatsoever
6792     lt_cv_sys_max_cmd_len=-1;
6793     ;;
6794
6795   cygwin* | mingw* | cegcc*)
6796     # On Win9x/ME, this test blows up -- it succeeds, but takes
6797     # about 5 minutes as the teststring grows exponentially.
6798     # Worse, since 9x/ME are not pre-emptively multitasking,
6799     # you end up with a "frozen" computer, even though with patience
6800     # the test eventually succeeds (with a max line length of 256k).
6801     # Instead, let's just punt: use the minimum linelength reported by
6802     # all of the supported platforms: 8192 (on NT/2K/XP).
6803     lt_cv_sys_max_cmd_len=8192;
6804     ;;
6805
6806   mint*)
6807     # On MiNT this can take a long time and run out of memory.
6808     lt_cv_sys_max_cmd_len=8192;
6809     ;;
6810
6811   amigaos*)
6812     # On AmigaOS with pdksh, this test takes hours, literally.
6813     # So we just punt and use a minimum line length of 8192.
6814     lt_cv_sys_max_cmd_len=8192;
6815     ;;
6816
6817   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6818     # This has been around since 386BSD, at least.  Likely further.
6819     if test -x /sbin/sysctl; then
6820       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6821     elif test -x /usr/sbin/sysctl; then
6822       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6823     else
6824       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6825     fi
6826     # And add a safety zone
6827     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6828     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6829     ;;
6830
6831   interix*)
6832     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6833     lt_cv_sys_max_cmd_len=196608
6834     ;;
6835
6836   os2*)
6837     # The test takes a long time on OS/2.
6838     lt_cv_sys_max_cmd_len=8192
6839     ;;
6840
6841   osf*)
6842     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6843     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6844     # nice to cause kernel panics so lets avoid the loop below.
6845     # First set a reasonable default.
6846     lt_cv_sys_max_cmd_len=16384
6847     #
6848     if test -x /sbin/sysconfig; then
6849       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6850         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6851       esac
6852     fi
6853     ;;
6854   sco3.2v5*)
6855     lt_cv_sys_max_cmd_len=102400
6856     ;;
6857   sysv5* | sco5v6* | sysv4.2uw2*)
6858     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6859     if test -n "$kargmax"; then
6860       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6861     else
6862       lt_cv_sys_max_cmd_len=32768
6863     fi
6864     ;;
6865   *)
6866     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6867     if test -n "$lt_cv_sys_max_cmd_len"; then
6868       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6869       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6870     else
6871       # Make teststring a little bigger before we do anything with it.
6872       # a 1K string should be a reasonable start.
6873       for i in 1 2 3 4 5 6 7 8 ; do
6874         teststring=$teststring$teststring
6875       done
6876       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6877       # If test is not a shell built-in, we'll probably end up computing a
6878       # maximum length that is only half of the actual maximum length, but
6879       # we can't tell.
6880       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6881                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6882               test $i != 17 # 1/2 MB should be enough
6883       do
6884         i=`expr $i + 1`
6885         teststring=$teststring$teststring
6886       done
6887       # Only check the string length outside the loop.
6888       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6889       teststring=
6890       # Add a significant safety factor because C++ compilers can tack on
6891       # massive amounts of additional arguments before passing them to the
6892       # linker.  It appears as though 1/2 is a usable value.
6893       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6894     fi
6895     ;;
6896   esac
6897
6898 fi
6899
6900 if test -n $lt_cv_sys_max_cmd_len ; then
6901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6902 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6903 else
6904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6905 $as_echo "none" >&6; }
6906 fi
6907 max_cmd_len=$lt_cv_sys_max_cmd_len
6908
6909
6910
6911
6912
6913
6914 : ${CP="cp -f"}
6915 : ${MV="mv -f"}
6916 : ${RM="rm -f"}
6917
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6919 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6920 # Try some XSI features
6921 xsi_shell=no
6922 ( _lt_dummy="a/b/c"
6923   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6924       = c,a/b,b/c, \
6925     && eval 'test $(( 1 + 1 )) -eq 2 \
6926     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6927   && xsi_shell=yes
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6929 $as_echo "$xsi_shell" >&6; }
6930
6931
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6933 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6934 lt_shell_append=no
6935 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6936     >/dev/null 2>&1 \
6937   && lt_shell_append=yes
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6939 $as_echo "$lt_shell_append" >&6; }
6940
6941
6942 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6943   lt_unset=unset
6944 else
6945   lt_unset=false
6946 fi
6947
6948
6949
6950
6951
6952 # test EBCDIC or ASCII
6953 case `echo X|tr X '\101'` in
6954  A) # ASCII based system
6955     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6956   lt_SP2NL='tr \040 \012'
6957   lt_NL2SP='tr \015\012 \040\040'
6958   ;;
6959  *) # EBCDIC based system
6960   lt_SP2NL='tr \100 \n'
6961   lt_NL2SP='tr \r\n \100\100'
6962   ;;
6963 esac
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6974 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6975 if ${lt_cv_to_host_file_cmd+:} false; then :
6976   $as_echo_n "(cached) " >&6
6977 else
6978   case $host in
6979   *-*-mingw* )
6980     case $build in
6981       *-*-mingw* ) # actually msys
6982         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6983         ;;
6984       *-*-cygwin* )
6985         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6986         ;;
6987       * ) # otherwise, assume *nix
6988         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6989         ;;
6990     esac
6991     ;;
6992   *-*-cygwin* )
6993     case $build in
6994       *-*-mingw* ) # actually msys
6995         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6996         ;;
6997       *-*-cygwin* )
6998         lt_cv_to_host_file_cmd=func_convert_file_noop
6999         ;;
7000       * ) # otherwise, assume *nix
7001         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7002         ;;
7003     esac
7004     ;;
7005   * ) # unhandled hosts (and "normal" native builds)
7006     lt_cv_to_host_file_cmd=func_convert_file_noop
7007     ;;
7008 esac
7009
7010 fi
7011
7012 to_host_file_cmd=$lt_cv_to_host_file_cmd
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7014 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7015
7016
7017
7018
7019
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7021 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7022 if ${lt_cv_to_tool_file_cmd+:} false; then :
7023   $as_echo_n "(cached) " >&6
7024 else
7025   #assume ordinary cross tools, or native build.
7026 lt_cv_to_tool_file_cmd=func_convert_file_noop
7027 case $host in
7028   *-*-mingw* )
7029     case $build in
7030       *-*-mingw* ) # actually msys
7031         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7032         ;;
7033     esac
7034     ;;
7035 esac
7036
7037 fi
7038
7039 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7041 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7042
7043
7044
7045
7046
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7048 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7049 if ${lt_cv_ld_reload_flag+:} false; then :
7050   $as_echo_n "(cached) " >&6
7051 else
7052   lt_cv_ld_reload_flag='-r'
7053 fi
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7055 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7056 reload_flag=$lt_cv_ld_reload_flag
7057 case $reload_flag in
7058 "" | " "*) ;;
7059 *) reload_flag=" $reload_flag" ;;
7060 esac
7061 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7062 case $host_os in
7063   cygwin* | mingw* | pw32* | cegcc*)
7064     if test "$GCC" != yes; then
7065       reload_cmds=false
7066     fi
7067     ;;
7068   darwin*)
7069     if test "$GCC" = yes; then
7070       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7071     else
7072       reload_cmds='$LD$reload_flag -o $output$reload_objs'
7073     fi
7074     ;;
7075 esac
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085 if test -n "$ac_tool_prefix"; then
7086   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7087 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 $as_echo_n "checking for $ac_word... " >&6; }
7090 if ${ac_cv_prog_OBJDUMP+:} false; then :
7091   $as_echo_n "(cached) " >&6
7092 else
7093   if test -n "$OBJDUMP"; then
7094   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7095 else
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 for as_dir in $PATH
7098 do
7099   IFS=$as_save_IFS
7100   test -z "$as_dir" && as_dir=.
7101     for ac_exec_ext in '' $ac_executable_extensions; do
7102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7105     break 2
7106   fi
7107 done
7108   done
7109 IFS=$as_save_IFS
7110
7111 fi
7112 fi
7113 OBJDUMP=$ac_cv_prog_OBJDUMP
7114 if test -n "$OBJDUMP"; then
7115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7116 $as_echo "$OBJDUMP" >&6; }
7117 else
7118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 $as_echo "no" >&6; }
7120 fi
7121
7122
7123 fi
7124 if test -z "$ac_cv_prog_OBJDUMP"; then
7125   ac_ct_OBJDUMP=$OBJDUMP
7126   # Extract the first word of "objdump", so it can be a program name with args.
7127 set dummy objdump; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7131   $as_echo_n "(cached) " >&6
7132 else
7133   if test -n "$ac_ct_OBJDUMP"; then
7134   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7135 else
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in $PATH
7138 do
7139   IFS=$as_save_IFS
7140   test -z "$as_dir" && as_dir=.
7141     for ac_exec_ext in '' $ac_executable_extensions; do
7142   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7143     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145     break 2
7146   fi
7147 done
7148   done
7149 IFS=$as_save_IFS
7150
7151 fi
7152 fi
7153 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7154 if test -n "$ac_ct_OBJDUMP"; then
7155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7156 $as_echo "$ac_ct_OBJDUMP" >&6; }
7157 else
7158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7160 fi
7161
7162   if test "x$ac_ct_OBJDUMP" = x; then
7163     OBJDUMP="false"
7164   else
7165     case $cross_compiling:$ac_tool_warned in
7166 yes:)
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7169 ac_tool_warned=yes ;;
7170 esac
7171     OBJDUMP=$ac_ct_OBJDUMP
7172   fi
7173 else
7174   OBJDUMP="$ac_cv_prog_OBJDUMP"
7175 fi
7176
7177 test -z "$OBJDUMP" && OBJDUMP=objdump
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7188 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7189 if ${lt_cv_deplibs_check_method+:} false; then :
7190   $as_echo_n "(cached) " >&6
7191 else
7192   lt_cv_file_magic_cmd='$MAGIC_CMD'
7193 lt_cv_file_magic_test_file=
7194 lt_cv_deplibs_check_method='unknown'
7195 # Need to set the preceding variable on all platforms that support
7196 # interlibrary dependencies.
7197 # 'none' -- dependencies not supported.
7198 # `unknown' -- same as none, but documents that we really don't know.
7199 # 'pass_all' -- all dependencies passed with no checks.
7200 # 'test_compile' -- check by making test program.
7201 # 'file_magic [[regex]]' -- check by looking for files in library path
7202 # which responds to the $file_magic_cmd with a given extended regex.
7203 # If you have `file' or equivalent on your system and you're not sure
7204 # whether `pass_all' will *always* work, you probably want this one.
7205
7206 case $host_os in
7207 aix[4-9]*)
7208   lt_cv_deplibs_check_method=pass_all
7209   ;;
7210
7211 beos*)
7212   lt_cv_deplibs_check_method=pass_all
7213   ;;
7214
7215 bsdi[45]*)
7216   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7217   lt_cv_file_magic_cmd='/usr/bin/file -L'
7218   lt_cv_file_magic_test_file=/shlib/libc.so
7219   ;;
7220
7221 cygwin*)
7222   # func_win32_libid is a shell function defined in ltmain.sh
7223   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7224   lt_cv_file_magic_cmd='func_win32_libid'
7225   ;;
7226
7227 mingw* | pw32*)
7228   # Base MSYS/MinGW do not provide the 'file' command needed by
7229   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7230   # unless we find 'file', for example because we are cross-compiling.
7231   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7232   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7233     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7234     lt_cv_file_magic_cmd='func_win32_libid'
7235   else
7236     # Keep this pattern in sync with the one in func_win32_libid.
7237     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7238     lt_cv_file_magic_cmd='$OBJDUMP -f'
7239   fi
7240   ;;
7241
7242 cegcc*)
7243   # use the weaker test based on 'objdump'. See mingw*.
7244   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7245   lt_cv_file_magic_cmd='$OBJDUMP -f'
7246   ;;
7247
7248 darwin* | rhapsody*)
7249   lt_cv_deplibs_check_method=pass_all
7250   ;;
7251
7252 freebsd* | dragonfly*)
7253   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7254     case $host_cpu in
7255     i*86 )
7256       # Not sure whether the presence of OpenBSD here was a mistake.
7257       # Let's accept both of them until this is cleared up.
7258       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7259       lt_cv_file_magic_cmd=/usr/bin/file
7260       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7261       ;;
7262     esac
7263   else
7264     lt_cv_deplibs_check_method=pass_all
7265   fi
7266   ;;
7267
7268 gnu*)
7269   lt_cv_deplibs_check_method=pass_all
7270   ;;
7271
7272 haiku*)
7273   lt_cv_deplibs_check_method=pass_all
7274   ;;
7275
7276 hpux10.20* | hpux11*)
7277   lt_cv_file_magic_cmd=/usr/bin/file
7278   case $host_cpu in
7279   ia64*)
7280     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7281     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7282     ;;
7283   hppa*64*)
7284     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]'
7285     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7286     ;;
7287   *)
7288     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7289     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7290     ;;
7291   esac
7292   ;;
7293
7294 interix[3-9]*)
7295   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7296   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7297   ;;
7298
7299 irix5* | irix6* | nonstopux*)
7300   case $LD in
7301   *-32|*"-32 ") libmagic=32-bit;;
7302   *-n32|*"-n32 ") libmagic=N32;;
7303   *-64|*"-64 ") libmagic=64-bit;;
7304   *) libmagic=never-match;;
7305   esac
7306   lt_cv_deplibs_check_method=pass_all
7307   ;;
7308
7309 # This must be glibc/ELF.
7310 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7311   lt_cv_deplibs_check_method=pass_all
7312   ;;
7313
7314 netbsd*)
7315   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7316     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7317   else
7318     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7319   fi
7320   ;;
7321
7322 newos6*)
7323   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7324   lt_cv_file_magic_cmd=/usr/bin/file
7325   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7326   ;;
7327
7328 *nto* | *qnx*)
7329   lt_cv_deplibs_check_method=pass_all
7330   ;;
7331
7332 openbsd*)
7333   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7334     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7335   else
7336     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7337   fi
7338   ;;
7339
7340 osf3* | osf4* | osf5*)
7341   lt_cv_deplibs_check_method=pass_all
7342   ;;
7343
7344 rdos*)
7345   lt_cv_deplibs_check_method=pass_all
7346   ;;
7347
7348 solaris*)
7349   lt_cv_deplibs_check_method=pass_all
7350   ;;
7351
7352 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7353   lt_cv_deplibs_check_method=pass_all
7354   ;;
7355
7356 sysv4 | sysv4.3*)
7357   case $host_vendor in
7358   motorola)
7359     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]'
7360     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7361     ;;
7362   ncr)
7363     lt_cv_deplibs_check_method=pass_all
7364     ;;
7365   sequent)
7366     lt_cv_file_magic_cmd='/bin/file'
7367     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7368     ;;
7369   sni)
7370     lt_cv_file_magic_cmd='/bin/file'
7371     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7372     lt_cv_file_magic_test_file=/lib/libc.so
7373     ;;
7374   siemens)
7375     lt_cv_deplibs_check_method=pass_all
7376     ;;
7377   pc)
7378     lt_cv_deplibs_check_method=pass_all
7379     ;;
7380   esac
7381   ;;
7382
7383 tpf*)
7384   lt_cv_deplibs_check_method=pass_all
7385   ;;
7386 esac
7387
7388 fi
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7390 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7391
7392 file_magic_glob=
7393 want_nocaseglob=no
7394 if test "$build" = "$host"; then
7395   case $host_os in
7396   mingw* | pw32*)
7397     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7398       want_nocaseglob=yes
7399     else
7400       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7401     fi
7402     ;;
7403   esac
7404 fi
7405
7406 file_magic_cmd=$lt_cv_file_magic_cmd
7407 deplibs_check_method=$lt_cv_deplibs_check_method
7408 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431 if test -n "$ac_tool_prefix"; then
7432   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7433 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 $as_echo_n "checking for $ac_word... " >&6; }
7436 if ${ac_cv_prog_DLLTOOL+:} false; then :
7437   $as_echo_n "(cached) " >&6
7438 else
7439   if test -n "$DLLTOOL"; then
7440   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7441 else
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7443 for as_dir in $PATH
7444 do
7445   IFS=$as_save_IFS
7446   test -z "$as_dir" && as_dir=.
7447     for ac_exec_ext in '' $ac_executable_extensions; do
7448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7449     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7451     break 2
7452   fi
7453 done
7454   done
7455 IFS=$as_save_IFS
7456
7457 fi
7458 fi
7459 DLLTOOL=$ac_cv_prog_DLLTOOL
7460 if test -n "$DLLTOOL"; then
7461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7462 $as_echo "$DLLTOOL" >&6; }
7463 else
7464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7466 fi
7467
7468
7469 fi
7470 if test -z "$ac_cv_prog_DLLTOOL"; then
7471   ac_ct_DLLTOOL=$DLLTOOL
7472   # Extract the first word of "dlltool", so it can be a program name with args.
7473 set dummy dlltool; ac_word=$2
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7475 $as_echo_n "checking for $ac_word... " >&6; }
7476 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7477   $as_echo_n "(cached) " >&6
7478 else
7479   if test -n "$ac_ct_DLLTOOL"; then
7480   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7481 else
7482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7483 for as_dir in $PATH
7484 do
7485   IFS=$as_save_IFS
7486   test -z "$as_dir" && as_dir=.
7487     for ac_exec_ext in '' $ac_executable_extensions; do
7488   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7489     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491     break 2
7492   fi
7493 done
7494   done
7495 IFS=$as_save_IFS
7496
7497 fi
7498 fi
7499 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7500 if test -n "$ac_ct_DLLTOOL"; then
7501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7502 $as_echo "$ac_ct_DLLTOOL" >&6; }
7503 else
7504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 $as_echo "no" >&6; }
7506 fi
7507
7508   if test "x$ac_ct_DLLTOOL" = x; then
7509     DLLTOOL="false"
7510   else
7511     case $cross_compiling:$ac_tool_warned in
7512 yes:)
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7515 ac_tool_warned=yes ;;
7516 esac
7517     DLLTOOL=$ac_ct_DLLTOOL
7518   fi
7519 else
7520   DLLTOOL="$ac_cv_prog_DLLTOOL"
7521 fi
7522
7523 test -z "$DLLTOOL" && DLLTOOL=dlltool
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7535 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7536 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7537   $as_echo_n "(cached) " >&6
7538 else
7539   lt_cv_sharedlib_from_linklib_cmd='unknown'
7540
7541 case $host_os in
7542 cygwin* | mingw* | pw32* | cegcc*)
7543   # two different shell functions defined in ltmain.sh
7544   # decide which to use based on capabilities of $DLLTOOL
7545   case `$DLLTOOL --help 2>&1` in
7546   *--identify-strict*)
7547     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7548     ;;
7549   *)
7550     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7551     ;;
7552   esac
7553   ;;
7554 *)
7555   # fallback: assume linklib IS sharedlib
7556   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7557   ;;
7558 esac
7559
7560 fi
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7562 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7563 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7564 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7565
7566
7567
7568
7569
7570
7571
7572 if test -n "$ac_tool_prefix"; then
7573   for ac_prog in ar
7574   do
7575     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7576 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578 $as_echo_n "checking for $ac_word... " >&6; }
7579 if ${ac_cv_prog_AR+:} false; then :
7580   $as_echo_n "(cached) " >&6
7581 else
7582   if test -n "$AR"; then
7583   ac_cv_prog_AR="$AR" # Let the user override the test.
7584 else
7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586 for as_dir in $PATH
7587 do
7588   IFS=$as_save_IFS
7589   test -z "$as_dir" && as_dir=.
7590     for ac_exec_ext in '' $ac_executable_extensions; do
7591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7592     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7594     break 2
7595   fi
7596 done
7597   done
7598 IFS=$as_save_IFS
7599
7600 fi
7601 fi
7602 AR=$ac_cv_prog_AR
7603 if test -n "$AR"; then
7604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7605 $as_echo "$AR" >&6; }
7606 else
7607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608 $as_echo "no" >&6; }
7609 fi
7610
7611
7612     test -n "$AR" && break
7613   done
7614 fi
7615 if test -z "$AR"; then
7616   ac_ct_AR=$AR
7617   for ac_prog in ar
7618 do
7619   # Extract the first word of "$ac_prog", so it can be a program name with args.
7620 set dummy $ac_prog; ac_word=$2
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7622 $as_echo_n "checking for $ac_word... " >&6; }
7623 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7624   $as_echo_n "(cached) " >&6
7625 else
7626   if test -n "$ac_ct_AR"; then
7627   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7628 else
7629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 for as_dir in $PATH
7631 do
7632   IFS=$as_save_IFS
7633   test -z "$as_dir" && as_dir=.
7634     for ac_exec_ext in '' $ac_executable_extensions; do
7635   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7636     ac_cv_prog_ac_ct_AR="$ac_prog"
7637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7638     break 2
7639   fi
7640 done
7641   done
7642 IFS=$as_save_IFS
7643
7644 fi
7645 fi
7646 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7647 if test -n "$ac_ct_AR"; then
7648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7649 $as_echo "$ac_ct_AR" >&6; }
7650 else
7651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7652 $as_echo "no" >&6; }
7653 fi
7654
7655
7656   test -n "$ac_ct_AR" && break
7657 done
7658
7659   if test "x$ac_ct_AR" = x; then
7660     AR="false"
7661   else
7662     case $cross_compiling:$ac_tool_warned in
7663 yes:)
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7666 ac_tool_warned=yes ;;
7667 esac
7668     AR=$ac_ct_AR
7669   fi
7670 fi
7671
7672 : ${AR=ar}
7673 : ${AR_FLAGS=cru}
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7686 $as_echo_n "checking for archiver @FILE support... " >&6; }
7687 if ${lt_cv_ar_at_file+:} false; then :
7688   $as_echo_n "(cached) " >&6
7689 else
7690   lt_cv_ar_at_file=no
7691    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7692 /* end confdefs.h.  */
7693
7694 int
7695 main ()
7696 {
7697
7698   ;
7699   return 0;
7700 }
7701 _ACEOF
7702 if ac_fn_c_try_compile "$LINENO"; then :
7703   echo conftest.$ac_objext > conftest.lst
7704       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7705       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7706   (eval $lt_ar_try) 2>&5
7707   ac_status=$?
7708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7709   test $ac_status = 0; }
7710       if test "$ac_status" -eq 0; then
7711         # Ensure the archiver fails upon bogus file names.
7712         rm -f conftest.$ac_objext libconftest.a
7713         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7714   (eval $lt_ar_try) 2>&5
7715   ac_status=$?
7716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7717   test $ac_status = 0; }
7718         if test "$ac_status" -ne 0; then
7719           lt_cv_ar_at_file=@
7720         fi
7721       fi
7722       rm -f conftest.* libconftest.a
7723
7724 fi
7725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7726
7727 fi
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7729 $as_echo "$lt_cv_ar_at_file" >&6; }
7730
7731 if test "x$lt_cv_ar_at_file" = xno; then
7732   archiver_list_spec=
7733 else
7734   archiver_list_spec=$lt_cv_ar_at_file
7735 fi
7736
7737
7738
7739
7740
7741
7742
7743 if test -n "$ac_tool_prefix"; then
7744   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7745 set dummy ${ac_tool_prefix}strip; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if ${ac_cv_prog_STRIP+:} false; then :
7749   $as_echo_n "(cached) " >&6
7750 else
7751   if test -n "$STRIP"; then
7752   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7753 else
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 for as_dir in $PATH
7756 do
7757   IFS=$as_save_IFS
7758   test -z "$as_dir" && as_dir=.
7759     for ac_exec_ext in '' $ac_executable_extensions; do
7760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763     break 2
7764   fi
7765 done
7766   done
7767 IFS=$as_save_IFS
7768
7769 fi
7770 fi
7771 STRIP=$ac_cv_prog_STRIP
7772 if test -n "$STRIP"; then
7773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7774 $as_echo "$STRIP" >&6; }
7775 else
7776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7778 fi
7779
7780
7781 fi
7782 if test -z "$ac_cv_prog_STRIP"; then
7783   ac_ct_STRIP=$STRIP
7784   # Extract the first word of "strip", so it can be a program name with args.
7785 set dummy strip; ac_word=$2
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7787 $as_echo_n "checking for $ac_word... " >&6; }
7788 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7789   $as_echo_n "(cached) " >&6
7790 else
7791   if test -n "$ac_ct_STRIP"; then
7792   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7793 else
7794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795 for as_dir in $PATH
7796 do
7797   IFS=$as_save_IFS
7798   test -z "$as_dir" && as_dir=.
7799     for ac_exec_ext in '' $ac_executable_extensions; do
7800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7801     ac_cv_prog_ac_ct_STRIP="strip"
7802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7803     break 2
7804   fi
7805 done
7806   done
7807 IFS=$as_save_IFS
7808
7809 fi
7810 fi
7811 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7812 if test -n "$ac_ct_STRIP"; then
7813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7814 $as_echo "$ac_ct_STRIP" >&6; }
7815 else
7816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7817 $as_echo "no" >&6; }
7818 fi
7819
7820   if test "x$ac_ct_STRIP" = x; then
7821     STRIP=":"
7822   else
7823     case $cross_compiling:$ac_tool_warned in
7824 yes:)
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7827 ac_tool_warned=yes ;;
7828 esac
7829     STRIP=$ac_ct_STRIP
7830   fi
7831 else
7832   STRIP="$ac_cv_prog_STRIP"
7833 fi
7834
7835 test -z "$STRIP" && STRIP=:
7836
7837
7838
7839
7840
7841
7842 if test -n "$ac_tool_prefix"; then
7843   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7844 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846 $as_echo_n "checking for $ac_word... " >&6; }
7847 if ${ac_cv_prog_RANLIB+:} false; then :
7848   $as_echo_n "(cached) " >&6
7849 else
7850   if test -n "$RANLIB"; then
7851   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7852 else
7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854 for as_dir in $PATH
7855 do
7856   IFS=$as_save_IFS
7857   test -z "$as_dir" && as_dir=.
7858     for ac_exec_ext in '' $ac_executable_extensions; do
7859   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7860     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862     break 2
7863   fi
7864 done
7865   done
7866 IFS=$as_save_IFS
7867
7868 fi
7869 fi
7870 RANLIB=$ac_cv_prog_RANLIB
7871 if test -n "$RANLIB"; then
7872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7873 $as_echo "$RANLIB" >&6; }
7874 else
7875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876 $as_echo "no" >&6; }
7877 fi
7878
7879
7880 fi
7881 if test -z "$ac_cv_prog_RANLIB"; then
7882   ac_ct_RANLIB=$RANLIB
7883   # Extract the first word of "ranlib", so it can be a program name with args.
7884 set dummy ranlib; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7888   $as_echo_n "(cached) " >&6
7889 else
7890   if test -n "$ac_ct_RANLIB"; then
7891   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7892 else
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 for as_dir in $PATH
7895 do
7896   IFS=$as_save_IFS
7897   test -z "$as_dir" && as_dir=.
7898     for ac_exec_ext in '' $ac_executable_extensions; do
7899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7900     ac_cv_prog_ac_ct_RANLIB="ranlib"
7901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902     break 2
7903   fi
7904 done
7905   done
7906 IFS=$as_save_IFS
7907
7908 fi
7909 fi
7910 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7911 if test -n "$ac_ct_RANLIB"; then
7912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7913 $as_echo "$ac_ct_RANLIB" >&6; }
7914 else
7915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7917 fi
7918
7919   if test "x$ac_ct_RANLIB" = x; then
7920     RANLIB=":"
7921   else
7922     case $cross_compiling:$ac_tool_warned in
7923 yes:)
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7926 ac_tool_warned=yes ;;
7927 esac
7928     RANLIB=$ac_ct_RANLIB
7929   fi
7930 else
7931   RANLIB="$ac_cv_prog_RANLIB"
7932 fi
7933
7934 test -z "$RANLIB" && RANLIB=:
7935
7936
7937
7938
7939
7940
7941 # Determine commands to create old-style static archives.
7942 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7943 old_postinstall_cmds='chmod 644 $oldlib'
7944 old_postuninstall_cmds=
7945
7946 if test -n "$RANLIB"; then
7947   case $host_os in
7948   openbsd*)
7949     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7950     ;;
7951   *)
7952     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7953     ;;
7954   esac
7955   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7956 fi
7957
7958 case $host_os in
7959   darwin*)
7960     lock_old_archive_extraction=yes ;;
7961   *)
7962     lock_old_archive_extraction=no ;;
7963 esac
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003 # If no C compiler was specified, use CC.
8004 LTCC=${LTCC-"$CC"}
8005
8006 # If no C compiler flags were specified, use CFLAGS.
8007 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8008
8009 # Allow CC to be a program name with arguments.
8010 compiler=$CC
8011
8012
8013 # Check for command to grab the raw symbol name followed by C symbol from nm.
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8015 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8016 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8017   $as_echo_n "(cached) " >&6
8018 else
8019
8020 # These are sane defaults that work on at least a few old systems.
8021 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8022
8023 # Character class describing NM global symbol codes.
8024 symcode='[BCDEGRST]'
8025
8026 # Regexp to match symbols that can be accessed directly from C.
8027 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8028
8029 # Define system-specific variables.
8030 case $host_os in
8031 aix*)
8032   symcode='[BCDT]'
8033   ;;
8034 cygwin* | mingw* | pw32* | cegcc*)
8035   symcode='[ABCDGISTW]'
8036   ;;
8037 hpux*)
8038   if test "$host_cpu" = ia64; then
8039     symcode='[ABCDEGRST]'
8040   fi
8041   ;;
8042 irix* | nonstopux*)
8043   symcode='[BCDEGRST]'
8044   ;;
8045 osf*)
8046   symcode='[BCDEGQRST]'
8047   ;;
8048 solaris*)
8049   symcode='[BDRT]'
8050   ;;
8051 sco3.2v5*)
8052   symcode='[DT]'
8053   ;;
8054 sysv4.2uw2*)
8055   symcode='[DT]'
8056   ;;
8057 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8058   symcode='[ABDT]'
8059   ;;
8060 sysv4)
8061   symcode='[DFNSTU]'
8062   ;;
8063 esac
8064
8065 # If we're using GNU nm, then use its standard symbol codes.
8066 case `$NM -V 2>&1` in
8067 *GNU* | *'with BFD'*)
8068   symcode='[ABCDGIRSTW]' ;;
8069 esac
8070
8071 # Transform an extracted symbol line into a proper C declaration.
8072 # Some systems (esp. on ia64) link data and code symbols differently,
8073 # so use this general approach.
8074 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8075
8076 # Transform an extracted symbol line into symbol name and symbol address
8077 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8078 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'"
8079
8080 # Handle CRLF in mingw tool chain
8081 opt_cr=
8082 case $build_os in
8083 mingw*)
8084   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8085   ;;
8086 esac
8087
8088 # Try without a prefix underscore, then with it.
8089 for ac_symprfx in "" "_"; do
8090
8091   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8092   symxfrm="\\1 $ac_symprfx\\2 \\2"
8093
8094   # Write the raw and C identifiers.
8095   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8096     # Fake it for dumpbin and say T for any non-static function
8097     # and D for any global variable.
8098     # Also find C++ and __fastcall symbols from MSVC++,
8099     # which start with @ or ?.
8100     lt_cv_sys_global_symbol_pipe="$AWK '"\
8101 "     {last_section=section; section=\$ 3};"\
8102 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8103 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8104 "     \$ 0!~/External *\|/{next};"\
8105 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8106 "     {if(hide[section]) next};"\
8107 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8108 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8109 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8110 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8111 "     ' prfx=^$ac_symprfx"
8112   else
8113     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8114   fi
8115   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8116
8117   # Check to see that the pipe works correctly.
8118   pipe_works=no
8119
8120   rm -f conftest*
8121   cat > conftest.$ac_ext <<_LT_EOF
8122 #ifdef __cplusplus
8123 extern "C" {
8124 #endif
8125 char nm_test_var;
8126 void nm_test_func(void);
8127 void nm_test_func(void){}
8128 #ifdef __cplusplus
8129 }
8130 #endif
8131 int main(){nm_test_var='a';nm_test_func();return(0);}
8132 _LT_EOF
8133
8134   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8135   (eval $ac_compile) 2>&5
8136   ac_status=$?
8137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8138   test $ac_status = 0; }; then
8139     # Now try to grab the symbols.
8140     nlist=conftest.nm
8141     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8142   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8143   ac_status=$?
8144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8145   test $ac_status = 0; } && test -s "$nlist"; then
8146       # Try sorting and uniquifying the output.
8147       if sort "$nlist" | uniq > "$nlist"T; then
8148         mv -f "$nlist"T "$nlist"
8149       else
8150         rm -f "$nlist"T
8151       fi
8152
8153       # Make sure that we snagged all the symbols we need.
8154       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8155         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8156           cat <<_LT_EOF > conftest.$ac_ext
8157 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8158 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8159 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8160    relocations are performed -- see ld's documentation on pseudo-relocs.  */
8161 # define LT_DLSYM_CONST
8162 #elif defined(__osf__)
8163 /* This system does not cope well with relocations in const data.  */
8164 # define LT_DLSYM_CONST
8165 #else
8166 # define LT_DLSYM_CONST const
8167 #endif
8168
8169 #ifdef __cplusplus
8170 extern "C" {
8171 #endif
8172
8173 _LT_EOF
8174           # Now generate the symbol file.
8175           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8176
8177           cat <<_LT_EOF >> conftest.$ac_ext
8178
8179 /* The mapping between symbol names and symbols.  */
8180 LT_DLSYM_CONST struct {
8181   const char *name;
8182   void       *address;
8183 }
8184 lt__PROGRAM__LTX_preloaded_symbols[] =
8185 {
8186   { "@PROGRAM@", (void *) 0 },
8187 _LT_EOF
8188           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8189           cat <<\_LT_EOF >> conftest.$ac_ext
8190   {0, (void *) 0}
8191 };
8192
8193 /* This works around a problem in FreeBSD linker */
8194 #ifdef FREEBSD_WORKAROUND
8195 static const void *lt_preloaded_setup() {
8196   return lt__PROGRAM__LTX_preloaded_symbols;
8197 }
8198 #endif
8199
8200 #ifdef __cplusplus
8201 }
8202 #endif
8203 _LT_EOF
8204           # Now try linking the two files.
8205           mv conftest.$ac_objext conftstm.$ac_objext
8206           lt_globsym_save_LIBS=$LIBS
8207           lt_globsym_save_CFLAGS=$CFLAGS
8208           LIBS="conftstm.$ac_objext"
8209           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8210           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8211   (eval $ac_link) 2>&5
8212   ac_status=$?
8213   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8214   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8215             pipe_works=yes
8216           fi
8217           LIBS=$lt_globsym_save_LIBS
8218           CFLAGS=$lt_globsym_save_CFLAGS
8219         else
8220           echo "cannot find nm_test_func in $nlist" >&5
8221         fi
8222       else
8223         echo "cannot find nm_test_var in $nlist" >&5
8224       fi
8225     else
8226       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8227     fi
8228   else
8229     echo "$progname: failed program was:" >&5
8230     cat conftest.$ac_ext >&5
8231   fi
8232   rm -rf conftest* conftst*
8233
8234   # Do not use the global_symbol_pipe unless it works.
8235   if test "$pipe_works" = yes; then
8236     break
8237   else
8238     lt_cv_sys_global_symbol_pipe=
8239   fi
8240 done
8241
8242 fi
8243
8244 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8245   lt_cv_sys_global_symbol_to_cdecl=
8246 fi
8247 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8249 $as_echo "failed" >&6; }
8250 else
8251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8252 $as_echo "ok" >&6; }
8253 fi
8254
8255 # Response file support.
8256 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8257   nm_file_list_spec='@'
8258 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8259   nm_file_list_spec='@'
8260 fi
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8289 $as_echo_n "checking for sysroot... " >&6; }
8290
8291 # Check whether --with-sysroot was given.
8292 if test "${with_sysroot+set}" = set; then :
8293   withval=$with_sysroot;
8294 else
8295   with_sysroot=no
8296 fi
8297
8298
8299 lt_sysroot=
8300 case ${with_sysroot} in #(
8301  yes)
8302    if test "$GCC" = yes; then
8303      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8304    fi
8305    ;; #(
8306  /*)
8307    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8308    ;; #(
8309  no|'')
8310    ;; #(
8311  *)
8312    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8313 $as_echo "${with_sysroot}" >&6; }
8314    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8315    ;;
8316 esac
8317
8318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8319 $as_echo "${lt_sysroot:-no}" >&6; }
8320
8321
8322
8323
8324
8325 # Check whether --enable-libtool-lock was given.
8326 if test "${enable_libtool_lock+set}" = set; then :
8327   enableval=$enable_libtool_lock;
8328 fi
8329
8330 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8331
8332 # Some flags need to be propagated to the compiler or linker for good
8333 # libtool support.
8334 case $host in
8335 ia64-*-hpux*)
8336   # Find out which ABI we are using.
8337   echo 'int i;' > conftest.$ac_ext
8338   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8339   (eval $ac_compile) 2>&5
8340   ac_status=$?
8341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8342   test $ac_status = 0; }; then
8343     case `/usr/bin/file conftest.$ac_objext` in
8344       *ELF-32*)
8345         HPUX_IA64_MODE="32"
8346         ;;
8347       *ELF-64*)
8348         HPUX_IA64_MODE="64"
8349         ;;
8350     esac
8351   fi
8352   rm -rf conftest*
8353   ;;
8354 *-*-irix6*)
8355   # Find out which ABI we are using.
8356   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8357   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8358   (eval $ac_compile) 2>&5
8359   ac_status=$?
8360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8361   test $ac_status = 0; }; then
8362     if test "$lt_cv_prog_gnu_ld" = yes; then
8363       case `/usr/bin/file conftest.$ac_objext` in
8364         *32-bit*)
8365           LD="${LD-ld} -melf32bsmip"
8366           ;;
8367         *N32*)
8368           LD="${LD-ld} -melf32bmipn32"
8369           ;;
8370         *64-bit*)
8371           LD="${LD-ld} -melf64bmip"
8372         ;;
8373       esac
8374     else
8375       case `/usr/bin/file conftest.$ac_objext` in
8376         *32-bit*)
8377           LD="${LD-ld} -32"
8378           ;;
8379         *N32*)
8380           LD="${LD-ld} -n32"
8381           ;;
8382         *64-bit*)
8383           LD="${LD-ld} -64"
8384           ;;
8385       esac
8386     fi
8387   fi
8388   rm -rf conftest*
8389   ;;
8390
8391 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8392 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8393   # Find out which ABI we are using.
8394   echo 'int i;' > conftest.$ac_ext
8395   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8396   (eval $ac_compile) 2>&5
8397   ac_status=$?
8398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8399   test $ac_status = 0; }; then
8400     case `/usr/bin/file conftest.o` in
8401       *32-bit*)
8402         case $host in
8403           x86_64-*kfreebsd*-gnu)
8404             LD="${LD-ld} -m elf_i386_fbsd"
8405             ;;
8406           x86_64-*linux*)
8407             LD="${LD-ld} -m elf_i386"
8408             ;;
8409           ppc64-*linux*|powerpc64-*linux*)
8410             LD="${LD-ld} -m elf32ppclinux"
8411             ;;
8412           s390x-*linux*)
8413             LD="${LD-ld} -m elf_s390"
8414             ;;
8415           sparc64-*linux*)
8416             LD="${LD-ld} -m elf32_sparc"
8417             ;;
8418         esac
8419         ;;
8420       *64-bit*)
8421         case $host in
8422           x86_64-*kfreebsd*-gnu)
8423             LD="${LD-ld} -m elf_x86_64_fbsd"
8424             ;;
8425           x86_64-*linux*)
8426             LD="${LD-ld} -m elf_x86_64"
8427             ;;
8428           ppc*-*linux*|powerpc*-*linux*)
8429             LD="${LD-ld} -m elf64ppc"
8430             ;;
8431           s390*-*linux*|s390*-*tpf*)
8432             LD="${LD-ld} -m elf64_s390"
8433             ;;
8434           sparc*-*linux*)
8435             LD="${LD-ld} -m elf64_sparc"
8436             ;;
8437         esac
8438         ;;
8439     esac
8440   fi
8441   rm -rf conftest*
8442   ;;
8443
8444 *-*-sco3.2v5*)
8445   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8446   SAVE_CFLAGS="$CFLAGS"
8447   CFLAGS="$CFLAGS -belf"
8448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8449 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8450 if ${lt_cv_cc_needs_belf+:} false; then :
8451   $as_echo_n "(cached) " >&6
8452 else
8453   ac_ext=c
8454 ac_cpp='$CPP $CPPFLAGS'
8455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8458
8459      if test x$ac_no_link = xyes; then
8460   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
8461 fi
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h.  */
8464
8465 int
8466 main ()
8467 {
8468
8469   ;
8470   return 0;
8471 }
8472 _ACEOF
8473 if ac_fn_c_try_link "$LINENO"; then :
8474   lt_cv_cc_needs_belf=yes
8475 else
8476   lt_cv_cc_needs_belf=no
8477 fi
8478 rm -f core conftest.err conftest.$ac_objext \
8479     conftest$ac_exeext conftest.$ac_ext
8480      ac_ext=c
8481 ac_cpp='$CPP $CPPFLAGS'
8482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8485
8486 fi
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8488 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8489   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8490     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8491     CFLAGS="$SAVE_CFLAGS"
8492   fi
8493   ;;
8494 *-*solaris*)
8495   # Find out which ABI we are using.
8496   echo 'int i;' > conftest.$ac_ext
8497   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8498   (eval $ac_compile) 2>&5
8499   ac_status=$?
8500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8501   test $ac_status = 0; }; then
8502     case `/usr/bin/file conftest.o` in
8503     *64-bit*)
8504       case $lt_cv_prog_gnu_ld in
8505       yes*)
8506         case $host in
8507         i?86-*-solaris*)
8508           LD="${LD-ld} -m elf_x86_64"
8509           ;;
8510         sparc*-*-solaris*)
8511           LD="${LD-ld} -m elf64_sparc"
8512           ;;
8513         esac
8514         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8515         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8516           LD="${LD-ld}_sol2"
8517         fi
8518         ;;
8519       *)
8520         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8521           LD="${LD-ld} -64"
8522         fi
8523         ;;
8524       esac
8525       ;;
8526     esac
8527   fi
8528   rm -rf conftest*
8529   ;;
8530 esac
8531
8532 need_locks="$enable_libtool_lock"
8533
8534 if test -n "$ac_tool_prefix"; then
8535   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8536 set dummy ${ac_tool_prefix}mt; ac_word=$2
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8538 $as_echo_n "checking for $ac_word... " >&6; }
8539 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8540   $as_echo_n "(cached) " >&6
8541 else
8542   if test -n "$MANIFEST_TOOL"; then
8543   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8544 else
8545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8546 for as_dir in $PATH
8547 do
8548   IFS=$as_save_IFS
8549   test -z "$as_dir" && as_dir=.
8550     for ac_exec_ext in '' $ac_executable_extensions; do
8551   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8552     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8554     break 2
8555   fi
8556 done
8557   done
8558 IFS=$as_save_IFS
8559
8560 fi
8561 fi
8562 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8563 if test -n "$MANIFEST_TOOL"; then
8564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8565 $as_echo "$MANIFEST_TOOL" >&6; }
8566 else
8567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8569 fi
8570
8571
8572 fi
8573 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8574   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8575   # Extract the first word of "mt", so it can be a program name with args.
8576 set dummy mt; ac_word=$2
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8578 $as_echo_n "checking for $ac_word... " >&6; }
8579 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8580   $as_echo_n "(cached) " >&6
8581 else
8582   if test -n "$ac_ct_MANIFEST_TOOL"; then
8583   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8584 else
8585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8586 for as_dir in $PATH
8587 do
8588   IFS=$as_save_IFS
8589   test -z "$as_dir" && as_dir=.
8590     for ac_exec_ext in '' $ac_executable_extensions; do
8591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8592     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8594     break 2
8595   fi
8596 done
8597   done
8598 IFS=$as_save_IFS
8599
8600 fi
8601 fi
8602 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8603 if test -n "$ac_ct_MANIFEST_TOOL"; then
8604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8605 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8606 else
8607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8608 $as_echo "no" >&6; }
8609 fi
8610
8611   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8612     MANIFEST_TOOL=":"
8613   else
8614     case $cross_compiling:$ac_tool_warned in
8615 yes:)
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8618 ac_tool_warned=yes ;;
8619 esac
8620     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8621   fi
8622 else
8623   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8624 fi
8625
8626 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8628 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8629 if ${lt_cv_path_mainfest_tool+:} false; then :
8630   $as_echo_n "(cached) " >&6
8631 else
8632   lt_cv_path_mainfest_tool=no
8633   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8634   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8635   cat conftest.err >&5
8636   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8637     lt_cv_path_mainfest_tool=yes
8638   fi
8639   rm -f conftest*
8640 fi
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8642 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8643 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8644   MANIFEST_TOOL=:
8645 fi
8646
8647
8648
8649
8650
8651
8652   case $host_os in
8653     rhapsody* | darwin*)
8654     if test -n "$ac_tool_prefix"; then
8655   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8656 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8658 $as_echo_n "checking for $ac_word... " >&6; }
8659 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8660   $as_echo_n "(cached) " >&6
8661 else
8662   if test -n "$DSYMUTIL"; then
8663   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8664 else
8665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8666 for as_dir in $PATH
8667 do
8668   IFS=$as_save_IFS
8669   test -z "$as_dir" && as_dir=.
8670     for ac_exec_ext in '' $ac_executable_extensions; do
8671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8672     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8674     break 2
8675   fi
8676 done
8677   done
8678 IFS=$as_save_IFS
8679
8680 fi
8681 fi
8682 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8683 if test -n "$DSYMUTIL"; then
8684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8685 $as_echo "$DSYMUTIL" >&6; }
8686 else
8687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8688 $as_echo "no" >&6; }
8689 fi
8690
8691
8692 fi
8693 if test -z "$ac_cv_prog_DSYMUTIL"; then
8694   ac_ct_DSYMUTIL=$DSYMUTIL
8695   # Extract the first word of "dsymutil", so it can be a program name with args.
8696 set dummy dsymutil; ac_word=$2
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8698 $as_echo_n "checking for $ac_word... " >&6; }
8699 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8700   $as_echo_n "(cached) " >&6
8701 else
8702   if test -n "$ac_ct_DSYMUTIL"; then
8703   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8704 else
8705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8706 for as_dir in $PATH
8707 do
8708   IFS=$as_save_IFS
8709   test -z "$as_dir" && as_dir=.
8710     for ac_exec_ext in '' $ac_executable_extensions; do
8711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8712     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8714     break 2
8715   fi
8716 done
8717   done
8718 IFS=$as_save_IFS
8719
8720 fi
8721 fi
8722 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8723 if test -n "$ac_ct_DSYMUTIL"; then
8724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8725 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8726 else
8727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8728 $as_echo "no" >&6; }
8729 fi
8730
8731   if test "x$ac_ct_DSYMUTIL" = x; then
8732     DSYMUTIL=":"
8733   else
8734     case $cross_compiling:$ac_tool_warned in
8735 yes:)
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8738 ac_tool_warned=yes ;;
8739 esac
8740     DSYMUTIL=$ac_ct_DSYMUTIL
8741   fi
8742 else
8743   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8744 fi
8745
8746     if test -n "$ac_tool_prefix"; then
8747   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8748 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8750 $as_echo_n "checking for $ac_word... " >&6; }
8751 if ${ac_cv_prog_NMEDIT+:} false; then :
8752   $as_echo_n "(cached) " >&6
8753 else
8754   if test -n "$NMEDIT"; then
8755   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8756 else
8757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 for as_dir in $PATH
8759 do
8760   IFS=$as_save_IFS
8761   test -z "$as_dir" && as_dir=.
8762     for ac_exec_ext in '' $ac_executable_extensions; do
8763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8764     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8766     break 2
8767   fi
8768 done
8769   done
8770 IFS=$as_save_IFS
8771
8772 fi
8773 fi
8774 NMEDIT=$ac_cv_prog_NMEDIT
8775 if test -n "$NMEDIT"; then
8776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8777 $as_echo "$NMEDIT" >&6; }
8778 else
8779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8780 $as_echo "no" >&6; }
8781 fi
8782
8783
8784 fi
8785 if test -z "$ac_cv_prog_NMEDIT"; then
8786   ac_ct_NMEDIT=$NMEDIT
8787   # Extract the first word of "nmedit", so it can be a program name with args.
8788 set dummy nmedit; ac_word=$2
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8790 $as_echo_n "checking for $ac_word... " >&6; }
8791 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8792   $as_echo_n "(cached) " >&6
8793 else
8794   if test -n "$ac_ct_NMEDIT"; then
8795   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8796 else
8797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8798 for as_dir in $PATH
8799 do
8800   IFS=$as_save_IFS
8801   test -z "$as_dir" && as_dir=.
8802     for ac_exec_ext in '' $ac_executable_extensions; do
8803   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8804     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8806     break 2
8807   fi
8808 done
8809   done
8810 IFS=$as_save_IFS
8811
8812 fi
8813 fi
8814 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8815 if test -n "$ac_ct_NMEDIT"; then
8816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8817 $as_echo "$ac_ct_NMEDIT" >&6; }
8818 else
8819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8820 $as_echo "no" >&6; }
8821 fi
8822
8823   if test "x$ac_ct_NMEDIT" = x; then
8824     NMEDIT=":"
8825   else
8826     case $cross_compiling:$ac_tool_warned in
8827 yes:)
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8830 ac_tool_warned=yes ;;
8831 esac
8832     NMEDIT=$ac_ct_NMEDIT
8833   fi
8834 else
8835   NMEDIT="$ac_cv_prog_NMEDIT"
8836 fi
8837
8838     if test -n "$ac_tool_prefix"; then
8839   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8840 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8842 $as_echo_n "checking for $ac_word... " >&6; }
8843 if ${ac_cv_prog_LIPO+:} false; then :
8844   $as_echo_n "(cached) " >&6
8845 else
8846   if test -n "$LIPO"; then
8847   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8848 else
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8850 for as_dir in $PATH
8851 do
8852   IFS=$as_save_IFS
8853   test -z "$as_dir" && as_dir=.
8854     for ac_exec_ext in '' $ac_executable_extensions; do
8855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8856     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8858     break 2
8859   fi
8860 done
8861   done
8862 IFS=$as_save_IFS
8863
8864 fi
8865 fi
8866 LIPO=$ac_cv_prog_LIPO
8867 if test -n "$LIPO"; then
8868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8869 $as_echo "$LIPO" >&6; }
8870 else
8871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872 $as_echo "no" >&6; }
8873 fi
8874
8875
8876 fi
8877 if test -z "$ac_cv_prog_LIPO"; then
8878   ac_ct_LIPO=$LIPO
8879   # Extract the first word of "lipo", so it can be a program name with args.
8880 set dummy lipo; ac_word=$2
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8882 $as_echo_n "checking for $ac_word... " >&6; }
8883 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8884   $as_echo_n "(cached) " >&6
8885 else
8886   if test -n "$ac_ct_LIPO"; then
8887   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8888 else
8889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890 for as_dir in $PATH
8891 do
8892   IFS=$as_save_IFS
8893   test -z "$as_dir" && as_dir=.
8894     for ac_exec_ext in '' $ac_executable_extensions; do
8895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8896     ac_cv_prog_ac_ct_LIPO="lipo"
8897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8898     break 2
8899   fi
8900 done
8901   done
8902 IFS=$as_save_IFS
8903
8904 fi
8905 fi
8906 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8907 if test -n "$ac_ct_LIPO"; then
8908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8909 $as_echo "$ac_ct_LIPO" >&6; }
8910 else
8911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8912 $as_echo "no" >&6; }
8913 fi
8914
8915   if test "x$ac_ct_LIPO" = x; then
8916     LIPO=":"
8917   else
8918     case $cross_compiling:$ac_tool_warned in
8919 yes:)
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8922 ac_tool_warned=yes ;;
8923 esac
8924     LIPO=$ac_ct_LIPO
8925   fi
8926 else
8927   LIPO="$ac_cv_prog_LIPO"
8928 fi
8929
8930     if test -n "$ac_tool_prefix"; then
8931   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8932 set dummy ${ac_tool_prefix}otool; ac_word=$2
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8934 $as_echo_n "checking for $ac_word... " >&6; }
8935 if ${ac_cv_prog_OTOOL+:} false; then :
8936   $as_echo_n "(cached) " >&6
8937 else
8938   if test -n "$OTOOL"; then
8939   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8940 else
8941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8942 for as_dir in $PATH
8943 do
8944   IFS=$as_save_IFS
8945   test -z "$as_dir" && as_dir=.
8946     for ac_exec_ext in '' $ac_executable_extensions; do
8947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8948     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8950     break 2
8951   fi
8952 done
8953   done
8954 IFS=$as_save_IFS
8955
8956 fi
8957 fi
8958 OTOOL=$ac_cv_prog_OTOOL
8959 if test -n "$OTOOL"; then
8960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8961 $as_echo "$OTOOL" >&6; }
8962 else
8963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8964 $as_echo "no" >&6; }
8965 fi
8966
8967
8968 fi
8969 if test -z "$ac_cv_prog_OTOOL"; then
8970   ac_ct_OTOOL=$OTOOL
8971   # Extract the first word of "otool", so it can be a program name with args.
8972 set dummy otool; ac_word=$2
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8974 $as_echo_n "checking for $ac_word... " >&6; }
8975 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8976   $as_echo_n "(cached) " >&6
8977 else
8978   if test -n "$ac_ct_OTOOL"; then
8979   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8980 else
8981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8982 for as_dir in $PATH
8983 do
8984   IFS=$as_save_IFS
8985   test -z "$as_dir" && as_dir=.
8986     for ac_exec_ext in '' $ac_executable_extensions; do
8987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8988     ac_cv_prog_ac_ct_OTOOL="otool"
8989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8990     break 2
8991   fi
8992 done
8993   done
8994 IFS=$as_save_IFS
8995
8996 fi
8997 fi
8998 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8999 if test -n "$ac_ct_OTOOL"; then
9000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9001 $as_echo "$ac_ct_OTOOL" >&6; }
9002 else
9003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9004 $as_echo "no" >&6; }
9005 fi
9006
9007   if test "x$ac_ct_OTOOL" = x; then
9008     OTOOL=":"
9009   else
9010     case $cross_compiling:$ac_tool_warned in
9011 yes:)
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9014 ac_tool_warned=yes ;;
9015 esac
9016     OTOOL=$ac_ct_OTOOL
9017   fi
9018 else
9019   OTOOL="$ac_cv_prog_OTOOL"
9020 fi
9021
9022     if test -n "$ac_tool_prefix"; then
9023   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9024 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9026 $as_echo_n "checking for $ac_word... " >&6; }
9027 if ${ac_cv_prog_OTOOL64+:} false; then :
9028   $as_echo_n "(cached) " >&6
9029 else
9030   if test -n "$OTOOL64"; then
9031   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9032 else
9033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9034 for as_dir in $PATH
9035 do
9036   IFS=$as_save_IFS
9037   test -z "$as_dir" && as_dir=.
9038     for ac_exec_ext in '' $ac_executable_extensions; do
9039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9040     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9042     break 2
9043   fi
9044 done
9045   done
9046 IFS=$as_save_IFS
9047
9048 fi
9049 fi
9050 OTOOL64=$ac_cv_prog_OTOOL64
9051 if test -n "$OTOOL64"; then
9052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9053 $as_echo "$OTOOL64" >&6; }
9054 else
9055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9056 $as_echo "no" >&6; }
9057 fi
9058
9059
9060 fi
9061 if test -z "$ac_cv_prog_OTOOL64"; then
9062   ac_ct_OTOOL64=$OTOOL64
9063   # Extract the first word of "otool64", so it can be a program name with args.
9064 set dummy otool64; ac_word=$2
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9066 $as_echo_n "checking for $ac_word... " >&6; }
9067 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9068   $as_echo_n "(cached) " >&6
9069 else
9070   if test -n "$ac_ct_OTOOL64"; then
9071   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9072 else
9073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9074 for as_dir in $PATH
9075 do
9076   IFS=$as_save_IFS
9077   test -z "$as_dir" && as_dir=.
9078     for ac_exec_ext in '' $ac_executable_extensions; do
9079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9080     ac_cv_prog_ac_ct_OTOOL64="otool64"
9081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9082     break 2
9083   fi
9084 done
9085   done
9086 IFS=$as_save_IFS
9087
9088 fi
9089 fi
9090 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9091 if test -n "$ac_ct_OTOOL64"; then
9092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9093 $as_echo "$ac_ct_OTOOL64" >&6; }
9094 else
9095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9096 $as_echo "no" >&6; }
9097 fi
9098
9099   if test "x$ac_ct_OTOOL64" = x; then
9100     OTOOL64=":"
9101   else
9102     case $cross_compiling:$ac_tool_warned in
9103 yes:)
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9106 ac_tool_warned=yes ;;
9107 esac
9108     OTOOL64=$ac_ct_OTOOL64
9109   fi
9110 else
9111   OTOOL64="$ac_cv_prog_OTOOL64"
9112 fi
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9141 $as_echo_n "checking for -single_module linker flag... " >&6; }
9142 if ${lt_cv_apple_cc_single_mod+:} false; then :
9143   $as_echo_n "(cached) " >&6
9144 else
9145   lt_cv_apple_cc_single_mod=no
9146       if test -z "${LT_MULTI_MODULE}"; then
9147         # By default we will add the -single_module flag. You can override
9148         # by either setting the environment variable LT_MULTI_MODULE
9149         # non-empty at configure time, or by adding -multi_module to the
9150         # link flags.
9151         rm -rf libconftest.dylib*
9152         echo "int foo(void){return 1;}" > conftest.c
9153         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9154 -dynamiclib -Wl,-single_module conftest.c" >&5
9155         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9156           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9157         _lt_result=$?
9158         # If there is a non-empty error log, and "single_module"
9159         # appears in it, assume the flag caused a linker warning
9160         if test -s conftest.err && $GREP single_module conftest.err; then
9161           cat conftest.err >&5
9162         # Otherwise, if the output was created with a 0 exit code from
9163         # the compiler, it worked.
9164         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9165           lt_cv_apple_cc_single_mod=yes
9166         else
9167           cat conftest.err >&5
9168         fi
9169         rm -rf libconftest.dylib*
9170         rm -f conftest.*
9171       fi
9172 fi
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9174 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9175
9176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9177 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9178 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9179   $as_echo_n "(cached) " >&6
9180 else
9181   lt_cv_ld_exported_symbols_list=no
9182       save_LDFLAGS=$LDFLAGS
9183       echo "_main" > conftest.sym
9184       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9185       if test x$ac_no_link = xyes; then
9186   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
9187 fi
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h.  */
9190
9191 int
9192 main ()
9193 {
9194
9195   ;
9196   return 0;
9197 }
9198 _ACEOF
9199 if ac_fn_c_try_link "$LINENO"; then :
9200   lt_cv_ld_exported_symbols_list=yes
9201 else
9202   lt_cv_ld_exported_symbols_list=no
9203 fi
9204 rm -f core conftest.err conftest.$ac_objext \
9205     conftest$ac_exeext conftest.$ac_ext
9206         LDFLAGS="$save_LDFLAGS"
9207
9208 fi
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9210 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9211
9212     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9213 $as_echo_n "checking for -force_load linker flag... " >&6; }
9214 if ${lt_cv_ld_force_load+:} false; then :
9215   $as_echo_n "(cached) " >&6
9216 else
9217   lt_cv_ld_force_load=no
9218       cat > conftest.c << _LT_EOF
9219 int forced_loaded() { return 2;}
9220 _LT_EOF
9221       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9222       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9223       echo "$AR cru libconftest.a conftest.o" >&5
9224       $AR cru libconftest.a conftest.o 2>&5
9225       echo "$RANLIB libconftest.a" >&5
9226       $RANLIB libconftest.a 2>&5
9227       cat > conftest.c << _LT_EOF
9228 int main() { return 0;}
9229 _LT_EOF
9230       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9231       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9232       _lt_result=$?
9233       if test -s conftest.err && $GREP force_load conftest.err; then
9234         cat conftest.err >&5
9235       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9236         lt_cv_ld_force_load=yes
9237       else
9238         cat conftest.err >&5
9239       fi
9240         rm -f conftest.err libconftest.a conftest conftest.c
9241         rm -rf conftest.dSYM
9242
9243 fi
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9245 $as_echo "$lt_cv_ld_force_load" >&6; }
9246     case $host_os in
9247     rhapsody* | darwin1.[012])
9248       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9249     darwin1.*)
9250       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9251     darwin*) # darwin 5.x on
9252       # if running on 10.5 or later, the deployment target defaults
9253       # to the OS version, if on x86, and 10.4, the deployment
9254       # target defaults to 10.4. Don't you love it?
9255       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9256         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9257           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9258         10.[012]*)
9259           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9260         10.*)
9261           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9262       esac
9263     ;;
9264   esac
9265     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9266       _lt_dar_single_mod='$single_module'
9267     fi
9268     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9269       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9270     else
9271       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9272     fi
9273     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9274       _lt_dsymutil='~$DSYMUTIL $lib || :'
9275     else
9276       _lt_dsymutil=
9277     fi
9278     ;;
9279   esac
9280
9281
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9283 $as_echo_n "checking for ANSI C header files... " >&6; }
9284 if ${ac_cv_header_stdc+:} false; then :
9285   $as_echo_n "(cached) " >&6
9286 else
9287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9288 /* end confdefs.h.  */
9289 #include <stdlib.h>
9290 #include <stdarg.h>
9291 #include <string.h>
9292 #include <float.h>
9293
9294 int
9295 main ()
9296 {
9297
9298   ;
9299   return 0;
9300 }
9301 _ACEOF
9302 if ac_fn_c_try_compile "$LINENO"; then :
9303   ac_cv_header_stdc=yes
9304 else
9305   ac_cv_header_stdc=no
9306 fi
9307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9308
9309 if test $ac_cv_header_stdc = yes; then
9310   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h.  */
9313 #include <string.h>
9314
9315 _ACEOF
9316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9317   $EGREP "memchr" >/dev/null 2>&1; then :
9318
9319 else
9320   ac_cv_header_stdc=no
9321 fi
9322 rm -f conftest*
9323
9324 fi
9325
9326 if test $ac_cv_header_stdc = yes; then
9327   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h.  */
9330 #include <stdlib.h>
9331
9332 _ACEOF
9333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9334   $EGREP "free" >/dev/null 2>&1; then :
9335
9336 else
9337   ac_cv_header_stdc=no
9338 fi
9339 rm -f conftest*
9340
9341 fi
9342
9343 if test $ac_cv_header_stdc = yes; then
9344   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9345   if test "$cross_compiling" = yes; then :
9346   :
9347 else
9348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h.  */
9350 #include <ctype.h>
9351 #include <stdlib.h>
9352 #if ((' ' & 0x0FF) == 0x020)
9353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9355 #else
9356 # define ISLOWER(c) \
9357                    (('a' <= (c) && (c) <= 'i') \
9358                      || ('j' <= (c) && (c) <= 'r') \
9359                      || ('s' <= (c) && (c) <= 'z'))
9360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9361 #endif
9362
9363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9364 int
9365 main ()
9366 {
9367   int i;
9368   for (i = 0; i < 256; i++)
9369     if (XOR (islower (i), ISLOWER (i))
9370         || toupper (i) != TOUPPER (i))
9371       return 2;
9372   return 0;
9373 }
9374 _ACEOF
9375 if ac_fn_c_try_run "$LINENO"; then :
9376
9377 else
9378   ac_cv_header_stdc=no
9379 fi
9380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9381   conftest.$ac_objext conftest.beam conftest.$ac_ext
9382 fi
9383
9384 fi
9385 fi
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9387 $as_echo "$ac_cv_header_stdc" >&6; }
9388 if test $ac_cv_header_stdc = yes; then
9389
9390 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9391
9392 fi
9393
9394 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9395 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9396                   inttypes.h stdint.h unistd.h
9397 do :
9398   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9399 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9400 "
9401 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9402   cat >>confdefs.h <<_ACEOF
9403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9404 _ACEOF
9405
9406 fi
9407
9408 done
9409
9410
9411 for ac_header in dlfcn.h
9412 do :
9413   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9414 "
9415 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9416   cat >>confdefs.h <<_ACEOF
9417 #define HAVE_DLFCN_H 1
9418 _ACEOF
9419
9420 fi
9421
9422 done
9423
9424
9425
9426
9427
9428 # Set options
9429
9430
9431
9432         enable_dlopen=no
9433
9434
9435   enable_win32_dll=no
9436
9437
9438             # Check whether --enable-shared was given.
9439 if test "${enable_shared+set}" = set; then :
9440   enableval=$enable_shared; p=${PACKAGE-default}
9441     case $enableval in
9442     yes) enable_shared=yes ;;
9443     no) enable_shared=no ;;
9444     *)
9445       enable_shared=no
9446       # Look at the argument we got.  We use all the common list separators.
9447       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9448       for pkg in $enableval; do
9449         IFS="$lt_save_ifs"
9450         if test "X$pkg" = "X$p"; then
9451           enable_shared=yes
9452         fi
9453       done
9454       IFS="$lt_save_ifs"
9455       ;;
9456     esac
9457 else
9458   enable_shared=yes
9459 fi
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469   # Check whether --enable-static was given.
9470 if test "${enable_static+set}" = set; then :
9471   enableval=$enable_static; p=${PACKAGE-default}
9472     case $enableval in
9473     yes) enable_static=yes ;;
9474     no) enable_static=no ;;
9475     *)
9476      enable_static=no
9477       # Look at the argument we got.  We use all the common list separators.
9478       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9479       for pkg in $enableval; do
9480         IFS="$lt_save_ifs"
9481         if test "X$pkg" = "X$p"; then
9482           enable_static=yes
9483         fi
9484       done
9485       IFS="$lt_save_ifs"
9486       ;;
9487     esac
9488 else
9489   enable_static=yes
9490 fi
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501 # Check whether --with-pic was given.
9502 if test "${with_pic+set}" = set; then :
9503   withval=$with_pic; lt_p=${PACKAGE-default}
9504     case $withval in
9505     yes|no) pic_mode=$withval ;;
9506     *)
9507       pic_mode=default
9508       # Look at the argument we got.  We use all the common list separators.
9509       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9510       for lt_pkg in $withval; do
9511         IFS="$lt_save_ifs"
9512         if test "X$lt_pkg" = "X$lt_p"; then
9513           pic_mode=yes
9514         fi
9515       done
9516       IFS="$lt_save_ifs"
9517       ;;
9518     esac
9519 else
9520   pic_mode=default
9521 fi
9522
9523
9524 test -z "$pic_mode" && pic_mode=default
9525
9526
9527
9528
9529
9530
9531
9532   # Check whether --enable-fast-install was given.
9533 if test "${enable_fast_install+set}" = set; then :
9534   enableval=$enable_fast_install; p=${PACKAGE-default}
9535     case $enableval in
9536     yes) enable_fast_install=yes ;;
9537     no) enable_fast_install=no ;;
9538     *)
9539       enable_fast_install=no
9540       # Look at the argument we got.  We use all the common list separators.
9541       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9542       for pkg in $enableval; do
9543         IFS="$lt_save_ifs"
9544         if test "X$pkg" = "X$p"; then
9545           enable_fast_install=yes
9546         fi
9547       done
9548       IFS="$lt_save_ifs"
9549       ;;
9550     esac
9551 else
9552   enable_fast_install=yes
9553 fi
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565 # This can be used to rebuild libtool when needed
9566 LIBTOOL_DEPS="$ltmain"
9567
9568 # Always use our own libtool.
9569 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600 test -z "$LN_S" && LN_S="ln -s"
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615 if test -n "${ZSH_VERSION+set}" ; then
9616    setopt NO_GLOB_SUBST
9617 fi
9618
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9620 $as_echo_n "checking for objdir... " >&6; }
9621 if ${lt_cv_objdir+:} false; then :
9622   $as_echo_n "(cached) " >&6
9623 else
9624   rm -f .libs 2>/dev/null
9625 mkdir .libs 2>/dev/null
9626 if test -d .libs; then
9627   lt_cv_objdir=.libs
9628 else
9629   # MS-DOS does not allow filenames that begin with a dot.
9630   lt_cv_objdir=_libs
9631 fi
9632 rmdir .libs 2>/dev/null
9633 fi
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9635 $as_echo "$lt_cv_objdir" >&6; }
9636 objdir=$lt_cv_objdir
9637
9638
9639
9640
9641
9642 cat >>confdefs.h <<_ACEOF
9643 #define LT_OBJDIR "$lt_cv_objdir/"
9644 _ACEOF
9645
9646
9647
9648
9649 case $host_os in
9650 aix3*)
9651   # AIX sometimes has problems with the GCC collect2 program.  For some
9652   # reason, if we set the COLLECT_NAMES environment variable, the problems
9653   # vanish in a puff of smoke.
9654   if test "X${COLLECT_NAMES+set}" != Xset; then
9655     COLLECT_NAMES=
9656     export COLLECT_NAMES
9657   fi
9658   ;;
9659 esac
9660
9661 # Global variables:
9662 ofile=libtool
9663 can_build_shared=yes
9664
9665 # All known linkers require a `.a' archive for static linking (except MSVC,
9666 # which needs '.lib').
9667 libext=a
9668
9669 with_gnu_ld="$lt_cv_prog_gnu_ld"
9670
9671 old_CC="$CC"
9672 old_CFLAGS="$CFLAGS"
9673
9674 # Set sane defaults for various variables
9675 test -z "$CC" && CC=cc
9676 test -z "$LTCC" && LTCC=$CC
9677 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9678 test -z "$LD" && LD=ld
9679 test -z "$ac_objext" && ac_objext=o
9680
9681 for cc_temp in $compiler""; do
9682   case $cc_temp in
9683     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9684     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9685     \-*) ;;
9686     *) break;;
9687   esac
9688 done
9689 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9690
9691
9692 # Only perform the check for file, if the check method requires it
9693 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9694 case $deplibs_check_method in
9695 file_magic*)
9696   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9697     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9698 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9699 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9700   $as_echo_n "(cached) " >&6
9701 else
9702   case $MAGIC_CMD in
9703 [\\/*] |  ?:[\\/]*)
9704   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9705   ;;
9706 *)
9707   lt_save_MAGIC_CMD="$MAGIC_CMD"
9708   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9709   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9710   for ac_dir in $ac_dummy; do
9711     IFS="$lt_save_ifs"
9712     test -z "$ac_dir" && ac_dir=.
9713     if test -f $ac_dir/${ac_tool_prefix}file; then
9714       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9715       if test -n "$file_magic_test_file"; then
9716         case $deplibs_check_method in
9717         "file_magic "*)
9718           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9719           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9720           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9721             $EGREP "$file_magic_regex" > /dev/null; then
9722             :
9723           else
9724             cat <<_LT_EOF 1>&2
9725
9726 *** Warning: the command libtool uses to detect shared libraries,
9727 *** $file_magic_cmd, produces output that libtool cannot recognize.
9728 *** The result is that libtool may fail to recognize shared libraries
9729 *** as such.  This will affect the creation of libtool libraries that
9730 *** depend on shared libraries, but programs linked with such libtool
9731 *** libraries will work regardless of this problem.  Nevertheless, you
9732 *** may want to report the problem to your system manager and/or to
9733 *** bug-libtool@gnu.org
9734
9735 _LT_EOF
9736           fi ;;
9737         esac
9738       fi
9739       break
9740     fi
9741   done
9742   IFS="$lt_save_ifs"
9743   MAGIC_CMD="$lt_save_MAGIC_CMD"
9744   ;;
9745 esac
9746 fi
9747
9748 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9749 if test -n "$MAGIC_CMD"; then
9750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9751 $as_echo "$MAGIC_CMD" >&6; }
9752 else
9753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9754 $as_echo "no" >&6; }
9755 fi
9756
9757
9758
9759
9760
9761 if test -z "$lt_cv_path_MAGIC_CMD"; then
9762   if test -n "$ac_tool_prefix"; then
9763     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9764 $as_echo_n "checking for file... " >&6; }
9765 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9766   $as_echo_n "(cached) " >&6
9767 else
9768   case $MAGIC_CMD in
9769 [\\/*] |  ?:[\\/]*)
9770   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9771   ;;
9772 *)
9773   lt_save_MAGIC_CMD="$MAGIC_CMD"
9774   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9775   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9776   for ac_dir in $ac_dummy; do
9777     IFS="$lt_save_ifs"
9778     test -z "$ac_dir" && ac_dir=.
9779     if test -f $ac_dir/file; then
9780       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9781       if test -n "$file_magic_test_file"; then
9782         case $deplibs_check_method in
9783         "file_magic "*)
9784           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9785           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9786           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9787             $EGREP "$file_magic_regex" > /dev/null; then
9788             :
9789           else
9790             cat <<_LT_EOF 1>&2
9791
9792 *** Warning: the command libtool uses to detect shared libraries,
9793 *** $file_magic_cmd, produces output that libtool cannot recognize.
9794 *** The result is that libtool may fail to recognize shared libraries
9795 *** as such.  This will affect the creation of libtool libraries that
9796 *** depend on shared libraries, but programs linked with such libtool
9797 *** libraries will work regardless of this problem.  Nevertheless, you
9798 *** may want to report the problem to your system manager and/or to
9799 *** bug-libtool@gnu.org
9800
9801 _LT_EOF
9802           fi ;;
9803         esac
9804       fi
9805       break
9806     fi
9807   done
9808   IFS="$lt_save_ifs"
9809   MAGIC_CMD="$lt_save_MAGIC_CMD"
9810   ;;
9811 esac
9812 fi
9813
9814 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9815 if test -n "$MAGIC_CMD"; then
9816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9817 $as_echo "$MAGIC_CMD" >&6; }
9818 else
9819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9820 $as_echo "no" >&6; }
9821 fi
9822
9823
9824   else
9825     MAGIC_CMD=:
9826   fi
9827 fi
9828
9829   fi
9830   ;;
9831 esac
9832
9833 # Use C for the default configuration in the libtool script
9834
9835 lt_save_CC="$CC"
9836 ac_ext=c
9837 ac_cpp='$CPP $CPPFLAGS'
9838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9841
9842
9843 # Source file extension for C test sources.
9844 ac_ext=c
9845
9846 # Object file extension for compiled C test sources.
9847 objext=o
9848 objext=$objext
9849
9850 # Code to be used in simple compile tests
9851 lt_simple_compile_test_code="int some_variable = 0;"
9852
9853 # Code to be used in simple link tests
9854 lt_simple_link_test_code='int main(){return(0);}'
9855
9856
9857
9858
9859
9860
9861
9862 # If no C compiler was specified, use CC.
9863 LTCC=${LTCC-"$CC"}
9864
9865 # If no C compiler flags were specified, use CFLAGS.
9866 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9867
9868 # Allow CC to be a program name with arguments.
9869 compiler=$CC
9870
9871 # Save the default compiler, since it gets overwritten when the other
9872 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9873 compiler_DEFAULT=$CC
9874
9875 # save warnings/boilerplate of simple test code
9876 ac_outfile=conftest.$ac_objext
9877 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9878 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9879 _lt_compiler_boilerplate=`cat conftest.err`
9880 $RM conftest*
9881
9882 ac_outfile=conftest.$ac_objext
9883 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9884 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9885 _lt_linker_boilerplate=`cat conftest.err`
9886 $RM -r conftest*
9887
9888
9889 ## CAVEAT EMPTOR:
9890 ## There is no encapsulation within the following macros, do not change
9891 ## the running order or otherwise move them around unless you know exactly
9892 ## what you are doing...
9893 if test -n "$compiler"; then
9894
9895 lt_prog_compiler_no_builtin_flag=
9896
9897 if test "$GCC" = yes; then
9898   case $cc_basename in
9899   nvcc*)
9900     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9901   *)
9902     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9903   esac
9904
9905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9906 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9907 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9908   $as_echo_n "(cached) " >&6
9909 else
9910   lt_cv_prog_compiler_rtti_exceptions=no
9911    ac_outfile=conftest.$ac_objext
9912    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9913    lt_compiler_flag="-fno-rtti -fno-exceptions"
9914    # Insert the option either (1) after the last *FLAGS variable, or
9915    # (2) before a word containing "conftest.", or (3) at the end.
9916    # Note that $ac_compile itself does not contain backslashes and begins
9917    # with a dollar sign (not a hyphen), so the echo should work correctly.
9918    # The option is referenced via a variable to avoid confusing sed.
9919    lt_compile=`echo "$ac_compile" | $SED \
9920    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9921    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9922    -e 's:$: $lt_compiler_flag:'`
9923    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9924    (eval "$lt_compile" 2>conftest.err)
9925    ac_status=$?
9926    cat conftest.err >&5
9927    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928    if (exit $ac_status) && test -s "$ac_outfile"; then
9929      # The compiler can only warn and ignore the option if not recognized
9930      # So say no if there are warnings other than the usual output.
9931      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9932      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9933      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9934        lt_cv_prog_compiler_rtti_exceptions=yes
9935      fi
9936    fi
9937    $RM conftest*
9938
9939 fi
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9941 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9942
9943 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9944     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9945 else
9946     :
9947 fi
9948
9949 fi
9950
9951
9952
9953
9954
9955
9956   lt_prog_compiler_wl=
9957 lt_prog_compiler_pic=
9958 lt_prog_compiler_static=
9959
9960
9961   if test "$GCC" = yes; then
9962     lt_prog_compiler_wl='-Wl,'
9963     lt_prog_compiler_static='-static'
9964
9965     case $host_os in
9966       aix*)
9967       # All AIX code is PIC.
9968       if test "$host_cpu" = ia64; then
9969         # AIX 5 now supports IA64 processor
9970         lt_prog_compiler_static='-Bstatic'
9971       fi
9972       ;;
9973
9974     amigaos*)
9975       case $host_cpu in
9976       powerpc)
9977             # see comment about AmigaOS4 .so support
9978             lt_prog_compiler_pic='-fPIC'
9979         ;;
9980       m68k)
9981             # FIXME: we need at least 68020 code to build shared libraries, but
9982             # adding the `-m68020' flag to GCC prevents building anything better,
9983             # like `-m68040'.
9984             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9985         ;;
9986       esac
9987       ;;
9988
9989     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9990       # PIC is the default for these OSes.
9991       ;;
9992
9993     mingw* | cygwin* | pw32* | os2* | cegcc*)
9994       # This hack is so that the source file can tell whether it is being
9995       # built for inclusion in a dll (and should export symbols for example).
9996       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9997       # (--disable-auto-import) libraries
9998       lt_prog_compiler_pic='-DDLL_EXPORT'
9999       ;;
10000
10001     darwin* | rhapsody*)
10002       # PIC is the default on this platform
10003       # Common symbols not allowed in MH_DYLIB files
10004       lt_prog_compiler_pic='-fno-common'
10005       ;;
10006
10007     haiku*)
10008       # PIC is the default for Haiku.
10009       # The "-static" flag exists, but is broken.
10010       lt_prog_compiler_static=
10011       ;;
10012
10013     hpux*)
10014       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10015       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10016       # sets the default TLS model and affects inlining.
10017       case $host_cpu in
10018       hppa*64*)
10019         # +Z the default
10020         ;;
10021       *)
10022         lt_prog_compiler_pic='-fPIC'
10023         ;;
10024       esac
10025       ;;
10026
10027     interix[3-9]*)
10028       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10029       # Instead, we relocate shared libraries at runtime.
10030       ;;
10031
10032     msdosdjgpp*)
10033       # Just because we use GCC doesn't mean we suddenly get shared libraries
10034       # on systems that don't support them.
10035       lt_prog_compiler_can_build_shared=no
10036       enable_shared=no
10037       ;;
10038
10039     *nto* | *qnx*)
10040       # QNX uses GNU C++, but need to define -shared option too, otherwise
10041       # it will coredump.
10042       lt_prog_compiler_pic='-fPIC -shared'
10043       ;;
10044
10045     sysv4*MP*)
10046       if test -d /usr/nec; then
10047         lt_prog_compiler_pic=-Kconform_pic
10048       fi
10049       ;;
10050
10051     *)
10052       lt_prog_compiler_pic='-fPIC'
10053       ;;
10054     esac
10055
10056     case $cc_basename in
10057     nvcc*) # Cuda Compiler Driver 2.2
10058       lt_prog_compiler_wl='-Xlinker '
10059       if test -n "$lt_prog_compiler_pic"; then
10060         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10061       fi
10062       ;;
10063     esac
10064   else
10065     # PORTME Check for flag to pass linker flags through the system compiler.
10066     case $host_os in
10067     aix*)
10068       lt_prog_compiler_wl='-Wl,'
10069       if test "$host_cpu" = ia64; then
10070         # AIX 5 now supports IA64 processor
10071         lt_prog_compiler_static='-Bstatic'
10072       else
10073         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10074       fi
10075       ;;
10076
10077     mingw* | cygwin* | pw32* | os2* | cegcc*)
10078       # This hack is so that the source file can tell whether it is being
10079       # built for inclusion in a dll (and should export symbols for example).
10080       lt_prog_compiler_pic='-DDLL_EXPORT'
10081       ;;
10082
10083     hpux9* | hpux10* | hpux11*)
10084       lt_prog_compiler_wl='-Wl,'
10085       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10086       # not for PA HP-UX.
10087       case $host_cpu in
10088       hppa*64*|ia64*)
10089         # +Z the default
10090         ;;
10091       *)
10092         lt_prog_compiler_pic='+Z'
10093         ;;
10094       esac
10095       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10096       lt_prog_compiler_static='${wl}-a ${wl}archive'
10097       ;;
10098
10099     irix5* | irix6* | nonstopux*)
10100       lt_prog_compiler_wl='-Wl,'
10101       # PIC (with -KPIC) is the default.
10102       lt_prog_compiler_static='-non_shared'
10103       ;;
10104
10105     linux* | k*bsd*-gnu | kopensolaris*-gnu)
10106       case $cc_basename in
10107       # old Intel for x86_64 which still supported -KPIC.
10108       ecc*)
10109         lt_prog_compiler_wl='-Wl,'
10110         lt_prog_compiler_pic='-KPIC'
10111         lt_prog_compiler_static='-static'
10112         ;;
10113       # icc used to be incompatible with GCC.
10114       # ICC 10 doesn't accept -KPIC any more.
10115       icc* | ifort*)
10116         lt_prog_compiler_wl='-Wl,'
10117         lt_prog_compiler_pic='-fPIC'
10118         lt_prog_compiler_static='-static'
10119         ;;
10120       # Lahey Fortran 8.1.
10121       lf95*)
10122         lt_prog_compiler_wl='-Wl,'
10123         lt_prog_compiler_pic='--shared'
10124         lt_prog_compiler_static='--static'
10125         ;;
10126       nagfor*)
10127         # NAG Fortran compiler
10128         lt_prog_compiler_wl='-Wl,-Wl,,'
10129         lt_prog_compiler_pic='-PIC'
10130         lt_prog_compiler_static='-Bstatic'
10131         ;;
10132       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10133         # Portland Group compilers (*not* the Pentium gcc compiler,
10134         # which looks to be a dead project)
10135         lt_prog_compiler_wl='-Wl,'
10136         lt_prog_compiler_pic='-fpic'
10137         lt_prog_compiler_static='-Bstatic'
10138         ;;
10139       ccc*)
10140         lt_prog_compiler_wl='-Wl,'
10141         # All Alpha code is PIC.
10142         lt_prog_compiler_static='-non_shared'
10143         ;;
10144       xl* | bgxl* | bgf* | mpixl*)
10145         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10146         lt_prog_compiler_wl='-Wl,'
10147         lt_prog_compiler_pic='-qpic'
10148         lt_prog_compiler_static='-qstaticlink'
10149         ;;
10150       *)
10151         case `$CC -V 2>&1 | sed 5q` in
10152         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10153           # Sun Fortran 8.3 passes all unrecognized flags to the linker
10154           lt_prog_compiler_pic='-KPIC'
10155           lt_prog_compiler_static='-Bstatic'
10156           lt_prog_compiler_wl=''
10157           ;;
10158         *Sun\ F* | *Sun*Fortran*)
10159           lt_prog_compiler_pic='-KPIC'
10160           lt_prog_compiler_static='-Bstatic'
10161           lt_prog_compiler_wl='-Qoption ld '
10162           ;;
10163         *Sun\ C*)
10164           # Sun C 5.9
10165           lt_prog_compiler_pic='-KPIC'
10166           lt_prog_compiler_static='-Bstatic'
10167           lt_prog_compiler_wl='-Wl,'
10168           ;;
10169         *Intel*\ [CF]*Compiler*)
10170           lt_prog_compiler_wl='-Wl,'
10171           lt_prog_compiler_pic='-fPIC'
10172           lt_prog_compiler_static='-static'
10173           ;;
10174         *Portland\ Group*)
10175           lt_prog_compiler_wl='-Wl,'
10176           lt_prog_compiler_pic='-fpic'
10177           lt_prog_compiler_static='-Bstatic'
10178           ;;
10179         esac
10180         ;;
10181       esac
10182       ;;
10183
10184     newsos6)
10185       lt_prog_compiler_pic='-KPIC'
10186       lt_prog_compiler_static='-Bstatic'
10187       ;;
10188
10189     *nto* | *qnx*)
10190       # QNX uses GNU C++, but need to define -shared option too, otherwise
10191       # it will coredump.
10192       lt_prog_compiler_pic='-fPIC -shared'
10193       ;;
10194
10195     osf3* | osf4* | osf5*)
10196       lt_prog_compiler_wl='-Wl,'
10197       # All OSF/1 code is PIC.
10198       lt_prog_compiler_static='-non_shared'
10199       ;;
10200
10201     rdos*)
10202       lt_prog_compiler_static='-non_shared'
10203       ;;
10204
10205     solaris*)
10206       lt_prog_compiler_pic='-KPIC'
10207       lt_prog_compiler_static='-Bstatic'
10208       case $cc_basename in
10209       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10210         lt_prog_compiler_wl='-Qoption ld ';;
10211       *)
10212         lt_prog_compiler_wl='-Wl,';;
10213       esac
10214       ;;
10215
10216     sunos4*)
10217       lt_prog_compiler_wl='-Qoption ld '
10218       lt_prog_compiler_pic='-PIC'
10219       lt_prog_compiler_static='-Bstatic'
10220       ;;
10221
10222     sysv4 | sysv4.2uw2* | sysv4.3*)
10223       lt_prog_compiler_wl='-Wl,'
10224       lt_prog_compiler_pic='-KPIC'
10225       lt_prog_compiler_static='-Bstatic'
10226       ;;
10227
10228     sysv4*MP*)
10229       if test -d /usr/nec ;then
10230         lt_prog_compiler_pic='-Kconform_pic'
10231         lt_prog_compiler_static='-Bstatic'
10232       fi
10233       ;;
10234
10235     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10236       lt_prog_compiler_wl='-Wl,'
10237       lt_prog_compiler_pic='-KPIC'
10238       lt_prog_compiler_static='-Bstatic'
10239       ;;
10240
10241     unicos*)
10242       lt_prog_compiler_wl='-Wl,'
10243       lt_prog_compiler_can_build_shared=no
10244       ;;
10245
10246     uts4*)
10247       lt_prog_compiler_pic='-pic'
10248       lt_prog_compiler_static='-Bstatic'
10249       ;;
10250
10251     *)
10252       lt_prog_compiler_can_build_shared=no
10253       ;;
10254     esac
10255   fi
10256
10257 case $host_os in
10258   # For platforms which do not support PIC, -DPIC is meaningless:
10259   *djgpp*)
10260     lt_prog_compiler_pic=
10261     ;;
10262   *)
10263     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10264     ;;
10265 esac
10266
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10268 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10269 if ${lt_cv_prog_compiler_pic+:} false; then :
10270   $as_echo_n "(cached) " >&6
10271 else
10272   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10273 fi
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10275 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10276 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10277
10278 #
10279 # Check to make sure the PIC flag actually works.
10280 #
10281 if test -n "$lt_prog_compiler_pic"; then
10282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10283 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10284 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10285   $as_echo_n "(cached) " >&6
10286 else
10287   lt_cv_prog_compiler_pic_works=no
10288    ac_outfile=conftest.$ac_objext
10289    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10290    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10291    # Insert the option either (1) after the last *FLAGS variable, or
10292    # (2) before a word containing "conftest.", or (3) at the end.
10293    # Note that $ac_compile itself does not contain backslashes and begins
10294    # with a dollar sign (not a hyphen), so the echo should work correctly.
10295    # The option is referenced via a variable to avoid confusing sed.
10296    lt_compile=`echo "$ac_compile" | $SED \
10297    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10298    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10299    -e 's:$: $lt_compiler_flag:'`
10300    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10301    (eval "$lt_compile" 2>conftest.err)
10302    ac_status=$?
10303    cat conftest.err >&5
10304    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305    if (exit $ac_status) && test -s "$ac_outfile"; then
10306      # The compiler can only warn and ignore the option if not recognized
10307      # So say no if there are warnings other than the usual output.
10308      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10309      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10310      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10311        lt_cv_prog_compiler_pic_works=yes
10312      fi
10313    fi
10314    $RM conftest*
10315
10316 fi
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10318 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10319
10320 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10321     case $lt_prog_compiler_pic in
10322      "" | " "*) ;;
10323      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10324      esac
10325 else
10326     lt_prog_compiler_pic=
10327      lt_prog_compiler_can_build_shared=no
10328 fi
10329
10330 fi
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342 #
10343 # Check to make sure the static flag actually works.
10344 #
10345 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10347 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10348 if ${lt_cv_prog_compiler_static_works+:} false; then :
10349   $as_echo_n "(cached) " >&6
10350 else
10351   lt_cv_prog_compiler_static_works=no
10352    save_LDFLAGS="$LDFLAGS"
10353    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10354    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10355    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10356      # The linker can only warn and ignore the option if not recognized
10357      # So say no if there are warnings
10358      if test -s conftest.err; then
10359        # Append any errors to the config.log.
10360        cat conftest.err 1>&5
10361        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10362        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10363        if diff conftest.exp conftest.er2 >/dev/null; then
10364          lt_cv_prog_compiler_static_works=yes
10365        fi
10366      else
10367        lt_cv_prog_compiler_static_works=yes
10368      fi
10369    fi
10370    $RM -r conftest*
10371    LDFLAGS="$save_LDFLAGS"
10372
10373 fi
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10375 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10376
10377 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10378     :
10379 else
10380     lt_prog_compiler_static=
10381 fi
10382
10383
10384
10385
10386
10387
10388
10389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10390 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10391 if ${lt_cv_prog_compiler_c_o+:} false; then :
10392   $as_echo_n "(cached) " >&6
10393 else
10394   lt_cv_prog_compiler_c_o=no
10395    $RM -r conftest 2>/dev/null
10396    mkdir conftest
10397    cd conftest
10398    mkdir out
10399    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10400
10401    lt_compiler_flag="-o out/conftest2.$ac_objext"
10402    # Insert the option either (1) after the last *FLAGS variable, or
10403    # (2) before a word containing "conftest.", or (3) at the end.
10404    # Note that $ac_compile itself does not contain backslashes and begins
10405    # with a dollar sign (not a hyphen), so the echo should work correctly.
10406    lt_compile=`echo "$ac_compile" | $SED \
10407    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10408    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10409    -e 's:$: $lt_compiler_flag:'`
10410    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10411    (eval "$lt_compile" 2>out/conftest.err)
10412    ac_status=$?
10413    cat out/conftest.err >&5
10414    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10416    then
10417      # The compiler can only warn and ignore the option if not recognized
10418      # So say no if there are warnings
10419      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10420      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10421      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10422        lt_cv_prog_compiler_c_o=yes
10423      fi
10424    fi
10425    chmod u+w . 2>&5
10426    $RM conftest*
10427    # SGI C++ compiler will create directory out/ii_files/ for
10428    # template instantiation
10429    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10430    $RM out/* && rmdir out
10431    cd ..
10432    $RM -r conftest
10433    $RM conftest*
10434
10435 fi
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10437 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10438
10439
10440
10441
10442
10443
10444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10445 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10446 if ${lt_cv_prog_compiler_c_o+:} false; then :
10447   $as_echo_n "(cached) " >&6
10448 else
10449   lt_cv_prog_compiler_c_o=no
10450    $RM -r conftest 2>/dev/null
10451    mkdir conftest
10452    cd conftest
10453    mkdir out
10454    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10455
10456    lt_compiler_flag="-o out/conftest2.$ac_objext"
10457    # Insert the option either (1) after the last *FLAGS variable, or
10458    # (2) before a word containing "conftest.", or (3) at the end.
10459    # Note that $ac_compile itself does not contain backslashes and begins
10460    # with a dollar sign (not a hyphen), so the echo should work correctly.
10461    lt_compile=`echo "$ac_compile" | $SED \
10462    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10463    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10464    -e 's:$: $lt_compiler_flag:'`
10465    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10466    (eval "$lt_compile" 2>out/conftest.err)
10467    ac_status=$?
10468    cat out/conftest.err >&5
10469    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10471    then
10472      # The compiler can only warn and ignore the option if not recognized
10473      # So say no if there are warnings
10474      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10475      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10476      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10477        lt_cv_prog_compiler_c_o=yes
10478      fi
10479    fi
10480    chmod u+w . 2>&5
10481    $RM conftest*
10482    # SGI C++ compiler will create directory out/ii_files/ for
10483    # template instantiation
10484    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10485    $RM out/* && rmdir out
10486    cd ..
10487    $RM -r conftest
10488    $RM conftest*
10489
10490 fi
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10492 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10493
10494
10495
10496
10497 hard_links="nottested"
10498 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10499   # do not overwrite the value of need_locks provided by the user
10500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10501 $as_echo_n "checking if we can lock with hard links... " >&6; }
10502   hard_links=yes
10503   $RM conftest*
10504   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10505   touch conftest.a
10506   ln conftest.a conftest.b 2>&5 || hard_links=no
10507   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10509 $as_echo "$hard_links" >&6; }
10510   if test "$hard_links" = no; then
10511     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10512 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10513     need_locks=warn
10514   fi
10515 else
10516   need_locks=no
10517 fi
10518
10519
10520
10521
10522
10523
10524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10525 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10526
10527   runpath_var=
10528   allow_undefined_flag=
10529   always_export_symbols=no
10530   archive_cmds=
10531   archive_expsym_cmds=
10532   compiler_needs_object=no
10533   enable_shared_with_static_runtimes=no
10534   export_dynamic_flag_spec=
10535   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10536   hardcode_automatic=no
10537   hardcode_direct=no
10538   hardcode_direct_absolute=no
10539   hardcode_libdir_flag_spec=
10540   hardcode_libdir_separator=
10541   hardcode_minus_L=no
10542   hardcode_shlibpath_var=unsupported
10543   inherit_rpath=no
10544   link_all_deplibs=unknown
10545   module_cmds=
10546   module_expsym_cmds=
10547   old_archive_from_new_cmds=
10548   old_archive_from_expsyms_cmds=
10549   thread_safe_flag_spec=
10550   whole_archive_flag_spec=
10551   # include_expsyms should be a list of space-separated symbols to be *always*
10552   # included in the symbol list
10553   include_expsyms=
10554   # exclude_expsyms can be an extended regexp of symbols to exclude
10555   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10556   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10557   # as well as any symbol that contains `d'.
10558   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10559   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10560   # platforms (ab)use it in PIC code, but their linkers get confused if
10561   # the symbol is explicitly referenced.  Since portable code cannot
10562   # rely on this symbol name, it's probably fine to never include it in
10563   # preloaded symbol tables.
10564   # Exclude shared library initialization/finalization symbols.
10565   extract_expsyms_cmds=
10566
10567   case $host_os in
10568   cygwin* | mingw* | pw32* | cegcc*)
10569     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10570     # When not using gcc, we currently assume that we are using
10571     # Microsoft Visual C++.
10572     if test "$GCC" != yes; then
10573       with_gnu_ld=no
10574     fi
10575     ;;
10576   interix*)
10577     # we just hope/assume this is gcc and not c89 (= MSVC++)
10578     with_gnu_ld=yes
10579     ;;
10580   openbsd*)
10581     with_gnu_ld=no
10582     ;;
10583   esac
10584
10585   ld_shlibs=yes
10586
10587   # On some targets, GNU ld is compatible enough with the native linker
10588   # that we're better off using the native interface for both.
10589   lt_use_gnu_ld_interface=no
10590   if test "$with_gnu_ld" = yes; then
10591     case $host_os in
10592       aix*)
10593         # The AIX port of GNU ld has always aspired to compatibility
10594         # with the native linker.  However, as the warning in the GNU ld
10595         # block says, versions before 2.19.5* couldn't really create working
10596         # shared libraries, regardless of the interface used.
10597         case `$LD -v 2>&1` in
10598           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10599           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10600           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10601           *)
10602             lt_use_gnu_ld_interface=yes
10603             ;;
10604         esac
10605         ;;
10606       *)
10607         lt_use_gnu_ld_interface=yes
10608         ;;
10609     esac
10610   fi
10611
10612   if test "$lt_use_gnu_ld_interface" = yes; then
10613     # If archive_cmds runs LD, not CC, wlarc should be empty
10614     wlarc='${wl}'
10615
10616     # Set some defaults for GNU ld with shared library support. These
10617     # are reset later if shared libraries are not supported. Putting them
10618     # here allows them to be overridden if necessary.
10619     runpath_var=LD_RUN_PATH
10620     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10621     export_dynamic_flag_spec='${wl}--export-dynamic'
10622     # ancient GNU ld didn't support --whole-archive et. al.
10623     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10624       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10625     else
10626       whole_archive_flag_spec=
10627     fi
10628     supports_anon_versioning=no
10629     case `$LD -v 2>&1` in
10630       *GNU\ gold*) supports_anon_versioning=yes ;;
10631       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10632       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10633       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10634       *\ 2.11.*) ;; # other 2.11 versions
10635       *) supports_anon_versioning=yes ;;
10636     esac
10637
10638     # See if GNU ld supports shared libraries.
10639     case $host_os in
10640     aix[3-9]*)
10641       # On AIX/PPC, the GNU linker is very broken
10642       if test "$host_cpu" != ia64; then
10643         ld_shlibs=no
10644         cat <<_LT_EOF 1>&2
10645
10646 *** Warning: the GNU linker, at least up to release 2.19, is reported
10647 *** to be unable to reliably create shared libraries on AIX.
10648 *** Therefore, libtool is disabling shared libraries support.  If you
10649 *** really care for shared libraries, you may want to install binutils
10650 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10651 *** You will then need to restart the configuration process.
10652
10653 _LT_EOF
10654       fi
10655       ;;
10656
10657     amigaos*)
10658       case $host_cpu in
10659       powerpc)
10660             # see comment about AmigaOS4 .so support
10661             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10662             archive_expsym_cmds=''
10663         ;;
10664       m68k)
10665             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)'
10666             hardcode_libdir_flag_spec='-L$libdir'
10667             hardcode_minus_L=yes
10668         ;;
10669       esac
10670       ;;
10671
10672     beos*)
10673       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10674         allow_undefined_flag=unsupported
10675         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10676         # support --undefined.  This deserves some investigation.  FIXME
10677         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10678       else
10679         ld_shlibs=no
10680       fi
10681       ;;
10682
10683     cygwin* | mingw* | pw32* | cegcc*)
10684       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10685       # as there is no search path for DLLs.
10686       hardcode_libdir_flag_spec='-L$libdir'
10687       export_dynamic_flag_spec='${wl}--export-all-symbols'
10688       allow_undefined_flag=unsupported
10689       always_export_symbols=no
10690       enable_shared_with_static_runtimes=yes
10691       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'
10692       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10693
10694       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10695         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10696         # If the export-symbols file already is a .def file (1st line
10697         # is EXPORTS), use it as is; otherwise, prepend...
10698         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10699           cp $export_symbols $output_objdir/$soname.def;
10700         else
10701           echo EXPORTS > $output_objdir/$soname.def;
10702           cat $export_symbols >> $output_objdir/$soname.def;
10703         fi~
10704         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10705       else
10706         ld_shlibs=no
10707       fi
10708       ;;
10709
10710     haiku*)
10711       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10712       link_all_deplibs=yes
10713       ;;
10714
10715     interix[3-9]*)
10716       hardcode_direct=no
10717       hardcode_shlibpath_var=no
10718       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10719       export_dynamic_flag_spec='${wl}-E'
10720       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10721       # Instead, shared libraries are loaded at an image base (0x10000000 by
10722       # default) and relocated if they conflict, which is a slow very memory
10723       # consuming and fragmenting process.  To avoid this, we pick a random,
10724       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10725       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10726       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10727       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'
10728       ;;
10729
10730     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10731       tmp_diet=no
10732       if test "$host_os" = linux-dietlibc; then
10733         case $cc_basename in
10734           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10735         esac
10736       fi
10737       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10738          && test "$tmp_diet" = no
10739       then
10740         tmp_addflag=' $pic_flag'
10741         tmp_sharedflag='-shared'
10742         case $cc_basename,$host_cpu in
10743         pgcc*)                          # Portland Group C compiler
10744           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'
10745           tmp_addflag=' $pic_flag'
10746           ;;
10747         pgf77* | pgf90* | pgf95* | pgfortran*)
10748                                         # Portland Group f77 and f90 compilers
10749           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'
10750           tmp_addflag=' $pic_flag -Mnomain' ;;
10751         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10752           tmp_addflag=' -i_dynamic' ;;
10753         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10754           tmp_addflag=' -i_dynamic -nofor_main' ;;
10755         ifc* | ifort*)                  # Intel Fortran compiler
10756           tmp_addflag=' -nofor_main' ;;
10757         lf95*)                          # Lahey Fortran 8.1
10758           whole_archive_flag_spec=
10759           tmp_sharedflag='--shared' ;;
10760         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10761           tmp_sharedflag='-qmkshrobj'
10762           tmp_addflag= ;;
10763         nvcc*)  # Cuda Compiler Driver 2.2
10764           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'
10765           compiler_needs_object=yes
10766           ;;
10767         esac
10768         case `$CC -V 2>&1 | sed 5q` in
10769         *Sun\ C*)                       # Sun C 5.9
10770           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'
10771           compiler_needs_object=yes
10772           tmp_sharedflag='-G' ;;
10773         *Sun\ F*)                       # Sun Fortran 8.3
10774           tmp_sharedflag='-G' ;;
10775         esac
10776         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10777
10778         if test "x$supports_anon_versioning" = xyes; then
10779           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10780             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10781             echo "local: *; };" >> $output_objdir/$libname.ver~
10782             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10783         fi
10784
10785         case $cc_basename in
10786         xlf* | bgf* | bgxlf* | mpixlf*)
10787           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10788           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10789           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10790           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10791           if test "x$supports_anon_versioning" = xyes; then
10792             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10793               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10794               echo "local: *; };" >> $output_objdir/$libname.ver~
10795               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10796           fi
10797           ;;
10798         esac
10799       else
10800         ld_shlibs=no
10801       fi
10802       ;;
10803
10804     netbsd*)
10805       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10806         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10807         wlarc=
10808       else
10809         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10810         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10811       fi
10812       ;;
10813
10814     solaris*)
10815       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10816         ld_shlibs=no
10817         cat <<_LT_EOF 1>&2
10818
10819 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10820 *** create shared libraries on Solaris systems.  Therefore, libtool
10821 *** is disabling shared libraries support.  We urge you to upgrade GNU
10822 *** binutils to release 2.9.1 or newer.  Another option is to modify
10823 *** your PATH or compiler configuration so that the native linker is
10824 *** used, and then restart.
10825
10826 _LT_EOF
10827       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10828         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10829         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10830       else
10831         ld_shlibs=no
10832       fi
10833       ;;
10834
10835     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10836       case `$LD -v 2>&1` in
10837         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10838         ld_shlibs=no
10839         cat <<_LT_EOF 1>&2
10840
10841 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10842 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10843 *** is disabling shared libraries support.  We urge you to upgrade GNU
10844 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10845 *** your PATH or compiler configuration so that the native linker is
10846 *** used, and then restart.
10847
10848 _LT_EOF
10849         ;;
10850         *)
10851           # For security reasons, it is highly recommended that you always
10852           # use absolute paths for naming shared libraries, and exclude the
10853           # DT_RUNPATH tag from executables and libraries.  But doing so
10854           # requires that you compile everything twice, which is a pain.
10855           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10856             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10857             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10858             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10859           else
10860             ld_shlibs=no
10861           fi
10862         ;;
10863       esac
10864       ;;
10865
10866     sunos4*)
10867       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10868       wlarc=
10869       hardcode_direct=yes
10870       hardcode_shlibpath_var=no
10871       ;;
10872
10873     *)
10874       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10875         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10876         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10877       else
10878         ld_shlibs=no
10879       fi
10880       ;;
10881     esac
10882
10883     if test "$ld_shlibs" = no; then
10884       runpath_var=
10885       hardcode_libdir_flag_spec=
10886       export_dynamic_flag_spec=
10887       whole_archive_flag_spec=
10888     fi
10889   else
10890     # PORTME fill in a description of your system's linker (not GNU ld)
10891     case $host_os in
10892     aix3*)
10893       allow_undefined_flag=unsupported
10894       always_export_symbols=yes
10895       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'
10896       # Note: this linker hardcodes the directories in LIBPATH if there
10897       # are no directories specified by -L.
10898       hardcode_minus_L=yes
10899       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10900         # Neither direct hardcoding nor static linking is supported with a
10901         # broken collect2.
10902         hardcode_direct=unsupported
10903       fi
10904       ;;
10905
10906     aix[4-9]*)
10907       if test "$host_cpu" = ia64; then
10908         # On IA64, the linker does run time linking by default, so we don't
10909         # have to do anything special.
10910         aix_use_runtimelinking=no
10911         exp_sym_flag='-Bexport'
10912         no_entry_flag=""
10913       else
10914         # If we're using GNU nm, then we don't want the "-C" option.
10915         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10916         # Also, AIX nm treats weak defined symbols like other global
10917         # defined symbols, whereas GNU nm marks them as "W".
10918         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10919           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'
10920         else
10921           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'
10922         fi
10923         aix_use_runtimelinking=no
10924
10925         # Test if we are trying to use run time linking or normal
10926         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10927         # need to do runtime linking.
10928         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10929           for ld_flag in $LDFLAGS; do
10930           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10931             aix_use_runtimelinking=yes
10932             break
10933           fi
10934           done
10935           ;;
10936         esac
10937
10938         exp_sym_flag='-bexport'
10939         no_entry_flag='-bnoentry'
10940       fi
10941
10942       # When large executables or shared objects are built, AIX ld can
10943       # have problems creating the table of contents.  If linking a library
10944       # or program results in "error TOC overflow" add -mminimal-toc to
10945       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10946       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10947
10948       archive_cmds=''
10949       hardcode_direct=yes
10950       hardcode_direct_absolute=yes
10951       hardcode_libdir_separator=':'
10952       link_all_deplibs=yes
10953       file_list_spec='${wl}-f,'
10954
10955       if test "$GCC" = yes; then
10956         case $host_os in aix4.[012]|aix4.[012].*)
10957         # We only want to do this on AIX 4.2 and lower, the check
10958         # below for broken collect2 doesn't work under 4.3+
10959           collect2name=`${CC} -print-prog-name=collect2`
10960           if test -f "$collect2name" &&
10961            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10962           then
10963           # We have reworked collect2
10964           :
10965           else
10966           # We have old collect2
10967           hardcode_direct=unsupported
10968           # It fails to find uninstalled libraries when the uninstalled
10969           # path is not listed in the libpath.  Setting hardcode_minus_L
10970           # to unsupported forces relinking
10971           hardcode_minus_L=yes
10972           hardcode_libdir_flag_spec='-L$libdir'
10973           hardcode_libdir_separator=
10974           fi
10975           ;;
10976         esac
10977         shared_flag='-shared'
10978         if test "$aix_use_runtimelinking" = yes; then
10979           shared_flag="$shared_flag "'${wl}-G'
10980         fi
10981       else
10982         # not using gcc
10983         if test "$host_cpu" = ia64; then
10984         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10985         # chokes on -Wl,-G. The following line is correct:
10986           shared_flag='-G'
10987         else
10988           if test "$aix_use_runtimelinking" = yes; then
10989             shared_flag='${wl}-G'
10990           else
10991             shared_flag='${wl}-bM:SRE'
10992           fi
10993         fi
10994       fi
10995
10996       export_dynamic_flag_spec='${wl}-bexpall'
10997       # It seems that -bexpall does not export symbols beginning with
10998       # underscore (_), so it is better to generate a list of symbols to export.
10999       always_export_symbols=yes
11000       if test "$aix_use_runtimelinking" = yes; then
11001         # Warning - without using the other runtime loading flags (-brtl),
11002         # -berok will link without error, but may produce a broken library.
11003         allow_undefined_flag='-berok'
11004         # Determine the default libpath from the value encoded in an
11005         # empty executable.
11006         if test "${lt_cv_aix_libpath+set}" = set; then
11007   aix_libpath=$lt_cv_aix_libpath
11008 else
11009   if ${lt_cv_aix_libpath_+:} false; then :
11010   $as_echo_n "(cached) " >&6
11011 else
11012   if test x$ac_no_link = xyes; then
11013   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
11014 fi
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h.  */
11017
11018 int
11019 main ()
11020 {
11021
11022   ;
11023   return 0;
11024 }
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"; then :
11027
11028   lt_aix_libpath_sed='
11029       /Import File Strings/,/^$/ {
11030           /^0/ {
11031               s/^0  *\([^ ]*\) *$/\1/
11032               p
11033           }
11034       }'
11035   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11036   # Check for a 64-bit object if we didn't find anything.
11037   if test -z "$lt_cv_aix_libpath_"; then
11038     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11039   fi
11040 fi
11041 rm -f core conftest.err conftest.$ac_objext \
11042     conftest$ac_exeext conftest.$ac_ext
11043   if test -z "$lt_cv_aix_libpath_"; then
11044     lt_cv_aix_libpath_="/usr/lib:/lib"
11045   fi
11046
11047 fi
11048
11049   aix_libpath=$lt_cv_aix_libpath_
11050 fi
11051
11052         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11053         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"
11054       else
11055         if test "$host_cpu" = ia64; then
11056           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11057           allow_undefined_flag="-z nodefs"
11058           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"
11059         else
11060          # Determine the default libpath from the value encoded in an
11061          # empty executable.
11062          if test "${lt_cv_aix_libpath+set}" = set; then
11063   aix_libpath=$lt_cv_aix_libpath
11064 else
11065   if ${lt_cv_aix_libpath_+:} false; then :
11066   $as_echo_n "(cached) " >&6
11067 else
11068   if test x$ac_no_link = xyes; then
11069   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
11070 fi
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h.  */
11073
11074 int
11075 main ()
11076 {
11077
11078   ;
11079   return 0;
11080 }
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083
11084   lt_aix_libpath_sed='
11085       /Import File Strings/,/^$/ {
11086           /^0/ {
11087               s/^0  *\([^ ]*\) *$/\1/
11088               p
11089           }
11090       }'
11091   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11092   # Check for a 64-bit object if we didn't find anything.
11093   if test -z "$lt_cv_aix_libpath_"; then
11094     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11095   fi
11096 fi
11097 rm -f core conftest.err conftest.$ac_objext \
11098     conftest$ac_exeext conftest.$ac_ext
11099   if test -z "$lt_cv_aix_libpath_"; then
11100     lt_cv_aix_libpath_="/usr/lib:/lib"
11101   fi
11102
11103 fi
11104
11105   aix_libpath=$lt_cv_aix_libpath_
11106 fi
11107
11108          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11109           # Warning - without using the other run time loading flags,
11110           # -berok will link without error, but may produce a broken library.
11111           no_undefined_flag=' ${wl}-bernotok'
11112           allow_undefined_flag=' ${wl}-berok'
11113           if test "$with_gnu_ld" = yes; then
11114             # We only use this code for GNU lds that support --whole-archive.
11115             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11116           else
11117             # Exported symbols can be pulled into shared objects from archives
11118             whole_archive_flag_spec='$convenience'
11119           fi
11120           archive_cmds_need_lc=yes
11121           # This is similar to how AIX traditionally builds its shared libraries.
11122           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'
11123         fi
11124       fi
11125       ;;
11126
11127     amigaos*)
11128       case $host_cpu in
11129       powerpc)
11130             # see comment about AmigaOS4 .so support
11131             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11132             archive_expsym_cmds=''
11133         ;;
11134       m68k)
11135             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)'
11136             hardcode_libdir_flag_spec='-L$libdir'
11137             hardcode_minus_L=yes
11138         ;;
11139       esac
11140       ;;
11141
11142     bsdi[45]*)
11143       export_dynamic_flag_spec=-rdynamic
11144       ;;
11145
11146     cygwin* | mingw* | pw32* | cegcc*)
11147       # When not using gcc, we currently assume that we are using
11148       # Microsoft Visual C++.
11149       # hardcode_libdir_flag_spec is actually meaningless, as there is
11150       # no search path for DLLs.
11151       case $cc_basename in
11152       cl*)
11153         # Native MSVC
11154         hardcode_libdir_flag_spec=' '
11155         allow_undefined_flag=unsupported
11156         always_export_symbols=yes
11157         file_list_spec='@'
11158         # Tell ltmain to make .lib files, not .a files.
11159         libext=lib
11160         # Tell ltmain to make .dll files, not .so files.
11161         shrext_cmds=".dll"
11162         # FIXME: Setting linknames here is a bad hack.
11163         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11164         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11165             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11166           else
11167             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11168           fi~
11169           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11170           linknames='
11171         # The linker will not automatically build a static lib if we build a DLL.
11172         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11173         enable_shared_with_static_runtimes=yes
11174         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11175         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11176         # Don't use ranlib
11177         old_postinstall_cmds='chmod 644 $oldlib'
11178         postlink_cmds='lt_outputfile="@OUTPUT@"~
11179           lt_tool_outputfile="@TOOL_OUTPUT@"~
11180           case $lt_outputfile in
11181             *.exe|*.EXE) ;;
11182             *)
11183               lt_outputfile="$lt_outputfile.exe"
11184               lt_tool_outputfile="$lt_tool_outputfile.exe"
11185               ;;
11186           esac~
11187           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11188             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11189             $RM "$lt_outputfile.manifest";
11190           fi'
11191         ;;
11192       *)
11193         # Assume MSVC wrapper
11194         hardcode_libdir_flag_spec=' '
11195         allow_undefined_flag=unsupported
11196         # Tell ltmain to make .lib files, not .a files.
11197         libext=lib
11198         # Tell ltmain to make .dll files, not .so files.
11199         shrext_cmds=".dll"
11200         # FIXME: Setting linknames here is a bad hack.
11201         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11202         # The linker will automatically build a .lib file if we build a DLL.
11203         old_archive_from_new_cmds='true'
11204         # FIXME: Should let the user specify the lib program.
11205         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11206         enable_shared_with_static_runtimes=yes
11207         ;;
11208       esac
11209       ;;
11210
11211     darwin* | rhapsody*)
11212
11213
11214   archive_cmds_need_lc=no
11215   hardcode_direct=no
11216   hardcode_automatic=yes
11217   hardcode_shlibpath_var=unsupported
11218   if test "$lt_cv_ld_force_load" = "yes"; then
11219     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\"`'
11220
11221   else
11222     whole_archive_flag_spec=''
11223   fi
11224   link_all_deplibs=yes
11225   allow_undefined_flag="$_lt_dar_allow_undefined"
11226   case $cc_basename in
11227      ifort*) _lt_dar_can_shared=yes ;;
11228      *) _lt_dar_can_shared=$GCC ;;
11229   esac
11230   if test "$_lt_dar_can_shared" = "yes"; then
11231     output_verbose_link_cmd=func_echo_all
11232     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11233     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11234     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}"
11235     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}"
11236
11237   else
11238   ld_shlibs=no
11239   fi
11240
11241       ;;
11242
11243     dgux*)
11244       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11245       hardcode_libdir_flag_spec='-L$libdir'
11246       hardcode_shlibpath_var=no
11247       ;;
11248
11249     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11250     # support.  Future versions do this automatically, but an explicit c++rt0.o
11251     # does not break anything, and helps significantly (at the cost of a little
11252     # extra space).
11253     freebsd2.2*)
11254       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11255       hardcode_libdir_flag_spec='-R$libdir'
11256       hardcode_direct=yes
11257       hardcode_shlibpath_var=no
11258       ;;
11259
11260     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11261     freebsd2.*)
11262       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11263       hardcode_direct=yes
11264       hardcode_minus_L=yes
11265       hardcode_shlibpath_var=no
11266       ;;
11267
11268     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11269     freebsd* | dragonfly*)
11270       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11271       hardcode_libdir_flag_spec='-R$libdir'
11272       hardcode_direct=yes
11273       hardcode_shlibpath_var=no
11274       ;;
11275
11276     hpux9*)
11277       if test "$GCC" = yes; then
11278         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'
11279       else
11280         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'
11281       fi
11282       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11283       hardcode_libdir_separator=:
11284       hardcode_direct=yes
11285
11286       # hardcode_minus_L: Not really in the search PATH,
11287       # but as the default location of the library.
11288       hardcode_minus_L=yes
11289       export_dynamic_flag_spec='${wl}-E'
11290       ;;
11291
11292     hpux10*)
11293       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11294         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11295       else
11296         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11297       fi
11298       if test "$with_gnu_ld" = no; then
11299         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11300         hardcode_libdir_separator=:
11301         hardcode_direct=yes
11302         hardcode_direct_absolute=yes
11303         export_dynamic_flag_spec='${wl}-E'
11304         # hardcode_minus_L: Not really in the search PATH,
11305         # but as the default location of the library.
11306         hardcode_minus_L=yes
11307       fi
11308       ;;
11309
11310     hpux11*)
11311       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11312         case $host_cpu in
11313         hppa*64*)
11314           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11315           ;;
11316         ia64*)
11317           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11318           ;;
11319         *)
11320           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11321           ;;
11322         esac
11323       else
11324         case $host_cpu in
11325         hppa*64*)
11326           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11327           ;;
11328         ia64*)
11329           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11330           ;;
11331         *)
11332
11333           # Older versions of the 11.00 compiler do not understand -b yet
11334           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11335           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11336 $as_echo_n "checking if $CC understands -b... " >&6; }
11337 if ${lt_cv_prog_compiler__b+:} false; then :
11338   $as_echo_n "(cached) " >&6
11339 else
11340   lt_cv_prog_compiler__b=no
11341    save_LDFLAGS="$LDFLAGS"
11342    LDFLAGS="$LDFLAGS -b"
11343    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11344    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11345      # The linker can only warn and ignore the option if not recognized
11346      # So say no if there are warnings
11347      if test -s conftest.err; then
11348        # Append any errors to the config.log.
11349        cat conftest.err 1>&5
11350        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11351        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11352        if diff conftest.exp conftest.er2 >/dev/null; then
11353          lt_cv_prog_compiler__b=yes
11354        fi
11355      else
11356        lt_cv_prog_compiler__b=yes
11357      fi
11358    fi
11359    $RM -r conftest*
11360    LDFLAGS="$save_LDFLAGS"
11361
11362 fi
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11364 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11365
11366 if test x"$lt_cv_prog_compiler__b" = xyes; then
11367     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11368 else
11369     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11370 fi
11371
11372           ;;
11373         esac
11374       fi
11375       if test "$with_gnu_ld" = no; then
11376         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11377         hardcode_libdir_separator=:
11378
11379         case $host_cpu in
11380         hppa*64*|ia64*)
11381           hardcode_direct=no
11382           hardcode_shlibpath_var=no
11383           ;;
11384         *)
11385           hardcode_direct=yes
11386           hardcode_direct_absolute=yes
11387           export_dynamic_flag_spec='${wl}-E'
11388
11389           # hardcode_minus_L: Not really in the search PATH,
11390           # but as the default location of the library.
11391           hardcode_minus_L=yes
11392           ;;
11393         esac
11394       fi
11395       ;;
11396
11397     irix5* | irix6* | nonstopux*)
11398       if test "$GCC" = yes; then
11399         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'
11400         # Try to use the -exported_symbol ld option, if it does not
11401         # work, assume that -exports_file does not work either and
11402         # implicitly export all symbols.
11403         # This should be the same for all languages, so no per-tag cache variable.
11404         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11405 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11406 if ${lt_cv_irix_exported_symbol+:} false; then :
11407   $as_echo_n "(cached) " >&6
11408 else
11409   save_LDFLAGS="$LDFLAGS"
11410            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11411            if test x$ac_no_link = xyes; then
11412   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
11413 fi
11414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h.  */
11416 int foo (void) { return 0; }
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419   lt_cv_irix_exported_symbol=yes
11420 else
11421   lt_cv_irix_exported_symbol=no
11422 fi
11423 rm -f core conftest.err conftest.$ac_objext \
11424     conftest$ac_exeext conftest.$ac_ext
11425            LDFLAGS="$save_LDFLAGS"
11426 fi
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11428 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11429         if test "$lt_cv_irix_exported_symbol" = yes; then
11430           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'
11431         fi
11432       else
11433         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'
11434         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'
11435       fi
11436       archive_cmds_need_lc='no'
11437       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11438       hardcode_libdir_separator=:
11439       inherit_rpath=yes
11440       link_all_deplibs=yes
11441       ;;
11442
11443     netbsd*)
11444       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11445         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11446       else
11447         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11448       fi
11449       hardcode_libdir_flag_spec='-R$libdir'
11450       hardcode_direct=yes
11451       hardcode_shlibpath_var=no
11452       ;;
11453
11454     newsos6)
11455       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11456       hardcode_direct=yes
11457       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11458       hardcode_libdir_separator=:
11459       hardcode_shlibpath_var=no
11460       ;;
11461
11462     *nto* | *qnx*)
11463       ;;
11464
11465     openbsd*)
11466       if test -f /usr/libexec/ld.so; then
11467         hardcode_direct=yes
11468         hardcode_shlibpath_var=no
11469         hardcode_direct_absolute=yes
11470         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11471           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11472           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11473           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11474           export_dynamic_flag_spec='${wl}-E'
11475         else
11476           case $host_os in
11477            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11478              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11479              hardcode_libdir_flag_spec='-R$libdir'
11480              ;;
11481            *)
11482              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11483              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11484              ;;
11485           esac
11486         fi
11487       else
11488         ld_shlibs=no
11489       fi
11490       ;;
11491
11492     os2*)
11493       hardcode_libdir_flag_spec='-L$libdir'
11494       hardcode_minus_L=yes
11495       allow_undefined_flag=unsupported
11496       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'
11497       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11498       ;;
11499
11500     osf3*)
11501       if test "$GCC" = yes; then
11502         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11503         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'
11504       else
11505         allow_undefined_flag=' -expect_unresolved \*'
11506         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'
11507       fi
11508       archive_cmds_need_lc='no'
11509       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11510       hardcode_libdir_separator=:
11511       ;;
11512
11513     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11514       if test "$GCC" = yes; then
11515         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11516         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'
11517         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11518       else
11519         allow_undefined_flag=' -expect_unresolved \*'
11520         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'
11521         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~
11522         $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'
11523
11524         # Both c and cxx compiler support -rpath directly
11525         hardcode_libdir_flag_spec='-rpath $libdir'
11526       fi
11527       archive_cmds_need_lc='no'
11528       hardcode_libdir_separator=:
11529       ;;
11530
11531     solaris*)
11532       no_undefined_flag=' -z defs'
11533       if test "$GCC" = yes; then
11534         wlarc='${wl}'
11535         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11536         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11537           $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'
11538       else
11539         case `$CC -V 2>&1` in
11540         *"Compilers 5.0"*)
11541           wlarc=''
11542           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11543           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11544           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11545           ;;
11546         *)
11547           wlarc='${wl}'
11548           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11549           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11550           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11551           ;;
11552         esac
11553       fi
11554       hardcode_libdir_flag_spec='-R$libdir'
11555       hardcode_shlibpath_var=no
11556       case $host_os in
11557       solaris2.[0-5] | solaris2.[0-5].*) ;;
11558       *)
11559         # The compiler driver will combine and reorder linker options,
11560         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11561         # but is careful enough not to reorder.
11562         # Supported since Solaris 2.6 (maybe 2.5.1?)
11563         if test "$GCC" = yes; then
11564           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11565         else
11566           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11567         fi
11568         ;;
11569       esac
11570       link_all_deplibs=yes
11571       ;;
11572
11573     sunos4*)
11574       if test "x$host_vendor" = xsequent; then
11575         # Use $CC to link under sequent, because it throws in some extra .o
11576         # files that make .init and .fini sections work.
11577         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11578       else
11579         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11580       fi
11581       hardcode_libdir_flag_spec='-L$libdir'
11582       hardcode_direct=yes
11583       hardcode_minus_L=yes
11584       hardcode_shlibpath_var=no
11585       ;;
11586
11587     sysv4)
11588       case $host_vendor in
11589         sni)
11590           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11591           hardcode_direct=yes # is this really true???
11592         ;;
11593         siemens)
11594           ## LD is ld it makes a PLAMLIB
11595           ## CC just makes a GrossModule.
11596           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11597           reload_cmds='$CC -r -o $output$reload_objs'
11598           hardcode_direct=no
11599         ;;
11600         motorola)
11601           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11602           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11603         ;;
11604       esac
11605       runpath_var='LD_RUN_PATH'
11606       hardcode_shlibpath_var=no
11607       ;;
11608
11609     sysv4.3*)
11610       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11611       hardcode_shlibpath_var=no
11612       export_dynamic_flag_spec='-Bexport'
11613       ;;
11614
11615     sysv4*MP*)
11616       if test -d /usr/nec; then
11617         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11618         hardcode_shlibpath_var=no
11619         runpath_var=LD_RUN_PATH
11620         hardcode_runpath_var=yes
11621         ld_shlibs=yes
11622       fi
11623       ;;
11624
11625     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11626       no_undefined_flag='${wl}-z,text'
11627       archive_cmds_need_lc=no
11628       hardcode_shlibpath_var=no
11629       runpath_var='LD_RUN_PATH'
11630
11631       if test "$GCC" = yes; then
11632         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11633         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11634       else
11635         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11636         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11637       fi
11638       ;;
11639
11640     sysv5* | sco3.2v5* | sco5v6*)
11641       # Note: We can NOT use -z defs as we might desire, because we do not
11642       # link with -lc, and that would cause any symbols used from libc to
11643       # always be unresolved, which means just about no library would
11644       # ever link correctly.  If we're not using GNU ld we use -z text
11645       # though, which does catch some bad symbols but isn't as heavy-handed
11646       # as -z defs.
11647       no_undefined_flag='${wl}-z,text'
11648       allow_undefined_flag='${wl}-z,nodefs'
11649       archive_cmds_need_lc=no
11650       hardcode_shlibpath_var=no
11651       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11652       hardcode_libdir_separator=':'
11653       link_all_deplibs=yes
11654       export_dynamic_flag_spec='${wl}-Bexport'
11655       runpath_var='LD_RUN_PATH'
11656
11657       if test "$GCC" = yes; then
11658         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11659         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11660       else
11661         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11662         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11663       fi
11664       ;;
11665
11666     uts4*)
11667       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11668       hardcode_libdir_flag_spec='-L$libdir'
11669       hardcode_shlibpath_var=no
11670       ;;
11671
11672     *)
11673       ld_shlibs=no
11674       ;;
11675     esac
11676
11677     if test x$host_vendor = xsni; then
11678       case $host in
11679       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11680         export_dynamic_flag_spec='${wl}-Blargedynsym'
11681         ;;
11682       esac
11683     fi
11684   fi
11685
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11687 $as_echo "$ld_shlibs" >&6; }
11688 test "$ld_shlibs" = no && can_build_shared=no
11689
11690 with_gnu_ld=$with_gnu_ld
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706 #
11707 # Do we need to explicitly link libc?
11708 #
11709 case "x$archive_cmds_need_lc" in
11710 x|xyes)
11711   # Assume -lc should be added
11712   archive_cmds_need_lc=yes
11713
11714   if test "$enable_shared" = yes && test "$GCC" = yes; then
11715     case $archive_cmds in
11716     *'~'*)
11717       # FIXME: we may have to deal with multi-command sequences.
11718       ;;
11719     '$CC '*)
11720       # Test whether the compiler implicitly links with -lc since on some
11721       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11722       # to ld, don't add -lc before -lgcc.
11723       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11724 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11725 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11726   $as_echo_n "(cached) " >&6
11727 else
11728   $RM conftest*
11729         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11730
11731         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11732   (eval $ac_compile) 2>&5
11733   ac_status=$?
11734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11735   test $ac_status = 0; } 2>conftest.err; then
11736           soname=conftest
11737           lib=conftest
11738           libobjs=conftest.$ac_objext
11739           deplibs=
11740           wl=$lt_prog_compiler_wl
11741           pic_flag=$lt_prog_compiler_pic
11742           compiler_flags=-v
11743           linker_flags=-v
11744           verstring=
11745           output_objdir=.
11746           libname=conftest
11747           lt_save_allow_undefined_flag=$allow_undefined_flag
11748           allow_undefined_flag=
11749           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11750   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11751   ac_status=$?
11752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11753   test $ac_status = 0; }
11754           then
11755             lt_cv_archive_cmds_need_lc=no
11756           else
11757             lt_cv_archive_cmds_need_lc=yes
11758           fi
11759           allow_undefined_flag=$lt_save_allow_undefined_flag
11760         else
11761           cat conftest.err 1>&5
11762         fi
11763         $RM conftest*
11764
11765 fi
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11767 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11768       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11769       ;;
11770     esac
11771   fi
11772   ;;
11773 esac
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11927 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11928
11929 if test "$GCC" = yes; then
11930   case $host_os in
11931     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11932     *) lt_awk_arg="/^libraries:/" ;;
11933   esac
11934   case $host_os in
11935     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11936     *) lt_sed_strip_eq="s,=/,/,g" ;;
11937   esac
11938   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11939   case $lt_search_path_spec in
11940   *\;*)
11941     # if the path contains ";" then we assume it to be the separator
11942     # otherwise default to the standard path separator (i.e. ":") - it is
11943     # assumed that no part of a normal pathname contains ";" but that should
11944     # okay in the real world where ";" in dirpaths is itself problematic.
11945     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11946     ;;
11947   *)
11948     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11949     ;;
11950   esac
11951   # Ok, now we have the path, separated by spaces, we can step through it
11952   # and add multilib dir if necessary.
11953   lt_tmp_lt_search_path_spec=
11954   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11955   for lt_sys_path in $lt_search_path_spec; do
11956     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11957       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11958     else
11959       test -d "$lt_sys_path" && \
11960         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11961     fi
11962   done
11963   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11964 BEGIN {RS=" "; FS="/|\n";} {
11965   lt_foo="";
11966   lt_count=0;
11967   for (lt_i = NF; lt_i > 0; lt_i--) {
11968     if ($lt_i != "" && $lt_i != ".") {
11969       if ($lt_i == "..") {
11970         lt_count++;
11971       } else {
11972         if (lt_count == 0) {
11973           lt_foo="/" $lt_i lt_foo;
11974         } else {
11975           lt_count--;
11976         }
11977       }
11978     }
11979   }
11980   if (lt_foo != "") { lt_freq[lt_foo]++; }
11981   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11982 }'`
11983   # AWK program above erroneously prepends '/' to C:/dos/paths
11984   # for these hosts.
11985   case $host_os in
11986     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11987       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11988   esac
11989   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11990 else
11991   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11992 fi
11993 library_names_spec=
11994 libname_spec='lib$name'
11995 soname_spec=
11996 shrext_cmds=".so"
11997 postinstall_cmds=
11998 postuninstall_cmds=
11999 finish_cmds=
12000 finish_eval=
12001 shlibpath_var=
12002 shlibpath_overrides_runpath=unknown
12003 version_type=none
12004 dynamic_linker="$host_os ld.so"
12005 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12006 need_lib_prefix=unknown
12007 hardcode_into_libs=no
12008
12009 # when you set need_version to no, make sure it does not cause -set_version
12010 # flags to be left without arguments
12011 need_version=unknown
12012
12013 case $host_os in
12014 aix3*)
12015   version_type=linux # correct to gnu/linux during the next big refactor
12016   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12017   shlibpath_var=LIBPATH
12018
12019   # AIX 3 has no versioning support, so we append a major version to the name.
12020   soname_spec='${libname}${release}${shared_ext}$major'
12021   ;;
12022
12023 aix[4-9]*)
12024   version_type=linux # correct to gnu/linux during the next big refactor
12025   need_lib_prefix=no
12026   need_version=no
12027   hardcode_into_libs=yes
12028   if test "$host_cpu" = ia64; then
12029     # AIX 5 supports IA64
12030     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12031     shlibpath_var=LD_LIBRARY_PATH
12032   else
12033     # With GCC up to 2.95.x, collect2 would create an import file
12034     # for dependence libraries.  The import file would start with
12035     # the line `#! .'.  This would cause the generated library to
12036     # depend on `.', always an invalid library.  This was fixed in
12037     # development snapshots of GCC prior to 3.0.
12038     case $host_os in
12039       aix4 | aix4.[01] | aix4.[01].*)
12040       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12041            echo ' yes '
12042            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12043         :
12044       else
12045         can_build_shared=no
12046       fi
12047       ;;
12048     esac
12049     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12050     # soname into executable. Probably we can add versioning support to
12051     # collect2, so additional links can be useful in future.
12052     if test "$aix_use_runtimelinking" = yes; then
12053       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12054       # instead of lib<name>.a to let people know that these are not
12055       # typical AIX shared libraries.
12056       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12057     else
12058       # We preserve .a as extension for shared libraries through AIX4.2
12059       # and later when we are not doing run time linking.
12060       library_names_spec='${libname}${release}.a $libname.a'
12061       soname_spec='${libname}${release}${shared_ext}$major'
12062     fi
12063     shlibpath_var=LIBPATH
12064   fi
12065   ;;
12066
12067 amigaos*)
12068   case $host_cpu in
12069   powerpc)
12070     # Since July 2007 AmigaOS4 officially supports .so libraries.
12071     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12072     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12073     ;;
12074   m68k)
12075     library_names_spec='$libname.ixlibrary $libname.a'
12076     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12077     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'
12078     ;;
12079   esac
12080   ;;
12081
12082 beos*)
12083   library_names_spec='${libname}${shared_ext}'
12084   dynamic_linker="$host_os ld.so"
12085   shlibpath_var=LIBRARY_PATH
12086   ;;
12087
12088 bsdi[45]*)
12089   version_type=linux # correct to gnu/linux during the next big refactor
12090   need_version=no
12091   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12092   soname_spec='${libname}${release}${shared_ext}$major'
12093   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12094   shlibpath_var=LD_LIBRARY_PATH
12095   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12096   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12097   # the default ld.so.conf also contains /usr/contrib/lib and
12098   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12099   # libtool to hard-code these into programs
12100   ;;
12101
12102 cygwin* | mingw* | pw32* | cegcc*)
12103   version_type=windows
12104   shrext_cmds=".dll"
12105   need_version=no
12106   need_lib_prefix=no
12107
12108   case $GCC,$cc_basename in
12109   yes,*)
12110     # gcc
12111     library_names_spec='$libname.dll.a'
12112     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12113     postinstall_cmds='base_file=`basename \${file}`~
12114       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12115       dldir=$destdir/`dirname \$dlpath`~
12116       test -d \$dldir || mkdir -p \$dldir~
12117       $install_prog $dir/$dlname \$dldir/$dlname~
12118       chmod a+x \$dldir/$dlname~
12119       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12120         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12121       fi'
12122     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12123       dlpath=$dir/\$dldll~
12124        $RM \$dlpath'
12125     shlibpath_overrides_runpath=yes
12126
12127     case $host_os in
12128     cygwin*)
12129       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12130       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12131
12132       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12133       ;;
12134     mingw* | cegcc*)
12135       # MinGW DLLs use traditional 'lib' prefix
12136       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12137       ;;
12138     pw32*)
12139       # pw32 DLLs use 'pw' prefix rather than 'lib'
12140       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12141       ;;
12142     esac
12143     dynamic_linker='Win32 ld.exe'
12144     ;;
12145
12146   *,cl*)
12147     # Native MSVC
12148     libname_spec='$name'
12149     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12150     library_names_spec='${libname}.dll.lib'
12151
12152     case $build_os in
12153     mingw*)
12154       sys_lib_search_path_spec=
12155       lt_save_ifs=$IFS
12156       IFS=';'
12157       for lt_path in $LIB
12158       do
12159         IFS=$lt_save_ifs
12160         # Let DOS variable expansion print the short 8.3 style file name.
12161         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12162         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12163       done
12164       IFS=$lt_save_ifs
12165       # Convert to MSYS style.
12166       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12167       ;;
12168     cygwin*)
12169       # Convert to unix form, then to dos form, then back to unix form
12170       # but this time dos style (no spaces!) so that the unix form looks
12171       # like /cygdrive/c/PROGRA~1:/cygdr...
12172       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12173       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12174       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12175       ;;
12176     *)
12177       sys_lib_search_path_spec="$LIB"
12178       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12179         # It is most probably a Windows format PATH.
12180         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12181       else
12182         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12183       fi
12184       # FIXME: find the short name or the path components, as spaces are
12185       # common. (e.g. "Program Files" -> "PROGRA~1")
12186       ;;
12187     esac
12188
12189     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12190     postinstall_cmds='base_file=`basename \${file}`~
12191       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12192       dldir=$destdir/`dirname \$dlpath`~
12193       test -d \$dldir || mkdir -p \$dldir~
12194       $install_prog $dir/$dlname \$dldir/$dlname'
12195     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12196       dlpath=$dir/\$dldll~
12197        $RM \$dlpath'
12198     shlibpath_overrides_runpath=yes
12199     dynamic_linker='Win32 link.exe'
12200     ;;
12201
12202   *)
12203     # Assume MSVC wrapper
12204     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12205     dynamic_linker='Win32 ld.exe'
12206     ;;
12207   esac
12208   # FIXME: first we should search . and the directory the executable is in
12209   shlibpath_var=PATH
12210   ;;
12211
12212 darwin* | rhapsody*)
12213   dynamic_linker="$host_os dyld"
12214   version_type=darwin
12215   need_lib_prefix=no
12216   need_version=no
12217   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12218   soname_spec='${libname}${release}${major}$shared_ext'
12219   shlibpath_overrides_runpath=yes
12220   shlibpath_var=DYLD_LIBRARY_PATH
12221   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12222
12223   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12224   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12225   ;;
12226
12227 dgux*)
12228   version_type=linux # correct to gnu/linux during the next big refactor
12229   need_lib_prefix=no
12230   need_version=no
12231   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12232   soname_spec='${libname}${release}${shared_ext}$major'
12233   shlibpath_var=LD_LIBRARY_PATH
12234   ;;
12235
12236 freebsd* | dragonfly*)
12237   # DragonFly does not have aout.  When/if they implement a new
12238   # versioning mechanism, adjust this.
12239   if test -x /usr/bin/objformat; then
12240     objformat=`/usr/bin/objformat`
12241   else
12242     case $host_os in
12243     freebsd[23].*) objformat=aout ;;
12244     *) objformat=elf ;;
12245     esac
12246   fi
12247   version_type=freebsd-$objformat
12248   case $version_type in
12249     freebsd-elf*)
12250       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12251       need_version=no
12252       need_lib_prefix=no
12253       ;;
12254     freebsd-*)
12255       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12256       need_version=yes
12257       ;;
12258   esac
12259   shlibpath_var=LD_LIBRARY_PATH
12260   case $host_os in
12261   freebsd2.*)
12262     shlibpath_overrides_runpath=yes
12263     ;;
12264   freebsd3.[01]* | freebsdelf3.[01]*)
12265     shlibpath_overrides_runpath=yes
12266     hardcode_into_libs=yes
12267     ;;
12268   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12269   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12270     shlibpath_overrides_runpath=no
12271     hardcode_into_libs=yes
12272     ;;
12273   *) # from 4.6 on, and DragonFly
12274     shlibpath_overrides_runpath=yes
12275     hardcode_into_libs=yes
12276     ;;
12277   esac
12278   ;;
12279
12280 gnu*)
12281   version_type=linux # correct to gnu/linux during the next big refactor
12282   need_lib_prefix=no
12283   need_version=no
12284   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12285   soname_spec='${libname}${release}${shared_ext}$major'
12286   shlibpath_var=LD_LIBRARY_PATH
12287   shlibpath_overrides_runpath=no
12288   hardcode_into_libs=yes
12289   ;;
12290
12291 haiku*)
12292   version_type=linux # correct to gnu/linux during the next big refactor
12293   need_lib_prefix=no
12294   need_version=no
12295   dynamic_linker="$host_os runtime_loader"
12296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12297   soname_spec='${libname}${release}${shared_ext}$major'
12298   shlibpath_var=LIBRARY_PATH
12299   shlibpath_overrides_runpath=yes
12300   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12301   hardcode_into_libs=yes
12302   ;;
12303
12304 hpux9* | hpux10* | hpux11*)
12305   # Give a soname corresponding to the major version so that dld.sl refuses to
12306   # link against other versions.
12307   version_type=sunos
12308   need_lib_prefix=no
12309   need_version=no
12310   case $host_cpu in
12311   ia64*)
12312     shrext_cmds='.so'
12313     hardcode_into_libs=yes
12314     dynamic_linker="$host_os dld.so"
12315     shlibpath_var=LD_LIBRARY_PATH
12316     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12317     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12318     soname_spec='${libname}${release}${shared_ext}$major'
12319     if test "X$HPUX_IA64_MODE" = X32; then
12320       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12321     else
12322       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12323     fi
12324     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12325     ;;
12326   hppa*64*)
12327     shrext_cmds='.sl'
12328     hardcode_into_libs=yes
12329     dynamic_linker="$host_os dld.sl"
12330     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12331     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12332     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12333     soname_spec='${libname}${release}${shared_ext}$major'
12334     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12335     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12336     ;;
12337   *)
12338     shrext_cmds='.sl'
12339     dynamic_linker="$host_os dld.sl"
12340     shlibpath_var=SHLIB_PATH
12341     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12342     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12343     soname_spec='${libname}${release}${shared_ext}$major'
12344     ;;
12345   esac
12346   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12347   postinstall_cmds='chmod 555 $lib'
12348   # or fails outright, so override atomically:
12349   install_override_mode=555
12350   ;;
12351
12352 interix[3-9]*)
12353   version_type=linux # correct to gnu/linux during the next big refactor
12354   need_lib_prefix=no
12355   need_version=no
12356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12357   soname_spec='${libname}${release}${shared_ext}$major'
12358   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12359   shlibpath_var=LD_LIBRARY_PATH
12360   shlibpath_overrides_runpath=no
12361   hardcode_into_libs=yes
12362   ;;
12363
12364 irix5* | irix6* | nonstopux*)
12365   case $host_os in
12366     nonstopux*) version_type=nonstopux ;;
12367     *)
12368         if test "$lt_cv_prog_gnu_ld" = yes; then
12369                 version_type=linux # correct to gnu/linux during the next big refactor
12370         else
12371                 version_type=irix
12372         fi ;;
12373   esac
12374   need_lib_prefix=no
12375   need_version=no
12376   soname_spec='${libname}${release}${shared_ext}$major'
12377   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12378   case $host_os in
12379   irix5* | nonstopux*)
12380     libsuff= shlibsuff=
12381     ;;
12382   *)
12383     case $LD in # libtool.m4 will add one of these switches to LD
12384     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12385       libsuff= shlibsuff= libmagic=32-bit;;
12386     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12387       libsuff=32 shlibsuff=N32 libmagic=N32;;
12388     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12389       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12390     *) libsuff= shlibsuff= libmagic=never-match;;
12391     esac
12392     ;;
12393   esac
12394   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12395   shlibpath_overrides_runpath=no
12396   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12397   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12398   hardcode_into_libs=yes
12399   ;;
12400
12401 # No shared lib support for Linux oldld, aout, or coff.
12402 linux*oldld* | linux*aout* | linux*coff*)
12403   dynamic_linker=no
12404   ;;
12405
12406 # This must be glibc/ELF.
12407 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12408   version_type=linux # correct to gnu/linux during the next big refactor
12409   need_lib_prefix=no
12410   need_version=no
12411   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12412   soname_spec='${libname}${release}${shared_ext}$major'
12413   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12414   shlibpath_var=LD_LIBRARY_PATH
12415   shlibpath_overrides_runpath=no
12416
12417   # Some binutils ld are patched to set DT_RUNPATH
12418   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12419   $as_echo_n "(cached) " >&6
12420 else
12421   lt_cv_shlibpath_overrides_runpath=no
12422     save_LDFLAGS=$LDFLAGS
12423     save_libdir=$libdir
12424     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12425          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12426     if test x$ac_no_link = xyes; then
12427   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12428 fi
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h.  */
12431
12432 int
12433 main ()
12434 {
12435
12436   ;
12437   return 0;
12438 }
12439 _ACEOF
12440 if ac_fn_c_try_link "$LINENO"; then :
12441   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12442   lt_cv_shlibpath_overrides_runpath=yes
12443 fi
12444 fi
12445 rm -f core conftest.err conftest.$ac_objext \
12446     conftest$ac_exeext conftest.$ac_ext
12447     LDFLAGS=$save_LDFLAGS
12448     libdir=$save_libdir
12449
12450 fi
12451
12452   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12453
12454   # This implies no fast_install, which is unacceptable.
12455   # Some rework will be needed to allow for fast_install
12456   # before this can be enabled.
12457   hardcode_into_libs=yes
12458
12459   # Append ld.so.conf contents to the search path
12460   if test -f /etc/ld.so.conf; then
12461     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' ' '`
12462     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12463   fi
12464
12465   # We used to test for /lib/ld.so.1 and disable shared libraries on
12466   # powerpc, because MkLinux only supported shared libraries with the
12467   # GNU dynamic linker.  Since this was broken with cross compilers,
12468   # most powerpc-linux boxes support dynamic linking these days and
12469   # people can always --disable-shared, the test was removed, and we
12470   # assume the GNU/Linux dynamic linker is in use.
12471   dynamic_linker='GNU/Linux ld.so'
12472   ;;
12473
12474 netbsd*)
12475   version_type=sunos
12476   need_lib_prefix=no
12477   need_version=no
12478   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12479     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12480     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12481     dynamic_linker='NetBSD (a.out) ld.so'
12482   else
12483     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12484     soname_spec='${libname}${release}${shared_ext}$major'
12485     dynamic_linker='NetBSD ld.elf_so'
12486   fi
12487   shlibpath_var=LD_LIBRARY_PATH
12488   shlibpath_overrides_runpath=yes
12489   hardcode_into_libs=yes
12490   ;;
12491
12492 newsos6)
12493   version_type=linux # correct to gnu/linux during the next big refactor
12494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12495   shlibpath_var=LD_LIBRARY_PATH
12496   shlibpath_overrides_runpath=yes
12497   ;;
12498
12499 *nto* | *qnx*)
12500   version_type=qnx
12501   need_lib_prefix=no
12502   need_version=no
12503   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12504   soname_spec='${libname}${release}${shared_ext}$major'
12505   shlibpath_var=LD_LIBRARY_PATH
12506   shlibpath_overrides_runpath=no
12507   hardcode_into_libs=yes
12508   dynamic_linker='ldqnx.so'
12509   ;;
12510
12511 openbsd*)
12512   version_type=sunos
12513   sys_lib_dlsearch_path_spec="/usr/lib"
12514   need_lib_prefix=no
12515   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12516   case $host_os in
12517     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12518     *)                          need_version=no  ;;
12519   esac
12520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12521   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12522   shlibpath_var=LD_LIBRARY_PATH
12523   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12524     case $host_os in
12525       openbsd2.[89] | openbsd2.[89].*)
12526         shlibpath_overrides_runpath=no
12527         ;;
12528       *)
12529         shlibpath_overrides_runpath=yes
12530         ;;
12531       esac
12532   else
12533     shlibpath_overrides_runpath=yes
12534   fi
12535   ;;
12536
12537 os2*)
12538   libname_spec='$name'
12539   shrext_cmds=".dll"
12540   need_lib_prefix=no
12541   library_names_spec='$libname${shared_ext} $libname.a'
12542   dynamic_linker='OS/2 ld.exe'
12543   shlibpath_var=LIBPATH
12544   ;;
12545
12546 osf3* | osf4* | osf5*)
12547   version_type=osf
12548   need_lib_prefix=no
12549   need_version=no
12550   soname_spec='${libname}${release}${shared_ext}$major'
12551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12552   shlibpath_var=LD_LIBRARY_PATH
12553   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12554   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12555   ;;
12556
12557 rdos*)
12558   dynamic_linker=no
12559   ;;
12560
12561 solaris*)
12562   version_type=linux # correct to gnu/linux during the next big refactor
12563   need_lib_prefix=no
12564   need_version=no
12565   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12566   soname_spec='${libname}${release}${shared_ext}$major'
12567   shlibpath_var=LD_LIBRARY_PATH
12568   shlibpath_overrides_runpath=yes
12569   hardcode_into_libs=yes
12570   # ldd complains unless libraries are executable
12571   postinstall_cmds='chmod +x $lib'
12572   ;;
12573
12574 sunos4*)
12575   version_type=sunos
12576   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12577   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12578   shlibpath_var=LD_LIBRARY_PATH
12579   shlibpath_overrides_runpath=yes
12580   if test "$with_gnu_ld" = yes; then
12581     need_lib_prefix=no
12582   fi
12583   need_version=yes
12584   ;;
12585
12586 sysv4 | sysv4.3*)
12587   version_type=linux # correct to gnu/linux during the next big refactor
12588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12589   soname_spec='${libname}${release}${shared_ext}$major'
12590   shlibpath_var=LD_LIBRARY_PATH
12591   case $host_vendor in
12592     sni)
12593       shlibpath_overrides_runpath=no
12594       need_lib_prefix=no
12595       runpath_var=LD_RUN_PATH
12596       ;;
12597     siemens)
12598       need_lib_prefix=no
12599       ;;
12600     motorola)
12601       need_lib_prefix=no
12602       need_version=no
12603       shlibpath_overrides_runpath=no
12604       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12605       ;;
12606   esac
12607   ;;
12608
12609 sysv4*MP*)
12610   if test -d /usr/nec ;then
12611     version_type=linux # correct to gnu/linux during the next big refactor
12612     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12613     soname_spec='$libname${shared_ext}.$major'
12614     shlibpath_var=LD_LIBRARY_PATH
12615   fi
12616   ;;
12617
12618 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12619   version_type=freebsd-elf
12620   need_lib_prefix=no
12621   need_version=no
12622   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12623   soname_spec='${libname}${release}${shared_ext}$major'
12624   shlibpath_var=LD_LIBRARY_PATH
12625   shlibpath_overrides_runpath=yes
12626   hardcode_into_libs=yes
12627   if test "$with_gnu_ld" = yes; then
12628     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12629   else
12630     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12631     case $host_os in
12632       sco3.2v5*)
12633         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12634         ;;
12635     esac
12636   fi
12637   sys_lib_dlsearch_path_spec='/usr/lib'
12638   ;;
12639
12640 tpf*)
12641   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12642   version_type=linux # correct to gnu/linux during the next big refactor
12643   need_lib_prefix=no
12644   need_version=no
12645   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12646   shlibpath_var=LD_LIBRARY_PATH
12647   shlibpath_overrides_runpath=no
12648   hardcode_into_libs=yes
12649   ;;
12650
12651 uts4*)
12652   version_type=linux # correct to gnu/linux during the next big refactor
12653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12654   soname_spec='${libname}${release}${shared_ext}$major'
12655   shlibpath_var=LD_LIBRARY_PATH
12656   ;;
12657
12658 *)
12659   dynamic_linker=no
12660   ;;
12661 esac
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12663 $as_echo "$dynamic_linker" >&6; }
12664 test "$dynamic_linker" = no && can_build_shared=no
12665
12666 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12667 if test "$GCC" = yes; then
12668   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12669 fi
12670
12671 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12672   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12673 fi
12674 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12675   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12676 fi
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12770 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12771 hardcode_action=
12772 if test -n "$hardcode_libdir_flag_spec" ||
12773    test -n "$runpath_var" ||
12774    test "X$hardcode_automatic" = "Xyes" ; then
12775
12776   # We can hardcode non-existent directories.
12777   if test "$hardcode_direct" != no &&
12778      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12779      # have to relink, otherwise we might link with an installed library
12780      # when we should be linking with a yet-to-be-installed one
12781      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12782      test "$hardcode_minus_L" != no; then
12783     # Linking always hardcodes the temporary library directory.
12784     hardcode_action=relink
12785   else
12786     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12787     hardcode_action=immediate
12788   fi
12789 else
12790   # We cannot hardcode anything, or else we can only hardcode existing
12791   # directories.
12792   hardcode_action=unsupported
12793 fi
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12795 $as_echo "$hardcode_action" >&6; }
12796
12797 if test "$hardcode_action" = relink ||
12798    test "$inherit_rpath" = yes; then
12799   # Fast installation is not supported
12800   enable_fast_install=no
12801 elif test "$shlibpath_overrides_runpath" = yes ||
12802      test "$enable_shared" = no; then
12803   # Fast installation is not necessary
12804   enable_fast_install=needless
12805 fi
12806
12807
12808
12809
12810
12811
12812   if test "x$enable_dlopen" != xyes; then
12813   enable_dlopen=unknown
12814   enable_dlopen_self=unknown
12815   enable_dlopen_self_static=unknown
12816 else
12817   lt_cv_dlopen=no
12818   lt_cv_dlopen_libs=
12819
12820   case $host_os in
12821   beos*)
12822     lt_cv_dlopen="load_add_on"
12823     lt_cv_dlopen_libs=
12824     lt_cv_dlopen_self=yes
12825     ;;
12826
12827   mingw* | pw32* | cegcc*)
12828     lt_cv_dlopen="LoadLibrary"
12829     lt_cv_dlopen_libs=
12830     ;;
12831
12832   cygwin*)
12833     lt_cv_dlopen="dlopen"
12834     lt_cv_dlopen_libs=
12835     ;;
12836
12837   darwin*)
12838   # if libdl is installed we need to link against it
12839     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12840 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12841 if ${ac_cv_lib_dl_dlopen+:} false; then :
12842   $as_echo_n "(cached) " >&6
12843 else
12844   ac_check_lib_save_LIBS=$LIBS
12845 LIBS="-ldl  $LIBS"
12846 if test x$ac_no_link = xyes; then
12847   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12848 fi
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h.  */
12851
12852 /* Override any GCC internal prototype to avoid an error.
12853    Use char because int might match the return type of a GCC
12854    builtin and then its argument prototype would still apply.  */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char dlopen ();
12859 int
12860 main ()
12861 {
12862 return dlopen ();
12863   ;
12864   return 0;
12865 }
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868   ac_cv_lib_dl_dlopen=yes
12869 else
12870   ac_cv_lib_dl_dlopen=no
12871 fi
12872 rm -f core conftest.err conftest.$ac_objext \
12873     conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12875 fi
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12877 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12878 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12879   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12880 else
12881
12882     lt_cv_dlopen="dyld"
12883     lt_cv_dlopen_libs=
12884     lt_cv_dlopen_self=yes
12885
12886 fi
12887
12888     ;;
12889
12890   *)
12891     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12892 if test "x$ac_cv_func_shl_load" = xyes; then :
12893   lt_cv_dlopen="shl_load"
12894 else
12895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12896 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12897 if ${ac_cv_lib_dld_shl_load+:} false; then :
12898   $as_echo_n "(cached) " >&6
12899 else
12900   ac_check_lib_save_LIBS=$LIBS
12901 LIBS="-ldld  $LIBS"
12902 if test x$ac_no_link = xyes; then
12903   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12904 fi
12905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12906 /* end confdefs.h.  */
12907
12908 /* Override any GCC internal prototype to avoid an error.
12909    Use char because int might match the return type of a GCC
12910    builtin and then its argument prototype would still apply.  */
12911 #ifdef __cplusplus
12912 extern "C"
12913 #endif
12914 char shl_load ();
12915 int
12916 main ()
12917 {
12918 return shl_load ();
12919   ;
12920   return 0;
12921 }
12922 _ACEOF
12923 if ac_fn_c_try_link "$LINENO"; then :
12924   ac_cv_lib_dld_shl_load=yes
12925 else
12926   ac_cv_lib_dld_shl_load=no
12927 fi
12928 rm -f core conftest.err conftest.$ac_objext \
12929     conftest$ac_exeext conftest.$ac_ext
12930 LIBS=$ac_check_lib_save_LIBS
12931 fi
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12933 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12934 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12935   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12936 else
12937   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12938 if test "x$ac_cv_func_dlopen" = xyes; then :
12939   lt_cv_dlopen="dlopen"
12940 else
12941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12942 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12943 if ${ac_cv_lib_dl_dlopen+:} false; then :
12944   $as_echo_n "(cached) " >&6
12945 else
12946   ac_check_lib_save_LIBS=$LIBS
12947 LIBS="-ldl  $LIBS"
12948 if test x$ac_no_link = xyes; then
12949   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12950 fi
12951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12952 /* end confdefs.h.  */
12953
12954 /* Override any GCC internal prototype to avoid an error.
12955    Use char because int might match the return type of a GCC
12956    builtin and then its argument prototype would still apply.  */
12957 #ifdef __cplusplus
12958 extern "C"
12959 #endif
12960 char dlopen ();
12961 int
12962 main ()
12963 {
12964 return dlopen ();
12965   ;
12966   return 0;
12967 }
12968 _ACEOF
12969 if ac_fn_c_try_link "$LINENO"; then :
12970   ac_cv_lib_dl_dlopen=yes
12971 else
12972   ac_cv_lib_dl_dlopen=no
12973 fi
12974 rm -f core conftest.err conftest.$ac_objext \
12975     conftest$ac_exeext conftest.$ac_ext
12976 LIBS=$ac_check_lib_save_LIBS
12977 fi
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12979 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12980 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12981   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12982 else
12983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12984 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12985 if ${ac_cv_lib_svld_dlopen+:} false; then :
12986   $as_echo_n "(cached) " >&6
12987 else
12988   ac_check_lib_save_LIBS=$LIBS
12989 LIBS="-lsvld  $LIBS"
12990 if test x$ac_no_link = xyes; then
12991   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
12992 fi
12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h.  */
12995
12996 /* Override any GCC internal prototype to avoid an error.
12997    Use char because int might match the return type of a GCC
12998    builtin and then its argument prototype would still apply.  */
12999 #ifdef __cplusplus
13000 extern "C"
13001 #endif
13002 char dlopen ();
13003 int
13004 main ()
13005 {
13006 return dlopen ();
13007   ;
13008   return 0;
13009 }
13010 _ACEOF
13011 if ac_fn_c_try_link "$LINENO"; then :
13012   ac_cv_lib_svld_dlopen=yes
13013 else
13014   ac_cv_lib_svld_dlopen=no
13015 fi
13016 rm -f core conftest.err conftest.$ac_objext \
13017     conftest$ac_exeext conftest.$ac_ext
13018 LIBS=$ac_check_lib_save_LIBS
13019 fi
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13021 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13022 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13023   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13024 else
13025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13026 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13027 if ${ac_cv_lib_dld_dld_link+:} false; then :
13028   $as_echo_n "(cached) " >&6
13029 else
13030   ac_check_lib_save_LIBS=$LIBS
13031 LIBS="-ldld  $LIBS"
13032 if test x$ac_no_link = xyes; then
13033   as_fn_error $? "link tests are not allowed after AC_NO_EXECUTABLES" "$LINENO" 5
13034 fi
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h.  */
13037
13038 /* Override any GCC internal prototype to avoid an error.
13039    Use char because int might match the return type of a GCC
13040    builtin and then its argument prototype would still apply.  */
13041 #ifdef __cplusplus
13042 extern "C"
13043 #endif
13044 char dld_link ();
13045 int
13046 main ()
13047 {
13048 return dld_link ();
13049   ;
13050   return 0;
13051 }
13052 _ACEOF
13053 if ac_fn_c_try_link "$LINENO"; then :
13054   ac_cv_lib_dld_dld_link=yes
13055 else
13056   ac_cv_lib_dld_dld_link=no
13057 fi
13058 rm -f core conftest.err conftest.$ac_objext \
13059     conftest$ac_exeext conftest.$ac_ext
13060 LIBS=$ac_check_lib_save_LIBS
13061 fi
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13063 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13064 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13065   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13066 fi
13067
13068
13069 fi
13070
13071
13072 fi
13073
13074
13075 fi
13076
13077
13078 fi
13079
13080
13081 fi
13082
13083     ;;
13084   esac
13085
13086   if test "x$lt_cv_dlopen" != xno; then
13087     enable_dlopen=yes
13088   else
13089     enable_dlopen=no
13090   fi
13091
13092   case $lt_cv_dlopen in
13093   dlopen)
13094     save_CPPFLAGS="$CPPFLAGS"
13095     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13096
13097     save_LDFLAGS="$LDFLAGS"
13098     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13099
13100     save_LIBS="$LIBS"
13101     LIBS="$lt_cv_dlopen_libs $LIBS"
13102
13103     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13104 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13105 if ${lt_cv_dlopen_self+:} false; then :
13106   $as_echo_n "(cached) " >&6
13107 else
13108           if test "$cross_compiling" = yes; then :
13109   lt_cv_dlopen_self=cross
13110 else
13111   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13112   lt_status=$lt_dlunknown
13113   cat > conftest.$ac_ext <<_LT_EOF
13114 #line $LINENO "configure"
13115 #include "confdefs.h"
13116
13117 #if HAVE_DLFCN_H
13118 #include <dlfcn.h>
13119 #endif
13120
13121 #include <stdio.h>
13122
13123 #ifdef RTLD_GLOBAL
13124 #  define LT_DLGLOBAL           RTLD_GLOBAL
13125 #else
13126 #  ifdef DL_GLOBAL
13127 #    define LT_DLGLOBAL         DL_GLOBAL
13128 #  else
13129 #    define LT_DLGLOBAL         0
13130 #  endif
13131 #endif
13132
13133 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13134    find out it does not work in some platform. */
13135 #ifndef LT_DLLAZY_OR_NOW
13136 #  ifdef RTLD_LAZY
13137 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13138 #  else
13139 #    ifdef DL_LAZY
13140 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13141 #    else
13142 #      ifdef RTLD_NOW
13143 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13144 #      else
13145 #        ifdef DL_NOW
13146 #          define LT_DLLAZY_OR_NOW      DL_NOW
13147 #        else
13148 #          define LT_DLLAZY_OR_NOW      0
13149 #        endif
13150 #      endif
13151 #    endif
13152 #  endif
13153 #endif
13154
13155 /* When -fvisbility=hidden is used, assume the code has been annotated
13156    correspondingly for the symbols needed.  */
13157 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13158 int fnord () __attribute__((visibility("default")));
13159 #endif
13160
13161 int fnord () { return 42; }
13162 int main ()
13163 {
13164   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13165   int status = $lt_dlunknown;
13166
13167   if (self)
13168     {
13169       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13170       else
13171         {
13172           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13173           else puts (dlerror ());
13174         }
13175       /* dlclose (self); */
13176     }
13177   else
13178     puts (dlerror ());
13179
13180   return status;
13181 }
13182 _LT_EOF
13183   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13184   (eval $ac_link) 2>&5
13185   ac_status=$?
13186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13187   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13188     (./conftest; exit; ) >&5 2>/dev/null
13189     lt_status=$?
13190     case x$lt_status in
13191       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13192       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13193       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13194     esac
13195   else :
13196     # compilation failed
13197     lt_cv_dlopen_self=no
13198   fi
13199 fi
13200 rm -fr conftest*
13201
13202
13203 fi
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13205 $as_echo "$lt_cv_dlopen_self" >&6; }
13206
13207     if test "x$lt_cv_dlopen_self" = xyes; then
13208       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13209       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13210 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13211 if ${lt_cv_dlopen_self_static+:} false; then :
13212   $as_echo_n "(cached) " >&6
13213 else
13214           if test "$cross_compiling" = yes; then :
13215   lt_cv_dlopen_self_static=cross
13216 else
13217   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13218   lt_status=$lt_dlunknown
13219   cat > conftest.$ac_ext <<_LT_EOF
13220 #line $LINENO "configure"
13221 #include "confdefs.h"
13222
13223 #if HAVE_DLFCN_H
13224 #include <dlfcn.h>
13225 #endif
13226
13227 #include <stdio.h>
13228
13229 #ifdef RTLD_GLOBAL
13230 #  define LT_DLGLOBAL           RTLD_GLOBAL
13231 #else
13232 #  ifdef DL_GLOBAL
13233 #    define LT_DLGLOBAL         DL_GLOBAL
13234 #  else
13235 #    define LT_DLGLOBAL         0
13236 #  endif
13237 #endif
13238
13239 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13240    find out it does not work in some platform. */
13241 #ifndef LT_DLLAZY_OR_NOW
13242 #  ifdef RTLD_LAZY
13243 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13244 #  else
13245 #    ifdef DL_LAZY
13246 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13247 #    else
13248 #      ifdef RTLD_NOW
13249 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13250 #      else
13251 #        ifdef DL_NOW
13252 #          define LT_DLLAZY_OR_NOW      DL_NOW
13253 #        else
13254 #          define LT_DLLAZY_OR_NOW      0
13255 #        endif
13256 #      endif
13257 #    endif
13258 #  endif
13259 #endif
13260
13261 /* When -fvisbility=hidden is used, assume the code has been annotated
13262    correspondingly for the symbols needed.  */
13263 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13264 int fnord () __attribute__((visibility("default")));
13265 #endif
13266
13267 int fnord () { return 42; }
13268 int main ()
13269 {
13270   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13271   int status = $lt_dlunknown;
13272
13273   if (self)
13274     {
13275       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13276       else
13277         {
13278           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13279           else puts (dlerror ());
13280         }
13281       /* dlclose (self); */
13282     }
13283   else
13284     puts (dlerror ());
13285
13286   return status;
13287 }
13288 _LT_EOF
13289   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13290   (eval $ac_link) 2>&5
13291   ac_status=$?
13292   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13293   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13294     (./conftest; exit; ) >&5 2>/dev/null
13295     lt_status=$?
13296     case x$lt_status in
13297       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13298       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13299       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13300     esac
13301   else :
13302     # compilation failed
13303     lt_cv_dlopen_self_static=no
13304   fi
13305 fi
13306 rm -fr conftest*
13307
13308
13309 fi
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13311 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13312     fi
13313
13314     CPPFLAGS="$save_CPPFLAGS"
13315     LDFLAGS="$save_LDFLAGS"
13316     LIBS="$save_LIBS"
13317     ;;
13318   esac
13319
13320   case $lt_cv_dlopen_self in
13321   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13322   *) enable_dlopen_self=unknown ;;
13323   esac
13324
13325   case $lt_cv_dlopen_self_static in
13326   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13327   *) enable_dlopen_self_static=unknown ;;
13328   esac
13329 fi
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347 striplib=
13348 old_striplib=
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13350 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13351 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13352   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13353   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13355 $as_echo "yes" >&6; }
13356 else
13357 # FIXME - insert some real tests, host_os isn't really good enough
13358   case $host_os in
13359   darwin*)
13360     if test -n "$STRIP" ; then
13361       striplib="$STRIP -x"
13362       old_striplib="$STRIP -S"
13363       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13364 $as_echo "yes" >&6; }
13365     else
13366       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 $as_echo "no" >&6; }
13368     fi
13369     ;;
13370   *)
13371     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13372 $as_echo "no" >&6; }
13373     ;;
13374   esac
13375 fi
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388   # Report which library types will actually be built
13389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13390 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13392 $as_echo "$can_build_shared" >&6; }
13393
13394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13395 $as_echo_n "checking whether to build shared libraries... " >&6; }
13396   test "$can_build_shared" = "no" && enable_shared=no
13397
13398   # On AIX, shared libraries and static libraries use the same namespace, and
13399   # are all built from PIC.
13400   case $host_os in
13401   aix3*)
13402     test "$enable_shared" = yes && enable_static=no
13403     if test -n "$RANLIB"; then
13404       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13405       postinstall_cmds='$RANLIB $lib'
13406     fi
13407     ;;
13408
13409   aix[4-9]*)
13410     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13411       test "$enable_shared" = yes && enable_static=no
13412     fi
13413     ;;
13414   esac
13415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13416 $as_echo "$enable_shared" >&6; }
13417
13418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13419 $as_echo_n "checking whether to build static libraries... " >&6; }
13420   # Make sure either enable_shared or enable_static is yes.
13421   test "$enable_shared" = yes || enable_static=yes
13422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13423 $as_echo "$enable_static" >&6; }
13424
13425
13426
13427
13428 fi
13429 ac_ext=c
13430 ac_cpp='$CPP $CPPFLAGS'
13431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13434
13435 CC="$lt_save_CC"
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451         ac_config_commands="$ac_config_commands libtool"
13452
13453
13454
13455
13456 # Only expand once:
13457
13458
13459
13460 #
13461 # Debug instances
13462 #
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances" >&5
13464 $as_echo "$as_me: checking whether to build debug instances" >&6;}
13465
13466 # Debug
13467
13468
13469     # Check whether or not a default value has been passed in.
13470
13471
13472
13473     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug instances of programs and libraries" >&5
13474 $as_echo_n "checking whether to build debug instances of programs and libraries... " >&6; }
13475 if ${nl_cv_build_debug+:} false; then :
13476   $as_echo_n "(cached) " >&6
13477 else
13478
13479             # Check whether --enable-debug was given.
13480 if test "${enable_debug+set}" = set; then :
13481   enableval=$enable_debug;
13482                     case "${enableval}" in
13483
13484                     no|yes)
13485                         nl_cv_build_debug=${enableval}
13486                         ;;
13487
13488                     *)
13489                         as_fn_error $? "Invalid value ${enableval} for --enable-debug" "$LINENO" 5
13490                         ;;
13491
13492                     esac
13493
13494 else
13495
13496                     nl_cv_build_debug=no
13497
13498 fi
13499
13500
13501 fi
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_debug" >&5
13503 $as_echo "$nl_cv_build_debug" >&6; }
13504
13505     if test "${nl_cv_build_debug}" = "yes"; then
13506         CFLAGS="${CFLAGS} -DDEBUG"
13507         CXXFLAGS="${CXXFLAGS} -DDEBUG"
13508         OBJCFLAGS="${OBJCFLAGS} -DDEBUG"
13509         OBJCXXFLAGS="${OBJCXXFLAGS} -DDEBUG"
13510     fi
13511
13512
13513
13514  if test "${nl_cv_build_debug}" = "yes"; then
13515   NLUNIT_TEST_BUILD_DEBUG_TRUE=
13516   NLUNIT_TEST_BUILD_DEBUG_FALSE='#'
13517 else
13518   NLUNIT_TEST_BUILD_DEBUG_TRUE='#'
13519   NLUNIT_TEST_BUILD_DEBUG_FALSE=
13520 fi
13521
13522
13523 #
13524 # Code coverage and compiler optimization
13525 #
13526
13527 # Coverage
13528
13529
13530     # Check whether or not a default value has been passed in.
13531
13532
13533
13534     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-coverage instances of programs and libraries" >&5
13535 $as_echo_n "checking whether to build code-coverage instances of programs and libraries... " >&6; }
13536 if ${nl_cv_build_coverage+:} false; then :
13537   $as_echo_n "(cached) " >&6
13538 else
13539
13540             # Check whether --enable-coverage was given.
13541 if test "${enable_coverage+set}" = set; then :
13542   enableval=$enable_coverage;
13543                     case "${enableval}" in
13544
13545                     no|yes)
13546                         nl_cv_build_coverage=${enableval}
13547
13548                         if test "${nl_cv_build_optimized}" = "yes"; then
13549                             as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
13550                         fi
13551                         ;;
13552
13553                     *)
13554                         as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
13555                         ;;
13556
13557                     esac
13558
13559 else
13560
13561                     if test "${nl_cv_build_optimized}" = "yes"; then
13562                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-optimization was specified, coverage disabled" >&5
13563 $as_echo "$as_me: WARNING: --enable-optimization was specified, coverage disabled" >&2;}
13564                         nl_cv_build_coverage=no
13565
13566                     else
13567                         nl_cv_build_coverage=no
13568
13569                     fi
13570
13571 fi
13572
13573
13574 fi
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage" >&5
13576 $as_echo "$nl_cv_build_coverage" >&6; }
13577
13578     if test "${nl_cv_build_coverage}" = "yes"; then
13579         if test "${GCC}" != "yes"; then
13580             as_fn_error $? "GCC or a GCC-compatible toolchain is required for --enable-coverage" "$LINENO" 5
13581         else
13582             NL_COVERAGE_CPPFLAGS="--coverage"
13583             if ${CC} --version | grep -q clang; then
13584                 NL_COVERAGE_LDFLAGS="--coverage"
13585             else
13586                 NL_COVERAGE_LIBS="-lgcov"
13587             fi
13588         fi
13589     fi
13590
13591
13592
13593  if test "${nl_cv_build_coverage}" = "yes"; then
13594   NLUNIT_TEST_BUILD_COVERAGE_TRUE=
13595   NLUNIT_TEST_BUILD_COVERAGE_FALSE='#'
13596 else
13597   NLUNIT_TEST_BUILD_COVERAGE_TRUE='#'
13598   NLUNIT_TEST_BUILD_COVERAGE_FALSE=
13599 fi
13600
13601
13602
13603     # Check whether or not a default value has been passed in.
13604
13605
13606
13607     # Check for the presence of lcov and genhtml, required
13608     # to build and generate the coverage reports.
13609
13610     # Extract the first word of "lcov", so it can be a program name with args.
13611 set dummy lcov; ac_word=$2
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13613 $as_echo_n "checking for $ac_word... " >&6; }
13614 if ${ac_cv_path_LCOV+:} false; then :
13615   $as_echo_n "(cached) " >&6
13616 else
13617   case $LCOV in
13618   [\\/]* | ?:[\\/]*)
13619   ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
13620   ;;
13621   *)
13622   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13623 for as_dir in $PATH
13624 do
13625   IFS=$as_save_IFS
13626   test -z "$as_dir" && as_dir=.
13627     for ac_exec_ext in '' $ac_executable_extensions; do
13628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13629     ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
13630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13631     break 2
13632   fi
13633 done
13634   done
13635 IFS=$as_save_IFS
13636
13637   ;;
13638 esac
13639 fi
13640 LCOV=$ac_cv_path_LCOV
13641 if test -n "$LCOV"; then
13642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
13643 $as_echo "$LCOV" >&6; }
13644 else
13645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13646 $as_echo "no" >&6; }
13647 fi
13648
13649
13650     # Extract the first word of "genhtml", so it can be a program name with args.
13651 set dummy genhtml; ac_word=$2
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13653 $as_echo_n "checking for $ac_word... " >&6; }
13654 if ${ac_cv_path_GENHTML+:} false; then :
13655   $as_echo_n "(cached) " >&6
13656 else
13657   case $GENHTML in
13658   [\\/]* | ?:[\\/]*)
13659   ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
13660   ;;
13661   *)
13662   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13663 for as_dir in $PATH
13664 do
13665   IFS=$as_save_IFS
13666   test -z "$as_dir" && as_dir=.
13667     for ac_exec_ext in '' $ac_executable_extensions; do
13668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13669     ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
13670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13671     break 2
13672   fi
13673 done
13674   done
13675 IFS=$as_save_IFS
13676
13677   ;;
13678 esac
13679 fi
13680 GENHTML=$ac_cv_path_GENHTML
13681 if test -n "$GENHTML"; then
13682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
13683 $as_echo "$GENHTML" >&6; }
13684 else
13685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13686 $as_echo "no" >&6; }
13687 fi
13688
13689
13690
13691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build graphical code coverage reports" >&5
13692 $as_echo_n "checking whether to build graphical code coverage reports... " >&6; }
13693 if ${nl_cv_build_coverage_reports+:} false; then :
13694   $as_echo_n "(cached) " >&6
13695 else
13696
13697             # Check whether --enable-coverage-reports was given.
13698 if test "${enable_coverage_reports+set}" = set; then :
13699   enableval=$enable_coverage_reports;
13700                     case "${enableval}" in
13701
13702                     auto|no|yes)
13703                         nl_cv_build_coverage_reports=${enableval}
13704                         ;;
13705
13706                     *)
13707                         as_fn_error $? "Invalid value ${enableval} for --enable-coverage" "$LINENO" 5
13708                         ;;
13709
13710                     esac
13711
13712 else
13713
13714                     nl_cv_build_coverage_reports=auto
13715
13716 fi
13717
13718
13719             # If coverage is not enabled, then coverage reports
13720             # defaults to 'no' if it is 'auto' or fails if it is
13721             # 'yes'. Otherwise, availability of lcov and genhtml
13722             # condition behavior. Lack of availability for 'yes'
13723             # results in failure; however, for 'auto' then coverage
13724             # reports default to 'no'.
13725
13726             case "${nl_cv_build_coverage}" in
13727
13728             no)
13729                 case "${nl_cv_build_coverage_reports}" in
13730
13731                     auto)
13732                         nl_cv_build_coverage_reports="no"
13733                         ;;
13734
13735                     yes)
13736                         as_fn_error $? "--enable-coverage must be asserted to use --enable-coverage-reports." "$LINENO" 5
13737                         ;;
13738
13739                     no)
13740                         ;;
13741
13742                 esac
13743                 ;;
13744
13745             yes)
13746                 case "${nl_cv_build_coverage_reports}" in
13747
13748                     auto)
13749                         # Both lcov and genhtml must exist to successfully
13750                         # enable coverage reports.
13751
13752                         if test "x${LCOV}" = "x" || test "x${GENHTML}" = "x"; then
13753                             nl_cv_build_coverage_reports="no"
13754
13755                         else
13756                             nl_cv_build_coverage_reports="yes"
13757
13758                         fi
13759                         ;;
13760
13761                     yes)
13762                         # Both lcov and genhtml must exist to successfully
13763                         # enable coverage reports. Since the default or user
13764                         # ask is 'yes', we must fail if lcov or genhtml cannot
13765                         # be found.
13766
13767                         if test "x${LCOV}" = "x"; then
13768                             as_fn_error $? "Cannot find 'lcov'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
13769
13770                         elif test "x${GENHTML}" = "x"; then
13771                             as_fn_error $? "Cannot find 'genhtml'. You must have the lcov package installed to use coverage reports." "$LINENO" 5
13772
13773                         elif test "${nl_cv_build_coverage_reports}" = "auto"; then
13774                             nl_cv_build_coverage_reports="yes"
13775
13776                         fi
13777                         ;;
13778
13779                     no)
13780                         ;;
13781
13782                 esac
13783                 ;;
13784
13785             esac
13786
13787 fi
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_coverage_reports" >&5
13789 $as_echo "$nl_cv_build_coverage_reports" >&6; }
13790
13791
13792  if test "${nl_cv_build_coverage_reports}" = "yes"; then
13793   NLUNIT_TEST_BUILD_COVERAGE_REPORTS_TRUE=
13794   NLUNIT_TEST_BUILD_COVERAGE_REPORTS_FALSE='#'
13795 else
13796   NLUNIT_TEST_BUILD_COVERAGE_REPORTS_TRUE='#'
13797   NLUNIT_TEST_BUILD_COVERAGE_REPORTS_FALSE=
13798 fi
13799
13800
13801 # Optimization
13802
13803
13804     # Check whether or not a default value has been passed in.
13805
13806
13807
13808     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build code-optimized instances of programs and libraries" >&5
13809 $as_echo_n "checking whether to build code-optimized instances of programs and libraries... " >&6; }
13810 if ${nl_cv_build_optimized+:} false; then :
13811   $as_echo_n "(cached) " >&6
13812 else
13813
13814             # Check whether --enable-optimization was given.
13815 if test "${enable_optimization+set}" = set; then :
13816   enableval=$enable_optimization;
13817                     case "${enableval}" in
13818
13819                     no|yes)
13820                         nl_cv_build_optimized=${enableval}
13821
13822                         if test "${nl_cv_build_coverage}" = "yes" && test "${nl_cv_build_optimized}" = "yes"; then
13823                             as_fn_error $? "both --enable-optimization and --enable-coverage cannot used. Please, choose one or the other to enable." "$LINENO" 5
13824                         fi
13825                         ;;
13826
13827                     *)
13828                         as_fn_error $? "Invalid value ${enableval} for --enable-optimized" "$LINENO" 5
13829                         ;;
13830
13831                     esac
13832
13833 else
13834
13835                     if test "${nl_cv_build_coverage}" = "yes"; then
13836                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-coverage was specified, optimization disabled" >&5
13837 $as_echo "$as_me: WARNING: --enable-coverage was specified, optimization disabled" >&2;}
13838                         nl_cv_build_optimized=no
13839
13840                     else
13841                         nl_cv_build_optimized=yes
13842
13843                     fi
13844
13845 fi
13846
13847
13848 fi
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_optimized" >&5
13850 $as_echo "$nl_cv_build_optimized" >&6; }
13851
13852     if test "${nl_cv_build_optimized}" = "no"; then
13853         CFLAGS="`echo ${CFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
13854         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
13855         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
13856         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-O[[:alnum:]]*,-O0,g'`"
13857     fi
13858
13859
13860
13861  if test "${nl_cv_build_optimized}" = "yes"; then
13862   NLUNIT_TEST_BUILD_OPTIMIZED_TRUE=
13863   NLUNIT_TEST_BUILD_OPTIMIZED_FALSE='#'
13864 else
13865   NLUNIT_TEST_BUILD_OPTIMIZED_TRUE='#'
13866   NLUNIT_TEST_BUILD_OPTIMIZED_FALSE=
13867 fi
13868
13869
13870 #
13871 # Documentation
13872 #
13873
13874 # Determine whether or not documentation (via Doxygen) should be built
13875 # or not, with 'auto' as the default and establish a default support
13876 # value for GraphViz 'dot' support.
13877
13878
13879     # Check whether or not the 'default' value is sane.
13880
13881
13882
13883     # Check whether or not the 'dot_default' value is sane.
13884
13885
13886
13887     DOXYGEN_USE_DOT=NO
13888
13889
13890
13891
13892     # Extract the first word of "doxygen", so it can be a program name with args.
13893 set dummy doxygen; ac_word=$2
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13895 $as_echo_n "checking for $ac_word... " >&6; }
13896 if ${ac_cv_path_DOXYGEN+:} false; then :
13897   $as_echo_n "(cached) " >&6
13898 else
13899   case $DOXYGEN in
13900   [\\/]* | ?:[\\/]*)
13901   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
13902   ;;
13903   *)
13904   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13905 for as_dir in $PATH
13906 do
13907   IFS=$as_save_IFS
13908   test -z "$as_dir" && as_dir=.
13909     for ac_exec_ext in '' $ac_executable_extensions; do
13910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13911     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
13912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13913     break 2
13914   fi
13915 done
13916   done
13917 IFS=$as_save_IFS
13918
13919   ;;
13920 esac
13921 fi
13922 DOXYGEN=$ac_cv_path_DOXYGEN
13923 if test -n "$DOXYGEN"; then
13924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
13925 $as_echo "$DOXYGEN" >&6; }
13926 else
13927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13928 $as_echo "no" >&6; }
13929 fi
13930
13931
13932     # Extract the first word of "dot", so it can be a program name with args.
13933 set dummy dot; ac_word=$2
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13935 $as_echo_n "checking for $ac_word... " >&6; }
13936 if ${ac_cv_path_DOT+:} false; then :
13937   $as_echo_n "(cached) " >&6
13938 else
13939   case $DOT in
13940   [\\/]* | ?:[\\/]*)
13941   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
13942   ;;
13943   *)
13944   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13945 for as_dir in $PATH
13946 do
13947   IFS=$as_save_IFS
13948   test -z "$as_dir" && as_dir=.
13949     for ac_exec_ext in '' $ac_executable_extensions; do
13950   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13951     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
13952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13953     break 2
13954   fi
13955 done
13956   done
13957 IFS=$as_save_IFS
13958
13959   ;;
13960 esac
13961 fi
13962 DOT=$ac_cv_path_DOT
13963 if test -n "$DOT"; then
13964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
13965 $as_echo "$DOT" >&6; }
13966 else
13967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13968 $as_echo "no" >&6; }
13969 fi
13970
13971
13972
13973     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
13974 $as_echo_n "checking whether to build documentation... " >&6; }
13975 if ${nl_cv_build_docs+:} false; then :
13976   $as_echo_n "(cached) " >&6
13977 else
13978
13979             # Check whether --enable-docs was given.
13980 if test "${enable_docs+set}" = set; then :
13981   enableval=$enable_docs;
13982                     case "${enableval}" in
13983
13984                     auto|no|yes)
13985                         nl_cv_build_docs=${enableval}
13986                         ;;
13987
13988                     *)
13989                         as_fn_error $? "Invalid value ${enableval} for --disable-docs" "$LINENO" 5
13990                         ;;
13991
13992                     esac
13993
13994 else
13995   nl_cv_build_docs=auto
13996 fi
13997
13998
13999             if test "x${DOXYGEN}" != "x"; then
14000                 nl_cv_have_doxygen=yes
14001             else
14002                 nl_cv_have_doxygen=no
14003             fi
14004
14005             if test "${nl_cv_build_docs}" = "auto"; then
14006                 if test "${nl_cv_have_doxygen}" = "no"; then
14007                     nl_cv_build_docs=no
14008                 else
14009                     nl_cv_build_docs=yes
14010                 fi
14011             fi
14012
14013             if test "${nl_cv_build_docs}" = "yes"; then
14014                 if test "${nl_cv_have_doxygen}" = "no"; then
14015                     as_fn_error $? "Building docs was explicitly requested but Doxygen cannot be found" "$LINENO" 5
14016                 elif test "${nl_cv_have_doxygen}" = "yes"; then
14017                     if test "x${DOT}" != "x"; then
14018                         DOXYGEN_USE_DOT=YES
14019                     fi
14020                 fi
14021             fi
14022
14023 fi
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_cv_build_docs" >&5
14025 $as_echo "$nl_cv_build_docs" >&6; }
14026
14027
14028
14029
14030  if test "${nl_cv_build_docs}" = "yes"; then
14031   NLUNIT_TEST_BUILD_DOCS_TRUE=
14032   NLUNIT_TEST_BUILD_DOCS_FALSE='#'
14033 else
14034   NLUNIT_TEST_BUILD_DOCS_TRUE='#'
14035   NLUNIT_TEST_BUILD_DOCS_FALSE=
14036 fi
14037
14038
14039 #
14040 # Check for headers
14041 #
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
14043 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
14044 if ${ac_cv_header_stdbool_h+:} false; then :
14045   $as_echo_n "(cached) " >&6
14046 else
14047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h.  */
14049
14050 #include <stdbool.h>
14051 #ifndef bool
14052  "error: bool is not defined"
14053 #endif
14054 #ifndef false
14055  "error: false is not defined"
14056 #endif
14057 #if false
14058  "error: false is not 0"
14059 #endif
14060 #ifndef true
14061  "error: true is not defined"
14062 #endif
14063 #if true != 1
14064  "error: true is not 1"
14065 #endif
14066 #ifndef __bool_true_false_are_defined
14067  "error: __bool_true_false_are_defined is not defined"
14068 #endif
14069
14070         struct s { _Bool s: 1; _Bool t; } s;
14071
14072         char a[true == 1 ? 1 : -1];
14073         char b[false == 0 ? 1 : -1];
14074         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
14075         char d[(bool) 0.5 == true ? 1 : -1];
14076         /* See body of main program for 'e'.  */
14077         char f[(_Bool) 0.0 == false ? 1 : -1];
14078         char g[true];
14079         char h[sizeof (_Bool)];
14080         char i[sizeof s.t];
14081         enum { j = false, k = true, l = false * true, m = true * 256 };
14082         /* The following fails for
14083            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
14084         _Bool n[m];
14085         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
14086         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
14087         /* Catch a bug in an HP-UX C compiler.  See
14088            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
14089            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
14090          */
14091         _Bool q = true;
14092         _Bool *pq = &q;
14093
14094 int
14095 main ()
14096 {
14097
14098         bool e = &s;
14099         *pq |= q;
14100         *pq |= ! q;
14101         /* Refer to every declared value, to avoid compiler optimizations.  */
14102         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
14103                 + !m + !n + !o + !p + !q + !pq);
14104
14105   ;
14106   return 0;
14107 }
14108 _ACEOF
14109 if ac_fn_c_try_compile "$LINENO"; then :
14110   ac_cv_header_stdbool_h=yes
14111 else
14112   ac_cv_header_stdbool_h=no
14113 fi
14114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14115 fi
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
14117 $as_echo "$ac_cv_header_stdbool_h" >&6; }
14118 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
14119 if test "x$ac_cv_type__Bool" = xyes; then :
14120
14121 cat >>confdefs.h <<_ACEOF
14122 #define HAVE__BOOL 1
14123 _ACEOF
14124
14125
14126 fi
14127
14128 if test $ac_cv_header_stdbool_h = yes; then
14129
14130 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
14131
14132 fi
14133
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14135 $as_echo_n "checking for ANSI C header files... " >&6; }
14136 if ${ac_cv_header_stdc+:} false; then :
14137   $as_echo_n "(cached) " >&6
14138 else
14139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h.  */
14141 #include <stdlib.h>
14142 #include <stdarg.h>
14143 #include <string.h>
14144 #include <float.h>
14145
14146 int
14147 main ()
14148 {
14149
14150   ;
14151   return 0;
14152 }
14153 _ACEOF
14154 if ac_fn_c_try_compile "$LINENO"; then :
14155   ac_cv_header_stdc=yes
14156 else
14157   ac_cv_header_stdc=no
14158 fi
14159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14160
14161 if test $ac_cv_header_stdc = yes; then
14162   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h.  */
14165 #include <string.h>
14166
14167 _ACEOF
14168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14169   $EGREP "memchr" >/dev/null 2>&1; then :
14170
14171 else
14172   ac_cv_header_stdc=no
14173 fi
14174 rm -f conftest*
14175
14176 fi
14177
14178 if test $ac_cv_header_stdc = yes; then
14179   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h.  */
14182 #include <stdlib.h>
14183
14184 _ACEOF
14185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14186   $EGREP "free" >/dev/null 2>&1; then :
14187
14188 else
14189   ac_cv_header_stdc=no
14190 fi
14191 rm -f conftest*
14192
14193 fi
14194
14195 if test $ac_cv_header_stdc = yes; then
14196   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14197   if test "$cross_compiling" = yes; then :
14198   :
14199 else
14200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h.  */
14202 #include <ctype.h>
14203 #include <stdlib.h>
14204 #if ((' ' & 0x0FF) == 0x020)
14205 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14206 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14207 #else
14208 # define ISLOWER(c) \
14209                    (('a' <= (c) && (c) <= 'i') \
14210                      || ('j' <= (c) && (c) <= 'r') \
14211                      || ('s' <= (c) && (c) <= 'z'))
14212 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14213 #endif
14214
14215 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14216 int
14217 main ()
14218 {
14219   int i;
14220   for (i = 0; i < 256; i++)
14221     if (XOR (islower (i), ISLOWER (i))
14222         || toupper (i) != TOUPPER (i))
14223       return 2;
14224   return 0;
14225 }
14226 _ACEOF
14227 if ac_fn_c_try_run "$LINENO"; then :
14228
14229 else
14230   ac_cv_header_stdc=no
14231 fi
14232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14233   conftest.$ac_objext conftest.beam conftest.$ac_ext
14234 fi
14235
14236 fi
14237 fi
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14239 $as_echo "$ac_cv_header_stdc" >&6; }
14240 if test $ac_cv_header_stdc = yes; then
14241
14242 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14243
14244 fi
14245
14246
14247 # Add any code coverage CPPFLAGS and LIBS
14248
14249 CPPFLAGS="${CPPFLAGS} ${NL_COVERAGE_CPPFLAGS}"
14250 LDFLAGS="${LDFLAGS} ${NL_COVERAGE_LDFLAGS}"
14251 LIBS="${LIBS} ${NL_COVERAGE_LIBS}"
14252
14253 # At this point, we can restore the compiler flags to whatever the
14254 # user passed in, now that we're clear of any -Werror issues by
14255 # transforming -Wno-error back to -Werror.
14256
14257
14258
14259     if test "${nl_had_OBJCXXFLAGS_werror}" = "yes"; then
14260         OBJCXXFLAGS="`echo ${OBJCXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
14261     fi
14262
14263     unset nl_had_OBJCXXFLAGS_werror
14264
14265
14266     if test "${nl_had_OBJCFLAGS_werror}" = "yes"; then
14267         OBJCFLAGS="`echo ${OBJCFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
14268     fi
14269
14270     unset nl_had_OBJCFLAGS_werror
14271
14272
14273     if test "${nl_had_CXXFLAGS_werror}" = "yes"; then
14274         CXXFLAGS="`echo ${CXXFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
14275     fi
14276
14277     unset nl_had_CXXFLAGS_werror
14278
14279
14280     if test "${nl_had_CFLAGS_werror}" = "yes"; then
14281         CFLAGS="`echo ${CFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
14282     fi
14283
14284     unset nl_had_CFLAGS_werror
14285
14286
14287     if test "${nl_had_CPPFLAGS_werror}" = "yes"; then
14288         CPPFLAGS="`echo ${CPPFLAGS} | sed -e 's,-Wno-error\(=[[:alnum:]_-]\+\)*\([[:space:]]\),-Werror\1\2,g'`"
14289     fi
14290
14291     unset nl_had_CPPFLAGS_werror
14292
14293
14294
14295 #
14296 # Identify the various makefiles and auto-generated files for the package
14297 #
14298 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile"
14299
14300
14301 #
14302 # Generate the auto-generated files for the package
14303 #
14304 cat >confcache <<\_ACEOF
14305 # This file is a shell script that caches the results of configure
14306 # tests run on this system so they can be shared between configure
14307 # scripts and configure runs, see configure's option --config-cache.
14308 # It is not useful on other systems.  If it contains results you don't
14309 # want to keep, you may remove or edit it.
14310 #
14311 # config.status only pays attention to the cache file if you give it
14312 # the --recheck option to rerun configure.
14313 #
14314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14316 # following values.
14317
14318 _ACEOF
14319
14320 # The following way of writing the cache mishandles newlines in values,
14321 # but we know of no workaround that is simple, portable, and efficient.
14322 # So, we kill variables containing newlines.
14323 # Ultrix sh set writes to stderr and can't be redirected directly,
14324 # and sets the high bit in the cache file unless we assign to the vars.
14325 (
14326   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14327     eval ac_val=\$$ac_var
14328     case $ac_val in #(
14329     *${as_nl}*)
14330       case $ac_var in #(
14331       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14332 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14333       esac
14334       case $ac_var in #(
14335       _ | IFS | as_nl) ;; #(
14336       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14337       *) { eval $ac_var=; unset $ac_var;} ;;
14338       esac ;;
14339     esac
14340   done
14341
14342   (set) 2>&1 |
14343     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14344     *${as_nl}ac_space=\ *)
14345       # `set' does not quote correctly, so add quotes: double-quote
14346       # substitution turns \\\\ into \\, and sed turns \\ into \.
14347       sed -n \
14348         "s/'/'\\\\''/g;
14349           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14350       ;; #(
14351     *)
14352       # `set' quotes correctly as required by POSIX, so do not add quotes.
14353       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14354       ;;
14355     esac |
14356     sort
14357 ) |
14358   sed '
14359      /^ac_cv_env_/b end
14360      t clear
14361      :clear
14362      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14363      t end
14364      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14365      :end' >>confcache
14366 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14367   if test -w "$cache_file"; then
14368     if test "x$cache_file" != "x/dev/null"; then
14369       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14370 $as_echo "$as_me: updating cache $cache_file" >&6;}
14371       if test ! -f "$cache_file" || test -h "$cache_file"; then
14372         cat confcache >"$cache_file"
14373       else
14374         case $cache_file in #(
14375         */* | ?:*)
14376           mv -f confcache "$cache_file"$$ &&
14377           mv -f "$cache_file"$$ "$cache_file" ;; #(
14378         *)
14379           mv -f confcache "$cache_file" ;;
14380         esac
14381       fi
14382     fi
14383   else
14384     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14385 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14386   fi
14387 fi
14388 rm -f confcache
14389
14390 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14391 # Let make expand exec_prefix.
14392 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14393
14394 DEFS=-DHAVE_CONFIG_H
14395
14396 ac_libobjs=
14397 ac_ltlibobjs=
14398 U=
14399 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14400   # 1. Remove the extension, and $U if already installed.
14401   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14402   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14403   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14404   #    will be set to the directory where LIBOBJS objects are built.
14405   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14406   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14407 done
14408 LIBOBJS=$ac_libobjs
14409
14410 LTLIBOBJS=$ac_ltlibobjs
14411
14412
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14414 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14415    if test -n "$am_sleep_pid"; then
14416      # Hide warnings about reused PIDs.
14417      wait $am_sleep_pid 2>/dev/null
14418    fi
14419    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14420 $as_echo "done" >&6; }
14421  if test -n "$EXEEXT"; then
14422   am__EXEEXT_TRUE=
14423   am__EXEEXT_FALSE='#'
14424 else
14425   am__EXEEXT_TRUE='#'
14426   am__EXEEXT_FALSE=
14427 fi
14428
14429 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14430   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14432 fi
14433 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14434   as_fn_error $? "conditional \"AMDEP\" was never defined.
14435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14436 fi
14437 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14438   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14440 fi
14441 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14442   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14444 fi
14445 if test -z "${NLUNIT_TEST_BUILD_DEBUG_TRUE}" && test -z "${NLUNIT_TEST_BUILD_DEBUG_FALSE}"; then
14446   as_fn_error $? "conditional \"NLUNIT_TEST_BUILD_DEBUG\" was never defined.
14447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14448 fi
14449 if test -z "${NLUNIT_TEST_BUILD_COVERAGE_TRUE}" && test -z "${NLUNIT_TEST_BUILD_COVERAGE_FALSE}"; then
14450   as_fn_error $? "conditional \"NLUNIT_TEST_BUILD_COVERAGE\" was never defined.
14451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14452 fi
14453 if test -z "${NLUNIT_TEST_BUILD_COVERAGE_REPORTS_TRUE}" && test -z "${NLUNIT_TEST_BUILD_COVERAGE_REPORTS_FALSE}"; then
14454   as_fn_error $? "conditional \"NLUNIT_TEST_BUILD_COVERAGE_REPORTS\" was never defined.
14455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14456 fi
14457 if test -z "${NLUNIT_TEST_BUILD_OPTIMIZED_TRUE}" && test -z "${NLUNIT_TEST_BUILD_OPTIMIZED_FALSE}"; then
14458   as_fn_error $? "conditional \"NLUNIT_TEST_BUILD_OPTIMIZED\" was never defined.
14459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14460 fi
14461 if test -z "${NLUNIT_TEST_BUILD_DOCS_TRUE}" && test -z "${NLUNIT_TEST_BUILD_DOCS_FALSE}"; then
14462   as_fn_error $? "conditional \"NLUNIT_TEST_BUILD_DOCS\" was never defined.
14463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14464 fi
14465
14466 : "${CONFIG_STATUS=./config.status}"
14467 ac_write_fail=0
14468 ac_clean_files_save=$ac_clean_files
14469 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14471 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14472 as_write_fail=0
14473 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14474 #! $SHELL
14475 # Generated by $as_me.
14476 # Run this file to recreate the current configuration.
14477 # Compiler output produced by configure, useful for debugging
14478 # configure, is in config.log if it exists.
14479
14480 debug=false
14481 ac_cs_recheck=false
14482 ac_cs_silent=false
14483
14484 SHELL=\${CONFIG_SHELL-$SHELL}
14485 export SHELL
14486 _ASEOF
14487 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14488 ## -------------------- ##
14489 ## M4sh Initialization. ##
14490 ## -------------------- ##
14491
14492 # Be more Bourne compatible
14493 DUALCASE=1; export DUALCASE # for MKS sh
14494 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14495   emulate sh
14496   NULLCMD=:
14497   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14498   # is contrary to our usage.  Disable this feature.
14499   alias -g '${1+"$@"}'='"$@"'
14500   setopt NO_GLOB_SUBST
14501 else
14502   case `(set -o) 2>/dev/null` in #(
14503   *posix*) :
14504     set -o posix ;; #(
14505   *) :
14506      ;;
14507 esac
14508 fi
14509
14510
14511 as_nl='
14512 '
14513 export as_nl
14514 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14515 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14516 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14517 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14518 # Prefer a ksh shell builtin over an external printf program on Solaris,
14519 # but without wasting forks for bash or zsh.
14520 if test -z "$BASH_VERSION$ZSH_VERSION" \
14521     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14522   as_echo='print -r --'
14523   as_echo_n='print -rn --'
14524 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14525   as_echo='printf %s\n'
14526   as_echo_n='printf %s'
14527 else
14528   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14529     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14530     as_echo_n='/usr/ucb/echo -n'
14531   else
14532     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14533     as_echo_n_body='eval
14534       arg=$1;
14535       case $arg in #(
14536       *"$as_nl"*)
14537         expr "X$arg" : "X\\(.*\\)$as_nl";
14538         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14539       esac;
14540       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14541     '
14542     export as_echo_n_body
14543     as_echo_n='sh -c $as_echo_n_body as_echo'
14544   fi
14545   export as_echo_body
14546   as_echo='sh -c $as_echo_body as_echo'
14547 fi
14548
14549 # The user is always right.
14550 if test "${PATH_SEPARATOR+set}" != set; then
14551   PATH_SEPARATOR=:
14552   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14553     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14554       PATH_SEPARATOR=';'
14555   }
14556 fi
14557
14558
14559 # IFS
14560 # We need space, tab and new line, in precisely that order.  Quoting is
14561 # there to prevent editors from complaining about space-tab.
14562 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14563 # splitting by setting IFS to empty value.)
14564 IFS=" ""        $as_nl"
14565
14566 # Find who we are.  Look in the path if we contain no directory separator.
14567 as_myself=
14568 case $0 in #((
14569   *[\\/]* ) as_myself=$0 ;;
14570   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14571 for as_dir in $PATH
14572 do
14573   IFS=$as_save_IFS
14574   test -z "$as_dir" && as_dir=.
14575     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14576   done
14577 IFS=$as_save_IFS
14578
14579      ;;
14580 esac
14581 # We did not find ourselves, most probably we were run as `sh COMMAND'
14582 # in which case we are not to be found in the path.
14583 if test "x$as_myself" = x; then
14584   as_myself=$0
14585 fi
14586 if test ! -f "$as_myself"; then
14587   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14588   exit 1
14589 fi
14590
14591 # Unset variables that we do not need and which cause bugs (e.g. in
14592 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14593 # suppresses any "Segmentation fault" message there.  '((' could
14594 # trigger a bug in pdksh 5.2.14.
14595 for as_var in BASH_ENV ENV MAIL MAILPATH
14596 do eval test x\${$as_var+set} = xset \
14597   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14598 done
14599 PS1='$ '
14600 PS2='> '
14601 PS4='+ '
14602
14603 # NLS nuisances.
14604 LC_ALL=C
14605 export LC_ALL
14606 LANGUAGE=C
14607 export LANGUAGE
14608
14609 # CDPATH.
14610 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14611
14612
14613 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14614 # ----------------------------------------
14615 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14616 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14617 # script with STATUS, using 1 if that was 0.
14618 as_fn_error ()
14619 {
14620   as_status=$1; test $as_status -eq 0 && as_status=1
14621   if test "$4"; then
14622     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14623     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14624   fi
14625   $as_echo "$as_me: error: $2" >&2
14626   as_fn_exit $as_status
14627 } # as_fn_error
14628
14629
14630 # as_fn_set_status STATUS
14631 # -----------------------
14632 # Set $? to STATUS, without forking.
14633 as_fn_set_status ()
14634 {
14635   return $1
14636 } # as_fn_set_status
14637
14638 # as_fn_exit STATUS
14639 # -----------------
14640 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14641 as_fn_exit ()
14642 {
14643   set +e
14644   as_fn_set_status $1
14645   exit $1
14646 } # as_fn_exit
14647
14648 # as_fn_unset VAR
14649 # ---------------
14650 # Portably unset VAR.
14651 as_fn_unset ()
14652 {
14653   { eval $1=; unset $1;}
14654 }
14655 as_unset=as_fn_unset
14656 # as_fn_append VAR VALUE
14657 # ----------------------
14658 # Append the text in VALUE to the end of the definition contained in VAR. Take
14659 # advantage of any shell optimizations that allow amortized linear growth over
14660 # repeated appends, instead of the typical quadratic growth present in naive
14661 # implementations.
14662 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14663   eval 'as_fn_append ()
14664   {
14665     eval $1+=\$2
14666   }'
14667 else
14668   as_fn_append ()
14669   {
14670     eval $1=\$$1\$2
14671   }
14672 fi # as_fn_append
14673
14674 # as_fn_arith ARG...
14675 # ------------------
14676 # Perform arithmetic evaluation on the ARGs, and store the result in the
14677 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14678 # must be portable across $(()) and expr.
14679 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14680   eval 'as_fn_arith ()
14681   {
14682     as_val=$(( $* ))
14683   }'
14684 else
14685   as_fn_arith ()
14686   {
14687     as_val=`expr "$@" || test $? -eq 1`
14688   }
14689 fi # as_fn_arith
14690
14691
14692 if expr a : '\(a\)' >/dev/null 2>&1 &&
14693    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14694   as_expr=expr
14695 else
14696   as_expr=false
14697 fi
14698
14699 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14700   as_basename=basename
14701 else
14702   as_basename=false
14703 fi
14704
14705 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14706   as_dirname=dirname
14707 else
14708   as_dirname=false
14709 fi
14710
14711 as_me=`$as_basename -- "$0" ||
14712 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14713          X"$0" : 'X\(//\)$' \| \
14714          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14715 $as_echo X/"$0" |
14716     sed '/^.*\/\([^/][^/]*\)\/*$/{
14717             s//\1/
14718             q
14719           }
14720           /^X\/\(\/\/\)$/{
14721             s//\1/
14722             q
14723           }
14724           /^X\/\(\/\).*/{
14725             s//\1/
14726             q
14727           }
14728           s/.*/./; q'`
14729
14730 # Avoid depending upon Character Ranges.
14731 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14732 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14733 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14734 as_cr_digits='0123456789'
14735 as_cr_alnum=$as_cr_Letters$as_cr_digits
14736
14737 ECHO_C= ECHO_N= ECHO_T=
14738 case `echo -n x` in #(((((
14739 -n*)
14740   case `echo 'xy\c'` in
14741   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14742   xy)  ECHO_C='\c';;
14743   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14744        ECHO_T=' ';;
14745   esac;;
14746 *)
14747   ECHO_N='-n';;
14748 esac
14749
14750 rm -f conf$$ conf$$.exe conf$$.file
14751 if test -d conf$$.dir; then
14752   rm -f conf$$.dir/conf$$.file
14753 else
14754   rm -f conf$$.dir
14755   mkdir conf$$.dir 2>/dev/null
14756 fi
14757 if (echo >conf$$.file) 2>/dev/null; then
14758   if ln -s conf$$.file conf$$ 2>/dev/null; then
14759     as_ln_s='ln -s'
14760     # ... but there are two gotchas:
14761     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14762     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14763     # In both cases, we have to default to `cp -p'.
14764     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14765       as_ln_s='cp -p'
14766   elif ln conf$$.file conf$$ 2>/dev/null; then
14767     as_ln_s=ln
14768   else
14769     as_ln_s='cp -p'
14770   fi
14771 else
14772   as_ln_s='cp -p'
14773 fi
14774 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14775 rmdir conf$$.dir 2>/dev/null
14776
14777
14778 # as_fn_mkdir_p
14779 # -------------
14780 # Create "$as_dir" as a directory, including parents if necessary.
14781 as_fn_mkdir_p ()
14782 {
14783
14784   case $as_dir in #(
14785   -*) as_dir=./$as_dir;;
14786   esac
14787   test -d "$as_dir" || eval $as_mkdir_p || {
14788     as_dirs=
14789     while :; do
14790       case $as_dir in #(
14791       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14792       *) as_qdir=$as_dir;;
14793       esac
14794       as_dirs="'$as_qdir' $as_dirs"
14795       as_dir=`$as_dirname -- "$as_dir" ||
14796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14797          X"$as_dir" : 'X\(//\)[^/]' \| \
14798          X"$as_dir" : 'X\(//\)$' \| \
14799          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14800 $as_echo X"$as_dir" |
14801     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14802             s//\1/
14803             q
14804           }
14805           /^X\(\/\/\)[^/].*/{
14806             s//\1/
14807             q
14808           }
14809           /^X\(\/\/\)$/{
14810             s//\1/
14811             q
14812           }
14813           /^X\(\/\).*/{
14814             s//\1/
14815             q
14816           }
14817           s/.*/./; q'`
14818       test -d "$as_dir" && break
14819     done
14820     test -z "$as_dirs" || eval "mkdir $as_dirs"
14821   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14822
14823
14824 } # as_fn_mkdir_p
14825 if mkdir -p . 2>/dev/null; then
14826   as_mkdir_p='mkdir -p "$as_dir"'
14827 else
14828   test -d ./-p && rmdir ./-p
14829   as_mkdir_p=false
14830 fi
14831
14832 if test -x / >/dev/null 2>&1; then
14833   as_test_x='test -x'
14834 else
14835   if ls -dL / >/dev/null 2>&1; then
14836     as_ls_L_option=L
14837   else
14838     as_ls_L_option=
14839   fi
14840   as_test_x='
14841     eval sh -c '\''
14842       if test -d "$1"; then
14843         test -d "$1/.";
14844       else
14845         case $1 in #(
14846         -*)set "./$1";;
14847         esac;
14848         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14849         ???[sx]*):;;*)false;;esac;fi
14850     '\'' sh
14851   '
14852 fi
14853 as_executable_p=$as_test_x
14854
14855 # Sed expression to map a string onto a valid CPP name.
14856 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14857
14858 # Sed expression to map a string onto a valid variable name.
14859 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14860
14861
14862 exec 6>&1
14863 ## ----------------------------------- ##
14864 ## Main body of $CONFIG_STATUS script. ##
14865 ## ----------------------------------- ##
14866 _ASEOF
14867 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14868
14869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14870 # Save the log message, to keep $0 and so on meaningful, and to
14871 # report actual input values of CONFIG_FILES etc. instead of their
14872 # values after options handling.
14873 ac_log="
14874 This file was extended by nlunit-test $as_me g4c5ae45-dirty, which was
14875 generated by GNU Autoconf 2.68.  Invocation command line was
14876
14877   CONFIG_FILES    = $CONFIG_FILES
14878   CONFIG_HEADERS  = $CONFIG_HEADERS
14879   CONFIG_LINKS    = $CONFIG_LINKS
14880   CONFIG_COMMANDS = $CONFIG_COMMANDS
14881   $ $0 $@
14882
14883 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14884 "
14885
14886 _ACEOF
14887
14888 case $ac_config_files in *"
14889 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14890 esac
14891
14892 case $ac_config_headers in *"
14893 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14894 esac
14895
14896
14897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14898 # Files that config.status was made for.
14899 config_files="$ac_config_files"
14900 config_headers="$ac_config_headers"
14901 config_commands="$ac_config_commands"
14902
14903 _ACEOF
14904
14905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14906 ac_cs_usage="\
14907 \`$as_me' instantiates files and other configuration actions
14908 from templates according to the current configuration.  Unless the files
14909 and actions are specified as TAGs, all are instantiated by default.
14910
14911 Usage: $0 [OPTION]... [TAG]...
14912
14913   -h, --help       print this help, then exit
14914   -V, --version    print version number and configuration settings, then exit
14915       --config     print configuration, then exit
14916   -q, --quiet, --silent
14917                    do not print progress messages
14918   -d, --debug      don't remove temporary files
14919       --recheck    update $as_me by reconfiguring in the same conditions
14920       --file=FILE[:TEMPLATE]
14921                    instantiate the configuration file FILE
14922       --header=FILE[:TEMPLATE]
14923                    instantiate the configuration header FILE
14924
14925 Configuration files:
14926 $config_files
14927
14928 Configuration headers:
14929 $config_headers
14930
14931 Configuration commands:
14932 $config_commands
14933
14934 Report bugs to <nlunit-test-users@google.com>.
14935 nlunit-test home page: <https://github.com/nestlabs/nlunit-test/>."
14936
14937 _ACEOF
14938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14939 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14940 ac_cs_version="\\
14941 nlunit-test config.status g4c5ae45-dirty
14942 configured by $0, generated by GNU Autoconf 2.68,
14943   with options \\"\$ac_cs_config\\"
14944
14945 Copyright (C) 2010 Free Software Foundation, Inc.
14946 This config.status script is free software; the Free Software Foundation
14947 gives unlimited permission to copy, distribute and modify it."
14948
14949 ac_pwd='$ac_pwd'
14950 srcdir='$srcdir'
14951 INSTALL='$INSTALL'
14952 MKDIR_P='$MKDIR_P'
14953 AWK='$AWK'
14954 test -n "\$AWK" || AWK=awk
14955 _ACEOF
14956
14957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14958 # The default lists apply if the user does not specify any file.
14959 ac_need_defaults=:
14960 while test $# != 0
14961 do
14962   case $1 in
14963   --*=?*)
14964     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14965     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14966     ac_shift=:
14967     ;;
14968   --*=)
14969     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14970     ac_optarg=
14971     ac_shift=:
14972     ;;
14973   *)
14974     ac_option=$1
14975     ac_optarg=$2
14976     ac_shift=shift
14977     ;;
14978   esac
14979
14980   case $ac_option in
14981   # Handling of the options.
14982   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14983     ac_cs_recheck=: ;;
14984   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14985     $as_echo "$ac_cs_version"; exit ;;
14986   --config | --confi | --conf | --con | --co | --c )
14987     $as_echo "$ac_cs_config"; exit ;;
14988   --debug | --debu | --deb | --de | --d | -d )
14989     debug=: ;;
14990   --file | --fil | --fi | --f )
14991     $ac_shift
14992     case $ac_optarg in
14993     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14994     '') as_fn_error $? "missing file argument" ;;
14995     esac
14996     as_fn_append CONFIG_FILES " '$ac_optarg'"
14997     ac_need_defaults=false;;
14998   --header | --heade | --head | --hea )
14999     $ac_shift
15000     case $ac_optarg in
15001     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15002     esac
15003     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15004     ac_need_defaults=false;;
15005   --he | --h)
15006     # Conflict between --help and --header
15007     as_fn_error $? "ambiguous option: \`$1'
15008 Try \`$0 --help' for more information.";;
15009   --help | --hel | -h )
15010     $as_echo "$ac_cs_usage"; exit ;;
15011   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15012   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15013     ac_cs_silent=: ;;
15014
15015   # This is an error.
15016   -*) as_fn_error $? "unrecognized option: \`$1'
15017 Try \`$0 --help' for more information." ;;
15018
15019   *) as_fn_append ac_config_targets " $1"
15020      ac_need_defaults=false ;;
15021
15022   esac
15023   shift
15024 done
15025
15026 ac_configure_extra_args=
15027
15028 if $ac_cs_silent; then
15029   exec 6>/dev/null
15030   ac_configure_extra_args="$ac_configure_extra_args --silent"
15031 fi
15032
15033 _ACEOF
15034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15035 if \$ac_cs_recheck; then
15036   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15037   shift
15038   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15039   CONFIG_SHELL='$SHELL'
15040   export CONFIG_SHELL
15041   exec "\$@"
15042 fi
15043
15044 _ACEOF
15045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15046 exec 5>>config.log
15047 {
15048   echo
15049   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15050 ## Running $as_me. ##
15051 _ASBOX
15052   $as_echo "$ac_log"
15053 } >&5
15054
15055 _ACEOF
15056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15057 #
15058 # INIT-COMMANDS
15059 #
15060 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15061
15062
15063 # The HP-UX ksh and POSIX shell print the target directory to stdout
15064 # if CDPATH is set.
15065 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15066
15067 sed_quote_subst='$sed_quote_subst'
15068 double_quote_subst='$double_quote_subst'
15069 delay_variable_subst='$delay_variable_subst'
15070 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15071 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15072 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15073 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15074 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15075 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15076 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15077 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15078 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15079 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15080 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15081 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15082 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15083 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15084 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15085 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15086 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15087 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15088 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15089 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15090 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15091 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15092 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15093 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15094 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15095 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15096 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15097 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15098 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15099 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15100 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15101 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15102 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15103 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15104 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15105 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15106 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15107 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15108 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15109 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15110 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15111 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15112 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15113 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15114 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15115 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15116 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15117 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15118 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15119 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15120 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15121 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15122 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15123 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15124 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15125 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15126 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"`'
15127 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15128 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15129 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15130 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15131 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15132 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15133 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15134 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15135 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15136 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15137 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15138 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15139 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15140 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15141 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15142 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15143 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15144 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15145 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15146 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15147 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15148 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15149 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15150 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15151 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15152 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15153 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15154 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15155 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15156 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15157 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15158 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15159 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15160 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15161 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15162 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15163 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15164 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15165 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15166 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15167 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15168 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15169 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15170 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15171 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15172 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15173 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15174 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15175 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15176 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15177 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15178 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15179 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15180 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15181 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15182 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15183 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15184 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15185 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15186 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15187 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15188 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15189 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15190 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15191 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15192 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15193 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15194 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15195 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15196 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15197 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15198 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15199 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15200
15201 LTCC='$LTCC'
15202 LTCFLAGS='$LTCFLAGS'
15203 compiler='$compiler_DEFAULT'
15204
15205 # A function that is used when there is no print builtin or printf.
15206 func_fallback_echo ()
15207 {
15208   eval 'cat <<_LTECHO_EOF
15209 \$1
15210 _LTECHO_EOF'
15211 }
15212
15213 # Quote evaled strings.
15214 for var in SHELL \
15215 ECHO \
15216 PATH_SEPARATOR \
15217 SED \
15218 GREP \
15219 EGREP \
15220 FGREP \
15221 LD \
15222 NM \
15223 LN_S \
15224 lt_SP2NL \
15225 lt_NL2SP \
15226 reload_flag \
15227 OBJDUMP \
15228 deplibs_check_method \
15229 file_magic_cmd \
15230 file_magic_glob \
15231 want_nocaseglob \
15232 DLLTOOL \
15233 sharedlib_from_linklib_cmd \
15234 AR \
15235 AR_FLAGS \
15236 archiver_list_spec \
15237 STRIP \
15238 RANLIB \
15239 CC \
15240 CFLAGS \
15241 compiler \
15242 lt_cv_sys_global_symbol_pipe \
15243 lt_cv_sys_global_symbol_to_cdecl \
15244 lt_cv_sys_global_symbol_to_c_name_address \
15245 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15246 nm_file_list_spec \
15247 lt_prog_compiler_no_builtin_flag \
15248 lt_prog_compiler_pic \
15249 lt_prog_compiler_wl \
15250 lt_prog_compiler_static \
15251 lt_cv_prog_compiler_c_o \
15252 need_locks \
15253 MANIFEST_TOOL \
15254 DSYMUTIL \
15255 NMEDIT \
15256 LIPO \
15257 OTOOL \
15258 OTOOL64 \
15259 shrext_cmds \
15260 export_dynamic_flag_spec \
15261 whole_archive_flag_spec \
15262 compiler_needs_object \
15263 with_gnu_ld \
15264 allow_undefined_flag \
15265 no_undefined_flag \
15266 hardcode_libdir_flag_spec \
15267 hardcode_libdir_separator \
15268 exclude_expsyms \
15269 include_expsyms \
15270 file_list_spec \
15271 variables_saved_for_relink \
15272 libname_spec \
15273 library_names_spec \
15274 soname_spec \
15275 install_override_mode \
15276 finish_eval \
15277 old_striplib \
15278 striplib; do
15279     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15280     *[\\\\\\\`\\"\\\$]*)
15281       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15282       ;;
15283     *)
15284       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15285       ;;
15286     esac
15287 done
15288
15289 # Double-quote double-evaled strings.
15290 for var in reload_cmds \
15291 old_postinstall_cmds \
15292 old_postuninstall_cmds \
15293 old_archive_cmds \
15294 extract_expsyms_cmds \
15295 old_archive_from_new_cmds \
15296 old_archive_from_expsyms_cmds \
15297 archive_cmds \
15298 archive_expsym_cmds \
15299 module_cmds \
15300 module_expsym_cmds \
15301 export_symbols_cmds \
15302 prelink_cmds \
15303 postlink_cmds \
15304 postinstall_cmds \
15305 postuninstall_cmds \
15306 finish_cmds \
15307 sys_lib_search_path_spec \
15308 sys_lib_dlsearch_path_spec; do
15309     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15310     *[\\\\\\\`\\"\\\$]*)
15311       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15312       ;;
15313     *)
15314       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15315       ;;
15316     esac
15317 done
15318
15319 ac_aux_dir='$ac_aux_dir'
15320 xsi_shell='$xsi_shell'
15321 lt_shell_append='$lt_shell_append'
15322
15323 # See if we are running on zsh, and set the options which allow our
15324 # commands through without removal of \ escapes INIT.
15325 if test -n "\${ZSH_VERSION+set}" ; then
15326    setopt NO_GLOB_SUBST
15327 fi
15328
15329
15330     PACKAGE='$PACKAGE'
15331     VERSION='$VERSION'
15332     TIMESTAMP='$TIMESTAMP'
15333     RM='$RM'
15334     ofile='$ofile'
15335
15336
15337
15338
15339 _ACEOF
15340
15341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15342
15343 # Handling of arguments.
15344 for ac_config_target in $ac_config_targets
15345 do
15346   case $ac_config_target in
15347     "src/nlunit-test-config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/nlunit-test-config.h" ;;
15348     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15349     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15350     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15351     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15352     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15353
15354   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15355   esac
15356 done
15357
15358
15359 # If the user did not use the arguments to specify the items to instantiate,
15360 # then the envvar interface is used.  Set only those that are not.
15361 # We use the long form for the default assignment because of an extremely
15362 # bizarre bug on SunOS 4.1.3.
15363 if $ac_need_defaults; then
15364   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15365   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15366   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15367 fi
15368
15369 # Have a temporary directory for convenience.  Make it in the build tree
15370 # simply because there is no reason against having it here, and in addition,
15371 # creating and moving files from /tmp can sometimes cause problems.
15372 # Hook for its removal unless debugging.
15373 # Note that there is a small window in which the directory will not be cleaned:
15374 # after its creation but before its name has been assigned to `$tmp'.
15375 $debug ||
15376 {
15377   tmp= ac_tmp=
15378   trap 'exit_status=$?
15379   : "${ac_tmp:=$tmp}"
15380   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15381 ' 0
15382   trap 'as_fn_exit 1' 1 2 13 15
15383 }
15384 # Create a (secure) tmp directory for tmp files.
15385
15386 {
15387   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15388   test -d "$tmp"
15389 }  ||
15390 {
15391   tmp=./conf$$-$RANDOM
15392   (umask 077 && mkdir "$tmp")
15393 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15394 ac_tmp=$tmp
15395
15396 # Set up the scripts for CONFIG_FILES section.
15397 # No need to generate them if there are no CONFIG_FILES.
15398 # This happens for instance with `./config.status config.h'.
15399 if test -n "$CONFIG_FILES"; then
15400
15401
15402 ac_cr=`echo X | tr X '\015'`
15403 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15404 # But we know of no other shell where ac_cr would be empty at this
15405 # point, so we can use a bashism as a fallback.
15406 if test "x$ac_cr" = x; then
15407   eval ac_cr=\$\'\\r\'
15408 fi
15409 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15410 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15411   ac_cs_awk_cr='\\r'
15412 else
15413   ac_cs_awk_cr=$ac_cr
15414 fi
15415
15416 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15417 _ACEOF
15418
15419
15420 {
15421   echo "cat >conf$$subs.awk <<_ACEOF" &&
15422   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15423   echo "_ACEOF"
15424 } >conf$$subs.sh ||
15425   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15426 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15427 ac_delim='%!_!# '
15428 for ac_last_try in false false false false false :; do
15429   . ./conf$$subs.sh ||
15430     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15431
15432   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15433   if test $ac_delim_n = $ac_delim_num; then
15434     break
15435   elif $ac_last_try; then
15436     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15437   else
15438     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15439   fi
15440 done
15441 rm -f conf$$subs.sh
15442
15443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15444 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15445 _ACEOF
15446 sed -n '
15447 h
15448 s/^/S["/; s/!.*/"]=/
15449 p
15450 g
15451 s/^[^!]*!//
15452 :repl
15453 t repl
15454 s/'"$ac_delim"'$//
15455 t delim
15456 :nl
15457 h
15458 s/\(.\{148\}\)..*/\1/
15459 t more1
15460 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15461 p
15462 n
15463 b repl
15464 :more1
15465 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15466 p
15467 g
15468 s/.\{148\}//
15469 t nl
15470 :delim
15471 h
15472 s/\(.\{148\}\)..*/\1/
15473 t more2
15474 s/["\\]/\\&/g; s/^/"/; s/$/"/
15475 p
15476 b
15477 :more2
15478 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15479 p
15480 g
15481 s/.\{148\}//
15482 t delim
15483 ' <conf$$subs.awk | sed '
15484 /^[^""]/{
15485   N
15486   s/\n//
15487 }
15488 ' >>$CONFIG_STATUS || ac_write_fail=1
15489 rm -f conf$$subs.awk
15490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15491 _ACAWK
15492 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15493   for (key in S) S_is_set[key] = 1
15494   FS = "\a"
15495
15496 }
15497 {
15498   line = $ 0
15499   nfields = split(line, field, "@")
15500   substed = 0
15501   len = length(field[1])
15502   for (i = 2; i < nfields; i++) {
15503     key = field[i]
15504     keylen = length(key)
15505     if (S_is_set[key]) {
15506       value = S[key]
15507       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15508       len += length(value) + length(field[++i])
15509       substed = 1
15510     } else
15511       len += 1 + keylen
15512   }
15513
15514   print line
15515 }
15516
15517 _ACAWK
15518 _ACEOF
15519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15520 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15521   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15522 else
15523   cat
15524 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15525   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15526 _ACEOF
15527
15528 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15529 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15530 # trailing colons and then remove the whole line if VPATH becomes empty
15531 # (actually we leave an empty line to preserve line numbers).
15532 if test "x$srcdir" = x.; then
15533   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15534 h
15535 s///
15536 s/^/:/
15537 s/[      ]*$/:/
15538 s/:\$(srcdir):/:/g
15539 s/:\${srcdir}:/:/g
15540 s/:@srcdir@:/:/g
15541 s/^:*//
15542 s/:*$//
15543 x
15544 s/\(=[   ]*\).*/\1/
15545 G
15546 s/\n//
15547 s/^[^=]*=[       ]*$//
15548 }'
15549 fi
15550
15551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15552 fi # test -n "$CONFIG_FILES"
15553
15554 # Set up the scripts for CONFIG_HEADERS section.
15555 # No need to generate them if there are no CONFIG_HEADERS.
15556 # This happens for instance with `./config.status Makefile'.
15557 if test -n "$CONFIG_HEADERS"; then
15558 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15559 BEGIN {
15560 _ACEOF
15561
15562 # Transform confdefs.h into an awk script `defines.awk', embedded as
15563 # here-document in config.status, that substitutes the proper values into
15564 # config.h.in to produce config.h.
15565
15566 # Create a delimiter string that does not exist in confdefs.h, to ease
15567 # handling of long lines.
15568 ac_delim='%!_!# '
15569 for ac_last_try in false false :; do
15570   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15571   if test -z "$ac_tt"; then
15572     break
15573   elif $ac_last_try; then
15574     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15575   else
15576     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15577   fi
15578 done
15579
15580 # For the awk script, D is an array of macro values keyed by name,
15581 # likewise P contains macro parameters if any.  Preserve backslash
15582 # newline sequences.
15583
15584 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15585 sed -n '
15586 s/.\{148\}/&'"$ac_delim"'/g
15587 t rset
15588 :rset
15589 s/^[     ]*#[    ]*define[       ][      ]*/ /
15590 t def
15591 d
15592 :def
15593 s/\\$//
15594 t bsnl
15595 s/["\\]/\\&/g
15596 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15597 D["\1"]=" \3"/p
15598 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15599 d
15600 :bsnl
15601 s/["\\]/\\&/g
15602 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15603 D["\1"]=" \3\\\\\\n"\\/p
15604 t cont
15605 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15606 t cont
15607 d
15608 :cont
15609 n
15610 s/.\{148\}/&'"$ac_delim"'/g
15611 t clear
15612 :clear
15613 s/\\$//
15614 t bsnlc
15615 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15616 d
15617 :bsnlc
15618 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15619 b cont
15620 ' <confdefs.h | sed '
15621 s/'"$ac_delim"'/"\\\
15622 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15623
15624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15625   for (key in D) D_is_set[key] = 1
15626   FS = "\a"
15627 }
15628 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15629   line = \$ 0
15630   split(line, arg, " ")
15631   if (arg[1] == "#") {
15632     defundef = arg[2]
15633     mac1 = arg[3]
15634   } else {
15635     defundef = substr(arg[1], 2)
15636     mac1 = arg[2]
15637   }
15638   split(mac1, mac2, "(") #)
15639   macro = mac2[1]
15640   prefix = substr(line, 1, index(line, defundef) - 1)
15641   if (D_is_set[macro]) {
15642     # Preserve the white space surrounding the "#".
15643     print prefix "define", macro P[macro] D[macro]
15644     next
15645   } else {
15646     # Replace #undef with comments.  This is necessary, for example,
15647     # in the case of _POSIX_SOURCE, which is predefined and required
15648     # on some systems where configure will not decide to define it.
15649     if (defundef == "undef") {
15650       print "/*", prefix defundef, macro, "*/"
15651       next
15652     }
15653   }
15654 }
15655 { print }
15656 _ACAWK
15657 _ACEOF
15658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15659   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15660 fi # test -n "$CONFIG_HEADERS"
15661
15662
15663 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15664 shift
15665 for ac_tag
15666 do
15667   case $ac_tag in
15668   :[FHLC]) ac_mode=$ac_tag; continue;;
15669   esac
15670   case $ac_mode$ac_tag in
15671   :[FHL]*:*);;
15672   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15673   :[FH]-) ac_tag=-:-;;
15674   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15675   esac
15676   ac_save_IFS=$IFS
15677   IFS=:
15678   set x $ac_tag
15679   IFS=$ac_save_IFS
15680   shift
15681   ac_file=$1
15682   shift
15683
15684   case $ac_mode in
15685   :L) ac_source=$1;;
15686   :[FH])
15687     ac_file_inputs=
15688     for ac_f
15689     do
15690       case $ac_f in
15691       -) ac_f="$ac_tmp/stdin";;
15692       *) # Look for the file first in the build tree, then in the source tree
15693          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15694          # because $ac_f cannot contain `:'.
15695          test -f "$ac_f" ||
15696            case $ac_f in
15697            [\\/$]*) false;;
15698            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15699            esac ||
15700            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15701       esac
15702       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15703       as_fn_append ac_file_inputs " '$ac_f'"
15704     done
15705
15706     # Let's still pretend it is `configure' which instantiates (i.e., don't
15707     # use $as_me), people would be surprised to read:
15708     #    /* config.h.  Generated by config.status.  */
15709     configure_input='Generated from '`
15710           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15711         `' by configure.'
15712     if test x"$ac_file" != x-; then
15713       configure_input="$ac_file.  $configure_input"
15714       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15715 $as_echo "$as_me: creating $ac_file" >&6;}
15716     fi
15717     # Neutralize special characters interpreted by sed in replacement strings.
15718     case $configure_input in #(
15719     *\&* | *\|* | *\\* )
15720        ac_sed_conf_input=`$as_echo "$configure_input" |
15721        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15722     *) ac_sed_conf_input=$configure_input;;
15723     esac
15724
15725     case $ac_tag in
15726     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15727       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15728     esac
15729     ;;
15730   esac
15731
15732   ac_dir=`$as_dirname -- "$ac_file" ||
15733 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15734          X"$ac_file" : 'X\(//\)[^/]' \| \
15735          X"$ac_file" : 'X\(//\)$' \| \
15736          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15737 $as_echo X"$ac_file" |
15738     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15739             s//\1/
15740             q
15741           }
15742           /^X\(\/\/\)[^/].*/{
15743             s//\1/
15744             q
15745           }
15746           /^X\(\/\/\)$/{
15747             s//\1/
15748             q
15749           }
15750           /^X\(\/\).*/{
15751             s//\1/
15752             q
15753           }
15754           s/.*/./; q'`
15755   as_dir="$ac_dir"; as_fn_mkdir_p
15756   ac_builddir=.
15757
15758 case "$ac_dir" in
15759 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15760 *)
15761   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15762   # A ".." for each directory in $ac_dir_suffix.
15763   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15764   case $ac_top_builddir_sub in
15765   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15766   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15767   esac ;;
15768 esac
15769 ac_abs_top_builddir=$ac_pwd
15770 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15771 # for backward compatibility:
15772 ac_top_builddir=$ac_top_build_prefix
15773
15774 case $srcdir in
15775   .)  # We are building in place.
15776     ac_srcdir=.
15777     ac_top_srcdir=$ac_top_builddir_sub
15778     ac_abs_top_srcdir=$ac_pwd ;;
15779   [\\/]* | ?:[\\/]* )  # Absolute name.
15780     ac_srcdir=$srcdir$ac_dir_suffix;
15781     ac_top_srcdir=$srcdir
15782     ac_abs_top_srcdir=$srcdir ;;
15783   *) # Relative name.
15784     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15785     ac_top_srcdir=$ac_top_build_prefix$srcdir
15786     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15787 esac
15788 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15789
15790
15791   case $ac_mode in
15792   :F)
15793   #
15794   # CONFIG_FILE
15795   #
15796
15797   case $INSTALL in
15798   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15799   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15800   esac
15801   ac_MKDIR_P=$MKDIR_P
15802   case $MKDIR_P in
15803   [\\/$]* | ?:[\\/]* ) ;;
15804   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15805   esac
15806 _ACEOF
15807
15808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15809 # If the template does not know about datarootdir, expand it.
15810 # FIXME: This hack should be removed a few years after 2.60.
15811 ac_datarootdir_hack=; ac_datarootdir_seen=
15812 ac_sed_dataroot='
15813 /datarootdir/ {
15814   p
15815   q
15816 }
15817 /@datadir@/p
15818 /@docdir@/p
15819 /@infodir@/p
15820 /@localedir@/p
15821 /@mandir@/p'
15822 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15823 *datarootdir*) ac_datarootdir_seen=yes;;
15824 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15825   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15826 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15827 _ACEOF
15828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15829   ac_datarootdir_hack='
15830   s&@datadir@&$datadir&g
15831   s&@docdir@&$docdir&g
15832   s&@infodir@&$infodir&g
15833   s&@localedir@&$localedir&g
15834   s&@mandir@&$mandir&g
15835   s&\\\${datarootdir}&$datarootdir&g' ;;
15836 esac
15837 _ACEOF
15838
15839 # Neutralize VPATH when `$srcdir' = `.'.
15840 # Shell code in configure.ac might set extrasub.
15841 # FIXME: do we really want to maintain this feature?
15842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15843 ac_sed_extra="$ac_vpsub
15844 $extrasub
15845 _ACEOF
15846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15847 :t
15848 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15849 s|@configure_input@|$ac_sed_conf_input|;t t
15850 s&@top_builddir@&$ac_top_builddir_sub&;t t
15851 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15852 s&@srcdir@&$ac_srcdir&;t t
15853 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15854 s&@top_srcdir@&$ac_top_srcdir&;t t
15855 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15856 s&@builddir@&$ac_builddir&;t t
15857 s&@abs_builddir@&$ac_abs_builddir&;t t
15858 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15859 s&@INSTALL@&$ac_INSTALL&;t t
15860 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15861 $ac_datarootdir_hack
15862 "
15863 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15864   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15865
15866 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15867   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15868   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15869       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15870   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15871 which seems to be undefined.  Please make sure it is defined" >&5
15872 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15873 which seems to be undefined.  Please make sure it is defined" >&2;}
15874
15875   rm -f "$ac_tmp/stdin"
15876   case $ac_file in
15877   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15878   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15879   esac \
15880   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15881  ;;
15882   :H)
15883   #
15884   # CONFIG_HEADER
15885   #
15886   if test x"$ac_file" != x-; then
15887     {
15888       $as_echo "/* $configure_input  */" \
15889       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15890     } >"$ac_tmp/config.h" \
15891       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15892     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15893       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15894 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15895     else
15896       rm -f "$ac_file"
15897       mv "$ac_tmp/config.h" "$ac_file" \
15898         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15899     fi
15900   else
15901     $as_echo "/* $configure_input  */" \
15902       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15903       || as_fn_error $? "could not create -" "$LINENO" 5
15904   fi
15905 # Compute "$ac_file"'s index in $config_headers.
15906 _am_arg="$ac_file"
15907 _am_stamp_count=1
15908 for _am_header in $config_headers :; do
15909   case $_am_header in
15910     $_am_arg | $_am_arg:* )
15911       break ;;
15912     * )
15913       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15914   esac
15915 done
15916 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15917 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15918          X"$_am_arg" : 'X\(//\)[^/]' \| \
15919          X"$_am_arg" : 'X\(//\)$' \| \
15920          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15921 $as_echo X"$_am_arg" |
15922     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15923             s//\1/
15924             q
15925           }
15926           /^X\(\/\/\)[^/].*/{
15927             s//\1/
15928             q
15929           }
15930           /^X\(\/\/\)$/{
15931             s//\1/
15932             q
15933           }
15934           /^X\(\/\).*/{
15935             s//\1/
15936             q
15937           }
15938           s/.*/./; q'`/stamp-h$_am_stamp_count
15939  ;;
15940
15941   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15942 $as_echo "$as_me: executing $ac_file commands" >&6;}
15943  ;;
15944   esac
15945
15946
15947   case $ac_file$ac_mode in
15948     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15949   # Older Autoconf quotes --file arguments for eval, but not when files
15950   # are listed without --file.  Let's play safe and only enable the eval
15951   # if we detect the quoting.
15952   case $CONFIG_FILES in
15953   *\'*) eval set x "$CONFIG_FILES" ;;
15954   *)   set x $CONFIG_FILES ;;
15955   esac
15956   shift
15957   for mf
15958   do
15959     # Strip MF so we end up with the name of the file.
15960     mf=`echo "$mf" | sed -e 's/:.*$//'`
15961     # Check whether this is an Automake generated Makefile or not.
15962     # We used to match only the files named 'Makefile.in', but
15963     # some people rename them; so instead we look at the file content.
15964     # Grep'ing the first line is not enough: some people post-process
15965     # each Makefile.in and add a new line on top of each file to say so.
15966     # Grep'ing the whole file is not good either: AIX grep has a line
15967     # limit of 2048, but all sed's we know have understand at least 4000.
15968     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15969       dirpart=`$as_dirname -- "$mf" ||
15970 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15971          X"$mf" : 'X\(//\)[^/]' \| \
15972          X"$mf" : 'X\(//\)$' \| \
15973          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15974 $as_echo X"$mf" |
15975     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15976             s//\1/
15977             q
15978           }
15979           /^X\(\/\/\)[^/].*/{
15980             s//\1/
15981             q
15982           }
15983           /^X\(\/\/\)$/{
15984             s//\1/
15985             q
15986           }
15987           /^X\(\/\).*/{
15988             s//\1/
15989             q
15990           }
15991           s/.*/./; q'`
15992     else
15993       continue
15994     fi
15995     # Extract the definition of DEPDIR, am__include, and am__quote
15996     # from the Makefile without running 'make'.
15997     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15998     test -z "$DEPDIR" && continue
15999     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16000     test -z "$am__include" && continue
16001     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16002     # Find all dependency output files, they are included files with
16003     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16004     # simplest approach to changing $(DEPDIR) to its actual value in the
16005     # expansion.
16006     for file in `sed -n "
16007       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16008          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16009       # Make sure the directory exists.
16010       test -f "$dirpart/$file" && continue
16011       fdir=`$as_dirname -- "$file" ||
16012 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16013          X"$file" : 'X\(//\)[^/]' \| \
16014          X"$file" : 'X\(//\)$' \| \
16015          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16016 $as_echo X"$file" |
16017     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16018             s//\1/
16019             q
16020           }
16021           /^X\(\/\/\)[^/].*/{
16022             s//\1/
16023             q
16024           }
16025           /^X\(\/\/\)$/{
16026             s//\1/
16027             q
16028           }
16029           /^X\(\/\).*/{
16030             s//\1/
16031             q
16032           }
16033           s/.*/./; q'`
16034       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16035       # echo "creating $dirpart/$file"
16036       echo '# dummy' > "$dirpart/$file"
16037     done
16038   done
16039 }
16040  ;;
16041     "libtool":C)
16042
16043     # See if we are running on zsh, and set the options which allow our
16044     # commands through without removal of \ escapes.
16045     if test -n "${ZSH_VERSION+set}" ; then
16046       setopt NO_GLOB_SUBST
16047     fi
16048
16049     cfgfile="${ofile}T"
16050     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16051     $RM "$cfgfile"
16052
16053     cat <<_LT_EOF >> "$cfgfile"
16054 #! $SHELL
16055
16056 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16057 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16058 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16059 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16060 #
16061 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16062 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16063 #                 Foundation, Inc.
16064 #   Written by Gordon Matzigkeit, 1996
16065 #
16066 #   This file is part of GNU Libtool.
16067 #
16068 # GNU Libtool is free software; you can redistribute it and/or
16069 # modify it under the terms of the GNU General Public License as
16070 # published by the Free Software Foundation; either version 2 of
16071 # the License, or (at your option) any later version.
16072 #
16073 # As a special exception to the GNU General Public License,
16074 # if you distribute this file as part of a program or library that
16075 # is built using GNU Libtool, you may include this file under the
16076 # same distribution terms that you use for the rest of that program.
16077 #
16078 # GNU Libtool is distributed in the hope that it will be useful,
16079 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16080 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16081 # GNU General Public License for more details.
16082 #
16083 # You should have received a copy of the GNU General Public License
16084 # along with GNU Libtool; see the file COPYING.  If not, a copy
16085 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16086 # obtained by writing to the Free Software Foundation, Inc.,
16087 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16088
16089
16090 # The names of the tagged configurations supported by this script.
16091 available_tags=""
16092
16093 # ### BEGIN LIBTOOL CONFIG
16094
16095 # Which release of libtool.m4 was used?
16096 macro_version=$macro_version
16097 macro_revision=$macro_revision
16098
16099 # Whether or not to build shared libraries.
16100 build_libtool_libs=$enable_shared
16101
16102 # Whether or not to build static libraries.
16103 build_old_libs=$enable_static
16104
16105 # What type of objects to build.
16106 pic_mode=$pic_mode
16107
16108 # Whether or not to optimize for fast installation.
16109 fast_install=$enable_fast_install
16110
16111 # Shell to use when invoking shell scripts.
16112 SHELL=$lt_SHELL
16113
16114 # An echo program that protects backslashes.
16115 ECHO=$lt_ECHO
16116
16117 # The PATH separator for the build system.
16118 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16119
16120 # The host system.
16121 host_alias=$host_alias
16122 host=$host
16123 host_os=$host_os
16124
16125 # The build system.
16126 build_alias=$build_alias
16127 build=$build
16128 build_os=$build_os
16129
16130 # A sed program that does not truncate output.
16131 SED=$lt_SED
16132
16133 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16134 Xsed="\$SED -e 1s/^X//"
16135
16136 # A grep program that handles long lines.
16137 GREP=$lt_GREP
16138
16139 # An ERE matcher.
16140 EGREP=$lt_EGREP
16141
16142 # A literal string matcher.
16143 FGREP=$lt_FGREP
16144
16145 # A BSD- or MS-compatible name lister.
16146 NM=$lt_NM
16147
16148 # Whether we need soft or hard links.
16149 LN_S=$lt_LN_S
16150
16151 # What is the maximum length of a command?
16152 max_cmd_len=$max_cmd_len
16153
16154 # Object file suffix (normally "o").
16155 objext=$ac_objext
16156
16157 # Executable file suffix (normally "").
16158 exeext=$exeext
16159
16160 # whether the shell understands "unset".
16161 lt_unset=$lt_unset
16162
16163 # turn spaces into newlines.
16164 SP2NL=$lt_lt_SP2NL
16165
16166 # turn newlines into spaces.
16167 NL2SP=$lt_lt_NL2SP
16168
16169 # convert \$build file names to \$host format.
16170 to_host_file_cmd=$lt_cv_to_host_file_cmd
16171
16172 # convert \$build files to toolchain format.
16173 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16174
16175 # An object symbol dumper.
16176 OBJDUMP=$lt_OBJDUMP
16177
16178 # Method to check whether dependent libraries are shared objects.
16179 deplibs_check_method=$lt_deplibs_check_method
16180
16181 # Command to use when deplibs_check_method = "file_magic".
16182 file_magic_cmd=$lt_file_magic_cmd
16183
16184 # How to find potential files when deplibs_check_method = "file_magic".
16185 file_magic_glob=$lt_file_magic_glob
16186
16187 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16188 want_nocaseglob=$lt_want_nocaseglob
16189
16190 # DLL creation program.
16191 DLLTOOL=$lt_DLLTOOL
16192
16193 # Command to associate shared and link libraries.
16194 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16195
16196 # The archiver.
16197 AR=$lt_AR
16198
16199 # Flags to create an archive.
16200 AR_FLAGS=$lt_AR_FLAGS
16201
16202 # How to feed a file listing to the archiver.
16203 archiver_list_spec=$lt_archiver_list_spec
16204
16205 # A symbol stripping program.
16206 STRIP=$lt_STRIP
16207
16208 # Commands used to install an old-style archive.
16209 RANLIB=$lt_RANLIB
16210 old_postinstall_cmds=$lt_old_postinstall_cmds
16211 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16212
16213 # Whether to use a lock for old archive extraction.
16214 lock_old_archive_extraction=$lock_old_archive_extraction
16215
16216 # A C compiler.
16217 LTCC=$lt_CC
16218
16219 # LTCC compiler flags.
16220 LTCFLAGS=$lt_CFLAGS
16221
16222 # Take the output of nm and produce a listing of raw symbols and C names.
16223 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16224
16225 # Transform the output of nm in a proper C declaration.
16226 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16227
16228 # Transform the output of nm in a C name address pair.
16229 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16230
16231 # Transform the output of nm in a C name address pair when lib prefix is needed.
16232 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16233
16234 # Specify filename containing input files for \$NM.
16235 nm_file_list_spec=$lt_nm_file_list_spec
16236
16237 # The root where to search for dependent libraries,and in which our libraries should be installed.
16238 lt_sysroot=$lt_sysroot
16239
16240 # The name of the directory that contains temporary libtool files.
16241 objdir=$objdir
16242
16243 # Used to examine libraries when file_magic_cmd begins with "file".
16244 MAGIC_CMD=$MAGIC_CMD
16245
16246 # Must we lock files when doing compilation?
16247 need_locks=$lt_need_locks
16248
16249 # Manifest tool.
16250 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16251
16252 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16253 DSYMUTIL=$lt_DSYMUTIL
16254
16255 # Tool to change global to local symbols on Mac OS X.
16256 NMEDIT=$lt_NMEDIT
16257
16258 # Tool to manipulate fat objects and archives on Mac OS X.
16259 LIPO=$lt_LIPO
16260
16261 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16262 OTOOL=$lt_OTOOL
16263
16264 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16265 OTOOL64=$lt_OTOOL64
16266
16267 # Old archive suffix (normally "a").
16268 libext=$libext
16269
16270 # Shared library suffix (normally ".so").
16271 shrext_cmds=$lt_shrext_cmds
16272
16273 # The commands to extract the exported symbol list from a shared archive.
16274 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16275
16276 # Variables whose values should be saved in libtool wrapper scripts and
16277 # restored at link time.
16278 variables_saved_for_relink=$lt_variables_saved_for_relink
16279
16280 # Do we need the "lib" prefix for modules?
16281 need_lib_prefix=$need_lib_prefix
16282
16283 # Do we need a version for libraries?
16284 need_version=$need_version
16285
16286 # Library versioning type.
16287 version_type=$version_type
16288
16289 # Shared library runtime path variable.
16290 runpath_var=$runpath_var
16291
16292 # Shared library path variable.
16293 shlibpath_var=$shlibpath_var
16294
16295 # Is shlibpath searched before the hard-coded library search path?
16296 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16297
16298 # Format of library name prefix.
16299 libname_spec=$lt_libname_spec
16300
16301 # List of archive names.  First name is the real one, the rest are links.
16302 # The last name is the one that the linker finds with -lNAME
16303 library_names_spec=$lt_library_names_spec
16304
16305 # The coded name of the library, if different from the real name.
16306 soname_spec=$lt_soname_spec
16307
16308 # Permission mode override for installation of shared libraries.
16309 install_override_mode=$lt_install_override_mode
16310
16311 # Command to use after installation of a shared archive.
16312 postinstall_cmds=$lt_postinstall_cmds
16313
16314 # Command to use after uninstallation of a shared archive.
16315 postuninstall_cmds=$lt_postuninstall_cmds
16316
16317 # Commands used to finish a libtool library installation in a directory.
16318 finish_cmds=$lt_finish_cmds
16319
16320 # As "finish_cmds", except a single script fragment to be evaled but
16321 # not shown.
16322 finish_eval=$lt_finish_eval
16323
16324 # Whether we should hardcode library paths into libraries.
16325 hardcode_into_libs=$hardcode_into_libs
16326
16327 # Compile-time system search path for libraries.
16328 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16329
16330 # Run-time system search path for libraries.
16331 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16332
16333 # Whether dlopen is supported.
16334 dlopen_support=$enable_dlopen
16335
16336 # Whether dlopen of programs is supported.
16337 dlopen_self=$enable_dlopen_self
16338
16339 # Whether dlopen of statically linked programs is supported.
16340 dlopen_self_static=$enable_dlopen_self_static
16341
16342 # Commands to strip libraries.
16343 old_striplib=$lt_old_striplib
16344 striplib=$lt_striplib
16345
16346
16347 # The linker used to build libraries.
16348 LD=$lt_LD
16349
16350 # How to create reloadable object files.
16351 reload_flag=$lt_reload_flag
16352 reload_cmds=$lt_reload_cmds
16353
16354 # Commands used to build an old-style archive.
16355 old_archive_cmds=$lt_old_archive_cmds
16356
16357 # A language specific compiler.
16358 CC=$lt_compiler
16359
16360 # Is the compiler the GNU compiler?
16361 with_gcc=$GCC
16362
16363 # Compiler flag to turn off builtin functions.
16364 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16365
16366 # Additional compiler flags for building library objects.
16367 pic_flag=$lt_lt_prog_compiler_pic
16368
16369 # How to pass a linker flag through the compiler.
16370 wl=$lt_lt_prog_compiler_wl
16371
16372 # Compiler flag to prevent dynamic linking.
16373 link_static_flag=$lt_lt_prog_compiler_static
16374
16375 # Does compiler simultaneously support -c and -o options?
16376 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16377
16378 # Whether or not to add -lc for building shared libraries.
16379 build_libtool_need_lc=$archive_cmds_need_lc
16380
16381 # Whether or not to disallow shared libs when runtime libs are static.
16382 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16383
16384 # Compiler flag to allow reflexive dlopens.
16385 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16386
16387 # Compiler flag to generate shared objects directly from archives.
16388 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16389
16390 # Whether the compiler copes with passing no objects directly.
16391 compiler_needs_object=$lt_compiler_needs_object
16392
16393 # Create an old-style archive from a shared archive.
16394 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16395
16396 # Create a temporary old-style archive to link instead of a shared archive.
16397 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16398
16399 # Commands used to build a shared archive.
16400 archive_cmds=$lt_archive_cmds
16401 archive_expsym_cmds=$lt_archive_expsym_cmds
16402
16403 # Commands used to build a loadable module if different from building
16404 # a shared archive.
16405 module_cmds=$lt_module_cmds
16406 module_expsym_cmds=$lt_module_expsym_cmds
16407
16408 # Whether we are building with GNU ld or not.
16409 with_gnu_ld=$lt_with_gnu_ld
16410
16411 # Flag that allows shared libraries with undefined symbols to be built.
16412 allow_undefined_flag=$lt_allow_undefined_flag
16413
16414 # Flag that enforces no undefined symbols.
16415 no_undefined_flag=$lt_no_undefined_flag
16416
16417 # Flag to hardcode \$libdir into a binary during linking.
16418 # This must work even if \$libdir does not exist
16419 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16420
16421 # Whether we need a single "-rpath" flag with a separated argument.
16422 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16423
16424 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16425 # DIR into the resulting binary.
16426 hardcode_direct=$hardcode_direct
16427
16428 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16429 # DIR into the resulting binary and the resulting library dependency is
16430 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16431 # library is relocated.
16432 hardcode_direct_absolute=$hardcode_direct_absolute
16433
16434 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16435 # into the resulting binary.
16436 hardcode_minus_L=$hardcode_minus_L
16437
16438 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16439 # into the resulting binary.
16440 hardcode_shlibpath_var=$hardcode_shlibpath_var
16441
16442 # Set to "yes" if building a shared library automatically hardcodes DIR
16443 # into the library and all subsequent libraries and executables linked
16444 # against it.
16445 hardcode_automatic=$hardcode_automatic
16446
16447 # Set to yes if linker adds runtime paths of dependent libraries
16448 # to runtime path list.
16449 inherit_rpath=$inherit_rpath
16450
16451 # Whether libtool must link a program against all its dependency libraries.
16452 link_all_deplibs=$link_all_deplibs
16453
16454 # Set to "yes" if exported symbols are required.
16455 always_export_symbols=$always_export_symbols
16456
16457 # The commands to list exported symbols.
16458 export_symbols_cmds=$lt_export_symbols_cmds
16459
16460 # Symbols that should not be listed in the preloaded symbols.
16461 exclude_expsyms=$lt_exclude_expsyms
16462
16463 # Symbols that must always be exported.
16464 include_expsyms=$lt_include_expsyms
16465
16466 # Commands necessary for linking programs (against libraries) with templates.
16467 prelink_cmds=$lt_prelink_cmds
16468
16469 # Commands necessary for finishing linking programs.
16470 postlink_cmds=$lt_postlink_cmds
16471
16472 # Specify filename containing input files.
16473 file_list_spec=$lt_file_list_spec
16474
16475 # How to hardcode a shared library path into an executable.
16476 hardcode_action=$hardcode_action
16477
16478 # ### END LIBTOOL CONFIG
16479
16480 _LT_EOF
16481
16482   case $host_os in
16483   aix3*)
16484     cat <<\_LT_EOF >> "$cfgfile"
16485 # AIX sometimes has problems with the GCC collect2 program.  For some
16486 # reason, if we set the COLLECT_NAMES environment variable, the problems
16487 # vanish in a puff of smoke.
16488 if test "X${COLLECT_NAMES+set}" != Xset; then
16489   COLLECT_NAMES=
16490   export COLLECT_NAMES
16491 fi
16492 _LT_EOF
16493     ;;
16494   esac
16495
16496
16497 ltmain="$ac_aux_dir/ltmain.sh"
16498
16499
16500   # We use sed instead of cat because bash on DJGPP gets confused if
16501   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16502   # text mode, it properly converts lines to CR/LF.  This bash problem
16503   # is reportedly fixed, but why not run on old versions too?
16504   sed '$q' "$ltmain" >> "$cfgfile" \
16505      || (rm -f "$cfgfile"; exit 1)
16506
16507   if test x"$xsi_shell" = xyes; then
16508   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16509 func_dirname ()\
16510 {\
16511 \    case ${1} in\
16512 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16513 \      *  ) func_dirname_result="${3}" ;;\
16514 \    esac\
16515 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16516   && mv -f "$cfgfile.tmp" "$cfgfile" \
16517     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16518 test 0 -eq $? || _lt_function_replace_fail=:
16519
16520
16521   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16522 func_basename ()\
16523 {\
16524 \    func_basename_result="${1##*/}"\
16525 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16526   && mv -f "$cfgfile.tmp" "$cfgfile" \
16527     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16528 test 0 -eq $? || _lt_function_replace_fail=:
16529
16530
16531   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16532 func_dirname_and_basename ()\
16533 {\
16534 \    case ${1} in\
16535 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16536 \      *  ) func_dirname_result="${3}" ;;\
16537 \    esac\
16538 \    func_basename_result="${1##*/}"\
16539 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16540   && mv -f "$cfgfile.tmp" "$cfgfile" \
16541     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16542 test 0 -eq $? || _lt_function_replace_fail=:
16543
16544
16545   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16546 func_stripname ()\
16547 {\
16548 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16549 \    # positional parameters, so assign one to ordinary parameter first.\
16550 \    func_stripname_result=${3}\
16551 \    func_stripname_result=${func_stripname_result#"${1}"}\
16552 \    func_stripname_result=${func_stripname_result%"${2}"}\
16553 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16554   && mv -f "$cfgfile.tmp" "$cfgfile" \
16555     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16556 test 0 -eq $? || _lt_function_replace_fail=:
16557
16558
16559   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16560 func_split_long_opt ()\
16561 {\
16562 \    func_split_long_opt_name=${1%%=*}\
16563 \    func_split_long_opt_arg=${1#*=}\
16564 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16565   && mv -f "$cfgfile.tmp" "$cfgfile" \
16566     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16567 test 0 -eq $? || _lt_function_replace_fail=:
16568
16569
16570   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16571 func_split_short_opt ()\
16572 {\
16573 \    func_split_short_opt_arg=${1#??}\
16574 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16575 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16576   && mv -f "$cfgfile.tmp" "$cfgfile" \
16577     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16578 test 0 -eq $? || _lt_function_replace_fail=:
16579
16580
16581   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16582 func_lo2o ()\
16583 {\
16584 \    case ${1} in\
16585 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16586 \      *)    func_lo2o_result=${1} ;;\
16587 \    esac\
16588 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16589   && mv -f "$cfgfile.tmp" "$cfgfile" \
16590     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16591 test 0 -eq $? || _lt_function_replace_fail=:
16592
16593
16594   sed -e '/^func_xform ()$/,/^} # func_xform /c\
16595 func_xform ()\
16596 {\
16597     func_xform_result=${1%.*}.lo\
16598 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16599   && mv -f "$cfgfile.tmp" "$cfgfile" \
16600     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16601 test 0 -eq $? || _lt_function_replace_fail=:
16602
16603
16604   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16605 func_arith ()\
16606 {\
16607     func_arith_result=$(( $* ))\
16608 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16609   && mv -f "$cfgfile.tmp" "$cfgfile" \
16610     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16611 test 0 -eq $? || _lt_function_replace_fail=:
16612
16613
16614   sed -e '/^func_len ()$/,/^} # func_len /c\
16615 func_len ()\
16616 {\
16617     func_len_result=${#1}\
16618 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16619   && mv -f "$cfgfile.tmp" "$cfgfile" \
16620     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16621 test 0 -eq $? || _lt_function_replace_fail=:
16622
16623 fi
16624
16625 if test x"$lt_shell_append" = xyes; then
16626   sed -e '/^func_append ()$/,/^} # func_append /c\
16627 func_append ()\
16628 {\
16629     eval "${1}+=\\${2}"\
16630 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16631   && mv -f "$cfgfile.tmp" "$cfgfile" \
16632     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16633 test 0 -eq $? || _lt_function_replace_fail=:
16634
16635
16636   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16637 func_append_quoted ()\
16638 {\
16639 \    func_quote_for_eval "${2}"\
16640 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16641 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16642   && mv -f "$cfgfile.tmp" "$cfgfile" \
16643     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16644 test 0 -eq $? || _lt_function_replace_fail=:
16645
16646
16647   # Save a `func_append' function call where possible by direct use of '+='
16648   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16649     && mv -f "$cfgfile.tmp" "$cfgfile" \
16650       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16651   test 0 -eq $? || _lt_function_replace_fail=:
16652 else
16653   # Save a `func_append' function call even when '+=' is not available
16654   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16655     && mv -f "$cfgfile.tmp" "$cfgfile" \
16656       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16657   test 0 -eq $? || _lt_function_replace_fail=:
16658 fi
16659
16660 if test x"$_lt_function_replace_fail" = x":"; then
16661   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16662 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16663 fi
16664
16665
16666    mv -f "$cfgfile" "$ofile" ||
16667     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16668   chmod +x "$ofile"
16669
16670  ;;
16671
16672   esac
16673 done # for ac_tag
16674
16675
16676 as_fn_exit 0
16677 _ACEOF
16678 ac_clean_files=$ac_clean_files_save
16679
16680 test $ac_write_fail = 0 ||
16681   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16682
16683
16684 # configure is writing to config.log, and then calls config.status.
16685 # config.status does its own redirection, appending to config.log.
16686 # Unfortunately, on DOS this fails, as config.log is still kept open
16687 # by configure, so config.status won't be able to write to it; its
16688 # output is simply discarded.  So we exec the FD to /dev/null,
16689 # effectively closing config.log, so it can be properly (re)opened and
16690 # appended to by config.status.  When coming back to configure, we
16691 # need to make the FD available again.
16692 if test "$no_create" != yes; then
16693   ac_cs_success=:
16694   ac_config_status_args=
16695   test "$silent" = yes &&
16696     ac_config_status_args="$ac_config_status_args --quiet"
16697   exec 5>/dev/null
16698   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16699   exec 5>>config.log
16700   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16701   # would make configure fail if this is the last instruction.
16702   $ac_cs_success || as_fn_exit 1
16703 fi
16704 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16705   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16706 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16707 fi
16708
16709
16710 #
16711 # Summarize the package configuration
16712 #
16713
16714 { $as_echo "$as_me:${as_lineno-$LINENO}:
16715
16716   Configuration Summary
16717   ---------------------
16718   Package                                   : ${PACKAGE_NAME}
16719   Version                                   : ${PACKAGE_VERSION}
16720   Interface                                 : ${LIBNLUNIT_TEST_VERSION_INFO//:/.}
16721   Build system                              : ${build}
16722   Host system                               : ${host}
16723   Target system                             : ${target}
16724   Target architecture                       : ${target_cpu}
16725   Target OS                                 : ${target_os}
16726   Cross compiling                           : ${cross_compiling}
16727   Build shared libraries                    : ${enable_shared}
16728   Build static libraries                    : ${enable_static}
16729   Build debug libraries                     : ${nl_cv_build_debug}
16730   Build optimized libraries                 : ${nl_cv_build_optimized}
16731   Build coverage libraries                  : ${nl_cv_build_coverage}
16732   Build coverage reports                    : ${nl_cv_build_coverage_reports}
16733   Lcov                                      : ${LCOV:--}
16734   Genhtml                                   : ${GENHTML:--}
16735   Prefix                                    : ${prefix}
16736   Documentation support                     : ${nl_cv_build_docs}
16737   Doxygen                                   : ${DOXYGEN:--}
16738   GraphViz dot                              : ${DOT:--}
16739   PERL                                      : ${PERL:--}
16740   C Preprocessor                            : ${CPP}
16741   C Compiler                                : ${CC}
16742   Archiver                                  : ${AR}
16743   Archive Indexer                           : ${RANLIB}
16744   Symbol Stripper                           : ${STRIP}
16745   Object Copier                             : ${OBJCOPY}
16746   C Preprocessor flags                      : ${CPPFLAGS:--}
16747   C Compile flags                           : ${CFLAGS:--}
16748   Link flags                                : ${LDFLAGS:--}
16749   Link libraries                            : ${LIBS}
16750
16751 " >&5
16752 $as_echo "$as_me:
16753
16754   Configuration Summary
16755   ---------------------
16756   Package                                   : ${PACKAGE_NAME}
16757   Version                                   : ${PACKAGE_VERSION}
16758   Interface                                 : ${LIBNLUNIT_TEST_VERSION_INFO//:/.}
16759   Build system                              : ${build}
16760   Host system                               : ${host}
16761   Target system                             : ${target}
16762   Target architecture                       : ${target_cpu}
16763   Target OS                                 : ${target_os}
16764   Cross compiling                           : ${cross_compiling}
16765   Build shared libraries                    : ${enable_shared}
16766   Build static libraries                    : ${enable_static}
16767   Build debug libraries                     : ${nl_cv_build_debug}
16768   Build optimized libraries                 : ${nl_cv_build_optimized}
16769   Build coverage libraries                  : ${nl_cv_build_coverage}
16770   Build coverage reports                    : ${nl_cv_build_coverage_reports}
16771   Lcov                                      : ${LCOV:--}
16772   Genhtml                                   : ${GENHTML:--}
16773   Prefix                                    : ${prefix}
16774   Documentation support                     : ${nl_cv_build_docs}
16775   Doxygen                                   : ${DOXYGEN:--}
16776   GraphViz dot                              : ${DOT:--}
16777   PERL                                      : ${PERL:--}
16778   C Preprocessor                            : ${CPP}
16779   C Compiler                                : ${CC}
16780   Archiver                                  : ${AR}
16781   Archive Indexer                           : ${RANLIB}
16782   Symbol Stripper                           : ${STRIP}
16783   Object Copier                             : ${OBJCOPY}
16784   C Preprocessor flags                      : ${CPPFLAGS:--}
16785   C Compile flags                           : ${CFLAGS:--}
16786   Link flags                                : ${LDFLAGS:--}
16787   Link libraries                            : ${LIBS}
16788
16789 " >&6;}