Merge remote-tracking branch 'origin/moonshot' into HEAD
[shibboleth/opensaml2.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for opensaml 2.4.1.
4 #
5 # Report bugs to <https://bugs.internet2.edu/>.
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: https://bugs.internet2.edu/ 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='opensaml'
572 PACKAGE_TARNAME='opensaml'
573 PACKAGE_VERSION='2.4.1'
574 PACKAGE_STRING='opensaml 2.4.1'
575 PACKAGE_BUGREPORT='https://bugs.internet2.edu/'
576 PACKAGE_URL=''
577
578 ac_unique_file="saml"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 DX_INCLUDE
620 pkgconfig_libfile
621 pkgconfig_libdir
622 BUILD_UNITTEST_FALSE
623 BUILD_UNITTEST_TRUE
624 CXXTESTFLAGS
625 CXXTEST
626 LOG4CPP_CONFIG
627 LOG4SHIB_CONFIG
628 PKG_CONFIG
629 PTHREAD_CFLAGS
630 PTHREAD_LIBS
631 PTHREAD_CC
632 acx_pthread_config
633 CXXCPP
634 am__fastdepCXX_FALSE
635 am__fastdepCXX_TRUE
636 CXXDEPMODE
637 ac_ct_CXX
638 CXXFLAGS
639 CXX
640 DOXYGEN_PAPER_SIZE
641 DX_COND_latex_FALSE
642 DX_COND_latex_TRUE
643 DX_COND_pdf_FALSE
644 DX_COND_pdf_TRUE
645 DX_PDFLATEX
646 DX_FLAG_pdf
647 DX_COND_ps_FALSE
648 DX_COND_ps_TRUE
649 DX_EGREP
650 DX_DVIPS
651 DX_MAKEINDEX
652 DX_LATEX
653 DX_FLAG_ps
654 DX_COND_html_FALSE
655 DX_COND_html_TRUE
656 DX_FLAG_html
657 DX_COND_chi_FALSE
658 DX_COND_chi_TRUE
659 DX_FLAG_chi
660 DX_COND_chm_FALSE
661 DX_COND_chm_TRUE
662 DX_HHC
663 DX_FLAG_chm
664 DX_COND_xml_FALSE
665 DX_COND_xml_TRUE
666 DX_FLAG_xml
667 DX_COND_rtf_FALSE
668 DX_COND_rtf_TRUE
669 DX_FLAG_rtf
670 DX_COND_man_FALSE
671 DX_COND_man_TRUE
672 DX_FLAG_man
673 DX_COND_dot_FALSE
674 DX_COND_dot_TRUE
675 DX_DOT
676 DX_FLAG_dot
677 DX_COND_doc_FALSE
678 DX_COND_doc_TRUE
679 DX_PERL
680 DX_DOXYGEN
681 DX_FLAG_doc
682 DX_ENV
683 DX_DOCDIR
684 DX_CONFIG
685 DX_PROJECT
686 CPP
687 OTOOL64
688 OTOOL
689 LIPO
690 NMEDIT
691 DSYMUTIL
692 MANIFEST_TOOL
693 RANLIB
694 ac_ct_AR
695 AR
696 DLLTOOL
697 OBJDUMP
698 LN_S
699 NM
700 ac_ct_DUMPBIN
701 DUMPBIN
702 LD
703 FGREP
704 EGREP
705 GREP
706 SED
707 am__fastdepCC_FALSE
708 am__fastdepCC_TRUE
709 CCDEPMODE
710 AMDEPBACKSLASH
711 AMDEP_FALSE
712 AMDEP_TRUE
713 am__quote
714 am__include
715 DEPDIR
716 OBJEXT
717 EXEEXT
718 ac_ct_CC
719 CPPFLAGS
720 LDFLAGS
721 CFLAGS
722 CC
723 host_os
724 host_vendor
725 host_cpu
726 host
727 build_os
728 build_vendor
729 build_cpu
730 build
731 LIBTOOL
732 am__untar
733 am__tar
734 AMTAR
735 am__leading_dot
736 SET_MAKE
737 AWK
738 mkdir_p
739 MKDIR_P
740 INSTALL_STRIP_PROGRAM
741 STRIP
742 install_sh
743 MAKEINFO
744 AUTOHEADER
745 AUTOMAKE
746 AUTOCONF
747 ACLOCAL
748 VERSION
749 PACKAGE
750 CYGPATH_W
751 am__isrc
752 INSTALL_DATA
753 INSTALL_SCRIPT
754 INSTALL_PROGRAM
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_static
797 enable_shared
798 with_pic
799 enable_fast_install
800 enable_dependency_tracking
801 with_gnu_ld
802 with_sysroot
803 enable_libtool_lock
804 enable_doxygen_doc
805 enable_doxygen_dot
806 enable_doxygen_man
807 enable_doxygen_rtf
808 enable_doxygen_xml
809 enable_doxygen_chm
810 enable_doxygen_chi
811 enable_doxygen_html
812 enable_doxygen_ps
813 enable_doxygen_pdf
814 enable_debug
815 with_gnu_ld
816 with_zlib
817 with_openssl
818 with_log4shib
819 with_log4cpp
820 with_xerces
821 with_xmlsec
822 with_xmltooling
823 with_cxxtest
824 '
825       ac_precious_vars='build_alias
826 host_alias
827 target_alias
828 CC
829 CFLAGS
830 LDFLAGS
831 LIBS
832 CPPFLAGS
833 CPP
834 CPPFLAGS
835 DOXYGEN_PAPER_SIZE
836 CC
837 LDFLAGS
838 LIBS
839 CPPFLAGS
840 CXX
841 CXXFLAGS
842 LIBS
843 CCC
844 CXXCPP'
845
846
847 # Initialize some variables set by options.
848 ac_init_help=
849 ac_init_version=false
850 ac_unrecognized_opts=
851 ac_unrecognized_sep=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
854 cache_file=/dev/null
855 exec_prefix=NONE
856 no_create=
857 no_recursion=
858 prefix=NONE
859 program_prefix=NONE
860 program_suffix=NONE
861 program_transform_name=s,x,x,
862 silent=
863 site=
864 srcdir=
865 verbose=
866 x_includes=NONE
867 x_libraries=NONE
868
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir='${exec_prefix}/bin'
876 sbindir='${exec_prefix}/sbin'
877 libexecdir='${exec_prefix}/libexec'
878 datarootdir='${prefix}/share'
879 datadir='${datarootdir}'
880 sysconfdir='${prefix}/etc'
881 sharedstatedir='${prefix}/com'
882 localstatedir='${prefix}/var'
883 includedir='${prefix}/include'
884 oldincludedir='/usr/include'
885 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
886 infodir='${datarootdir}/info'
887 htmldir='${docdir}'
888 dvidir='${docdir}'
889 pdfdir='${docdir}'
890 psdir='${docdir}'
891 libdir='${exec_prefix}/lib'
892 localedir='${datarootdir}/locale'
893 mandir='${datarootdir}/man'
894
895 ac_prev=
896 ac_dashdash=
897 for ac_option
898 do
899   # If the previous option needs an argument, assign it.
900   if test -n "$ac_prev"; then
901     eval $ac_prev=\$ac_option
902     ac_prev=
903     continue
904   fi
905
906   case $ac_option in
907   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908   *=)   ac_optarg= ;;
909   *)    ac_optarg=yes ;;
910   esac
911
912   # Accept the important Cygnus configure options, so we can diagnose typos.
913
914   case $ac_dashdash$ac_option in
915   --)
916     ac_dashdash=yes ;;
917
918   -bindir | --bindir | --bindi | --bind | --bin | --bi)
919     ac_prev=bindir ;;
920   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
921     bindir=$ac_optarg ;;
922
923   -build | --build | --buil | --bui | --bu)
924     ac_prev=build_alias ;;
925   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
926     build_alias=$ac_optarg ;;
927
928   -cache-file | --cache-file | --cache-fil | --cache-fi \
929   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
930     ac_prev=cache_file ;;
931   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
932   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
933     cache_file=$ac_optarg ;;
934
935   --config-cache | -C)
936     cache_file=config.cache ;;
937
938   -datadir | --datadir | --datadi | --datad)
939     ac_prev=datadir ;;
940   -datadir=* | --datadir=* | --datadi=* | --datad=*)
941     datadir=$ac_optarg ;;
942
943   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
944   | --dataroo | --dataro | --datar)
945     ac_prev=datarootdir ;;
946   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
947   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
948     datarootdir=$ac_optarg ;;
949
950   -disable-* | --disable-*)
951     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
952     # Reject names that are not valid shell variable names.
953     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
954       as_fn_error $? "invalid feature name: $ac_useropt"
955     ac_useropt_orig=$ac_useropt
956     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957     case $ac_user_opts in
958       *"
959 "enable_$ac_useropt"
960 "*) ;;
961       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
962          ac_unrecognized_sep=', ';;
963     esac
964     eval enable_$ac_useropt=no ;;
965
966   -docdir | --docdir | --docdi | --doc | --do)
967     ac_prev=docdir ;;
968   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
969     docdir=$ac_optarg ;;
970
971   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
972     ac_prev=dvidir ;;
973   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
974     dvidir=$ac_optarg ;;
975
976   -enable-* | --enable-*)
977     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
978     # Reject names that are not valid shell variable names.
979     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
980       as_fn_error $? "invalid feature name: $ac_useropt"
981     ac_useropt_orig=$ac_useropt
982     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983     case $ac_user_opts in
984       *"
985 "enable_$ac_useropt"
986 "*) ;;
987       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
988          ac_unrecognized_sep=', ';;
989     esac
990     eval enable_$ac_useropt=\$ac_optarg ;;
991
992   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
993   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
994   | --exec | --exe | --ex)
995     ac_prev=exec_prefix ;;
996   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
997   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
998   | --exec=* | --exe=* | --ex=*)
999     exec_prefix=$ac_optarg ;;
1000
1001   -gas | --gas | --ga | --g)
1002     # Obsolete; use --with-gas.
1003     with_gas=yes ;;
1004
1005   -help | --help | --hel | --he | -h)
1006     ac_init_help=long ;;
1007   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1008     ac_init_help=recursive ;;
1009   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1010     ac_init_help=short ;;
1011
1012   -host | --host | --hos | --ho)
1013     ac_prev=host_alias ;;
1014   -host=* | --host=* | --hos=* | --ho=*)
1015     host_alias=$ac_optarg ;;
1016
1017   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1018     ac_prev=htmldir ;;
1019   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1020   | --ht=*)
1021     htmldir=$ac_optarg ;;
1022
1023   -includedir | --includedir | --includedi | --included | --include \
1024   | --includ | --inclu | --incl | --inc)
1025     ac_prev=includedir ;;
1026   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1027   | --includ=* | --inclu=* | --incl=* | --inc=*)
1028     includedir=$ac_optarg ;;
1029
1030   -infodir | --infodir | --infodi | --infod | --info | --inf)
1031     ac_prev=infodir ;;
1032   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1033     infodir=$ac_optarg ;;
1034
1035   -libdir | --libdir | --libdi | --libd)
1036     ac_prev=libdir ;;
1037   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1038     libdir=$ac_optarg ;;
1039
1040   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1041   | --libexe | --libex | --libe)
1042     ac_prev=libexecdir ;;
1043   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1044   | --libexe=* | --libex=* | --libe=*)
1045     libexecdir=$ac_optarg ;;
1046
1047   -localedir | --localedir | --localedi | --localed | --locale)
1048     ac_prev=localedir ;;
1049   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1050     localedir=$ac_optarg ;;
1051
1052   -localstatedir | --localstatedir | --localstatedi | --localstated \
1053   | --localstate | --localstat | --localsta | --localst | --locals)
1054     ac_prev=localstatedir ;;
1055   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1056   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1057     localstatedir=$ac_optarg ;;
1058
1059   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1060     ac_prev=mandir ;;
1061   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1062     mandir=$ac_optarg ;;
1063
1064   -nfp | --nfp | --nf)
1065     # Obsolete; use --without-fp.
1066     with_fp=no ;;
1067
1068   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1069   | --no-cr | --no-c | -n)
1070     no_create=yes ;;
1071
1072   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1073   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1074     no_recursion=yes ;;
1075
1076   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1077   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1078   | --oldin | --oldi | --old | --ol | --o)
1079     ac_prev=oldincludedir ;;
1080   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1081   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1082   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1083     oldincludedir=$ac_optarg ;;
1084
1085   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1086     ac_prev=prefix ;;
1087   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1088     prefix=$ac_optarg ;;
1089
1090   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1091   | --program-pre | --program-pr | --program-p)
1092     ac_prev=program_prefix ;;
1093   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1094   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1095     program_prefix=$ac_optarg ;;
1096
1097   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1098   | --program-suf | --program-su | --program-s)
1099     ac_prev=program_suffix ;;
1100   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1101   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1102     program_suffix=$ac_optarg ;;
1103
1104   -program-transform-name | --program-transform-name \
1105   | --program-transform-nam | --program-transform-na \
1106   | --program-transform-n | --program-transform- \
1107   | --program-transform | --program-transfor \
1108   | --program-transfo | --program-transf \
1109   | --program-trans | --program-tran \
1110   | --progr-tra | --program-tr | --program-t)
1111     ac_prev=program_transform_name ;;
1112   -program-transform-name=* | --program-transform-name=* \
1113   | --program-transform-nam=* | --program-transform-na=* \
1114   | --program-transform-n=* | --program-transform-=* \
1115   | --program-transform=* | --program-transfor=* \
1116   | --program-transfo=* | --program-transf=* \
1117   | --program-trans=* | --program-tran=* \
1118   | --progr-tra=* | --program-tr=* | --program-t=*)
1119     program_transform_name=$ac_optarg ;;
1120
1121   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1122     ac_prev=pdfdir ;;
1123   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1124     pdfdir=$ac_optarg ;;
1125
1126   -psdir | --psdir | --psdi | --psd | --ps)
1127     ac_prev=psdir ;;
1128   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1129     psdir=$ac_optarg ;;
1130
1131   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1132   | -silent | --silent | --silen | --sile | --sil)
1133     silent=yes ;;
1134
1135   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1136     ac_prev=sbindir ;;
1137   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1138   | --sbi=* | --sb=*)
1139     sbindir=$ac_optarg ;;
1140
1141   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1142   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1143   | --sharedst | --shareds | --shared | --share | --shar \
1144   | --sha | --sh)
1145     ac_prev=sharedstatedir ;;
1146   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1147   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1148   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1149   | --sha=* | --sh=*)
1150     sharedstatedir=$ac_optarg ;;
1151
1152   -site | --site | --sit)
1153     ac_prev=site ;;
1154   -site=* | --site=* | --sit=*)
1155     site=$ac_optarg ;;
1156
1157   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1158     ac_prev=srcdir ;;
1159   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1160     srcdir=$ac_optarg ;;
1161
1162   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1163   | --syscon | --sysco | --sysc | --sys | --sy)
1164     ac_prev=sysconfdir ;;
1165   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1166   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1167     sysconfdir=$ac_optarg ;;
1168
1169   -target | --target | --targe | --targ | --tar | --ta | --t)
1170     ac_prev=target_alias ;;
1171   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1172     target_alias=$ac_optarg ;;
1173
1174   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1175     verbose=yes ;;
1176
1177   -version | --version | --versio | --versi | --vers | -V)
1178     ac_init_version=: ;;
1179
1180   -with-* | --with-*)
1181     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1182     # Reject names that are not valid shell variable names.
1183     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184       as_fn_error $? "invalid package name: $ac_useropt"
1185     ac_useropt_orig=$ac_useropt
1186     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187     case $ac_user_opts in
1188       *"
1189 "with_$ac_useropt"
1190 "*) ;;
1191       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1192          ac_unrecognized_sep=', ';;
1193     esac
1194     eval with_$ac_useropt=\$ac_optarg ;;
1195
1196   -without-* | --without-*)
1197     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1198     # Reject names that are not valid shell variable names.
1199     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200       as_fn_error $? "invalid package name: $ac_useropt"
1201     ac_useropt_orig=$ac_useropt
1202     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203     case $ac_user_opts in
1204       *"
1205 "with_$ac_useropt"
1206 "*) ;;
1207       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1208          ac_unrecognized_sep=', ';;
1209     esac
1210     eval with_$ac_useropt=no ;;
1211
1212   --x)
1213     # Obsolete; use --with-x.
1214     with_x=yes ;;
1215
1216   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1217   | --x-incl | --x-inc | --x-in | --x-i)
1218     ac_prev=x_includes ;;
1219   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1220   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1221     x_includes=$ac_optarg ;;
1222
1223   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1224   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1225     ac_prev=x_libraries ;;
1226   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1227   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1228     x_libraries=$ac_optarg ;;
1229
1230   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1231 Try \`$0 --help' for more information"
1232     ;;
1233
1234   *=*)
1235     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1236     # Reject names that are not valid shell variable names.
1237     case $ac_envvar in #(
1238       '' | [0-9]* | *[!_$as_cr_alnum]* )
1239       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1240     esac
1241     eval $ac_envvar=\$ac_optarg
1242     export $ac_envvar ;;
1243
1244   *)
1245     # FIXME: should be removed in autoconf 3.0.
1246     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1247     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1248       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1249     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1250     ;;
1251
1252   esac
1253 done
1254
1255 if test -n "$ac_prev"; then
1256   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1257   as_fn_error $? "missing argument to $ac_option"
1258 fi
1259
1260 if test -n "$ac_unrecognized_opts"; then
1261   case $enable_option_checking in
1262     no) ;;
1263     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1264     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1265   esac
1266 fi
1267
1268 # Check all directory arguments for consistency.
1269 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1270                 datadir sysconfdir sharedstatedir localstatedir includedir \
1271                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1272                 libdir localedir mandir
1273 do
1274   eval ac_val=\$$ac_var
1275   # Remove trailing slashes.
1276   case $ac_val in
1277     */ )
1278       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1279       eval $ac_var=\$ac_val;;
1280   esac
1281   # Be sure to have absolute directory names.
1282   case $ac_val in
1283     [\\/$]* | ?:[\\/]* )  continue;;
1284     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1285   esac
1286   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1287 done
1288
1289 # There might be people who depend on the old broken behavior: `$host'
1290 # used to hold the argument of --host etc.
1291 # FIXME: To remove some day.
1292 build=$build_alias
1293 host=$host_alias
1294 target=$target_alias
1295
1296 # FIXME: To remove some day.
1297 if test "x$host_alias" != x; then
1298   if test "x$build_alias" = x; then
1299     cross_compiling=maybe
1300     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1301     If a cross compiler is detected then cross compile mode will be used" >&2
1302   elif test "x$build_alias" != "x$host_alias"; then
1303     cross_compiling=yes
1304   fi
1305 fi
1306
1307 ac_tool_prefix=
1308 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1309
1310 test "$silent" = yes && exec 6>/dev/null
1311
1312
1313 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1314 ac_ls_di=`ls -di .` &&
1315 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1316   as_fn_error $? "working directory cannot be determined"
1317 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1318   as_fn_error $? "pwd does not report name of working directory"
1319
1320
1321 # Find the source files, if location was not specified.
1322 if test -z "$srcdir"; then
1323   ac_srcdir_defaulted=yes
1324   # Try the directory containing this script, then the parent directory.
1325   ac_confdir=`$as_dirname -- "$as_myself" ||
1326 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1327          X"$as_myself" : 'X\(//\)[^/]' \| \
1328          X"$as_myself" : 'X\(//\)$' \| \
1329          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1330 $as_echo X"$as_myself" |
1331     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332             s//\1/
1333             q
1334           }
1335           /^X\(\/\/\)[^/].*/{
1336             s//\1/
1337             q
1338           }
1339           /^X\(\/\/\)$/{
1340             s//\1/
1341             q
1342           }
1343           /^X\(\/\).*/{
1344             s//\1/
1345             q
1346           }
1347           s/.*/./; q'`
1348   srcdir=$ac_confdir
1349   if test ! -r "$srcdir/$ac_unique_file"; then
1350     srcdir=..
1351   fi
1352 else
1353   ac_srcdir_defaulted=no
1354 fi
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1356   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1357   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1358 fi
1359 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 ac_abs_confdir=`(
1361         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1362         pwd)`
1363 # When building in place, set srcdir=.
1364 if test "$ac_abs_confdir" = "$ac_pwd"; then
1365   srcdir=.
1366 fi
1367 # Remove unnecessary trailing slashes from srcdir.
1368 # Double slashes in file names in object file debugging info
1369 # mess up M-x gdb in Emacs.
1370 case $srcdir in
1371 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1372 esac
1373 for ac_var in $ac_precious_vars; do
1374   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1375   eval ac_env_${ac_var}_value=\$${ac_var}
1376   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1377   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1378 done
1379
1380 #
1381 # Report the --help message.
1382 #
1383 if test "$ac_init_help" = "long"; then
1384   # Omit some internal or obsolete options to make the list less imposing.
1385   # This message is too long to be a string in the A/UX 3.1 sh.
1386   cat <<_ACEOF
1387 \`configure' configures opensaml 2.4.1 to adapt to many kinds of systems.
1388
1389 Usage: $0 [OPTION]... [VAR=VALUE]...
1390
1391 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1392 VAR=VALUE.  See below for descriptions of some of the useful variables.
1393
1394 Defaults for the options are specified in brackets.
1395
1396 Configuration:
1397   -h, --help              display this help and exit
1398       --help=short        display options specific to this package
1399       --help=recursive    display the short help of all the included packages
1400   -V, --version           display version information and exit
1401   -q, --quiet, --silent   do not print \`checking ...' messages
1402       --cache-file=FILE   cache test results in FILE [disabled]
1403   -C, --config-cache      alias for \`--cache-file=config.cache'
1404   -n, --no-create         do not create output files
1405       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1406
1407 Installation directories:
1408   --prefix=PREFIX         install architecture-independent files in PREFIX
1409                           [$ac_default_prefix]
1410   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1411                           [PREFIX]
1412
1413 By default, \`make install' will install all the files in
1414 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1415 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1416 for instance \`--prefix=\$HOME'.
1417
1418 For better control, use the options below.
1419
1420 Fine tuning of the installation directories:
1421   --bindir=DIR            user executables [EPREFIX/bin]
1422   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1423   --libexecdir=DIR        program executables [EPREFIX/libexec]
1424   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1425   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1426   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1427   --libdir=DIR            object code libraries [EPREFIX/lib]
1428   --includedir=DIR        C header files [PREFIX/include]
1429   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1430   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1431   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1432   --infodir=DIR           info documentation [DATAROOTDIR/info]
1433   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1434   --mandir=DIR            man documentation [DATAROOTDIR/man]
1435   --docdir=DIR            documentation root [DATAROOTDIR/doc/opensaml]
1436   --htmldir=DIR           html documentation [DOCDIR]
1437   --dvidir=DIR            dvi documentation [DOCDIR]
1438   --pdfdir=DIR            pdf documentation [DOCDIR]
1439   --psdir=DIR             ps documentation [DOCDIR]
1440 _ACEOF
1441
1442   cat <<\_ACEOF
1443
1444 Program names:
1445   --program-prefix=PREFIX            prepend PREFIX to installed program names
1446   --program-suffix=SUFFIX            append SUFFIX to installed program names
1447   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1448
1449 System types:
1450   --build=BUILD     configure for building on BUILD [guessed]
1451   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1452 _ACEOF
1453 fi
1454
1455 if test -n "$ac_init_help"; then
1456   case $ac_init_help in
1457      short | recursive ) echo "Configuration of opensaml 2.4.1:";;
1458    esac
1459   cat <<\_ACEOF
1460
1461 Optional Features:
1462   --disable-option-checking  ignore unrecognized --enable/--with options
1463   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1464   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1465   --enable-static[=PKGS]  build static libraries [default=no]
1466   --enable-shared[=PKGS]  build shared libraries [default=yes]
1467   --enable-fast-install[=PKGS]
1468                           optimize for fast installation [default=yes]
1469   --disable-dependency-tracking  speeds up one-time build
1470   --enable-dependency-tracking   do not reject slow dependency extractors
1471   --disable-libtool-lock  avoid locking (might break parallel builds)
1472   --disable-doxygen-doc   don't generate any doxygen documentation
1473   --disable-doxygen-dot   don't generate graphics for doxygen documentation
1474   --enable-doxygen-man    generate doxygen manual pages
1475   --enable-doxygen-rtf    generate doxygen RTF documentation
1476   --enable-doxygen-xml    generate doxygen XML documentation
1477   --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1478   --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1479                           file
1480   --disable-doxygen-html  don't generate doxygen plain HTML documentation
1481   --enable-doxygen-ps     generate doxygen PostScript documentation
1482   --enable-doxygen-pdf    generate doxygen PDF documentation
1483   --enable-debug          Have GCC compile with symbols (Default = no)
1484
1485 Optional Packages:
1486   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1487   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1488   --with-pic              try to use only PIC/non-PIC objects [default=use
1489                           both]
1490   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1491   --with-sysroot=DIR Search for dependent libraries within DIR
1492                         (or the compiler's sysroot if not specified).
1493   --with-zlib=PATH        where zlib is installed
1494   --with-openssl=PATH     where openssl is installed
1495   --with-log4shib=PATH    where log4shib-config is installed
1496   --with-log4cpp=PATH     where log4cpp-config is installed
1497   --with-xerces=PATH      where xerces-c is installed
1498   --with-xmlsec=PATH      where xmlsec is installed
1499   --with-xmltooling=PATH  where xmltooling is installed
1500   --with-cxxtest=PATH     where cxxtest is installed
1501
1502 Some influential environment variables:
1503   CC          C compiler command
1504   CFLAGS      C compiler flags
1505   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1506               nonstandard directory <lib dir>
1507   LIBS        libraries to pass to the linker, e.g. -l<library>
1508   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1509               you have headers in a nonstandard directory <include dir>
1510   CPP         C preprocessor
1511   DOXYGEN_PAPER_SIZE
1512               a4wide (default), a4, letter, legal or executive
1513   CXX         C++ compiler command
1514   CXXFLAGS    C++ compiler flags
1515   CXXCPP      C++ preprocessor
1516
1517 Use these variables to override the choices made by `configure' or to help
1518 it to find libraries and programs with nonstandard names/locations.
1519
1520 Report bugs to <https://bugs.internet2.edu/>.
1521 _ACEOF
1522 ac_status=$?
1523 fi
1524
1525 if test "$ac_init_help" = "recursive"; then
1526   # If there are subdirs, report their specific --help.
1527   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1528     test -d "$ac_dir" ||
1529       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1530       continue
1531     ac_builddir=.
1532
1533 case "$ac_dir" in
1534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 *)
1536   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1537   # A ".." for each directory in $ac_dir_suffix.
1538   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1539   case $ac_top_builddir_sub in
1540   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1542   esac ;;
1543 esac
1544 ac_abs_top_builddir=$ac_pwd
1545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1546 # for backward compatibility:
1547 ac_top_builddir=$ac_top_build_prefix
1548
1549 case $srcdir in
1550   .)  # We are building in place.
1551     ac_srcdir=.
1552     ac_top_srcdir=$ac_top_builddir_sub
1553     ac_abs_top_srcdir=$ac_pwd ;;
1554   [\\/]* | ?:[\\/]* )  # Absolute name.
1555     ac_srcdir=$srcdir$ac_dir_suffix;
1556     ac_top_srcdir=$srcdir
1557     ac_abs_top_srcdir=$srcdir ;;
1558   *) # Relative name.
1559     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1560     ac_top_srcdir=$ac_top_build_prefix$srcdir
1561     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1562 esac
1563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1564
1565     cd "$ac_dir" || { ac_status=$?; continue; }
1566     # Check for guested configure.
1567     if test -f "$ac_srcdir/configure.gnu"; then
1568       echo &&
1569       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1570     elif test -f "$ac_srcdir/configure"; then
1571       echo &&
1572       $SHELL "$ac_srcdir/configure" --help=recursive
1573     else
1574       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1575     fi || ac_status=$?
1576     cd "$ac_pwd" || { ac_status=$?; break; }
1577   done
1578 fi
1579
1580 test -n "$ac_init_help" && exit $ac_status
1581 if $ac_init_version; then
1582   cat <<\_ACEOF
1583 opensaml configure 2.4.1
1584 generated by GNU Autoconf 2.68
1585
1586 Copyright (C) 2010 Free Software Foundation, Inc.
1587 This configure script is free software; the Free Software Foundation
1588 gives unlimited permission to copy, distribute and modify it.
1589 _ACEOF
1590   exit
1591 fi
1592
1593 ## ------------------------ ##
1594 ## Autoconf initialization. ##
1595 ## ------------------------ ##
1596
1597 # ac_fn_c_try_compile LINENO
1598 # --------------------------
1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_c_try_compile ()
1601 {
1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603   rm -f conftest.$ac_objext
1604   if { { ac_try="$ac_compile"
1605 case "(($ac_try" in
1606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607   *) ac_try_echo=$ac_try;;
1608 esac
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611   (eval "$ac_compile") 2>conftest.err
1612   ac_status=$?
1613   if test -s conftest.err; then
1614     grep -v '^ *+' conftest.err >conftest.er1
1615     cat conftest.er1 >&5
1616     mv -f conftest.er1 conftest.err
1617   fi
1618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619   test $ac_status = 0; } && {
1620          test -z "$ac_c_werror_flag" ||
1621          test ! -s conftest.err
1622        } && test -s conftest.$ac_objext; then :
1623   ac_retval=0
1624 else
1625   $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1627
1628         ac_retval=1
1629 fi
1630   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631   as_fn_set_status $ac_retval
1632
1633 } # ac_fn_c_try_compile
1634
1635 # ac_fn_c_try_link LINENO
1636 # -----------------------
1637 # Try to link conftest.$ac_ext, and return whether this succeeded.
1638 ac_fn_c_try_link ()
1639 {
1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641   rm -f conftest.$ac_objext conftest$ac_exeext
1642   if { { ac_try="$ac_link"
1643 case "(($ac_try" in
1644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645   *) ac_try_echo=$ac_try;;
1646 esac
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649   (eval "$ac_link") 2>conftest.err
1650   ac_status=$?
1651   if test -s conftest.err; then
1652     grep -v '^ *+' conftest.err >conftest.er1
1653     cat conftest.er1 >&5
1654     mv -f conftest.er1 conftest.err
1655   fi
1656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657   test $ac_status = 0; } && {
1658          test -z "$ac_c_werror_flag" ||
1659          test ! -s conftest.err
1660        } && test -s conftest$ac_exeext && {
1661          test "$cross_compiling" = yes ||
1662          $as_test_x conftest$ac_exeext
1663        }; then :
1664   ac_retval=0
1665 else
1666   $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.$ac_ext >&5
1668
1669         ac_retval=1
1670 fi
1671   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1672   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1673   # interfere with the next link command; also delete a directory that is
1674   # left behind by Apple's compiler.  We do this before executing the actions.
1675   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1676   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677   as_fn_set_status $ac_retval
1678
1679 } # ac_fn_c_try_link
1680
1681 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1682 # -------------------------------------------------------
1683 # Tests whether HEADER exists and can be compiled using the include files in
1684 # INCLUDES, setting the cache variable VAR accordingly.
1685 ac_fn_c_check_header_compile ()
1686 {
1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1689 $as_echo_n "checking for $2... " >&6; }
1690 if eval \${$3+:} false; then :
1691   $as_echo_n "(cached) " >&6
1692 else
1693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1694 /* end confdefs.h.  */
1695 $4
1696 #include <$2>
1697 _ACEOF
1698 if ac_fn_c_try_compile "$LINENO"; then :
1699   eval "$3=yes"
1700 else
1701   eval "$3=no"
1702 fi
1703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1704 fi
1705 eval ac_res=\$$3
1706                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1707 $as_echo "$ac_res" >&6; }
1708   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709
1710 } # ac_fn_c_check_header_compile
1711
1712 # ac_fn_c_try_cpp LINENO
1713 # ----------------------
1714 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_cpp ()
1716 {
1717   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718   if { { ac_try="$ac_cpp conftest.$ac_ext"
1719 case "(($ac_try" in
1720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721   *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1726   ac_status=$?
1727   if test -s conftest.err; then
1728     grep -v '^ *+' conftest.err >conftest.er1
1729     cat conftest.er1 >&5
1730     mv -f conftest.er1 conftest.err
1731   fi
1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733   test $ac_status = 0; } > conftest.i && {
1734          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1735          test ! -s conftest.err
1736        }; then :
1737   ac_retval=0
1738 else
1739   $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1741
1742     ac_retval=1
1743 fi
1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745   as_fn_set_status $ac_retval
1746
1747 } # ac_fn_c_try_cpp
1748
1749 # ac_fn_c_try_run LINENO
1750 # ----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1752 # that executables *can* be run.
1753 ac_fn_c_try_run ()
1754 {
1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756   if { { ac_try="$ac_link"
1757 case "(($ac_try" in
1758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759   *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763   (eval "$ac_link") 2>&5
1764   ac_status=$?
1765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1767   { { case "(($ac_try" in
1768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769   *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773   (eval "$ac_try") 2>&5
1774   ac_status=$?
1775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776   test $ac_status = 0; }; }; then :
1777   ac_retval=0
1778 else
1779   $as_echo "$as_me: program exited with status $ac_status" >&5
1780        $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1782
1783        ac_retval=$ac_status
1784 fi
1785   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787   as_fn_set_status $ac_retval
1788
1789 } # ac_fn_c_try_run
1790
1791 # ac_fn_c_check_func LINENO FUNC VAR
1792 # ----------------------------------
1793 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1794 ac_fn_c_check_func ()
1795 {
1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if eval \${$3+:} false; then :
1800   $as_echo_n "(cached) " >&6
1801 else
1802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h.  */
1804 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1806 #define $2 innocuous_$2
1807
1808 /* System header to define __stub macros and hopefully few prototypes,
1809     which can conflict with char $2 (); below.
1810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1811     <limits.h> exists even on freestanding compilers.  */
1812
1813 #ifdef __STDC__
1814 # include <limits.h>
1815 #else
1816 # include <assert.h>
1817 #endif
1818
1819 #undef $2
1820
1821 /* Override any GCC internal prototype to avoid an error.
1822    Use char because int might match the return type of a GCC
1823    builtin and then its argument prototype would still apply.  */
1824 #ifdef __cplusplus
1825 extern "C"
1826 #endif
1827 char $2 ();
1828 /* The GNU C library defines this for functions which it implements
1829     to always fail with ENOSYS.  Some functions are actually named
1830     something starting with __ and the normal name is an alias.  */
1831 #if defined __stub_$2 || defined __stub___$2
1832 choke me
1833 #endif
1834
1835 int
1836 main ()
1837 {
1838 return $2 ();
1839   ;
1840   return 0;
1841 }
1842 _ACEOF
1843 if ac_fn_c_try_link "$LINENO"; then :
1844   eval "$3=yes"
1845 else
1846   eval "$3=no"
1847 fi
1848 rm -f core conftest.err conftest.$ac_objext \
1849     conftest$ac_exeext conftest.$ac_ext
1850 fi
1851 eval ac_res=\$$3
1852                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853 $as_echo "$ac_res" >&6; }
1854   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855
1856 } # ac_fn_c_check_func
1857
1858 # ac_fn_cxx_try_compile LINENO
1859 # ----------------------------
1860 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1861 ac_fn_cxx_try_compile ()
1862 {
1863   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864   rm -f conftest.$ac_objext
1865   if { { ac_try="$ac_compile"
1866 case "(($ac_try" in
1867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1868   *) ac_try_echo=$ac_try;;
1869 esac
1870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872   (eval "$ac_compile") 2>conftest.err
1873   ac_status=$?
1874   if test -s conftest.err; then
1875     grep -v '^ *+' conftest.err >conftest.er1
1876     cat conftest.er1 >&5
1877     mv -f conftest.er1 conftest.err
1878   fi
1879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880   test $ac_status = 0; } && {
1881          test -z "$ac_cxx_werror_flag" ||
1882          test ! -s conftest.err
1883        } && test -s conftest.$ac_objext; then :
1884   ac_retval=0
1885 else
1886   $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.$ac_ext >&5
1888
1889         ac_retval=1
1890 fi
1891   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892   as_fn_set_status $ac_retval
1893
1894 } # ac_fn_cxx_try_compile
1895
1896 # ac_fn_cxx_try_cpp LINENO
1897 # ------------------------
1898 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1899 ac_fn_cxx_try_cpp ()
1900 {
1901   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902   if { { ac_try="$ac_cpp conftest.$ac_ext"
1903 case "(($ac_try" in
1904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1905   *) ac_try_echo=$ac_try;;
1906 esac
1907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908 $as_echo "$ac_try_echo"; } >&5
1909   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1910   ac_status=$?
1911   if test -s conftest.err; then
1912     grep -v '^ *+' conftest.err >conftest.er1
1913     cat conftest.er1 >&5
1914     mv -f conftest.er1 conftest.err
1915   fi
1916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1917   test $ac_status = 0; } > conftest.i && {
1918          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1919          test ! -s conftest.err
1920        }; then :
1921   ac_retval=0
1922 else
1923   $as_echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.$ac_ext >&5
1925
1926     ac_retval=1
1927 fi
1928   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929   as_fn_set_status $ac_retval
1930
1931 } # ac_fn_cxx_try_cpp
1932
1933 # ac_fn_cxx_try_link LINENO
1934 # -------------------------
1935 # Try to link conftest.$ac_ext, and return whether this succeeded.
1936 ac_fn_cxx_try_link ()
1937 {
1938   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939   rm -f conftest.$ac_objext conftest$ac_exeext
1940   if { { ac_try="$ac_link"
1941 case "(($ac_try" in
1942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1943   *) ac_try_echo=$ac_try;;
1944 esac
1945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946 $as_echo "$ac_try_echo"; } >&5
1947   (eval "$ac_link") 2>conftest.err
1948   ac_status=$?
1949   if test -s conftest.err; then
1950     grep -v '^ *+' conftest.err >conftest.er1
1951     cat conftest.er1 >&5
1952     mv -f conftest.er1 conftest.err
1953   fi
1954   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1955   test $ac_status = 0; } && {
1956          test -z "$ac_cxx_werror_flag" ||
1957          test ! -s conftest.err
1958        } && test -s conftest$ac_exeext && {
1959          test "$cross_compiling" = yes ||
1960          $as_test_x conftest$ac_exeext
1961        }; then :
1962   ac_retval=0
1963 else
1964   $as_echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.$ac_ext >&5
1966
1967         ac_retval=1
1968 fi
1969   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1970   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1971   # interfere with the next link command; also delete a directory that is
1972   # left behind by Apple's compiler.  We do this before executing the actions.
1973   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1974   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975   as_fn_set_status $ac_retval
1976
1977 } # ac_fn_cxx_try_link
1978
1979 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1980 # -------------------------------------------
1981 # Tests whether TYPE exists after having included INCLUDES, setting cache
1982 # variable VAR accordingly.
1983 ac_fn_c_check_type ()
1984 {
1985   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1987 $as_echo_n "checking for $2... " >&6; }
1988 if eval \${$3+:} false; then :
1989   $as_echo_n "(cached) " >&6
1990 else
1991   eval "$3=no"
1992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h.  */
1994 $4
1995 int
1996 main ()
1997 {
1998 if (sizeof ($2))
1999          return 0;
2000   ;
2001   return 0;
2002 }
2003 _ACEOF
2004 if ac_fn_c_try_compile "$LINENO"; then :
2005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h.  */
2007 $4
2008 int
2009 main ()
2010 {
2011 if (sizeof (($2)))
2012             return 0;
2013   ;
2014   return 0;
2015 }
2016 _ACEOF
2017 if ac_fn_c_try_compile "$LINENO"; then :
2018
2019 else
2020   eval "$3=yes"
2021 fi
2022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2023 fi
2024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2025 fi
2026 eval ac_res=\$$3
2027                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028 $as_echo "$ac_res" >&6; }
2029   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030
2031 } # ac_fn_c_check_type
2032
2033 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2034 # --------------------------------------------
2035 # Tries to find the compile-time value of EXPR in a program that includes
2036 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2037 # computed
2038 ac_fn_c_compute_int ()
2039 {
2040   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041   if test "$cross_compiling" = yes; then
2042     # Depending upon the size, compute the lo and hi bounds.
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h.  */
2045 $4
2046 int
2047 main ()
2048 {
2049 static int test_array [1 - 2 * !(($2) >= 0)];
2050 test_array [0] = 0
2051
2052   ;
2053   return 0;
2054 }
2055 _ACEOF
2056 if ac_fn_c_try_compile "$LINENO"; then :
2057   ac_lo=0 ac_mid=0
2058   while :; do
2059     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h.  */
2061 $4
2062 int
2063 main ()
2064 {
2065 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2066 test_array [0] = 0
2067
2068   ;
2069   return 0;
2070 }
2071 _ACEOF
2072 if ac_fn_c_try_compile "$LINENO"; then :
2073   ac_hi=$ac_mid; break
2074 else
2075   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2076                         if test $ac_lo -le $ac_mid; then
2077                           ac_lo= ac_hi=
2078                           break
2079                         fi
2080                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2081 fi
2082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2083   done
2084 else
2085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h.  */
2087 $4
2088 int
2089 main ()
2090 {
2091 static int test_array [1 - 2 * !(($2) < 0)];
2092 test_array [0] = 0
2093
2094   ;
2095   return 0;
2096 }
2097 _ACEOF
2098 if ac_fn_c_try_compile "$LINENO"; then :
2099   ac_hi=-1 ac_mid=-1
2100   while :; do
2101     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h.  */
2103 $4
2104 int
2105 main ()
2106 {
2107 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2108 test_array [0] = 0
2109
2110   ;
2111   return 0;
2112 }
2113 _ACEOF
2114 if ac_fn_c_try_compile "$LINENO"; then :
2115   ac_lo=$ac_mid; break
2116 else
2117   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2118                         if test $ac_mid -le $ac_hi; then
2119                           ac_lo= ac_hi=
2120                           break
2121                         fi
2122                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2123 fi
2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125   done
2126 else
2127   ac_lo= ac_hi=
2128 fi
2129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130 fi
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 # Binary search between lo and hi bounds.
2133 while test "x$ac_lo" != "x$ac_hi"; do
2134   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h.  */
2137 $4
2138 int
2139 main ()
2140 {
2141 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2142 test_array [0] = 0
2143
2144   ;
2145   return 0;
2146 }
2147 _ACEOF
2148 if ac_fn_c_try_compile "$LINENO"; then :
2149   ac_hi=$ac_mid
2150 else
2151   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2152 fi
2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2154 done
2155 case $ac_lo in #((
2156 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2157 '') ac_retval=1 ;;
2158 esac
2159   else
2160     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h.  */
2162 $4
2163 static long int longval () { return $2; }
2164 static unsigned long int ulongval () { return $2; }
2165 #include <stdio.h>
2166 #include <stdlib.h>
2167 int
2168 main ()
2169 {
2170
2171   FILE *f = fopen ("conftest.val", "w");
2172   if (! f)
2173     return 1;
2174   if (($2) < 0)
2175     {
2176       long int i = longval ();
2177       if (i != ($2))
2178         return 1;
2179       fprintf (f, "%ld", i);
2180     }
2181   else
2182     {
2183       unsigned long int i = ulongval ();
2184       if (i != ($2))
2185         return 1;
2186       fprintf (f, "%lu", i);
2187     }
2188   /* Do not output a trailing newline, as this causes \r\n confusion
2189      on some platforms.  */
2190   return ferror (f) || fclose (f) != 0;
2191
2192   ;
2193   return 0;
2194 }
2195 _ACEOF
2196 if ac_fn_c_try_run "$LINENO"; then :
2197   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2198 else
2199   ac_retval=1
2200 fi
2201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2202   conftest.$ac_objext conftest.beam conftest.$ac_ext
2203 rm -f conftest.val
2204
2205   fi
2206   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2207   as_fn_set_status $ac_retval
2208
2209 } # ac_fn_c_compute_int
2210
2211 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2212 # -------------------------------------------------------
2213 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2214 # the include files in INCLUDES and setting the cache variable VAR
2215 # accordingly.
2216 ac_fn_c_check_header_mongrel ()
2217 {
2218   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2219   if eval \${$3+:} false; then :
2220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2221 $as_echo_n "checking for $2... " >&6; }
2222 if eval \${$3+:} false; then :
2223   $as_echo_n "(cached) " >&6
2224 fi
2225 eval ac_res=\$$3
2226                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2228 else
2229   # Is the header compilable?
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2231 $as_echo_n "checking $2 usability... " >&6; }
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h.  */
2234 $4
2235 #include <$2>
2236 _ACEOF
2237 if ac_fn_c_try_compile "$LINENO"; then :
2238   ac_header_compiler=yes
2239 else
2240   ac_header_compiler=no
2241 fi
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2244 $as_echo "$ac_header_compiler" >&6; }
2245
2246 # Is the header present?
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2248 $as_echo_n "checking $2 presence... " >&6; }
2249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2250 /* end confdefs.h.  */
2251 #include <$2>
2252 _ACEOF
2253 if ac_fn_c_try_cpp "$LINENO"; then :
2254   ac_header_preproc=yes
2255 else
2256   ac_header_preproc=no
2257 fi
2258 rm -f conftest.err conftest.i conftest.$ac_ext
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2260 $as_echo "$ac_header_preproc" >&6; }
2261
2262 # So?  What about this header?
2263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2264   yes:no: )
2265     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2266 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2267     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2268 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2269     ;;
2270   no:yes:* )
2271     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2272 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2273     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2274 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2275     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2276 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2277     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2278 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2279     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2280 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2281 ( $as_echo "## ------------------------------------------ ##
2282 ## Report this to https://bugs.internet2.edu/ ##
2283 ## ------------------------------------------ ##"
2284      ) | sed "s/^/$as_me: WARNING:     /" >&2
2285     ;;
2286 esac
2287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2288 $as_echo_n "checking for $2... " >&6; }
2289 if eval \${$3+:} false; then :
2290   $as_echo_n "(cached) " >&6
2291 else
2292   eval "$3=\$ac_header_compiler"
2293 fi
2294 eval ac_res=\$$3
2295                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2296 $as_echo "$ac_res" >&6; }
2297 fi
2298   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2299
2300 } # ac_fn_c_check_header_mongrel
2301
2302 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2303 # ---------------------------------------------------------
2304 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2305 # the include files in INCLUDES and setting the cache variable VAR
2306 # accordingly.
2307 ac_fn_cxx_check_header_mongrel ()
2308 {
2309   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2310   if eval \${$3+:} false; then :
2311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2312 $as_echo_n "checking for $2... " >&6; }
2313 if eval \${$3+:} false; then :
2314   $as_echo_n "(cached) " >&6
2315 fi
2316 eval ac_res=\$$3
2317                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2318 $as_echo "$ac_res" >&6; }
2319 else
2320   # Is the header compilable?
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2322 $as_echo_n "checking $2 usability... " >&6; }
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h.  */
2325 $4
2326 #include <$2>
2327 _ACEOF
2328 if ac_fn_cxx_try_compile "$LINENO"; then :
2329   ac_header_compiler=yes
2330 else
2331   ac_header_compiler=no
2332 fi
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2335 $as_echo "$ac_header_compiler" >&6; }
2336
2337 # Is the header present?
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2339 $as_echo_n "checking $2 presence... " >&6; }
2340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341 /* end confdefs.h.  */
2342 #include <$2>
2343 _ACEOF
2344 if ac_fn_cxx_try_cpp "$LINENO"; then :
2345   ac_header_preproc=yes
2346 else
2347   ac_header_preproc=no
2348 fi
2349 rm -f conftest.err conftest.i conftest.$ac_ext
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2351 $as_echo "$ac_header_preproc" >&6; }
2352
2353 # So?  What about this header?
2354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2355   yes:no: )
2356     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2357 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2358     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2359 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2360     ;;
2361   no:yes:* )
2362     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2363 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2364     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2365 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2366     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2367 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2368     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2369 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2370     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2371 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2372 ( $as_echo "## ------------------------------------------ ##
2373 ## Report this to https://bugs.internet2.edu/ ##
2374 ## ------------------------------------------ ##"
2375      ) | sed "s/^/$as_me: WARNING:     /" >&2
2376     ;;
2377 esac
2378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2379 $as_echo_n "checking for $2... " >&6; }
2380 if eval \${$3+:} false; then :
2381   $as_echo_n "(cached) " >&6
2382 else
2383   eval "$3=\$ac_header_compiler"
2384 fi
2385 eval ac_res=\$$3
2386                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2387 $as_echo "$ac_res" >&6; }
2388 fi
2389   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2390
2391 } # ac_fn_cxx_check_header_mongrel
2392 cat >config.log <<_ACEOF
2393 This file contains any messages produced by compilers while
2394 running configure, to aid debugging if configure makes a mistake.
2395
2396 It was created by opensaml $as_me 2.4.1, which was
2397 generated by GNU Autoconf 2.68.  Invocation command line was
2398
2399   $ $0 $@
2400
2401 _ACEOF
2402 exec 5>>config.log
2403 {
2404 cat <<_ASUNAME
2405 ## --------- ##
2406 ## Platform. ##
2407 ## --------- ##
2408
2409 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2410 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2411 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2412 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2413 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2414
2415 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2416 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2417
2418 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2419 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2420 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2421 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2422 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2423 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2424 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2425
2426 _ASUNAME
2427
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 for as_dir in $PATH
2430 do
2431   IFS=$as_save_IFS
2432   test -z "$as_dir" && as_dir=.
2433     $as_echo "PATH: $as_dir"
2434   done
2435 IFS=$as_save_IFS
2436
2437 } >&5
2438
2439 cat >&5 <<_ACEOF
2440
2441
2442 ## ----------- ##
2443 ## Core tests. ##
2444 ## ----------- ##
2445
2446 _ACEOF
2447
2448
2449 # Keep a trace of the command line.
2450 # Strip out --no-create and --no-recursion so they do not pile up.
2451 # Strip out --silent because we don't want to record it for future runs.
2452 # Also quote any args containing shell meta-characters.
2453 # Make two passes to allow for proper duplicate-argument suppression.
2454 ac_configure_args=
2455 ac_configure_args0=
2456 ac_configure_args1=
2457 ac_must_keep_next=false
2458 for ac_pass in 1 2
2459 do
2460   for ac_arg
2461   do
2462     case $ac_arg in
2463     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2464     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2465     | -silent | --silent | --silen | --sile | --sil)
2466       continue ;;
2467     *\'*)
2468       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2469     esac
2470     case $ac_pass in
2471     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2472     2)
2473       as_fn_append ac_configure_args1 " '$ac_arg'"
2474       if test $ac_must_keep_next = true; then
2475         ac_must_keep_next=false # Got value, back to normal.
2476       else
2477         case $ac_arg in
2478           *=* | --config-cache | -C | -disable-* | --disable-* \
2479           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2480           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2481           | -with-* | --with-* | -without-* | --without-* | --x)
2482             case "$ac_configure_args0 " in
2483               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2484             esac
2485             ;;
2486           -* ) ac_must_keep_next=true ;;
2487         esac
2488       fi
2489       as_fn_append ac_configure_args " '$ac_arg'"
2490       ;;
2491     esac
2492   done
2493 done
2494 { ac_configure_args0=; unset ac_configure_args0;}
2495 { ac_configure_args1=; unset ac_configure_args1;}
2496
2497 # When interrupted or exit'd, cleanup temporary files, and complete
2498 # config.log.  We remove comments because anyway the quotes in there
2499 # would cause problems or look ugly.
2500 # WARNING: Use '\'' to represent an apostrophe within the trap.
2501 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2502 trap 'exit_status=$?
2503   # Save into config.log some information that might help in debugging.
2504   {
2505     echo
2506
2507     $as_echo "## ---------------- ##
2508 ## Cache variables. ##
2509 ## ---------------- ##"
2510     echo
2511     # The following way of writing the cache mishandles newlines in values,
2512 (
2513   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2514     eval ac_val=\$$ac_var
2515     case $ac_val in #(
2516     *${as_nl}*)
2517       case $ac_var in #(
2518       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2519 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2520       esac
2521       case $ac_var in #(
2522       _ | IFS | as_nl) ;; #(
2523       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2524       *) { eval $ac_var=; unset $ac_var;} ;;
2525       esac ;;
2526     esac
2527   done
2528   (set) 2>&1 |
2529     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2530     *${as_nl}ac_space=\ *)
2531       sed -n \
2532         "s/'\''/'\''\\\\'\'''\''/g;
2533           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2534       ;; #(
2535     *)
2536       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2537       ;;
2538     esac |
2539     sort
2540 )
2541     echo
2542
2543     $as_echo "## ----------------- ##
2544 ## Output variables. ##
2545 ## ----------------- ##"
2546     echo
2547     for ac_var in $ac_subst_vars
2548     do
2549       eval ac_val=\$$ac_var
2550       case $ac_val in
2551       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2552       esac
2553       $as_echo "$ac_var='\''$ac_val'\''"
2554     done | sort
2555     echo
2556
2557     if test -n "$ac_subst_files"; then
2558       $as_echo "## ------------------- ##
2559 ## File substitutions. ##
2560 ## ------------------- ##"
2561       echo
2562       for ac_var in $ac_subst_files
2563       do
2564         eval ac_val=\$$ac_var
2565         case $ac_val in
2566         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2567         esac
2568         $as_echo "$ac_var='\''$ac_val'\''"
2569       done | sort
2570       echo
2571     fi
2572
2573     if test -s confdefs.h; then
2574       $as_echo "## ----------- ##
2575 ## confdefs.h. ##
2576 ## ----------- ##"
2577       echo
2578       cat confdefs.h
2579       echo
2580     fi
2581     test "$ac_signal" != 0 &&
2582       $as_echo "$as_me: caught signal $ac_signal"
2583     $as_echo "$as_me: exit $exit_status"
2584   } >&5
2585   rm -f core *.core core.conftest.* &&
2586     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2587     exit $exit_status
2588 ' 0
2589 for ac_signal in 1 2 13 15; do
2590   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2591 done
2592 ac_signal=0
2593
2594 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2595 rm -f -r conftest* confdefs.h
2596
2597 $as_echo "/* confdefs.h */" > confdefs.h
2598
2599 # Predefined preprocessor variables.
2600
2601 cat >>confdefs.h <<_ACEOF
2602 #define PACKAGE_NAME "$PACKAGE_NAME"
2603 _ACEOF
2604
2605 cat >>confdefs.h <<_ACEOF
2606 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2607 _ACEOF
2608
2609 cat >>confdefs.h <<_ACEOF
2610 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2611 _ACEOF
2612
2613 cat >>confdefs.h <<_ACEOF
2614 #define PACKAGE_STRING "$PACKAGE_STRING"
2615 _ACEOF
2616
2617 cat >>confdefs.h <<_ACEOF
2618 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2619 _ACEOF
2620
2621 cat >>confdefs.h <<_ACEOF
2622 #define PACKAGE_URL "$PACKAGE_URL"
2623 _ACEOF
2624
2625
2626 # Let the site file select an alternate cache file if it wants to.
2627 # Prefer an explicitly selected file to automatically selected ones.
2628 ac_site_file1=NONE
2629 ac_site_file2=NONE
2630 if test -n "$CONFIG_SITE"; then
2631   # We do not want a PATH search for config.site.
2632   case $CONFIG_SITE in #((
2633     -*)  ac_site_file1=./$CONFIG_SITE;;
2634     */*) ac_site_file1=$CONFIG_SITE;;
2635     *)   ac_site_file1=./$CONFIG_SITE;;
2636   esac
2637 elif test "x$prefix" != xNONE; then
2638   ac_site_file1=$prefix/share/config.site
2639   ac_site_file2=$prefix/etc/config.site
2640 else
2641   ac_site_file1=$ac_default_prefix/share/config.site
2642   ac_site_file2=$ac_default_prefix/etc/config.site
2643 fi
2644 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2645 do
2646   test "x$ac_site_file" = xNONE && continue
2647   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2648     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2649 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2650     sed 's/^/| /' "$ac_site_file" >&5
2651     . "$ac_site_file" \
2652       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2654 as_fn_error $? "failed to load site script $ac_site_file
2655 See \`config.log' for more details" "$LINENO" 5; }
2656   fi
2657 done
2658
2659 if test -r "$cache_file"; then
2660   # Some versions of bash will fail to source /dev/null (special files
2661   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2662   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2663     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2664 $as_echo "$as_me: loading cache $cache_file" >&6;}
2665     case $cache_file in
2666       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2667       *)                      . "./$cache_file";;
2668     esac
2669   fi
2670 else
2671   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2672 $as_echo "$as_me: creating cache $cache_file" >&6;}
2673   >$cache_file
2674 fi
2675
2676 # Check that the precious variables saved in the cache have kept the same
2677 # value.
2678 ac_cache_corrupted=false
2679 for ac_var in $ac_precious_vars; do
2680   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2681   eval ac_new_set=\$ac_env_${ac_var}_set
2682   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2683   eval ac_new_val=\$ac_env_${ac_var}_value
2684   case $ac_old_set,$ac_new_set in
2685     set,)
2686       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2687 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2688       ac_cache_corrupted=: ;;
2689     ,set)
2690       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2691 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2692       ac_cache_corrupted=: ;;
2693     ,);;
2694     *)
2695       if test "x$ac_old_val" != "x$ac_new_val"; then
2696         # differences in whitespace do not lead to failure.
2697         ac_old_val_w=`echo x $ac_old_val`
2698         ac_new_val_w=`echo x $ac_new_val`
2699         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2700           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2701 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2702           ac_cache_corrupted=:
2703         else
2704           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2705 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2706           eval $ac_var=\$ac_old_val
2707         fi
2708         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2709 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2710         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2711 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2712       fi;;
2713   esac
2714   # Pass precious variables to config.status.
2715   if test "$ac_new_set" = set; then
2716     case $ac_new_val in
2717     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2718     *) ac_arg=$ac_var=$ac_new_val ;;
2719     esac
2720     case " $ac_configure_args " in
2721       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2722       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2723     esac
2724   fi
2725 done
2726 if $ac_cache_corrupted; then
2727   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2729   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2730 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2731   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2732 fi
2733 ## -------------------- ##
2734 ## Main body of script. ##
2735 ## -------------------- ##
2736
2737 ac_ext=c
2738 ac_cpp='$CPP $CPPFLAGS'
2739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2742
2743
2744
2745 ac_aux_dir=
2746 for ac_dir in build-aux "$srcdir"/build-aux; do
2747   if test -f "$ac_dir/install-sh"; then
2748     ac_aux_dir=$ac_dir
2749     ac_install_sh="$ac_aux_dir/install-sh -c"
2750     break
2751   elif test -f "$ac_dir/install.sh"; then
2752     ac_aux_dir=$ac_dir
2753     ac_install_sh="$ac_aux_dir/install.sh -c"
2754     break
2755   elif test -f "$ac_dir/shtool"; then
2756     ac_aux_dir=$ac_dir
2757     ac_install_sh="$ac_aux_dir/shtool install -c"
2758     break
2759   fi
2760 done
2761 if test -z "$ac_aux_dir"; then
2762   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2763 fi
2764
2765 # These three variables are undocumented and unsupported,
2766 # and are intended to be withdrawn in a future Autoconf release.
2767 # They can cause serious problems if a builder's source tree is in a directory
2768 # whose full name contains unusual characters.
2769 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2770 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2771 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2772
2773
2774
2775 am__api_version='1.11'
2776
2777 # Find a good install program.  We prefer a C program (faster),
2778 # so one script is as good as another.  But avoid the broken or
2779 # incompatible versions:
2780 # SysV /etc/install, /usr/sbin/install
2781 # SunOS /usr/etc/install
2782 # IRIX /sbin/install
2783 # AIX /bin/install
2784 # AmigaOS /C/install, which installs bootblocks on floppy discs
2785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2788 # OS/2's system install, which has a completely different semantic
2789 # ./install, which can be erroneously created by make from ./install.sh.
2790 # Reject install programs that cannot install multiple files.
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2792 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2793 if test -z "$INSTALL"; then
2794 if ${ac_cv_path_install+:} false; then :
2795   $as_echo_n "(cached) " >&6
2796 else
2797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 for as_dir in $PATH
2799 do
2800   IFS=$as_save_IFS
2801   test -z "$as_dir" && as_dir=.
2802     # Account for people who put trailing slashes in PATH elements.
2803 case $as_dir/ in #((
2804   ./ | .// | /[cC]/* | \
2805   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2806   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2807   /usr/ucb/* ) ;;
2808   *)
2809     # OSF1 and SCO ODT 3.0 have their own names for install.
2810     # Don't use installbsd from OSF since it installs stuff as root
2811     # by default.
2812     for ac_prog in ginstall scoinst install; do
2813       for ac_exec_ext in '' $ac_executable_extensions; do
2814         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2815           if test $ac_prog = install &&
2816             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2817             # AIX install.  It has an incompatible calling convention.
2818             :
2819           elif test $ac_prog = install &&
2820             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2821             # program-specific install script used by HP pwplus--don't use.
2822             :
2823           else
2824             rm -rf conftest.one conftest.two conftest.dir
2825             echo one > conftest.one
2826             echo two > conftest.two
2827             mkdir conftest.dir
2828             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2829               test -s conftest.one && test -s conftest.two &&
2830               test -s conftest.dir/conftest.one &&
2831               test -s conftest.dir/conftest.two
2832             then
2833               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2834               break 3
2835             fi
2836           fi
2837         fi
2838       done
2839     done
2840     ;;
2841 esac
2842
2843   done
2844 IFS=$as_save_IFS
2845
2846 rm -rf conftest.one conftest.two conftest.dir
2847
2848 fi
2849   if test "${ac_cv_path_install+set}" = set; then
2850     INSTALL=$ac_cv_path_install
2851   else
2852     # As a last resort, use the slow shell script.  Don't cache a
2853     # value for INSTALL within a source directory, because that will
2854     # break other packages using the cache if that directory is
2855     # removed, or if the value is a relative name.
2856     INSTALL=$ac_install_sh
2857   fi
2858 fi
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2860 $as_echo "$INSTALL" >&6; }
2861
2862 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2863 # It thinks the first close brace ends the variable substitution.
2864 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2865
2866 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2867
2868 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2869
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2871 $as_echo_n "checking whether build environment is sane... " >&6; }
2872 # Just in case
2873 sleep 1
2874 echo timestamp > conftest.file
2875 # Reject unsafe characters in $srcdir or the absolute working directory
2876 # name.  Accept space and tab only in the latter.
2877 am_lf='
2878 '
2879 case `pwd` in
2880   *[\\\"\#\$\&\'\`$am_lf]*)
2881     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2882 esac
2883 case $srcdir in
2884   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2885     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2886 esac
2887
2888 # Do `set' in a subshell so we don't clobber the current shell's
2889 # arguments.  Must try -L first in case configure is actually a
2890 # symlink; some systems play weird games with the mod time of symlinks
2891 # (eg FreeBSD returns the mod time of the symlink's containing
2892 # directory).
2893 if (
2894    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2895    if test "$*" = "X"; then
2896       # -L didn't work.
2897       set X `ls -t "$srcdir/configure" conftest.file`
2898    fi
2899    rm -f conftest.file
2900    if test "$*" != "X $srcdir/configure conftest.file" \
2901       && test "$*" != "X conftest.file $srcdir/configure"; then
2902
2903       # If neither matched, then we have a broken ls.  This can happen
2904       # if, for instance, CONFIG_SHELL is bash and it inherits a
2905       # broken ls alias from the environment.  This has actually
2906       # happened.  Such a system could not be considered "sane".
2907       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2908 alias in your environment" "$LINENO" 5
2909    fi
2910
2911    test "$2" = conftest.file
2912    )
2913 then
2914    # Ok.
2915    :
2916 else
2917    as_fn_error $? "newly created file is older than distributed files!
2918 Check your system clock" "$LINENO" 5
2919 fi
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2921 $as_echo "yes" >&6; }
2922 test "$program_prefix" != NONE &&
2923   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2924 # Use a double $ so make ignores it.
2925 test "$program_suffix" != NONE &&
2926   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2927 # Double any \ or $.
2928 # By default was `s,x,x', remove it if useless.
2929 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2930 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2931
2932 # expand $ac_aux_dir to an absolute path
2933 am_aux_dir=`cd $ac_aux_dir && pwd`
2934
2935 if test x"${MISSING+set}" != xset; then
2936   case $am_aux_dir in
2937   *\ * | *\     *)
2938     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2939   *)
2940     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2941   esac
2942 fi
2943 # Use eval to expand $SHELL
2944 if eval "$MISSING --run true"; then
2945   am_missing_run="$MISSING --run "
2946 else
2947   am_missing_run=
2948   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2949 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2950 fi
2951
2952 if test x"${install_sh}" != xset; then
2953   case $am_aux_dir in
2954   *\ * | *\     *)
2955     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2956   *)
2957     install_sh="\${SHELL} $am_aux_dir/install-sh"
2958   esac
2959 fi
2960
2961 # Installed binaries are usually stripped using `strip' when the user
2962 # run `make install-strip'.  However `strip' might not be the right
2963 # tool to use in cross-compilation environments, therefore Automake
2964 # will honor the `STRIP' environment variable to overrule this program.
2965 if test "$cross_compiling" != no; then
2966   if test -n "$ac_tool_prefix"; then
2967   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2968 set dummy ${ac_tool_prefix}strip; ac_word=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; }
2971 if ${ac_cv_prog_STRIP+:} false; then :
2972   $as_echo_n "(cached) " >&6
2973 else
2974   if test -n "$STRIP"; then
2975   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2976 else
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 for as_dir in $PATH
2979 do
2980   IFS=$as_save_IFS
2981   test -z "$as_dir" && as_dir=.
2982     for ac_exec_ext in '' $ac_executable_extensions; do
2983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986     break 2
2987   fi
2988 done
2989   done
2990 IFS=$as_save_IFS
2991
2992 fi
2993 fi
2994 STRIP=$ac_cv_prog_STRIP
2995 if test -n "$STRIP"; then
2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2997 $as_echo "$STRIP" >&6; }
2998 else
2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3001 fi
3002
3003
3004 fi
3005 if test -z "$ac_cv_prog_STRIP"; then
3006   ac_ct_STRIP=$STRIP
3007   # Extract the first word of "strip", so it can be a program name with args.
3008 set dummy strip; ac_word=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3012   $as_echo_n "(cached) " >&6
3013 else
3014   if test -n "$ac_ct_STRIP"; then
3015   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3016 else
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3019 do
3020   IFS=$as_save_IFS
3021   test -z "$as_dir" && as_dir=.
3022     for ac_exec_ext in '' $ac_executable_extensions; do
3023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024     ac_cv_prog_ac_ct_STRIP="strip"
3025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026     break 2
3027   fi
3028 done
3029   done
3030 IFS=$as_save_IFS
3031
3032 fi
3033 fi
3034 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3035 if test -n "$ac_ct_STRIP"; then
3036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3037 $as_echo "$ac_ct_STRIP" >&6; }
3038 else
3039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040 $as_echo "no" >&6; }
3041 fi
3042
3043   if test "x$ac_ct_STRIP" = x; then
3044     STRIP=":"
3045   else
3046     case $cross_compiling:$ac_tool_warned in
3047 yes:)
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3050 ac_tool_warned=yes ;;
3051 esac
3052     STRIP=$ac_ct_STRIP
3053   fi
3054 else
3055   STRIP="$ac_cv_prog_STRIP"
3056 fi
3057
3058 fi
3059 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3060
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3062 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3063 if test -z "$MKDIR_P"; then
3064   if ${ac_cv_path_mkdir+:} false; then :
3065   $as_echo_n "(cached) " >&6
3066 else
3067   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3069 do
3070   IFS=$as_save_IFS
3071   test -z "$as_dir" && as_dir=.
3072     for ac_prog in mkdir gmkdir; do
3073          for ac_exec_ext in '' $ac_executable_extensions; do
3074            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3075            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3076              'mkdir (GNU coreutils) '* | \
3077              'mkdir (coreutils) '* | \
3078              'mkdir (fileutils) '4.1*)
3079                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3080                break 3;;
3081            esac
3082          done
3083        done
3084   done
3085 IFS=$as_save_IFS
3086
3087 fi
3088
3089   test -d ./--version && rmdir ./--version
3090   if test "${ac_cv_path_mkdir+set}" = set; then
3091     MKDIR_P="$ac_cv_path_mkdir -p"
3092   else
3093     # As a last resort, use the slow shell script.  Don't cache a
3094     # value for MKDIR_P within a source directory, because that will
3095     # break other packages using the cache if that directory is
3096     # removed, or if the value is a relative name.
3097     MKDIR_P="$ac_install_sh -d"
3098   fi
3099 fi
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3101 $as_echo "$MKDIR_P" >&6; }
3102
3103 mkdir_p="$MKDIR_P"
3104 case $mkdir_p in
3105   [\\/$]* | ?:[\\/]*) ;;
3106   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3107 esac
3108
3109 for ac_prog in gawk mawk nawk awk
3110 do
3111   # Extract the first word of "$ac_prog", so it can be a program name with args.
3112 set dummy $ac_prog; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_AWK+:} false; then :
3116   $as_echo_n "(cached) " >&6
3117 else
3118   if test -n "$AWK"; then
3119   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3120 else
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 for as_dir in $PATH
3123 do
3124   IFS=$as_save_IFS
3125   test -z "$as_dir" && as_dir=.
3126     for ac_exec_ext in '' $ac_executable_extensions; do
3127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128     ac_cv_prog_AWK="$ac_prog"
3129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130     break 2
3131   fi
3132 done
3133   done
3134 IFS=$as_save_IFS
3135
3136 fi
3137 fi
3138 AWK=$ac_cv_prog_AWK
3139 if test -n "$AWK"; then
3140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3141 $as_echo "$AWK" >&6; }
3142 else
3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3145 fi
3146
3147
3148   test -n "$AWK" && break
3149 done
3150
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3152 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3153 set x ${MAKE-make}
3154 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3155 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3156   $as_echo_n "(cached) " >&6
3157 else
3158   cat >conftest.make <<\_ACEOF
3159 SHELL = /bin/sh
3160 all:
3161         @echo '@@@%%%=$(MAKE)=@@@%%%'
3162 _ACEOF
3163 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3164 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3165   *@@@%%%=?*=@@@%%%*)
3166     eval ac_cv_prog_make_${ac_make}_set=yes;;
3167   *)
3168     eval ac_cv_prog_make_${ac_make}_set=no;;
3169 esac
3170 rm -f conftest.make
3171 fi
3172 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3174 $as_echo "yes" >&6; }
3175   SET_MAKE=
3176 else
3177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3179   SET_MAKE="MAKE=${MAKE-make}"
3180 fi
3181
3182 rm -rf .tst 2>/dev/null
3183 mkdir .tst 2>/dev/null
3184 if test -d .tst; then
3185   am__leading_dot=.
3186 else
3187   am__leading_dot=_
3188 fi
3189 rmdir .tst 2>/dev/null
3190
3191 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3192   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3193   # is not polluted with repeated "-I."
3194   am__isrc=' -I$(srcdir)'
3195   # test to see if srcdir already configured
3196   if test -f $srcdir/config.status; then
3197     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3198   fi
3199 fi
3200
3201 # test whether we have cygpath
3202 if test -z "$CYGPATH_W"; then
3203   if (cygpath --version) >/dev/null 2>/dev/null; then
3204     CYGPATH_W='cygpath -w'
3205   else
3206     CYGPATH_W=echo
3207   fi
3208 fi
3209
3210
3211 # Define the identity of the package.
3212  PACKAGE='opensaml'
3213  VERSION='2.4.1'
3214
3215
3216 cat >>confdefs.h <<_ACEOF
3217 #define PACKAGE "$PACKAGE"
3218 _ACEOF
3219
3220
3221 cat >>confdefs.h <<_ACEOF
3222 #define VERSION "$VERSION"
3223 _ACEOF
3224
3225 # Some tools Automake needs.
3226
3227 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3228
3229
3230 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3231
3232
3233 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3234
3235
3236 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3237
3238
3239 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3240
3241 # We need awk for the "check" target.  The system "awk" is bad on
3242 # some platforms.
3243 # Always define AMTAR for backward compatibility.
3244
3245 AMTAR=${AMTAR-"${am_missing_run}tar"}
3246
3247 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3248
3249
3250
3251
3252
3253 # Check whether --enable-static was given.
3254 if test "${enable_static+set}" = set; then :
3255   enableval=$enable_static; p=${PACKAGE-default}
3256     case $enableval in
3257     yes) enable_static=yes ;;
3258     no) enable_static=no ;;
3259     *)
3260      enable_static=no
3261       # Look at the argument we got.  We use all the common list separators.
3262       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3263       for pkg in $enableval; do
3264         IFS="$lt_save_ifs"
3265         if test "X$pkg" = "X$p"; then
3266           enable_static=yes
3267         fi
3268       done
3269       IFS="$lt_save_ifs"
3270       ;;
3271     esac
3272 else
3273   enable_static=no
3274 fi
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284 case `pwd` in
3285   *\ * | *\     *)
3286     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3287 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3288 esac
3289
3290
3291
3292 macro_version='2.4'
3293 macro_revision='1.3293'
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307 ltmain="$ac_aux_dir/ltmain.sh"
3308
3309 # Make sure we can run config.sub.
3310 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3311   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3312
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3314 $as_echo_n "checking build system type... " >&6; }
3315 if ${ac_cv_build+:} false; then :
3316   $as_echo_n "(cached) " >&6
3317 else
3318   ac_build_alias=$build_alias
3319 test "x$ac_build_alias" = x &&
3320   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3321 test "x$ac_build_alias" = x &&
3322   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3323 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3324   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3325
3326 fi
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3328 $as_echo "$ac_cv_build" >&6; }
3329 case $ac_cv_build in
3330 *-*-*) ;;
3331 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3332 esac
3333 build=$ac_cv_build
3334 ac_save_IFS=$IFS; IFS='-'
3335 set x $ac_cv_build
3336 shift
3337 build_cpu=$1
3338 build_vendor=$2
3339 shift; shift
3340 # Remember, the first character of IFS is used to create $*,
3341 # except with old shells:
3342 build_os=$*
3343 IFS=$ac_save_IFS
3344 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3345
3346
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3348 $as_echo_n "checking host system type... " >&6; }
3349 if ${ac_cv_host+:} false; then :
3350   $as_echo_n "(cached) " >&6
3351 else
3352   if test "x$host_alias" = x; then
3353   ac_cv_host=$ac_cv_build
3354 else
3355   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3356     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3357 fi
3358
3359 fi
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3361 $as_echo "$ac_cv_host" >&6; }
3362 case $ac_cv_host in
3363 *-*-*) ;;
3364 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3365 esac
3366 host=$ac_cv_host
3367 ac_save_IFS=$IFS; IFS='-'
3368 set x $ac_cv_host
3369 shift
3370 host_cpu=$1
3371 host_vendor=$2
3372 shift; shift
3373 # Remember, the first character of IFS is used to create $*,
3374 # except with old shells:
3375 host_os=$*
3376 IFS=$ac_save_IFS
3377 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3378
3379
3380 # Backslashify metacharacters that are still active within
3381 # double-quoted strings.
3382 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3383
3384 # Same as above, but do not quote variable references.
3385 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3386
3387 # Sed substitution to delay expansion of an escaped shell variable in a
3388 # double_quote_subst'ed string.
3389 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3390
3391 # Sed substitution to delay expansion of an escaped single quote.
3392 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3393
3394 # Sed substitution to avoid accidental globbing in evaled expressions
3395 no_glob_subst='s/\*/\\\*/g'
3396
3397 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3398 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3399 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3400
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3402 $as_echo_n "checking how to print strings... " >&6; }
3403 # Test print first, because it will be a builtin if present.
3404 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3405    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3406   ECHO='print -r --'
3407 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3408   ECHO='printf %s\n'
3409 else
3410   # Use this function as a fallback that always works.
3411   func_fallback_echo ()
3412   {
3413     eval 'cat <<_LTECHO_EOF
3414 $1
3415 _LTECHO_EOF'
3416   }
3417   ECHO='func_fallback_echo'
3418 fi
3419
3420 # func_echo_all arg...
3421 # Invoke $ECHO with all args, space-separated.
3422 func_echo_all ()
3423 {
3424     $ECHO ""
3425 }
3426
3427 case "$ECHO" in
3428   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3429 $as_echo "printf" >&6; } ;;
3430   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3431 $as_echo "print -r" >&6; } ;;
3432   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3433 $as_echo "cat" >&6; } ;;
3434 esac
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449 DEPDIR="${am__leading_dot}deps"
3450
3451 ac_config_commands="$ac_config_commands depfiles"
3452
3453
3454 am_make=${MAKE-make}
3455 cat > confinc << 'END'
3456 am__doit:
3457         @echo this is the am__doit target
3458 .PHONY: am__doit
3459 END
3460 # If we don't find an include directive, just comment out the code.
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3462 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3463 am__include="#"
3464 am__quote=
3465 _am_result=none
3466 # First try GNU make style include.
3467 echo "include confinc" > confmf
3468 # Ignore all kinds of additional output from `make'.
3469 case `$am_make -s -f confmf 2> /dev/null` in #(
3470 *the\ am__doit\ target*)
3471   am__include=include
3472   am__quote=
3473   _am_result=GNU
3474   ;;
3475 esac
3476 # Now try BSD make style include.
3477 if test "$am__include" = "#"; then
3478    echo '.include "confinc"' > confmf
3479    case `$am_make -s -f confmf 2> /dev/null` in #(
3480    *the\ am__doit\ target*)
3481      am__include=.include
3482      am__quote="\""
3483      _am_result=BSD
3484      ;;
3485    esac
3486 fi
3487
3488
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3490 $as_echo "$_am_result" >&6; }
3491 rm -f confinc confmf
3492
3493 # Check whether --enable-dependency-tracking was given.
3494 if test "${enable_dependency_tracking+set}" = set; then :
3495   enableval=$enable_dependency_tracking;
3496 fi
3497
3498 if test "x$enable_dependency_tracking" != xno; then
3499   am_depcomp="$ac_aux_dir/depcomp"
3500   AMDEPBACKSLASH='\'
3501 fi
3502  if test "x$enable_dependency_tracking" != xno; then
3503   AMDEP_TRUE=
3504   AMDEP_FALSE='#'
3505 else
3506   AMDEP_TRUE='#'
3507   AMDEP_FALSE=
3508 fi
3509
3510
3511 ac_ext=c
3512 ac_cpp='$CPP $CPPFLAGS'
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516 if test -n "$ac_tool_prefix"; then
3517   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3518 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3520 $as_echo_n "checking for $ac_word... " >&6; }
3521 if ${ac_cv_prog_CC+:} false; then :
3522   $as_echo_n "(cached) " >&6
3523 else
3524   if test -n "$CC"; then
3525   ac_cv_prog_CC="$CC" # Let the user override the test.
3526 else
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH
3529 do
3530   IFS=$as_save_IFS
3531   test -z "$as_dir" && as_dir=.
3532     for ac_exec_ext in '' $ac_executable_extensions; do
3533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3534     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536     break 2
3537   fi
3538 done
3539   done
3540 IFS=$as_save_IFS
3541
3542 fi
3543 fi
3544 CC=$ac_cv_prog_CC
3545 if test -n "$CC"; then
3546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3547 $as_echo "$CC" >&6; }
3548 else
3549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3550 $as_echo "no" >&6; }
3551 fi
3552
3553
3554 fi
3555 if test -z "$ac_cv_prog_CC"; then
3556   ac_ct_CC=$CC
3557   # Extract the first word of "gcc", so it can be a program name with args.
3558 set dummy gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3562   $as_echo_n "(cached) " >&6
3563 else
3564   if test -n "$ac_ct_CC"; then
3565   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570   IFS=$as_save_IFS
3571   test -z "$as_dir" && as_dir=.
3572     for ac_exec_ext in '' $ac_executable_extensions; do
3573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574     ac_cv_prog_ac_ct_CC="gcc"
3575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576     break 2
3577   fi
3578 done
3579   done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3585 if test -n "$ac_ct_CC"; then
3586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3587 $as_echo "$ac_ct_CC" >&6; }
3588 else
3589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593   if test "x$ac_ct_CC" = x; then
3594     CC=""
3595   else
3596     case $cross_compiling:$ac_tool_warned in
3597 yes:)
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3600 ac_tool_warned=yes ;;
3601 esac
3602     CC=$ac_ct_CC
3603   fi
3604 else
3605   CC="$ac_cv_prog_CC"
3606 fi
3607
3608 if test -z "$CC"; then
3609           if test -n "$ac_tool_prefix"; then
3610     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3611 set dummy ${ac_tool_prefix}cc; ac_word=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if ${ac_cv_prog_CC+:} false; then :
3615   $as_echo_n "(cached) " >&6
3616 else
3617   if test -n "$CC"; then
3618   ac_cv_prog_CC="$CC" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3622 do
3623   IFS=$as_save_IFS
3624   test -z "$as_dir" && as_dir=.
3625     for ac_exec_ext in '' $ac_executable_extensions; do
3626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627     ac_cv_prog_CC="${ac_tool_prefix}cc"
3628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629     break 2
3630   fi
3631 done
3632   done
3633 IFS=$as_save_IFS
3634
3635 fi
3636 fi
3637 CC=$ac_cv_prog_CC
3638 if test -n "$CC"; then
3639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3640 $as_echo "$CC" >&6; }
3641 else
3642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3644 fi
3645
3646
3647   fi
3648 fi
3649 if test -z "$CC"; then
3650   # Extract the first word of "cc", so it can be a program name with args.
3651 set dummy cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if ${ac_cv_prog_CC+:} false; then :
3655   $as_echo_n "(cached) " >&6
3656 else
3657   if test -n "$CC"; then
3658   ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660   ac_prog_rejected=no
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3663 do
3664   IFS=$as_save_IFS
3665   test -z "$as_dir" && as_dir=.
3666     for ac_exec_ext in '' $ac_executable_extensions; do
3667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3668     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3669        ac_prog_rejected=yes
3670        continue
3671      fi
3672     ac_cv_prog_CC="cc"
3673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674     break 2
3675   fi
3676 done
3677   done
3678 IFS=$as_save_IFS
3679
3680 if test $ac_prog_rejected = yes; then
3681   # We found a bogon in the path, so make sure we never use it.
3682   set dummy $ac_cv_prog_CC
3683   shift
3684   if test $# != 0; then
3685     # We chose a different compiler from the bogus one.
3686     # However, it has the same basename, so the bogon will be chosen
3687     # first if we set CC to just the basename; use the full file name.
3688     shift
3689     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3690   fi
3691 fi
3692 fi
3693 fi
3694 CC=$ac_cv_prog_CC
3695 if test -n "$CC"; then
3696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3697 $as_echo "$CC" >&6; }
3698 else
3699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 $as_echo "no" >&6; }
3701 fi
3702
3703
3704 fi
3705 if test -z "$CC"; then
3706   if test -n "$ac_tool_prefix"; then
3707   for ac_prog in cl.exe
3708   do
3709     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false; then :
3714   $as_echo_n "(cached) " >&6
3715 else
3716   if test -n "$CC"; then
3717   ac_cv_prog_CC="$CC" # Let the user override the test.
3718 else
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 for as_dir in $PATH
3721 do
3722   IFS=$as_save_IFS
3723   test -z "$as_dir" && as_dir=.
3724     for ac_exec_ext in '' $ac_executable_extensions; do
3725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728     break 2
3729   fi
3730 done
3731   done
3732 IFS=$as_save_IFS
3733
3734 fi
3735 fi
3736 CC=$ac_cv_prog_CC
3737 if test -n "$CC"; then
3738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3740 else
3741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3743 fi
3744
3745
3746     test -n "$CC" && break
3747   done
3748 fi
3749 if test -z "$CC"; then
3750   ac_ct_CC=$CC
3751   for ac_prog in cl.exe
3752 do
3753   # Extract the first word of "$ac_prog", so it can be a program name with args.
3754 set dummy $ac_prog; ac_word=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3758   $as_echo_n "(cached) " >&6
3759 else
3760   if test -n "$ac_ct_CC"; then
3761   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3762 else
3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 for as_dir in $PATH
3765 do
3766   IFS=$as_save_IFS
3767   test -z "$as_dir" && as_dir=.
3768     for ac_exec_ext in '' $ac_executable_extensions; do
3769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3770     ac_cv_prog_ac_ct_CC="$ac_prog"
3771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772     break 2
3773   fi
3774 done
3775   done
3776 IFS=$as_save_IFS
3777
3778 fi
3779 fi
3780 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3781 if test -n "$ac_ct_CC"; then
3782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3783 $as_echo "$ac_ct_CC" >&6; }
3784 else
3785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3787 fi
3788
3789
3790   test -n "$ac_ct_CC" && break
3791 done
3792
3793   if test "x$ac_ct_CC" = x; then
3794     CC=""
3795   else
3796     case $cross_compiling:$ac_tool_warned in
3797 yes:)
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3800 ac_tool_warned=yes ;;
3801 esac
3802     CC=$ac_ct_CC
3803   fi
3804 fi
3805
3806 fi
3807
3808
3809 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3811 as_fn_error $? "no acceptable C compiler found in \$PATH
3812 See \`config.log' for more details" "$LINENO" 5; }
3813
3814 # Provide some information about the compiler.
3815 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3816 set X $ac_compile
3817 ac_compiler=$2
3818 for ac_option in --version -v -V -qversion; do
3819   { { ac_try="$ac_compiler $ac_option >&5"
3820 case "(($ac_try" in
3821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822   *) ac_try_echo=$ac_try;;
3823 esac
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3827   ac_status=$?
3828   if test -s conftest.err; then
3829     sed '10a\
3830 ... rest of stderr output deleted ...
3831          10q' conftest.err >conftest.er1
3832     cat conftest.er1 >&5
3833   fi
3834   rm -f conftest.er1 conftest.err
3835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3836   test $ac_status = 0; }
3837 done
3838
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h.  */
3841
3842 int
3843 main ()
3844 {
3845
3846   ;
3847   return 0;
3848 }
3849 _ACEOF
3850 ac_clean_files_save=$ac_clean_files
3851 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3852 # Try to create an executable without -o first, disregard a.out.
3853 # It will help us diagnose broken compilers, and finding out an intuition
3854 # of exeext.
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3856 $as_echo_n "checking whether the C compiler works... " >&6; }
3857 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3858
3859 # The possible output files:
3860 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3861
3862 ac_rmfiles=
3863 for ac_file in $ac_files
3864 do
3865   case $ac_file in
3866     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3867     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3868   esac
3869 done
3870 rm -f $ac_rmfiles
3871
3872 if { { ac_try="$ac_link_default"
3873 case "(($ac_try" in
3874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3875   *) ac_try_echo=$ac_try;;
3876 esac
3877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3878 $as_echo "$ac_try_echo"; } >&5
3879   (eval "$ac_link_default") 2>&5
3880   ac_status=$?
3881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3882   test $ac_status = 0; }; then :
3883   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3884 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3885 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3886 # so that the user can short-circuit this test for compilers unknown to
3887 # Autoconf.
3888 for ac_file in $ac_files ''
3889 do
3890   test -f "$ac_file" || continue
3891   case $ac_file in
3892     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3893         ;;
3894     [ab].out )
3895         # We found the default executable, but exeext='' is most
3896         # certainly right.
3897         break;;
3898     *.* )
3899         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3900         then :; else
3901            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3902         fi
3903         # We set ac_cv_exeext here because the later test for it is not
3904         # safe: cross compilers may not add the suffix if given an `-o'
3905         # argument, so we may need to know it at that point already.
3906         # Even if this section looks crufty: it has the advantage of
3907         # actually working.
3908         break;;
3909     * )
3910         break;;
3911   esac
3912 done
3913 test "$ac_cv_exeext" = no && ac_cv_exeext=
3914
3915 else
3916   ac_file=''
3917 fi
3918 if test -z "$ac_file"; then :
3919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3921 $as_echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.$ac_ext >&5
3923
3924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error 77 "C compiler cannot create executables
3927 See \`config.log' for more details" "$LINENO" 5; }
3928 else
3929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3930 $as_echo "yes" >&6; }
3931 fi
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3933 $as_echo_n "checking for C compiler default output file name... " >&6; }
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3935 $as_echo "$ac_file" >&6; }
3936 ac_exeext=$ac_cv_exeext
3937
3938 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3939 ac_clean_files=$ac_clean_files_save
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3941 $as_echo_n "checking for suffix of executables... " >&6; }
3942 if { { ac_try="$ac_link"
3943 case "(($ac_try" in
3944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3945   *) ac_try_echo=$ac_try;;
3946 esac
3947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3948 $as_echo "$ac_try_echo"; } >&5
3949   (eval "$ac_link") 2>&5
3950   ac_status=$?
3951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952   test $ac_status = 0; }; then :
3953   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3954 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3955 # work properly (i.e., refer to `conftest.exe'), while it won't with
3956 # `rm'.
3957 for ac_file in conftest.exe conftest conftest.*; do
3958   test -f "$ac_file" || continue
3959   case $ac_file in
3960     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3961     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3962           break;;
3963     * ) break;;
3964   esac
3965 done
3966 else
3967   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3969 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3970 See \`config.log' for more details" "$LINENO" 5; }
3971 fi
3972 rm -f conftest conftest$ac_cv_exeext
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3974 $as_echo "$ac_cv_exeext" >&6; }
3975
3976 rm -f conftest.$ac_ext
3977 EXEEXT=$ac_cv_exeext
3978 ac_exeext=$EXEEXT
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h.  */
3981 #include <stdio.h>
3982 int
3983 main ()
3984 {
3985 FILE *f = fopen ("conftest.out", "w");
3986  return ferror (f) || fclose (f) != 0;
3987
3988   ;
3989   return 0;
3990 }
3991 _ACEOF
3992 ac_clean_files="$ac_clean_files conftest.out"
3993 # Check that the compiler produces executables we can run.  If not, either
3994 # the compiler is broken, or we cross compile.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3996 $as_echo_n "checking whether we are cross compiling... " >&6; }
3997 if test "$cross_compiling" != yes; then
3998   { { ac_try="$ac_link"
3999 case "(($ac_try" in
4000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001   *) ac_try_echo=$ac_try;;
4002 esac
4003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4004 $as_echo "$ac_try_echo"; } >&5
4005   (eval "$ac_link") 2>&5
4006   ac_status=$?
4007   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4008   test $ac_status = 0; }
4009   if { ac_try='./conftest$ac_cv_exeext'
4010   { { case "(($ac_try" in
4011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012   *) ac_try_echo=$ac_try;;
4013 esac
4014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 $as_echo "$ac_try_echo"; } >&5
4016   (eval "$ac_try") 2>&5
4017   ac_status=$?
4018   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4019   test $ac_status = 0; }; }; then
4020     cross_compiling=no
4021   else
4022     if test "$cross_compiling" = maybe; then
4023         cross_compiling=yes
4024     else
4025         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4027 as_fn_error $? "cannot run C compiled programs.
4028 If you meant to cross compile, use \`--host'.
4029 See \`config.log' for more details" "$LINENO" 5; }
4030     fi
4031   fi
4032 fi
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4034 $as_echo "$cross_compiling" >&6; }
4035
4036 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4037 ac_clean_files=$ac_clean_files_save
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4039 $as_echo_n "checking for suffix of object files... " >&6; }
4040 if ${ac_cv_objext+:} false; then :
4041   $as_echo_n "(cached) " >&6
4042 else
4043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h.  */
4045
4046 int
4047 main ()
4048 {
4049
4050   ;
4051   return 0;
4052 }
4053 _ACEOF
4054 rm -f conftest.o conftest.obj
4055 if { { ac_try="$ac_compile"
4056 case "(($ac_try" in
4057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058   *) ac_try_echo=$ac_try;;
4059 esac
4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062   (eval "$ac_compile") 2>&5
4063   ac_status=$?
4064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065   test $ac_status = 0; }; then :
4066   for ac_file in conftest.o conftest.obj conftest.*; do
4067   test -f "$ac_file" || continue;
4068   case $ac_file in
4069     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4070     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4071        break;;
4072   esac
4073 done
4074 else
4075   $as_echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4077
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error $? "cannot compute suffix of object files: cannot compile
4081 See \`config.log' for more details" "$LINENO" 5; }
4082 fi
4083 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4084 fi
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4086 $as_echo "$ac_cv_objext" >&6; }
4087 OBJEXT=$ac_cv_objext
4088 ac_objext=$OBJEXT
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4090 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4091 if ${ac_cv_c_compiler_gnu+:} false; then :
4092   $as_echo_n "(cached) " >&6
4093 else
4094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h.  */
4096
4097 int
4098 main ()
4099 {
4100 #ifndef __GNUC__
4101        choke me
4102 #endif
4103
4104   ;
4105   return 0;
4106 }
4107 _ACEOF
4108 if ac_fn_c_try_compile "$LINENO"; then :
4109   ac_compiler_gnu=yes
4110 else
4111   ac_compiler_gnu=no
4112 fi
4113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4114 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4115
4116 fi
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4118 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4119 if test $ac_compiler_gnu = yes; then
4120   GCC=yes
4121 else
4122   GCC=
4123 fi
4124 ac_test_CFLAGS=${CFLAGS+set}
4125 ac_save_CFLAGS=$CFLAGS
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4127 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4128 if ${ac_cv_prog_cc_g+:} false; then :
4129   $as_echo_n "(cached) " >&6
4130 else
4131   ac_save_c_werror_flag=$ac_c_werror_flag
4132    ac_c_werror_flag=yes
4133    ac_cv_prog_cc_g=no
4134    CFLAGS="-g"
4135    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h.  */
4137
4138 int
4139 main ()
4140 {
4141
4142   ;
4143   return 0;
4144 }
4145 _ACEOF
4146 if ac_fn_c_try_compile "$LINENO"; then :
4147   ac_cv_prog_cc_g=yes
4148 else
4149   CFLAGS=""
4150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h.  */
4152
4153 int
4154 main ()
4155 {
4156
4157   ;
4158   return 0;
4159 }
4160 _ACEOF
4161 if ac_fn_c_try_compile "$LINENO"; then :
4162
4163 else
4164   ac_c_werror_flag=$ac_save_c_werror_flag
4165          CFLAGS="-g"
4166          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h.  */
4168
4169 int
4170 main ()
4171 {
4172
4173   ;
4174   return 0;
4175 }
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178   ac_cv_prog_cc_g=yes
4179 fi
4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4181 fi
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 fi
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185    ac_c_werror_flag=$ac_save_c_werror_flag
4186 fi
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4188 $as_echo "$ac_cv_prog_cc_g" >&6; }
4189 if test "$ac_test_CFLAGS" = set; then
4190   CFLAGS=$ac_save_CFLAGS
4191 elif test $ac_cv_prog_cc_g = yes; then
4192   if test "$GCC" = yes; then
4193     CFLAGS="-g -O2"
4194   else
4195     CFLAGS="-g"
4196   fi
4197 else
4198   if test "$GCC" = yes; then
4199     CFLAGS="-O2"
4200   else
4201     CFLAGS=
4202   fi
4203 fi
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4205 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4206 if ${ac_cv_prog_cc_c89+:} false; then :
4207   $as_echo_n "(cached) " >&6
4208 else
4209   ac_cv_prog_cc_c89=no
4210 ac_save_CC=$CC
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h.  */
4213 #include <stdarg.h>
4214 #include <stdio.h>
4215 #include <sys/types.h>
4216 #include <sys/stat.h>
4217 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4218 struct buf { int x; };
4219 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4220 static char *e (p, i)
4221      char **p;
4222      int i;
4223 {
4224   return p[i];
4225 }
4226 static char *f (char * (*g) (char **, int), char **p, ...)
4227 {
4228   char *s;
4229   va_list v;
4230   va_start (v,p);
4231   s = g (p, va_arg (v,int));
4232   va_end (v);
4233   return s;
4234 }
4235
4236 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4237    function prototypes and stuff, but not '\xHH' hex character constants.
4238    These don't provoke an error unfortunately, instead are silently treated
4239    as 'x'.  The following induces an error, until -std is added to get
4240    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4241    array size at least.  It's necessary to write '\x00'==0 to get something
4242    that's true only with -std.  */
4243 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4244
4245 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4246    inside strings and character constants.  */
4247 #define FOO(x) 'x'
4248 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4249
4250 int test (int i, double x);
4251 struct s1 {int (*f) (int a);};
4252 struct s2 {int (*f) (double a);};
4253 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4254 int argc;
4255 char **argv;
4256 int
4257 main ()
4258 {
4259 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4260   ;
4261   return 0;
4262 }
4263 _ACEOF
4264 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4265         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4266 do
4267   CC="$ac_save_CC $ac_arg"
4268   if ac_fn_c_try_compile "$LINENO"; then :
4269   ac_cv_prog_cc_c89=$ac_arg
4270 fi
4271 rm -f core conftest.err conftest.$ac_objext
4272   test "x$ac_cv_prog_cc_c89" != "xno" && break
4273 done
4274 rm -f conftest.$ac_ext
4275 CC=$ac_save_CC
4276
4277 fi
4278 # AC_CACHE_VAL
4279 case "x$ac_cv_prog_cc_c89" in
4280   x)
4281     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4282 $as_echo "none needed" >&6; } ;;
4283   xno)
4284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4285 $as_echo "unsupported" >&6; } ;;
4286   *)
4287     CC="$CC $ac_cv_prog_cc_c89"
4288     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4289 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4290 esac
4291 if test "x$ac_cv_prog_cc_c89" != xno; then :
4292
4293 fi
4294
4295 ac_ext=c
4296 ac_cpp='$CPP $CPPFLAGS'
4297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4300
4301 depcc="$CC"   am_compiler_list=
4302
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4304 $as_echo_n "checking dependency style of $depcc... " >&6; }
4305 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4306   $as_echo_n "(cached) " >&6
4307 else
4308   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4309   # We make a subdir and do the tests there.  Otherwise we can end up
4310   # making bogus files that we don't know about and never remove.  For
4311   # instance it was reported that on HP-UX the gcc test will end up
4312   # making a dummy file named `D' -- because `-MD' means `put the output
4313   # in D'.
4314   mkdir conftest.dir
4315   # Copy depcomp to subdir because otherwise we won't find it if we're
4316   # using a relative directory.
4317   cp "$am_depcomp" conftest.dir
4318   cd conftest.dir
4319   # We will build objects and dependencies in a subdirectory because
4320   # it helps to detect inapplicable dependency modes.  For instance
4321   # both Tru64's cc and ICC support -MD to output dependencies as a
4322   # side effect of compilation, but ICC will put the dependencies in
4323   # the current directory while Tru64 will put them in the object
4324   # directory.
4325   mkdir sub
4326
4327   am_cv_CC_dependencies_compiler_type=none
4328   if test "$am_compiler_list" = ""; then
4329      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4330   fi
4331   am__universal=false
4332   case " $depcc " in #(
4333      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4334      esac
4335
4336   for depmode in $am_compiler_list; do
4337     # Setup a source with many dependencies, because some compilers
4338     # like to wrap large dependency lists on column 80 (with \), and
4339     # we should not choose a depcomp mode which is confused by this.
4340     #
4341     # We need to recreate these files for each test, as the compiler may
4342     # overwrite some of them when testing with obscure command lines.
4343     # This happens at least with the AIX C compiler.
4344     : > sub/conftest.c
4345     for i in 1 2 3 4 5 6; do
4346       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4347       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4348       # Solaris 8's {/usr,}/bin/sh.
4349       touch sub/conftst$i.h
4350     done
4351     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4352
4353     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4354     # mode.  It turns out that the SunPro C++ compiler does not properly
4355     # handle `-M -o', and we need to detect this.  Also, some Intel
4356     # versions had trouble with output in subdirs
4357     am__obj=sub/conftest.${OBJEXT-o}
4358     am__minus_obj="-o $am__obj"
4359     case $depmode in
4360     gcc)
4361       # This depmode causes a compiler race in universal mode.
4362       test "$am__universal" = false || continue
4363       ;;
4364     nosideeffect)
4365       # after this tag, mechanisms are not by side-effect, so they'll
4366       # only be used when explicitly requested
4367       if test "x$enable_dependency_tracking" = xyes; then
4368         continue
4369       else
4370         break
4371       fi
4372       ;;
4373     msvisualcpp | msvcmsys)
4374       # This compiler won't grok `-c -o', but also, the minuso test has
4375       # not run yet.  These depmodes are late enough in the game, and
4376       # so weak that their functioning should not be impacted.
4377       am__obj=conftest.${OBJEXT-o}
4378       am__minus_obj=
4379       ;;
4380     none) break ;;
4381     esac
4382     if depmode=$depmode \
4383        source=sub/conftest.c object=$am__obj \
4384        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4385        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4386          >/dev/null 2>conftest.err &&
4387        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4388        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4389        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4390        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4391       # icc doesn't choke on unknown options, it will just issue warnings
4392       # or remarks (even with -Werror).  So we grep stderr for any message
4393       # that says an option was ignored or not supported.
4394       # When given -MP, icc 7.0 and 7.1 complain thusly:
4395       #   icc: Command line warning: ignoring option '-M'; no argument required
4396       # The diagnosis changed in icc 8.0:
4397       #   icc: Command line remark: option '-MP' not supported
4398       if (grep 'ignoring option' conftest.err ||
4399           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4400         am_cv_CC_dependencies_compiler_type=$depmode
4401         break
4402       fi
4403     fi
4404   done
4405
4406   cd ..
4407   rm -rf conftest.dir
4408 else
4409   am_cv_CC_dependencies_compiler_type=none
4410 fi
4411
4412 fi
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4414 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4415 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4416
4417  if
4418   test "x$enable_dependency_tracking" != xno \
4419   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4420   am__fastdepCC_TRUE=
4421   am__fastdepCC_FALSE='#'
4422 else
4423   am__fastdepCC_TRUE='#'
4424   am__fastdepCC_FALSE=
4425 fi
4426
4427
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4429 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4430 if ${ac_cv_path_SED+:} false; then :
4431   $as_echo_n "(cached) " >&6
4432 else
4433             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4434      for ac_i in 1 2 3 4 5 6 7; do
4435        ac_script="$ac_script$as_nl$ac_script"
4436      done
4437      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4438      { ac_script=; unset ac_script;}
4439      if test -z "$SED"; then
4440   ac_path_SED_found=false
4441   # Loop through the user's path and test for each of PROGNAME-LIST
4442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4444 do
4445   IFS=$as_save_IFS
4446   test -z "$as_dir" && as_dir=.
4447     for ac_prog in sed gsed; do
4448     for ac_exec_ext in '' $ac_executable_extensions; do
4449       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4450       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4451 # Check for GNU ac_path_SED and select it if it is found.
4452   # Check for GNU $ac_path_SED
4453 case `"$ac_path_SED" --version 2>&1` in
4454 *GNU*)
4455   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4456 *)
4457   ac_count=0
4458   $as_echo_n 0123456789 >"conftest.in"
4459   while :
4460   do
4461     cat "conftest.in" "conftest.in" >"conftest.tmp"
4462     mv "conftest.tmp" "conftest.in"
4463     cp "conftest.in" "conftest.nl"
4464     $as_echo '' >> "conftest.nl"
4465     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4466     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4467     as_fn_arith $ac_count + 1 && ac_count=$as_val
4468     if test $ac_count -gt ${ac_path_SED_max-0}; then
4469       # Best one so far, save it but keep looking for a better one
4470       ac_cv_path_SED="$ac_path_SED"
4471       ac_path_SED_max=$ac_count
4472     fi
4473     # 10*(2^10) chars as input seems more than enough
4474     test $ac_count -gt 10 && break
4475   done
4476   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4477 esac
4478
4479       $ac_path_SED_found && break 3
4480     done
4481   done
4482   done
4483 IFS=$as_save_IFS
4484   if test -z "$ac_cv_path_SED"; then
4485     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4486   fi
4487 else
4488   ac_cv_path_SED=$SED
4489 fi
4490
4491 fi
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4493 $as_echo "$ac_cv_path_SED" >&6; }
4494  SED="$ac_cv_path_SED"
4495   rm -f conftest.sed
4496
4497 test -z "$SED" && SED=sed
4498 Xsed="$SED -e 1s/^X//"
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4511 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4512 if ${ac_cv_path_GREP+:} false; then :
4513   $as_echo_n "(cached) " >&6
4514 else
4515   if test -z "$GREP"; then
4516   ac_path_GREP_found=false
4517   # Loop through the user's path and test for each of PROGNAME-LIST
4518   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4520 do
4521   IFS=$as_save_IFS
4522   test -z "$as_dir" && as_dir=.
4523     for ac_prog in grep ggrep; do
4524     for ac_exec_ext in '' $ac_executable_extensions; do
4525       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4526       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4527 # Check for GNU ac_path_GREP and select it if it is found.
4528   # Check for GNU $ac_path_GREP
4529 case `"$ac_path_GREP" --version 2>&1` in
4530 *GNU*)
4531   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4532 *)
4533   ac_count=0
4534   $as_echo_n 0123456789 >"conftest.in"
4535   while :
4536   do
4537     cat "conftest.in" "conftest.in" >"conftest.tmp"
4538     mv "conftest.tmp" "conftest.in"
4539     cp "conftest.in" "conftest.nl"
4540     $as_echo 'GREP' >> "conftest.nl"
4541     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4542     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4543     as_fn_arith $ac_count + 1 && ac_count=$as_val
4544     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4545       # Best one so far, save it but keep looking for a better one
4546       ac_cv_path_GREP="$ac_path_GREP"
4547       ac_path_GREP_max=$ac_count
4548     fi
4549     # 10*(2^10) chars as input seems more than enough
4550     test $ac_count -gt 10 && break
4551   done
4552   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4553 esac
4554
4555       $ac_path_GREP_found && break 3
4556     done
4557   done
4558   done
4559 IFS=$as_save_IFS
4560   if test -z "$ac_cv_path_GREP"; then
4561     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4562   fi
4563 else
4564   ac_cv_path_GREP=$GREP
4565 fi
4566
4567 fi
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4569 $as_echo "$ac_cv_path_GREP" >&6; }
4570  GREP="$ac_cv_path_GREP"
4571
4572
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4574 $as_echo_n "checking for egrep... " >&6; }
4575 if ${ac_cv_path_EGREP+:} false; then :
4576   $as_echo_n "(cached) " >&6
4577 else
4578   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4579    then ac_cv_path_EGREP="$GREP -E"
4580    else
4581      if test -z "$EGREP"; then
4582   ac_path_EGREP_found=false
4583   # Loop through the user's path and test for each of PROGNAME-LIST
4584   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4586 do
4587   IFS=$as_save_IFS
4588   test -z "$as_dir" && as_dir=.
4589     for ac_prog in egrep; do
4590     for ac_exec_ext in '' $ac_executable_extensions; do
4591       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4592       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4593 # Check for GNU ac_path_EGREP and select it if it is found.
4594   # Check for GNU $ac_path_EGREP
4595 case `"$ac_path_EGREP" --version 2>&1` in
4596 *GNU*)
4597   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4598 *)
4599   ac_count=0
4600   $as_echo_n 0123456789 >"conftest.in"
4601   while :
4602   do
4603     cat "conftest.in" "conftest.in" >"conftest.tmp"
4604     mv "conftest.tmp" "conftest.in"
4605     cp "conftest.in" "conftest.nl"
4606     $as_echo 'EGREP' >> "conftest.nl"
4607     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4608     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4609     as_fn_arith $ac_count + 1 && ac_count=$as_val
4610     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4611       # Best one so far, save it but keep looking for a better one
4612       ac_cv_path_EGREP="$ac_path_EGREP"
4613       ac_path_EGREP_max=$ac_count
4614     fi
4615     # 10*(2^10) chars as input seems more than enough
4616     test $ac_count -gt 10 && break
4617   done
4618   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4619 esac
4620
4621       $ac_path_EGREP_found && break 3
4622     done
4623   done
4624   done
4625 IFS=$as_save_IFS
4626   if test -z "$ac_cv_path_EGREP"; then
4627     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4628   fi
4629 else
4630   ac_cv_path_EGREP=$EGREP
4631 fi
4632
4633    fi
4634 fi
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4636 $as_echo "$ac_cv_path_EGREP" >&6; }
4637  EGREP="$ac_cv_path_EGREP"
4638
4639
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4641 $as_echo_n "checking for fgrep... " >&6; }
4642 if ${ac_cv_path_FGREP+:} false; then :
4643   $as_echo_n "(cached) " >&6
4644 else
4645   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4646    then ac_cv_path_FGREP="$GREP -F"
4647    else
4648      if test -z "$FGREP"; then
4649   ac_path_FGREP_found=false
4650   # Loop through the user's path and test for each of PROGNAME-LIST
4651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4653 do
4654   IFS=$as_save_IFS
4655   test -z "$as_dir" && as_dir=.
4656     for ac_prog in fgrep; do
4657     for ac_exec_ext in '' $ac_executable_extensions; do
4658       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4659       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4660 # Check for GNU ac_path_FGREP and select it if it is found.
4661   # Check for GNU $ac_path_FGREP
4662 case `"$ac_path_FGREP" --version 2>&1` in
4663 *GNU*)
4664   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4665 *)
4666   ac_count=0
4667   $as_echo_n 0123456789 >"conftest.in"
4668   while :
4669   do
4670     cat "conftest.in" "conftest.in" >"conftest.tmp"
4671     mv "conftest.tmp" "conftest.in"
4672     cp "conftest.in" "conftest.nl"
4673     $as_echo 'FGREP' >> "conftest.nl"
4674     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4675     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4676     as_fn_arith $ac_count + 1 && ac_count=$as_val
4677     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4678       # Best one so far, save it but keep looking for a better one
4679       ac_cv_path_FGREP="$ac_path_FGREP"
4680       ac_path_FGREP_max=$ac_count
4681     fi
4682     # 10*(2^10) chars as input seems more than enough
4683     test $ac_count -gt 10 && break
4684   done
4685   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4686 esac
4687
4688       $ac_path_FGREP_found && break 3
4689     done
4690   done
4691   done
4692 IFS=$as_save_IFS
4693   if test -z "$ac_cv_path_FGREP"; then
4694     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4695   fi
4696 else
4697   ac_cv_path_FGREP=$FGREP
4698 fi
4699
4700    fi
4701 fi
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4703 $as_echo "$ac_cv_path_FGREP" >&6; }
4704  FGREP="$ac_cv_path_FGREP"
4705
4706
4707 test -z "$GREP" && GREP=grep
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727 # Check whether --with-gnu-ld was given.
4728 if test "${with_gnu_ld+set}" = set; then :
4729   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4730 else
4731   with_gnu_ld=no
4732 fi
4733
4734 ac_prog=ld
4735 if test "$GCC" = yes; then
4736   # Check if gcc -print-prog-name=ld gives a path.
4737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4738 $as_echo_n "checking for ld used by $CC... " >&6; }
4739   case $host in
4740   *-*-mingw*)
4741     # gcc leaves a trailing carriage return which upsets mingw
4742     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4743   *)
4744     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4745   esac
4746   case $ac_prog in
4747     # Accept absolute paths.
4748     [\\/]* | ?:[\\/]*)
4749       re_direlt='/[^/][^/]*/\.\./'
4750       # Canonicalize the pathname of ld
4751       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4752       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4753         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4754       done
4755       test -z "$LD" && LD="$ac_prog"
4756       ;;
4757   "")
4758     # If it fails, then pretend we aren't using GCC.
4759     ac_prog=ld
4760     ;;
4761   *)
4762     # If it is relative, then search for the first ld in PATH.
4763     with_gnu_ld=unknown
4764     ;;
4765   esac
4766 elif test "$with_gnu_ld" = yes; then
4767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4768 $as_echo_n "checking for GNU ld... " >&6; }
4769 else
4770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4771 $as_echo_n "checking for non-GNU ld... " >&6; }
4772 fi
4773 if ${lt_cv_path_LD+:} false; then :
4774   $as_echo_n "(cached) " >&6
4775 else
4776   if test -z "$LD"; then
4777   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4778   for ac_dir in $PATH; do
4779     IFS="$lt_save_ifs"
4780     test -z "$ac_dir" && ac_dir=.
4781     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4782       lt_cv_path_LD="$ac_dir/$ac_prog"
4783       # Check to see if the program is GNU ld.  I'd rather use --version,
4784       # but apparently some variants of GNU ld only accept -v.
4785       # Break only if it was the GNU/non-GNU ld that we prefer.
4786       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4787       *GNU* | *'with BFD'*)
4788         test "$with_gnu_ld" != no && break
4789         ;;
4790       *)
4791         test "$with_gnu_ld" != yes && break
4792         ;;
4793       esac
4794     fi
4795   done
4796   IFS="$lt_save_ifs"
4797 else
4798   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4799 fi
4800 fi
4801
4802 LD="$lt_cv_path_LD"
4803 if test -n "$LD"; then
4804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4805 $as_echo "$LD" >&6; }
4806 else
4807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4809 fi
4810 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4812 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4813 if ${lt_cv_prog_gnu_ld+:} false; then :
4814   $as_echo_n "(cached) " >&6
4815 else
4816   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4817 case `$LD -v 2>&1 </dev/null` in
4818 *GNU* | *'with BFD'*)
4819   lt_cv_prog_gnu_ld=yes
4820   ;;
4821 *)
4822   lt_cv_prog_gnu_ld=no
4823   ;;
4824 esac
4825 fi
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4827 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4828 with_gnu_ld=$lt_cv_prog_gnu_ld
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4839 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4840 if ${lt_cv_path_NM+:} false; then :
4841   $as_echo_n "(cached) " >&6
4842 else
4843   if test -n "$NM"; then
4844   # Let the user override the test.
4845   lt_cv_path_NM="$NM"
4846 else
4847   lt_nm_to_check="${ac_tool_prefix}nm"
4848   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4849     lt_nm_to_check="$lt_nm_to_check nm"
4850   fi
4851   for lt_tmp_nm in $lt_nm_to_check; do
4852     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4853     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4854       IFS="$lt_save_ifs"
4855       test -z "$ac_dir" && ac_dir=.
4856       tmp_nm="$ac_dir/$lt_tmp_nm"
4857       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4858         # Check to see if the nm accepts a BSD-compat flag.
4859         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4860         #   nm: unknown option "B" ignored
4861         # Tru64's nm complains that /dev/null is an invalid object file
4862         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4863         */dev/null* | *'Invalid file or object type'*)
4864           lt_cv_path_NM="$tmp_nm -B"
4865           break
4866           ;;
4867         *)
4868           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4869           */dev/null*)
4870             lt_cv_path_NM="$tmp_nm -p"
4871             break
4872             ;;
4873           *)
4874             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4875             continue # so that we can try to find one that supports BSD flags
4876             ;;
4877           esac
4878           ;;
4879         esac
4880       fi
4881     done
4882     IFS="$lt_save_ifs"
4883   done
4884   : ${lt_cv_path_NM=no}
4885 fi
4886 fi
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4888 $as_echo "$lt_cv_path_NM" >&6; }
4889 if test "$lt_cv_path_NM" != "no"; then
4890   NM="$lt_cv_path_NM"
4891 else
4892   # Didn't find any BSD compatible name lister, look for dumpbin.
4893   if test -n "$DUMPBIN"; then :
4894     # Let the user override the test.
4895   else
4896     if test -n "$ac_tool_prefix"; then
4897   for ac_prog in dumpbin "link -dump"
4898   do
4899     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4902 $as_echo_n "checking for $ac_word... " >&6; }
4903 if ${ac_cv_prog_DUMPBIN+:} false; then :
4904   $as_echo_n "(cached) " >&6
4905 else
4906   if test -n "$DUMPBIN"; then
4907   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4908 else
4909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 for as_dir in $PATH
4911 do
4912   IFS=$as_save_IFS
4913   test -z "$as_dir" && as_dir=.
4914     for ac_exec_ext in '' $ac_executable_extensions; do
4915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4916     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918     break 2
4919   fi
4920 done
4921   done
4922 IFS=$as_save_IFS
4923
4924 fi
4925 fi
4926 DUMPBIN=$ac_cv_prog_DUMPBIN
4927 if test -n "$DUMPBIN"; then
4928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4929 $as_echo "$DUMPBIN" >&6; }
4930 else
4931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4933 fi
4934
4935
4936     test -n "$DUMPBIN" && break
4937   done
4938 fi
4939 if test -z "$DUMPBIN"; then
4940   ac_ct_DUMPBIN=$DUMPBIN
4941   for ac_prog in dumpbin "link -dump"
4942 do
4943   # Extract the first word of "$ac_prog", so it can be a program name with args.
4944 set dummy $ac_prog; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4948   $as_echo_n "(cached) " >&6
4949 else
4950   if test -n "$ac_ct_DUMPBIN"; then
4951   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4955 do
4956   IFS=$as_save_IFS
4957   test -z "$as_dir" && as_dir=.
4958     for ac_exec_ext in '' $ac_executable_extensions; do
4959   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962     break 2
4963   fi
4964 done
4965   done
4966 IFS=$as_save_IFS
4967
4968 fi
4969 fi
4970 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4971 if test -n "$ac_ct_DUMPBIN"; then
4972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4973 $as_echo "$ac_ct_DUMPBIN" >&6; }
4974 else
4975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4977 fi
4978
4979
4980   test -n "$ac_ct_DUMPBIN" && break
4981 done
4982
4983   if test "x$ac_ct_DUMPBIN" = x; then
4984     DUMPBIN=":"
4985   else
4986     case $cross_compiling:$ac_tool_warned in
4987 yes:)
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4990 ac_tool_warned=yes ;;
4991 esac
4992     DUMPBIN=$ac_ct_DUMPBIN
4993   fi
4994 fi
4995
4996     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4997     *COFF*)
4998       DUMPBIN="$DUMPBIN -symbols"
4999       ;;
5000     *)
5001       DUMPBIN=:
5002       ;;
5003     esac
5004   fi
5005
5006   if test "$DUMPBIN" != ":"; then
5007     NM="$DUMPBIN"
5008   fi
5009 fi
5010 test -z "$NM" && NM=nm
5011
5012
5013
5014
5015
5016
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5018 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5019 if ${lt_cv_nm_interface+:} false; then :
5020   $as_echo_n "(cached) " >&6
5021 else
5022   lt_cv_nm_interface="BSD nm"
5023   echo "int some_variable = 0;" > conftest.$ac_ext
5024   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5025   (eval "$ac_compile" 2>conftest.err)
5026   cat conftest.err >&5
5027   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5028   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5029   cat conftest.err >&5
5030   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5031   cat conftest.out >&5
5032   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5033     lt_cv_nm_interface="MS dumpbin"
5034   fi
5035   rm -f conftest*
5036 fi
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5038 $as_echo "$lt_cv_nm_interface" >&6; }
5039
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5041 $as_echo_n "checking whether ln -s works... " >&6; }
5042 LN_S=$as_ln_s
5043 if test "$LN_S" = "ln -s"; then
5044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5045 $as_echo "yes" >&6; }
5046 else
5047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5048 $as_echo "no, using $LN_S" >&6; }
5049 fi
5050
5051 # find the maximum length of command line arguments
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5053 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5054 if ${lt_cv_sys_max_cmd_len+:} false; then :
5055   $as_echo_n "(cached) " >&6
5056 else
5057     i=0
5058   teststring="ABCD"
5059
5060   case $build_os in
5061   msdosdjgpp*)
5062     # On DJGPP, this test can blow up pretty badly due to problems in libc
5063     # (any single argument exceeding 2000 bytes causes a buffer overrun
5064     # during glob expansion).  Even if it were fixed, the result of this
5065     # check would be larger than it should be.
5066     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5067     ;;
5068
5069   gnu*)
5070     # Under GNU Hurd, this test is not required because there is
5071     # no limit to the length of command line arguments.
5072     # Libtool will interpret -1 as no limit whatsoever
5073     lt_cv_sys_max_cmd_len=-1;
5074     ;;
5075
5076   cygwin* | mingw* | cegcc*)
5077     # On Win9x/ME, this test blows up -- it succeeds, but takes
5078     # about 5 minutes as the teststring grows exponentially.
5079     # Worse, since 9x/ME are not pre-emptively multitasking,
5080     # you end up with a "frozen" computer, even though with patience
5081     # the test eventually succeeds (with a max line length of 256k).
5082     # Instead, let's just punt: use the minimum linelength reported by
5083     # all of the supported platforms: 8192 (on NT/2K/XP).
5084     lt_cv_sys_max_cmd_len=8192;
5085     ;;
5086
5087   mint*)
5088     # On MiNT this can take a long time and run out of memory.
5089     lt_cv_sys_max_cmd_len=8192;
5090     ;;
5091
5092   amigaos*)
5093     # On AmigaOS with pdksh, this test takes hours, literally.
5094     # So we just punt and use a minimum line length of 8192.
5095     lt_cv_sys_max_cmd_len=8192;
5096     ;;
5097
5098   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5099     # This has been around since 386BSD, at least.  Likely further.
5100     if test -x /sbin/sysctl; then
5101       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5102     elif test -x /usr/sbin/sysctl; then
5103       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5104     else
5105       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5106     fi
5107     # And add a safety zone
5108     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5109     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5110     ;;
5111
5112   interix*)
5113     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5114     lt_cv_sys_max_cmd_len=196608
5115     ;;
5116
5117   osf*)
5118     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5119     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5120     # nice to cause kernel panics so lets avoid the loop below.
5121     # First set a reasonable default.
5122     lt_cv_sys_max_cmd_len=16384
5123     #
5124     if test -x /sbin/sysconfig; then
5125       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5126         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5127       esac
5128     fi
5129     ;;
5130   sco3.2v5*)
5131     lt_cv_sys_max_cmd_len=102400
5132     ;;
5133   sysv5* | sco5v6* | sysv4.2uw2*)
5134     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5135     if test -n "$kargmax"; then
5136       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5137     else
5138       lt_cv_sys_max_cmd_len=32768
5139     fi
5140     ;;
5141   *)
5142     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5143     if test -n "$lt_cv_sys_max_cmd_len"; then
5144       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5145       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5146     else
5147       # Make teststring a little bigger before we do anything with it.
5148       # a 1K string should be a reasonable start.
5149       for i in 1 2 3 4 5 6 7 8 ; do
5150         teststring=$teststring$teststring
5151       done
5152       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5153       # If test is not a shell built-in, we'll probably end up computing a
5154       # maximum length that is only half of the actual maximum length, but
5155       # we can't tell.
5156       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5157                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5158               test $i != 17 # 1/2 MB should be enough
5159       do
5160         i=`expr $i + 1`
5161         teststring=$teststring$teststring
5162       done
5163       # Only check the string length outside the loop.
5164       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5165       teststring=
5166       # Add a significant safety factor because C++ compilers can tack on
5167       # massive amounts of additional arguments before passing them to the
5168       # linker.  It appears as though 1/2 is a usable value.
5169       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5170     fi
5171     ;;
5172   esac
5173
5174 fi
5175
5176 if test -n $lt_cv_sys_max_cmd_len ; then
5177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5178 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5179 else
5180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5181 $as_echo "none" >&6; }
5182 fi
5183 max_cmd_len=$lt_cv_sys_max_cmd_len
5184
5185
5186
5187
5188
5189
5190 : ${CP="cp -f"}
5191 : ${MV="mv -f"}
5192 : ${RM="rm -f"}
5193
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5195 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5196 # Try some XSI features
5197 xsi_shell=no
5198 ( _lt_dummy="a/b/c"
5199   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5200       = c,a/b,b/c, \
5201     && eval 'test $(( 1 + 1 )) -eq 2 \
5202     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5203   && xsi_shell=yes
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5205 $as_echo "$xsi_shell" >&6; }
5206
5207
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5209 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5210 lt_shell_append=no
5211 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5212     >/dev/null 2>&1 \
5213   && lt_shell_append=yes
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5215 $as_echo "$lt_shell_append" >&6; }
5216
5217
5218 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5219   lt_unset=unset
5220 else
5221   lt_unset=false
5222 fi
5223
5224
5225
5226
5227
5228 # test EBCDIC or ASCII
5229 case `echo X|tr X '\101'` in
5230  A) # ASCII based system
5231     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5232   lt_SP2NL='tr \040 \012'
5233   lt_NL2SP='tr \015\012 \040\040'
5234   ;;
5235  *) # EBCDIC based system
5236   lt_SP2NL='tr \100 \n'
5237   lt_NL2SP='tr \r\n \100\100'
5238   ;;
5239 esac
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5250 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5251 if ${lt_cv_to_host_file_cmd+:} false; then :
5252   $as_echo_n "(cached) " >&6
5253 else
5254   case $host in
5255   *-*-mingw* )
5256     case $build in
5257       *-*-mingw* ) # actually msys
5258         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5259         ;;
5260       *-*-cygwin* )
5261         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5262         ;;
5263       * ) # otherwise, assume *nix
5264         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5265         ;;
5266     esac
5267     ;;
5268   *-*-cygwin* )
5269     case $build in
5270       *-*-mingw* ) # actually msys
5271         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5272         ;;
5273       *-*-cygwin* )
5274         lt_cv_to_host_file_cmd=func_convert_file_noop
5275         ;;
5276       * ) # otherwise, assume *nix
5277         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5278         ;;
5279     esac
5280     ;;
5281   * ) # unhandled hosts (and "normal" native builds)
5282     lt_cv_to_host_file_cmd=func_convert_file_noop
5283     ;;
5284 esac
5285
5286 fi
5287
5288 to_host_file_cmd=$lt_cv_to_host_file_cmd
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5290 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5291
5292
5293
5294
5295
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5297 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5298 if ${lt_cv_to_tool_file_cmd+:} false; then :
5299   $as_echo_n "(cached) " >&6
5300 else
5301   #assume ordinary cross tools, or native build.
5302 lt_cv_to_tool_file_cmd=func_convert_file_noop
5303 case $host in
5304   *-*-mingw* )
5305     case $build in
5306       *-*-mingw* ) # actually msys
5307         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5308         ;;
5309     esac
5310     ;;
5311 esac
5312
5313 fi
5314
5315 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5317 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5318
5319
5320
5321
5322
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5324 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5325 if ${lt_cv_ld_reload_flag+:} false; then :
5326   $as_echo_n "(cached) " >&6
5327 else
5328   lt_cv_ld_reload_flag='-r'
5329 fi
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5331 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5332 reload_flag=$lt_cv_ld_reload_flag
5333 case $reload_flag in
5334 "" | " "*) ;;
5335 *) reload_flag=" $reload_flag" ;;
5336 esac
5337 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5338 case $host_os in
5339   cygwin* | mingw* | pw32* | cegcc*)
5340     if test "$GCC" != yes; then
5341       reload_cmds=false
5342     fi
5343     ;;
5344   darwin*)
5345     if test "$GCC" = yes; then
5346       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5347     else
5348       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5349     fi
5350     ;;
5351 esac
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361 if test -n "$ac_tool_prefix"; then
5362   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5363 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_OBJDUMP+:} false; then :
5367   $as_echo_n "(cached) " >&6
5368 else
5369   if test -n "$OBJDUMP"; then
5370   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5374 do
5375   IFS=$as_save_IFS
5376   test -z "$as_dir" && as_dir=.
5377     for ac_exec_ext in '' $ac_executable_extensions; do
5378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5379     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381     break 2
5382   fi
5383 done
5384   done
5385 IFS=$as_save_IFS
5386
5387 fi
5388 fi
5389 OBJDUMP=$ac_cv_prog_OBJDUMP
5390 if test -n "$OBJDUMP"; then
5391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5392 $as_echo "$OBJDUMP" >&6; }
5393 else
5394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5396 fi
5397
5398
5399 fi
5400 if test -z "$ac_cv_prog_OBJDUMP"; then
5401   ac_ct_OBJDUMP=$OBJDUMP
5402   # Extract the first word of "objdump", so it can be a program name with args.
5403 set dummy objdump; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5407   $as_echo_n "(cached) " >&6
5408 else
5409   if test -n "$ac_ct_OBJDUMP"; then
5410   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5411 else
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5414 do
5415   IFS=$as_save_IFS
5416   test -z "$as_dir" && as_dir=.
5417     for ac_exec_ext in '' $ac_executable_extensions; do
5418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5419     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421     break 2
5422   fi
5423 done
5424   done
5425 IFS=$as_save_IFS
5426
5427 fi
5428 fi
5429 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5430 if test -n "$ac_ct_OBJDUMP"; then
5431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5432 $as_echo "$ac_ct_OBJDUMP" >&6; }
5433 else
5434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5436 fi
5437
5438   if test "x$ac_ct_OBJDUMP" = x; then
5439     OBJDUMP="false"
5440   else
5441     case $cross_compiling:$ac_tool_warned in
5442 yes:)
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5445 ac_tool_warned=yes ;;
5446 esac
5447     OBJDUMP=$ac_ct_OBJDUMP
5448   fi
5449 else
5450   OBJDUMP="$ac_cv_prog_OBJDUMP"
5451 fi
5452
5453 test -z "$OBJDUMP" && OBJDUMP=objdump
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5464 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5465 if ${lt_cv_deplibs_check_method+:} false; then :
5466   $as_echo_n "(cached) " >&6
5467 else
5468   lt_cv_file_magic_cmd='$MAGIC_CMD'
5469 lt_cv_file_magic_test_file=
5470 lt_cv_deplibs_check_method='unknown'
5471 # Need to set the preceding variable on all platforms that support
5472 # interlibrary dependencies.
5473 # 'none' -- dependencies not supported.
5474 # `unknown' -- same as none, but documents that we really don't know.
5475 # 'pass_all' -- all dependencies passed with no checks.
5476 # 'test_compile' -- check by making test program.
5477 # 'file_magic [[regex]]' -- check by looking for files in library path
5478 # which responds to the $file_magic_cmd with a given extended regex.
5479 # If you have `file' or equivalent on your system and you're not sure
5480 # whether `pass_all' will *always* work, you probably want this one.
5481
5482 case $host_os in
5483 aix[4-9]*)
5484   lt_cv_deplibs_check_method=pass_all
5485   ;;
5486
5487 beos*)
5488   lt_cv_deplibs_check_method=pass_all
5489   ;;
5490
5491 bsdi[45]*)
5492   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5493   lt_cv_file_magic_cmd='/usr/bin/file -L'
5494   lt_cv_file_magic_test_file=/shlib/libc.so
5495   ;;
5496
5497 cygwin*)
5498   # func_win32_libid is a shell function defined in ltmain.sh
5499   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5500   lt_cv_file_magic_cmd='func_win32_libid'
5501   ;;
5502
5503 mingw* | pw32*)
5504   # Base MSYS/MinGW do not provide the 'file' command needed by
5505   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5506   # unless we find 'file', for example because we are cross-compiling.
5507   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5508   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5509     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5510     lt_cv_file_magic_cmd='func_win32_libid'
5511   else
5512     # Keep this pattern in sync with the one in func_win32_libid.
5513     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5514     lt_cv_file_magic_cmd='$OBJDUMP -f'
5515   fi
5516   ;;
5517
5518 cegcc*)
5519   # use the weaker test based on 'objdump'. See mingw*.
5520   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5521   lt_cv_file_magic_cmd='$OBJDUMP -f'
5522   ;;
5523
5524 darwin* | rhapsody*)
5525   lt_cv_deplibs_check_method=pass_all
5526   ;;
5527
5528 freebsd* | dragonfly*)
5529   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5530     case $host_cpu in
5531     i*86 )
5532       # Not sure whether the presence of OpenBSD here was a mistake.
5533       # Let's accept both of them until this is cleared up.
5534       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5535       lt_cv_file_magic_cmd=/usr/bin/file
5536       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5537       ;;
5538     esac
5539   else
5540     lt_cv_deplibs_check_method=pass_all
5541   fi
5542   ;;
5543
5544 gnu*)
5545   lt_cv_deplibs_check_method=pass_all
5546   ;;
5547
5548 haiku*)
5549   lt_cv_deplibs_check_method=pass_all
5550   ;;
5551
5552 hpux10.20* | hpux11*)
5553   lt_cv_file_magic_cmd=/usr/bin/file
5554   case $host_cpu in
5555   ia64*)
5556     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5557     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5558     ;;
5559   hppa*64*)
5560     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]'
5561     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5562     ;;
5563   *)
5564     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5565     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5566     ;;
5567   esac
5568   ;;
5569
5570 interix[3-9]*)
5571   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5572   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5573   ;;
5574
5575 irix5* | irix6* | nonstopux*)
5576   case $LD in
5577   *-32|*"-32 ") libmagic=32-bit;;
5578   *-n32|*"-n32 ") libmagic=N32;;
5579   *-64|*"-64 ") libmagic=64-bit;;
5580   *) libmagic=never-match;;
5581   esac
5582   lt_cv_deplibs_check_method=pass_all
5583   ;;
5584
5585 # This must be Linux ELF.
5586 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5587   lt_cv_deplibs_check_method=pass_all
5588   ;;
5589
5590 netbsd*)
5591   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5592     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5593   else
5594     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5595   fi
5596   ;;
5597
5598 newos6*)
5599   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5600   lt_cv_file_magic_cmd=/usr/bin/file
5601   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5602   ;;
5603
5604 *nto* | *qnx*)
5605   lt_cv_deplibs_check_method=pass_all
5606   ;;
5607
5608 openbsd*)
5609   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5610     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5611   else
5612     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5613   fi
5614   ;;
5615
5616 osf3* | osf4* | osf5*)
5617   lt_cv_deplibs_check_method=pass_all
5618   ;;
5619
5620 rdos*)
5621   lt_cv_deplibs_check_method=pass_all
5622   ;;
5623
5624 solaris*)
5625   lt_cv_deplibs_check_method=pass_all
5626   ;;
5627
5628 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5629   lt_cv_deplibs_check_method=pass_all
5630   ;;
5631
5632 sysv4 | sysv4.3*)
5633   case $host_vendor in
5634   motorola)
5635     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]'
5636     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5637     ;;
5638   ncr)
5639     lt_cv_deplibs_check_method=pass_all
5640     ;;
5641   sequent)
5642     lt_cv_file_magic_cmd='/bin/file'
5643     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5644     ;;
5645   sni)
5646     lt_cv_file_magic_cmd='/bin/file'
5647     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5648     lt_cv_file_magic_test_file=/lib/libc.so
5649     ;;
5650   siemens)
5651     lt_cv_deplibs_check_method=pass_all
5652     ;;
5653   pc)
5654     lt_cv_deplibs_check_method=pass_all
5655     ;;
5656   esac
5657   ;;
5658
5659 tpf*)
5660   lt_cv_deplibs_check_method=pass_all
5661   ;;
5662 esac
5663
5664 fi
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5666 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5667
5668 file_magic_glob=
5669 want_nocaseglob=no
5670 if test "$build" = "$host"; then
5671   case $host_os in
5672   mingw* | pw32*)
5673     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5674       want_nocaseglob=yes
5675     else
5676       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5677     fi
5678     ;;
5679   esac
5680 fi
5681
5682 file_magic_cmd=$lt_cv_file_magic_cmd
5683 deplibs_check_method=$lt_cv_deplibs_check_method
5684 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707 if test -n "$ac_tool_prefix"; then
5708   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5709 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if ${ac_cv_prog_DLLTOOL+:} false; then :
5713   $as_echo_n "(cached) " >&6
5714 else
5715   if test -n "$DLLTOOL"; then
5716   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5717 else
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH
5720 do
5721   IFS=$as_save_IFS
5722   test -z "$as_dir" && as_dir=.
5723     for ac_exec_ext in '' $ac_executable_extensions; do
5724   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5725     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727     break 2
5728   fi
5729 done
5730   done
5731 IFS=$as_save_IFS
5732
5733 fi
5734 fi
5735 DLLTOOL=$ac_cv_prog_DLLTOOL
5736 if test -n "$DLLTOOL"; then
5737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5738 $as_echo "$DLLTOOL" >&6; }
5739 else
5740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5742 fi
5743
5744
5745 fi
5746 if test -z "$ac_cv_prog_DLLTOOL"; then
5747   ac_ct_DLLTOOL=$DLLTOOL
5748   # Extract the first word of "dlltool", so it can be a program name with args.
5749 set dummy dlltool; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5753   $as_echo_n "(cached) " >&6
5754 else
5755   if test -n "$ac_ct_DLLTOOL"; then
5756   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5757 else
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 for as_dir in $PATH
5760 do
5761   IFS=$as_save_IFS
5762   test -z "$as_dir" && as_dir=.
5763     for ac_exec_ext in '' $ac_executable_extensions; do
5764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5765     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767     break 2
5768   fi
5769 done
5770   done
5771 IFS=$as_save_IFS
5772
5773 fi
5774 fi
5775 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5776 if test -n "$ac_ct_DLLTOOL"; then
5777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5778 $as_echo "$ac_ct_DLLTOOL" >&6; }
5779 else
5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5782 fi
5783
5784   if test "x$ac_ct_DLLTOOL" = x; then
5785     DLLTOOL="false"
5786   else
5787     case $cross_compiling:$ac_tool_warned in
5788 yes:)
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5791 ac_tool_warned=yes ;;
5792 esac
5793     DLLTOOL=$ac_ct_DLLTOOL
5794   fi
5795 else
5796   DLLTOOL="$ac_cv_prog_DLLTOOL"
5797 fi
5798
5799 test -z "$DLLTOOL" && DLLTOOL=dlltool
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5811 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5812 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5813   $as_echo_n "(cached) " >&6
5814 else
5815   lt_cv_sharedlib_from_linklib_cmd='unknown'
5816
5817 case $host_os in
5818 cygwin* | mingw* | pw32* | cegcc*)
5819   # two different shell functions defined in ltmain.sh
5820   # decide which to use based on capabilities of $DLLTOOL
5821   case `$DLLTOOL --help 2>&1` in
5822   *--identify-strict*)
5823     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5824     ;;
5825   *)
5826     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5827     ;;
5828   esac
5829   ;;
5830 *)
5831   # fallback: assume linklib IS sharedlib
5832   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5833   ;;
5834 esac
5835
5836 fi
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5838 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5839 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5840 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5841
5842
5843
5844
5845
5846
5847
5848
5849 if test -n "$ac_tool_prefix"; then
5850   for ac_prog in ar
5851   do
5852     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if ${ac_cv_prog_AR+:} false; then :
5857   $as_echo_n "(cached) " >&6
5858 else
5859   if test -n "$AR"; then
5860   ac_cv_prog_AR="$AR" # Let the user override the test.
5861 else
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 for as_dir in $PATH
5864 do
5865   IFS=$as_save_IFS
5866   test -z "$as_dir" && as_dir=.
5867     for ac_exec_ext in '' $ac_executable_extensions; do
5868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871     break 2
5872   fi
5873 done
5874   done
5875 IFS=$as_save_IFS
5876
5877 fi
5878 fi
5879 AR=$ac_cv_prog_AR
5880 if test -n "$AR"; then
5881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5882 $as_echo "$AR" >&6; }
5883 else
5884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5886 fi
5887
5888
5889     test -n "$AR" && break
5890   done
5891 fi
5892 if test -z "$AR"; then
5893   ac_ct_AR=$AR
5894   for ac_prog in ar
5895 do
5896   # Extract the first word of "$ac_prog", so it can be a program name with args.
5897 set dummy $ac_prog; ac_word=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5901   $as_echo_n "(cached) " >&6
5902 else
5903   if test -n "$ac_ct_AR"; then
5904   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5905 else
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 for as_dir in $PATH
5908 do
5909   IFS=$as_save_IFS
5910   test -z "$as_dir" && as_dir=.
5911     for ac_exec_ext in '' $ac_executable_extensions; do
5912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5913     ac_cv_prog_ac_ct_AR="$ac_prog"
5914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5915     break 2
5916   fi
5917 done
5918   done
5919 IFS=$as_save_IFS
5920
5921 fi
5922 fi
5923 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5924 if test -n "$ac_ct_AR"; then
5925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5926 $as_echo "$ac_ct_AR" >&6; }
5927 else
5928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5929 $as_echo "no" >&6; }
5930 fi
5931
5932
5933   test -n "$ac_ct_AR" && break
5934 done
5935
5936   if test "x$ac_ct_AR" = x; then
5937     AR="false"
5938   else
5939     case $cross_compiling:$ac_tool_warned in
5940 yes:)
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5943 ac_tool_warned=yes ;;
5944 esac
5945     AR=$ac_ct_AR
5946   fi
5947 fi
5948
5949 : ${AR=ar}
5950 : ${AR_FLAGS=cru}
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5963 $as_echo_n "checking for archiver @FILE support... " >&6; }
5964 if ${lt_cv_ar_at_file+:} false; then :
5965   $as_echo_n "(cached) " >&6
5966 else
5967   lt_cv_ar_at_file=no
5968    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h.  */
5970
5971 int
5972 main ()
5973 {
5974
5975   ;
5976   return 0;
5977 }
5978 _ACEOF
5979 if ac_fn_c_try_compile "$LINENO"; then :
5980   echo conftest.$ac_objext > conftest.lst
5981       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5982       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5983   (eval $lt_ar_try) 2>&5
5984   ac_status=$?
5985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5986   test $ac_status = 0; }
5987       if test "$ac_status" -eq 0; then
5988         # Ensure the archiver fails upon bogus file names.
5989         rm -f conftest.$ac_objext libconftest.a
5990         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5991   (eval $lt_ar_try) 2>&5
5992   ac_status=$?
5993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5994   test $ac_status = 0; }
5995         if test "$ac_status" -ne 0; then
5996           lt_cv_ar_at_file=@
5997         fi
5998       fi
5999       rm -f conftest.* libconftest.a
6000
6001 fi
6002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6003
6004 fi
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6006 $as_echo "$lt_cv_ar_at_file" >&6; }
6007
6008 if test "x$lt_cv_ar_at_file" = xno; then
6009   archiver_list_spec=
6010 else
6011   archiver_list_spec=$lt_cv_ar_at_file
6012 fi
6013
6014
6015
6016
6017
6018
6019
6020 if test -n "$ac_tool_prefix"; then
6021   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6022 set dummy ${ac_tool_prefix}strip; ac_word=$2
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6024 $as_echo_n "checking for $ac_word... " >&6; }
6025 if ${ac_cv_prog_STRIP+:} false; then :
6026   $as_echo_n "(cached) " >&6
6027 else
6028   if test -n "$STRIP"; then
6029   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6030 else
6031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032 for as_dir in $PATH
6033 do
6034   IFS=$as_save_IFS
6035   test -z "$as_dir" && as_dir=.
6036     for ac_exec_ext in '' $ac_executable_extensions; do
6037   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6038     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6040     break 2
6041   fi
6042 done
6043   done
6044 IFS=$as_save_IFS
6045
6046 fi
6047 fi
6048 STRIP=$ac_cv_prog_STRIP
6049 if test -n "$STRIP"; then
6050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6051 $as_echo "$STRIP" >&6; }
6052 else
6053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 $as_echo "no" >&6; }
6055 fi
6056
6057
6058 fi
6059 if test -z "$ac_cv_prog_STRIP"; then
6060   ac_ct_STRIP=$STRIP
6061   # Extract the first word of "strip", so it can be a program name with args.
6062 set dummy strip; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6066   $as_echo_n "(cached) " >&6
6067 else
6068   if test -n "$ac_ct_STRIP"; then
6069   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6073 do
6074   IFS=$as_save_IFS
6075   test -z "$as_dir" && as_dir=.
6076     for ac_exec_ext in '' $ac_executable_extensions; do
6077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6078     ac_cv_prog_ac_ct_STRIP="strip"
6079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080     break 2
6081   fi
6082 done
6083   done
6084 IFS=$as_save_IFS
6085
6086 fi
6087 fi
6088 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6089 if test -n "$ac_ct_STRIP"; then
6090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6091 $as_echo "$ac_ct_STRIP" >&6; }
6092 else
6093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6095 fi
6096
6097   if test "x$ac_ct_STRIP" = x; then
6098     STRIP=":"
6099   else
6100     case $cross_compiling:$ac_tool_warned in
6101 yes:)
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6104 ac_tool_warned=yes ;;
6105 esac
6106     STRIP=$ac_ct_STRIP
6107   fi
6108 else
6109   STRIP="$ac_cv_prog_STRIP"
6110 fi
6111
6112 test -z "$STRIP" && STRIP=:
6113
6114
6115
6116
6117
6118
6119 if test -n "$ac_tool_prefix"; then
6120   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if ${ac_cv_prog_RANLIB+:} false; then :
6125   $as_echo_n "(cached) " >&6
6126 else
6127   if test -n "$RANLIB"; then
6128   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6129 else
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 for as_dir in $PATH
6132 do
6133   IFS=$as_save_IFS
6134   test -z "$as_dir" && as_dir=.
6135     for ac_exec_ext in '' $ac_executable_extensions; do
6136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6137     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139     break 2
6140   fi
6141 done
6142   done
6143 IFS=$as_save_IFS
6144
6145 fi
6146 fi
6147 RANLIB=$ac_cv_prog_RANLIB
6148 if test -n "$RANLIB"; then
6149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6150 $as_echo "$RANLIB" >&6; }
6151 else
6152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6154 fi
6155
6156
6157 fi
6158 if test -z "$ac_cv_prog_RANLIB"; then
6159   ac_ct_RANLIB=$RANLIB
6160   # Extract the first word of "ranlib", so it can be a program name with args.
6161 set dummy ranlib; ac_word=$2
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163 $as_echo_n "checking for $ac_word... " >&6; }
6164 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6165   $as_echo_n "(cached) " >&6
6166 else
6167   if test -n "$ac_ct_RANLIB"; then
6168   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6169 else
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 for as_dir in $PATH
6172 do
6173   IFS=$as_save_IFS
6174   test -z "$as_dir" && as_dir=.
6175     for ac_exec_ext in '' $ac_executable_extensions; do
6176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6177     ac_cv_prog_ac_ct_RANLIB="ranlib"
6178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6179     break 2
6180   fi
6181 done
6182   done
6183 IFS=$as_save_IFS
6184
6185 fi
6186 fi
6187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6188 if test -n "$ac_ct_RANLIB"; then
6189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6190 $as_echo "$ac_ct_RANLIB" >&6; }
6191 else
6192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6193 $as_echo "no" >&6; }
6194 fi
6195
6196   if test "x$ac_ct_RANLIB" = x; then
6197     RANLIB=":"
6198   else
6199     case $cross_compiling:$ac_tool_warned in
6200 yes:)
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6203 ac_tool_warned=yes ;;
6204 esac
6205     RANLIB=$ac_ct_RANLIB
6206   fi
6207 else
6208   RANLIB="$ac_cv_prog_RANLIB"
6209 fi
6210
6211 test -z "$RANLIB" && RANLIB=:
6212
6213
6214
6215
6216
6217
6218 # Determine commands to create old-style static archives.
6219 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6220 old_postinstall_cmds='chmod 644 $oldlib'
6221 old_postuninstall_cmds=
6222
6223 if test -n "$RANLIB"; then
6224   case $host_os in
6225   openbsd*)
6226     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6227     ;;
6228   *)
6229     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6230     ;;
6231   esac
6232   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6233 fi
6234
6235 case $host_os in
6236   darwin*)
6237     lock_old_archive_extraction=yes ;;
6238   *)
6239     lock_old_archive_extraction=no ;;
6240 esac
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280 # If no C compiler was specified, use CC.
6281 LTCC=${LTCC-"$CC"}
6282
6283 # If no C compiler flags were specified, use CFLAGS.
6284 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6285
6286 # Allow CC to be a program name with arguments.
6287 compiler=$CC
6288
6289
6290 # Check for command to grab the raw symbol name followed by C symbol from nm.
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6292 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6293 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6294   $as_echo_n "(cached) " >&6
6295 else
6296
6297 # These are sane defaults that work on at least a few old systems.
6298 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6299
6300 # Character class describing NM global symbol codes.
6301 symcode='[BCDEGRST]'
6302
6303 # Regexp to match symbols that can be accessed directly from C.
6304 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6305
6306 # Define system-specific variables.
6307 case $host_os in
6308 aix*)
6309   symcode='[BCDT]'
6310   ;;
6311 cygwin* | mingw* | pw32* | cegcc*)
6312   symcode='[ABCDGISTW]'
6313   ;;
6314 hpux*)
6315   if test "$host_cpu" = ia64; then
6316     symcode='[ABCDEGRST]'
6317   fi
6318   ;;
6319 irix* | nonstopux*)
6320   symcode='[BCDEGRST]'
6321   ;;
6322 osf*)
6323   symcode='[BCDEGQRST]'
6324   ;;
6325 solaris*)
6326   symcode='[BDRT]'
6327   ;;
6328 sco3.2v5*)
6329   symcode='[DT]'
6330   ;;
6331 sysv4.2uw2*)
6332   symcode='[DT]'
6333   ;;
6334 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6335   symcode='[ABDT]'
6336   ;;
6337 sysv4)
6338   symcode='[DFNSTU]'
6339   ;;
6340 esac
6341
6342 # If we're using GNU nm, then use its standard symbol codes.
6343 case `$NM -V 2>&1` in
6344 *GNU* | *'with BFD'*)
6345   symcode='[ABCDGIRSTW]' ;;
6346 esac
6347
6348 # Transform an extracted symbol line into a proper C declaration.
6349 # Some systems (esp. on ia64) link data and code symbols differently,
6350 # so use this general approach.
6351 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6352
6353 # Transform an extracted symbol line into symbol name and symbol address
6354 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6355 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'"
6356
6357 # Handle CRLF in mingw tool chain
6358 opt_cr=
6359 case $build_os in
6360 mingw*)
6361   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6362   ;;
6363 esac
6364
6365 # Try without a prefix underscore, then with it.
6366 for ac_symprfx in "" "_"; do
6367
6368   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6369   symxfrm="\\1 $ac_symprfx\\2 \\2"
6370
6371   # Write the raw and C identifiers.
6372   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6373     # Fake it for dumpbin and say T for any non-static function
6374     # and D for any global variable.
6375     # Also find C++ and __fastcall symbols from MSVC++,
6376     # which start with @ or ?.
6377     lt_cv_sys_global_symbol_pipe="$AWK '"\
6378 "     {last_section=section; section=\$ 3};"\
6379 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6380 "     \$ 0!~/External *\|/{next};"\
6381 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6382 "     {if(hide[section]) next};"\
6383 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6384 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6385 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6386 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6387 "     ' prfx=^$ac_symprfx"
6388   else
6389     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6390   fi
6391   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6392
6393   # Check to see that the pipe works correctly.
6394   pipe_works=no
6395
6396   rm -f conftest*
6397   cat > conftest.$ac_ext <<_LT_EOF
6398 #ifdef __cplusplus
6399 extern "C" {
6400 #endif
6401 char nm_test_var;
6402 void nm_test_func(void);
6403 void nm_test_func(void){}
6404 #ifdef __cplusplus
6405 }
6406 #endif
6407 int main(){nm_test_var='a';nm_test_func();return(0);}
6408 _LT_EOF
6409
6410   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6411   (eval $ac_compile) 2>&5
6412   ac_status=$?
6413   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6414   test $ac_status = 0; }; then
6415     # Now try to grab the symbols.
6416     nlist=conftest.nm
6417     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6418   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6419   ac_status=$?
6420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6421   test $ac_status = 0; } && test -s "$nlist"; then
6422       # Try sorting and uniquifying the output.
6423       if sort "$nlist" | uniq > "$nlist"T; then
6424         mv -f "$nlist"T "$nlist"
6425       else
6426         rm -f "$nlist"T
6427       fi
6428
6429       # Make sure that we snagged all the symbols we need.
6430       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6431         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6432           cat <<_LT_EOF > conftest.$ac_ext
6433 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6434 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6435 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6436    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6437 # define LT_DLSYM_CONST
6438 #elif defined(__osf__)
6439 /* This system does not cope well with relocations in const data.  */
6440 # define LT_DLSYM_CONST
6441 #else
6442 # define LT_DLSYM_CONST const
6443 #endif
6444
6445 #ifdef __cplusplus
6446 extern "C" {
6447 #endif
6448
6449 _LT_EOF
6450           # Now generate the symbol file.
6451           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6452
6453           cat <<_LT_EOF >> conftest.$ac_ext
6454
6455 /* The mapping between symbol names and symbols.  */
6456 LT_DLSYM_CONST struct {
6457   const char *name;
6458   void       *address;
6459 }
6460 lt__PROGRAM__LTX_preloaded_symbols[] =
6461 {
6462   { "@PROGRAM@", (void *) 0 },
6463 _LT_EOF
6464           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6465           cat <<\_LT_EOF >> conftest.$ac_ext
6466   {0, (void *) 0}
6467 };
6468
6469 /* This works around a problem in FreeBSD linker */
6470 #ifdef FREEBSD_WORKAROUND
6471 static const void *lt_preloaded_setup() {
6472   return lt__PROGRAM__LTX_preloaded_symbols;
6473 }
6474 #endif
6475
6476 #ifdef __cplusplus
6477 }
6478 #endif
6479 _LT_EOF
6480           # Now try linking the two files.
6481           mv conftest.$ac_objext conftstm.$ac_objext
6482           lt_globsym_save_LIBS=$LIBS
6483           lt_globsym_save_CFLAGS=$CFLAGS
6484           LIBS="conftstm.$ac_objext"
6485           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6486           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6487   (eval $ac_link) 2>&5
6488   ac_status=$?
6489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6490   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6491             pipe_works=yes
6492           fi
6493           LIBS=$lt_globsym_save_LIBS
6494           CFLAGS=$lt_globsym_save_CFLAGS
6495         else
6496           echo "cannot find nm_test_func in $nlist" >&5
6497         fi
6498       else
6499         echo "cannot find nm_test_var in $nlist" >&5
6500       fi
6501     else
6502       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6503     fi
6504   else
6505     echo "$progname: failed program was:" >&5
6506     cat conftest.$ac_ext >&5
6507   fi
6508   rm -rf conftest* conftst*
6509
6510   # Do not use the global_symbol_pipe unless it works.
6511   if test "$pipe_works" = yes; then
6512     break
6513   else
6514     lt_cv_sys_global_symbol_pipe=
6515   fi
6516 done
6517
6518 fi
6519
6520 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6521   lt_cv_sys_global_symbol_to_cdecl=
6522 fi
6523 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6525 $as_echo "failed" >&6; }
6526 else
6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6528 $as_echo "ok" >&6; }
6529 fi
6530
6531 # Response file support.
6532 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6533   nm_file_list_spec='@'
6534 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6535   nm_file_list_spec='@'
6536 fi
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6565 $as_echo_n "checking for sysroot... " >&6; }
6566
6567 # Check whether --with-sysroot was given.
6568 if test "${with_sysroot+set}" = set; then :
6569   withval=$with_sysroot;
6570 else
6571   with_sysroot=no
6572 fi
6573
6574
6575 lt_sysroot=
6576 case ${with_sysroot} in #(
6577  yes)
6578    if test "$GCC" = yes; then
6579      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6580    fi
6581    ;; #(
6582  /*)
6583    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6584    ;; #(
6585  no|'')
6586    ;; #(
6587  *)
6588    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6589 $as_echo "${with_sysroot}" >&6; }
6590    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6591    ;;
6592 esac
6593
6594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6595 $as_echo "${lt_sysroot:-no}" >&6; }
6596
6597
6598
6599
6600
6601 # Check whether --enable-libtool-lock was given.
6602 if test "${enable_libtool_lock+set}" = set; then :
6603   enableval=$enable_libtool_lock;
6604 fi
6605
6606 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6607
6608 # Some flags need to be propagated to the compiler or linker for good
6609 # libtool support.
6610 case $host in
6611 ia64-*-hpux*)
6612   # Find out which ABI we are using.
6613   echo 'int i;' > conftest.$ac_ext
6614   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6615   (eval $ac_compile) 2>&5
6616   ac_status=$?
6617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6618   test $ac_status = 0; }; then
6619     case `/usr/bin/file conftest.$ac_objext` in
6620       *ELF-32*)
6621         HPUX_IA64_MODE="32"
6622         ;;
6623       *ELF-64*)
6624         HPUX_IA64_MODE="64"
6625         ;;
6626     esac
6627   fi
6628   rm -rf conftest*
6629   ;;
6630 *-*-irix6*)
6631   # Find out which ABI we are using.
6632   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6633   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6634   (eval $ac_compile) 2>&5
6635   ac_status=$?
6636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6637   test $ac_status = 0; }; then
6638     if test "$lt_cv_prog_gnu_ld" = yes; then
6639       case `/usr/bin/file conftest.$ac_objext` in
6640         *32-bit*)
6641           LD="${LD-ld} -melf32bsmip"
6642           ;;
6643         *N32*)
6644           LD="${LD-ld} -melf32bmipn32"
6645           ;;
6646         *64-bit*)
6647           LD="${LD-ld} -melf64bmip"
6648         ;;
6649       esac
6650     else
6651       case `/usr/bin/file conftest.$ac_objext` in
6652         *32-bit*)
6653           LD="${LD-ld} -32"
6654           ;;
6655         *N32*)
6656           LD="${LD-ld} -n32"
6657           ;;
6658         *64-bit*)
6659           LD="${LD-ld} -64"
6660           ;;
6661       esac
6662     fi
6663   fi
6664   rm -rf conftest*
6665   ;;
6666
6667 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6668 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6669   # Find out which ABI we are using.
6670   echo 'int i;' > conftest.$ac_ext
6671   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6672   (eval $ac_compile) 2>&5
6673   ac_status=$?
6674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6675   test $ac_status = 0; }; then
6676     case `/usr/bin/file conftest.o` in
6677       *32-bit*)
6678         case $host in
6679           x86_64-*kfreebsd*-gnu)
6680             LD="${LD-ld} -m elf_i386_fbsd"
6681             ;;
6682           x86_64-*linux*)
6683             LD="${LD-ld} -m elf_i386"
6684             ;;
6685           ppc64-*linux*|powerpc64-*linux*)
6686             LD="${LD-ld} -m elf32ppclinux"
6687             ;;
6688           s390x-*linux*)
6689             LD="${LD-ld} -m elf_s390"
6690             ;;
6691           sparc64-*linux*)
6692             LD="${LD-ld} -m elf32_sparc"
6693             ;;
6694         esac
6695         ;;
6696       *64-bit*)
6697         case $host in
6698           x86_64-*kfreebsd*-gnu)
6699             LD="${LD-ld} -m elf_x86_64_fbsd"
6700             ;;
6701           x86_64-*linux*)
6702             LD="${LD-ld} -m elf_x86_64"
6703             ;;
6704           ppc*-*linux*|powerpc*-*linux*)
6705             LD="${LD-ld} -m elf64ppc"
6706             ;;
6707           s390*-*linux*|s390*-*tpf*)
6708             LD="${LD-ld} -m elf64_s390"
6709             ;;
6710           sparc*-*linux*)
6711             LD="${LD-ld} -m elf64_sparc"
6712             ;;
6713         esac
6714         ;;
6715     esac
6716   fi
6717   rm -rf conftest*
6718   ;;
6719
6720 *-*-sco3.2v5*)
6721   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6722   SAVE_CFLAGS="$CFLAGS"
6723   CFLAGS="$CFLAGS -belf"
6724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6725 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6726 if ${lt_cv_cc_needs_belf+:} false; then :
6727   $as_echo_n "(cached) " >&6
6728 else
6729   ac_ext=c
6730 ac_cpp='$CPP $CPPFLAGS'
6731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6734
6735      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h.  */
6737
6738 int
6739 main ()
6740 {
6741
6742   ;
6743   return 0;
6744 }
6745 _ACEOF
6746 if ac_fn_c_try_link "$LINENO"; then :
6747   lt_cv_cc_needs_belf=yes
6748 else
6749   lt_cv_cc_needs_belf=no
6750 fi
6751 rm -f core conftest.err conftest.$ac_objext \
6752     conftest$ac_exeext conftest.$ac_ext
6753      ac_ext=c
6754 ac_cpp='$CPP $CPPFLAGS'
6755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6758
6759 fi
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6761 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6762   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6763     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6764     CFLAGS="$SAVE_CFLAGS"
6765   fi
6766   ;;
6767 sparc*-*solaris*)
6768   # Find out which ABI we are using.
6769   echo 'int i;' > conftest.$ac_ext
6770   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6771   (eval $ac_compile) 2>&5
6772   ac_status=$?
6773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6774   test $ac_status = 0; }; then
6775     case `/usr/bin/file conftest.o` in
6776     *64-bit*)
6777       case $lt_cv_prog_gnu_ld in
6778       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6779       *)
6780         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6781           LD="${LD-ld} -64"
6782         fi
6783         ;;
6784       esac
6785       ;;
6786     esac
6787   fi
6788   rm -rf conftest*
6789   ;;
6790 esac
6791
6792 need_locks="$enable_libtool_lock"
6793
6794 if test -n "$ac_tool_prefix"; then
6795   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6796 set dummy ${ac_tool_prefix}mt; ac_word=$2
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798 $as_echo_n "checking for $ac_word... " >&6; }
6799 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6800   $as_echo_n "(cached) " >&6
6801 else
6802   if test -n "$MANIFEST_TOOL"; then
6803   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6804 else
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 for as_dir in $PATH
6807 do
6808   IFS=$as_save_IFS
6809   test -z "$as_dir" && as_dir=.
6810     for ac_exec_ext in '' $ac_executable_extensions; do
6811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6812     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6814     break 2
6815   fi
6816 done
6817   done
6818 IFS=$as_save_IFS
6819
6820 fi
6821 fi
6822 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6823 if test -n "$MANIFEST_TOOL"; then
6824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6825 $as_echo "$MANIFEST_TOOL" >&6; }
6826 else
6827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828 $as_echo "no" >&6; }
6829 fi
6830
6831
6832 fi
6833 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6834   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6835   # Extract the first word of "mt", so it can be a program name with args.
6836 set dummy mt; ac_word=$2
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 $as_echo_n "checking for $ac_word... " >&6; }
6839 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6840   $as_echo_n "(cached) " >&6
6841 else
6842   if test -n "$ac_ct_MANIFEST_TOOL"; then
6843   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6844 else
6845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6846 for as_dir in $PATH
6847 do
6848   IFS=$as_save_IFS
6849   test -z "$as_dir" && as_dir=.
6850     for ac_exec_ext in '' $ac_executable_extensions; do
6851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6852     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6853     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6854     break 2
6855   fi
6856 done
6857   done
6858 IFS=$as_save_IFS
6859
6860 fi
6861 fi
6862 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6863 if test -n "$ac_ct_MANIFEST_TOOL"; then
6864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6865 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6866 else
6867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6868 $as_echo "no" >&6; }
6869 fi
6870
6871   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6872     MANIFEST_TOOL=":"
6873   else
6874     case $cross_compiling:$ac_tool_warned in
6875 yes:)
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6878 ac_tool_warned=yes ;;
6879 esac
6880     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6881   fi
6882 else
6883   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6884 fi
6885
6886 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6888 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6889 if ${lt_cv_path_mainfest_tool+:} false; then :
6890   $as_echo_n "(cached) " >&6
6891 else
6892   lt_cv_path_mainfest_tool=no
6893   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6894   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6895   cat conftest.err >&5
6896   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6897     lt_cv_path_mainfest_tool=yes
6898   fi
6899   rm -f conftest*
6900 fi
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6902 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6903 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6904   MANIFEST_TOOL=:
6905 fi
6906
6907
6908
6909
6910
6911
6912   case $host_os in
6913     rhapsody* | darwin*)
6914     if test -n "$ac_tool_prefix"; then
6915   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6916 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6920   $as_echo_n "(cached) " >&6
6921 else
6922   if test -n "$DSYMUTIL"; then
6923   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6924 else
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 for as_dir in $PATH
6927 do
6928   IFS=$as_save_IFS
6929   test -z "$as_dir" && as_dir=.
6930     for ac_exec_ext in '' $ac_executable_extensions; do
6931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6932     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934     break 2
6935   fi
6936 done
6937   done
6938 IFS=$as_save_IFS
6939
6940 fi
6941 fi
6942 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6943 if test -n "$DSYMUTIL"; then
6944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6945 $as_echo "$DSYMUTIL" >&6; }
6946 else
6947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6949 fi
6950
6951
6952 fi
6953 if test -z "$ac_cv_prog_DSYMUTIL"; then
6954   ac_ct_DSYMUTIL=$DSYMUTIL
6955   # Extract the first word of "dsymutil", so it can be a program name with args.
6956 set dummy dsymutil; ac_word=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6960   $as_echo_n "(cached) " >&6
6961 else
6962   if test -n "$ac_ct_DSYMUTIL"; then
6963   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6964 else
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966 for as_dir in $PATH
6967 do
6968   IFS=$as_save_IFS
6969   test -z "$as_dir" && as_dir=.
6970     for ac_exec_ext in '' $ac_executable_extensions; do
6971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6972     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6974     break 2
6975   fi
6976 done
6977   done
6978 IFS=$as_save_IFS
6979
6980 fi
6981 fi
6982 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6983 if test -n "$ac_ct_DSYMUTIL"; then
6984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6985 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6986 else
6987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6989 fi
6990
6991   if test "x$ac_ct_DSYMUTIL" = x; then
6992     DSYMUTIL=":"
6993   else
6994     case $cross_compiling:$ac_tool_warned in
6995 yes:)
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6998 ac_tool_warned=yes ;;
6999 esac
7000     DSYMUTIL=$ac_ct_DSYMUTIL
7001   fi
7002 else
7003   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7004 fi
7005
7006     if test -n "$ac_tool_prefix"; then
7007   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7008 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if ${ac_cv_prog_NMEDIT+:} false; then :
7012   $as_echo_n "(cached) " >&6
7013 else
7014   if test -n "$NMEDIT"; then
7015   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7016 else
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018 for as_dir in $PATH
7019 do
7020   IFS=$as_save_IFS
7021   test -z "$as_dir" && as_dir=.
7022     for ac_exec_ext in '' $ac_executable_extensions; do
7023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026     break 2
7027   fi
7028 done
7029   done
7030 IFS=$as_save_IFS
7031
7032 fi
7033 fi
7034 NMEDIT=$ac_cv_prog_NMEDIT
7035 if test -n "$NMEDIT"; then
7036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7037 $as_echo "$NMEDIT" >&6; }
7038 else
7039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7041 fi
7042
7043
7044 fi
7045 if test -z "$ac_cv_prog_NMEDIT"; then
7046   ac_ct_NMEDIT=$NMEDIT
7047   # Extract the first word of "nmedit", so it can be a program name with args.
7048 set dummy nmedit; ac_word=$2
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050 $as_echo_n "checking for $ac_word... " >&6; }
7051 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7052   $as_echo_n "(cached) " >&6
7053 else
7054   if test -n "$ac_ct_NMEDIT"; then
7055   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7056 else
7057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7058 for as_dir in $PATH
7059 do
7060   IFS=$as_save_IFS
7061   test -z "$as_dir" && as_dir=.
7062     for ac_exec_ext in '' $ac_executable_extensions; do
7063   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7064     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7065     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7066     break 2
7067   fi
7068 done
7069   done
7070 IFS=$as_save_IFS
7071
7072 fi
7073 fi
7074 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7075 if test -n "$ac_ct_NMEDIT"; then
7076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7077 $as_echo "$ac_ct_NMEDIT" >&6; }
7078 else
7079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 $as_echo "no" >&6; }
7081 fi
7082
7083   if test "x$ac_ct_NMEDIT" = x; then
7084     NMEDIT=":"
7085   else
7086     case $cross_compiling:$ac_tool_warned in
7087 yes:)
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7090 ac_tool_warned=yes ;;
7091 esac
7092     NMEDIT=$ac_ct_NMEDIT
7093   fi
7094 else
7095   NMEDIT="$ac_cv_prog_NMEDIT"
7096 fi
7097
7098     if test -n "$ac_tool_prefix"; then
7099   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7100 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if ${ac_cv_prog_LIPO+:} false; then :
7104   $as_echo_n "(cached) " >&6
7105 else
7106   if test -n "$LIPO"; then
7107   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7108 else
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 for as_dir in $PATH
7111 do
7112   IFS=$as_save_IFS
7113   test -z "$as_dir" && as_dir=.
7114     for ac_exec_ext in '' $ac_executable_extensions; do
7115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118     break 2
7119   fi
7120 done
7121   done
7122 IFS=$as_save_IFS
7123
7124 fi
7125 fi
7126 LIPO=$ac_cv_prog_LIPO
7127 if test -n "$LIPO"; then
7128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7129 $as_echo "$LIPO" >&6; }
7130 else
7131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7133 fi
7134
7135
7136 fi
7137 if test -z "$ac_cv_prog_LIPO"; then
7138   ac_ct_LIPO=$LIPO
7139   # Extract the first word of "lipo", so it can be a program name with args.
7140 set dummy lipo; ac_word=$2
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142 $as_echo_n "checking for $ac_word... " >&6; }
7143 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7144   $as_echo_n "(cached) " >&6
7145 else
7146   if test -n "$ac_ct_LIPO"; then
7147   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7148 else
7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7150 for as_dir in $PATH
7151 do
7152   IFS=$as_save_IFS
7153   test -z "$as_dir" && as_dir=.
7154     for ac_exec_ext in '' $ac_executable_extensions; do
7155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7156     ac_cv_prog_ac_ct_LIPO="lipo"
7157     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158     break 2
7159   fi
7160 done
7161   done
7162 IFS=$as_save_IFS
7163
7164 fi
7165 fi
7166 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7167 if test -n "$ac_ct_LIPO"; then
7168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7169 $as_echo "$ac_ct_LIPO" >&6; }
7170 else
7171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 $as_echo "no" >&6; }
7173 fi
7174
7175   if test "x$ac_ct_LIPO" = x; then
7176     LIPO=":"
7177   else
7178     case $cross_compiling:$ac_tool_warned in
7179 yes:)
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7182 ac_tool_warned=yes ;;
7183 esac
7184     LIPO=$ac_ct_LIPO
7185   fi
7186 else
7187   LIPO="$ac_cv_prog_LIPO"
7188 fi
7189
7190     if test -n "$ac_tool_prefix"; then
7191   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7192 set dummy ${ac_tool_prefix}otool; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 $as_echo_n "checking for $ac_word... " >&6; }
7195 if ${ac_cv_prog_OTOOL+:} false; then :
7196   $as_echo_n "(cached) " >&6
7197 else
7198   if test -n "$OTOOL"; then
7199   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7200 else
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 for as_dir in $PATH
7203 do
7204   IFS=$as_save_IFS
7205   test -z "$as_dir" && as_dir=.
7206     for ac_exec_ext in '' $ac_executable_extensions; do
7207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7208     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210     break 2
7211   fi
7212 done
7213   done
7214 IFS=$as_save_IFS
7215
7216 fi
7217 fi
7218 OTOOL=$ac_cv_prog_OTOOL
7219 if test -n "$OTOOL"; then
7220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7221 $as_echo "$OTOOL" >&6; }
7222 else
7223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7225 fi
7226
7227
7228 fi
7229 if test -z "$ac_cv_prog_OTOOL"; then
7230   ac_ct_OTOOL=$OTOOL
7231   # Extract the first word of "otool", so it can be a program name with args.
7232 set dummy otool; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7236   $as_echo_n "(cached) " >&6
7237 else
7238   if test -n "$ac_ct_OTOOL"; then
7239   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7243 do
7244   IFS=$as_save_IFS
7245   test -z "$as_dir" && as_dir=.
7246     for ac_exec_ext in '' $ac_executable_extensions; do
7247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248     ac_cv_prog_ac_ct_OTOOL="otool"
7249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250     break 2
7251   fi
7252 done
7253   done
7254 IFS=$as_save_IFS
7255
7256 fi
7257 fi
7258 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7259 if test -n "$ac_ct_OTOOL"; then
7260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7261 $as_echo "$ac_ct_OTOOL" >&6; }
7262 else
7263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7265 fi
7266
7267   if test "x$ac_ct_OTOOL" = x; then
7268     OTOOL=":"
7269   else
7270     case $cross_compiling:$ac_tool_warned in
7271 yes:)
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7274 ac_tool_warned=yes ;;
7275 esac
7276     OTOOL=$ac_ct_OTOOL
7277   fi
7278 else
7279   OTOOL="$ac_cv_prog_OTOOL"
7280 fi
7281
7282     if test -n "$ac_tool_prefix"; then
7283   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7284 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_prog_OTOOL64+:} false; then :
7288   $as_echo_n "(cached) " >&6
7289 else
7290   if test -n "$OTOOL64"; then
7291   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7292 else
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 for as_dir in $PATH
7295 do
7296   IFS=$as_save_IFS
7297   test -z "$as_dir" && as_dir=.
7298     for ac_exec_ext in '' $ac_executable_extensions; do
7299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302     break 2
7303   fi
7304 done
7305   done
7306 IFS=$as_save_IFS
7307
7308 fi
7309 fi
7310 OTOOL64=$ac_cv_prog_OTOOL64
7311 if test -n "$OTOOL64"; then
7312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7313 $as_echo "$OTOOL64" >&6; }
7314 else
7315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7317 fi
7318
7319
7320 fi
7321 if test -z "$ac_cv_prog_OTOOL64"; then
7322   ac_ct_OTOOL64=$OTOOL64
7323   # Extract the first word of "otool64", so it can be a program name with args.
7324 set dummy otool64; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7328   $as_echo_n "(cached) " >&6
7329 else
7330   if test -n "$ac_ct_OTOOL64"; then
7331   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7335 do
7336   IFS=$as_save_IFS
7337   test -z "$as_dir" && as_dir=.
7338     for ac_exec_ext in '' $ac_executable_extensions; do
7339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340     ac_cv_prog_ac_ct_OTOOL64="otool64"
7341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342     break 2
7343   fi
7344 done
7345   done
7346 IFS=$as_save_IFS
7347
7348 fi
7349 fi
7350 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7351 if test -n "$ac_ct_OTOOL64"; then
7352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7353 $as_echo "$ac_ct_OTOOL64" >&6; }
7354 else
7355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7357 fi
7358
7359   if test "x$ac_ct_OTOOL64" = x; then
7360     OTOOL64=":"
7361   else
7362     case $cross_compiling:$ac_tool_warned in
7363 yes:)
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7366 ac_tool_warned=yes ;;
7367 esac
7368     OTOOL64=$ac_ct_OTOOL64
7369   fi
7370 else
7371   OTOOL64="$ac_cv_prog_OTOOL64"
7372 fi
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7401 $as_echo_n "checking for -single_module linker flag... " >&6; }
7402 if ${lt_cv_apple_cc_single_mod+:} false; then :
7403   $as_echo_n "(cached) " >&6
7404 else
7405   lt_cv_apple_cc_single_mod=no
7406       if test -z "${LT_MULTI_MODULE}"; then
7407         # By default we will add the -single_module flag. You can override
7408         # by either setting the environment variable LT_MULTI_MODULE
7409         # non-empty at configure time, or by adding -multi_module to the
7410         # link flags.
7411         rm -rf libconftest.dylib*
7412         echo "int foo(void){return 1;}" > conftest.c
7413         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7414 -dynamiclib -Wl,-single_module conftest.c" >&5
7415         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7416           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7417         _lt_result=$?
7418         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7419           lt_cv_apple_cc_single_mod=yes
7420         else
7421           cat conftest.err >&5
7422         fi
7423         rm -rf libconftest.dylib*
7424         rm -f conftest.*
7425       fi
7426 fi
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7428 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7429     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7430 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7431 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7432   $as_echo_n "(cached) " >&6
7433 else
7434   lt_cv_ld_exported_symbols_list=no
7435       save_LDFLAGS=$LDFLAGS
7436       echo "_main" > conftest.sym
7437       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7439 /* end confdefs.h.  */
7440
7441 int
7442 main ()
7443 {
7444
7445   ;
7446   return 0;
7447 }
7448 _ACEOF
7449 if ac_fn_c_try_link "$LINENO"; then :
7450   lt_cv_ld_exported_symbols_list=yes
7451 else
7452   lt_cv_ld_exported_symbols_list=no
7453 fi
7454 rm -f core conftest.err conftest.$ac_objext \
7455     conftest$ac_exeext conftest.$ac_ext
7456         LDFLAGS="$save_LDFLAGS"
7457
7458 fi
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7460 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7461     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7462 $as_echo_n "checking for -force_load linker flag... " >&6; }
7463 if ${lt_cv_ld_force_load+:} false; then :
7464   $as_echo_n "(cached) " >&6
7465 else
7466   lt_cv_ld_force_load=no
7467       cat > conftest.c << _LT_EOF
7468 int forced_loaded() { return 2;}
7469 _LT_EOF
7470       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7471       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7472       echo "$AR cru libconftest.a conftest.o" >&5
7473       $AR cru libconftest.a conftest.o 2>&5
7474       echo "$RANLIB libconftest.a" >&5
7475       $RANLIB libconftest.a 2>&5
7476       cat > conftest.c << _LT_EOF
7477 int main() { return 0;}
7478 _LT_EOF
7479       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7480       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7481       _lt_result=$?
7482       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7483         lt_cv_ld_force_load=yes
7484       else
7485         cat conftest.err >&5
7486       fi
7487         rm -f conftest.err libconftest.a conftest conftest.c
7488         rm -rf conftest.dSYM
7489
7490 fi
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7492 $as_echo "$lt_cv_ld_force_load" >&6; }
7493     case $host_os in
7494     rhapsody* | darwin1.[012])
7495       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7496     darwin1.*)
7497       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7498     darwin*) # darwin 5.x on
7499       # if running on 10.5 or later, the deployment target defaults
7500       # to the OS version, if on x86, and 10.4, the deployment
7501       # target defaults to 10.4. Don't you love it?
7502       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7503         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7504           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7505         10.[012]*)
7506           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7507         10.*)
7508           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7509       esac
7510     ;;
7511   esac
7512     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7513       _lt_dar_single_mod='$single_module'
7514     fi
7515     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7516       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7517     else
7518       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7519     fi
7520     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7521       _lt_dsymutil='~$DSYMUTIL $lib || :'
7522     else
7523       _lt_dsymutil=
7524     fi
7525     ;;
7526   esac
7527
7528 ac_ext=c
7529 ac_cpp='$CPP $CPPFLAGS'
7530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7534 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7535 # On Suns, sometimes $CPP names a directory.
7536 if test -n "$CPP" && test -d "$CPP"; then
7537   CPP=
7538 fi
7539 if test -z "$CPP"; then
7540   if ${ac_cv_prog_CPP+:} false; then :
7541   $as_echo_n "(cached) " >&6
7542 else
7543       # Double quotes because CPP needs to be expanded
7544     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7545     do
7546       ac_preproc_ok=false
7547 for ac_c_preproc_warn_flag in '' yes
7548 do
7549   # Use a header file that comes with gcc, so configuring glibc
7550   # with a fresh cross-compiler works.
7551   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7552   # <limits.h> exists even on freestanding compilers.
7553   # On the NeXT, cc -E runs the code through the compiler's parser,
7554   # not just through cpp. "Syntax error" is here to catch this case.
7555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7556 /* end confdefs.h.  */
7557 #ifdef __STDC__
7558 # include <limits.h>
7559 #else
7560 # include <assert.h>
7561 #endif
7562                      Syntax error
7563 _ACEOF
7564 if ac_fn_c_try_cpp "$LINENO"; then :
7565
7566 else
7567   # Broken: fails on valid input.
7568 continue
7569 fi
7570 rm -f conftest.err conftest.i conftest.$ac_ext
7571
7572   # OK, works on sane cases.  Now check whether nonexistent headers
7573   # can be detected and how.
7574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7575 /* end confdefs.h.  */
7576 #include <ac_nonexistent.h>
7577 _ACEOF
7578 if ac_fn_c_try_cpp "$LINENO"; then :
7579   # Broken: success on invalid input.
7580 continue
7581 else
7582   # Passes both tests.
7583 ac_preproc_ok=:
7584 break
7585 fi
7586 rm -f conftest.err conftest.i conftest.$ac_ext
7587
7588 done
7589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7590 rm -f conftest.i conftest.err conftest.$ac_ext
7591 if $ac_preproc_ok; then :
7592   break
7593 fi
7594
7595     done
7596     ac_cv_prog_CPP=$CPP
7597
7598 fi
7599   CPP=$ac_cv_prog_CPP
7600 else
7601   ac_cv_prog_CPP=$CPP
7602 fi
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7604 $as_echo "$CPP" >&6; }
7605 ac_preproc_ok=false
7606 for ac_c_preproc_warn_flag in '' yes
7607 do
7608   # Use a header file that comes with gcc, so configuring glibc
7609   # with a fresh cross-compiler works.
7610   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7611   # <limits.h> exists even on freestanding compilers.
7612   # On the NeXT, cc -E runs the code through the compiler's parser,
7613   # not just through cpp. "Syntax error" is here to catch this case.
7614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h.  */
7616 #ifdef __STDC__
7617 # include <limits.h>
7618 #else
7619 # include <assert.h>
7620 #endif
7621                      Syntax error
7622 _ACEOF
7623 if ac_fn_c_try_cpp "$LINENO"; then :
7624
7625 else
7626   # Broken: fails on valid input.
7627 continue
7628 fi
7629 rm -f conftest.err conftest.i conftest.$ac_ext
7630
7631   # OK, works on sane cases.  Now check whether nonexistent headers
7632   # can be detected and how.
7633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7634 /* end confdefs.h.  */
7635 #include <ac_nonexistent.h>
7636 _ACEOF
7637 if ac_fn_c_try_cpp "$LINENO"; then :
7638   # Broken: success on invalid input.
7639 continue
7640 else
7641   # Passes both tests.
7642 ac_preproc_ok=:
7643 break
7644 fi
7645 rm -f conftest.err conftest.i conftest.$ac_ext
7646
7647 done
7648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7649 rm -f conftest.i conftest.err conftest.$ac_ext
7650 if $ac_preproc_ok; then :
7651
7652 else
7653   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7655 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7656 See \`config.log' for more details" "$LINENO" 5; }
7657 fi
7658
7659 ac_ext=c
7660 ac_cpp='$CPP $CPPFLAGS'
7661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7664
7665
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7667 $as_echo_n "checking for ANSI C header files... " >&6; }
7668 if ${ac_cv_header_stdc+:} false; then :
7669   $as_echo_n "(cached) " >&6
7670 else
7671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h.  */
7673 #include <stdlib.h>
7674 #include <stdarg.h>
7675 #include <string.h>
7676 #include <float.h>
7677
7678 int
7679 main ()
7680 {
7681
7682   ;
7683   return 0;
7684 }
7685 _ACEOF
7686 if ac_fn_c_try_compile "$LINENO"; then :
7687   ac_cv_header_stdc=yes
7688 else
7689   ac_cv_header_stdc=no
7690 fi
7691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7692
7693 if test $ac_cv_header_stdc = yes; then
7694   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h.  */
7697 #include <string.h>
7698
7699 _ACEOF
7700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7701   $EGREP "memchr" >/dev/null 2>&1; then :
7702
7703 else
7704   ac_cv_header_stdc=no
7705 fi
7706 rm -f conftest*
7707
7708 fi
7709
7710 if test $ac_cv_header_stdc = yes; then
7711   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7713 /* end confdefs.h.  */
7714 #include <stdlib.h>
7715
7716 _ACEOF
7717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7718   $EGREP "free" >/dev/null 2>&1; then :
7719
7720 else
7721   ac_cv_header_stdc=no
7722 fi
7723 rm -f conftest*
7724
7725 fi
7726
7727 if test $ac_cv_header_stdc = yes; then
7728   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7729   if test "$cross_compiling" = yes; then :
7730   :
7731 else
7732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7733 /* end confdefs.h.  */
7734 #include <ctype.h>
7735 #include <stdlib.h>
7736 #if ((' ' & 0x0FF) == 0x020)
7737 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7738 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7739 #else
7740 # define ISLOWER(c) \
7741                    (('a' <= (c) && (c) <= 'i') \
7742                      || ('j' <= (c) && (c) <= 'r') \
7743                      || ('s' <= (c) && (c) <= 'z'))
7744 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7745 #endif
7746
7747 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7748 int
7749 main ()
7750 {
7751   int i;
7752   for (i = 0; i < 256; i++)
7753     if (XOR (islower (i), ISLOWER (i))
7754         || toupper (i) != TOUPPER (i))
7755       return 2;
7756   return 0;
7757 }
7758 _ACEOF
7759 if ac_fn_c_try_run "$LINENO"; then :
7760
7761 else
7762   ac_cv_header_stdc=no
7763 fi
7764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7765   conftest.$ac_objext conftest.beam conftest.$ac_ext
7766 fi
7767
7768 fi
7769 fi
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7771 $as_echo "$ac_cv_header_stdc" >&6; }
7772 if test $ac_cv_header_stdc = yes; then
7773
7774 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7775
7776 fi
7777
7778 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7779 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7780                   inttypes.h stdint.h unistd.h
7781 do :
7782   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7783 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7784 "
7785 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7786   cat >>confdefs.h <<_ACEOF
7787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7788 _ACEOF
7789
7790 fi
7791
7792 done
7793
7794
7795 for ac_header in dlfcn.h
7796 do :
7797   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7798 "
7799 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7800   cat >>confdefs.h <<_ACEOF
7801 #define HAVE_DLFCN_H 1
7802 _ACEOF
7803
7804 fi
7805
7806 done
7807
7808
7809
7810
7811
7812 # Set options
7813
7814
7815
7816         enable_dlopen=no
7817
7818
7819   enable_win32_dll=no
7820
7821
7822             # Check whether --enable-shared was given.
7823 if test "${enable_shared+set}" = set; then :
7824   enableval=$enable_shared; p=${PACKAGE-default}
7825     case $enableval in
7826     yes) enable_shared=yes ;;
7827     no) enable_shared=no ;;
7828     *)
7829       enable_shared=no
7830       # Look at the argument we got.  We use all the common list separators.
7831       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7832       for pkg in $enableval; do
7833         IFS="$lt_save_ifs"
7834         if test "X$pkg" = "X$p"; then
7835           enable_shared=yes
7836         fi
7837       done
7838       IFS="$lt_save_ifs"
7839       ;;
7840     esac
7841 else
7842   enable_shared=yes
7843 fi
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855 # Check whether --with-pic was given.
7856 if test "${with_pic+set}" = set; then :
7857   withval=$with_pic; pic_mode="$withval"
7858 else
7859   pic_mode=default
7860 fi
7861
7862
7863 test -z "$pic_mode" && pic_mode=default
7864
7865
7866
7867
7868
7869
7870
7871   # Check whether --enable-fast-install was given.
7872 if test "${enable_fast_install+set}" = set; then :
7873   enableval=$enable_fast_install; p=${PACKAGE-default}
7874     case $enableval in
7875     yes) enable_fast_install=yes ;;
7876     no) enable_fast_install=no ;;
7877     *)
7878       enable_fast_install=no
7879       # Look at the argument we got.  We use all the common list separators.
7880       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7881       for pkg in $enableval; do
7882         IFS="$lt_save_ifs"
7883         if test "X$pkg" = "X$p"; then
7884           enable_fast_install=yes
7885         fi
7886       done
7887       IFS="$lt_save_ifs"
7888       ;;
7889     esac
7890 else
7891   enable_fast_install=yes
7892 fi
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904 # This can be used to rebuild libtool when needed
7905 LIBTOOL_DEPS="$ltmain"
7906
7907 # Always use our own libtool.
7908 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935 test -z "$LN_S" && LN_S="ln -s"
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950 if test -n "${ZSH_VERSION+set}" ; then
7951    setopt NO_GLOB_SUBST
7952 fi
7953
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7955 $as_echo_n "checking for objdir... " >&6; }
7956 if ${lt_cv_objdir+:} false; then :
7957   $as_echo_n "(cached) " >&6
7958 else
7959   rm -f .libs 2>/dev/null
7960 mkdir .libs 2>/dev/null
7961 if test -d .libs; then
7962   lt_cv_objdir=.libs
7963 else
7964   # MS-DOS does not allow filenames that begin with a dot.
7965   lt_cv_objdir=_libs
7966 fi
7967 rmdir .libs 2>/dev/null
7968 fi
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7970 $as_echo "$lt_cv_objdir" >&6; }
7971 objdir=$lt_cv_objdir
7972
7973
7974
7975
7976
7977 cat >>confdefs.h <<_ACEOF
7978 #define LT_OBJDIR "$lt_cv_objdir/"
7979 _ACEOF
7980
7981
7982
7983
7984 case $host_os in
7985 aix3*)
7986   # AIX sometimes has problems with the GCC collect2 program.  For some
7987   # reason, if we set the COLLECT_NAMES environment variable, the problems
7988   # vanish in a puff of smoke.
7989   if test "X${COLLECT_NAMES+set}" != Xset; then
7990     COLLECT_NAMES=
7991     export COLLECT_NAMES
7992   fi
7993   ;;
7994 esac
7995
7996 # Global variables:
7997 ofile=libtool
7998 can_build_shared=yes
7999
8000 # All known linkers require a `.a' archive for static linking (except MSVC,
8001 # which needs '.lib').
8002 libext=a
8003
8004 with_gnu_ld="$lt_cv_prog_gnu_ld"
8005
8006 old_CC="$CC"
8007 old_CFLAGS="$CFLAGS"
8008
8009 # Set sane defaults for various variables
8010 test -z "$CC" && CC=cc
8011 test -z "$LTCC" && LTCC=$CC
8012 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8013 test -z "$LD" && LD=ld
8014 test -z "$ac_objext" && ac_objext=o
8015
8016 for cc_temp in $compiler""; do
8017   case $cc_temp in
8018     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8019     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8020     \-*) ;;
8021     *) break;;
8022   esac
8023 done
8024 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8025
8026
8027 # Only perform the check for file, if the check method requires it
8028 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8029 case $deplibs_check_method in
8030 file_magic*)
8031   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8033 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8034 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8035   $as_echo_n "(cached) " >&6
8036 else
8037   case $MAGIC_CMD in
8038 [\\/*] |  ?:[\\/]*)
8039   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8040   ;;
8041 *)
8042   lt_save_MAGIC_CMD="$MAGIC_CMD"
8043   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8044   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8045   for ac_dir in $ac_dummy; do
8046     IFS="$lt_save_ifs"
8047     test -z "$ac_dir" && ac_dir=.
8048     if test -f $ac_dir/${ac_tool_prefix}file; then
8049       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8050       if test -n "$file_magic_test_file"; then
8051         case $deplibs_check_method in
8052         "file_magic "*)
8053           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8054           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8055           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8056             $EGREP "$file_magic_regex" > /dev/null; then
8057             :
8058           else
8059             cat <<_LT_EOF 1>&2
8060
8061 *** Warning: the command libtool uses to detect shared libraries,
8062 *** $file_magic_cmd, produces output that libtool cannot recognize.
8063 *** The result is that libtool may fail to recognize shared libraries
8064 *** as such.  This will affect the creation of libtool libraries that
8065 *** depend on shared libraries, but programs linked with such libtool
8066 *** libraries will work regardless of this problem.  Nevertheless, you
8067 *** may want to report the problem to your system manager and/or to
8068 *** bug-libtool@gnu.org
8069
8070 _LT_EOF
8071           fi ;;
8072         esac
8073       fi
8074       break
8075     fi
8076   done
8077   IFS="$lt_save_ifs"
8078   MAGIC_CMD="$lt_save_MAGIC_CMD"
8079   ;;
8080 esac
8081 fi
8082
8083 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8084 if test -n "$MAGIC_CMD"; then
8085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8086 $as_echo "$MAGIC_CMD" >&6; }
8087 else
8088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 $as_echo "no" >&6; }
8090 fi
8091
8092
8093
8094
8095
8096 if test -z "$lt_cv_path_MAGIC_CMD"; then
8097   if test -n "$ac_tool_prefix"; then
8098     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8099 $as_echo_n "checking for file... " >&6; }
8100 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8101   $as_echo_n "(cached) " >&6
8102 else
8103   case $MAGIC_CMD in
8104 [\\/*] |  ?:[\\/]*)
8105   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8106   ;;
8107 *)
8108   lt_save_MAGIC_CMD="$MAGIC_CMD"
8109   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8110   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8111   for ac_dir in $ac_dummy; do
8112     IFS="$lt_save_ifs"
8113     test -z "$ac_dir" && ac_dir=.
8114     if test -f $ac_dir/file; then
8115       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8116       if test -n "$file_magic_test_file"; then
8117         case $deplibs_check_method in
8118         "file_magic "*)
8119           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8120           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8121           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8122             $EGREP "$file_magic_regex" > /dev/null; then
8123             :
8124           else
8125             cat <<_LT_EOF 1>&2
8126
8127 *** Warning: the command libtool uses to detect shared libraries,
8128 *** $file_magic_cmd, produces output that libtool cannot recognize.
8129 *** The result is that libtool may fail to recognize shared libraries
8130 *** as such.  This will affect the creation of libtool libraries that
8131 *** depend on shared libraries, but programs linked with such libtool
8132 *** libraries will work regardless of this problem.  Nevertheless, you
8133 *** may want to report the problem to your system manager and/or to
8134 *** bug-libtool@gnu.org
8135
8136 _LT_EOF
8137           fi ;;
8138         esac
8139       fi
8140       break
8141     fi
8142   done
8143   IFS="$lt_save_ifs"
8144   MAGIC_CMD="$lt_save_MAGIC_CMD"
8145   ;;
8146 esac
8147 fi
8148
8149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8150 if test -n "$MAGIC_CMD"; then
8151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8152 $as_echo "$MAGIC_CMD" >&6; }
8153 else
8154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155 $as_echo "no" >&6; }
8156 fi
8157
8158
8159   else
8160     MAGIC_CMD=:
8161   fi
8162 fi
8163
8164   fi
8165   ;;
8166 esac
8167
8168 # Use C for the default configuration in the libtool script
8169
8170 lt_save_CC="$CC"
8171 ac_ext=c
8172 ac_cpp='$CPP $CPPFLAGS'
8173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8176
8177
8178 # Source file extension for C test sources.
8179 ac_ext=c
8180
8181 # Object file extension for compiled C test sources.
8182 objext=o
8183 objext=$objext
8184
8185 # Code to be used in simple compile tests
8186 lt_simple_compile_test_code="int some_variable = 0;"
8187
8188 # Code to be used in simple link tests
8189 lt_simple_link_test_code='int main(){return(0);}'
8190
8191
8192
8193
8194
8195
8196
8197 # If no C compiler was specified, use CC.
8198 LTCC=${LTCC-"$CC"}
8199
8200 # If no C compiler flags were specified, use CFLAGS.
8201 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8202
8203 # Allow CC to be a program name with arguments.
8204 compiler=$CC
8205
8206 # Save the default compiler, since it gets overwritten when the other
8207 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8208 compiler_DEFAULT=$CC
8209
8210 # save warnings/boilerplate of simple test code
8211 ac_outfile=conftest.$ac_objext
8212 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8213 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8214 _lt_compiler_boilerplate=`cat conftest.err`
8215 $RM conftest*
8216
8217 ac_outfile=conftest.$ac_objext
8218 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8219 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8220 _lt_linker_boilerplate=`cat conftest.err`
8221 $RM -r conftest*
8222
8223
8224 ## CAVEAT EMPTOR:
8225 ## There is no encapsulation within the following macros, do not change
8226 ## the running order or otherwise move them around unless you know exactly
8227 ## what you are doing...
8228 if test -n "$compiler"; then
8229
8230 lt_prog_compiler_no_builtin_flag=
8231
8232 if test "$GCC" = yes; then
8233   case $cc_basename in
8234   nvcc*)
8235     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8236   *)
8237     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8238   esac
8239
8240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8241 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8242 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8243   $as_echo_n "(cached) " >&6
8244 else
8245   lt_cv_prog_compiler_rtti_exceptions=no
8246    ac_outfile=conftest.$ac_objext
8247    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8248    lt_compiler_flag="-fno-rtti -fno-exceptions"
8249    # Insert the option either (1) after the last *FLAGS variable, or
8250    # (2) before a word containing "conftest.", or (3) at the end.
8251    # Note that $ac_compile itself does not contain backslashes and begins
8252    # with a dollar sign (not a hyphen), so the echo should work correctly.
8253    # The option is referenced via a variable to avoid confusing sed.
8254    lt_compile=`echo "$ac_compile" | $SED \
8255    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8256    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8257    -e 's:$: $lt_compiler_flag:'`
8258    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8259    (eval "$lt_compile" 2>conftest.err)
8260    ac_status=$?
8261    cat conftest.err >&5
8262    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263    if (exit $ac_status) && test -s "$ac_outfile"; then
8264      # The compiler can only warn and ignore the option if not recognized
8265      # So say no if there are warnings other than the usual output.
8266      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8267      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8268      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8269        lt_cv_prog_compiler_rtti_exceptions=yes
8270      fi
8271    fi
8272    $RM conftest*
8273
8274 fi
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8276 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8277
8278 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8279     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8280 else
8281     :
8282 fi
8283
8284 fi
8285
8286
8287
8288
8289
8290
8291   lt_prog_compiler_wl=
8292 lt_prog_compiler_pic=
8293 lt_prog_compiler_static=
8294
8295
8296   if test "$GCC" = yes; then
8297     lt_prog_compiler_wl='-Wl,'
8298     lt_prog_compiler_static='-static'
8299
8300     case $host_os in
8301       aix*)
8302       # All AIX code is PIC.
8303       if test "$host_cpu" = ia64; then
8304         # AIX 5 now supports IA64 processor
8305         lt_prog_compiler_static='-Bstatic'
8306       fi
8307       ;;
8308
8309     amigaos*)
8310       case $host_cpu in
8311       powerpc)
8312             # see comment about AmigaOS4 .so support
8313             lt_prog_compiler_pic='-fPIC'
8314         ;;
8315       m68k)
8316             # FIXME: we need at least 68020 code to build shared libraries, but
8317             # adding the `-m68020' flag to GCC prevents building anything better,
8318             # like `-m68040'.
8319             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8320         ;;
8321       esac
8322       ;;
8323
8324     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8325       # PIC is the default for these OSes.
8326       ;;
8327
8328     mingw* | cygwin* | pw32* | os2* | cegcc*)
8329       # This hack is so that the source file can tell whether it is being
8330       # built for inclusion in a dll (and should export symbols for example).
8331       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8332       # (--disable-auto-import) libraries
8333       lt_prog_compiler_pic='-DDLL_EXPORT'
8334       ;;
8335
8336     darwin* | rhapsody*)
8337       # PIC is the default on this platform
8338       # Common symbols not allowed in MH_DYLIB files
8339       lt_prog_compiler_pic='-fno-common'
8340       ;;
8341
8342     haiku*)
8343       # PIC is the default for Haiku.
8344       # The "-static" flag exists, but is broken.
8345       lt_prog_compiler_static=
8346       ;;
8347
8348     hpux*)
8349       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8350       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8351       # sets the default TLS model and affects inlining.
8352       case $host_cpu in
8353       hppa*64*)
8354         # +Z the default
8355         ;;
8356       *)
8357         lt_prog_compiler_pic='-fPIC'
8358         ;;
8359       esac
8360       ;;
8361
8362     interix[3-9]*)
8363       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8364       # Instead, we relocate shared libraries at runtime.
8365       ;;
8366
8367     msdosdjgpp*)
8368       # Just because we use GCC doesn't mean we suddenly get shared libraries
8369       # on systems that don't support them.
8370       lt_prog_compiler_can_build_shared=no
8371       enable_shared=no
8372       ;;
8373
8374     *nto* | *qnx*)
8375       # QNX uses GNU C++, but need to define -shared option too, otherwise
8376       # it will coredump.
8377       lt_prog_compiler_pic='-fPIC -shared'
8378       ;;
8379
8380     sysv4*MP*)
8381       if test -d /usr/nec; then
8382         lt_prog_compiler_pic=-Kconform_pic
8383       fi
8384       ;;
8385
8386     *)
8387       lt_prog_compiler_pic='-fPIC'
8388       ;;
8389     esac
8390
8391     case $cc_basename in
8392     nvcc*) # Cuda Compiler Driver 2.2
8393       lt_prog_compiler_wl='-Xlinker '
8394       lt_prog_compiler_pic='-Xcompiler -fPIC'
8395       ;;
8396     esac
8397   else
8398     # PORTME Check for flag to pass linker flags through the system compiler.
8399     case $host_os in
8400     aix*)
8401       lt_prog_compiler_wl='-Wl,'
8402       if test "$host_cpu" = ia64; then
8403         # AIX 5 now supports IA64 processor
8404         lt_prog_compiler_static='-Bstatic'
8405       else
8406         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8407       fi
8408       ;;
8409
8410     mingw* | cygwin* | pw32* | os2* | cegcc*)
8411       # This hack is so that the source file can tell whether it is being
8412       # built for inclusion in a dll (and should export symbols for example).
8413       lt_prog_compiler_pic='-DDLL_EXPORT'
8414       ;;
8415
8416     hpux9* | hpux10* | hpux11*)
8417       lt_prog_compiler_wl='-Wl,'
8418       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8419       # not for PA HP-UX.
8420       case $host_cpu in
8421       hppa*64*|ia64*)
8422         # +Z the default
8423         ;;
8424       *)
8425         lt_prog_compiler_pic='+Z'
8426         ;;
8427       esac
8428       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8429       lt_prog_compiler_static='${wl}-a ${wl}archive'
8430       ;;
8431
8432     irix5* | irix6* | nonstopux*)
8433       lt_prog_compiler_wl='-Wl,'
8434       # PIC (with -KPIC) is the default.
8435       lt_prog_compiler_static='-non_shared'
8436       ;;
8437
8438     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8439       case $cc_basename in
8440       # old Intel for x86_64 which still supported -KPIC.
8441       ecc*)
8442         lt_prog_compiler_wl='-Wl,'
8443         lt_prog_compiler_pic='-KPIC'
8444         lt_prog_compiler_static='-static'
8445         ;;
8446       # icc used to be incompatible with GCC.
8447       # ICC 10 doesn't accept -KPIC any more.
8448       icc* | ifort*)
8449         lt_prog_compiler_wl='-Wl,'
8450         lt_prog_compiler_pic='-fPIC'
8451         lt_prog_compiler_static='-static'
8452         ;;
8453       # Lahey Fortran 8.1.
8454       lf95*)
8455         lt_prog_compiler_wl='-Wl,'
8456         lt_prog_compiler_pic='--shared'
8457         lt_prog_compiler_static='--static'
8458         ;;
8459       nagfor*)
8460         # NAG Fortran compiler
8461         lt_prog_compiler_wl='-Wl,-Wl,,'
8462         lt_prog_compiler_pic='-PIC'
8463         lt_prog_compiler_static='-Bstatic'
8464         ;;
8465       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8466         # Portland Group compilers (*not* the Pentium gcc compiler,
8467         # which looks to be a dead project)
8468         lt_prog_compiler_wl='-Wl,'
8469         lt_prog_compiler_pic='-fpic'
8470         lt_prog_compiler_static='-Bstatic'
8471         ;;
8472       ccc*)
8473         lt_prog_compiler_wl='-Wl,'
8474         # All Alpha code is PIC.
8475         lt_prog_compiler_static='-non_shared'
8476         ;;
8477       xl* | bgxl* | bgf* | mpixl*)
8478         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8479         lt_prog_compiler_wl='-Wl,'
8480         lt_prog_compiler_pic='-qpic'
8481         lt_prog_compiler_static='-qstaticlink'
8482         ;;
8483       *)
8484         case `$CC -V 2>&1 | sed 5q` in
8485         *Sun\ F* | *Sun*Fortran*)
8486           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8487           lt_prog_compiler_pic='-KPIC'
8488           lt_prog_compiler_static='-Bstatic'
8489           lt_prog_compiler_wl=''
8490           ;;
8491         *Sun\ C*)
8492           # Sun C 5.9
8493           lt_prog_compiler_pic='-KPIC'
8494           lt_prog_compiler_static='-Bstatic'
8495           lt_prog_compiler_wl='-Wl,'
8496           ;;
8497         esac
8498         ;;
8499       esac
8500       ;;
8501
8502     newsos6)
8503       lt_prog_compiler_pic='-KPIC'
8504       lt_prog_compiler_static='-Bstatic'
8505       ;;
8506
8507     *nto* | *qnx*)
8508       # QNX uses GNU C++, but need to define -shared option too, otherwise
8509       # it will coredump.
8510       lt_prog_compiler_pic='-fPIC -shared'
8511       ;;
8512
8513     osf3* | osf4* | osf5*)
8514       lt_prog_compiler_wl='-Wl,'
8515       # All OSF/1 code is PIC.
8516       lt_prog_compiler_static='-non_shared'
8517       ;;
8518
8519     rdos*)
8520       lt_prog_compiler_static='-non_shared'
8521       ;;
8522
8523     solaris*)
8524       lt_prog_compiler_pic='-KPIC'
8525       lt_prog_compiler_static='-Bstatic'
8526       case $cc_basename in
8527       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8528         lt_prog_compiler_wl='-Qoption ld ';;
8529       *)
8530         lt_prog_compiler_wl='-Wl,';;
8531       esac
8532       ;;
8533
8534     sunos4*)
8535       lt_prog_compiler_wl='-Qoption ld '
8536       lt_prog_compiler_pic='-PIC'
8537       lt_prog_compiler_static='-Bstatic'
8538       ;;
8539
8540     sysv4 | sysv4.2uw2* | sysv4.3*)
8541       lt_prog_compiler_wl='-Wl,'
8542       lt_prog_compiler_pic='-KPIC'
8543       lt_prog_compiler_static='-Bstatic'
8544       ;;
8545
8546     sysv4*MP*)
8547       if test -d /usr/nec ;then
8548         lt_prog_compiler_pic='-Kconform_pic'
8549         lt_prog_compiler_static='-Bstatic'
8550       fi
8551       ;;
8552
8553     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8554       lt_prog_compiler_wl='-Wl,'
8555       lt_prog_compiler_pic='-KPIC'
8556       lt_prog_compiler_static='-Bstatic'
8557       ;;
8558
8559     unicos*)
8560       lt_prog_compiler_wl='-Wl,'
8561       lt_prog_compiler_can_build_shared=no
8562       ;;
8563
8564     uts4*)
8565       lt_prog_compiler_pic='-pic'
8566       lt_prog_compiler_static='-Bstatic'
8567       ;;
8568
8569     *)
8570       lt_prog_compiler_can_build_shared=no
8571       ;;
8572     esac
8573   fi
8574
8575 case $host_os in
8576   # For platforms which do not support PIC, -DPIC is meaningless:
8577   *djgpp*)
8578     lt_prog_compiler_pic=
8579     ;;
8580   *)
8581     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8582     ;;
8583 esac
8584
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8586 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8587 if ${lt_cv_prog_compiler_pic+:} false; then :
8588   $as_echo_n "(cached) " >&6
8589 else
8590   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8591 fi
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8593 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8594 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8595
8596 #
8597 # Check to make sure the PIC flag actually works.
8598 #
8599 if test -n "$lt_prog_compiler_pic"; then
8600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8601 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8602 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8603   $as_echo_n "(cached) " >&6
8604 else
8605   lt_cv_prog_compiler_pic_works=no
8606    ac_outfile=conftest.$ac_objext
8607    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8608    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8609    # Insert the option either (1) after the last *FLAGS variable, or
8610    # (2) before a word containing "conftest.", or (3) at the end.
8611    # Note that $ac_compile itself does not contain backslashes and begins
8612    # with a dollar sign (not a hyphen), so the echo should work correctly.
8613    # The option is referenced via a variable to avoid confusing sed.
8614    lt_compile=`echo "$ac_compile" | $SED \
8615    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8616    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8617    -e 's:$: $lt_compiler_flag:'`
8618    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8619    (eval "$lt_compile" 2>conftest.err)
8620    ac_status=$?
8621    cat conftest.err >&5
8622    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623    if (exit $ac_status) && test -s "$ac_outfile"; then
8624      # The compiler can only warn and ignore the option if not recognized
8625      # So say no if there are warnings other than the usual output.
8626      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8627      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8628      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8629        lt_cv_prog_compiler_pic_works=yes
8630      fi
8631    fi
8632    $RM conftest*
8633
8634 fi
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8636 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8637
8638 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8639     case $lt_prog_compiler_pic in
8640      "" | " "*) ;;
8641      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8642      esac
8643 else
8644     lt_prog_compiler_pic=
8645      lt_prog_compiler_can_build_shared=no
8646 fi
8647
8648 fi
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660 #
8661 # Check to make sure the static flag actually works.
8662 #
8663 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8665 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8666 if ${lt_cv_prog_compiler_static_works+:} false; then :
8667   $as_echo_n "(cached) " >&6
8668 else
8669   lt_cv_prog_compiler_static_works=no
8670    save_LDFLAGS="$LDFLAGS"
8671    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8672    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8673    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8674      # The linker can only warn and ignore the option if not recognized
8675      # So say no if there are warnings
8676      if test -s conftest.err; then
8677        # Append any errors to the config.log.
8678        cat conftest.err 1>&5
8679        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8680        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8681        if diff conftest.exp conftest.er2 >/dev/null; then
8682          lt_cv_prog_compiler_static_works=yes
8683        fi
8684      else
8685        lt_cv_prog_compiler_static_works=yes
8686      fi
8687    fi
8688    $RM -r conftest*
8689    LDFLAGS="$save_LDFLAGS"
8690
8691 fi
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8693 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8694
8695 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8696     :
8697 else
8698     lt_prog_compiler_static=
8699 fi
8700
8701
8702
8703
8704
8705
8706
8707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8708 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8709 if ${lt_cv_prog_compiler_c_o+:} false; then :
8710   $as_echo_n "(cached) " >&6
8711 else
8712   lt_cv_prog_compiler_c_o=no
8713    $RM -r conftest 2>/dev/null
8714    mkdir conftest
8715    cd conftest
8716    mkdir out
8717    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8718
8719    lt_compiler_flag="-o out/conftest2.$ac_objext"
8720    # Insert the option either (1) after the last *FLAGS variable, or
8721    # (2) before a word containing "conftest.", or (3) at the end.
8722    # Note that $ac_compile itself does not contain backslashes and begins
8723    # with a dollar sign (not a hyphen), so the echo should work correctly.
8724    lt_compile=`echo "$ac_compile" | $SED \
8725    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8726    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8727    -e 's:$: $lt_compiler_flag:'`
8728    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8729    (eval "$lt_compile" 2>out/conftest.err)
8730    ac_status=$?
8731    cat out/conftest.err >&5
8732    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8734    then
8735      # The compiler can only warn and ignore the option if not recognized
8736      # So say no if there are warnings
8737      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8738      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8739      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8740        lt_cv_prog_compiler_c_o=yes
8741      fi
8742    fi
8743    chmod u+w . 2>&5
8744    $RM conftest*
8745    # SGI C++ compiler will create directory out/ii_files/ for
8746    # template instantiation
8747    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8748    $RM out/* && rmdir out
8749    cd ..
8750    $RM -r conftest
8751    $RM conftest*
8752
8753 fi
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8755 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8756
8757
8758
8759
8760
8761
8762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8763 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8764 if ${lt_cv_prog_compiler_c_o+:} false; then :
8765   $as_echo_n "(cached) " >&6
8766 else
8767   lt_cv_prog_compiler_c_o=no
8768    $RM -r conftest 2>/dev/null
8769    mkdir conftest
8770    cd conftest
8771    mkdir out
8772    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773
8774    lt_compiler_flag="-o out/conftest2.$ac_objext"
8775    # Insert the option either (1) after the last *FLAGS variable, or
8776    # (2) before a word containing "conftest.", or (3) at the end.
8777    # Note that $ac_compile itself does not contain backslashes and begins
8778    # with a dollar sign (not a hyphen), so the echo should work correctly.
8779    lt_compile=`echo "$ac_compile" | $SED \
8780    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782    -e 's:$: $lt_compiler_flag:'`
8783    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8784    (eval "$lt_compile" 2>out/conftest.err)
8785    ac_status=$?
8786    cat out/conftest.err >&5
8787    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8789    then
8790      # The compiler can only warn and ignore the option if not recognized
8791      # So say no if there are warnings
8792      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8793      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8794      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8795        lt_cv_prog_compiler_c_o=yes
8796      fi
8797    fi
8798    chmod u+w . 2>&5
8799    $RM conftest*
8800    # SGI C++ compiler will create directory out/ii_files/ for
8801    # template instantiation
8802    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8803    $RM out/* && rmdir out
8804    cd ..
8805    $RM -r conftest
8806    $RM conftest*
8807
8808 fi
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8810 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8811
8812
8813
8814
8815 hard_links="nottested"
8816 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8817   # do not overwrite the value of need_locks provided by the user
8818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8819 $as_echo_n "checking if we can lock with hard links... " >&6; }
8820   hard_links=yes
8821   $RM conftest*
8822   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8823   touch conftest.a
8824   ln conftest.a conftest.b 2>&5 || hard_links=no
8825   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8827 $as_echo "$hard_links" >&6; }
8828   if test "$hard_links" = no; then
8829     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8830 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8831     need_locks=warn
8832   fi
8833 else
8834   need_locks=no
8835 fi
8836
8837
8838
8839
8840
8841
8842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8843 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8844
8845   runpath_var=
8846   allow_undefined_flag=
8847   always_export_symbols=no
8848   archive_cmds=
8849   archive_expsym_cmds=
8850   compiler_needs_object=no
8851   enable_shared_with_static_runtimes=no
8852   export_dynamic_flag_spec=
8853   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8854   hardcode_automatic=no
8855   hardcode_direct=no
8856   hardcode_direct_absolute=no
8857   hardcode_libdir_flag_spec=
8858   hardcode_libdir_flag_spec_ld=
8859   hardcode_libdir_separator=
8860   hardcode_minus_L=no
8861   hardcode_shlibpath_var=unsupported
8862   inherit_rpath=no
8863   link_all_deplibs=unknown
8864   module_cmds=
8865   module_expsym_cmds=
8866   old_archive_from_new_cmds=
8867   old_archive_from_expsyms_cmds=
8868   thread_safe_flag_spec=
8869   whole_archive_flag_spec=
8870   # include_expsyms should be a list of space-separated symbols to be *always*
8871   # included in the symbol list
8872   include_expsyms=
8873   # exclude_expsyms can be an extended regexp of symbols to exclude
8874   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8875   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8876   # as well as any symbol that contains `d'.
8877   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8878   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8879   # platforms (ab)use it in PIC code, but their linkers get confused if
8880   # the symbol is explicitly referenced.  Since portable code cannot
8881   # rely on this symbol name, it's probably fine to never include it in
8882   # preloaded symbol tables.
8883   # Exclude shared library initialization/finalization symbols.
8884   extract_expsyms_cmds=
8885
8886   case $host_os in
8887   cygwin* | mingw* | pw32* | cegcc*)
8888     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8889     # When not using gcc, we currently assume that we are using
8890     # Microsoft Visual C++.
8891     if test "$GCC" != yes; then
8892       with_gnu_ld=no
8893     fi
8894     ;;
8895   interix*)
8896     # we just hope/assume this is gcc and not c89 (= MSVC++)
8897     with_gnu_ld=yes
8898     ;;
8899   openbsd*)
8900     with_gnu_ld=no
8901     ;;
8902   esac
8903
8904   ld_shlibs=yes
8905
8906   # On some targets, GNU ld is compatible enough with the native linker
8907   # that we're better off using the native interface for both.
8908   lt_use_gnu_ld_interface=no
8909   if test "$with_gnu_ld" = yes; then
8910     case $host_os in
8911       aix*)
8912         # The AIX port of GNU ld has always aspired to compatibility
8913         # with the native linker.  However, as the warning in the GNU ld
8914         # block says, versions before 2.19.5* couldn't really create working
8915         # shared libraries, regardless of the interface used.
8916         case `$LD -v 2>&1` in
8917           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8918           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8919           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8920           *)
8921             lt_use_gnu_ld_interface=yes
8922             ;;
8923         esac
8924         ;;
8925       *)
8926         lt_use_gnu_ld_interface=yes
8927         ;;
8928     esac
8929   fi
8930
8931   if test "$lt_use_gnu_ld_interface" = yes; then
8932     # If archive_cmds runs LD, not CC, wlarc should be empty
8933     wlarc='${wl}'
8934
8935     # Set some defaults for GNU ld with shared library support. These
8936     # are reset later if shared libraries are not supported. Putting them
8937     # here allows them to be overridden if necessary.
8938     runpath_var=LD_RUN_PATH
8939     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8940     export_dynamic_flag_spec='${wl}--export-dynamic'
8941     # ancient GNU ld didn't support --whole-archive et. al.
8942     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8943       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8944     else
8945       whole_archive_flag_spec=
8946     fi
8947     supports_anon_versioning=no
8948     case `$LD -v 2>&1` in
8949       *GNU\ gold*) supports_anon_versioning=yes ;;
8950       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8951       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8952       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8953       *\ 2.11.*) ;; # other 2.11 versions
8954       *) supports_anon_versioning=yes ;;
8955     esac
8956
8957     # See if GNU ld supports shared libraries.
8958     case $host_os in
8959     aix[3-9]*)
8960       # On AIX/PPC, the GNU linker is very broken
8961       if test "$host_cpu" != ia64; then
8962         ld_shlibs=no
8963         cat <<_LT_EOF 1>&2
8964
8965 *** Warning: the GNU linker, at least up to release 2.19, is reported
8966 *** to be unable to reliably create shared libraries on AIX.
8967 *** Therefore, libtool is disabling shared libraries support.  If you
8968 *** really care for shared libraries, you may want to install binutils
8969 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8970 *** You will then need to restart the configuration process.
8971
8972 _LT_EOF
8973       fi
8974       ;;
8975
8976     amigaos*)
8977       case $host_cpu in
8978       powerpc)
8979             # see comment about AmigaOS4 .so support
8980             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8981             archive_expsym_cmds=''
8982         ;;
8983       m68k)
8984             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)'
8985             hardcode_libdir_flag_spec='-L$libdir'
8986             hardcode_minus_L=yes
8987         ;;
8988       esac
8989       ;;
8990
8991     beos*)
8992       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8993         allow_undefined_flag=unsupported
8994         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8995         # support --undefined.  This deserves some investigation.  FIXME
8996         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8997       else
8998         ld_shlibs=no
8999       fi
9000       ;;
9001
9002     cygwin* | mingw* | pw32* | cegcc*)
9003       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9004       # as there is no search path for DLLs.
9005       hardcode_libdir_flag_spec='-L$libdir'
9006       export_dynamic_flag_spec='${wl}--export-all-symbols'
9007       allow_undefined_flag=unsupported
9008       always_export_symbols=no
9009       enable_shared_with_static_runtimes=yes
9010       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'
9011       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9012
9013       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9014         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9015         # If the export-symbols file already is a .def file (1st line
9016         # is EXPORTS), use it as is; otherwise, prepend...
9017         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9018           cp $export_symbols $output_objdir/$soname.def;
9019         else
9020           echo EXPORTS > $output_objdir/$soname.def;
9021           cat $export_symbols >> $output_objdir/$soname.def;
9022         fi~
9023         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9024       else
9025         ld_shlibs=no
9026       fi
9027       ;;
9028
9029     haiku*)
9030       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9031       link_all_deplibs=yes
9032       ;;
9033
9034     interix[3-9]*)
9035       hardcode_direct=no
9036       hardcode_shlibpath_var=no
9037       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9038       export_dynamic_flag_spec='${wl}-E'
9039       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9040       # Instead, shared libraries are loaded at an image base (0x10000000 by
9041       # default) and relocated if they conflict, which is a slow very memory
9042       # consuming and fragmenting process.  To avoid this, we pick a random,
9043       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9044       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9045       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9046       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'
9047       ;;
9048
9049     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9050       tmp_diet=no
9051       if test "$host_os" = linux-dietlibc; then
9052         case $cc_basename in
9053           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9054         esac
9055       fi
9056       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9057          && test "$tmp_diet" = no
9058       then
9059         tmp_addflag=' $pic_flag'
9060         tmp_sharedflag='-shared'
9061         case $cc_basename,$host_cpu in
9062         pgcc*)                          # Portland Group C compiler
9063           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'
9064           tmp_addflag=' $pic_flag'
9065           ;;
9066         pgf77* | pgf90* | pgf95* | pgfortran*)
9067                                         # Portland Group f77 and f90 compilers
9068           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'
9069           tmp_addflag=' $pic_flag -Mnomain' ;;
9070         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9071           tmp_addflag=' -i_dynamic' ;;
9072         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9073           tmp_addflag=' -i_dynamic -nofor_main' ;;
9074         ifc* | ifort*)                  # Intel Fortran compiler
9075           tmp_addflag=' -nofor_main' ;;
9076         lf95*)                          # Lahey Fortran 8.1
9077           whole_archive_flag_spec=
9078           tmp_sharedflag='--shared' ;;
9079         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9080           tmp_sharedflag='-qmkshrobj'
9081           tmp_addflag= ;;
9082         nvcc*)  # Cuda Compiler Driver 2.2
9083           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'
9084           compiler_needs_object=yes
9085           ;;
9086         esac
9087         case `$CC -V 2>&1 | sed 5q` in
9088         *Sun\ C*)                       # Sun C 5.9
9089           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'
9090           compiler_needs_object=yes
9091           tmp_sharedflag='-G' ;;
9092         *Sun\ F*)                       # Sun Fortran 8.3
9093           tmp_sharedflag='-G' ;;
9094         esac
9095         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9096
9097         if test "x$supports_anon_versioning" = xyes; then
9098           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9099             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9100             echo "local: *; };" >> $output_objdir/$libname.ver~
9101             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9102         fi
9103
9104         case $cc_basename in
9105         xlf* | bgf* | bgxlf* | mpixlf*)
9106           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9107           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9108           hardcode_libdir_flag_spec=
9109           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9110           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9111           if test "x$supports_anon_versioning" = xyes; then
9112             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9113               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9114               echo "local: *; };" >> $output_objdir/$libname.ver~
9115               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9116           fi
9117           ;;
9118         esac
9119       else
9120         ld_shlibs=no
9121       fi
9122       ;;
9123
9124     netbsd*)
9125       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9126         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9127         wlarc=
9128       else
9129         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9130         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9131       fi
9132       ;;
9133
9134     solaris*)
9135       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9136         ld_shlibs=no
9137         cat <<_LT_EOF 1>&2
9138
9139 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9140 *** create shared libraries on Solaris systems.  Therefore, libtool
9141 *** is disabling shared libraries support.  We urge you to upgrade GNU
9142 *** binutils to release 2.9.1 or newer.  Another option is to modify
9143 *** your PATH or compiler configuration so that the native linker is
9144 *** used, and then restart.
9145
9146 _LT_EOF
9147       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9148         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9149         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9150       else
9151         ld_shlibs=no
9152       fi
9153       ;;
9154
9155     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9156       case `$LD -v 2>&1` in
9157         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9158         ld_shlibs=no
9159         cat <<_LT_EOF 1>&2
9160
9161 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9162 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9163 *** is disabling shared libraries support.  We urge you to upgrade GNU
9164 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9165 *** your PATH or compiler configuration so that the native linker is
9166 *** used, and then restart.
9167
9168 _LT_EOF
9169         ;;
9170         *)
9171           # For security reasons, it is highly recommended that you always
9172           # use absolute paths for naming shared libraries, and exclude the
9173           # DT_RUNPATH tag from executables and libraries.  But doing so
9174           # requires that you compile everything twice, which is a pain.
9175           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9176             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9177             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9179           else
9180             ld_shlibs=no
9181           fi
9182         ;;
9183       esac
9184       ;;
9185
9186     sunos4*)
9187       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9188       wlarc=
9189       hardcode_direct=yes
9190       hardcode_shlibpath_var=no
9191       ;;
9192
9193     *)
9194       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9195         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9196         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9197       else
9198         ld_shlibs=no
9199       fi
9200       ;;
9201     esac
9202
9203     if test "$ld_shlibs" = no; then
9204       runpath_var=
9205       hardcode_libdir_flag_spec=
9206       export_dynamic_flag_spec=
9207       whole_archive_flag_spec=
9208     fi
9209   else
9210     # PORTME fill in a description of your system's linker (not GNU ld)
9211     case $host_os in
9212     aix3*)
9213       allow_undefined_flag=unsupported
9214       always_export_symbols=yes
9215       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'
9216       # Note: this linker hardcodes the directories in LIBPATH if there
9217       # are no directories specified by -L.
9218       hardcode_minus_L=yes
9219       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9220         # Neither direct hardcoding nor static linking is supported with a
9221         # broken collect2.
9222         hardcode_direct=unsupported
9223       fi
9224       ;;
9225
9226     aix[4-9]*)
9227       if test "$host_cpu" = ia64; then
9228         # On IA64, the linker does run time linking by default, so we don't
9229         # have to do anything special.
9230         aix_use_runtimelinking=no
9231         exp_sym_flag='-Bexport'
9232         no_entry_flag=""
9233       else
9234         # If we're using GNU nm, then we don't want the "-C" option.
9235         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9236         # Also, AIX nm treats weak defined symbols like other global
9237         # defined symbols, whereas GNU nm marks them as "W".
9238         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9239           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'
9240         else
9241           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'
9242         fi
9243         aix_use_runtimelinking=no
9244
9245         # Test if we are trying to use run time linking or normal
9246         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9247         # need to do runtime linking.
9248         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9249           for ld_flag in $LDFLAGS; do
9250           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9251             aix_use_runtimelinking=yes
9252             break
9253           fi
9254           done
9255           ;;
9256         esac
9257
9258         exp_sym_flag='-bexport'
9259         no_entry_flag='-bnoentry'
9260       fi
9261
9262       # When large executables or shared objects are built, AIX ld can
9263       # have problems creating the table of contents.  If linking a library
9264       # or program results in "error TOC overflow" add -mminimal-toc to
9265       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9266       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9267
9268       archive_cmds=''
9269       hardcode_direct=yes
9270       hardcode_direct_absolute=yes
9271       hardcode_libdir_separator=':'
9272       link_all_deplibs=yes
9273       file_list_spec='${wl}-f,'
9274
9275       if test "$GCC" = yes; then
9276         case $host_os in aix4.[012]|aix4.[012].*)
9277         # We only want to do this on AIX 4.2 and lower, the check
9278         # below for broken collect2 doesn't work under 4.3+
9279           collect2name=`${CC} -print-prog-name=collect2`
9280           if test -f "$collect2name" &&
9281            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9282           then
9283           # We have reworked collect2
9284           :
9285           else
9286           # We have old collect2
9287           hardcode_direct=unsupported
9288           # It fails to find uninstalled libraries when the uninstalled
9289           # path is not listed in the libpath.  Setting hardcode_minus_L
9290           # to unsupported forces relinking
9291           hardcode_minus_L=yes
9292           hardcode_libdir_flag_spec='-L$libdir'
9293           hardcode_libdir_separator=
9294           fi
9295           ;;
9296         esac
9297         shared_flag='-shared'
9298         if test "$aix_use_runtimelinking" = yes; then
9299           shared_flag="$shared_flag "'${wl}-G'
9300         fi
9301       else
9302         # not using gcc
9303         if test "$host_cpu" = ia64; then
9304         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9305         # chokes on -Wl,-G. The following line is correct:
9306           shared_flag='-G'
9307         else
9308           if test "$aix_use_runtimelinking" = yes; then
9309             shared_flag='${wl}-G'
9310           else
9311             shared_flag='${wl}-bM:SRE'
9312           fi
9313         fi
9314       fi
9315
9316       export_dynamic_flag_spec='${wl}-bexpall'
9317       # It seems that -bexpall does not export symbols beginning with
9318       # underscore (_), so it is better to generate a list of symbols to export.
9319       always_export_symbols=yes
9320       if test "$aix_use_runtimelinking" = yes; then
9321         # Warning - without using the other runtime loading flags (-brtl),
9322         # -berok will link without error, but may produce a broken library.
9323         allow_undefined_flag='-berok'
9324         # Determine the default libpath from the value encoded in an
9325         # empty executable.
9326         if test "${lt_cv_aix_libpath+set}" = set; then
9327   aix_libpath=$lt_cv_aix_libpath
9328 else
9329   if ${lt_cv_aix_libpath_+:} false; then :
9330   $as_echo_n "(cached) " >&6
9331 else
9332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h.  */
9334
9335 int
9336 main ()
9337 {
9338
9339   ;
9340   return 0;
9341 }
9342 _ACEOF
9343 if ac_fn_c_try_link "$LINENO"; then :
9344
9345   lt_aix_libpath_sed='
9346       /Import File Strings/,/^$/ {
9347           /^0/ {
9348               s/^0  *\([^ ]*\) *$/\1/
9349               p
9350           }
9351       }'
9352   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9353   # Check for a 64-bit object if we didn't find anything.
9354   if test -z "$lt_cv_aix_libpath_"; then
9355     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9356   fi
9357 fi
9358 rm -f core conftest.err conftest.$ac_objext \
9359     conftest$ac_exeext conftest.$ac_ext
9360   if test -z "$lt_cv_aix_libpath_"; then
9361     lt_cv_aix_libpath_="/usr/lib:/lib"
9362   fi
9363
9364 fi
9365
9366   aix_libpath=$lt_cv_aix_libpath_
9367 fi
9368
9369         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9370         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"
9371       else
9372         if test "$host_cpu" = ia64; then
9373           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9374           allow_undefined_flag="-z nodefs"
9375           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"
9376         else
9377          # Determine the default libpath from the value encoded in an
9378          # empty executable.
9379          if test "${lt_cv_aix_libpath+set}" = set; then
9380   aix_libpath=$lt_cv_aix_libpath
9381 else
9382   if ${lt_cv_aix_libpath_+:} false; then :
9383   $as_echo_n "(cached) " >&6
9384 else
9385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h.  */
9387
9388 int
9389 main ()
9390 {
9391
9392   ;
9393   return 0;
9394 }
9395 _ACEOF
9396 if ac_fn_c_try_link "$LINENO"; then :
9397
9398   lt_aix_libpath_sed='
9399       /Import File Strings/,/^$/ {
9400           /^0/ {
9401               s/^0  *\([^ ]*\) *$/\1/
9402               p
9403           }
9404       }'
9405   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9406   # Check for a 64-bit object if we didn't find anything.
9407   if test -z "$lt_cv_aix_libpath_"; then
9408     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9409   fi
9410 fi
9411 rm -f core conftest.err conftest.$ac_objext \
9412     conftest$ac_exeext conftest.$ac_ext
9413   if test -z "$lt_cv_aix_libpath_"; then
9414     lt_cv_aix_libpath_="/usr/lib:/lib"
9415   fi
9416
9417 fi
9418
9419   aix_libpath=$lt_cv_aix_libpath_
9420 fi
9421
9422          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9423           # Warning - without using the other run time loading flags,
9424           # -berok will link without error, but may produce a broken library.
9425           no_undefined_flag=' ${wl}-bernotok'
9426           allow_undefined_flag=' ${wl}-berok'
9427           if test "$with_gnu_ld" = yes; then
9428             # We only use this code for GNU lds that support --whole-archive.
9429             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9430           else
9431             # Exported symbols can be pulled into shared objects from archives
9432             whole_archive_flag_spec='$convenience'
9433           fi
9434           archive_cmds_need_lc=yes
9435           # This is similar to how AIX traditionally builds its shared libraries.
9436           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'
9437         fi
9438       fi
9439       ;;
9440
9441     amigaos*)
9442       case $host_cpu in
9443       powerpc)
9444             # see comment about AmigaOS4 .so support
9445             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9446             archive_expsym_cmds=''
9447         ;;
9448       m68k)
9449             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)'
9450             hardcode_libdir_flag_spec='-L$libdir'
9451             hardcode_minus_L=yes
9452         ;;
9453       esac
9454       ;;
9455
9456     bsdi[45]*)
9457       export_dynamic_flag_spec=-rdynamic
9458       ;;
9459
9460     cygwin* | mingw* | pw32* | cegcc*)
9461       # When not using gcc, we currently assume that we are using
9462       # Microsoft Visual C++.
9463       # hardcode_libdir_flag_spec is actually meaningless, as there is
9464       # no search path for DLLs.
9465       case $cc_basename in
9466       cl*)
9467         # Native MSVC
9468         hardcode_libdir_flag_spec=' '
9469         allow_undefined_flag=unsupported
9470         always_export_symbols=yes
9471         file_list_spec='@'
9472         # Tell ltmain to make .lib files, not .a files.
9473         libext=lib
9474         # Tell ltmain to make .dll files, not .so files.
9475         shrext_cmds=".dll"
9476         # FIXME: Setting linknames here is a bad hack.
9477         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9478         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9479             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9480           else
9481             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9482           fi~
9483           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9484           linknames='
9485         # The linker will not automatically build a static lib if we build a DLL.
9486         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9487         enable_shared_with_static_runtimes=yes
9488         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9489         # Don't use ranlib
9490         old_postinstall_cmds='chmod 644 $oldlib'
9491         postlink_cmds='lt_outputfile="@OUTPUT@"~
9492           lt_tool_outputfile="@TOOL_OUTPUT@"~
9493           case $lt_outputfile in
9494             *.exe|*.EXE) ;;
9495             *)
9496               lt_outputfile="$lt_outputfile.exe"
9497               lt_tool_outputfile="$lt_tool_outputfile.exe"
9498               ;;
9499           esac~
9500           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9501             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9502             $RM "$lt_outputfile.manifest";
9503           fi'
9504         ;;
9505       *)
9506         # Assume MSVC wrapper
9507         hardcode_libdir_flag_spec=' '
9508         allow_undefined_flag=unsupported
9509         # Tell ltmain to make .lib files, not .a files.
9510         libext=lib
9511         # Tell ltmain to make .dll files, not .so files.
9512         shrext_cmds=".dll"
9513         # FIXME: Setting linknames here is a bad hack.
9514         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9515         # The linker will automatically build a .lib file if we build a DLL.
9516         old_archive_from_new_cmds='true'
9517         # FIXME: Should let the user specify the lib program.
9518         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9519         enable_shared_with_static_runtimes=yes
9520         ;;
9521       esac
9522       ;;
9523
9524     darwin* | rhapsody*)
9525
9526
9527   archive_cmds_need_lc=no
9528   hardcode_direct=no
9529   hardcode_automatic=yes
9530   hardcode_shlibpath_var=unsupported
9531   if test "$lt_cv_ld_force_load" = "yes"; then
9532     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\"`'
9533   else
9534     whole_archive_flag_spec=''
9535   fi
9536   link_all_deplibs=yes
9537   allow_undefined_flag="$_lt_dar_allow_undefined"
9538   case $cc_basename in
9539      ifort*) _lt_dar_can_shared=yes ;;
9540      *) _lt_dar_can_shared=$GCC ;;
9541   esac
9542   if test "$_lt_dar_can_shared" = "yes"; then
9543     output_verbose_link_cmd=func_echo_all
9544     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9545     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9546     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}"
9547     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}"
9548
9549   else
9550   ld_shlibs=no
9551   fi
9552
9553       ;;
9554
9555     dgux*)
9556       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9557       hardcode_libdir_flag_spec='-L$libdir'
9558       hardcode_shlibpath_var=no
9559       ;;
9560
9561     freebsd1*)
9562       ld_shlibs=no
9563       ;;
9564
9565     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9566     # support.  Future versions do this automatically, but an explicit c++rt0.o
9567     # does not break anything, and helps significantly (at the cost of a little
9568     # extra space).
9569     freebsd2.2*)
9570       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9571       hardcode_libdir_flag_spec='-R$libdir'
9572       hardcode_direct=yes
9573       hardcode_shlibpath_var=no
9574       ;;
9575
9576     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9577     freebsd2*)
9578       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9579       hardcode_direct=yes
9580       hardcode_minus_L=yes
9581       hardcode_shlibpath_var=no
9582       ;;
9583
9584     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9585     freebsd* | dragonfly*)
9586       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9587       hardcode_libdir_flag_spec='-R$libdir'
9588       hardcode_direct=yes
9589       hardcode_shlibpath_var=no
9590       ;;
9591
9592     hpux9*)
9593       if test "$GCC" = yes; then
9594         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'
9595       else
9596         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'
9597       fi
9598       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9599       hardcode_libdir_separator=:
9600       hardcode_direct=yes
9601
9602       # hardcode_minus_L: Not really in the search PATH,
9603       # but as the default location of the library.
9604       hardcode_minus_L=yes
9605       export_dynamic_flag_spec='${wl}-E'
9606       ;;
9607
9608     hpux10*)
9609       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9610         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9611       else
9612         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9613       fi
9614       if test "$with_gnu_ld" = no; then
9615         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9616         hardcode_libdir_flag_spec_ld='+b $libdir'
9617         hardcode_libdir_separator=:
9618         hardcode_direct=yes
9619         hardcode_direct_absolute=yes
9620         export_dynamic_flag_spec='${wl}-E'
9621         # hardcode_minus_L: Not really in the search PATH,
9622         # but as the default location of the library.
9623         hardcode_minus_L=yes
9624       fi
9625       ;;
9626
9627     hpux11*)
9628       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9629         case $host_cpu in
9630         hppa*64*)
9631           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9632           ;;
9633         ia64*)
9634           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9635           ;;
9636         *)
9637           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9638           ;;
9639         esac
9640       else
9641         case $host_cpu in
9642         hppa*64*)
9643           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9644           ;;
9645         ia64*)
9646           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9647           ;;
9648         *)
9649
9650           # Older versions of the 11.00 compiler do not understand -b yet
9651           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9652           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9653 $as_echo_n "checking if $CC understands -b... " >&6; }
9654 if ${lt_cv_prog_compiler__b+:} false; then :
9655   $as_echo_n "(cached) " >&6
9656 else
9657   lt_cv_prog_compiler__b=no
9658    save_LDFLAGS="$LDFLAGS"
9659    LDFLAGS="$LDFLAGS -b"
9660    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9661    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9662      # The linker can only warn and ignore the option if not recognized
9663      # So say no if there are warnings
9664      if test -s conftest.err; then
9665        # Append any errors to the config.log.
9666        cat conftest.err 1>&5
9667        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9668        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9669        if diff conftest.exp conftest.er2 >/dev/null; then
9670          lt_cv_prog_compiler__b=yes
9671        fi
9672      else
9673        lt_cv_prog_compiler__b=yes
9674      fi
9675    fi
9676    $RM -r conftest*
9677    LDFLAGS="$save_LDFLAGS"
9678
9679 fi
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9681 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9682
9683 if test x"$lt_cv_prog_compiler__b" = xyes; then
9684     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9685 else
9686     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9687 fi
9688
9689           ;;
9690         esac
9691       fi
9692       if test "$with_gnu_ld" = no; then
9693         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9694         hardcode_libdir_separator=:
9695
9696         case $host_cpu in
9697         hppa*64*|ia64*)
9698           hardcode_direct=no
9699           hardcode_shlibpath_var=no
9700           ;;
9701         *)
9702           hardcode_direct=yes
9703           hardcode_direct_absolute=yes
9704           export_dynamic_flag_spec='${wl}-E'
9705
9706           # hardcode_minus_L: Not really in the search PATH,
9707           # but as the default location of the library.
9708           hardcode_minus_L=yes
9709           ;;
9710         esac
9711       fi
9712       ;;
9713
9714     irix5* | irix6* | nonstopux*)
9715       if test "$GCC" = yes; then
9716         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'
9717         # Try to use the -exported_symbol ld option, if it does not
9718         # work, assume that -exports_file does not work either and
9719         # implicitly export all symbols.
9720         # This should be the same for all languages, so no per-tag cache variable.
9721         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9722 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9723 if ${lt_cv_irix_exported_symbol+:} false; then :
9724   $as_echo_n "(cached) " >&6
9725 else
9726   save_LDFLAGS="$LDFLAGS"
9727            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9728            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h.  */
9730 int foo (void) { return 0; }
9731 _ACEOF
9732 if ac_fn_c_try_link "$LINENO"; then :
9733   lt_cv_irix_exported_symbol=yes
9734 else
9735   lt_cv_irix_exported_symbol=no
9736 fi
9737 rm -f core conftest.err conftest.$ac_objext \
9738     conftest$ac_exeext conftest.$ac_ext
9739            LDFLAGS="$save_LDFLAGS"
9740 fi
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9742 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9743         if test "$lt_cv_irix_exported_symbol" = yes; then
9744           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'
9745         fi
9746       else
9747         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'
9748         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'
9749       fi
9750       archive_cmds_need_lc='no'
9751       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9752       hardcode_libdir_separator=:
9753       inherit_rpath=yes
9754       link_all_deplibs=yes
9755       ;;
9756
9757     netbsd*)
9758       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9759         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9760       else
9761         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9762       fi
9763       hardcode_libdir_flag_spec='-R$libdir'
9764       hardcode_direct=yes
9765       hardcode_shlibpath_var=no
9766       ;;
9767
9768     newsos6)
9769       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9770       hardcode_direct=yes
9771       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9772       hardcode_libdir_separator=:
9773       hardcode_shlibpath_var=no
9774       ;;
9775
9776     *nto* | *qnx*)
9777       ;;
9778
9779     openbsd*)
9780       if test -f /usr/libexec/ld.so; then
9781         hardcode_direct=yes
9782         hardcode_shlibpath_var=no
9783         hardcode_direct_absolute=yes
9784         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9785           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9786           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9787           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9788           export_dynamic_flag_spec='${wl}-E'
9789         else
9790           case $host_os in
9791            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9792              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9793              hardcode_libdir_flag_spec='-R$libdir'
9794              ;;
9795            *)
9796              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9797              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9798              ;;
9799           esac
9800         fi
9801       else
9802         ld_shlibs=no
9803       fi
9804       ;;
9805
9806     os2*)
9807       hardcode_libdir_flag_spec='-L$libdir'
9808       hardcode_minus_L=yes
9809       allow_undefined_flag=unsupported
9810       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'
9811       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9812       ;;
9813
9814     osf3*)
9815       if test "$GCC" = yes; then
9816         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9817         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'
9818       else
9819         allow_undefined_flag=' -expect_unresolved \*'
9820         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'
9821       fi
9822       archive_cmds_need_lc='no'
9823       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9824       hardcode_libdir_separator=:
9825       ;;
9826
9827     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9828       if test "$GCC" = yes; then
9829         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9830         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'
9831         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9832       else
9833         allow_undefined_flag=' -expect_unresolved \*'
9834         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'
9835         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~
9836         $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'
9837
9838         # Both c and cxx compiler support -rpath directly
9839         hardcode_libdir_flag_spec='-rpath $libdir'
9840       fi
9841       archive_cmds_need_lc='no'
9842       hardcode_libdir_separator=:
9843       ;;
9844
9845     solaris*)
9846       no_undefined_flag=' -z defs'
9847       if test "$GCC" = yes; then
9848         wlarc='${wl}'
9849         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9850         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9851           $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'
9852       else
9853         case `$CC -V 2>&1` in
9854         *"Compilers 5.0"*)
9855           wlarc=''
9856           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9857           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9858           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9859           ;;
9860         *)
9861           wlarc='${wl}'
9862           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9863           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9864           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9865           ;;
9866         esac
9867       fi
9868       hardcode_libdir_flag_spec='-R$libdir'
9869       hardcode_shlibpath_var=no
9870       case $host_os in
9871       solaris2.[0-5] | solaris2.[0-5].*) ;;
9872       *)
9873         # The compiler driver will combine and reorder linker options,
9874         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9875         # but is careful enough not to reorder.
9876         # Supported since Solaris 2.6 (maybe 2.5.1?)
9877         if test "$GCC" = yes; then
9878           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9879         else
9880           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9881         fi
9882         ;;
9883       esac
9884       link_all_deplibs=yes
9885       ;;
9886
9887     sunos4*)
9888       if test "x$host_vendor" = xsequent; then
9889         # Use $CC to link under sequent, because it throws in some extra .o
9890         # files that make .init and .fini sections work.
9891         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9892       else
9893         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9894       fi
9895       hardcode_libdir_flag_spec='-L$libdir'
9896       hardcode_direct=yes
9897       hardcode_minus_L=yes
9898       hardcode_shlibpath_var=no
9899       ;;
9900
9901     sysv4)
9902       case $host_vendor in
9903         sni)
9904           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9905           hardcode_direct=yes # is this really true???
9906         ;;
9907         siemens)
9908           ## LD is ld it makes a PLAMLIB
9909           ## CC just makes a GrossModule.
9910           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9911           reload_cmds='$CC -r -o $output$reload_objs'
9912           hardcode_direct=no
9913         ;;
9914         motorola)
9915           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9916           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9917         ;;
9918       esac
9919       runpath_var='LD_RUN_PATH'
9920       hardcode_shlibpath_var=no
9921       ;;
9922
9923     sysv4.3*)
9924       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9925       hardcode_shlibpath_var=no
9926       export_dynamic_flag_spec='-Bexport'
9927       ;;
9928
9929     sysv4*MP*)
9930       if test -d /usr/nec; then
9931         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9932         hardcode_shlibpath_var=no
9933         runpath_var=LD_RUN_PATH
9934         hardcode_runpath_var=yes
9935         ld_shlibs=yes
9936       fi
9937       ;;
9938
9939     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9940       no_undefined_flag='${wl}-z,text'
9941       archive_cmds_need_lc=no
9942       hardcode_shlibpath_var=no
9943       runpath_var='LD_RUN_PATH'
9944
9945       if test "$GCC" = yes; then
9946         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9947         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9948       else
9949         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9950         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9951       fi
9952       ;;
9953
9954     sysv5* | sco3.2v5* | sco5v6*)
9955       # Note: We can NOT use -z defs as we might desire, because we do not
9956       # link with -lc, and that would cause any symbols used from libc to
9957       # always be unresolved, which means just about no library would
9958       # ever link correctly.  If we're not using GNU ld we use -z text
9959       # though, which does catch some bad symbols but isn't as heavy-handed
9960       # as -z defs.
9961       no_undefined_flag='${wl}-z,text'
9962       allow_undefined_flag='${wl}-z,nodefs'
9963       archive_cmds_need_lc=no
9964       hardcode_shlibpath_var=no
9965       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9966       hardcode_libdir_separator=':'
9967       link_all_deplibs=yes
9968       export_dynamic_flag_spec='${wl}-Bexport'
9969       runpath_var='LD_RUN_PATH'
9970
9971       if test "$GCC" = yes; then
9972         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9973         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9974       else
9975         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9976         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9977       fi
9978       ;;
9979
9980     uts4*)
9981       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9982       hardcode_libdir_flag_spec='-L$libdir'
9983       hardcode_shlibpath_var=no
9984       ;;
9985
9986     *)
9987       ld_shlibs=no
9988       ;;
9989     esac
9990
9991     if test x$host_vendor = xsni; then
9992       case $host in
9993       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9994         export_dynamic_flag_spec='${wl}-Blargedynsym'
9995         ;;
9996       esac
9997     fi
9998   fi
9999
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10001 $as_echo "$ld_shlibs" >&6; }
10002 test "$ld_shlibs" = no && can_build_shared=no
10003
10004 with_gnu_ld=$with_gnu_ld
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020 #
10021 # Do we need to explicitly link libc?
10022 #
10023 case "x$archive_cmds_need_lc" in
10024 x|xyes)
10025   # Assume -lc should be added
10026   archive_cmds_need_lc=yes
10027
10028   if test "$enable_shared" = yes && test "$GCC" = yes; then
10029     case $archive_cmds in
10030     *'~'*)
10031       # FIXME: we may have to deal with multi-command sequences.
10032       ;;
10033     '$CC '*)
10034       # Test whether the compiler implicitly links with -lc since on some
10035       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10036       # to ld, don't add -lc before -lgcc.
10037       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10038 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10039 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10040   $as_echo_n "(cached) " >&6
10041 else
10042   $RM conftest*
10043         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10044
10045         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10046   (eval $ac_compile) 2>&5
10047   ac_status=$?
10048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10049   test $ac_status = 0; } 2>conftest.err; then
10050           soname=conftest
10051           lib=conftest
10052           libobjs=conftest.$ac_objext
10053           deplibs=
10054           wl=$lt_prog_compiler_wl
10055           pic_flag=$lt_prog_compiler_pic
10056           compiler_flags=-v
10057           linker_flags=-v
10058           verstring=
10059           output_objdir=.
10060           libname=conftest
10061           lt_save_allow_undefined_flag=$allow_undefined_flag
10062           allow_undefined_flag=
10063           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10064   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10065   ac_status=$?
10066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10067   test $ac_status = 0; }
10068           then
10069             lt_cv_archive_cmds_need_lc=no
10070           else
10071             lt_cv_archive_cmds_need_lc=yes
10072           fi
10073           allow_undefined_flag=$lt_save_allow_undefined_flag
10074         else
10075           cat conftest.err 1>&5
10076         fi
10077         $RM conftest*
10078
10079 fi
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10081 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10082       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10083       ;;
10084     esac
10085   fi
10086   ;;
10087 esac
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10246 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10247
10248 if test "$GCC" = yes; then
10249   case $host_os in
10250     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10251     *) lt_awk_arg="/^libraries:/" ;;
10252   esac
10253   case $host_os in
10254     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10255     *) lt_sed_strip_eq="s,=/,/,g" ;;
10256   esac
10257   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10258   case $lt_search_path_spec in
10259   *\;*)
10260     # if the path contains ";" then we assume it to be the separator
10261     # otherwise default to the standard path separator (i.e. ":") - it is
10262     # assumed that no part of a normal pathname contains ";" but that should
10263     # okay in the real world where ";" in dirpaths is itself problematic.
10264     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10265     ;;
10266   *)
10267     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10268     ;;
10269   esac
10270   # Ok, now we have the path, separated by spaces, we can step through it
10271   # and add multilib dir if necessary.
10272   lt_tmp_lt_search_path_spec=
10273   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10274   for lt_sys_path in $lt_search_path_spec; do
10275     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10276       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10277     else
10278       test -d "$lt_sys_path" && \
10279         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10280     fi
10281   done
10282   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10283 BEGIN {RS=" "; FS="/|\n";} {
10284   lt_foo="";
10285   lt_count=0;
10286   for (lt_i = NF; lt_i > 0; lt_i--) {
10287     if ($lt_i != "" && $lt_i != ".") {
10288       if ($lt_i == "..") {
10289         lt_count++;
10290       } else {
10291         if (lt_count == 0) {
10292           lt_foo="/" $lt_i lt_foo;
10293         } else {
10294           lt_count--;
10295         }
10296       }
10297     }
10298   }
10299   if (lt_foo != "") { lt_freq[lt_foo]++; }
10300   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10301 }'`
10302   # AWK program above erroneously prepends '/' to C:/dos/paths
10303   # for these hosts.
10304   case $host_os in
10305     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10306       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10307   esac
10308   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10309 else
10310   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10311 fi
10312 library_names_spec=
10313 libname_spec='lib$name'
10314 soname_spec=
10315 shrext_cmds=".so"
10316 postinstall_cmds=
10317 postuninstall_cmds=
10318 finish_cmds=
10319 finish_eval=
10320 shlibpath_var=
10321 shlibpath_overrides_runpath=unknown
10322 version_type=none
10323 dynamic_linker="$host_os ld.so"
10324 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10325 need_lib_prefix=unknown
10326 hardcode_into_libs=no
10327
10328 # when you set need_version to no, make sure it does not cause -set_version
10329 # flags to be left without arguments
10330 need_version=unknown
10331
10332 case $host_os in
10333 aix3*)
10334   version_type=linux
10335   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10336   shlibpath_var=LIBPATH
10337
10338   # AIX 3 has no versioning support, so we append a major version to the name.
10339   soname_spec='${libname}${release}${shared_ext}$major'
10340   ;;
10341
10342 aix[4-9]*)
10343   version_type=linux
10344   need_lib_prefix=no
10345   need_version=no
10346   hardcode_into_libs=yes
10347   if test "$host_cpu" = ia64; then
10348     # AIX 5 supports IA64
10349     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10350     shlibpath_var=LD_LIBRARY_PATH
10351   else
10352     # With GCC up to 2.95.x, collect2 would create an import file
10353     # for dependence libraries.  The import file would start with
10354     # the line `#! .'.  This would cause the generated library to
10355     # depend on `.', always an invalid library.  This was fixed in
10356     # development snapshots of GCC prior to 3.0.
10357     case $host_os in
10358       aix4 | aix4.[01] | aix4.[01].*)
10359       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10360            echo ' yes '
10361            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10362         :
10363       else
10364         can_build_shared=no
10365       fi
10366       ;;
10367     esac
10368     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10369     # soname into executable. Probably we can add versioning support to
10370     # collect2, so additional links can be useful in future.
10371     if test "$aix_use_runtimelinking" = yes; then
10372       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10373       # instead of lib<name>.a to let people know that these are not
10374       # typical AIX shared libraries.
10375       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376     else
10377       # We preserve .a as extension for shared libraries through AIX4.2
10378       # and later when we are not doing run time linking.
10379       library_names_spec='${libname}${release}.a $libname.a'
10380       soname_spec='${libname}${release}${shared_ext}$major'
10381     fi
10382     shlibpath_var=LIBPATH
10383   fi
10384   ;;
10385
10386 amigaos*)
10387   case $host_cpu in
10388   powerpc)
10389     # Since July 2007 AmigaOS4 officially supports .so libraries.
10390     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10391     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10392     ;;
10393   m68k)
10394     library_names_spec='$libname.ixlibrary $libname.a'
10395     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10396     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'
10397     ;;
10398   esac
10399   ;;
10400
10401 beos*)
10402   library_names_spec='${libname}${shared_ext}'
10403   dynamic_linker="$host_os ld.so"
10404   shlibpath_var=LIBRARY_PATH
10405   ;;
10406
10407 bsdi[45]*)
10408   version_type=linux
10409   need_version=no
10410   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10411   soname_spec='${libname}${release}${shared_ext}$major'
10412   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10413   shlibpath_var=LD_LIBRARY_PATH
10414   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10415   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10416   # the default ld.so.conf also contains /usr/contrib/lib and
10417   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10418   # libtool to hard-code these into programs
10419   ;;
10420
10421 cygwin* | mingw* | pw32* | cegcc*)
10422   version_type=windows
10423   shrext_cmds=".dll"
10424   need_version=no
10425   need_lib_prefix=no
10426
10427   case $GCC,$cc_basename in
10428   yes,*)
10429     # gcc
10430     library_names_spec='$libname.dll.a'
10431     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10432     postinstall_cmds='base_file=`basename \${file}`~
10433       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10434       dldir=$destdir/`dirname \$dlpath`~
10435       test -d \$dldir || mkdir -p \$dldir~
10436       $install_prog $dir/$dlname \$dldir/$dlname~
10437       chmod a+x \$dldir/$dlname~
10438       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10439         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10440       fi'
10441     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10442       dlpath=$dir/\$dldll~
10443        $RM \$dlpath'
10444     shlibpath_overrides_runpath=yes
10445
10446     case $host_os in
10447     cygwin*)
10448       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10449       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10450
10451       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10452       ;;
10453     mingw* | cegcc*)
10454       # MinGW DLLs use traditional 'lib' prefix
10455       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10456       ;;
10457     pw32*)
10458       # pw32 DLLs use 'pw' prefix rather than 'lib'
10459       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10460       ;;
10461     esac
10462     dynamic_linker='Win32 ld.exe'
10463     ;;
10464
10465   *,cl*)
10466     # Native MSVC
10467     libname_spec='$name'
10468     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10469     library_names_spec='${libname}.dll.lib'
10470
10471     case $build_os in
10472     mingw*)
10473       sys_lib_search_path_spec=
10474       lt_save_ifs=$IFS
10475       IFS=';'
10476       for lt_path in $LIB
10477       do
10478         IFS=$lt_save_ifs
10479         # Let DOS variable expansion print the short 8.3 style file name.
10480         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10481         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10482       done
10483       IFS=$lt_save_ifs
10484       # Convert to MSYS style.
10485       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10486       ;;
10487     cygwin*)
10488       # Convert to unix form, then to dos form, then back to unix form
10489       # but this time dos style (no spaces!) so that the unix form looks
10490       # like /cygdrive/c/PROGRA~1:/cygdr...
10491       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10492       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10493       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10494       ;;
10495     *)
10496       sys_lib_search_path_spec="$LIB"
10497       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10498         # It is most probably a Windows format PATH.
10499         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10500       else
10501         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10502       fi
10503       # FIXME: find the short name or the path components, as spaces are
10504       # common. (e.g. "Program Files" -> "PROGRA~1")
10505       ;;
10506     esac
10507
10508     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10509     postinstall_cmds='base_file=`basename \${file}`~
10510       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10511       dldir=$destdir/`dirname \$dlpath`~
10512       test -d \$dldir || mkdir -p \$dldir~
10513       $install_prog $dir/$dlname \$dldir/$dlname'
10514     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10515       dlpath=$dir/\$dldll~
10516        $RM \$dlpath'
10517     shlibpath_overrides_runpath=yes
10518     dynamic_linker='Win32 link.exe'
10519     ;;
10520
10521   *)
10522     # Assume MSVC wrapper
10523     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10524     dynamic_linker='Win32 ld.exe'
10525     ;;
10526   esac
10527   # FIXME: first we should search . and the directory the executable is in
10528   shlibpath_var=PATH
10529   ;;
10530
10531 darwin* | rhapsody*)
10532   dynamic_linker="$host_os dyld"
10533   version_type=darwin
10534   need_lib_prefix=no
10535   need_version=no
10536   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10537   soname_spec='${libname}${release}${major}$shared_ext'
10538   shlibpath_overrides_runpath=yes
10539   shlibpath_var=DYLD_LIBRARY_PATH
10540   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10541
10542   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10543   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10544   ;;
10545
10546 dgux*)
10547   version_type=linux
10548   need_lib_prefix=no
10549   need_version=no
10550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10551   soname_spec='${libname}${release}${shared_ext}$major'
10552   shlibpath_var=LD_LIBRARY_PATH
10553   ;;
10554
10555 freebsd1*)
10556   dynamic_linker=no
10557   ;;
10558
10559 freebsd* | dragonfly*)
10560   # DragonFly does not have aout.  When/if they implement a new
10561   # versioning mechanism, adjust this.
10562   if test -x /usr/bin/objformat; then
10563     objformat=`/usr/bin/objformat`
10564   else
10565     case $host_os in
10566     freebsd[123]*) objformat=aout ;;
10567     *) objformat=elf ;;
10568     esac
10569   fi
10570   version_type=freebsd-$objformat
10571   case $version_type in
10572     freebsd-elf*)
10573       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10574       need_version=no
10575       need_lib_prefix=no
10576       ;;
10577     freebsd-*)
10578       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10579       need_version=yes
10580       ;;
10581   esac
10582   shlibpath_var=LD_LIBRARY_PATH
10583   case $host_os in
10584   freebsd2*)
10585     shlibpath_overrides_runpath=yes
10586     ;;
10587   freebsd3.[01]* | freebsdelf3.[01]*)
10588     shlibpath_overrides_runpath=yes
10589     hardcode_into_libs=yes
10590     ;;
10591   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10592   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10593     shlibpath_overrides_runpath=no
10594     hardcode_into_libs=yes
10595     ;;
10596   *) # from 4.6 on, and DragonFly
10597     shlibpath_overrides_runpath=yes
10598     hardcode_into_libs=yes
10599     ;;
10600   esac
10601   ;;
10602
10603 gnu*)
10604   version_type=linux
10605   need_lib_prefix=no
10606   need_version=no
10607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10608   soname_spec='${libname}${release}${shared_ext}$major'
10609   shlibpath_var=LD_LIBRARY_PATH
10610   hardcode_into_libs=yes
10611   ;;
10612
10613 haiku*)
10614   version_type=linux
10615   need_lib_prefix=no
10616   need_version=no
10617   dynamic_linker="$host_os runtime_loader"
10618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10619   soname_spec='${libname}${release}${shared_ext}$major'
10620   shlibpath_var=LIBRARY_PATH
10621   shlibpath_overrides_runpath=yes
10622   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10623   hardcode_into_libs=yes
10624   ;;
10625
10626 hpux9* | hpux10* | hpux11*)
10627   # Give a soname corresponding to the major version so that dld.sl refuses to
10628   # link against other versions.
10629   version_type=sunos
10630   need_lib_prefix=no
10631   need_version=no
10632   case $host_cpu in
10633   ia64*)
10634     shrext_cmds='.so'
10635     hardcode_into_libs=yes
10636     dynamic_linker="$host_os dld.so"
10637     shlibpath_var=LD_LIBRARY_PATH
10638     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10639     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640     soname_spec='${libname}${release}${shared_ext}$major'
10641     if test "X$HPUX_IA64_MODE" = X32; then
10642       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10643     else
10644       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10645     fi
10646     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10647     ;;
10648   hppa*64*)
10649     shrext_cmds='.sl'
10650     hardcode_into_libs=yes
10651     dynamic_linker="$host_os dld.sl"
10652     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10653     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10654     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655     soname_spec='${libname}${release}${shared_ext}$major'
10656     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10657     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10658     ;;
10659   *)
10660     shrext_cmds='.sl'
10661     dynamic_linker="$host_os dld.sl"
10662     shlibpath_var=SHLIB_PATH
10663     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10664     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665     soname_spec='${libname}${release}${shared_ext}$major'
10666     ;;
10667   esac
10668   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10669   postinstall_cmds='chmod 555 $lib'
10670   # or fails outright, so override atomically:
10671   install_override_mode=555
10672   ;;
10673
10674 interix[3-9]*)
10675   version_type=linux
10676   need_lib_prefix=no
10677   need_version=no
10678   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10679   soname_spec='${libname}${release}${shared_ext}$major'
10680   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10681   shlibpath_var=LD_LIBRARY_PATH
10682   shlibpath_overrides_runpath=no
10683   hardcode_into_libs=yes
10684   ;;
10685
10686 irix5* | irix6* | nonstopux*)
10687   case $host_os in
10688     nonstopux*) version_type=nonstopux ;;
10689     *)
10690         if test "$lt_cv_prog_gnu_ld" = yes; then
10691                 version_type=linux
10692         else
10693                 version_type=irix
10694         fi ;;
10695   esac
10696   need_lib_prefix=no
10697   need_version=no
10698   soname_spec='${libname}${release}${shared_ext}$major'
10699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10700   case $host_os in
10701   irix5* | nonstopux*)
10702     libsuff= shlibsuff=
10703     ;;
10704   *)
10705     case $LD in # libtool.m4 will add one of these switches to LD
10706     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10707       libsuff= shlibsuff= libmagic=32-bit;;
10708     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10709       libsuff=32 shlibsuff=N32 libmagic=N32;;
10710     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10711       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10712     *) libsuff= shlibsuff= libmagic=never-match;;
10713     esac
10714     ;;
10715   esac
10716   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10717   shlibpath_overrides_runpath=no
10718   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10719   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10720   hardcode_into_libs=yes
10721   ;;
10722
10723 # No shared lib support for Linux oldld, aout, or coff.
10724 linux*oldld* | linux*aout* | linux*coff*)
10725   dynamic_linker=no
10726   ;;
10727
10728 # This must be Linux ELF.
10729 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10730   version_type=linux
10731   need_lib_prefix=no
10732   need_version=no
10733   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734   soname_spec='${libname}${release}${shared_ext}$major'
10735   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10736   shlibpath_var=LD_LIBRARY_PATH
10737   shlibpath_overrides_runpath=no
10738
10739   # Some binutils ld are patched to set DT_RUNPATH
10740   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10741   $as_echo_n "(cached) " >&6
10742 else
10743   lt_cv_shlibpath_overrides_runpath=no
10744     save_LDFLAGS=$LDFLAGS
10745     save_libdir=$libdir
10746     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10747          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10748     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h.  */
10750
10751 int
10752 main ()
10753 {
10754
10755   ;
10756   return 0;
10757 }
10758 _ACEOF
10759 if ac_fn_c_try_link "$LINENO"; then :
10760   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10761   lt_cv_shlibpath_overrides_runpath=yes
10762 fi
10763 fi
10764 rm -f core conftest.err conftest.$ac_objext \
10765     conftest$ac_exeext conftest.$ac_ext
10766     LDFLAGS=$save_LDFLAGS
10767     libdir=$save_libdir
10768
10769 fi
10770
10771   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10772
10773   # This implies no fast_install, which is unacceptable.
10774   # Some rework will be needed to allow for fast_install
10775   # before this can be enabled.
10776   hardcode_into_libs=yes
10777
10778   # Append ld.so.conf contents to the search path
10779   if test -f /etc/ld.so.conf; then
10780     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' ' '`
10781     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10782   fi
10783
10784   # We used to test for /lib/ld.so.1 and disable shared libraries on
10785   # powerpc, because MkLinux only supported shared libraries with the
10786   # GNU dynamic linker.  Since this was broken with cross compilers,
10787   # most powerpc-linux boxes support dynamic linking these days and
10788   # people can always --disable-shared, the test was removed, and we
10789   # assume the GNU/Linux dynamic linker is in use.
10790   dynamic_linker='GNU/Linux ld.so'
10791   ;;
10792
10793 netbsd*)
10794   version_type=sunos
10795   need_lib_prefix=no
10796   need_version=no
10797   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10798     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10799     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10800     dynamic_linker='NetBSD (a.out) ld.so'
10801   else
10802     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10803     soname_spec='${libname}${release}${shared_ext}$major'
10804     dynamic_linker='NetBSD ld.elf_so'
10805   fi
10806   shlibpath_var=LD_LIBRARY_PATH
10807   shlibpath_overrides_runpath=yes
10808   hardcode_into_libs=yes
10809   ;;
10810
10811 newsos6)
10812   version_type=linux
10813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814   shlibpath_var=LD_LIBRARY_PATH
10815   shlibpath_overrides_runpath=yes
10816   ;;
10817
10818 *nto* | *qnx*)
10819   version_type=qnx
10820   need_lib_prefix=no
10821   need_version=no
10822   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10823   soname_spec='${libname}${release}${shared_ext}$major'
10824   shlibpath_var=LD_LIBRARY_PATH
10825   shlibpath_overrides_runpath=no
10826   hardcode_into_libs=yes
10827   dynamic_linker='ldqnx.so'
10828   ;;
10829
10830 openbsd*)
10831   version_type=sunos
10832   sys_lib_dlsearch_path_spec="/usr/lib"
10833   need_lib_prefix=no
10834   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10835   case $host_os in
10836     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10837     *)                          need_version=no  ;;
10838   esac
10839   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10840   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10841   shlibpath_var=LD_LIBRARY_PATH
10842   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10843     case $host_os in
10844       openbsd2.[89] | openbsd2.[89].*)
10845         shlibpath_overrides_runpath=no
10846         ;;
10847       *)
10848         shlibpath_overrides_runpath=yes
10849         ;;
10850       esac
10851   else
10852     shlibpath_overrides_runpath=yes
10853   fi
10854   ;;
10855
10856 os2*)
10857   libname_spec='$name'
10858   shrext_cmds=".dll"
10859   need_lib_prefix=no
10860   library_names_spec='$libname${shared_ext} $libname.a'
10861   dynamic_linker='OS/2 ld.exe'
10862   shlibpath_var=LIBPATH
10863   ;;
10864
10865 osf3* | osf4* | osf5*)
10866   version_type=osf
10867   need_lib_prefix=no
10868   need_version=no
10869   soname_spec='${libname}${release}${shared_ext}$major'
10870   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10871   shlibpath_var=LD_LIBRARY_PATH
10872   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10873   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10874   ;;
10875
10876 rdos*)
10877   dynamic_linker=no
10878   ;;
10879
10880 solaris*)
10881   version_type=linux
10882   need_lib_prefix=no
10883   need_version=no
10884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885   soname_spec='${libname}${release}${shared_ext}$major'
10886   shlibpath_var=LD_LIBRARY_PATH
10887   shlibpath_overrides_runpath=yes
10888   hardcode_into_libs=yes
10889   # ldd complains unless libraries are executable
10890   postinstall_cmds='chmod +x $lib'
10891   ;;
10892
10893 sunos4*)
10894   version_type=sunos
10895   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10896   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10897   shlibpath_var=LD_LIBRARY_PATH
10898   shlibpath_overrides_runpath=yes
10899   if test "$with_gnu_ld" = yes; then
10900     need_lib_prefix=no
10901   fi
10902   need_version=yes
10903   ;;
10904
10905 sysv4 | sysv4.3*)
10906   version_type=linux
10907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908   soname_spec='${libname}${release}${shared_ext}$major'
10909   shlibpath_var=LD_LIBRARY_PATH
10910   case $host_vendor in
10911     sni)
10912       shlibpath_overrides_runpath=no
10913       need_lib_prefix=no
10914       runpath_var=LD_RUN_PATH
10915       ;;
10916     siemens)
10917       need_lib_prefix=no
10918       ;;
10919     motorola)
10920       need_lib_prefix=no
10921       need_version=no
10922       shlibpath_overrides_runpath=no
10923       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10924       ;;
10925   esac
10926   ;;
10927
10928 sysv4*MP*)
10929   if test -d /usr/nec ;then
10930     version_type=linux
10931     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10932     soname_spec='$libname${shared_ext}.$major'
10933     shlibpath_var=LD_LIBRARY_PATH
10934   fi
10935   ;;
10936
10937 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10938   version_type=freebsd-elf
10939   need_lib_prefix=no
10940   need_version=no
10941   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10942   soname_spec='${libname}${release}${shared_ext}$major'
10943   shlibpath_var=LD_LIBRARY_PATH
10944   shlibpath_overrides_runpath=yes
10945   hardcode_into_libs=yes
10946   if test "$with_gnu_ld" = yes; then
10947     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10948   else
10949     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10950     case $host_os in
10951       sco3.2v5*)
10952         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10953         ;;
10954     esac
10955   fi
10956   sys_lib_dlsearch_path_spec='/usr/lib'
10957   ;;
10958
10959 tpf*)
10960   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10961   version_type=linux
10962   need_lib_prefix=no
10963   need_version=no
10964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10965   shlibpath_var=LD_LIBRARY_PATH
10966   shlibpath_overrides_runpath=no
10967   hardcode_into_libs=yes
10968   ;;
10969
10970 uts4*)
10971   version_type=linux
10972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10973   soname_spec='${libname}${release}${shared_ext}$major'
10974   shlibpath_var=LD_LIBRARY_PATH
10975   ;;
10976
10977 *)
10978   dynamic_linker=no
10979   ;;
10980 esac
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10982 $as_echo "$dynamic_linker" >&6; }
10983 test "$dynamic_linker" = no && can_build_shared=no
10984
10985 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10986 if test "$GCC" = yes; then
10987   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10988 fi
10989
10990 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10991   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10992 fi
10993 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10994   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10995 fi
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11089 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11090 hardcode_action=
11091 if test -n "$hardcode_libdir_flag_spec" ||
11092    test -n "$runpath_var" ||
11093    test "X$hardcode_automatic" = "Xyes" ; then
11094
11095   # We can hardcode non-existent directories.
11096   if test "$hardcode_direct" != no &&
11097      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11098      # have to relink, otherwise we might link with an installed library
11099      # when we should be linking with a yet-to-be-installed one
11100      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11101      test "$hardcode_minus_L" != no; then
11102     # Linking always hardcodes the temporary library directory.
11103     hardcode_action=relink
11104   else
11105     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11106     hardcode_action=immediate
11107   fi
11108 else
11109   # We cannot hardcode anything, or else we can only hardcode existing
11110   # directories.
11111   hardcode_action=unsupported
11112 fi
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11114 $as_echo "$hardcode_action" >&6; }
11115
11116 if test "$hardcode_action" = relink ||
11117    test "$inherit_rpath" = yes; then
11118   # Fast installation is not supported
11119   enable_fast_install=no
11120 elif test "$shlibpath_overrides_runpath" = yes ||
11121      test "$enable_shared" = no; then
11122   # Fast installation is not necessary
11123   enable_fast_install=needless
11124 fi
11125
11126
11127
11128
11129
11130
11131   if test "x$enable_dlopen" != xyes; then
11132   enable_dlopen=unknown
11133   enable_dlopen_self=unknown
11134   enable_dlopen_self_static=unknown
11135 else
11136   lt_cv_dlopen=no
11137   lt_cv_dlopen_libs=
11138
11139   case $host_os in
11140   beos*)
11141     lt_cv_dlopen="load_add_on"
11142     lt_cv_dlopen_libs=
11143     lt_cv_dlopen_self=yes
11144     ;;
11145
11146   mingw* | pw32* | cegcc*)
11147     lt_cv_dlopen="LoadLibrary"
11148     lt_cv_dlopen_libs=
11149     ;;
11150
11151   cygwin*)
11152     lt_cv_dlopen="dlopen"
11153     lt_cv_dlopen_libs=
11154     ;;
11155
11156   darwin*)
11157   # if libdl is installed we need to link against it
11158     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11159 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11160 if ${ac_cv_lib_dl_dlopen+:} false; then :
11161   $as_echo_n "(cached) " >&6
11162 else
11163   ac_check_lib_save_LIBS=$LIBS
11164 LIBS="-ldl  $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h.  */
11167
11168 /* Override any GCC internal prototype to avoid an error.
11169    Use char because int might match the return type of a GCC
11170    builtin and then its argument prototype would still apply.  */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 char dlopen ();
11175 int
11176 main ()
11177 {
11178 return dlopen ();
11179   ;
11180   return 0;
11181 }
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"; then :
11184   ac_cv_lib_dl_dlopen=yes
11185 else
11186   ac_cv_lib_dl_dlopen=no
11187 fi
11188 rm -f core conftest.err conftest.$ac_objext \
11189     conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_lib_save_LIBS
11191 fi
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11193 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11194 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11195   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11196 else
11197
11198     lt_cv_dlopen="dyld"
11199     lt_cv_dlopen_libs=
11200     lt_cv_dlopen_self=yes
11201
11202 fi
11203
11204     ;;
11205
11206   *)
11207     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11208 if test "x$ac_cv_func_shl_load" = xyes; then :
11209   lt_cv_dlopen="shl_load"
11210 else
11211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11212 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11213 if ${ac_cv_lib_dld_shl_load+:} false; then :
11214   $as_echo_n "(cached) " >&6
11215 else
11216   ac_check_lib_save_LIBS=$LIBS
11217 LIBS="-ldld  $LIBS"
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h.  */
11220
11221 /* Override any GCC internal prototype to avoid an error.
11222    Use char because int might match the return type of a GCC
11223    builtin and then its argument prototype would still apply.  */
11224 #ifdef __cplusplus
11225 extern "C"
11226 #endif
11227 char shl_load ();
11228 int
11229 main ()
11230 {
11231 return shl_load ();
11232   ;
11233   return 0;
11234 }
11235 _ACEOF
11236 if ac_fn_c_try_link "$LINENO"; then :
11237   ac_cv_lib_dld_shl_load=yes
11238 else
11239   ac_cv_lib_dld_shl_load=no
11240 fi
11241 rm -f core conftest.err conftest.$ac_objext \
11242     conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_lib_save_LIBS
11244 fi
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11246 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11247 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11248   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11249 else
11250   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11251 if test "x$ac_cv_func_dlopen" = xyes; then :
11252   lt_cv_dlopen="dlopen"
11253 else
11254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if ${ac_cv_lib_dl_dlopen+:} false; then :
11257   $as_echo_n "(cached) " >&6
11258 else
11259   ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl  $LIBS"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h.  */
11263
11264 /* Override any GCC internal prototype to avoid an error.
11265    Use char because int might match the return type of a GCC
11266    builtin and then its argument prototype would still apply.  */
11267 #ifdef __cplusplus
11268 extern "C"
11269 #endif
11270 char dlopen ();
11271 int
11272 main ()
11273 {
11274 return dlopen ();
11275   ;
11276   return 0;
11277 }
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"; then :
11280   ac_cv_lib_dl_dlopen=yes
11281 else
11282   ac_cv_lib_dl_dlopen=no
11283 fi
11284 rm -f core conftest.err conftest.$ac_objext \
11285     conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11287 fi
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11289 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11290 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11291   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11292 else
11293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11294 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11295 if ${ac_cv_lib_svld_dlopen+:} false; then :
11296   $as_echo_n "(cached) " >&6
11297 else
11298   ac_check_lib_save_LIBS=$LIBS
11299 LIBS="-lsvld  $LIBS"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h.  */
11302
11303 /* Override any GCC internal prototype to avoid an error.
11304    Use char because int might match the return type of a GCC
11305    builtin and then its argument prototype would still apply.  */
11306 #ifdef __cplusplus
11307 extern "C"
11308 #endif
11309 char dlopen ();
11310 int
11311 main ()
11312 {
11313 return dlopen ();
11314   ;
11315   return 0;
11316 }
11317 _ACEOF
11318 if ac_fn_c_try_link "$LINENO"; then :
11319   ac_cv_lib_svld_dlopen=yes
11320 else
11321   ac_cv_lib_svld_dlopen=no
11322 fi
11323 rm -f core conftest.err conftest.$ac_objext \
11324     conftest$ac_exeext conftest.$ac_ext
11325 LIBS=$ac_check_lib_save_LIBS
11326 fi
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11328 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11329 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11330   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11331 else
11332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11333 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11334 if ${ac_cv_lib_dld_dld_link+:} false; then :
11335   $as_echo_n "(cached) " >&6
11336 else
11337   ac_check_lib_save_LIBS=$LIBS
11338 LIBS="-ldld  $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h.  */
11341
11342 /* Override any GCC internal prototype to avoid an error.
11343    Use char because int might match the return type of a GCC
11344    builtin and then its argument prototype would still apply.  */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char dld_link ();
11349 int
11350 main ()
11351 {
11352 return dld_link ();
11353   ;
11354   return 0;
11355 }
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358   ac_cv_lib_dld_dld_link=yes
11359 else
11360   ac_cv_lib_dld_dld_link=no
11361 fi
11362 rm -f core conftest.err conftest.$ac_objext \
11363     conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11365 fi
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11367 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11368 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11369   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11370 fi
11371
11372
11373 fi
11374
11375
11376 fi
11377
11378
11379 fi
11380
11381
11382 fi
11383
11384
11385 fi
11386
11387     ;;
11388   esac
11389
11390   if test "x$lt_cv_dlopen" != xno; then
11391     enable_dlopen=yes
11392   else
11393     enable_dlopen=no
11394   fi
11395
11396   case $lt_cv_dlopen in
11397   dlopen)
11398     save_CPPFLAGS="$CPPFLAGS"
11399     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11400
11401     save_LDFLAGS="$LDFLAGS"
11402     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11403
11404     save_LIBS="$LIBS"
11405     LIBS="$lt_cv_dlopen_libs $LIBS"
11406
11407     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11408 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11409 if ${lt_cv_dlopen_self+:} false; then :
11410   $as_echo_n "(cached) " >&6
11411 else
11412           if test "$cross_compiling" = yes; then :
11413   lt_cv_dlopen_self=cross
11414 else
11415   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11416   lt_status=$lt_dlunknown
11417   cat > conftest.$ac_ext <<_LT_EOF
11418 #line $LINENO "configure"
11419 #include "confdefs.h"
11420
11421 #if HAVE_DLFCN_H
11422 #include <dlfcn.h>
11423 #endif
11424
11425 #include <stdio.h>
11426
11427 #ifdef RTLD_GLOBAL
11428 #  define LT_DLGLOBAL           RTLD_GLOBAL
11429 #else
11430 #  ifdef DL_GLOBAL
11431 #    define LT_DLGLOBAL         DL_GLOBAL
11432 #  else
11433 #    define LT_DLGLOBAL         0
11434 #  endif
11435 #endif
11436
11437 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11438    find out it does not work in some platform. */
11439 #ifndef LT_DLLAZY_OR_NOW
11440 #  ifdef RTLD_LAZY
11441 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11442 #  else
11443 #    ifdef DL_LAZY
11444 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11445 #    else
11446 #      ifdef RTLD_NOW
11447 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11448 #      else
11449 #        ifdef DL_NOW
11450 #          define LT_DLLAZY_OR_NOW      DL_NOW
11451 #        else
11452 #          define LT_DLLAZY_OR_NOW      0
11453 #        endif
11454 #      endif
11455 #    endif
11456 #  endif
11457 #endif
11458
11459 /* When -fvisbility=hidden is used, assume the code has been annotated
11460    correspondingly for the symbols needed.  */
11461 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11462 int fnord () __attribute__((visibility("default")));
11463 #endif
11464
11465 int fnord () { return 42; }
11466 int main ()
11467 {
11468   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11469   int status = $lt_dlunknown;
11470
11471   if (self)
11472     {
11473       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11474       else
11475         {
11476           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11477           else puts (dlerror ());
11478         }
11479       /* dlclose (self); */
11480     }
11481   else
11482     puts (dlerror ());
11483
11484   return status;
11485 }
11486 _LT_EOF
11487   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11488   (eval $ac_link) 2>&5
11489   ac_status=$?
11490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11491   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11492     (./conftest; exit; ) >&5 2>/dev/null
11493     lt_status=$?
11494     case x$lt_status in
11495       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11496       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11497       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11498     esac
11499   else :
11500     # compilation failed
11501     lt_cv_dlopen_self=no
11502   fi
11503 fi
11504 rm -fr conftest*
11505
11506
11507 fi
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11509 $as_echo "$lt_cv_dlopen_self" >&6; }
11510
11511     if test "x$lt_cv_dlopen_self" = xyes; then
11512       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11513       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11514 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11515 if ${lt_cv_dlopen_self_static+:} false; then :
11516   $as_echo_n "(cached) " >&6
11517 else
11518           if test "$cross_compiling" = yes; then :
11519   lt_cv_dlopen_self_static=cross
11520 else
11521   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11522   lt_status=$lt_dlunknown
11523   cat > conftest.$ac_ext <<_LT_EOF
11524 #line $LINENO "configure"
11525 #include "confdefs.h"
11526
11527 #if HAVE_DLFCN_H
11528 #include <dlfcn.h>
11529 #endif
11530
11531 #include <stdio.h>
11532
11533 #ifdef RTLD_GLOBAL
11534 #  define LT_DLGLOBAL           RTLD_GLOBAL
11535 #else
11536 #  ifdef DL_GLOBAL
11537 #    define LT_DLGLOBAL         DL_GLOBAL
11538 #  else
11539 #    define LT_DLGLOBAL         0
11540 #  endif
11541 #endif
11542
11543 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11544    find out it does not work in some platform. */
11545 #ifndef LT_DLLAZY_OR_NOW
11546 #  ifdef RTLD_LAZY
11547 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11548 #  else
11549 #    ifdef DL_LAZY
11550 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11551 #    else
11552 #      ifdef RTLD_NOW
11553 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11554 #      else
11555 #        ifdef DL_NOW
11556 #          define LT_DLLAZY_OR_NOW      DL_NOW
11557 #        else
11558 #          define LT_DLLAZY_OR_NOW      0
11559 #        endif
11560 #      endif
11561 #    endif
11562 #  endif
11563 #endif
11564
11565 /* When -fvisbility=hidden is used, assume the code has been annotated
11566    correspondingly for the symbols needed.  */
11567 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11568 int fnord () __attribute__((visibility("default")));
11569 #endif
11570
11571 int fnord () { return 42; }
11572 int main ()
11573 {
11574   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11575   int status = $lt_dlunknown;
11576
11577   if (self)
11578     {
11579       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11580       else
11581         {
11582           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11583           else puts (dlerror ());
11584         }
11585       /* dlclose (self); */
11586     }
11587   else
11588     puts (dlerror ());
11589
11590   return status;
11591 }
11592 _LT_EOF
11593   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11594   (eval $ac_link) 2>&5
11595   ac_status=$?
11596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11597   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11598     (./conftest; exit; ) >&5 2>/dev/null
11599     lt_status=$?
11600     case x$lt_status in
11601       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11602       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11603       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11604     esac
11605   else :
11606     # compilation failed
11607     lt_cv_dlopen_self_static=no
11608   fi
11609 fi
11610 rm -fr conftest*
11611
11612
11613 fi
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11615 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11616     fi
11617
11618     CPPFLAGS="$save_CPPFLAGS"
11619     LDFLAGS="$save_LDFLAGS"
11620     LIBS="$save_LIBS"
11621     ;;
11622   esac
11623
11624   case $lt_cv_dlopen_self in
11625   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11626   *) enable_dlopen_self=unknown ;;
11627   esac
11628
11629   case $lt_cv_dlopen_self_static in
11630   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11631   *) enable_dlopen_self_static=unknown ;;
11632   esac
11633 fi
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651 striplib=
11652 old_striplib=
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11654 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11655 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11656   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11657   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11659 $as_echo "yes" >&6; }
11660 else
11661 # FIXME - insert some real tests, host_os isn't really good enough
11662   case $host_os in
11663   darwin*)
11664     if test -n "$STRIP" ; then
11665       striplib="$STRIP -x"
11666       old_striplib="$STRIP -S"
11667       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11668 $as_echo "yes" >&6; }
11669     else
11670       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11671 $as_echo "no" >&6; }
11672     fi
11673     ;;
11674   *)
11675     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11676 $as_echo "no" >&6; }
11677     ;;
11678   esac
11679 fi
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692   # Report which library types will actually be built
11693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11694 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11696 $as_echo "$can_build_shared" >&6; }
11697
11698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11699 $as_echo_n "checking whether to build shared libraries... " >&6; }
11700   test "$can_build_shared" = "no" && enable_shared=no
11701
11702   # On AIX, shared libraries and static libraries use the same namespace, and
11703   # are all built from PIC.
11704   case $host_os in
11705   aix3*)
11706     test "$enable_shared" = yes && enable_static=no
11707     if test -n "$RANLIB"; then
11708       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11709       postinstall_cmds='$RANLIB $lib'
11710     fi
11711     ;;
11712
11713   aix[4-9]*)
11714     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11715       test "$enable_shared" = yes && enable_static=no
11716     fi
11717     ;;
11718   esac
11719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11720 $as_echo "$enable_shared" >&6; }
11721
11722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11723 $as_echo_n "checking whether to build static libraries... " >&6; }
11724   # Make sure either enable_shared or enable_static is yes.
11725   test "$enable_shared" = yes || enable_static=yes
11726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11727 $as_echo "$enable_static" >&6; }
11728
11729
11730
11731
11732 fi
11733 ac_ext=c
11734 ac_cpp='$CPP $CPPFLAGS'
11735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11738
11739 CC="$lt_save_CC"
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753         ac_config_commands="$ac_config_commands libtool"
11754
11755
11756
11757
11758 # Only expand once:
11759
11760
11761
11762 # Docygen features
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773 # Files:
11774 DX_PROJECT=opensaml
11775
11776 DX_CONFIG=doxygen.cfg
11777
11778 DX_DOCDIR=doc/api
11779
11780
11781 # Environment variables used inside doxygen.cfg:
11782 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11783
11784 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11785
11786 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11787
11788 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11789
11790
11791 # Doxygen itself:
11792
11793
11794
11795     # Check whether --enable-doxygen-doc was given.
11796 if test "${enable_doxygen_doc+set}" = set; then :
11797   enableval=$enable_doxygen_doc;
11798 case "$enableval" in
11799 #(
11800 y|Y|yes|Yes|YES)
11801     DX_FLAG_doc=1
11802
11803
11804 ;; #(
11805 n|N|no|No|NO)
11806     DX_FLAG_doc=0
11807
11808 ;; #(
11809 *)
11810     as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11811 ;;
11812 esac
11813
11814 else
11815
11816 DX_FLAG_doc=1
11817
11818
11819
11820 fi
11821
11822 if test "$DX_FLAG_doc" = 1; then
11823
11824 if test -n "$ac_tool_prefix"; then
11825   # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11826 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11828 $as_echo_n "checking for $ac_word... " >&6; }
11829 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
11830   $as_echo_n "(cached) " >&6
11831 else
11832   case $DX_DOXYGEN in
11833   [\\/]* | ?:[\\/]*)
11834   ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11835   ;;
11836   *)
11837   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11838 for as_dir in $PATH
11839 do
11840   IFS=$as_save_IFS
11841   test -z "$as_dir" && as_dir=.
11842     for ac_exec_ext in '' $ac_executable_extensions; do
11843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11844     ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11846     break 2
11847   fi
11848 done
11849   done
11850 IFS=$as_save_IFS
11851
11852   ;;
11853 esac
11854 fi
11855 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11856 if test -n "$DX_DOXYGEN"; then
11857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11858 $as_echo "$DX_DOXYGEN" >&6; }
11859 else
11860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861 $as_echo "no" >&6; }
11862 fi
11863
11864
11865 fi
11866 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11867   ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11868   # Extract the first word of "doxygen", so it can be a program name with args.
11869 set dummy doxygen; ac_word=$2
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11871 $as_echo_n "checking for $ac_word... " >&6; }
11872 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
11873   $as_echo_n "(cached) " >&6
11874 else
11875   case $ac_pt_DX_DOXYGEN in
11876   [\\/]* | ?:[\\/]*)
11877   ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11878   ;;
11879   *)
11880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $PATH
11882 do
11883   IFS=$as_save_IFS
11884   test -z "$as_dir" && as_dir=.
11885     for ac_exec_ext in '' $ac_executable_extensions; do
11886   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11887     ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11889     break 2
11890   fi
11891 done
11892   done
11893 IFS=$as_save_IFS
11894
11895   ;;
11896 esac
11897 fi
11898 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11899 if test -n "$ac_pt_DX_DOXYGEN"; then
11900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11901 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11902 else
11903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11904 $as_echo "no" >&6; }
11905 fi
11906
11907   if test "x$ac_pt_DX_DOXYGEN" = x; then
11908     DX_DOXYGEN=""
11909   else
11910     case $cross_compiling:$ac_tool_warned in
11911 yes:)
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11914 ac_tool_warned=yes ;;
11915 esac
11916     DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11917   fi
11918 else
11919   DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11920 fi
11921
11922 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11923     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11924 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11925     DX_FLAG_doc=0
11926
11927 fi
11928
11929
11930 if test -n "$ac_tool_prefix"; then
11931   # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11932 set dummy ${ac_tool_prefix}perl; ac_word=$2
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11934 $as_echo_n "checking for $ac_word... " >&6; }
11935 if ${ac_cv_path_DX_PERL+:} false; then :
11936   $as_echo_n "(cached) " >&6
11937 else
11938   case $DX_PERL in
11939   [\\/]* | ?:[\\/]*)
11940   ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11941   ;;
11942   *)
11943   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11944 for as_dir in $PATH
11945 do
11946   IFS=$as_save_IFS
11947   test -z "$as_dir" && as_dir=.
11948     for ac_exec_ext in '' $ac_executable_extensions; do
11949   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11950     ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11952     break 2
11953   fi
11954 done
11955   done
11956 IFS=$as_save_IFS
11957
11958   ;;
11959 esac
11960 fi
11961 DX_PERL=$ac_cv_path_DX_PERL
11962 if test -n "$DX_PERL"; then
11963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11964 $as_echo "$DX_PERL" >&6; }
11965 else
11966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11967 $as_echo "no" >&6; }
11968 fi
11969
11970
11971 fi
11972 if test -z "$ac_cv_path_DX_PERL"; then
11973   ac_pt_DX_PERL=$DX_PERL
11974   # Extract the first word of "perl", so it can be a program name with args.
11975 set dummy perl; ac_word=$2
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11977 $as_echo_n "checking for $ac_word... " >&6; }
11978 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
11979   $as_echo_n "(cached) " >&6
11980 else
11981   case $ac_pt_DX_PERL in
11982   [\\/]* | ?:[\\/]*)
11983   ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11984   ;;
11985   *)
11986   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11987 for as_dir in $PATH
11988 do
11989   IFS=$as_save_IFS
11990   test -z "$as_dir" && as_dir=.
11991     for ac_exec_ext in '' $ac_executable_extensions; do
11992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11993     ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11995     break 2
11996   fi
11997 done
11998   done
11999 IFS=$as_save_IFS
12000
12001   ;;
12002 esac
12003 fi
12004 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
12005 if test -n "$ac_pt_DX_PERL"; then
12006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
12007 $as_echo "$ac_pt_DX_PERL" >&6; }
12008 else
12009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12010 $as_echo "no" >&6; }
12011 fi
12012
12013   if test "x$ac_pt_DX_PERL" = x; then
12014     DX_PERL=""
12015   else
12016     case $cross_compiling:$ac_tool_warned in
12017 yes:)
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12020 ac_tool_warned=yes ;;
12021 esac
12022     DX_PERL=$ac_pt_DX_PERL
12023   fi
12024 else
12025   DX_PERL="$ac_cv_path_DX_PERL"
12026 fi
12027
12028 if test "$DX_FLAG_doc$DX_PERL" = 1; then
12029     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
12030 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
12031     DX_FLAG_doc=0
12032
12033 fi
12034
12035     :
12036 fi
12037 if test "$DX_FLAG_doc" = 1; then
12038      if :; then
12039   DX_COND_doc_TRUE=
12040   DX_COND_doc_FALSE='#'
12041 else
12042   DX_COND_doc_TRUE='#'
12043   DX_COND_doc_FALSE=
12044 fi
12045
12046     DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
12047
12048     :
12049 else
12050      if false; then
12051   DX_COND_doc_TRUE=
12052   DX_COND_doc_FALSE='#'
12053 else
12054   DX_COND_doc_TRUE='#'
12055   DX_COND_doc_FALSE=
12056 fi
12057
12058
12059     :
12060 fi
12061
12062
12063 # Dot for graphics:
12064
12065
12066
12067     # Check whether --enable-doxygen-dot was given.
12068 if test "${enable_doxygen_dot+set}" = set; then :
12069   enableval=$enable_doxygen_dot;
12070 case "$enableval" in
12071 #(
12072 y|Y|yes|Yes|YES)
12073     DX_FLAG_dot=1
12074
12075
12076 test "$DX_FLAG_doc" = "1" \
12077 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
12078
12079 ;; #(
12080 n|N|no|No|NO)
12081     DX_FLAG_dot=0
12082
12083 ;; #(
12084 *)
12085     as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
12086 ;;
12087 esac
12088
12089 else
12090
12091 DX_FLAG_dot=1
12092
12093
12094 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
12095
12096
12097
12098 fi
12099
12100 if test "$DX_FLAG_dot" = 1; then
12101
12102 if test -n "$ac_tool_prefix"; then
12103   # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
12104 set dummy ${ac_tool_prefix}dot; ac_word=$2
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12106 $as_echo_n "checking for $ac_word... " >&6; }
12107 if ${ac_cv_path_DX_DOT+:} false; then :
12108   $as_echo_n "(cached) " >&6
12109 else
12110   case $DX_DOT in
12111   [\\/]* | ?:[\\/]*)
12112   ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
12113   ;;
12114   *)
12115   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12116 for as_dir in $PATH
12117 do
12118   IFS=$as_save_IFS
12119   test -z "$as_dir" && as_dir=.
12120     for ac_exec_ext in '' $ac_executable_extensions; do
12121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12122     ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12124     break 2
12125   fi
12126 done
12127   done
12128 IFS=$as_save_IFS
12129
12130   ;;
12131 esac
12132 fi
12133 DX_DOT=$ac_cv_path_DX_DOT
12134 if test -n "$DX_DOT"; then
12135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
12136 $as_echo "$DX_DOT" >&6; }
12137 else
12138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12140 fi
12141
12142
12143 fi
12144 if test -z "$ac_cv_path_DX_DOT"; then
12145   ac_pt_DX_DOT=$DX_DOT
12146   # Extract the first word of "dot", so it can be a program name with args.
12147 set dummy dot; ac_word=$2
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12149 $as_echo_n "checking for $ac_word... " >&6; }
12150 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
12151   $as_echo_n "(cached) " >&6
12152 else
12153   case $ac_pt_DX_DOT in
12154   [\\/]* | ?:[\\/]*)
12155   ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
12156   ;;
12157   *)
12158   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12159 for as_dir in $PATH
12160 do
12161   IFS=$as_save_IFS
12162   test -z "$as_dir" && as_dir=.
12163     for ac_exec_ext in '' $ac_executable_extensions; do
12164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12165     ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12167     break 2
12168   fi
12169 done
12170   done
12171 IFS=$as_save_IFS
12172
12173   ;;
12174 esac
12175 fi
12176 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
12177 if test -n "$ac_pt_DX_DOT"; then
12178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
12179 $as_echo "$ac_pt_DX_DOT" >&6; }
12180 else
12181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12182 $as_echo "no" >&6; }
12183 fi
12184
12185   if test "x$ac_pt_DX_DOT" = x; then
12186     DX_DOT=""
12187   else
12188     case $cross_compiling:$ac_tool_warned in
12189 yes:)
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12192 ac_tool_warned=yes ;;
12193 esac
12194     DX_DOT=$ac_pt_DX_DOT
12195   fi
12196 else
12197   DX_DOT="$ac_cv_path_DX_DOT"
12198 fi
12199
12200 if test "$DX_FLAG_dot$DX_DOT" = 1; then
12201     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
12202 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
12203     DX_FLAG_dot=0
12204
12205 fi
12206
12207     :
12208 fi
12209 if test "$DX_FLAG_dot" = 1; then
12210      if :; then
12211   DX_COND_dot_TRUE=
12212   DX_COND_dot_FALSE='#'
12213 else
12214   DX_COND_dot_TRUE='#'
12215   DX_COND_dot_FALSE=
12216 fi
12217
12218     DX_ENV="$DX_ENV HAVE_DOT='YES'"
12219
12220              DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
12221
12222     :
12223 else
12224      if false; then
12225   DX_COND_dot_TRUE=
12226   DX_COND_dot_FALSE='#'
12227 else
12228   DX_COND_dot_TRUE='#'
12229   DX_COND_dot_FALSE=
12230 fi
12231
12232     DX_ENV="$DX_ENV HAVE_DOT='NO'"
12233
12234     :
12235 fi
12236
12237
12238 # Man pages generation:
12239
12240
12241
12242     # Check whether --enable-doxygen-man was given.
12243 if test "${enable_doxygen_man+set}" = set; then :
12244   enableval=$enable_doxygen_man;
12245 case "$enableval" in
12246 #(
12247 y|Y|yes|Yes|YES)
12248     DX_FLAG_man=1
12249
12250
12251 test "$DX_FLAG_doc" = "1" \
12252 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
12253
12254 ;; #(
12255 n|N|no|No|NO)
12256     DX_FLAG_man=0
12257
12258 ;; #(
12259 *)
12260     as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
12261 ;;
12262 esac
12263
12264 else
12265
12266 DX_FLAG_man=0
12267
12268
12269 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
12270
12271
12272
12273 fi
12274
12275 if test "$DX_FLAG_man" = 1; then
12276
12277     :
12278 fi
12279 if test "$DX_FLAG_man" = 1; then
12280      if :; then
12281   DX_COND_man_TRUE=
12282   DX_COND_man_FALSE='#'
12283 else
12284   DX_COND_man_TRUE='#'
12285   DX_COND_man_FALSE=
12286 fi
12287
12288     DX_ENV="$DX_ENV GENERATE_MAN='YES'"
12289
12290     :
12291 else
12292      if false; then
12293   DX_COND_man_TRUE=
12294   DX_COND_man_FALSE='#'
12295 else
12296   DX_COND_man_TRUE='#'
12297   DX_COND_man_FALSE=
12298 fi
12299
12300     DX_ENV="$DX_ENV GENERATE_MAN='NO'"
12301
12302     :
12303 fi
12304
12305
12306 # RTF file generation:
12307
12308
12309
12310     # Check whether --enable-doxygen-rtf was given.
12311 if test "${enable_doxygen_rtf+set}" = set; then :
12312   enableval=$enable_doxygen_rtf;
12313 case "$enableval" in
12314 #(
12315 y|Y|yes|Yes|YES)
12316     DX_FLAG_rtf=1
12317
12318
12319 test "$DX_FLAG_doc" = "1" \
12320 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
12321
12322 ;; #(
12323 n|N|no|No|NO)
12324     DX_FLAG_rtf=0
12325
12326 ;; #(
12327 *)
12328     as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
12329 ;;
12330 esac
12331
12332 else
12333
12334 DX_FLAG_rtf=0
12335
12336
12337 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
12338
12339
12340
12341 fi
12342
12343 if test "$DX_FLAG_rtf" = 1; then
12344
12345     :
12346 fi
12347 if test "$DX_FLAG_rtf" = 1; then
12348      if :; then
12349   DX_COND_rtf_TRUE=
12350   DX_COND_rtf_FALSE='#'
12351 else
12352   DX_COND_rtf_TRUE='#'
12353   DX_COND_rtf_FALSE=
12354 fi
12355
12356     DX_ENV="$DX_ENV GENERATE_RTF='YES'"
12357
12358     :
12359 else
12360      if false; then
12361   DX_COND_rtf_TRUE=
12362   DX_COND_rtf_FALSE='#'
12363 else
12364   DX_COND_rtf_TRUE='#'
12365   DX_COND_rtf_FALSE=
12366 fi
12367
12368     DX_ENV="$DX_ENV GENERATE_RTF='NO'"
12369
12370     :
12371 fi
12372
12373
12374 # XML file generation:
12375
12376
12377
12378     # Check whether --enable-doxygen-xml was given.
12379 if test "${enable_doxygen_xml+set}" = set; then :
12380   enableval=$enable_doxygen_xml;
12381 case "$enableval" in
12382 #(
12383 y|Y|yes|Yes|YES)
12384     DX_FLAG_xml=1
12385
12386
12387 test "$DX_FLAG_doc" = "1" \
12388 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
12389
12390 ;; #(
12391 n|N|no|No|NO)
12392     DX_FLAG_xml=0
12393
12394 ;; #(
12395 *)
12396     as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
12397 ;;
12398 esac
12399
12400 else
12401
12402 DX_FLAG_xml=0
12403
12404
12405 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
12406
12407
12408
12409 fi
12410
12411 if test "$DX_FLAG_xml" = 1; then
12412
12413     :
12414 fi
12415 if test "$DX_FLAG_xml" = 1; then
12416      if :; then
12417   DX_COND_xml_TRUE=
12418   DX_COND_xml_FALSE='#'
12419 else
12420   DX_COND_xml_TRUE='#'
12421   DX_COND_xml_FALSE=
12422 fi
12423
12424     DX_ENV="$DX_ENV GENERATE_XML='YES'"
12425
12426     :
12427 else
12428      if false; then
12429   DX_COND_xml_TRUE=
12430   DX_COND_xml_FALSE='#'
12431 else
12432   DX_COND_xml_TRUE='#'
12433   DX_COND_xml_FALSE=
12434 fi
12435
12436     DX_ENV="$DX_ENV GENERATE_XML='NO'"
12437
12438     :
12439 fi
12440
12441
12442 # (Compressed) HTML help generation:
12443
12444
12445
12446     # Check whether --enable-doxygen-chm was given.
12447 if test "${enable_doxygen_chm+set}" = set; then :
12448   enableval=$enable_doxygen_chm;
12449 case "$enableval" in
12450 #(
12451 y|Y|yes|Yes|YES)
12452     DX_FLAG_chm=1
12453
12454
12455 test "$DX_FLAG_doc" = "1" \
12456 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
12457
12458 ;; #(
12459 n|N|no|No|NO)
12460     DX_FLAG_chm=0
12461
12462 ;; #(
12463 *)
12464     as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
12465 ;;
12466 esac
12467
12468 else
12469
12470 DX_FLAG_chm=0
12471
12472
12473 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
12474
12475
12476
12477 fi
12478
12479 if test "$DX_FLAG_chm" = 1; then
12480
12481 if test -n "$ac_tool_prefix"; then
12482   # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
12483 set dummy ${ac_tool_prefix}hhc; ac_word=$2
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12485 $as_echo_n "checking for $ac_word... " >&6; }
12486 if ${ac_cv_path_DX_HHC+:} false; then :
12487   $as_echo_n "(cached) " >&6
12488 else
12489   case $DX_HHC in
12490   [\\/]* | ?:[\\/]*)
12491   ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
12492   ;;
12493   *)
12494   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495 for as_dir in $PATH
12496 do
12497   IFS=$as_save_IFS
12498   test -z "$as_dir" && as_dir=.
12499     for ac_exec_ext in '' $ac_executable_extensions; do
12500   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12501     ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12502     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12503     break 2
12504   fi
12505 done
12506   done
12507 IFS=$as_save_IFS
12508
12509   ;;
12510 esac
12511 fi
12512 DX_HHC=$ac_cv_path_DX_HHC
12513 if test -n "$DX_HHC"; then
12514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
12515 $as_echo "$DX_HHC" >&6; }
12516 else
12517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518 $as_echo "no" >&6; }
12519 fi
12520
12521
12522 fi
12523 if test -z "$ac_cv_path_DX_HHC"; then
12524   ac_pt_DX_HHC=$DX_HHC
12525   # Extract the first word of "hhc", so it can be a program name with args.
12526 set dummy hhc; ac_word=$2
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12528 $as_echo_n "checking for $ac_word... " >&6; }
12529 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
12530   $as_echo_n "(cached) " >&6
12531 else
12532   case $ac_pt_DX_HHC in
12533   [\\/]* | ?:[\\/]*)
12534   ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
12535   ;;
12536   *)
12537   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12538 for as_dir in $PATH
12539 do
12540   IFS=$as_save_IFS
12541   test -z "$as_dir" && as_dir=.
12542     for ac_exec_ext in '' $ac_executable_extensions; do
12543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12544     ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12546     break 2
12547   fi
12548 done
12549   done
12550 IFS=$as_save_IFS
12551
12552   ;;
12553 esac
12554 fi
12555 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
12556 if test -n "$ac_pt_DX_HHC"; then
12557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
12558 $as_echo "$ac_pt_DX_HHC" >&6; }
12559 else
12560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12561 $as_echo "no" >&6; }
12562 fi
12563
12564   if test "x$ac_pt_DX_HHC" = x; then
12565     DX_HHC=""
12566   else
12567     case $cross_compiling:$ac_tool_warned in
12568 yes:)
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12571 ac_tool_warned=yes ;;
12572 esac
12573     DX_HHC=$ac_pt_DX_HHC
12574   fi
12575 else
12576   DX_HHC="$ac_cv_path_DX_HHC"
12577 fi
12578
12579 if test "$DX_FLAG_chm$DX_HHC" = 1; then
12580     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
12581 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
12582     DX_FLAG_chm=0
12583
12584 fi
12585
12586     :
12587 fi
12588 if test "$DX_FLAG_chm" = 1; then
12589      if :; then
12590   DX_COND_chm_TRUE=
12591   DX_COND_chm_FALSE='#'
12592 else
12593   DX_COND_chm_TRUE='#'
12594   DX_COND_chm_FALSE=
12595 fi
12596
12597     DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
12598
12599              DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12600
12601              DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
12602
12603     :
12604 else
12605      if false; then
12606   DX_COND_chm_TRUE=
12607   DX_COND_chm_FALSE='#'
12608 else
12609   DX_COND_chm_TRUE='#'
12610   DX_COND_chm_FALSE=
12611 fi
12612
12613     DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
12614
12615     :
12616 fi
12617
12618
12619 # Seperate CHI file generation.
12620
12621
12622
12623     # Check whether --enable-doxygen-chi was given.
12624 if test "${enable_doxygen_chi+set}" = set; then :
12625   enableval=$enable_doxygen_chi;
12626 case "$enableval" in
12627 #(
12628 y|Y|yes|Yes|YES)
12629     DX_FLAG_chi=1
12630
12631
12632 test "$DX_FLAG_chm" = "1" \
12633 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
12634
12635 ;; #(
12636 n|N|no|No|NO)
12637     DX_FLAG_chi=0
12638
12639 ;; #(
12640 *)
12641     as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
12642 ;;
12643 esac
12644
12645 else
12646
12647 DX_FLAG_chi=0
12648
12649
12650 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
12651
12652
12653
12654 fi
12655
12656 if test "$DX_FLAG_chi" = 1; then
12657
12658     :
12659 fi
12660 if test "$DX_FLAG_chi" = 1; then
12661      if :; then
12662   DX_COND_chi_TRUE=
12663   DX_COND_chi_FALSE='#'
12664 else
12665   DX_COND_chi_TRUE='#'
12666   DX_COND_chi_FALSE=
12667 fi
12668
12669     DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12670
12671     :
12672 else
12673      if false; then
12674   DX_COND_chi_TRUE=
12675   DX_COND_chi_FALSE='#'
12676 else
12677   DX_COND_chi_TRUE='#'
12678   DX_COND_chi_FALSE=
12679 fi
12680
12681     DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12682
12683     :
12684 fi
12685
12686
12687 # Plain HTML pages generation:
12688
12689
12690
12691     # Check whether --enable-doxygen-html was given.
12692 if test "${enable_doxygen_html+set}" = set; then :
12693   enableval=$enable_doxygen_html;
12694 case "$enableval" in
12695 #(
12696 y|Y|yes|Yes|YES)
12697     DX_FLAG_html=1
12698
12699
12700 test "$DX_FLAG_doc" = "1" \
12701 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12702
12703 test "$DX_FLAG_chm" = "0" \
12704 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12705
12706 ;; #(
12707 n|N|no|No|NO)
12708     DX_FLAG_html=0
12709
12710 ;; #(
12711 *)
12712     as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12713 ;;
12714 esac
12715
12716 else
12717
12718 DX_FLAG_html=1
12719
12720
12721 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12722
12723
12724 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12725
12726
12727
12728 fi
12729
12730 if test "$DX_FLAG_html" = 1; then
12731
12732     :
12733 fi
12734 if test "$DX_FLAG_html" = 1; then
12735      if :; then
12736   DX_COND_html_TRUE=
12737   DX_COND_html_FALSE='#'
12738 else
12739   DX_COND_html_TRUE='#'
12740   DX_COND_html_FALSE=
12741 fi
12742
12743     DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12744
12745     :
12746 else
12747      if false; then
12748   DX_COND_html_TRUE=
12749   DX_COND_html_FALSE='#'
12750 else
12751   DX_COND_html_TRUE='#'
12752   DX_COND_html_FALSE=
12753 fi
12754
12755     test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12756
12757     :
12758 fi
12759
12760
12761 # PostScript file generation:
12762
12763
12764
12765     # Check whether --enable-doxygen-ps was given.
12766 if test "${enable_doxygen_ps+set}" = set; then :
12767   enableval=$enable_doxygen_ps;
12768 case "$enableval" in
12769 #(
12770 y|Y|yes|Yes|YES)
12771     DX_FLAG_ps=1
12772
12773
12774 test "$DX_FLAG_doc" = "1" \
12775 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12776
12777 ;; #(
12778 n|N|no|No|NO)
12779     DX_FLAG_ps=0
12780
12781 ;; #(
12782 *)
12783     as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12784 ;;
12785 esac
12786
12787 else
12788
12789 DX_FLAG_ps=0
12790
12791
12792 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12793
12794
12795
12796 fi
12797
12798 if test "$DX_FLAG_ps" = 1; then
12799
12800 if test -n "$ac_tool_prefix"; then
12801   # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12802 set dummy ${ac_tool_prefix}latex; ac_word=$2
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12804 $as_echo_n "checking for $ac_word... " >&6; }
12805 if ${ac_cv_path_DX_LATEX+:} false; then :
12806   $as_echo_n "(cached) " >&6
12807 else
12808   case $DX_LATEX in
12809   [\\/]* | ?:[\\/]*)
12810   ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12811   ;;
12812   *)
12813   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12814 for as_dir in $PATH
12815 do
12816   IFS=$as_save_IFS
12817   test -z "$as_dir" && as_dir=.
12818     for ac_exec_ext in '' $ac_executable_extensions; do
12819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12820     ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12822     break 2
12823   fi
12824 done
12825   done
12826 IFS=$as_save_IFS
12827
12828   ;;
12829 esac
12830 fi
12831 DX_LATEX=$ac_cv_path_DX_LATEX
12832 if test -n "$DX_LATEX"; then
12833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12834 $as_echo "$DX_LATEX" >&6; }
12835 else
12836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12837 $as_echo "no" >&6; }
12838 fi
12839
12840
12841 fi
12842 if test -z "$ac_cv_path_DX_LATEX"; then
12843   ac_pt_DX_LATEX=$DX_LATEX
12844   # Extract the first word of "latex", so it can be a program name with args.
12845 set dummy latex; ac_word=$2
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12847 $as_echo_n "checking for $ac_word... " >&6; }
12848 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
12849   $as_echo_n "(cached) " >&6
12850 else
12851   case $ac_pt_DX_LATEX in
12852   [\\/]* | ?:[\\/]*)
12853   ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12854   ;;
12855   *)
12856   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12857 for as_dir in $PATH
12858 do
12859   IFS=$as_save_IFS
12860   test -z "$as_dir" && as_dir=.
12861     for ac_exec_ext in '' $ac_executable_extensions; do
12862   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12863     ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12865     break 2
12866   fi
12867 done
12868   done
12869 IFS=$as_save_IFS
12870
12871   ;;
12872 esac
12873 fi
12874 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12875 if test -n "$ac_pt_DX_LATEX"; then
12876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12877 $as_echo "$ac_pt_DX_LATEX" >&6; }
12878 else
12879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12881 fi
12882
12883   if test "x$ac_pt_DX_LATEX" = x; then
12884     DX_LATEX=""
12885   else
12886     case $cross_compiling:$ac_tool_warned in
12887 yes:)
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12890 ac_tool_warned=yes ;;
12891 esac
12892     DX_LATEX=$ac_pt_DX_LATEX
12893   fi
12894 else
12895   DX_LATEX="$ac_cv_path_DX_LATEX"
12896 fi
12897
12898 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12899     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12900 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12901     DX_FLAG_ps=0
12902
12903 fi
12904
12905
12906 if test -n "$ac_tool_prefix"; then
12907   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12908 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12910 $as_echo_n "checking for $ac_word... " >&6; }
12911 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
12912   $as_echo_n "(cached) " >&6
12913 else
12914   case $DX_MAKEINDEX in
12915   [\\/]* | ?:[\\/]*)
12916   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12917   ;;
12918   *)
12919   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12920 for as_dir in $PATH
12921 do
12922   IFS=$as_save_IFS
12923   test -z "$as_dir" && as_dir=.
12924     for ac_exec_ext in '' $ac_executable_extensions; do
12925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12926     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12928     break 2
12929   fi
12930 done
12931   done
12932 IFS=$as_save_IFS
12933
12934   ;;
12935 esac
12936 fi
12937 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12938 if test -n "$DX_MAKEINDEX"; then
12939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12940 $as_echo "$DX_MAKEINDEX" >&6; }
12941 else
12942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12943 $as_echo "no" >&6; }
12944 fi
12945
12946
12947 fi
12948 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12949   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12950   # Extract the first word of "makeindex", so it can be a program name with args.
12951 set dummy makeindex; ac_word=$2
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12953 $as_echo_n "checking for $ac_word... " >&6; }
12954 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
12955   $as_echo_n "(cached) " >&6
12956 else
12957   case $ac_pt_DX_MAKEINDEX in
12958   [\\/]* | ?:[\\/]*)
12959   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12960   ;;
12961   *)
12962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12963 for as_dir in $PATH
12964 do
12965   IFS=$as_save_IFS
12966   test -z "$as_dir" && as_dir=.
12967     for ac_exec_ext in '' $ac_executable_extensions; do
12968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12969     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12971     break 2
12972   fi
12973 done
12974   done
12975 IFS=$as_save_IFS
12976
12977   ;;
12978 esac
12979 fi
12980 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12981 if test -n "$ac_pt_DX_MAKEINDEX"; then
12982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12983 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12984 else
12985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12986 $as_echo "no" >&6; }
12987 fi
12988
12989   if test "x$ac_pt_DX_MAKEINDEX" = x; then
12990     DX_MAKEINDEX=""
12991   else
12992     case $cross_compiling:$ac_tool_warned in
12993 yes:)
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12996 ac_tool_warned=yes ;;
12997 esac
12998     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12999   fi
13000 else
13001   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13002 fi
13003
13004 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
13005     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
13006 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
13007     DX_FLAG_ps=0
13008
13009 fi
13010
13011
13012 if test -n "$ac_tool_prefix"; then
13013   # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
13014 set dummy ${ac_tool_prefix}dvips; ac_word=$2
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13016 $as_echo_n "checking for $ac_word... " >&6; }
13017 if ${ac_cv_path_DX_DVIPS+:} false; then :
13018   $as_echo_n "(cached) " >&6
13019 else
13020   case $DX_DVIPS in
13021   [\\/]* | ?:[\\/]*)
13022   ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
13023   ;;
13024   *)
13025   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13026 for as_dir in $PATH
13027 do
13028   IFS=$as_save_IFS
13029   test -z "$as_dir" && as_dir=.
13030     for ac_exec_ext in '' $ac_executable_extensions; do
13031   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13032     ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13034     break 2
13035   fi
13036 done
13037   done
13038 IFS=$as_save_IFS
13039
13040   ;;
13041 esac
13042 fi
13043 DX_DVIPS=$ac_cv_path_DX_DVIPS
13044 if test -n "$DX_DVIPS"; then
13045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
13046 $as_echo "$DX_DVIPS" >&6; }
13047 else
13048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13049 $as_echo "no" >&6; }
13050 fi
13051
13052
13053 fi
13054 if test -z "$ac_cv_path_DX_DVIPS"; then
13055   ac_pt_DX_DVIPS=$DX_DVIPS
13056   # Extract the first word of "dvips", so it can be a program name with args.
13057 set dummy dvips; ac_word=$2
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13059 $as_echo_n "checking for $ac_word... " >&6; }
13060 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
13061   $as_echo_n "(cached) " >&6
13062 else
13063   case $ac_pt_DX_DVIPS in
13064   [\\/]* | ?:[\\/]*)
13065   ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
13066   ;;
13067   *)
13068   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13069 for as_dir in $PATH
13070 do
13071   IFS=$as_save_IFS
13072   test -z "$as_dir" && as_dir=.
13073     for ac_exec_ext in '' $ac_executable_extensions; do
13074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13075     ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13077     break 2
13078   fi
13079 done
13080   done
13081 IFS=$as_save_IFS
13082
13083   ;;
13084 esac
13085 fi
13086 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
13087 if test -n "$ac_pt_DX_DVIPS"; then
13088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
13089 $as_echo "$ac_pt_DX_DVIPS" >&6; }
13090 else
13091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13092 $as_echo "no" >&6; }
13093 fi
13094
13095   if test "x$ac_pt_DX_DVIPS" = x; then
13096     DX_DVIPS=""
13097   else
13098     case $cross_compiling:$ac_tool_warned in
13099 yes:)
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13102 ac_tool_warned=yes ;;
13103 esac
13104     DX_DVIPS=$ac_pt_DX_DVIPS
13105   fi
13106 else
13107   DX_DVIPS="$ac_cv_path_DX_DVIPS"
13108 fi
13109
13110 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
13111     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
13112 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
13113     DX_FLAG_ps=0
13114
13115 fi
13116
13117
13118 if test -n "$ac_tool_prefix"; then
13119   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13120 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13122 $as_echo_n "checking for $ac_word... " >&6; }
13123 if ${ac_cv_path_DX_EGREP+:} false; then :
13124   $as_echo_n "(cached) " >&6
13125 else
13126   case $DX_EGREP in
13127   [\\/]* | ?:[\\/]*)
13128   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13129   ;;
13130   *)
13131   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13132 for as_dir in $PATH
13133 do
13134   IFS=$as_save_IFS
13135   test -z "$as_dir" && as_dir=.
13136     for ac_exec_ext in '' $ac_executable_extensions; do
13137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13138     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13140     break 2
13141   fi
13142 done
13143   done
13144 IFS=$as_save_IFS
13145
13146   ;;
13147 esac
13148 fi
13149 DX_EGREP=$ac_cv_path_DX_EGREP
13150 if test -n "$DX_EGREP"; then
13151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13152 $as_echo "$DX_EGREP" >&6; }
13153 else
13154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13155 $as_echo "no" >&6; }
13156 fi
13157
13158
13159 fi
13160 if test -z "$ac_cv_path_DX_EGREP"; then
13161   ac_pt_DX_EGREP=$DX_EGREP
13162   # Extract the first word of "egrep", so it can be a program name with args.
13163 set dummy egrep; ac_word=$2
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13165 $as_echo_n "checking for $ac_word... " >&6; }
13166 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13167   $as_echo_n "(cached) " >&6
13168 else
13169   case $ac_pt_DX_EGREP in
13170   [\\/]* | ?:[\\/]*)
13171   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13172   ;;
13173   *)
13174   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13175 for as_dir in $PATH
13176 do
13177   IFS=$as_save_IFS
13178   test -z "$as_dir" && as_dir=.
13179     for ac_exec_ext in '' $ac_executable_extensions; do
13180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13181     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13183     break 2
13184   fi
13185 done
13186   done
13187 IFS=$as_save_IFS
13188
13189   ;;
13190 esac
13191 fi
13192 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13193 if test -n "$ac_pt_DX_EGREP"; then
13194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13195 $as_echo "$ac_pt_DX_EGREP" >&6; }
13196 else
13197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13198 $as_echo "no" >&6; }
13199 fi
13200
13201   if test "x$ac_pt_DX_EGREP" = x; then
13202     DX_EGREP=""
13203   else
13204     case $cross_compiling:$ac_tool_warned in
13205 yes:)
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13208 ac_tool_warned=yes ;;
13209 esac
13210     DX_EGREP=$ac_pt_DX_EGREP
13211   fi
13212 else
13213   DX_EGREP="$ac_cv_path_DX_EGREP"
13214 fi
13215
13216 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
13217     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
13218 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
13219     DX_FLAG_ps=0
13220
13221 fi
13222
13223     :
13224 fi
13225 if test "$DX_FLAG_ps" = 1; then
13226      if :; then
13227   DX_COND_ps_TRUE=
13228   DX_COND_ps_FALSE='#'
13229 else
13230   DX_COND_ps_TRUE='#'
13231   DX_COND_ps_FALSE=
13232 fi
13233
13234
13235     :
13236 else
13237      if false; then
13238   DX_COND_ps_TRUE=
13239   DX_COND_ps_FALSE='#'
13240 else
13241   DX_COND_ps_TRUE='#'
13242   DX_COND_ps_FALSE=
13243 fi
13244
13245
13246     :
13247 fi
13248
13249
13250 # PDF file generation:
13251
13252
13253
13254     # Check whether --enable-doxygen-pdf was given.
13255 if test "${enable_doxygen_pdf+set}" = set; then :
13256   enableval=$enable_doxygen_pdf;
13257 case "$enableval" in
13258 #(
13259 y|Y|yes|Yes|YES)
13260     DX_FLAG_pdf=1
13261
13262
13263 test "$DX_FLAG_doc" = "1" \
13264 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
13265
13266 ;; #(
13267 n|N|no|No|NO)
13268     DX_FLAG_pdf=0
13269
13270 ;; #(
13271 *)
13272     as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
13273 ;;
13274 esac
13275
13276 else
13277
13278 DX_FLAG_pdf=0
13279
13280
13281 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
13282
13283
13284
13285 fi
13286
13287 if test "$DX_FLAG_pdf" = 1; then
13288
13289 if test -n "$ac_tool_prefix"; then
13290   # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
13291 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13293 $as_echo_n "checking for $ac_word... " >&6; }
13294 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
13295   $as_echo_n "(cached) " >&6
13296 else
13297   case $DX_PDFLATEX in
13298   [\\/]* | ?:[\\/]*)
13299   ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
13300   ;;
13301   *)
13302   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13303 for as_dir in $PATH
13304 do
13305   IFS=$as_save_IFS
13306   test -z "$as_dir" && as_dir=.
13307     for ac_exec_ext in '' $ac_executable_extensions; do
13308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13309     ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13311     break 2
13312   fi
13313 done
13314   done
13315 IFS=$as_save_IFS
13316
13317   ;;
13318 esac
13319 fi
13320 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
13321 if test -n "$DX_PDFLATEX"; then
13322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
13323 $as_echo "$DX_PDFLATEX" >&6; }
13324 else
13325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13326 $as_echo "no" >&6; }
13327 fi
13328
13329
13330 fi
13331 if test -z "$ac_cv_path_DX_PDFLATEX"; then
13332   ac_pt_DX_PDFLATEX=$DX_PDFLATEX
13333   # Extract the first word of "pdflatex", so it can be a program name with args.
13334 set dummy pdflatex; ac_word=$2
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13336 $as_echo_n "checking for $ac_word... " >&6; }
13337 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
13338   $as_echo_n "(cached) " >&6
13339 else
13340   case $ac_pt_DX_PDFLATEX in
13341   [\\/]* | ?:[\\/]*)
13342   ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
13343   ;;
13344   *)
13345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13346 for as_dir in $PATH
13347 do
13348   IFS=$as_save_IFS
13349   test -z "$as_dir" && as_dir=.
13350     for ac_exec_ext in '' $ac_executable_extensions; do
13351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13352     ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13354     break 2
13355   fi
13356 done
13357   done
13358 IFS=$as_save_IFS
13359
13360   ;;
13361 esac
13362 fi
13363 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
13364 if test -n "$ac_pt_DX_PDFLATEX"; then
13365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
13366 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
13367 else
13368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13369 $as_echo "no" >&6; }
13370 fi
13371
13372   if test "x$ac_pt_DX_PDFLATEX" = x; then
13373     DX_PDFLATEX=""
13374   else
13375     case $cross_compiling:$ac_tool_warned in
13376 yes:)
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13379 ac_tool_warned=yes ;;
13380 esac
13381     DX_PDFLATEX=$ac_pt_DX_PDFLATEX
13382   fi
13383 else
13384   DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
13385 fi
13386
13387 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
13388     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
13389 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
13390     DX_FLAG_pdf=0
13391
13392 fi
13393
13394
13395 if test -n "$ac_tool_prefix"; then
13396   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13397 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13399 $as_echo_n "checking for $ac_word... " >&6; }
13400 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
13401   $as_echo_n "(cached) " >&6
13402 else
13403   case $DX_MAKEINDEX in
13404   [\\/]* | ?:[\\/]*)
13405   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13406   ;;
13407   *)
13408   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13409 for as_dir in $PATH
13410 do
13411   IFS=$as_save_IFS
13412   test -z "$as_dir" && as_dir=.
13413     for ac_exec_ext in '' $ac_executable_extensions; do
13414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13415     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13417     break 2
13418   fi
13419 done
13420   done
13421 IFS=$as_save_IFS
13422
13423   ;;
13424 esac
13425 fi
13426 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13427 if test -n "$DX_MAKEINDEX"; then
13428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13429 $as_echo "$DX_MAKEINDEX" >&6; }
13430 else
13431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13432 $as_echo "no" >&6; }
13433 fi
13434
13435
13436 fi
13437 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13438   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13439   # Extract the first word of "makeindex", so it can be a program name with args.
13440 set dummy makeindex; ac_word=$2
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13442 $as_echo_n "checking for $ac_word... " >&6; }
13443 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
13444   $as_echo_n "(cached) " >&6
13445 else
13446   case $ac_pt_DX_MAKEINDEX in
13447   [\\/]* | ?:[\\/]*)
13448   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13449   ;;
13450   *)
13451   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13452 for as_dir in $PATH
13453 do
13454   IFS=$as_save_IFS
13455   test -z "$as_dir" && as_dir=.
13456     for ac_exec_ext in '' $ac_executable_extensions; do
13457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13458     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13460     break 2
13461   fi
13462 done
13463   done
13464 IFS=$as_save_IFS
13465
13466   ;;
13467 esac
13468 fi
13469 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13470 if test -n "$ac_pt_DX_MAKEINDEX"; then
13471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13472 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13473 else
13474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13475 $as_echo "no" >&6; }
13476 fi
13477
13478   if test "x$ac_pt_DX_MAKEINDEX" = x; then
13479     DX_MAKEINDEX=""
13480   else
13481     case $cross_compiling:$ac_tool_warned in
13482 yes:)
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13485 ac_tool_warned=yes ;;
13486 esac
13487     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13488   fi
13489 else
13490   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13491 fi
13492
13493 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
13494     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
13495 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
13496     DX_FLAG_pdf=0
13497
13498 fi
13499
13500
13501 if test -n "$ac_tool_prefix"; then
13502   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13503 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13505 $as_echo_n "checking for $ac_word... " >&6; }
13506 if ${ac_cv_path_DX_EGREP+:} false; then :
13507   $as_echo_n "(cached) " >&6
13508 else
13509   case $DX_EGREP in
13510   [\\/]* | ?:[\\/]*)
13511   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13512   ;;
13513   *)
13514   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13515 for as_dir in $PATH
13516 do
13517   IFS=$as_save_IFS
13518   test -z "$as_dir" && as_dir=.
13519     for ac_exec_ext in '' $ac_executable_extensions; do
13520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13521     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13523     break 2
13524   fi
13525 done
13526   done
13527 IFS=$as_save_IFS
13528
13529   ;;
13530 esac
13531 fi
13532 DX_EGREP=$ac_cv_path_DX_EGREP
13533 if test -n "$DX_EGREP"; then
13534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13535 $as_echo "$DX_EGREP" >&6; }
13536 else
13537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13538 $as_echo "no" >&6; }
13539 fi
13540
13541
13542 fi
13543 if test -z "$ac_cv_path_DX_EGREP"; then
13544   ac_pt_DX_EGREP=$DX_EGREP
13545   # Extract the first word of "egrep", so it can be a program name with args.
13546 set dummy egrep; ac_word=$2
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13548 $as_echo_n "checking for $ac_word... " >&6; }
13549 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13550   $as_echo_n "(cached) " >&6
13551 else
13552   case $ac_pt_DX_EGREP in
13553   [\\/]* | ?:[\\/]*)
13554   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13555   ;;
13556   *)
13557   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13558 for as_dir in $PATH
13559 do
13560   IFS=$as_save_IFS
13561   test -z "$as_dir" && as_dir=.
13562     for ac_exec_ext in '' $ac_executable_extensions; do
13563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13564     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13566     break 2
13567   fi
13568 done
13569   done
13570 IFS=$as_save_IFS
13571
13572   ;;
13573 esac
13574 fi
13575 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13576 if test -n "$ac_pt_DX_EGREP"; then
13577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13578 $as_echo "$ac_pt_DX_EGREP" >&6; }
13579 else
13580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13581 $as_echo "no" >&6; }
13582 fi
13583
13584   if test "x$ac_pt_DX_EGREP" = x; then
13585     DX_EGREP=""
13586   else
13587     case $cross_compiling:$ac_tool_warned in
13588 yes:)
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13591 ac_tool_warned=yes ;;
13592 esac
13593     DX_EGREP=$ac_pt_DX_EGREP
13594   fi
13595 else
13596   DX_EGREP="$ac_cv_path_DX_EGREP"
13597 fi
13598
13599 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
13600     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
13601 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
13602     DX_FLAG_pdf=0
13603
13604 fi
13605
13606     :
13607 fi
13608 if test "$DX_FLAG_pdf" = 1; then
13609      if :; then
13610   DX_COND_pdf_TRUE=
13611   DX_COND_pdf_FALSE='#'
13612 else
13613   DX_COND_pdf_TRUE='#'
13614   DX_COND_pdf_FALSE=
13615 fi
13616
13617
13618     :
13619 else
13620      if false; then
13621   DX_COND_pdf_TRUE=
13622   DX_COND_pdf_FALSE='#'
13623 else
13624   DX_COND_pdf_TRUE='#'
13625   DX_COND_pdf_FALSE=
13626 fi
13627
13628
13629     :
13630 fi
13631
13632
13633 # LaTeX generation for PS and/or PDF:
13634 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
13635      if :; then
13636   DX_COND_latex_TRUE=
13637   DX_COND_latex_FALSE='#'
13638 else
13639   DX_COND_latex_TRUE='#'
13640   DX_COND_latex_FALSE=
13641 fi
13642
13643     DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
13644
13645 else
13646      if false; then
13647   DX_COND_latex_TRUE=
13648   DX_COND_latex_FALSE='#'
13649 else
13650   DX_COND_latex_TRUE='#'
13651   DX_COND_latex_FALSE=
13652 fi
13653
13654     DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
13655
13656 fi
13657
13658 # Paper size for PS and/or PDF:
13659
13660 case "$DOXYGEN_PAPER_SIZE" in
13661 #(
13662 "")
13663     DOXYGEN_PAPER_SIZE=""
13664
13665 ;; #(
13666 a4wide|a4|letter|legal|executive)
13667     DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
13668
13669 ;; #(
13670 *)
13671     as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13672 ;;
13673 esac
13674
13675 #For debugging:
13676 #echo DX_FLAG_doc=$DX_FLAG_doc
13677 #echo DX_FLAG_dot=$DX_FLAG_dot
13678 #echo DX_FLAG_man=$DX_FLAG_man
13679 #echo DX_FLAG_html=$DX_FLAG_html
13680 #echo DX_FLAG_chm=$DX_FLAG_chm
13681 #echo DX_FLAG_chi=$DX_FLAG_chi
13682 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13683 #echo DX_FLAG_xml=$DX_FLAG_xml
13684 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13685 #echo DX_FLAG_ps=$DX_FLAG_ps
13686 #echo DX_ENV=$DX_ENV
13687
13688 DX_INCLUDE=
13689
13690 # Check whether --enable-debug was given.
13691 if test "${enable_debug+set}" = set; then :
13692   enableval=$enable_debug; enable_debug=$enableval
13693 else
13694   enable_debug=no
13695 fi
13696
13697
13698 if test "$enable_debug" = "yes" ; then
13699     GCC_CFLAGS="$CFLAGS -Wall -g -D_DEBUG"
13700     GCC_CXXFLAGS="$CXXFLAGS -Wall -g -D_DEBUG"
13701 else
13702     GCC_CFLAGS="$CFLAGS -Wall -O2 -DNDEBUG"
13703     GCC_CXXFLAGS="$CXXFLAGS -Wall -O2 -DNDEBUG"
13704 fi
13705
13706 ac_config_headers="$ac_config_headers config.h"
13707
13708 ac_config_files="$ac_config_files opensaml.spec pkginfo Portfile"
13709
13710 ac_config_files="$ac_config_files Makefile saml/Makefile samltest/Makefile samlsign/Makefile schemas/Makefile doc/Makefile"
13711
13712
13713 ac_ext=c
13714 ac_cpp='$CPP $CPPFLAGS'
13715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13718 if test -n "$ac_tool_prefix"; then
13719   for ac_prog in gcc gcc3 cc
13720   do
13721     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13724 $as_echo_n "checking for $ac_word... " >&6; }
13725 if ${ac_cv_prog_CC+:} false; then :
13726   $as_echo_n "(cached) " >&6
13727 else
13728   if test -n "$CC"; then
13729   ac_cv_prog_CC="$CC" # Let the user override the test.
13730 else
13731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13732 for as_dir in $PATH
13733 do
13734   IFS=$as_save_IFS
13735   test -z "$as_dir" && as_dir=.
13736     for ac_exec_ext in '' $ac_executable_extensions; do
13737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13738     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13740     break 2
13741   fi
13742 done
13743   done
13744 IFS=$as_save_IFS
13745
13746 fi
13747 fi
13748 CC=$ac_cv_prog_CC
13749 if test -n "$CC"; then
13750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13751 $as_echo "$CC" >&6; }
13752 else
13753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13754 $as_echo "no" >&6; }
13755 fi
13756
13757
13758     test -n "$CC" && break
13759   done
13760 fi
13761 if test -z "$CC"; then
13762   ac_ct_CC=$CC
13763   for ac_prog in gcc gcc3 cc
13764 do
13765   # Extract the first word of "$ac_prog", so it can be a program name with args.
13766 set dummy $ac_prog; ac_word=$2
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13768 $as_echo_n "checking for $ac_word... " >&6; }
13769 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13770   $as_echo_n "(cached) " >&6
13771 else
13772   if test -n "$ac_ct_CC"; then
13773   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13774 else
13775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13776 for as_dir in $PATH
13777 do
13778   IFS=$as_save_IFS
13779   test -z "$as_dir" && as_dir=.
13780     for ac_exec_ext in '' $ac_executable_extensions; do
13781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13782     ac_cv_prog_ac_ct_CC="$ac_prog"
13783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13784     break 2
13785   fi
13786 done
13787   done
13788 IFS=$as_save_IFS
13789
13790 fi
13791 fi
13792 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13793 if test -n "$ac_ct_CC"; then
13794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13795 $as_echo "$ac_ct_CC" >&6; }
13796 else
13797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13798 $as_echo "no" >&6; }
13799 fi
13800
13801
13802   test -n "$ac_ct_CC" && break
13803 done
13804
13805   if test "x$ac_ct_CC" = x; then
13806     CC=""
13807   else
13808     case $cross_compiling:$ac_tool_warned in
13809 yes:)
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13812 ac_tool_warned=yes ;;
13813 esac
13814     CC=$ac_ct_CC
13815   fi
13816 fi
13817
13818
13819 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13821 as_fn_error $? "no acceptable C compiler found in \$PATH
13822 See \`config.log' for more details" "$LINENO" 5; }
13823
13824 # Provide some information about the compiler.
13825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13826 set X $ac_compile
13827 ac_compiler=$2
13828 for ac_option in --version -v -V -qversion; do
13829   { { ac_try="$ac_compiler $ac_option >&5"
13830 case "(($ac_try" in
13831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13832   *) ac_try_echo=$ac_try;;
13833 esac
13834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13835 $as_echo "$ac_try_echo"; } >&5
13836   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13837   ac_status=$?
13838   if test -s conftest.err; then
13839     sed '10a\
13840 ... rest of stderr output deleted ...
13841          10q' conftest.err >conftest.er1
13842     cat conftest.er1 >&5
13843   fi
13844   rm -f conftest.er1 conftest.err
13845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13846   test $ac_status = 0; }
13847 done
13848
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13850 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13851 if ${ac_cv_c_compiler_gnu+:} false; then :
13852   $as_echo_n "(cached) " >&6
13853 else
13854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13855 /* end confdefs.h.  */
13856
13857 int
13858 main ()
13859 {
13860 #ifndef __GNUC__
13861        choke me
13862 #endif
13863
13864   ;
13865   return 0;
13866 }
13867 _ACEOF
13868 if ac_fn_c_try_compile "$LINENO"; then :
13869   ac_compiler_gnu=yes
13870 else
13871   ac_compiler_gnu=no
13872 fi
13873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13874 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13875
13876 fi
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13878 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13879 if test $ac_compiler_gnu = yes; then
13880   GCC=yes
13881 else
13882   GCC=
13883 fi
13884 ac_test_CFLAGS=${CFLAGS+set}
13885 ac_save_CFLAGS=$CFLAGS
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13887 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13888 if ${ac_cv_prog_cc_g+:} false; then :
13889   $as_echo_n "(cached) " >&6
13890 else
13891   ac_save_c_werror_flag=$ac_c_werror_flag
13892    ac_c_werror_flag=yes
13893    ac_cv_prog_cc_g=no
13894    CFLAGS="-g"
13895    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h.  */
13897
13898 int
13899 main ()
13900 {
13901
13902   ;
13903   return 0;
13904 }
13905 _ACEOF
13906 if ac_fn_c_try_compile "$LINENO"; then :
13907   ac_cv_prog_cc_g=yes
13908 else
13909   CFLAGS=""
13910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h.  */
13912
13913 int
13914 main ()
13915 {
13916
13917   ;
13918   return 0;
13919 }
13920 _ACEOF
13921 if ac_fn_c_try_compile "$LINENO"; then :
13922
13923 else
13924   ac_c_werror_flag=$ac_save_c_werror_flag
13925          CFLAGS="-g"
13926          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h.  */
13928
13929 int
13930 main ()
13931 {
13932
13933   ;
13934   return 0;
13935 }
13936 _ACEOF
13937 if ac_fn_c_try_compile "$LINENO"; then :
13938   ac_cv_prog_cc_g=yes
13939 fi
13940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13941 fi
13942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13943 fi
13944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13945    ac_c_werror_flag=$ac_save_c_werror_flag
13946 fi
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13948 $as_echo "$ac_cv_prog_cc_g" >&6; }
13949 if test "$ac_test_CFLAGS" = set; then
13950   CFLAGS=$ac_save_CFLAGS
13951 elif test $ac_cv_prog_cc_g = yes; then
13952   if test "$GCC" = yes; then
13953     CFLAGS="-g -O2"
13954   else
13955     CFLAGS="-g"
13956   fi
13957 else
13958   if test "$GCC" = yes; then
13959     CFLAGS="-O2"
13960   else
13961     CFLAGS=
13962   fi
13963 fi
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13965 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13966 if ${ac_cv_prog_cc_c89+:} false; then :
13967   $as_echo_n "(cached) " >&6
13968 else
13969   ac_cv_prog_cc_c89=no
13970 ac_save_CC=$CC
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h.  */
13973 #include <stdarg.h>
13974 #include <stdio.h>
13975 #include <sys/types.h>
13976 #include <sys/stat.h>
13977 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13978 struct buf { int x; };
13979 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13980 static char *e (p, i)
13981      char **p;
13982      int i;
13983 {
13984   return p[i];
13985 }
13986 static char *f (char * (*g) (char **, int), char **p, ...)
13987 {
13988   char *s;
13989   va_list v;
13990   va_start (v,p);
13991   s = g (p, va_arg (v,int));
13992   va_end (v);
13993   return s;
13994 }
13995
13996 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13997    function prototypes and stuff, but not '\xHH' hex character constants.
13998    These don't provoke an error unfortunately, instead are silently treated
13999    as 'x'.  The following induces an error, until -std is added to get
14000    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
14001    array size at least.  It's necessary to write '\x00'==0 to get something
14002    that's true only with -std.  */
14003 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14004
14005 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14006    inside strings and character constants.  */
14007 #define FOO(x) 'x'
14008 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14009
14010 int test (int i, double x);
14011 struct s1 {int (*f) (int a);};
14012 struct s2 {int (*f) (double a);};
14013 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14014 int argc;
14015 char **argv;
14016 int
14017 main ()
14018 {
14019 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
14020   ;
14021   return 0;
14022 }
14023 _ACEOF
14024 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14025         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14026 do
14027   CC="$ac_save_CC $ac_arg"
14028   if ac_fn_c_try_compile "$LINENO"; then :
14029   ac_cv_prog_cc_c89=$ac_arg
14030 fi
14031 rm -f core conftest.err conftest.$ac_objext
14032   test "x$ac_cv_prog_cc_c89" != "xno" && break
14033 done
14034 rm -f conftest.$ac_ext
14035 CC=$ac_save_CC
14036
14037 fi
14038 # AC_CACHE_VAL
14039 case "x$ac_cv_prog_cc_c89" in
14040   x)
14041     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14042 $as_echo "none needed" >&6; } ;;
14043   xno)
14044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14045 $as_echo "unsupported" >&6; } ;;
14046   *)
14047     CC="$CC $ac_cv_prog_cc_c89"
14048     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14049 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14050 esac
14051 if test "x$ac_cv_prog_cc_c89" != xno; then :
14052
14053 fi
14054
14055 ac_ext=c
14056 ac_cpp='$CPP $CPPFLAGS'
14057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14060
14061 depcc="$CC"   am_compiler_list=
14062
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14064 $as_echo_n "checking dependency style of $depcc... " >&6; }
14065 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14066   $as_echo_n "(cached) " >&6
14067 else
14068   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14069   # We make a subdir and do the tests there.  Otherwise we can end up
14070   # making bogus files that we don't know about and never remove.  For
14071   # instance it was reported that on HP-UX the gcc test will end up
14072   # making a dummy file named `D' -- because `-MD' means `put the output
14073   # in D'.
14074   mkdir conftest.dir
14075   # Copy depcomp to subdir because otherwise we won't find it if we're
14076   # using a relative directory.
14077   cp "$am_depcomp" conftest.dir
14078   cd conftest.dir
14079   # We will build objects and dependencies in a subdirectory because
14080   # it helps to detect inapplicable dependency modes.  For instance
14081   # both Tru64's cc and ICC support -MD to output dependencies as a
14082   # side effect of compilation, but ICC will put the dependencies in
14083   # the current directory while Tru64 will put them in the object
14084   # directory.
14085   mkdir sub
14086
14087   am_cv_CC_dependencies_compiler_type=none
14088   if test "$am_compiler_list" = ""; then
14089      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14090   fi
14091   am__universal=false
14092   case " $depcc " in #(
14093      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14094      esac
14095
14096   for depmode in $am_compiler_list; do
14097     # Setup a source with many dependencies, because some compilers
14098     # like to wrap large dependency lists on column 80 (with \), and
14099     # we should not choose a depcomp mode which is confused by this.
14100     #
14101     # We need to recreate these files for each test, as the compiler may
14102     # overwrite some of them when testing with obscure command lines.
14103     # This happens at least with the AIX C compiler.
14104     : > sub/conftest.c
14105     for i in 1 2 3 4 5 6; do
14106       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14107       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14108       # Solaris 8's {/usr,}/bin/sh.
14109       touch sub/conftst$i.h
14110     done
14111     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14112
14113     # We check with `-c' and `-o' for the sake of the "dashmstdout"
14114     # mode.  It turns out that the SunPro C++ compiler does not properly
14115     # handle `-M -o', and we need to detect this.  Also, some Intel
14116     # versions had trouble with output in subdirs
14117     am__obj=sub/conftest.${OBJEXT-o}
14118     am__minus_obj="-o $am__obj"
14119     case $depmode in
14120     gcc)
14121       # This depmode causes a compiler race in universal mode.
14122       test "$am__universal" = false || continue
14123       ;;
14124     nosideeffect)
14125       # after this tag, mechanisms are not by side-effect, so they'll
14126       # only be used when explicitly requested
14127       if test "x$enable_dependency_tracking" = xyes; then
14128         continue
14129       else
14130         break
14131       fi
14132       ;;
14133     msvisualcpp | msvcmsys)
14134       # This compiler won't grok `-c -o', but also, the minuso test has
14135       # not run yet.  These depmodes are late enough in the game, and
14136       # so weak that their functioning should not be impacted.
14137       am__obj=conftest.${OBJEXT-o}
14138       am__minus_obj=
14139       ;;
14140     none) break ;;
14141     esac
14142     if depmode=$depmode \
14143        source=sub/conftest.c object=$am__obj \
14144        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14145        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14146          >/dev/null 2>conftest.err &&
14147        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14148        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14149        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14150        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14151       # icc doesn't choke on unknown options, it will just issue warnings
14152       # or remarks (even with -Werror).  So we grep stderr for any message
14153       # that says an option was ignored or not supported.
14154       # When given -MP, icc 7.0 and 7.1 complain thusly:
14155       #   icc: Command line warning: ignoring option '-M'; no argument required
14156       # The diagnosis changed in icc 8.0:
14157       #   icc: Command line remark: option '-MP' not supported
14158       if (grep 'ignoring option' conftest.err ||
14159           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14160         am_cv_CC_dependencies_compiler_type=$depmode
14161         break
14162       fi
14163     fi
14164   done
14165
14166   cd ..
14167   rm -rf conftest.dir
14168 else
14169   am_cv_CC_dependencies_compiler_type=none
14170 fi
14171
14172 fi
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14174 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14175 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14176
14177  if
14178   test "x$enable_dependency_tracking" != xno \
14179   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14180   am__fastdepCC_TRUE=
14181   am__fastdepCC_FALSE='#'
14182 else
14183   am__fastdepCC_TRUE='#'
14184   am__fastdepCC_FALSE=
14185 fi
14186
14187
14188 ac_ext=cpp
14189 ac_cpp='$CXXCPP $CPPFLAGS'
14190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14193 if test -z "$CXX"; then
14194   if test -n "$CCC"; then
14195     CXX=$CCC
14196   else
14197     if test -n "$ac_tool_prefix"; then
14198   for ac_prog in g++ g++3 c++ CC
14199   do
14200     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14201 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14203 $as_echo_n "checking for $ac_word... " >&6; }
14204 if ${ac_cv_prog_CXX+:} false; then :
14205   $as_echo_n "(cached) " >&6
14206 else
14207   if test -n "$CXX"; then
14208   ac_cv_prog_CXX="$CXX" # Let the user override the test.
14209 else
14210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14211 for as_dir in $PATH
14212 do
14213   IFS=$as_save_IFS
14214   test -z "$as_dir" && as_dir=.
14215     for ac_exec_ext in '' $ac_executable_extensions; do
14216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14217     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14219     break 2
14220   fi
14221 done
14222   done
14223 IFS=$as_save_IFS
14224
14225 fi
14226 fi
14227 CXX=$ac_cv_prog_CXX
14228 if test -n "$CXX"; then
14229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14230 $as_echo "$CXX" >&6; }
14231 else
14232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14233 $as_echo "no" >&6; }
14234 fi
14235
14236
14237     test -n "$CXX" && break
14238   done
14239 fi
14240 if test -z "$CXX"; then
14241   ac_ct_CXX=$CXX
14242   for ac_prog in g++ g++3 c++ CC
14243 do
14244   # Extract the first word of "$ac_prog", so it can be a program name with args.
14245 set dummy $ac_prog; ac_word=$2
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14247 $as_echo_n "checking for $ac_word... " >&6; }
14248 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
14249   $as_echo_n "(cached) " >&6
14250 else
14251   if test -n "$ac_ct_CXX"; then
14252   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14253 else
14254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14255 for as_dir in $PATH
14256 do
14257   IFS=$as_save_IFS
14258   test -z "$as_dir" && as_dir=.
14259     for ac_exec_ext in '' $ac_executable_extensions; do
14260   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14261     ac_cv_prog_ac_ct_CXX="$ac_prog"
14262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14263     break 2
14264   fi
14265 done
14266   done
14267 IFS=$as_save_IFS
14268
14269 fi
14270 fi
14271 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14272 if test -n "$ac_ct_CXX"; then
14273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14274 $as_echo "$ac_ct_CXX" >&6; }
14275 else
14276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14277 $as_echo "no" >&6; }
14278 fi
14279
14280
14281   test -n "$ac_ct_CXX" && break
14282 done
14283
14284   if test "x$ac_ct_CXX" = x; then
14285     CXX="g++"
14286   else
14287     case $cross_compiling:$ac_tool_warned in
14288 yes:)
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14291 ac_tool_warned=yes ;;
14292 esac
14293     CXX=$ac_ct_CXX
14294   fi
14295 fi
14296
14297   fi
14298 fi
14299 # Provide some information about the compiler.
14300 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14301 set X $ac_compile
14302 ac_compiler=$2
14303 for ac_option in --version -v -V -qversion; do
14304   { { ac_try="$ac_compiler $ac_option >&5"
14305 case "(($ac_try" in
14306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14307   *) ac_try_echo=$ac_try;;
14308 esac
14309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14310 $as_echo "$ac_try_echo"; } >&5
14311   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14312   ac_status=$?
14313   if test -s conftest.err; then
14314     sed '10a\
14315 ... rest of stderr output deleted ...
14316          10q' conftest.err >conftest.er1
14317     cat conftest.er1 >&5
14318   fi
14319   rm -f conftest.er1 conftest.err
14320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14321   test $ac_status = 0; }
14322 done
14323
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14325 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14326 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14327   $as_echo_n "(cached) " >&6
14328 else
14329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14330 /* end confdefs.h.  */
14331
14332 int
14333 main ()
14334 {
14335 #ifndef __GNUC__
14336        choke me
14337 #endif
14338
14339   ;
14340   return 0;
14341 }
14342 _ACEOF
14343 if ac_fn_cxx_try_compile "$LINENO"; then :
14344   ac_compiler_gnu=yes
14345 else
14346   ac_compiler_gnu=no
14347 fi
14348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14349 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14350
14351 fi
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14353 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14354 if test $ac_compiler_gnu = yes; then
14355   GXX=yes
14356 else
14357   GXX=
14358 fi
14359 ac_test_CXXFLAGS=${CXXFLAGS+set}
14360 ac_save_CXXFLAGS=$CXXFLAGS
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14362 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14363 if ${ac_cv_prog_cxx_g+:} false; then :
14364   $as_echo_n "(cached) " >&6
14365 else
14366   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14367    ac_cxx_werror_flag=yes
14368    ac_cv_prog_cxx_g=no
14369    CXXFLAGS="-g"
14370    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h.  */
14372
14373 int
14374 main ()
14375 {
14376
14377   ;
14378   return 0;
14379 }
14380 _ACEOF
14381 if ac_fn_cxx_try_compile "$LINENO"; then :
14382   ac_cv_prog_cxx_g=yes
14383 else
14384   CXXFLAGS=""
14385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h.  */
14387
14388 int
14389 main ()
14390 {
14391
14392   ;
14393   return 0;
14394 }
14395 _ACEOF
14396 if ac_fn_cxx_try_compile "$LINENO"; then :
14397
14398 else
14399   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14400          CXXFLAGS="-g"
14401          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h.  */
14403
14404 int
14405 main ()
14406 {
14407
14408   ;
14409   return 0;
14410 }
14411 _ACEOF
14412 if ac_fn_cxx_try_compile "$LINENO"; then :
14413   ac_cv_prog_cxx_g=yes
14414 fi
14415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14416 fi
14417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14418 fi
14419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14420    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14421 fi
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14423 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14424 if test "$ac_test_CXXFLAGS" = set; then
14425   CXXFLAGS=$ac_save_CXXFLAGS
14426 elif test $ac_cv_prog_cxx_g = yes; then
14427   if test "$GXX" = yes; then
14428     CXXFLAGS="-g -O2"
14429   else
14430     CXXFLAGS="-g"
14431   fi
14432 else
14433   if test "$GXX" = yes; then
14434     CXXFLAGS="-O2"
14435   else
14436     CXXFLAGS=
14437   fi
14438 fi
14439 ac_ext=c
14440 ac_cpp='$CPP $CPPFLAGS'
14441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14444
14445 depcc="$CXX"  am_compiler_list=
14446
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14448 $as_echo_n "checking dependency style of $depcc... " >&6; }
14449 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14450   $as_echo_n "(cached) " >&6
14451 else
14452   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14453   # We make a subdir and do the tests there.  Otherwise we can end up
14454   # making bogus files that we don't know about and never remove.  For
14455   # instance it was reported that on HP-UX the gcc test will end up
14456   # making a dummy file named `D' -- because `-MD' means `put the output
14457   # in D'.
14458   mkdir conftest.dir
14459   # Copy depcomp to subdir because otherwise we won't find it if we're
14460   # using a relative directory.
14461   cp "$am_depcomp" conftest.dir
14462   cd conftest.dir
14463   # We will build objects and dependencies in a subdirectory because
14464   # it helps to detect inapplicable dependency modes.  For instance
14465   # both Tru64's cc and ICC support -MD to output dependencies as a
14466   # side effect of compilation, but ICC will put the dependencies in
14467   # the current directory while Tru64 will put them in the object
14468   # directory.
14469   mkdir sub
14470
14471   am_cv_CXX_dependencies_compiler_type=none
14472   if test "$am_compiler_list" = ""; then
14473      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14474   fi
14475   am__universal=false
14476   case " $depcc " in #(
14477      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14478      esac
14479
14480   for depmode in $am_compiler_list; do
14481     # Setup a source with many dependencies, because some compilers
14482     # like to wrap large dependency lists on column 80 (with \), and
14483     # we should not choose a depcomp mode which is confused by this.
14484     #
14485     # We need to recreate these files for each test, as the compiler may
14486     # overwrite some of them when testing with obscure command lines.
14487     # This happens at least with the AIX C compiler.
14488     : > sub/conftest.c
14489     for i in 1 2 3 4 5 6; do
14490       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14491       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14492       # Solaris 8's {/usr,}/bin/sh.
14493       touch sub/conftst$i.h
14494     done
14495     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14496
14497     # We check with `-c' and `-o' for the sake of the "dashmstdout"
14498     # mode.  It turns out that the SunPro C++ compiler does not properly
14499     # handle `-M -o', and we need to detect this.  Also, some Intel
14500     # versions had trouble with output in subdirs
14501     am__obj=sub/conftest.${OBJEXT-o}
14502     am__minus_obj="-o $am__obj"
14503     case $depmode in
14504     gcc)
14505       # This depmode causes a compiler race in universal mode.
14506       test "$am__universal" = false || continue
14507       ;;
14508     nosideeffect)
14509       # after this tag, mechanisms are not by side-effect, so they'll
14510       # only be used when explicitly requested
14511       if test "x$enable_dependency_tracking" = xyes; then
14512         continue
14513       else
14514         break
14515       fi
14516       ;;
14517     msvisualcpp | msvcmsys)
14518       # This compiler won't grok `-c -o', but also, the minuso test has
14519       # not run yet.  These depmodes are late enough in the game, and
14520       # so weak that their functioning should not be impacted.
14521       am__obj=conftest.${OBJEXT-o}
14522       am__minus_obj=
14523       ;;
14524     none) break ;;
14525     esac
14526     if depmode=$depmode \
14527        source=sub/conftest.c object=$am__obj \
14528        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14529        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14530          >/dev/null 2>conftest.err &&
14531        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14532        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14533        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14534        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14535       # icc doesn't choke on unknown options, it will just issue warnings
14536       # or remarks (even with -Werror).  So we grep stderr for any message
14537       # that says an option was ignored or not supported.
14538       # When given -MP, icc 7.0 and 7.1 complain thusly:
14539       #   icc: Command line warning: ignoring option '-M'; no argument required
14540       # The diagnosis changed in icc 8.0:
14541       #   icc: Command line remark: option '-MP' not supported
14542       if (grep 'ignoring option' conftest.err ||
14543           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14544         am_cv_CXX_dependencies_compiler_type=$depmode
14545         break
14546       fi
14547     fi
14548   done
14549
14550   cd ..
14551   rm -rf conftest.dir
14552 else
14553   am_cv_CXX_dependencies_compiler_type=none
14554 fi
14555
14556 fi
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14558 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14559 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14560
14561  if
14562   test "x$enable_dependency_tracking" != xno \
14563   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14564   am__fastdepCXX_TRUE=
14565   am__fastdepCXX_FALSE='#'
14566 else
14567   am__fastdepCXX_TRUE='#'
14568   am__fastdepCXX_FALSE=
14569 fi
14570
14571
14572
14573
14574 func_stripname_cnf ()
14575 {
14576   case ${2} in
14577   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14578   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14579   esac
14580 } # func_stripname_cnf
14581
14582       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14583     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14584     (test "X$CXX" != "Xg++"))) ; then
14585   ac_ext=cpp
14586 ac_cpp='$CXXCPP $CPPFLAGS'
14587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14591 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14592 if test -z "$CXXCPP"; then
14593   if ${ac_cv_prog_CXXCPP+:} false; then :
14594   $as_echo_n "(cached) " >&6
14595 else
14596       # Double quotes because CXXCPP needs to be expanded
14597     for CXXCPP in "$CXX -E" "/lib/cpp"
14598     do
14599       ac_preproc_ok=false
14600 for ac_cxx_preproc_warn_flag in '' yes
14601 do
14602   # Use a header file that comes with gcc, so configuring glibc
14603   # with a fresh cross-compiler works.
14604   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14605   # <limits.h> exists even on freestanding compilers.
14606   # On the NeXT, cc -E runs the code through the compiler's parser,
14607   # not just through cpp. "Syntax error" is here to catch this case.
14608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h.  */
14610 #ifdef __STDC__
14611 # include <limits.h>
14612 #else
14613 # include <assert.h>
14614 #endif
14615                      Syntax error
14616 _ACEOF
14617 if ac_fn_cxx_try_cpp "$LINENO"; then :
14618
14619 else
14620   # Broken: fails on valid input.
14621 continue
14622 fi
14623 rm -f conftest.err conftest.i conftest.$ac_ext
14624
14625   # OK, works on sane cases.  Now check whether nonexistent headers
14626   # can be detected and how.
14627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14628 /* end confdefs.h.  */
14629 #include <ac_nonexistent.h>
14630 _ACEOF
14631 if ac_fn_cxx_try_cpp "$LINENO"; then :
14632   # Broken: success on invalid input.
14633 continue
14634 else
14635   # Passes both tests.
14636 ac_preproc_ok=:
14637 break
14638 fi
14639 rm -f conftest.err conftest.i conftest.$ac_ext
14640
14641 done
14642 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14643 rm -f conftest.i conftest.err conftest.$ac_ext
14644 if $ac_preproc_ok; then :
14645   break
14646 fi
14647
14648     done
14649     ac_cv_prog_CXXCPP=$CXXCPP
14650
14651 fi
14652   CXXCPP=$ac_cv_prog_CXXCPP
14653 else
14654   ac_cv_prog_CXXCPP=$CXXCPP
14655 fi
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14657 $as_echo "$CXXCPP" >&6; }
14658 ac_preproc_ok=false
14659 for ac_cxx_preproc_warn_flag in '' yes
14660 do
14661   # Use a header file that comes with gcc, so configuring glibc
14662   # with a fresh cross-compiler works.
14663   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14664   # <limits.h> exists even on freestanding compilers.
14665   # On the NeXT, cc -E runs the code through the compiler's parser,
14666   # not just through cpp. "Syntax error" is here to catch this case.
14667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h.  */
14669 #ifdef __STDC__
14670 # include <limits.h>
14671 #else
14672 # include <assert.h>
14673 #endif
14674                      Syntax error
14675 _ACEOF
14676 if ac_fn_cxx_try_cpp "$LINENO"; then :
14677
14678 else
14679   # Broken: fails on valid input.
14680 continue
14681 fi
14682 rm -f conftest.err conftest.i conftest.$ac_ext
14683
14684   # OK, works on sane cases.  Now check whether nonexistent headers
14685   # can be detected and how.
14686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h.  */
14688 #include <ac_nonexistent.h>
14689 _ACEOF
14690 if ac_fn_cxx_try_cpp "$LINENO"; then :
14691   # Broken: success on invalid input.
14692 continue
14693 else
14694   # Passes both tests.
14695 ac_preproc_ok=:
14696 break
14697 fi
14698 rm -f conftest.err conftest.i conftest.$ac_ext
14699
14700 done
14701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14702 rm -f conftest.i conftest.err conftest.$ac_ext
14703 if $ac_preproc_ok; then :
14704
14705 else
14706   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14708 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14709 See \`config.log' for more details" "$LINENO" 5; }
14710 fi
14711
14712 ac_ext=c
14713 ac_cpp='$CPP $CPPFLAGS'
14714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14717
14718 else
14719   _lt_caught_CXX_error=yes
14720 fi
14721
14722 ac_ext=cpp
14723 ac_cpp='$CXXCPP $CPPFLAGS'
14724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14727
14728 archive_cmds_need_lc_CXX=no
14729 allow_undefined_flag_CXX=
14730 always_export_symbols_CXX=no
14731 archive_expsym_cmds_CXX=
14732 compiler_needs_object_CXX=no
14733 export_dynamic_flag_spec_CXX=
14734 hardcode_direct_CXX=no
14735 hardcode_direct_absolute_CXX=no
14736 hardcode_libdir_flag_spec_CXX=
14737 hardcode_libdir_flag_spec_ld_CXX=
14738 hardcode_libdir_separator_CXX=
14739 hardcode_minus_L_CXX=no
14740 hardcode_shlibpath_var_CXX=unsupported
14741 hardcode_automatic_CXX=no
14742 inherit_rpath_CXX=no
14743 module_cmds_CXX=
14744 module_expsym_cmds_CXX=
14745 link_all_deplibs_CXX=unknown
14746 old_archive_cmds_CXX=$old_archive_cmds
14747 reload_flag_CXX=$reload_flag
14748 reload_cmds_CXX=$reload_cmds
14749 no_undefined_flag_CXX=
14750 whole_archive_flag_spec_CXX=
14751 enable_shared_with_static_runtimes_CXX=no
14752
14753 # Source file extension for C++ test sources.
14754 ac_ext=cpp
14755
14756 # Object file extension for compiled C++ test sources.
14757 objext=o
14758 objext_CXX=$objext
14759
14760 # No sense in running all these tests if we already determined that
14761 # the CXX compiler isn't working.  Some variables (like enable_shared)
14762 # are currently assumed to apply to all compilers on this platform,
14763 # and will be corrupted by setting them based on a non-working compiler.
14764 if test "$_lt_caught_CXX_error" != yes; then
14765   # Code to be used in simple compile tests
14766   lt_simple_compile_test_code="int some_variable = 0;"
14767
14768   # Code to be used in simple link tests
14769   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14770
14771   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14772
14773
14774
14775
14776
14777
14778 # If no C compiler was specified, use CC.
14779 LTCC=${LTCC-"$CC"}
14780
14781 # If no C compiler flags were specified, use CFLAGS.
14782 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14783
14784 # Allow CC to be a program name with arguments.
14785 compiler=$CC
14786
14787
14788   # save warnings/boilerplate of simple test code
14789   ac_outfile=conftest.$ac_objext
14790 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14791 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14792 _lt_compiler_boilerplate=`cat conftest.err`
14793 $RM conftest*
14794
14795   ac_outfile=conftest.$ac_objext
14796 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14797 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14798 _lt_linker_boilerplate=`cat conftest.err`
14799 $RM -r conftest*
14800
14801
14802   # Allow CC to be a program name with arguments.
14803   lt_save_CC=$CC
14804   lt_save_CFLAGS=$CFLAGS
14805   lt_save_LD=$LD
14806   lt_save_GCC=$GCC
14807   GCC=$GXX
14808   lt_save_with_gnu_ld=$with_gnu_ld
14809   lt_save_path_LD=$lt_cv_path_LD
14810   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14811     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14812   else
14813     $as_unset lt_cv_prog_gnu_ld
14814   fi
14815   if test -n "${lt_cv_path_LDCXX+set}"; then
14816     lt_cv_path_LD=$lt_cv_path_LDCXX
14817   else
14818     $as_unset lt_cv_path_LD
14819   fi
14820   test -z "${LDCXX+set}" || LD=$LDCXX
14821   CC=${CXX-"c++"}
14822   CFLAGS=$CXXFLAGS
14823   compiler=$CC
14824   compiler_CXX=$CC
14825   for cc_temp in $compiler""; do
14826   case $cc_temp in
14827     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14828     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14829     \-*) ;;
14830     *) break;;
14831   esac
14832 done
14833 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14834
14835
14836   if test -n "$compiler"; then
14837     # We don't want -fno-exception when compiling C++ code, so set the
14838     # no_builtin_flag separately
14839     if test "$GXX" = yes; then
14840       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14841     else
14842       lt_prog_compiler_no_builtin_flag_CXX=
14843     fi
14844
14845     if test "$GXX" = yes; then
14846       # Set up default GNU C++ configuration
14847
14848
14849
14850 # Check whether --with-gnu-ld was given.
14851 if test "${with_gnu_ld+set}" = set; then :
14852   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14853 else
14854   with_gnu_ld=no
14855 fi
14856
14857 ac_prog=ld
14858 if test "$GCC" = yes; then
14859   # Check if gcc -print-prog-name=ld gives a path.
14860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14861 $as_echo_n "checking for ld used by $CC... " >&6; }
14862   case $host in
14863   *-*-mingw*)
14864     # gcc leaves a trailing carriage return which upsets mingw
14865     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14866   *)
14867     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14868   esac
14869   case $ac_prog in
14870     # Accept absolute paths.
14871     [\\/]* | ?:[\\/]*)
14872       re_direlt='/[^/][^/]*/\.\./'
14873       # Canonicalize the pathname of ld
14874       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14875       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14876         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14877       done
14878       test -z "$LD" && LD="$ac_prog"
14879       ;;
14880   "")
14881     # If it fails, then pretend we aren't using GCC.
14882     ac_prog=ld
14883     ;;
14884   *)
14885     # If it is relative, then search for the first ld in PATH.
14886     with_gnu_ld=unknown
14887     ;;
14888   esac
14889 elif test "$with_gnu_ld" = yes; then
14890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14891 $as_echo_n "checking for GNU ld... " >&6; }
14892 else
14893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14894 $as_echo_n "checking for non-GNU ld... " >&6; }
14895 fi
14896 if ${lt_cv_path_LD+:} false; then :
14897   $as_echo_n "(cached) " >&6
14898 else
14899   if test -z "$LD"; then
14900   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14901   for ac_dir in $PATH; do
14902     IFS="$lt_save_ifs"
14903     test -z "$ac_dir" && ac_dir=.
14904     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14905       lt_cv_path_LD="$ac_dir/$ac_prog"
14906       # Check to see if the program is GNU ld.  I'd rather use --version,
14907       # but apparently some variants of GNU ld only accept -v.
14908       # Break only if it was the GNU/non-GNU ld that we prefer.
14909       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14910       *GNU* | *'with BFD'*)
14911         test "$with_gnu_ld" != no && break
14912         ;;
14913       *)
14914         test "$with_gnu_ld" != yes && break
14915         ;;
14916       esac
14917     fi
14918   done
14919   IFS="$lt_save_ifs"
14920 else
14921   lt_cv_path_LD="$LD" # Let the user override the test with a path.
14922 fi
14923 fi
14924
14925 LD="$lt_cv_path_LD"
14926 if test -n "$LD"; then
14927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14928 $as_echo "$LD" >&6; }
14929 else
14930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14931 $as_echo "no" >&6; }
14932 fi
14933 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14935 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14936 if ${lt_cv_prog_gnu_ld+:} false; then :
14937   $as_echo_n "(cached) " >&6
14938 else
14939   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14940 case `$LD -v 2>&1 </dev/null` in
14941 *GNU* | *'with BFD'*)
14942   lt_cv_prog_gnu_ld=yes
14943   ;;
14944 *)
14945   lt_cv_prog_gnu_ld=no
14946   ;;
14947 esac
14948 fi
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14950 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14951 with_gnu_ld=$lt_cv_prog_gnu_ld
14952
14953
14954
14955
14956
14957
14958
14959       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14960       # archiving commands below assume that GNU ld is being used.
14961       if test "$with_gnu_ld" = yes; then
14962         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14963         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14964
14965         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14966         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14967
14968         # If archive_cmds runs LD, not CC, wlarc should be empty
14969         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14970         #     investigate it a little bit more. (MM)
14971         wlarc='${wl}'
14972
14973         # ancient GNU ld didn't support --whole-archive et. al.
14974         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14975           $GREP 'no-whole-archive' > /dev/null; then
14976           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14977         else
14978           whole_archive_flag_spec_CXX=
14979         fi
14980       else
14981         with_gnu_ld=no
14982         wlarc=
14983
14984         # A generic and very simple default shared library creation
14985         # command for GNU C++ for the case where it uses the native
14986         # linker, instead of GNU ld.  If possible, this setting should
14987         # overridden to take advantage of the native linker features on
14988         # the platform it is being used on.
14989         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14990       fi
14991
14992       # Commands to make compiler produce verbose output that lists
14993       # what "hidden" libraries, object files and flags are used when
14994       # linking a shared library.
14995       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14996
14997     else
14998       GXX=no
14999       with_gnu_ld=no
15000       wlarc=
15001     fi
15002
15003     # PORTME: fill in a description of your system's C++ link characteristics
15004     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15005 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15006     ld_shlibs_CXX=yes
15007     case $host_os in
15008       aix3*)
15009         # FIXME: insert proper C++ library support
15010         ld_shlibs_CXX=no
15011         ;;
15012       aix[4-9]*)
15013         if test "$host_cpu" = ia64; then
15014           # On IA64, the linker does run time linking by default, so we don't
15015           # have to do anything special.
15016           aix_use_runtimelinking=no
15017           exp_sym_flag='-Bexport'
15018           no_entry_flag=""
15019         else
15020           aix_use_runtimelinking=no
15021
15022           # Test if we are trying to use run time linking or normal
15023           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15024           # need to do runtime linking.
15025           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15026             for ld_flag in $LDFLAGS; do
15027               case $ld_flag in
15028               *-brtl*)
15029                 aix_use_runtimelinking=yes
15030                 break
15031                 ;;
15032               esac
15033             done
15034             ;;
15035           esac
15036
15037           exp_sym_flag='-bexport'
15038           no_entry_flag='-bnoentry'
15039         fi
15040
15041         # When large executables or shared objects are built, AIX ld can
15042         # have problems creating the table of contents.  If linking a library
15043         # or program results in "error TOC overflow" add -mminimal-toc to
15044         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15045         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15046
15047         archive_cmds_CXX=''
15048         hardcode_direct_CXX=yes
15049         hardcode_direct_absolute_CXX=yes
15050         hardcode_libdir_separator_CXX=':'
15051         link_all_deplibs_CXX=yes
15052         file_list_spec_CXX='${wl}-f,'
15053
15054         if test "$GXX" = yes; then
15055           case $host_os in aix4.[012]|aix4.[012].*)
15056           # We only want to do this on AIX 4.2 and lower, the check
15057           # below for broken collect2 doesn't work under 4.3+
15058           collect2name=`${CC} -print-prog-name=collect2`
15059           if test -f "$collect2name" &&
15060              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15061           then
15062             # We have reworked collect2
15063             :
15064           else
15065             # We have old collect2
15066             hardcode_direct_CXX=unsupported
15067             # It fails to find uninstalled libraries when the uninstalled
15068             # path is not listed in the libpath.  Setting hardcode_minus_L
15069             # to unsupported forces relinking
15070             hardcode_minus_L_CXX=yes
15071             hardcode_libdir_flag_spec_CXX='-L$libdir'
15072             hardcode_libdir_separator_CXX=
15073           fi
15074           esac
15075           shared_flag='-shared'
15076           if test "$aix_use_runtimelinking" = yes; then
15077             shared_flag="$shared_flag "'${wl}-G'
15078           fi
15079         else
15080           # not using gcc
15081           if test "$host_cpu" = ia64; then
15082           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15083           # chokes on -Wl,-G. The following line is correct:
15084           shared_flag='-G'
15085           else
15086             if test "$aix_use_runtimelinking" = yes; then
15087               shared_flag='${wl}-G'
15088             else
15089               shared_flag='${wl}-bM:SRE'
15090             fi
15091           fi
15092         fi
15093
15094         export_dynamic_flag_spec_CXX='${wl}-bexpall'
15095         # It seems that -bexpall does not export symbols beginning with
15096         # underscore (_), so it is better to generate a list of symbols to
15097         # export.
15098         always_export_symbols_CXX=yes
15099         if test "$aix_use_runtimelinking" = yes; then
15100           # Warning - without using the other runtime loading flags (-brtl),
15101           # -berok will link without error, but may produce a broken library.
15102           allow_undefined_flag_CXX='-berok'
15103           # Determine the default libpath from the value encoded in an empty
15104           # executable.
15105           if test "${lt_cv_aix_libpath+set}" = set; then
15106   aix_libpath=$lt_cv_aix_libpath
15107 else
15108   if ${lt_cv_aix_libpath__CXX+:} false; then :
15109   $as_echo_n "(cached) " >&6
15110 else
15111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h.  */
15113
15114 int
15115 main ()
15116 {
15117
15118   ;
15119   return 0;
15120 }
15121 _ACEOF
15122 if ac_fn_cxx_try_link "$LINENO"; then :
15123
15124   lt_aix_libpath_sed='
15125       /Import File Strings/,/^$/ {
15126           /^0/ {
15127               s/^0  *\([^ ]*\) *$/\1/
15128               p
15129           }
15130       }'
15131   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15132   # Check for a 64-bit object if we didn't find anything.
15133   if test -z "$lt_cv_aix_libpath__CXX"; then
15134     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15135   fi
15136 fi
15137 rm -f core conftest.err conftest.$ac_objext \
15138     conftest$ac_exeext conftest.$ac_ext
15139   if test -z "$lt_cv_aix_libpath__CXX"; then
15140     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15141   fi
15142
15143 fi
15144
15145   aix_libpath=$lt_cv_aix_libpath__CXX
15146 fi
15147
15148           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15149
15150           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15151         else
15152           if test "$host_cpu" = ia64; then
15153             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15154             allow_undefined_flag_CXX="-z nodefs"
15155             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15156           else
15157             # Determine the default libpath from the value encoded in an
15158             # empty executable.
15159             if test "${lt_cv_aix_libpath+set}" = set; then
15160   aix_libpath=$lt_cv_aix_libpath
15161 else
15162   if ${lt_cv_aix_libpath__CXX+:} false; then :
15163   $as_echo_n "(cached) " >&6
15164 else
15165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h.  */
15167
15168 int
15169 main ()
15170 {
15171
15172   ;
15173   return 0;
15174 }
15175 _ACEOF
15176 if ac_fn_cxx_try_link "$LINENO"; then :
15177
15178   lt_aix_libpath_sed='
15179       /Import File Strings/,/^$/ {
15180           /^0/ {
15181               s/^0  *\([^ ]*\) *$/\1/
15182               p
15183           }
15184       }'
15185   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15186   # Check for a 64-bit object if we didn't find anything.
15187   if test -z "$lt_cv_aix_libpath__CXX"; then
15188     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15189   fi
15190 fi
15191 rm -f core conftest.err conftest.$ac_objext \
15192     conftest$ac_exeext conftest.$ac_ext
15193   if test -z "$lt_cv_aix_libpath__CXX"; then
15194     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15195   fi
15196
15197 fi
15198
15199   aix_libpath=$lt_cv_aix_libpath__CXX
15200 fi
15201
15202             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15203             # Warning - without using the other run time loading flags,
15204             # -berok will link without error, but may produce a broken library.
15205             no_undefined_flag_CXX=' ${wl}-bernotok'
15206             allow_undefined_flag_CXX=' ${wl}-berok'
15207             if test "$with_gnu_ld" = yes; then
15208               # We only use this code for GNU lds that support --whole-archive.
15209               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15210             else
15211               # Exported symbols can be pulled into shared objects from archives
15212               whole_archive_flag_spec_CXX='$convenience'
15213             fi
15214             archive_cmds_need_lc_CXX=yes
15215             # This is similar to how AIX traditionally builds its shared
15216             # libraries.
15217             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15218           fi
15219         fi
15220         ;;
15221
15222       beos*)
15223         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15224           allow_undefined_flag_CXX=unsupported
15225           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15226           # support --undefined.  This deserves some investigation.  FIXME
15227           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15228         else
15229           ld_shlibs_CXX=no
15230         fi
15231         ;;
15232
15233       chorus*)
15234         case $cc_basename in
15235           *)
15236           # FIXME: insert proper C++ library support
15237           ld_shlibs_CXX=no
15238           ;;
15239         esac
15240         ;;
15241
15242       cygwin* | mingw* | pw32* | cegcc*)
15243         case $GXX,$cc_basename in
15244         ,cl* | no,cl*)
15245           # Native MSVC
15246           # hardcode_libdir_flag_spec is actually meaningless, as there is
15247           # no search path for DLLs.
15248           hardcode_libdir_flag_spec_CXX=' '
15249           allow_undefined_flag_CXX=unsupported
15250           always_export_symbols_CXX=yes
15251           file_list_spec_CXX='@'
15252           # Tell ltmain to make .lib files, not .a files.
15253           libext=lib
15254           # Tell ltmain to make .dll files, not .so files.
15255           shrext_cmds=".dll"
15256           # FIXME: Setting linknames here is a bad hack.
15257           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15258           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15259               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15260             else
15261               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15262             fi~
15263             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15264             linknames='
15265           # The linker will not automatically build a static lib if we build a DLL.
15266           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15267           enable_shared_with_static_runtimes_CXX=yes
15268           # Don't use ranlib
15269           old_postinstall_cmds_CXX='chmod 644 $oldlib'
15270           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15271             lt_tool_outputfile="@TOOL_OUTPUT@"~
15272             case $lt_outputfile in
15273               *.exe|*.EXE) ;;
15274               *)
15275                 lt_outputfile="$lt_outputfile.exe"
15276                 lt_tool_outputfile="$lt_tool_outputfile.exe"
15277                 ;;
15278             esac~
15279             func_to_tool_file "$lt_outputfile"~
15280             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15281               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15282               $RM "$lt_outputfile.manifest";
15283             fi'
15284           ;;
15285         *)
15286           # g++
15287           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15288           # as there is no search path for DLLs.
15289           hardcode_libdir_flag_spec_CXX='-L$libdir'
15290           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15291           allow_undefined_flag_CXX=unsupported
15292           always_export_symbols_CXX=no
15293           enable_shared_with_static_runtimes_CXX=yes
15294
15295           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15296             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15297             # If the export-symbols file already is a .def file (1st line
15298             # is EXPORTS), use it as is; otherwise, prepend...
15299             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15300               cp $export_symbols $output_objdir/$soname.def;
15301             else
15302               echo EXPORTS > $output_objdir/$soname.def;
15303               cat $export_symbols >> $output_objdir/$soname.def;
15304             fi~
15305             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15306           else
15307             ld_shlibs_CXX=no
15308           fi
15309           ;;
15310         esac
15311         ;;
15312       darwin* | rhapsody*)
15313
15314
15315   archive_cmds_need_lc_CXX=no
15316   hardcode_direct_CXX=no
15317   hardcode_automatic_CXX=yes
15318   hardcode_shlibpath_var_CXX=unsupported
15319   if test "$lt_cv_ld_force_load" = "yes"; then
15320     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15321   else
15322     whole_archive_flag_spec_CXX=''
15323   fi
15324   link_all_deplibs_CXX=yes
15325   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15326   case $cc_basename in
15327      ifort*) _lt_dar_can_shared=yes ;;
15328      *) _lt_dar_can_shared=$GCC ;;
15329   esac
15330   if test "$_lt_dar_can_shared" = "yes"; then
15331     output_verbose_link_cmd=func_echo_all
15332     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15333     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15334     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15335     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15336        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15337       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
15338       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15339     fi
15340
15341   else
15342   ld_shlibs_CXX=no
15343   fi
15344
15345         ;;
15346
15347       dgux*)
15348         case $cc_basename in
15349           ec++*)
15350             # FIXME: insert proper C++ library support
15351             ld_shlibs_CXX=no
15352             ;;
15353           ghcx*)
15354             # Green Hills C++ Compiler
15355             # FIXME: insert proper C++ library support
15356             ld_shlibs_CXX=no
15357             ;;
15358           *)
15359             # FIXME: insert proper C++ library support
15360             ld_shlibs_CXX=no
15361             ;;
15362         esac
15363         ;;
15364
15365       freebsd[12]*)
15366         # C++ shared libraries reported to be fairly broken before
15367         # switch to ELF
15368         ld_shlibs_CXX=no
15369         ;;
15370
15371       freebsd-elf*)
15372         archive_cmds_need_lc_CXX=no
15373         ;;
15374
15375       freebsd* | dragonfly*)
15376         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15377         # conventions
15378         ld_shlibs_CXX=yes
15379         ;;
15380
15381       gnu*)
15382         ;;
15383
15384       haiku*)
15385         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15386         link_all_deplibs_CXX=yes
15387         ;;
15388
15389       hpux9*)
15390         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15391         hardcode_libdir_separator_CXX=:
15392         export_dynamic_flag_spec_CXX='${wl}-E'
15393         hardcode_direct_CXX=yes
15394         hardcode_minus_L_CXX=yes # Not in the search PATH,
15395                                              # but as the default
15396                                              # location of the library.
15397
15398         case $cc_basename in
15399           CC*)
15400             # FIXME: insert proper C++ library support
15401             ld_shlibs_CXX=no
15402             ;;
15403           aCC*)
15404             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15405             # Commands to make compiler produce verbose output that lists
15406             # what "hidden" libraries, object files and flags are used when
15407             # linking a shared library.
15408             #
15409             # There doesn't appear to be a way to prevent this compiler from
15410             # explicitly linking system object files so we need to strip them
15411             # from the output so that they don't get included in the library
15412             # dependencies.
15413             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15414             ;;
15415           *)
15416             if test "$GXX" = yes; then
15417               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15418             else
15419               # FIXME: insert proper C++ library support
15420               ld_shlibs_CXX=no
15421             fi
15422             ;;
15423         esac
15424         ;;
15425
15426       hpux10*|hpux11*)
15427         if test $with_gnu_ld = no; then
15428           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15429           hardcode_libdir_separator_CXX=:
15430
15431           case $host_cpu in
15432             hppa*64*|ia64*)
15433               ;;
15434             *)
15435               export_dynamic_flag_spec_CXX='${wl}-E'
15436               ;;
15437           esac
15438         fi
15439         case $host_cpu in
15440           hppa*64*|ia64*)
15441             hardcode_direct_CXX=no
15442             hardcode_shlibpath_var_CXX=no
15443             ;;
15444           *)
15445             hardcode_direct_CXX=yes
15446             hardcode_direct_absolute_CXX=yes
15447             hardcode_minus_L_CXX=yes # Not in the search PATH,
15448                                                  # but as the default
15449                                                  # location of the library.
15450             ;;
15451         esac
15452
15453         case $cc_basename in
15454           CC*)
15455             # FIXME: insert proper C++ library support
15456             ld_shlibs_CXX=no
15457             ;;
15458           aCC*)
15459             case $host_cpu in
15460               hppa*64*)
15461                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15462                 ;;
15463               ia64*)
15464                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15465                 ;;
15466               *)
15467                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15468                 ;;
15469             esac
15470             # Commands to make compiler produce verbose output that lists
15471             # what "hidden" libraries, object files and flags are used when
15472             # linking a shared library.
15473             #
15474             # There doesn't appear to be a way to prevent this compiler from
15475             # explicitly linking system object files so we need to strip them
15476             # from the output so that they don't get included in the library
15477             # dependencies.
15478             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15479             ;;
15480           *)
15481             if test "$GXX" = yes; then
15482               if test $with_gnu_ld = no; then
15483                 case $host_cpu in
15484                   hppa*64*)
15485                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15486                     ;;
15487                   ia64*)
15488                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15489                     ;;
15490                   *)
15491                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15492                     ;;
15493                 esac
15494               fi
15495             else
15496               # FIXME: insert proper C++ library support
15497               ld_shlibs_CXX=no
15498             fi
15499             ;;
15500         esac
15501         ;;
15502
15503       interix[3-9]*)
15504         hardcode_direct_CXX=no
15505         hardcode_shlibpath_var_CXX=no
15506         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15507         export_dynamic_flag_spec_CXX='${wl}-E'
15508         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15509         # Instead, shared libraries are loaded at an image base (0x10000000 by
15510         # default) and relocated if they conflict, which is a slow very memory
15511         # consuming and fragmenting process.  To avoid this, we pick a random,
15512         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15513         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15514         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15515         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15516         ;;
15517       irix5* | irix6*)
15518         case $cc_basename in
15519           CC*)
15520             # SGI C++
15521             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15522
15523             # Archives containing C++ object files must be created using
15524             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15525             # necessary to make sure instantiated templates are included
15526             # in the archive.
15527             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15528             ;;
15529           *)
15530             if test "$GXX" = yes; then
15531               if test "$with_gnu_ld" = no; then
15532                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15533               else
15534                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15535               fi
15536             fi
15537             link_all_deplibs_CXX=yes
15538             ;;
15539         esac
15540         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15541         hardcode_libdir_separator_CXX=:
15542         inherit_rpath_CXX=yes
15543         ;;
15544
15545       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15546         case $cc_basename in
15547           KCC*)
15548             # Kuck and Associates, Inc. (KAI) C++ Compiler
15549
15550             # KCC will only create a shared library if the output file
15551             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15552             # to its proper name (with version) after linking.
15553             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15554             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15555             # Commands to make compiler produce verbose output that lists
15556             # what "hidden" libraries, object files and flags are used when
15557             # linking a shared library.
15558             #
15559             # There doesn't appear to be a way to prevent this compiler from
15560             # explicitly linking system object files so we need to strip them
15561             # from the output so that they don't get included in the library
15562             # dependencies.
15563             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15564
15565             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15566             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15567
15568             # Archives containing C++ object files must be created using
15569             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15570             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15571             ;;
15572           icpc* | ecpc* )
15573             # Intel C++
15574             with_gnu_ld=yes
15575             # version 8.0 and above of icpc choke on multiply defined symbols
15576             # if we add $predep_objects and $postdep_objects, however 7.1 and
15577             # earlier do not add the objects themselves.
15578             case `$CC -V 2>&1` in
15579               *"Version 7."*)
15580                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15581                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15582                 ;;
15583               *)  # Version 8.0 or newer
15584                 tmp_idyn=
15585                 case $host_cpu in
15586                   ia64*) tmp_idyn=' -i_dynamic';;
15587                 esac
15588                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15589                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15590                 ;;
15591             esac
15592             archive_cmds_need_lc_CXX=no
15593             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15594             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15595             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15596             ;;
15597           pgCC* | pgcpp*)
15598             # Portland Group C++ compiler
15599             case `$CC -V` in
15600             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15601               prelink_cmds_CXX='tpldir=Template.dir~
15602                 rm -rf $tpldir~
15603                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15604                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15605               old_archive_cmds_CXX='tpldir=Template.dir~
15606                 rm -rf $tpldir~
15607                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15608                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15609                 $RANLIB $oldlib'
15610               archive_cmds_CXX='tpldir=Template.dir~
15611                 rm -rf $tpldir~
15612                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15613                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15614               archive_expsym_cmds_CXX='tpldir=Template.dir~
15615                 rm -rf $tpldir~
15616                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15617                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15618               ;;
15619             *) # Version 6 and above use weak symbols
15620               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15621               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15622               ;;
15623             esac
15624
15625             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15626             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15627             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15628             ;;
15629           cxx*)
15630             # Compaq C++
15631             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15632             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15633
15634             runpath_var=LD_RUN_PATH
15635             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15636             hardcode_libdir_separator_CXX=:
15637
15638             # Commands to make compiler produce verbose output that lists
15639             # what "hidden" libraries, object files and flags are used when
15640             # linking a shared library.
15641             #
15642             # There doesn't appear to be a way to prevent this compiler from
15643             # explicitly linking system object files so we need to strip them
15644             # from the output so that they don't get included in the library
15645             # dependencies.
15646             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15647             ;;
15648           xl* | mpixl* | bgxl*)
15649             # IBM XL 8.0 on PPC, with GNU ld
15650             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15651             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15652             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15653             if test "x$supports_anon_versioning" = xyes; then
15654               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15655                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15656                 echo "local: *; };" >> $output_objdir/$libname.ver~
15657                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15658             fi
15659             ;;
15660           *)
15661             case `$CC -V 2>&1 | sed 5q` in
15662             *Sun\ C*)
15663               # Sun C++ 5.9
15664               no_undefined_flag_CXX=' -zdefs'
15665               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15666               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15667               hardcode_libdir_flag_spec_CXX='-R$libdir'
15668               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15669               compiler_needs_object_CXX=yes
15670
15671               # Not sure whether something based on
15672               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15673               # would be better.
15674               output_verbose_link_cmd='func_echo_all'
15675
15676               # Archives containing C++ object files must be created using
15677               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15678               # necessary to make sure instantiated templates are included
15679               # in the archive.
15680               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15681               ;;
15682             esac
15683             ;;
15684         esac
15685         ;;
15686
15687       lynxos*)
15688         # FIXME: insert proper C++ library support
15689         ld_shlibs_CXX=no
15690         ;;
15691
15692       m88k*)
15693         # FIXME: insert proper C++ library support
15694         ld_shlibs_CXX=no
15695         ;;
15696
15697       mvs*)
15698         case $cc_basename in
15699           cxx*)
15700             # FIXME: insert proper C++ library support
15701             ld_shlibs_CXX=no
15702             ;;
15703           *)
15704             # FIXME: insert proper C++ library support
15705             ld_shlibs_CXX=no
15706             ;;
15707         esac
15708         ;;
15709
15710       netbsd*)
15711         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15712           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15713           wlarc=
15714           hardcode_libdir_flag_spec_CXX='-R$libdir'
15715           hardcode_direct_CXX=yes
15716           hardcode_shlibpath_var_CXX=no
15717         fi
15718         # Workaround some broken pre-1.5 toolchains
15719         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15720         ;;
15721
15722       *nto* | *qnx*)
15723         ld_shlibs_CXX=yes
15724         ;;
15725
15726       openbsd2*)
15727         # C++ shared libraries are fairly broken
15728         ld_shlibs_CXX=no
15729         ;;
15730
15731       openbsd*)
15732         if test -f /usr/libexec/ld.so; then
15733           hardcode_direct_CXX=yes
15734           hardcode_shlibpath_var_CXX=no
15735           hardcode_direct_absolute_CXX=yes
15736           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15737           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15738           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15739             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15740             export_dynamic_flag_spec_CXX='${wl}-E'
15741             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15742           fi
15743           output_verbose_link_cmd=func_echo_all
15744         else
15745           ld_shlibs_CXX=no
15746         fi
15747         ;;
15748
15749       osf3* | osf4* | osf5*)
15750         case $cc_basename in
15751           KCC*)
15752             # Kuck and Associates, Inc. (KAI) C++ Compiler
15753
15754             # KCC will only create a shared library if the output file
15755             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15756             # to its proper name (with version) after linking.
15757             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15758
15759             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15760             hardcode_libdir_separator_CXX=:
15761
15762             # Archives containing C++ object files must be created using
15763             # the KAI C++ compiler.
15764             case $host in
15765               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15766               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15767             esac
15768             ;;
15769           RCC*)
15770             # Rational C++ 2.4.1
15771             # FIXME: insert proper C++ library support
15772             ld_shlibs_CXX=no
15773             ;;
15774           cxx*)
15775             case $host in
15776               osf3*)
15777                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15778                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15779                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15780                 ;;
15781               *)
15782                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15783                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15784                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15785                   echo "-hidden">> $lib.exp~
15786                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
15787                   $RM $lib.exp'
15788                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15789                 ;;
15790             esac
15791
15792             hardcode_libdir_separator_CXX=:
15793
15794             # Commands to make compiler produce verbose output that lists
15795             # what "hidden" libraries, object files and flags are used when
15796             # linking a shared library.
15797             #
15798             # There doesn't appear to be a way to prevent this compiler from
15799             # explicitly linking system object files so we need to strip them
15800             # from the output so that they don't get included in the library
15801             # dependencies.
15802             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15803             ;;
15804           *)
15805             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15806               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15807               case $host in
15808                 osf3*)
15809                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15810                   ;;
15811                 *)
15812                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15813                   ;;
15814               esac
15815
15816               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15817               hardcode_libdir_separator_CXX=:
15818
15819               # Commands to make compiler produce verbose output that lists
15820               # what "hidden" libraries, object files and flags are used when
15821               # linking a shared library.
15822               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15823
15824             else
15825               # FIXME: insert proper C++ library support
15826               ld_shlibs_CXX=no
15827             fi
15828             ;;
15829         esac
15830         ;;
15831
15832       psos*)
15833         # FIXME: insert proper C++ library support
15834         ld_shlibs_CXX=no
15835         ;;
15836
15837       sunos4*)
15838         case $cc_basename in
15839           CC*)
15840             # Sun C++ 4.x
15841             # FIXME: insert proper C++ library support
15842             ld_shlibs_CXX=no
15843             ;;
15844           lcc*)
15845             # Lucid
15846             # FIXME: insert proper C++ library support
15847             ld_shlibs_CXX=no
15848             ;;
15849           *)
15850             # FIXME: insert proper C++ library support
15851             ld_shlibs_CXX=no
15852             ;;
15853         esac
15854         ;;
15855
15856       solaris*)
15857         case $cc_basename in
15858           CC* | sunCC*)
15859             # Sun C++ 4.2, 5.x and Centerline C++
15860             archive_cmds_need_lc_CXX=yes
15861             no_undefined_flag_CXX=' -zdefs'
15862             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15863             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15864               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15865
15866             hardcode_libdir_flag_spec_CXX='-R$libdir'
15867             hardcode_shlibpath_var_CXX=no
15868             case $host_os in
15869               solaris2.[0-5] | solaris2.[0-5].*) ;;
15870               *)
15871                 # The compiler driver will combine and reorder linker options,
15872                 # but understands `-z linker_flag'.
15873                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15874                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15875                 ;;
15876             esac
15877             link_all_deplibs_CXX=yes
15878
15879             output_verbose_link_cmd='func_echo_all'
15880
15881             # Archives containing C++ object files must be created using
15882             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15883             # necessary to make sure instantiated templates are included
15884             # in the archive.
15885             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15886             ;;
15887           gcx*)
15888             # Green Hills C++ Compiler
15889             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15890
15891             # The C++ compiler must be used to create the archive.
15892             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15893             ;;
15894           *)
15895             # GNU C++ compiler with Solaris linker
15896             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15897               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15898               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15899                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15900                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15901                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15902
15903                 # Commands to make compiler produce verbose output that lists
15904                 # what "hidden" libraries, object files and flags are used when
15905                 # linking a shared library.
15906                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15907               else
15908                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15909                 # platform.
15910                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15911                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15912                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15913
15914                 # Commands to make compiler produce verbose output that lists
15915                 # what "hidden" libraries, object files and flags are used when
15916                 # linking a shared library.
15917                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15918               fi
15919
15920               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15921               case $host_os in
15922                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15923                 *)
15924                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15925                   ;;
15926               esac
15927             fi
15928             ;;
15929         esac
15930         ;;
15931
15932     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15933       no_undefined_flag_CXX='${wl}-z,text'
15934       archive_cmds_need_lc_CXX=no
15935       hardcode_shlibpath_var_CXX=no
15936       runpath_var='LD_RUN_PATH'
15937
15938       case $cc_basename in
15939         CC*)
15940           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15941           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15942           ;;
15943         *)
15944           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15945           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15946           ;;
15947       esac
15948       ;;
15949
15950       sysv5* | sco3.2v5* | sco5v6*)
15951         # Note: We can NOT use -z defs as we might desire, because we do not
15952         # link with -lc, and that would cause any symbols used from libc to
15953         # always be unresolved, which means just about no library would
15954         # ever link correctly.  If we're not using GNU ld we use -z text
15955         # though, which does catch some bad symbols but isn't as heavy-handed
15956         # as -z defs.
15957         no_undefined_flag_CXX='${wl}-z,text'
15958         allow_undefined_flag_CXX='${wl}-z,nodefs'
15959         archive_cmds_need_lc_CXX=no
15960         hardcode_shlibpath_var_CXX=no
15961         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15962         hardcode_libdir_separator_CXX=':'
15963         link_all_deplibs_CXX=yes
15964         export_dynamic_flag_spec_CXX='${wl}-Bexport'
15965         runpath_var='LD_RUN_PATH'
15966
15967         case $cc_basename in
15968           CC*)
15969             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15970             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15971             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15972               '"$old_archive_cmds_CXX"
15973             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15974               '"$reload_cmds_CXX"
15975             ;;
15976           *)
15977             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15978             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15979             ;;
15980         esac
15981       ;;
15982
15983       tandem*)
15984         case $cc_basename in
15985           NCC*)
15986             # NonStop-UX NCC 3.20
15987             # FIXME: insert proper C++ library support
15988             ld_shlibs_CXX=no
15989             ;;
15990           *)
15991             # FIXME: insert proper C++ library support
15992             ld_shlibs_CXX=no
15993             ;;
15994         esac
15995         ;;
15996
15997       vxworks*)
15998         # FIXME: insert proper C++ library support
15999         ld_shlibs_CXX=no
16000         ;;
16001
16002       *)
16003         # FIXME: insert proper C++ library support
16004         ld_shlibs_CXX=no
16005         ;;
16006     esac
16007
16008     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16009 $as_echo "$ld_shlibs_CXX" >&6; }
16010     test "$ld_shlibs_CXX" = no && can_build_shared=no
16011
16012     GCC_CXX="$GXX"
16013     LD_CXX="$LD"
16014
16015     ## CAVEAT EMPTOR:
16016     ## There is no encapsulation within the following macros, do not change
16017     ## the running order or otherwise move them around unless you know exactly
16018     ## what you are doing...
16019     # Dependencies to place before and after the object being linked:
16020 predep_objects_CXX=
16021 postdep_objects_CXX=
16022 predeps_CXX=
16023 postdeps_CXX=
16024 compiler_lib_search_path_CXX=
16025
16026 cat > conftest.$ac_ext <<_LT_EOF
16027 class Foo
16028 {
16029 public:
16030   Foo (void) { a = 0; }
16031 private:
16032   int a;
16033 };
16034 _LT_EOF
16035
16036
16037 _lt_libdeps_save_CFLAGS=$CFLAGS
16038 case "$CC $CFLAGS " in #(
16039 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16040 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16041 esac
16042
16043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16044   (eval $ac_compile) 2>&5
16045   ac_status=$?
16046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16047   test $ac_status = 0; }; then
16048   # Parse the compiler output and extract the necessary
16049   # objects, libraries and library flags.
16050
16051   # Sentinel used to keep track of whether or not we are before
16052   # the conftest object file.
16053   pre_test_object_deps_done=no
16054
16055   for p in `eval "$output_verbose_link_cmd"`; do
16056     case ${prev}${p} in
16057
16058     -L* | -R* | -l*)
16059        # Some compilers place space between "-{L,R}" and the path.
16060        # Remove the space.
16061        if test $p = "-L" ||
16062           test $p = "-R"; then
16063          prev=$p
16064          continue
16065        fi
16066
16067        # Expand the sysroot to ease extracting the directories later.
16068        if test -z "$prev"; then
16069          case $p in
16070          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16071          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16072          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16073          esac
16074        fi
16075        case $p in
16076        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16077        esac
16078        if test "$pre_test_object_deps_done" = no; then
16079          case ${prev} in
16080          -L | -R)
16081            # Internal compiler library paths should come after those
16082            # provided the user.  The postdeps already come after the
16083            # user supplied libs so there is no need to process them.
16084            if test -z "$compiler_lib_search_path_CXX"; then
16085              compiler_lib_search_path_CXX="${prev}${p}"
16086            else
16087              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16088            fi
16089            ;;
16090          # The "-l" case would never come before the object being
16091          # linked, so don't bother handling this case.
16092          esac
16093        else
16094          if test -z "$postdeps_CXX"; then
16095            postdeps_CXX="${prev}${p}"
16096          else
16097            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16098          fi
16099        fi
16100        prev=
16101        ;;
16102
16103     *.lto.$objext) ;; # Ignore GCC LTO objects
16104     *.$objext)
16105        # This assumes that the test object file only shows up
16106        # once in the compiler output.
16107        if test "$p" = "conftest.$objext"; then
16108          pre_test_object_deps_done=yes
16109          continue
16110        fi
16111
16112        if test "$pre_test_object_deps_done" = no; then
16113          if test -z "$predep_objects_CXX"; then
16114            predep_objects_CXX="$p"
16115          else
16116            predep_objects_CXX="$predep_objects_CXX $p"
16117          fi
16118        else
16119          if test -z "$postdep_objects_CXX"; then
16120            postdep_objects_CXX="$p"
16121          else
16122            postdep_objects_CXX="$postdep_objects_CXX $p"
16123          fi
16124        fi
16125        ;;
16126
16127     *) ;; # Ignore the rest.
16128
16129     esac
16130   done
16131
16132   # Clean up.
16133   rm -f a.out a.exe
16134 else
16135   echo "libtool.m4: error: problem compiling CXX test program"
16136 fi
16137
16138 $RM -f confest.$objext
16139 CFLAGS=$_lt_libdeps_save_CFLAGS
16140
16141 # PORTME: override above test on systems where it is broken
16142 case $host_os in
16143 interix[3-9]*)
16144   # Interix 3.5 installs completely hosed .la files for C++, so rather than
16145   # hack all around it, let's just trust "g++" to DTRT.
16146   predep_objects_CXX=
16147   postdep_objects_CXX=
16148   postdeps_CXX=
16149   ;;
16150
16151 linux*)
16152   case `$CC -V 2>&1 | sed 5q` in
16153   *Sun\ C*)
16154     # Sun C++ 5.9
16155
16156     # The more standards-conforming stlport4 library is
16157     # incompatible with the Cstd library. Avoid specifying
16158     # it if it's in CXXFLAGS. Ignore libCrun as
16159     # -library=stlport4 depends on it.
16160     case " $CXX $CXXFLAGS " in
16161     *" -library=stlport4 "*)
16162       solaris_use_stlport4=yes
16163       ;;
16164     esac
16165
16166     if test "$solaris_use_stlport4" != yes; then
16167       postdeps_CXX='-library=Cstd -library=Crun'
16168     fi
16169     ;;
16170   esac
16171   ;;
16172
16173 solaris*)
16174   case $cc_basename in
16175   CC* | sunCC*)
16176     # The more standards-conforming stlport4 library is
16177     # incompatible with the Cstd library. Avoid specifying
16178     # it if it's in CXXFLAGS. Ignore libCrun as
16179     # -library=stlport4 depends on it.
16180     case " $CXX $CXXFLAGS " in
16181     *" -library=stlport4 "*)
16182       solaris_use_stlport4=yes
16183       ;;
16184     esac
16185
16186     # Adding this requires a known-good setup of shared libraries for
16187     # Sun compiler versions before 5.6, else PIC objects from an old
16188     # archive will be linked into the output, leading to subtle bugs.
16189     if test "$solaris_use_stlport4" != yes; then
16190       postdeps_CXX='-library=Cstd -library=Crun'
16191     fi
16192     ;;
16193   esac
16194   ;;
16195 esac
16196
16197
16198 case " $postdeps_CXX " in
16199 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16200 esac
16201  compiler_lib_search_dirs_CXX=
16202 if test -n "${compiler_lib_search_path_CXX}"; then
16203  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16204 fi
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236     lt_prog_compiler_wl_CXX=
16237 lt_prog_compiler_pic_CXX=
16238 lt_prog_compiler_static_CXX=
16239
16240
16241   # C++ specific cases for pic, static, wl, etc.
16242   if test "$GXX" = yes; then
16243     lt_prog_compiler_wl_CXX='-Wl,'
16244     lt_prog_compiler_static_CXX='-static'
16245
16246     case $host_os in
16247     aix*)
16248       # All AIX code is PIC.
16249       if test "$host_cpu" = ia64; then
16250         # AIX 5 now supports IA64 processor
16251         lt_prog_compiler_static_CXX='-Bstatic'
16252       fi
16253       ;;
16254
16255     amigaos*)
16256       case $host_cpu in
16257       powerpc)
16258             # see comment about AmigaOS4 .so support
16259             lt_prog_compiler_pic_CXX='-fPIC'
16260         ;;
16261       m68k)
16262             # FIXME: we need at least 68020 code to build shared libraries, but
16263             # adding the `-m68020' flag to GCC prevents building anything better,
16264             # like `-m68040'.
16265             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16266         ;;
16267       esac
16268       ;;
16269
16270     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16271       # PIC is the default for these OSes.
16272       ;;
16273     mingw* | cygwin* | os2* | pw32* | cegcc*)
16274       # This hack is so that the source file can tell whether it is being
16275       # built for inclusion in a dll (and should export symbols for example).
16276       # Although the cygwin gcc ignores -fPIC, still need this for old-style
16277       # (--disable-auto-import) libraries
16278       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16279       ;;
16280     darwin* | rhapsody*)
16281       # PIC is the default on this platform
16282       # Common symbols not allowed in MH_DYLIB files
16283       lt_prog_compiler_pic_CXX='-fno-common'
16284       ;;
16285     *djgpp*)
16286       # DJGPP does not support shared libraries at all
16287       lt_prog_compiler_pic_CXX=
16288       ;;
16289     haiku*)
16290       # PIC is the default for Haiku.
16291       # The "-static" flag exists, but is broken.
16292       lt_prog_compiler_static_CXX=
16293       ;;
16294     interix[3-9]*)
16295       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16296       # Instead, we relocate shared libraries at runtime.
16297       ;;
16298     sysv4*MP*)
16299       if test -d /usr/nec; then
16300         lt_prog_compiler_pic_CXX=-Kconform_pic
16301       fi
16302       ;;
16303     hpux*)
16304       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16305       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16306       # sets the default TLS model and affects inlining.
16307       case $host_cpu in
16308       hppa*64*)
16309         ;;
16310       *)
16311         lt_prog_compiler_pic_CXX='-fPIC'
16312         ;;
16313       esac
16314       ;;
16315     *qnx* | *nto*)
16316       # QNX uses GNU C++, but need to define -shared option too, otherwise
16317       # it will coredump.
16318       lt_prog_compiler_pic_CXX='-fPIC -shared'
16319       ;;
16320     *)
16321       lt_prog_compiler_pic_CXX='-fPIC'
16322       ;;
16323     esac
16324   else
16325     case $host_os in
16326       aix[4-9]*)
16327         # All AIX code is PIC.
16328         if test "$host_cpu" = ia64; then
16329           # AIX 5 now supports IA64 processor
16330           lt_prog_compiler_static_CXX='-Bstatic'
16331         else
16332           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16333         fi
16334         ;;
16335       chorus*)
16336         case $cc_basename in
16337         cxch68*)
16338           # Green Hills C++ Compiler
16339           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16340           ;;
16341         esac
16342         ;;
16343       mingw* | cygwin* | os2* | pw32* | cegcc*)
16344         # This hack is so that the source file can tell whether it is being
16345         # built for inclusion in a dll (and should export symbols for example).
16346         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16347         ;;
16348       dgux*)
16349         case $cc_basename in
16350           ec++*)
16351             lt_prog_compiler_pic_CXX='-KPIC'
16352             ;;
16353           ghcx*)
16354             # Green Hills C++ Compiler
16355             lt_prog_compiler_pic_CXX='-pic'
16356             ;;
16357           *)
16358             ;;
16359         esac
16360         ;;
16361       freebsd* | dragonfly*)
16362         # FreeBSD uses GNU C++
16363         ;;
16364       hpux9* | hpux10* | hpux11*)
16365         case $cc_basename in
16366           CC*)
16367             lt_prog_compiler_wl_CXX='-Wl,'
16368             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16369             if test "$host_cpu" != ia64; then
16370               lt_prog_compiler_pic_CXX='+Z'
16371             fi
16372             ;;
16373           aCC*)
16374             lt_prog_compiler_wl_CXX='-Wl,'
16375             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16376             case $host_cpu in
16377             hppa*64*|ia64*)
16378               # +Z the default
16379               ;;
16380             *)
16381               lt_prog_compiler_pic_CXX='+Z'
16382               ;;
16383             esac
16384             ;;
16385           *)
16386             ;;
16387         esac
16388         ;;
16389       interix*)
16390         # This is c89, which is MS Visual C++ (no shared libs)
16391         # Anyone wants to do a port?
16392         ;;
16393       irix5* | irix6* | nonstopux*)
16394         case $cc_basename in
16395           CC*)
16396             lt_prog_compiler_wl_CXX='-Wl,'
16397             lt_prog_compiler_static_CXX='-non_shared'
16398             # CC pic flag -KPIC is the default.
16399             ;;
16400           *)
16401             ;;
16402         esac
16403         ;;
16404       linux* | k*bsd*-gnu | kopensolaris*-gnu)
16405         case $cc_basename in
16406           KCC*)
16407             # KAI C++ Compiler
16408             lt_prog_compiler_wl_CXX='--backend -Wl,'
16409             lt_prog_compiler_pic_CXX='-fPIC'
16410             ;;
16411           ecpc* )
16412             # old Intel C++ for x86_64 which still supported -KPIC.
16413             lt_prog_compiler_wl_CXX='-Wl,'
16414             lt_prog_compiler_pic_CXX='-KPIC'
16415             lt_prog_compiler_static_CXX='-static'
16416             ;;
16417           icpc* )
16418             # Intel C++, used to be incompatible with GCC.
16419             # ICC 10 doesn't accept -KPIC any more.
16420             lt_prog_compiler_wl_CXX='-Wl,'
16421             lt_prog_compiler_pic_CXX='-fPIC'
16422             lt_prog_compiler_static_CXX='-static'
16423             ;;
16424           pgCC* | pgcpp*)
16425             # Portland Group C++ compiler
16426             lt_prog_compiler_wl_CXX='-Wl,'
16427             lt_prog_compiler_pic_CXX='-fpic'
16428             lt_prog_compiler_static_CXX='-Bstatic'
16429             ;;
16430           cxx*)
16431             # Compaq C++
16432             # Make sure the PIC flag is empty.  It appears that all Alpha
16433             # Linux and Compaq Tru64 Unix objects are PIC.
16434             lt_prog_compiler_pic_CXX=
16435             lt_prog_compiler_static_CXX='-non_shared'
16436             ;;
16437           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16438             # IBM XL 8.0, 9.0 on PPC and BlueGene
16439             lt_prog_compiler_wl_CXX='-Wl,'
16440             lt_prog_compiler_pic_CXX='-qpic'
16441             lt_prog_compiler_static_CXX='-qstaticlink'
16442             ;;
16443           *)
16444             case `$CC -V 2>&1 | sed 5q` in
16445             *Sun\ C*)
16446               # Sun C++ 5.9
16447               lt_prog_compiler_pic_CXX='-KPIC'
16448               lt_prog_compiler_static_CXX='-Bstatic'
16449               lt_prog_compiler_wl_CXX='-Qoption ld '
16450               ;;
16451             esac
16452             ;;
16453         esac
16454         ;;
16455       lynxos*)
16456         ;;
16457       m88k*)
16458         ;;
16459       mvs*)
16460         case $cc_basename in
16461           cxx*)
16462             lt_prog_compiler_pic_CXX='-W c,exportall'
16463             ;;
16464           *)
16465             ;;
16466         esac
16467         ;;
16468       netbsd*)
16469         ;;
16470       *qnx* | *nto*)
16471         # QNX uses GNU C++, but need to define -shared option too, otherwise
16472         # it will coredump.
16473         lt_prog_compiler_pic_CXX='-fPIC -shared'
16474         ;;
16475       osf3* | osf4* | osf5*)
16476         case $cc_basename in
16477           KCC*)
16478             lt_prog_compiler_wl_CXX='--backend -Wl,'
16479             ;;
16480           RCC*)
16481             # Rational C++ 2.4.1
16482             lt_prog_compiler_pic_CXX='-pic'
16483             ;;
16484           cxx*)
16485             # Digital/Compaq C++
16486             lt_prog_compiler_wl_CXX='-Wl,'
16487             # Make sure the PIC flag is empty.  It appears that all Alpha
16488             # Linux and Compaq Tru64 Unix objects are PIC.
16489             lt_prog_compiler_pic_CXX=
16490             lt_prog_compiler_static_CXX='-non_shared'
16491             ;;
16492           *)
16493             ;;
16494         esac
16495         ;;
16496       psos*)
16497         ;;
16498       solaris*)
16499         case $cc_basename in
16500           CC* | sunCC*)
16501             # Sun C++ 4.2, 5.x and Centerline C++
16502             lt_prog_compiler_pic_CXX='-KPIC'
16503             lt_prog_compiler_static_CXX='-Bstatic'
16504             lt_prog_compiler_wl_CXX='-Qoption ld '
16505             ;;
16506           gcx*)
16507             # Green Hills C++ Compiler
16508             lt_prog_compiler_pic_CXX='-PIC'
16509             ;;
16510           *)
16511             ;;
16512         esac
16513         ;;
16514       sunos4*)
16515         case $cc_basename in
16516           CC*)
16517             # Sun C++ 4.x
16518             lt_prog_compiler_pic_CXX='-pic'
16519             lt_prog_compiler_static_CXX='-Bstatic'
16520             ;;
16521           lcc*)
16522             # Lucid
16523             lt_prog_compiler_pic_CXX='-pic'
16524             ;;
16525           *)
16526             ;;
16527         esac
16528         ;;
16529       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16530         case $cc_basename in
16531           CC*)
16532             lt_prog_compiler_wl_CXX='-Wl,'
16533             lt_prog_compiler_pic_CXX='-KPIC'
16534             lt_prog_compiler_static_CXX='-Bstatic'
16535             ;;
16536         esac
16537         ;;
16538       tandem*)
16539         case $cc_basename in
16540           NCC*)
16541             # NonStop-UX NCC 3.20
16542             lt_prog_compiler_pic_CXX='-KPIC'
16543             ;;
16544           *)
16545             ;;
16546         esac
16547         ;;
16548       vxworks*)
16549         ;;
16550       *)
16551         lt_prog_compiler_can_build_shared_CXX=no
16552         ;;
16553     esac
16554   fi
16555
16556 case $host_os in
16557   # For platforms which do not support PIC, -DPIC is meaningless:
16558   *djgpp*)
16559     lt_prog_compiler_pic_CXX=
16560     ;;
16561   *)
16562     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16563     ;;
16564 esac
16565
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16567 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16568 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16569   $as_echo_n "(cached) " >&6
16570 else
16571   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16572 fi
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16574 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16575 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16576
16577 #
16578 # Check to make sure the PIC flag actually works.
16579 #
16580 if test -n "$lt_prog_compiler_pic_CXX"; then
16581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16582 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16583 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16584   $as_echo_n "(cached) " >&6
16585 else
16586   lt_cv_prog_compiler_pic_works_CXX=no
16587    ac_outfile=conftest.$ac_objext
16588    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16589    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16590    # Insert the option either (1) after the last *FLAGS variable, or
16591    # (2) before a word containing "conftest.", or (3) at the end.
16592    # Note that $ac_compile itself does not contain backslashes and begins
16593    # with a dollar sign (not a hyphen), so the echo should work correctly.
16594    # The option is referenced via a variable to avoid confusing sed.
16595    lt_compile=`echo "$ac_compile" | $SED \
16596    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16597    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16598    -e 's:$: $lt_compiler_flag:'`
16599    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16600    (eval "$lt_compile" 2>conftest.err)
16601    ac_status=$?
16602    cat conftest.err >&5
16603    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604    if (exit $ac_status) && test -s "$ac_outfile"; then
16605      # The compiler can only warn and ignore the option if not recognized
16606      # So say no if there are warnings other than the usual output.
16607      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16608      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16609      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16610        lt_cv_prog_compiler_pic_works_CXX=yes
16611      fi
16612    fi
16613    $RM conftest*
16614
16615 fi
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16617 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16618
16619 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16620     case $lt_prog_compiler_pic_CXX in
16621      "" | " "*) ;;
16622      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16623      esac
16624 else
16625     lt_prog_compiler_pic_CXX=
16626      lt_prog_compiler_can_build_shared_CXX=no
16627 fi
16628
16629 fi
16630
16631
16632
16633
16634
16635 #
16636 # Check to make sure the static flag actually works.
16637 #
16638 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16640 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16641 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16642   $as_echo_n "(cached) " >&6
16643 else
16644   lt_cv_prog_compiler_static_works_CXX=no
16645    save_LDFLAGS="$LDFLAGS"
16646    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16647    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16648    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16649      # The linker can only warn and ignore the option if not recognized
16650      # So say no if there are warnings
16651      if test -s conftest.err; then
16652        # Append any errors to the config.log.
16653        cat conftest.err 1>&5
16654        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16655        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16656        if diff conftest.exp conftest.er2 >/dev/null; then
16657          lt_cv_prog_compiler_static_works_CXX=yes
16658        fi
16659      else
16660        lt_cv_prog_compiler_static_works_CXX=yes
16661      fi
16662    fi
16663    $RM -r conftest*
16664    LDFLAGS="$save_LDFLAGS"
16665
16666 fi
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16668 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16669
16670 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16671     :
16672 else
16673     lt_prog_compiler_static_CXX=
16674 fi
16675
16676
16677
16678
16679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16680 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16681 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16682   $as_echo_n "(cached) " >&6
16683 else
16684   lt_cv_prog_compiler_c_o_CXX=no
16685    $RM -r conftest 2>/dev/null
16686    mkdir conftest
16687    cd conftest
16688    mkdir out
16689    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16690
16691    lt_compiler_flag="-o out/conftest2.$ac_objext"
16692    # Insert the option either (1) after the last *FLAGS variable, or
16693    # (2) before a word containing "conftest.", or (3) at the end.
16694    # Note that $ac_compile itself does not contain backslashes and begins
16695    # with a dollar sign (not a hyphen), so the echo should work correctly.
16696    lt_compile=`echo "$ac_compile" | $SED \
16697    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16698    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16699    -e 's:$: $lt_compiler_flag:'`
16700    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16701    (eval "$lt_compile" 2>out/conftest.err)
16702    ac_status=$?
16703    cat out/conftest.err >&5
16704    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16706    then
16707      # The compiler can only warn and ignore the option if not recognized
16708      # So say no if there are warnings
16709      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16710      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16711      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16712        lt_cv_prog_compiler_c_o_CXX=yes
16713      fi
16714    fi
16715    chmod u+w . 2>&5
16716    $RM conftest*
16717    # SGI C++ compiler will create directory out/ii_files/ for
16718    # template instantiation
16719    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16720    $RM out/* && rmdir out
16721    cd ..
16722    $RM -r conftest
16723    $RM conftest*
16724
16725 fi
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16727 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16728
16729
16730
16731     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16732 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16733 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16734   $as_echo_n "(cached) " >&6
16735 else
16736   lt_cv_prog_compiler_c_o_CXX=no
16737    $RM -r conftest 2>/dev/null
16738    mkdir conftest
16739    cd conftest
16740    mkdir out
16741    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16742
16743    lt_compiler_flag="-o out/conftest2.$ac_objext"
16744    # Insert the option either (1) after the last *FLAGS variable, or
16745    # (2) before a word containing "conftest.", or (3) at the end.
16746    # Note that $ac_compile itself does not contain backslashes and begins
16747    # with a dollar sign (not a hyphen), so the echo should work correctly.
16748    lt_compile=`echo "$ac_compile" | $SED \
16749    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16750    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16751    -e 's:$: $lt_compiler_flag:'`
16752    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16753    (eval "$lt_compile" 2>out/conftest.err)
16754    ac_status=$?
16755    cat out/conftest.err >&5
16756    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16758    then
16759      # The compiler can only warn and ignore the option if not recognized
16760      # So say no if there are warnings
16761      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16762      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16763      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16764        lt_cv_prog_compiler_c_o_CXX=yes
16765      fi
16766    fi
16767    chmod u+w . 2>&5
16768    $RM conftest*
16769    # SGI C++ compiler will create directory out/ii_files/ for
16770    # template instantiation
16771    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16772    $RM out/* && rmdir out
16773    cd ..
16774    $RM -r conftest
16775    $RM conftest*
16776
16777 fi
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16779 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16780
16781
16782
16783
16784 hard_links="nottested"
16785 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16786   # do not overwrite the value of need_locks provided by the user
16787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16788 $as_echo_n "checking if we can lock with hard links... " >&6; }
16789   hard_links=yes
16790   $RM conftest*
16791   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16792   touch conftest.a
16793   ln conftest.a conftest.b 2>&5 || hard_links=no
16794   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16796 $as_echo "$hard_links" >&6; }
16797   if test "$hard_links" = no; then
16798     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16799 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16800     need_locks=warn
16801   fi
16802 else
16803   need_locks=no
16804 fi
16805
16806
16807
16808     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16809 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16810
16811   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16812   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16813   case $host_os in
16814   aix[4-9]*)
16815     # If we're using GNU nm, then we don't want the "-C" option.
16816     # -C means demangle to AIX nm, but means don't demangle with GNU nm
16817     # Also, AIX nm treats weak defined symbols like other global defined
16818     # symbols, whereas GNU nm marks them as "W".
16819     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16820       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16821     else
16822       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16823     fi
16824     ;;
16825   pw32*)
16826     export_symbols_cmds_CXX="$ltdll_cmds"
16827     ;;
16828   cygwin* | mingw* | cegcc*)
16829     case $cc_basename in
16830     cl*) ;;
16831     *)
16832       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16833       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16834       ;;
16835     esac
16836     ;;
16837   *)
16838     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16839     ;;
16840   esac
16841
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16843 $as_echo "$ld_shlibs_CXX" >&6; }
16844 test "$ld_shlibs_CXX" = no && can_build_shared=no
16845
16846 with_gnu_ld_CXX=$with_gnu_ld
16847
16848
16849
16850
16851
16852
16853 #
16854 # Do we need to explicitly link libc?
16855 #
16856 case "x$archive_cmds_need_lc_CXX" in
16857 x|xyes)
16858   # Assume -lc should be added
16859   archive_cmds_need_lc_CXX=yes
16860
16861   if test "$enable_shared" = yes && test "$GCC" = yes; then
16862     case $archive_cmds_CXX in
16863     *'~'*)
16864       # FIXME: we may have to deal with multi-command sequences.
16865       ;;
16866     '$CC '*)
16867       # Test whether the compiler implicitly links with -lc since on some
16868       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16869       # to ld, don't add -lc before -lgcc.
16870       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16871 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16872 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16873   $as_echo_n "(cached) " >&6
16874 else
16875   $RM conftest*
16876         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16877
16878         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16879   (eval $ac_compile) 2>&5
16880   ac_status=$?
16881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16882   test $ac_status = 0; } 2>conftest.err; then
16883           soname=conftest
16884           lib=conftest
16885           libobjs=conftest.$ac_objext
16886           deplibs=
16887           wl=$lt_prog_compiler_wl_CXX
16888           pic_flag=$lt_prog_compiler_pic_CXX
16889           compiler_flags=-v
16890           linker_flags=-v
16891           verstring=
16892           output_objdir=.
16893           libname=conftest
16894           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16895           allow_undefined_flag_CXX=
16896           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16897   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16898   ac_status=$?
16899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16900   test $ac_status = 0; }
16901           then
16902             lt_cv_archive_cmds_need_lc_CXX=no
16903           else
16904             lt_cv_archive_cmds_need_lc_CXX=yes
16905           fi
16906           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16907         else
16908           cat conftest.err 1>&5
16909         fi
16910         $RM conftest*
16911
16912 fi
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16914 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16915       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16916       ;;
16917     esac
16918   fi
16919   ;;
16920 esac
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16986 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16987
16988 library_names_spec=
16989 libname_spec='lib$name'
16990 soname_spec=
16991 shrext_cmds=".so"
16992 postinstall_cmds=
16993 postuninstall_cmds=
16994 finish_cmds=
16995 finish_eval=
16996 shlibpath_var=
16997 shlibpath_overrides_runpath=unknown
16998 version_type=none
16999 dynamic_linker="$host_os ld.so"
17000 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17001 need_lib_prefix=unknown
17002 hardcode_into_libs=no
17003
17004 # when you set need_version to no, make sure it does not cause -set_version
17005 # flags to be left without arguments
17006 need_version=unknown
17007
17008 case $host_os in
17009 aix3*)
17010   version_type=linux
17011   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17012   shlibpath_var=LIBPATH
17013
17014   # AIX 3 has no versioning support, so we append a major version to the name.
17015   soname_spec='${libname}${release}${shared_ext}$major'
17016   ;;
17017
17018 aix[4-9]*)
17019   version_type=linux
17020   need_lib_prefix=no
17021   need_version=no
17022   hardcode_into_libs=yes
17023   if test "$host_cpu" = ia64; then
17024     # AIX 5 supports IA64
17025     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17026     shlibpath_var=LD_LIBRARY_PATH
17027   else
17028     # With GCC up to 2.95.x, collect2 would create an import file
17029     # for dependence libraries.  The import file would start with
17030     # the line `#! .'.  This would cause the generated library to
17031     # depend on `.', always an invalid library.  This was fixed in
17032     # development snapshots of GCC prior to 3.0.
17033     case $host_os in
17034       aix4 | aix4.[01] | aix4.[01].*)
17035       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17036            echo ' yes '
17037            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17038         :
17039       else
17040         can_build_shared=no
17041       fi
17042       ;;
17043     esac
17044     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17045     # soname into executable. Probably we can add versioning support to
17046     # collect2, so additional links can be useful in future.
17047     if test "$aix_use_runtimelinking" = yes; then
17048       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17049       # instead of lib<name>.a to let people know that these are not
17050       # typical AIX shared libraries.
17051       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17052     else
17053       # We preserve .a as extension for shared libraries through AIX4.2
17054       # and later when we are not doing run time linking.
17055       library_names_spec='${libname}${release}.a $libname.a'
17056       soname_spec='${libname}${release}${shared_ext}$major'
17057     fi
17058     shlibpath_var=LIBPATH
17059   fi
17060   ;;
17061
17062 amigaos*)
17063   case $host_cpu in
17064   powerpc)
17065     # Since July 2007 AmigaOS4 officially supports .so libraries.
17066     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17067     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17068     ;;
17069   m68k)
17070     library_names_spec='$libname.ixlibrary $libname.a'
17071     # Create ${libname}_ixlibrary.a entries in /sys/libs.
17072     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'
17073     ;;
17074   esac
17075   ;;
17076
17077 beos*)
17078   library_names_spec='${libname}${shared_ext}'
17079   dynamic_linker="$host_os ld.so"
17080   shlibpath_var=LIBRARY_PATH
17081   ;;
17082
17083 bsdi[45]*)
17084   version_type=linux
17085   need_version=no
17086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17087   soname_spec='${libname}${release}${shared_ext}$major'
17088   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17089   shlibpath_var=LD_LIBRARY_PATH
17090   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17091   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17092   # the default ld.so.conf also contains /usr/contrib/lib and
17093   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17094   # libtool to hard-code these into programs
17095   ;;
17096
17097 cygwin* | mingw* | pw32* | cegcc*)
17098   version_type=windows
17099   shrext_cmds=".dll"
17100   need_version=no
17101   need_lib_prefix=no
17102
17103   case $GCC,$cc_basename in
17104   yes,*)
17105     # gcc
17106     library_names_spec='$libname.dll.a'
17107     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17108     postinstall_cmds='base_file=`basename \${file}`~
17109       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17110       dldir=$destdir/`dirname \$dlpath`~
17111       test -d \$dldir || mkdir -p \$dldir~
17112       $install_prog $dir/$dlname \$dldir/$dlname~
17113       chmod a+x \$dldir/$dlname~
17114       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17115         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17116       fi'
17117     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17118       dlpath=$dir/\$dldll~
17119        $RM \$dlpath'
17120     shlibpath_overrides_runpath=yes
17121
17122     case $host_os in
17123     cygwin*)
17124       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17125       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17126
17127       ;;
17128     mingw* | cegcc*)
17129       # MinGW DLLs use traditional 'lib' prefix
17130       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17131       ;;
17132     pw32*)
17133       # pw32 DLLs use 'pw' prefix rather than 'lib'
17134       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17135       ;;
17136     esac
17137     dynamic_linker='Win32 ld.exe'
17138     ;;
17139
17140   *,cl*)
17141     # Native MSVC
17142     libname_spec='$name'
17143     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17144     library_names_spec='${libname}.dll.lib'
17145
17146     case $build_os in
17147     mingw*)
17148       sys_lib_search_path_spec=
17149       lt_save_ifs=$IFS
17150       IFS=';'
17151       for lt_path in $LIB
17152       do
17153         IFS=$lt_save_ifs
17154         # Let DOS variable expansion print the short 8.3 style file name.
17155         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17156         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17157       done
17158       IFS=$lt_save_ifs
17159       # Convert to MSYS style.
17160       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17161       ;;
17162     cygwin*)
17163       # Convert to unix form, then to dos form, then back to unix form
17164       # but this time dos style (no spaces!) so that the unix form looks
17165       # like /cygdrive/c/PROGRA~1:/cygdr...
17166       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17167       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17168       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17169       ;;
17170     *)
17171       sys_lib_search_path_spec="$LIB"
17172       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17173         # It is most probably a Windows format PATH.
17174         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17175       else
17176         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17177       fi
17178       # FIXME: find the short name or the path components, as spaces are
17179       # common. (e.g. "Program Files" -> "PROGRA~1")
17180       ;;
17181     esac
17182
17183     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17184     postinstall_cmds='base_file=`basename \${file}`~
17185       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17186       dldir=$destdir/`dirname \$dlpath`~
17187       test -d \$dldir || mkdir -p \$dldir~
17188       $install_prog $dir/$dlname \$dldir/$dlname'
17189     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17190       dlpath=$dir/\$dldll~
17191        $RM \$dlpath'
17192     shlibpath_overrides_runpath=yes
17193     dynamic_linker='Win32 link.exe'
17194     ;;
17195
17196   *)
17197     # Assume MSVC wrapper
17198     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17199     dynamic_linker='Win32 ld.exe'
17200     ;;
17201   esac
17202   # FIXME: first we should search . and the directory the executable is in
17203   shlibpath_var=PATH
17204   ;;
17205
17206 darwin* | rhapsody*)
17207   dynamic_linker="$host_os dyld"
17208   version_type=darwin
17209   need_lib_prefix=no
17210   need_version=no
17211   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17212   soname_spec='${libname}${release}${major}$shared_ext'
17213   shlibpath_overrides_runpath=yes
17214   shlibpath_var=DYLD_LIBRARY_PATH
17215   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17216
17217   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17218   ;;
17219
17220 dgux*)
17221   version_type=linux
17222   need_lib_prefix=no
17223   need_version=no
17224   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17225   soname_spec='${libname}${release}${shared_ext}$major'
17226   shlibpath_var=LD_LIBRARY_PATH
17227   ;;
17228
17229 freebsd1*)
17230   dynamic_linker=no
17231   ;;
17232
17233 freebsd* | dragonfly*)
17234   # DragonFly does not have aout.  When/if they implement a new
17235   # versioning mechanism, adjust this.
17236   if test -x /usr/bin/objformat; then
17237     objformat=`/usr/bin/objformat`
17238   else
17239     case $host_os in
17240     freebsd[123]*) objformat=aout ;;
17241     *) objformat=elf ;;
17242     esac
17243   fi
17244   version_type=freebsd-$objformat
17245   case $version_type in
17246     freebsd-elf*)
17247       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17248       need_version=no
17249       need_lib_prefix=no
17250       ;;
17251     freebsd-*)
17252       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17253       need_version=yes
17254       ;;
17255   esac
17256   shlibpath_var=LD_LIBRARY_PATH
17257   case $host_os in
17258   freebsd2*)
17259     shlibpath_overrides_runpath=yes
17260     ;;
17261   freebsd3.[01]* | freebsdelf3.[01]*)
17262     shlibpath_overrides_runpath=yes
17263     hardcode_into_libs=yes
17264     ;;
17265   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17266   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17267     shlibpath_overrides_runpath=no
17268     hardcode_into_libs=yes
17269     ;;
17270   *) # from 4.6 on, and DragonFly
17271     shlibpath_overrides_runpath=yes
17272     hardcode_into_libs=yes
17273     ;;
17274   esac
17275   ;;
17276
17277 gnu*)
17278   version_type=linux
17279   need_lib_prefix=no
17280   need_version=no
17281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17282   soname_spec='${libname}${release}${shared_ext}$major'
17283   shlibpath_var=LD_LIBRARY_PATH
17284   hardcode_into_libs=yes
17285   ;;
17286
17287 haiku*)
17288   version_type=linux
17289   need_lib_prefix=no
17290   need_version=no
17291   dynamic_linker="$host_os runtime_loader"
17292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17293   soname_spec='${libname}${release}${shared_ext}$major'
17294   shlibpath_var=LIBRARY_PATH
17295   shlibpath_overrides_runpath=yes
17296   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17297   hardcode_into_libs=yes
17298   ;;
17299
17300 hpux9* | hpux10* | hpux11*)
17301   # Give a soname corresponding to the major version so that dld.sl refuses to
17302   # link against other versions.
17303   version_type=sunos
17304   need_lib_prefix=no
17305   need_version=no
17306   case $host_cpu in
17307   ia64*)
17308     shrext_cmds='.so'
17309     hardcode_into_libs=yes
17310     dynamic_linker="$host_os dld.so"
17311     shlibpath_var=LD_LIBRARY_PATH
17312     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17313     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17314     soname_spec='${libname}${release}${shared_ext}$major'
17315     if test "X$HPUX_IA64_MODE" = X32; then
17316       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17317     else
17318       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17319     fi
17320     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17321     ;;
17322   hppa*64*)
17323     shrext_cmds='.sl'
17324     hardcode_into_libs=yes
17325     dynamic_linker="$host_os dld.sl"
17326     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17327     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17328     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17329     soname_spec='${libname}${release}${shared_ext}$major'
17330     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17331     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17332     ;;
17333   *)
17334     shrext_cmds='.sl'
17335     dynamic_linker="$host_os dld.sl"
17336     shlibpath_var=SHLIB_PATH
17337     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17338     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17339     soname_spec='${libname}${release}${shared_ext}$major'
17340     ;;
17341   esac
17342   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17343   postinstall_cmds='chmod 555 $lib'
17344   # or fails outright, so override atomically:
17345   install_override_mode=555
17346   ;;
17347
17348 interix[3-9]*)
17349   version_type=linux
17350   need_lib_prefix=no
17351   need_version=no
17352   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17353   soname_spec='${libname}${release}${shared_ext}$major'
17354   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17355   shlibpath_var=LD_LIBRARY_PATH
17356   shlibpath_overrides_runpath=no
17357   hardcode_into_libs=yes
17358   ;;
17359
17360 irix5* | irix6* | nonstopux*)
17361   case $host_os in
17362     nonstopux*) version_type=nonstopux ;;
17363     *)
17364         if test "$lt_cv_prog_gnu_ld" = yes; then
17365                 version_type=linux
17366         else
17367                 version_type=irix
17368         fi ;;
17369   esac
17370   need_lib_prefix=no
17371   need_version=no
17372   soname_spec='${libname}${release}${shared_ext}$major'
17373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17374   case $host_os in
17375   irix5* | nonstopux*)
17376     libsuff= shlibsuff=
17377     ;;
17378   *)
17379     case $LD in # libtool.m4 will add one of these switches to LD
17380     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17381       libsuff= shlibsuff= libmagic=32-bit;;
17382     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17383       libsuff=32 shlibsuff=N32 libmagic=N32;;
17384     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17385       libsuff=64 shlibsuff=64 libmagic=64-bit;;
17386     *) libsuff= shlibsuff= libmagic=never-match;;
17387     esac
17388     ;;
17389   esac
17390   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17391   shlibpath_overrides_runpath=no
17392   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17393   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17394   hardcode_into_libs=yes
17395   ;;
17396
17397 # No shared lib support for Linux oldld, aout, or coff.
17398 linux*oldld* | linux*aout* | linux*coff*)
17399   dynamic_linker=no
17400   ;;
17401
17402 # This must be Linux ELF.
17403 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17404   version_type=linux
17405   need_lib_prefix=no
17406   need_version=no
17407   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17408   soname_spec='${libname}${release}${shared_ext}$major'
17409   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17410   shlibpath_var=LD_LIBRARY_PATH
17411   shlibpath_overrides_runpath=no
17412
17413   # Some binutils ld are patched to set DT_RUNPATH
17414   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17415   $as_echo_n "(cached) " >&6
17416 else
17417   lt_cv_shlibpath_overrides_runpath=no
17418     save_LDFLAGS=$LDFLAGS
17419     save_libdir=$libdir
17420     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17421          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17422     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h.  */
17424
17425 int
17426 main ()
17427 {
17428
17429   ;
17430   return 0;
17431 }
17432 _ACEOF
17433 if ac_fn_cxx_try_link "$LINENO"; then :
17434   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17435   lt_cv_shlibpath_overrides_runpath=yes
17436 fi
17437 fi
17438 rm -f core conftest.err conftest.$ac_objext \
17439     conftest$ac_exeext conftest.$ac_ext
17440     LDFLAGS=$save_LDFLAGS
17441     libdir=$save_libdir
17442
17443 fi
17444
17445   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17446
17447   # This implies no fast_install, which is unacceptable.
17448   # Some rework will be needed to allow for fast_install
17449   # before this can be enabled.
17450   hardcode_into_libs=yes
17451
17452   # Append ld.so.conf contents to the search path
17453   if test -f /etc/ld.so.conf; then
17454     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' ' '`
17455     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17456   fi
17457
17458   # We used to test for /lib/ld.so.1 and disable shared libraries on
17459   # powerpc, because MkLinux only supported shared libraries with the
17460   # GNU dynamic linker.  Since this was broken with cross compilers,
17461   # most powerpc-linux boxes support dynamic linking these days and
17462   # people can always --disable-shared, the test was removed, and we
17463   # assume the GNU/Linux dynamic linker is in use.
17464   dynamic_linker='GNU/Linux ld.so'
17465   ;;
17466
17467 netbsd*)
17468   version_type=sunos
17469   need_lib_prefix=no
17470   need_version=no
17471   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17472     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17473     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17474     dynamic_linker='NetBSD (a.out) ld.so'
17475   else
17476     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17477     soname_spec='${libname}${release}${shared_ext}$major'
17478     dynamic_linker='NetBSD ld.elf_so'
17479   fi
17480   shlibpath_var=LD_LIBRARY_PATH
17481   shlibpath_overrides_runpath=yes
17482   hardcode_into_libs=yes
17483   ;;
17484
17485 newsos6)
17486   version_type=linux
17487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17488   shlibpath_var=LD_LIBRARY_PATH
17489   shlibpath_overrides_runpath=yes
17490   ;;
17491
17492 *nto* | *qnx*)
17493   version_type=qnx
17494   need_lib_prefix=no
17495   need_version=no
17496   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17497   soname_spec='${libname}${release}${shared_ext}$major'
17498   shlibpath_var=LD_LIBRARY_PATH
17499   shlibpath_overrides_runpath=no
17500   hardcode_into_libs=yes
17501   dynamic_linker='ldqnx.so'
17502   ;;
17503
17504 openbsd*)
17505   version_type=sunos
17506   sys_lib_dlsearch_path_spec="/usr/lib"
17507   need_lib_prefix=no
17508   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17509   case $host_os in
17510     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
17511     *)                          need_version=no  ;;
17512   esac
17513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17514   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17515   shlibpath_var=LD_LIBRARY_PATH
17516   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17517     case $host_os in
17518       openbsd2.[89] | openbsd2.[89].*)
17519         shlibpath_overrides_runpath=no
17520         ;;
17521       *)
17522         shlibpath_overrides_runpath=yes
17523         ;;
17524       esac
17525   else
17526     shlibpath_overrides_runpath=yes
17527   fi
17528   ;;
17529
17530 os2*)
17531   libname_spec='$name'
17532   shrext_cmds=".dll"
17533   need_lib_prefix=no
17534   library_names_spec='$libname${shared_ext} $libname.a'
17535   dynamic_linker='OS/2 ld.exe'
17536   shlibpath_var=LIBPATH
17537   ;;
17538
17539 osf3* | osf4* | osf5*)
17540   version_type=osf
17541   need_lib_prefix=no
17542   need_version=no
17543   soname_spec='${libname}${release}${shared_ext}$major'
17544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17545   shlibpath_var=LD_LIBRARY_PATH
17546   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17547   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17548   ;;
17549
17550 rdos*)
17551   dynamic_linker=no
17552   ;;
17553
17554 solaris*)
17555   version_type=linux
17556   need_lib_prefix=no
17557   need_version=no
17558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17559   soname_spec='${libname}${release}${shared_ext}$major'
17560   shlibpath_var=LD_LIBRARY_PATH
17561   shlibpath_overrides_runpath=yes
17562   hardcode_into_libs=yes
17563   # ldd complains unless libraries are executable
17564   postinstall_cmds='chmod +x $lib'
17565   ;;
17566
17567 sunos4*)
17568   version_type=sunos
17569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17570   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17571   shlibpath_var=LD_LIBRARY_PATH
17572   shlibpath_overrides_runpath=yes
17573   if test "$with_gnu_ld" = yes; then
17574     need_lib_prefix=no
17575   fi
17576   need_version=yes
17577   ;;
17578
17579 sysv4 | sysv4.3*)
17580   version_type=linux
17581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17582   soname_spec='${libname}${release}${shared_ext}$major'
17583   shlibpath_var=LD_LIBRARY_PATH
17584   case $host_vendor in
17585     sni)
17586       shlibpath_overrides_runpath=no
17587       need_lib_prefix=no
17588       runpath_var=LD_RUN_PATH
17589       ;;
17590     siemens)
17591       need_lib_prefix=no
17592       ;;
17593     motorola)
17594       need_lib_prefix=no
17595       need_version=no
17596       shlibpath_overrides_runpath=no
17597       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17598       ;;
17599   esac
17600   ;;
17601
17602 sysv4*MP*)
17603   if test -d /usr/nec ;then
17604     version_type=linux
17605     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17606     soname_spec='$libname${shared_ext}.$major'
17607     shlibpath_var=LD_LIBRARY_PATH
17608   fi
17609   ;;
17610
17611 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17612   version_type=freebsd-elf
17613   need_lib_prefix=no
17614   need_version=no
17615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17616   soname_spec='${libname}${release}${shared_ext}$major'
17617   shlibpath_var=LD_LIBRARY_PATH
17618   shlibpath_overrides_runpath=yes
17619   hardcode_into_libs=yes
17620   if test "$with_gnu_ld" = yes; then
17621     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17622   else
17623     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17624     case $host_os in
17625       sco3.2v5*)
17626         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17627         ;;
17628     esac
17629   fi
17630   sys_lib_dlsearch_path_spec='/usr/lib'
17631   ;;
17632
17633 tpf*)
17634   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17635   version_type=linux
17636   need_lib_prefix=no
17637   need_version=no
17638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17639   shlibpath_var=LD_LIBRARY_PATH
17640   shlibpath_overrides_runpath=no
17641   hardcode_into_libs=yes
17642   ;;
17643
17644 uts4*)
17645   version_type=linux
17646   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17647   soname_spec='${libname}${release}${shared_ext}$major'
17648   shlibpath_var=LD_LIBRARY_PATH
17649   ;;
17650
17651 *)
17652   dynamic_linker=no
17653   ;;
17654 esac
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17656 $as_echo "$dynamic_linker" >&6; }
17657 test "$dynamic_linker" = no && can_build_shared=no
17658
17659 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17660 if test "$GCC" = yes; then
17661   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17662 fi
17663
17664 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17665   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17666 fi
17667 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17668   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17669 fi
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17709 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17710 hardcode_action_CXX=
17711 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17712    test -n "$runpath_var_CXX" ||
17713    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17714
17715   # We can hardcode non-existent directories.
17716   if test "$hardcode_direct_CXX" != no &&
17717      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17718      # have to relink, otherwise we might link with an installed library
17719      # when we should be linking with a yet-to-be-installed one
17720      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17721      test "$hardcode_minus_L_CXX" != no; then
17722     # Linking always hardcodes the temporary library directory.
17723     hardcode_action_CXX=relink
17724   else
17725     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17726     hardcode_action_CXX=immediate
17727   fi
17728 else
17729   # We cannot hardcode anything, or else we can only hardcode existing
17730   # directories.
17731   hardcode_action_CXX=unsupported
17732 fi
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17734 $as_echo "$hardcode_action_CXX" >&6; }
17735
17736 if test "$hardcode_action_CXX" = relink ||
17737    test "$inherit_rpath_CXX" = yes; then
17738   # Fast installation is not supported
17739   enable_fast_install=no
17740 elif test "$shlibpath_overrides_runpath" = yes ||
17741      test "$enable_shared" = no; then
17742   # Fast installation is not necessary
17743   enable_fast_install=needless
17744 fi
17745
17746
17747
17748
17749
17750
17751
17752   fi # test -n "$compiler"
17753
17754   CC=$lt_save_CC
17755   CFLAGS=$lt_save_CFLAGS
17756   LDCXX=$LD
17757   LD=$lt_save_LD
17758   GCC=$lt_save_GCC
17759   with_gnu_ld=$lt_save_with_gnu_ld
17760   lt_cv_path_LDCXX=$lt_cv_path_LD
17761   lt_cv_path_LD=$lt_save_path_LD
17762   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17763   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17764 fi # test "$_lt_caught_CXX_error" != yes
17765
17766 ac_ext=c
17767 ac_cpp='$CPP $CPPFLAGS'
17768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17771
17772
17773
17774
17775 if test "$GCC" = "yes" ; then
17776 #    AC_HAVE_GCC_VERSION(4,0,0,0,
17777 #        [
17778 #        AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17779 #            [Define to enable class visibility control in gcc.])
17780 #        GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17781 #        GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17782 #        ])
17783     CFLAGS="$GCC_CFLAGS"
17784     CXXFLAGS="$GCC_CXXFLAGS"
17785 else
17786 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17787         case "${host_cpu}-${host_os}" in
17788                 *solaris*)
17789                         if test "$CXX" = "CC" ; then
17790                                 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17791                         fi
17792                 ;;
17793         esac
17794 fi
17795
17796 # Checks for typedefs, structures, and compiler characteristics.
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17798 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17799 if ${ac_cv_c_const+:} false; then :
17800   $as_echo_n "(cached) " >&6
17801 else
17802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h.  */
17804
17805 int
17806 main ()
17807 {
17808 /* FIXME: Include the comments suggested by Paul. */
17809 #ifndef __cplusplus
17810   /* Ultrix mips cc rejects this.  */
17811   typedef int charset[2];
17812   const charset cs;
17813   /* SunOS 4.1.1 cc rejects this.  */
17814   char const *const *pcpcc;
17815   char **ppc;
17816   /* NEC SVR4.0.2 mips cc rejects this.  */
17817   struct point {int x, y;};
17818   static struct point const zero = {0,0};
17819   /* AIX XL C 1.02.0.0 rejects this.
17820      It does not let you subtract one const X* pointer from another in
17821      an arm of an if-expression whose if-part is not a constant
17822      expression */
17823   const char *g = "string";
17824   pcpcc = &g + (g ? g-g : 0);
17825   /* HPUX 7.0 cc rejects these. */
17826   ++pcpcc;
17827   ppc = (char**) pcpcc;
17828   pcpcc = (char const *const *) ppc;
17829   { /* SCO 3.2v4 cc rejects this.  */
17830     char *t;
17831     char const *s = 0 ? (char *) 0 : (char const *) 0;
17832
17833     *t++ = 0;
17834     if (s) return 0;
17835   }
17836   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17837     int x[] = {25, 17};
17838     const int *foo = &x[0];
17839     ++foo;
17840   }
17841   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17842     typedef const int *iptr;
17843     iptr p = 0;
17844     ++p;
17845   }
17846   { /* AIX XL C 1.02.0.0 rejects this saying
17847        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17848     struct s { int j; const int *ap[3]; };
17849     struct s *b; b->j = 5;
17850   }
17851   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17852     const int foo = 10;
17853     if (!foo) return 0;
17854   }
17855   return !cs[0] && !zero.x;
17856 #endif
17857
17858   ;
17859   return 0;
17860 }
17861 _ACEOF
17862 if ac_fn_c_try_compile "$LINENO"; then :
17863   ac_cv_c_const=yes
17864 else
17865   ac_cv_c_const=no
17866 fi
17867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17868 fi
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17870 $as_echo "$ac_cv_c_const" >&6; }
17871 if test $ac_cv_c_const = no; then
17872
17873 $as_echo "#define const /**/" >>confdefs.h
17874
17875 fi
17876
17877 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17878 if test "x$ac_cv_type_size_t" = xyes; then :
17879
17880 else
17881
17882 cat >>confdefs.h <<_ACEOF
17883 #define size_t unsigned int
17884 _ACEOF
17885
17886 fi
17887
17888
17889 # Checks for library functions.
17890 for ac_func in strchr strdup strstr
17891 do :
17892   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17894 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17895   cat >>confdefs.h <<_ACEOF
17896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17897 _ACEOF
17898
17899 fi
17900 done
17901
17902 # The cast to long int works around a bug in the HP C Compiler
17903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17905 # This bug is HP SR number 8606223364.
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
17907 $as_echo_n "checking size of time_t... " >&6; }
17908 if ${ac_cv_sizeof_time_t+:} false; then :
17909   $as_echo_n "(cached) " >&6
17910 else
17911   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t"        "$ac_includes_default"; then :
17912
17913 else
17914   if test "$ac_cv_type_time_t" = yes; then
17915      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17917 as_fn_error 77 "cannot compute sizeof (time_t)
17918 See \`config.log' for more details" "$LINENO" 5; }
17919    else
17920      ac_cv_sizeof_time_t=0
17921    fi
17922 fi
17923
17924 fi
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
17926 $as_echo "$ac_cv_sizeof_time_t" >&6; }
17927
17928
17929
17930 cat >>confdefs.h <<_ACEOF
17931 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
17932 _ACEOF
17933
17934
17935
17936 # checks for pthreads
17937
17938
17939 ac_ext=c
17940 ac_cpp='$CPP $CPPFLAGS'
17941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17944
17945 acx_pthread_ok=no
17946
17947 # We used to check for pthread.h first, but this fails if pthread.h
17948 # requires special compiler flags (e.g. on True64 or Sequent).
17949 # It gets checked for in the link test anyway.
17950
17951 # First of all, check if the user has set any of the PTHREAD_LIBS,
17952 # etcetera environment variables, and if threads linking works using
17953 # them:
17954 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17955         save_CFLAGS="$CFLAGS"
17956         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17957         save_LIBS="$LIBS"
17958         LIBS="$PTHREAD_LIBS $LIBS"
17959         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17960 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17961         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h.  */
17963
17964 /* Override any GCC internal prototype to avoid an error.
17965    Use char because int might match the return type of a GCC
17966    builtin and then its argument prototype would still apply.  */
17967 #ifdef __cplusplus
17968 extern "C"
17969 #endif
17970 char pthread_join ();
17971 int
17972 main ()
17973 {
17974 return pthread_join ();
17975   ;
17976   return 0;
17977 }
17978 _ACEOF
17979 if ac_fn_c_try_link "$LINENO"; then :
17980   acx_pthread_ok=yes
17981 fi
17982 rm -f core conftest.err conftest.$ac_objext \
17983     conftest$ac_exeext conftest.$ac_ext
17984         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17985 $as_echo "$acx_pthread_ok" >&6; }
17986         if test x"$acx_pthread_ok" = xno; then
17987                 PTHREAD_LIBS=""
17988                 PTHREAD_CFLAGS=""
17989         fi
17990         LIBS="$save_LIBS"
17991         CFLAGS="$save_CFLAGS"
17992 fi
17993
17994 # We must check for the threads library under a number of different
17995 # names; the ordering is very important because some systems
17996 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17997 # libraries is broken (non-POSIX).
17998
17999 # Create a list of thread flags to try.  Items starting with a "-" are
18000 # C compiler flags, and other items are library names, except for "none"
18001 # which indicates that we try without any flags at all, and "pthread-config"
18002 # which is a program returning the flags for the Pth emulation library.
18003
18004 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18005
18006 # The ordering *is* (sometimes) important.  Some notes on the
18007 # individual items follow:
18008
18009 # pthreads: AIX (must check this before -lpthread)
18010 # none: in case threads are in libc; should be tried before -Kthread and
18011 #       other compiler flags to prevent continual compiler warnings
18012 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18013 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18014 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18015 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
18016 # -pthreads: Solaris/gcc
18017 # -mthreads: Mingw32/gcc, Lynx/gcc
18018 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18019 #      doesn't hurt to check since this sometimes defines pthreads too;
18020 #      also defines -D_REENTRANT)
18021 #      ... -mt is also the pthreads flag for HP/aCC
18022 # pthread: Linux, etcetera
18023 # --thread-safe: KAI C++
18024 # pthread-config: use pthread-config program (for GNU Pth library)
18025
18026 case "${host_cpu}-${host_os}" in
18027         *solaris*)
18028
18029         # On Solaris (at least, for some versions), libc contains stubbed
18030         # (non-functional) versions of the pthreads routines, so link-based
18031         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
18032         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
18033         # a function called by this macro, so we could check for that, but
18034         # who knows whether they'll stub that too in a future libc.)  So,
18035         # we'll just look for -pthreads and -lpthread first:
18036
18037         acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
18038         ;;
18039 esac
18040
18041 if test x"$acx_pthread_ok" = xno; then
18042 for flag in $acx_pthread_flags; do
18043
18044         case $flag in
18045                 none)
18046                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18047 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
18048                 ;;
18049
18050                 -*)
18051                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18052 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
18053                 PTHREAD_CFLAGS="$flag"
18054                 ;;
18055
18056                 pthread-config)
18057                 # Extract the first word of "pthread-config", so it can be a program name with args.
18058 set dummy pthread-config; ac_word=$2
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18060 $as_echo_n "checking for $ac_word... " >&6; }
18061 if ${ac_cv_prog_acx_pthread_config+:} false; then :
18062   $as_echo_n "(cached) " >&6
18063 else
18064   if test -n "$acx_pthread_config"; then
18065   ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
18066 else
18067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18068 for as_dir in $PATH
18069 do
18070   IFS=$as_save_IFS
18071   test -z "$as_dir" && as_dir=.
18072     for ac_exec_ext in '' $ac_executable_extensions; do
18073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18074     ac_cv_prog_acx_pthread_config="yes"
18075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18076     break 2
18077   fi
18078 done
18079   done
18080 IFS=$as_save_IFS
18081
18082   test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
18083 fi
18084 fi
18085 acx_pthread_config=$ac_cv_prog_acx_pthread_config
18086 if test -n "$acx_pthread_config"; then
18087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
18088 $as_echo "$acx_pthread_config" >&6; }
18089 else
18090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18091 $as_echo "no" >&6; }
18092 fi
18093
18094
18095                 if test x"$acx_pthread_config" = xno; then continue; fi
18096                 PTHREAD_CFLAGS="`pthread-config --cflags`"
18097                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18098                 ;;
18099
18100                 *)
18101                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
18102 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
18103                 PTHREAD_LIBS="-l$flag"
18104                 ;;
18105         esac
18106
18107         save_LIBS="$LIBS"
18108         save_CFLAGS="$CFLAGS"
18109         LIBS="$PTHREAD_LIBS $LIBS"
18110         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18111
18112         # Check for various functions.  We must include pthread.h,
18113         # since some functions may be macros.  (On the Sequent, we
18114         # need a special flag -Kthread to make this header compile.)
18115         # We check for pthread_join because it is in -lpthread on IRIX
18116         # while pthread_create is in libc.  We check for pthread_attr_init
18117         # due to DEC craziness with -lpthreads.  We check for
18118         # pthread_cleanup_push because it is one of the few pthread
18119         # functions on Solaris that doesn't have a non-functional libc stub.
18120         # We try pthread_create on general principles.
18121         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18122 /* end confdefs.h.  */
18123 #include <pthread.h>
18124 int
18125 main ()
18126 {
18127 pthread_t th; pthread_join(th, 0);
18128                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
18129                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
18130   ;
18131   return 0;
18132 }
18133 _ACEOF
18134 if ac_fn_c_try_link "$LINENO"; then :
18135   acx_pthread_ok=yes
18136 fi
18137 rm -f core conftest.err conftest.$ac_objext \
18138     conftest$ac_exeext conftest.$ac_ext
18139
18140         LIBS="$save_LIBS"
18141         CFLAGS="$save_CFLAGS"
18142
18143         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18144 $as_echo "$acx_pthread_ok" >&6; }
18145         if test "x$acx_pthread_ok" = xyes; then
18146                 break;
18147         fi
18148
18149         PTHREAD_LIBS=""
18150         PTHREAD_CFLAGS=""
18151 done
18152 fi
18153
18154 # Various other checks:
18155 if test "x$acx_pthread_ok" = xyes; then
18156         save_LIBS="$LIBS"
18157         LIBS="$PTHREAD_LIBS $LIBS"
18158         save_CFLAGS="$CFLAGS"
18159         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18160
18161         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
18162         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18163 $as_echo_n "checking for joinable pthread attribute... " >&6; }
18164         attr_name=unknown
18165         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
18166             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h.  */
18168 #include <pthread.h>
18169 int
18170 main ()
18171 {
18172 int attr=$attr; return attr;
18173   ;
18174   return 0;
18175 }
18176 _ACEOF
18177 if ac_fn_c_try_link "$LINENO"; then :
18178   attr_name=$attr; break
18179 fi
18180 rm -f core conftest.err conftest.$ac_objext \
18181     conftest$ac_exeext conftest.$ac_ext
18182         done
18183         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
18184 $as_echo "$attr_name" >&6; }
18185         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
18186
18187 cat >>confdefs.h <<_ACEOF
18188 #define PTHREAD_CREATE_JOINABLE $attr_name
18189 _ACEOF
18190
18191         fi
18192
18193         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
18194 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
18195         flag=no
18196         case "${host_cpu}-${host_os}" in
18197                 *-aix* | *-freebsd*)     flag="-D_THREAD_SAFE";;
18198                 *-osf* | *-hpux*) flag="-D_REENTRANT";;
18199                 *solaris*)
18200                 if test "$GCC" = "yes"; then
18201                     flag="-D_REENTRANT"
18202                 else
18203                     flag="-mt -D_REENTRANT"
18204                 fi
18205                 ;;
18206         esac
18207         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
18208 $as_echo "${flag}" >&6; }
18209         if test "x$flag" != xno; then
18210             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
18211         fi
18212
18213         LIBS="$save_LIBS"
18214         CFLAGS="$save_CFLAGS"
18215
18216         # More AIX lossage: must compile with xlc_r or cc_r
18217         if test x"$GCC" != xyes; then
18218           for ac_prog in xlc_r cc_r
18219 do
18220   # Extract the first word of "$ac_prog", so it can be a program name with args.
18221 set dummy $ac_prog; ac_word=$2
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18223 $as_echo_n "checking for $ac_word... " >&6; }
18224 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
18225   $as_echo_n "(cached) " >&6
18226 else
18227   if test -n "$PTHREAD_CC"; then
18228   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
18229 else
18230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18231 for as_dir in $PATH
18232 do
18233   IFS=$as_save_IFS
18234   test -z "$as_dir" && as_dir=.
18235     for ac_exec_ext in '' $ac_executable_extensions; do
18236   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18237     ac_cv_prog_PTHREAD_CC="$ac_prog"
18238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18239     break 2
18240   fi
18241 done
18242   done
18243 IFS=$as_save_IFS
18244
18245 fi
18246 fi
18247 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
18248 if test -n "$PTHREAD_CC"; then
18249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18250 $as_echo "$PTHREAD_CC" >&6; }
18251 else
18252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18253 $as_echo "no" >&6; }
18254 fi
18255
18256
18257   test -n "$PTHREAD_CC" && break
18258 done
18259 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
18260
18261         else
18262           PTHREAD_CC=$CC
18263         fi
18264 else
18265         PTHREAD_CC="$CC"
18266 fi
18267
18268
18269
18270
18271
18272 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18273 if test x"$acx_pthread_ok" = xyes; then
18274         enable_threads="pthread"
18275         :
18276 else
18277         acx_pthread_ok=no
18278         enable_threads="no"
18279 fi
18280 ac_ext=c
18281 ac_cpp='$CPP $CPPFLAGS'
18282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18285
18286
18287 if test $enable_threads != "pthread"; then
18288     as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
18289 else
18290
18291 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
18292
18293     LIBS="$PTHREAD_LIBS $LIBS"
18294     CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
18295     CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
18296 fi
18297
18298 # zlib settings
18299
18300 # Check whether --with-zlib was given.
18301 if test "${with_zlib+set}" = set; then :
18302   withval=$with_zlib;
18303         if test -d "$withval" ; then
18304             CPPFLAGS="${CPPFLAGS} -I$withval/include"
18305             LDFLAGS="${LDFLAGS} -L$withval/lib"
18306         fi
18307
18308
18309 fi
18310
18311 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
18312 if test "x$ac_cv_header_zlib_h" = xyes; then :
18313
18314 else
18315   as_fn_error $? "unable to find zlib header files" "$LINENO" 5
18316 fi
18317
18318
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateInit2_ in -lz" >&5
18320 $as_echo_n "checking for deflateInit2_ in -lz... " >&6; }
18321 if ${ac_cv_lib_z_deflateInit2_+:} false; then :
18322   $as_echo_n "(cached) " >&6
18323 else
18324   ac_check_lib_save_LIBS=$LIBS
18325 LIBS="-lz  $LIBS"
18326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18327 /* end confdefs.h.  */
18328
18329 /* Override any GCC internal prototype to avoid an error.
18330    Use char because int might match the return type of a GCC
18331    builtin and then its argument prototype would still apply.  */
18332 #ifdef __cplusplus
18333 extern "C"
18334 #endif
18335 char deflateInit2_ ();
18336 int
18337 main ()
18338 {
18339 return deflateInit2_ ();
18340   ;
18341   return 0;
18342 }
18343 _ACEOF
18344 if ac_fn_c_try_link "$LINENO"; then :
18345   ac_cv_lib_z_deflateInit2_=yes
18346 else
18347   ac_cv_lib_z_deflateInit2_=no
18348 fi
18349 rm -f core conftest.err conftest.$ac_objext \
18350     conftest$ac_exeext conftest.$ac_ext
18351 LIBS=$ac_check_lib_save_LIBS
18352 fi
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflateInit2_" >&5
18354 $as_echo "$ac_cv_lib_z_deflateInit2_" >&6; }
18355 if test "x$ac_cv_lib_z_deflateInit2_" = xyes; then :
18356   cat >>confdefs.h <<_ACEOF
18357 #define HAVE_LIBZ 1
18358 _ACEOF
18359
18360   LIBS="-lz $LIBS"
18361
18362 else
18363   as_fn_error $? "unable to link with zlib library" "$LINENO" 5
18364 fi
18365
18366
18367 # OpenSSL settings
18368
18369 # Check whether --with-openssl was given.
18370 if test "${with_openssl+set}" = set; then :
18371   withval=$with_openssl; if test x_$with_openssl != x_/usr; then
18372         SSLFLAGS="-I${with_openssl}/include"
18373     fi
18374 fi
18375
18376
18377 if test "x$with_openssl" = "x" ; then
18378     # Extract the first word of "pkg-config", so it can be a program name with args.
18379 set dummy pkg-config; ac_word=$2
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18381 $as_echo_n "checking for $ac_word... " >&6; }
18382 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18383   $as_echo_n "(cached) " >&6
18384 else
18385   case $PKG_CONFIG in
18386   [\\/]* | ?:[\\/]*)
18387   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18388   ;;
18389   *)
18390   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18391 for as_dir in $PATH
18392 do
18393   IFS=$as_save_IFS
18394   test -z "$as_dir" && as_dir=.
18395     for ac_exec_ext in '' $ac_executable_extensions; do
18396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18397     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18399     break 2
18400   fi
18401 done
18402   done
18403 IFS=$as_save_IFS
18404
18405   ;;
18406 esac
18407 fi
18408 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18409 if test -n "$PKG_CONFIG"; then
18410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18411 $as_echo "$PKG_CONFIG" >&6; }
18412 else
18413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18414 $as_echo "no" >&6; }
18415 fi
18416
18417
18418     if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
18419         if pkg-config openssl ; then
18420             SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
18421         else
18422             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
18423 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
18424         fi
18425     fi
18426 fi
18427
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
18429 $as_echo_n "checking for OpenSSL cflags... " >&6; }
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
18431 $as_echo "$SSLFLAGS" >&6; }
18432 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
18433
18434 ac_fn_c_check_header_mongrel "$LINENO" "openssl/x509.h" "ac_cv_header_openssl_x509_h" "$ac_includes_default"
18435 if test "x$ac_cv_header_openssl_x509_h" = xyes; then :
18436
18437 else
18438   as_fn_error $? "unable to find openssl header files" "$LINENO" 5
18439 fi
18440
18441
18442
18443 ac_ext=cpp
18444 ac_cpp='$CXXCPP $CPPFLAGS'
18445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18448
18449
18450 # C++ requirements
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
18452 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
18453 if ${ac_cv_cxx_namespaces+:} false; then :
18454   $as_echo_n "(cached) " >&6
18455 else
18456
18457  ac_ext=cpp
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18462
18463  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h.  */
18465 namespace Outer { namespace Inner { int i = 0; }}
18466 int
18467 main ()
18468 {
18469 using namespace Outer::Inner; return i;
18470   ;
18471   return 0;
18472 }
18473 _ACEOF
18474 if ac_fn_cxx_try_compile "$LINENO"; then :
18475   ac_cv_cxx_namespaces=yes
18476 else
18477   ac_cv_cxx_namespaces=no
18478 fi
18479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18480  ac_ext=cpp
18481 ac_cpp='$CXXCPP $CPPFLAGS'
18482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18485
18486
18487 fi
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
18489 $as_echo "$ac_cv_cxx_namespaces" >&6; }
18490 if test "$ac_cv_cxx_namespaces" = yes; then
18491
18492 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
18493
18494 fi
18495
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
18497 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
18498 if ${ac_cv_cxx_have_stl+:} false; then :
18499   $as_echo_n "(cached) " >&6
18500 else
18501
18502  ac_ext=cpp
18503 ac_cpp='$CXXCPP $CPPFLAGS'
18504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18507
18508  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18509 /* end confdefs.h.  */
18510 #include <list>
18511 #include <deque>
18512 #ifdef HAVE_NAMESPACES
18513 using namespace std;
18514 #endif
18515 int
18516 main ()
18517 {
18518 list<int> x; x.push_back(5);
18519 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
18520   ;
18521   return 0;
18522 }
18523 _ACEOF
18524 if ac_fn_cxx_try_compile "$LINENO"; then :
18525   ac_cv_cxx_have_stl=yes
18526 else
18527   ac_cv_cxx_have_stl=no
18528 fi
18529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530  ac_ext=cpp
18531 ac_cpp='$CXXCPP $CPPFLAGS'
18532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18535
18536
18537 fi
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
18539 $as_echo "$ac_cv_cxx_have_stl" >&6; }
18540 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
18541   as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
18542 fi
18543
18544
18545 # log4shib settings (favor this version over the log4cpp code)
18546 # Extract the first word of "log4shib-config", so it can be a program name with args.
18547 set dummy log4shib-config; ac_word=$2
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18549 $as_echo_n "checking for $ac_word... " >&6; }
18550 if ${ac_cv_path_LOG4SHIB_CONFIG+:} false; then :
18551   $as_echo_n "(cached) " >&6
18552 else
18553   case $LOG4SHIB_CONFIG in
18554   [\\/]* | ?:[\\/]*)
18555   ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18556   ;;
18557   *)
18558   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18559 for as_dir in $PATH
18560 do
18561   IFS=$as_save_IFS
18562   test -z "$as_dir" && as_dir=.
18563     for ac_exec_ext in '' $ac_executable_extensions; do
18564   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18565     ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18567     break 2
18568   fi
18569 done
18570   done
18571 IFS=$as_save_IFS
18572
18573   ;;
18574 esac
18575 fi
18576 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18577 if test -n "$LOG4SHIB_CONFIG"; then
18578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18579 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18580 else
18581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18582 $as_echo "no" >&6; }
18583 fi
18584
18585
18586
18587 # Check whether --with-log4shib was given.
18588 if test "${with_log4shib+set}" = set; then :
18589   withval=$with_log4shib;
18590     LOG4SHIB_CONFIG="${with_log4shib}"
18591     if ! test -f "${LOG4SHIB_CONFIG}"; then
18592         LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18593     fi
18594
18595 fi
18596
18597 if test -f "${LOG4SHIB_CONFIG}" ; then
18598     LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18599     CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18600
18601 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18602 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = xyes; then :
18603
18604 else
18605   as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18606 fi
18607
18608
18609     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h.  */
18611 #include <log4shib/Category.hh>
18612 #include <log4shib/CategoryStream.hh>
18613 int
18614 main ()
18615 {
18616 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18617   ;
18618   return 0;
18619 }
18620 _ACEOF
18621 if ac_fn_cxx_try_link "$LINENO"; then :
18622
18623 $as_echo "#define OPENSAML_LOG4SHIB 1" >>confdefs.h
18624
18625 else
18626   as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18627 fi
18628 rm -f core conftest.err conftest.$ac_objext \
18629     conftest$ac_exeext conftest.$ac_ext
18630 else
18631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18632 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18633     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18634 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18635
18636     # log4cpp settings
18637     # Extract the first word of "log4cpp-config", so it can be a program name with args.
18638 set dummy log4cpp-config; ac_word=$2
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18640 $as_echo_n "checking for $ac_word... " >&6; }
18641 if ${ac_cv_path_LOG4CPP_CONFIG+:} false; then :
18642   $as_echo_n "(cached) " >&6
18643 else
18644   case $LOG4CPP_CONFIG in
18645   [\\/]* | ?:[\\/]*)
18646   ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18647   ;;
18648   *)
18649   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18650 for as_dir in $PATH
18651 do
18652   IFS=$as_save_IFS
18653   test -z "$as_dir" && as_dir=.
18654     for ac_exec_ext in '' $ac_executable_extensions; do
18655   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18656     ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18658     break 2
18659   fi
18660 done
18661   done
18662 IFS=$as_save_IFS
18663
18664   ;;
18665 esac
18666 fi
18667 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18668 if test -n "$LOG4CPP_CONFIG"; then
18669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18670 $as_echo "$LOG4CPP_CONFIG" >&6; }
18671 else
18672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18673 $as_echo "no" >&6; }
18674 fi
18675
18676
18677
18678 # Check whether --with-log4cpp was given.
18679 if test "${with_log4cpp+set}" = set; then :
18680   withval=$with_log4cpp;
18681         LOG4CPP_CONFIG="${with_log4cpp}"
18682         if ! test -f "${LOG4CPP_CONFIG}"; then
18683                 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18684         fi
18685
18686 fi
18687
18688     if test -f "${LOG4CPP_CONFIG}"; then
18689         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&5
18690 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18691         LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18692         CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18693         ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18694 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = xyes; then :
18695
18696 else
18697   as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18698 fi
18699
18700
18701         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h.  */
18703 #include <log4cpp/Category.hh>
18704 #include <log4cpp/CategoryStream.hh>
18705 int
18706 main ()
18707 {
18708 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18709   ;
18710   return 0;
18711 }
18712 _ACEOF
18713 if ac_fn_cxx_try_link "$LINENO"; then :
18714
18715 $as_echo "#define OPENSAML_LOG4CPP 1" >>confdefs.h
18716
18717 else
18718   as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18719 fi
18720 rm -f core conftest.err conftest.$ac_objext \
18721     conftest$ac_exeext conftest.$ac_ext
18722     else
18723         as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18724     fi
18725 fi
18726
18727 # Xerces settings
18728
18729 # Check whether --with-xerces was given.
18730 if test "${with_xerces+set}" = set; then :
18731   withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18732         LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18733         CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18734     fi
18735 fi
18736
18737 LIBS="-lxerces-c $LIBS"
18738 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18739 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = xyes; then :
18740
18741 else
18742   as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18743 fi
18744
18745
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18747 $as_echo_n "checking Xerces version... " >&6; }
18748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h.  */
18750 #include <xercesc/util/XercesVersion.hpp>
18751 int
18752 main ()
18753 {
18754 #if  _XERCES_VERSION != 20600
18755 int i = 0;
18756 #else
18757 #error cannot use version 2.6.0
18758 #endif
18759   ;
18760   return 0;
18761 }
18762 _ACEOF
18763 if ac_fn_cxx_try_cpp "$LINENO"; then :
18764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18765 $as_echo "OK" >&6; }
18766 else
18767   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18769 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18770 See \`config.log' for more details" "$LINENO" 5; }
18771 fi
18772 rm -f conftest.err conftest.i conftest.$ac_ext
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h.  */
18775 #include <xercesc/util/PlatformUtils.hpp>
18776 int
18777 main ()
18778 {
18779 xercesc::XMLPlatformUtils::Initialize()
18780   ;
18781   return 0;
18782 }
18783 _ACEOF
18784 if ac_fn_cxx_try_link "$LINENO"; then :
18785
18786 else
18787   as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18788 fi
18789 rm -f core conftest.err conftest.$ac_objext \
18790     conftest$ac_exeext conftest.$ac_ext
18791
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18793 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h.  */
18796 #include <xercesc/util/XMLString.hpp>
18797 int
18798 main ()
18799 {
18800 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18801   ;
18802   return 0;
18803 }
18804 _ACEOF
18805 if ac_fn_cxx_try_compile "$LINENO"; then :
18806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18807 $as_echo "yes" >&6; }
18808 $as_echo "#define OPENSAML_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18809
18810 else
18811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18812 $as_echo "no" >&6; }
18813 fi
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18815
18816 # XML-Security settings
18817
18818 # Check whether --with-xmlsec was given.
18819 if test "${with_xmlsec+set}" = set; then :
18820   withval=$with_xmlsec; if test x_$with_xmlsec != x_/usr; then
18821         LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
18822         CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
18823     fi
18824 fi
18825
18826 LIBS="-lxml-security-c $LIBS"
18827 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
18828 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = xyes; then :
18829
18830 else
18831   as_fn_error $? "unable to find xmlsec header files" "$LINENO" 5
18832 fi
18833
18834
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
18836 $as_echo_n "checking XML-Security version... " >&6; }
18837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18838 /* end confdefs.h.  */
18839 #include <xsec/utils/XSECPlatformUtils.hpp>
18840 int
18841 main ()
18842 {
18843 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
18844 int i = 0;
18845 #else
18846 #error need version 1.4.0 or later
18847 #endif
18848   ;
18849   return 0;
18850 }
18851 _ACEOF
18852 if ac_fn_cxx_try_cpp "$LINENO"; then :
18853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18854 $as_echo "OK" >&6; }
18855 else
18856   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18858 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
18859 See \`config.log' for more details" "$LINENO" 5; }
18860 fi
18861 rm -f conftest.err conftest.i conftest.$ac_ext
18862     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h.  */
18864 #include <xsec/utils/XSECPlatformUtils.hpp>
18865 int
18866 main ()
18867 {
18868 XSECPlatformUtils::Initialise()
18869   ;
18870   return 0;
18871 }
18872 _ACEOF
18873 if ac_fn_cxx_try_link "$LINENO"; then :
18874
18875 else
18876   as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
18877 fi
18878 rm -f core conftest.err conftest.$ac_objext \
18879     conftest$ac_exeext conftest.$ac_ext
18880
18881 # XML-Tooling settings
18882
18883 # Check whether --with-xmltooling was given.
18884 if test "${with_xmltooling+set}" = set; then :
18885   withval=$with_xmltooling; if test x_$with_xmltooling != x_/usr; then
18886         LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
18887         CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
18888         DX_INCLUDE="${with_xmltooling}/include"
18889     fi
18890 fi
18891
18892 LIBS="-lxmltooling $LIBS"
18893 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/XMLToolingConfig.h" "ac_cv_header_xmltooling_XMLToolingConfig_h" "$ac_includes_default"
18894 if test "x$ac_cv_header_xmltooling_XMLToolingConfig_h" = xyes; then :
18895
18896 else
18897   as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
18898 fi
18899
18900
18901
18902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18903 /* end confdefs.h.  */
18904 #include <xmltooling/XMLToolingConfig.h>
18905 #include <xmltooling/version.h>
18906 int
18907 main ()
18908 {
18909 #if _XMLTOOLING_VERSION >= 10400
18910 xmltooling::XMLToolingConfig::getConfig();
18911 #else
18912 #error Need XMLTooling version 1.4 or higher
18913 #endif
18914   ;
18915   return 0;
18916 }
18917 _ACEOF
18918 if ac_fn_cxx_try_link "$LINENO"; then :
18919
18920 else
18921   as_fn_error $? "unable to link with XMLTooling, or version was too old" "$LINENO" 5
18922 fi
18923 rm -f core conftest.err conftest.$ac_objext \
18924     conftest$ac_exeext conftest.$ac_ext
18925
18926 # Check for unit test support
18927 CXXTEST="/usr/bin/cxxtestgen.pl"
18928 CXXTESTFLAGS=""
18929
18930 # Check whether --with-cxxtest was given.
18931 if test "${with_cxxtest+set}" = set; then :
18932   withval=$with_cxxtest; if test x_$with_cxxtest != x_/usr; then
18933         CXXTEST="${with_cxxtest}/cxxtestgen.pl"
18934         CXXTESTFLAGS="-I${with_cxxtest}"
18935     fi
18936 fi
18937
18938 if ! test -f "${CXXTEST}"; then
18939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cxxtestgen not found, won't build unit tests" >&5
18940 $as_echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
18941 fi
18942
18943
18944
18945  if test -f ${CXXTEST}; then
18946   BUILD_UNITTEST_TRUE=
18947   BUILD_UNITTEST_FALSE='#'
18948 else
18949   BUILD_UNITTEST_TRUE='#'
18950   BUILD_UNITTEST_FALSE=
18951 fi
18952
18953
18954
18955 # we need the expanded forms...
18956 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18957 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18958
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
18960 $as_echo_n "checking our pkgconfig libname... " >&6; }
18961 test ".$ax_create_pkgconfig_libname" != "." || \
18962 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
18963 test ".$ax_create_pkgconfig_libname" != "." || \
18964 ax_create_pkgconfig_libname="$PACKAGE"
18965 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18966 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
18968 $as_echo "$ax_create_pkgconfig_libname" >&6; }
18969
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
18971 $as_echo_n "checking our pkgconfig version... " >&6; }
18972 test ".$ax_create_pkgconfig_version" != "." || \
18973 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
18974 test ".$ax_create_pkgconfig_version" != "." || \
18975 ax_create_pkgconfig_version="$VERSION"
18976 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18977 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
18979 $as_echo "$ax_create_pkgconfig_version" >&6; }
18980
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
18982 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
18983 test ".$pkgconfig_libdir" = "." && \
18984 pkgconfig_libdir='${libdir}/pkgconfig'
18985 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
18986 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18987 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
18989 $as_echo "$pkgconfig_libdir" >&6; }
18990 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
18992 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
18993
18994
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
18996 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
18997 test ".$pkgconfig_libfile" != "." || \
18998 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
18999 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
19000 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
19002 $as_echo "$pkgconfig_libfile" >&6; }
19003 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
19005 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
19006
19007
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
19009 $as_echo_n "checking our package / suffix... " >&6; }
19010 ax_create_pkgconfig_suffix="$program_suffix"
19011 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
19013 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
19014
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
19016 $as_echo_n "checking our pkgconfig description... " >&6; }
19017 ax_create_pkgconfig_description="OpenSAML library"
19018 test ".$ax_create_pkgconfig_description" != "." || \
19019 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
19020 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19021 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
19023 $as_echo "$ax_create_pkgconfig_description" >&6; }
19024
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
19026 $as_echo_n "checking our pkgconfig requires... " >&6; }
19027 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
19028 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19029 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
19031 $as_echo "$ax_create_pkgconfig_requires" >&6; }
19032
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
19034 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
19035 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
19036 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
19037 ax_create_pkgconfig_libs="$LIBS -lsaml"
19038 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19039 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
19041 $as_echo "$ax_create_pkgconfig_libs" >&6; }
19042
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
19044 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
19045 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
19046 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19047 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
19049 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
19050
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
19052 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
19053 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
19054 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19055 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
19057 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
19058
19059 test ".$ax_create_pkgconfig_generate" != "." || \
19060 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
19061 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19062 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19063 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
19065 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
19066
19067 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
19068 ax_create_pkgconfig_src_libdir=`pwd`
19069 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
19070 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19071          X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
19072          X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
19073          X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
19074 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
19075     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19076             s//\1/
19077             q
19078           }
19079           /^X\(\/\/\)[^/].*/{
19080             s//\1/
19081             q
19082           }
19083           /^X\(\/\/\)$/{
19084             s//\1/
19085             q
19086           }
19087           /^X\(\/\).*/{
19088             s//\1/
19089             q
19090           }
19091           s/.*/./; q'`
19092 test ! -d $ax_create_pkgconfig_src_libdir/src || \
19093 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
19094 case ".$objdir" in
19095 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
19097 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
19098 fi
19099
19100 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
19101 ax_create_pkgconfig_src_headers=`pwd`
19102 v="$ac_top_srcdir" ;
19103 test ".$v" != "." || v="$ax_spec_dir"
19104 test ".$v" != "." || v="$srcdir"
19105 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
19106 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
19107 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19108          X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
19109          X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
19110          X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
19111 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
19112     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19113             s//\1/
19114             q
19115           }
19116           /^X\(\/\/\)[^/].*/{
19117             s//\1/
19118             q
19119           }
19120           /^X\(\/\/\)$/{
19121             s//\1/
19122             q
19123           }
19124           /^X\(\/\).*/{
19125             s//\1/
19126             q
19127           }
19128           s/.*/./; q'`
19129 test ! -d $ax_create_pkgconfig_src_headers/include || \
19130 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
19132 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
19133 fi
19134
19135
19136 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
19137
19138
19139
19140 LIBTOOL="$LIBTOOL --silent"
19141
19142 # output packaging and makefiles
19143 cat >confcache <<\_ACEOF
19144 # This file is a shell script that caches the results of configure
19145 # tests run on this system so they can be shared between configure
19146 # scripts and configure runs, see configure's option --config-cache.
19147 # It is not useful on other systems.  If it contains results you don't
19148 # want to keep, you may remove or edit it.
19149 #
19150 # config.status only pays attention to the cache file if you give it
19151 # the --recheck option to rerun configure.
19152 #
19153 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19154 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19155 # following values.
19156
19157 _ACEOF
19158
19159 # The following way of writing the cache mishandles newlines in values,
19160 # but we know of no workaround that is simple, portable, and efficient.
19161 # So, we kill variables containing newlines.
19162 # Ultrix sh set writes to stderr and can't be redirected directly,
19163 # and sets the high bit in the cache file unless we assign to the vars.
19164 (
19165   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19166     eval ac_val=\$$ac_var
19167     case $ac_val in #(
19168     *${as_nl}*)
19169       case $ac_var in #(
19170       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19171 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19172       esac
19173       case $ac_var in #(
19174       _ | IFS | as_nl) ;; #(
19175       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19176       *) { eval $ac_var=; unset $ac_var;} ;;
19177       esac ;;
19178     esac
19179   done
19180
19181   (set) 2>&1 |
19182     case $as_nl`(ac_space=' '; set) 2>&1` in #(
19183     *${as_nl}ac_space=\ *)
19184       # `set' does not quote correctly, so add quotes: double-quote
19185       # substitution turns \\\\ into \\, and sed turns \\ into \.
19186       sed -n \
19187         "s/'/'\\\\''/g;
19188           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19189       ;; #(
19190     *)
19191       # `set' quotes correctly as required by POSIX, so do not add quotes.
19192       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19193       ;;
19194     esac |
19195     sort
19196 ) |
19197   sed '
19198      /^ac_cv_env_/b end
19199      t clear
19200      :clear
19201      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19202      t end
19203      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19204      :end' >>confcache
19205 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19206   if test -w "$cache_file"; then
19207     if test "x$cache_file" != "x/dev/null"; then
19208       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19209 $as_echo "$as_me: updating cache $cache_file" >&6;}
19210       if test ! -f "$cache_file" || test -h "$cache_file"; then
19211         cat confcache >"$cache_file"
19212       else
19213         case $cache_file in #(
19214         */* | ?:*)
19215           mv -f confcache "$cache_file"$$ &&
19216           mv -f "$cache_file"$$ "$cache_file" ;; #(
19217         *)
19218           mv -f confcache "$cache_file" ;;
19219         esac
19220       fi
19221     fi
19222   else
19223     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19224 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19225   fi
19226 fi
19227 rm -f confcache
19228
19229 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19230 # Let make expand exec_prefix.
19231 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19232
19233 DEFS=-DHAVE_CONFIG_H
19234
19235 ac_libobjs=
19236 ac_ltlibobjs=
19237 U=
19238 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19239   # 1. Remove the extension, and $U if already installed.
19240   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19241   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19242   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19243   #    will be set to the directory where LIBOBJS objects are built.
19244   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19245   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19246 done
19247 LIBOBJS=$ac_libobjs
19248
19249 LTLIBOBJS=$ac_ltlibobjs
19250
19251
19252  if test -n "$EXEEXT"; then
19253   am__EXEEXT_TRUE=
19254   am__EXEEXT_FALSE='#'
19255 else
19256   am__EXEEXT_TRUE='#'
19257   am__EXEEXT_FALSE=
19258 fi
19259
19260 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19261   as_fn_error $? "conditional \"AMDEP\" was never defined.
19262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19263 fi
19264 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19265   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19267 fi
19268 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19269   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19271 fi
19272 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19273   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19275 fi
19276 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19277   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19279 fi
19280 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19281   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19283 fi
19284 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19285   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19287 fi
19288 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19289   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19291 fi
19292 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19293   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19295 fi
19296 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19297   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19299 fi
19300 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19301   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19303 fi
19304 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19305   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19307 fi
19308 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19309   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19311 fi
19312 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19313   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19315 fi
19316 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19317   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19319 fi
19320 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19321   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19323 fi
19324 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19325   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19327 fi
19328 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19329   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19331 fi
19332 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19333   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19335 fi
19336 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19337   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19339 fi
19340 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19341   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19343 fi
19344 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19345   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19347 fi
19348 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19349   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19351 fi
19352 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19353   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19355 fi
19356 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19357   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19359 fi
19360 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19361   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19363 fi
19364 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
19365   as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
19366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19367 fi
19368
19369 : "${CONFIG_STATUS=./config.status}"
19370 ac_write_fail=0
19371 ac_clean_files_save=$ac_clean_files
19372 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19374 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19375 as_write_fail=0
19376 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19377 #! $SHELL
19378 # Generated by $as_me.
19379 # Run this file to recreate the current configuration.
19380 # Compiler output produced by configure, useful for debugging
19381 # configure, is in config.log if it exists.
19382
19383 debug=false
19384 ac_cs_recheck=false
19385 ac_cs_silent=false
19386
19387 SHELL=\${CONFIG_SHELL-$SHELL}
19388 export SHELL
19389 _ASEOF
19390 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19391 ## -------------------- ##
19392 ## M4sh Initialization. ##
19393 ## -------------------- ##
19394
19395 # Be more Bourne compatible
19396 DUALCASE=1; export DUALCASE # for MKS sh
19397 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19398   emulate sh
19399   NULLCMD=:
19400   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19401   # is contrary to our usage.  Disable this feature.
19402   alias -g '${1+"$@"}'='"$@"'
19403   setopt NO_GLOB_SUBST
19404 else
19405   case `(set -o) 2>/dev/null` in #(
19406   *posix*) :
19407     set -o posix ;; #(
19408   *) :
19409      ;;
19410 esac
19411 fi
19412
19413
19414 as_nl='
19415 '
19416 export as_nl
19417 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19418 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19419 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19420 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19421 # Prefer a ksh shell builtin over an external printf program on Solaris,
19422 # but without wasting forks for bash or zsh.
19423 if test -z "$BASH_VERSION$ZSH_VERSION" \
19424     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19425   as_echo='print -r --'
19426   as_echo_n='print -rn --'
19427 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19428   as_echo='printf %s\n'
19429   as_echo_n='printf %s'
19430 else
19431   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19432     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19433     as_echo_n='/usr/ucb/echo -n'
19434   else
19435     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19436     as_echo_n_body='eval
19437       arg=$1;
19438       case $arg in #(
19439       *"$as_nl"*)
19440         expr "X$arg" : "X\\(.*\\)$as_nl";
19441         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19442       esac;
19443       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19444     '
19445     export as_echo_n_body
19446     as_echo_n='sh -c $as_echo_n_body as_echo'
19447   fi
19448   export as_echo_body
19449   as_echo='sh -c $as_echo_body as_echo'
19450 fi
19451
19452 # The user is always right.
19453 if test "${PATH_SEPARATOR+set}" != set; then
19454   PATH_SEPARATOR=:
19455   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19456     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19457       PATH_SEPARATOR=';'
19458   }
19459 fi
19460
19461
19462 # IFS
19463 # We need space, tab and new line, in precisely that order.  Quoting is
19464 # there to prevent editors from complaining about space-tab.
19465 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19466 # splitting by setting IFS to empty value.)
19467 IFS=" ""        $as_nl"
19468
19469 # Find who we are.  Look in the path if we contain no directory separator.
19470 as_myself=
19471 case $0 in #((
19472   *[\\/]* ) as_myself=$0 ;;
19473   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19474 for as_dir in $PATH
19475 do
19476   IFS=$as_save_IFS
19477   test -z "$as_dir" && as_dir=.
19478     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19479   done
19480 IFS=$as_save_IFS
19481
19482      ;;
19483 esac
19484 # We did not find ourselves, most probably we were run as `sh COMMAND'
19485 # in which case we are not to be found in the path.
19486 if test "x$as_myself" = x; then
19487   as_myself=$0
19488 fi
19489 if test ! -f "$as_myself"; then
19490   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19491   exit 1
19492 fi
19493
19494 # Unset variables that we do not need and which cause bugs (e.g. in
19495 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19496 # suppresses any "Segmentation fault" message there.  '((' could
19497 # trigger a bug in pdksh 5.2.14.
19498 for as_var in BASH_ENV ENV MAIL MAILPATH
19499 do eval test x\${$as_var+set} = xset \
19500   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19501 done
19502 PS1='$ '
19503 PS2='> '
19504 PS4='+ '
19505
19506 # NLS nuisances.
19507 LC_ALL=C
19508 export LC_ALL
19509 LANGUAGE=C
19510 export LANGUAGE
19511
19512 # CDPATH.
19513 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19514
19515
19516 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19517 # ----------------------------------------
19518 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19519 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19520 # script with STATUS, using 1 if that was 0.
19521 as_fn_error ()
19522 {
19523   as_status=$1; test $as_status -eq 0 && as_status=1
19524   if test "$4"; then
19525     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19526     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19527   fi
19528   $as_echo "$as_me: error: $2" >&2
19529   as_fn_exit $as_status
19530 } # as_fn_error
19531
19532
19533 # as_fn_set_status STATUS
19534 # -----------------------
19535 # Set $? to STATUS, without forking.
19536 as_fn_set_status ()
19537 {
19538   return $1
19539 } # as_fn_set_status
19540
19541 # as_fn_exit STATUS
19542 # -----------------
19543 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19544 as_fn_exit ()
19545 {
19546   set +e
19547   as_fn_set_status $1
19548   exit $1
19549 } # as_fn_exit
19550
19551 # as_fn_unset VAR
19552 # ---------------
19553 # Portably unset VAR.
19554 as_fn_unset ()
19555 {
19556   { eval $1=; unset $1;}
19557 }
19558 as_unset=as_fn_unset
19559 # as_fn_append VAR VALUE
19560 # ----------------------
19561 # Append the text in VALUE to the end of the definition contained in VAR. Take
19562 # advantage of any shell optimizations that allow amortized linear growth over
19563 # repeated appends, instead of the typical quadratic growth present in naive
19564 # implementations.
19565 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19566   eval 'as_fn_append ()
19567   {
19568     eval $1+=\$2
19569   }'
19570 else
19571   as_fn_append ()
19572   {
19573     eval $1=\$$1\$2
19574   }
19575 fi # as_fn_append
19576
19577 # as_fn_arith ARG...
19578 # ------------------
19579 # Perform arithmetic evaluation on the ARGs, and store the result in the
19580 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19581 # must be portable across $(()) and expr.
19582 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19583   eval 'as_fn_arith ()
19584   {
19585     as_val=$(( $* ))
19586   }'
19587 else
19588   as_fn_arith ()
19589   {
19590     as_val=`expr "$@" || test $? -eq 1`
19591   }
19592 fi # as_fn_arith
19593
19594
19595 if expr a : '\(a\)' >/dev/null 2>&1 &&
19596    test "X`expr 00001 : '.*\(...\)'`" = X001; then
19597   as_expr=expr
19598 else
19599   as_expr=false
19600 fi
19601
19602 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19603   as_basename=basename
19604 else
19605   as_basename=false
19606 fi
19607
19608 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19609   as_dirname=dirname
19610 else
19611   as_dirname=false
19612 fi
19613
19614 as_me=`$as_basename -- "$0" ||
19615 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19616          X"$0" : 'X\(//\)$' \| \
19617          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19618 $as_echo X/"$0" |
19619     sed '/^.*\/\([^/][^/]*\)\/*$/{
19620             s//\1/
19621             q
19622           }
19623           /^X\/\(\/\/\)$/{
19624             s//\1/
19625             q
19626           }
19627           /^X\/\(\/\).*/{
19628             s//\1/
19629             q
19630           }
19631           s/.*/./; q'`
19632
19633 # Avoid depending upon Character Ranges.
19634 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19635 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19636 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19637 as_cr_digits='0123456789'
19638 as_cr_alnum=$as_cr_Letters$as_cr_digits
19639
19640 ECHO_C= ECHO_N= ECHO_T=
19641 case `echo -n x` in #(((((
19642 -n*)
19643   case `echo 'xy\c'` in
19644   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19645   xy)  ECHO_C='\c';;
19646   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19647        ECHO_T=' ';;
19648   esac;;
19649 *)
19650   ECHO_N='-n';;
19651 esac
19652
19653 rm -f conf$$ conf$$.exe conf$$.file
19654 if test -d conf$$.dir; then
19655   rm -f conf$$.dir/conf$$.file
19656 else
19657   rm -f conf$$.dir
19658   mkdir conf$$.dir 2>/dev/null
19659 fi
19660 if (echo >conf$$.file) 2>/dev/null; then
19661   if ln -s conf$$.file conf$$ 2>/dev/null; then
19662     as_ln_s='ln -s'
19663     # ... but there are two gotchas:
19664     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19665     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19666     # In both cases, we have to default to `cp -p'.
19667     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19668       as_ln_s='cp -p'
19669   elif ln conf$$.file conf$$ 2>/dev/null; then
19670     as_ln_s=ln
19671   else
19672     as_ln_s='cp -p'
19673   fi
19674 else
19675   as_ln_s='cp -p'
19676 fi
19677 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19678 rmdir conf$$.dir 2>/dev/null
19679
19680
19681 # as_fn_mkdir_p
19682 # -------------
19683 # Create "$as_dir" as a directory, including parents if necessary.
19684 as_fn_mkdir_p ()
19685 {
19686
19687   case $as_dir in #(
19688   -*) as_dir=./$as_dir;;
19689   esac
19690   test -d "$as_dir" || eval $as_mkdir_p || {
19691     as_dirs=
19692     while :; do
19693       case $as_dir in #(
19694       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19695       *) as_qdir=$as_dir;;
19696       esac
19697       as_dirs="'$as_qdir' $as_dirs"
19698       as_dir=`$as_dirname -- "$as_dir" ||
19699 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19700          X"$as_dir" : 'X\(//\)[^/]' \| \
19701          X"$as_dir" : 'X\(//\)$' \| \
19702          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19703 $as_echo X"$as_dir" |
19704     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19705             s//\1/
19706             q
19707           }
19708           /^X\(\/\/\)[^/].*/{
19709             s//\1/
19710             q
19711           }
19712           /^X\(\/\/\)$/{
19713             s//\1/
19714             q
19715           }
19716           /^X\(\/\).*/{
19717             s//\1/
19718             q
19719           }
19720           s/.*/./; q'`
19721       test -d "$as_dir" && break
19722     done
19723     test -z "$as_dirs" || eval "mkdir $as_dirs"
19724   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19725
19726
19727 } # as_fn_mkdir_p
19728 if mkdir -p . 2>/dev/null; then
19729   as_mkdir_p='mkdir -p "$as_dir"'
19730 else
19731   test -d ./-p && rmdir ./-p
19732   as_mkdir_p=false
19733 fi
19734
19735 if test -x / >/dev/null 2>&1; then
19736   as_test_x='test -x'
19737 else
19738   if ls -dL / >/dev/null 2>&1; then
19739     as_ls_L_option=L
19740   else
19741     as_ls_L_option=
19742   fi
19743   as_test_x='
19744     eval sh -c '\''
19745       if test -d "$1"; then
19746         test -d "$1/.";
19747       else
19748         case $1 in #(
19749         -*)set "./$1";;
19750         esac;
19751         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19752         ???[sx]*):;;*)false;;esac;fi
19753     '\'' sh
19754   '
19755 fi
19756 as_executable_p=$as_test_x
19757
19758 # Sed expression to map a string onto a valid CPP name.
19759 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19760
19761 # Sed expression to map a string onto a valid variable name.
19762 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19763
19764
19765 exec 6>&1
19766 ## ----------------------------------- ##
19767 ## Main body of $CONFIG_STATUS script. ##
19768 ## ----------------------------------- ##
19769 _ASEOF
19770 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19771
19772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19773 # Save the log message, to keep $0 and so on meaningful, and to
19774 # report actual input values of CONFIG_FILES etc. instead of their
19775 # values after options handling.
19776 ac_log="
19777 This file was extended by opensaml $as_me 2.4.1, which was
19778 generated by GNU Autoconf 2.68.  Invocation command line was
19779
19780   CONFIG_FILES    = $CONFIG_FILES
19781   CONFIG_HEADERS  = $CONFIG_HEADERS
19782   CONFIG_LINKS    = $CONFIG_LINKS
19783   CONFIG_COMMANDS = $CONFIG_COMMANDS
19784   $ $0 $@
19785
19786 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19787 "
19788
19789 _ACEOF
19790
19791 case $ac_config_files in *"
19792 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19793 esac
19794
19795 case $ac_config_headers in *"
19796 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19797 esac
19798
19799
19800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19801 # Files that config.status was made for.
19802 config_files="$ac_config_files"
19803 config_headers="$ac_config_headers"
19804 config_commands="$ac_config_commands"
19805
19806 _ACEOF
19807
19808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19809 ac_cs_usage="\
19810 \`$as_me' instantiates files and other configuration actions
19811 from templates according to the current configuration.  Unless the files
19812 and actions are specified as TAGs, all are instantiated by default.
19813
19814 Usage: $0 [OPTION]... [TAG]...
19815
19816   -h, --help       print this help, then exit
19817   -V, --version    print version number and configuration settings, then exit
19818       --config     print configuration, then exit
19819   -q, --quiet, --silent
19820                    do not print progress messages
19821   -d, --debug      don't remove temporary files
19822       --recheck    update $as_me by reconfiguring in the same conditions
19823       --file=FILE[:TEMPLATE]
19824                    instantiate the configuration file FILE
19825       --header=FILE[:TEMPLATE]
19826                    instantiate the configuration header FILE
19827
19828 Configuration files:
19829 $config_files
19830
19831 Configuration headers:
19832 $config_headers
19833
19834 Configuration commands:
19835 $config_commands
19836
19837 Report bugs to <https://bugs.internet2.edu/>."
19838
19839 _ACEOF
19840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19841 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19842 ac_cs_version="\\
19843 opensaml config.status 2.4.1
19844 configured by $0, generated by GNU Autoconf 2.68,
19845   with options \\"\$ac_cs_config\\"
19846
19847 Copyright (C) 2010 Free Software Foundation, Inc.
19848 This config.status script is free software; the Free Software Foundation
19849 gives unlimited permission to copy, distribute and modify it."
19850
19851 ac_pwd='$ac_pwd'
19852 srcdir='$srcdir'
19853 INSTALL='$INSTALL'
19854 MKDIR_P='$MKDIR_P'
19855 AWK='$AWK'
19856 test -n "\$AWK" || AWK=awk
19857 _ACEOF
19858
19859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19860 # The default lists apply if the user does not specify any file.
19861 ac_need_defaults=:
19862 while test $# != 0
19863 do
19864   case $1 in
19865   --*=?*)
19866     ac_option=`expr "X$1" : 'X\([^=]*\)='`
19867     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19868     ac_shift=:
19869     ;;
19870   --*=)
19871     ac_option=`expr "X$1" : 'X\([^=]*\)='`
19872     ac_optarg=
19873     ac_shift=:
19874     ;;
19875   *)
19876     ac_option=$1
19877     ac_optarg=$2
19878     ac_shift=shift
19879     ;;
19880   esac
19881
19882   case $ac_option in
19883   # Handling of the options.
19884   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19885     ac_cs_recheck=: ;;
19886   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19887     $as_echo "$ac_cs_version"; exit ;;
19888   --config | --confi | --conf | --con | --co | --c )
19889     $as_echo "$ac_cs_config"; exit ;;
19890   --debug | --debu | --deb | --de | --d | -d )
19891     debug=: ;;
19892   --file | --fil | --fi | --f )
19893     $ac_shift
19894     case $ac_optarg in
19895     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19896     '') as_fn_error $? "missing file argument" ;;
19897     esac
19898     as_fn_append CONFIG_FILES " '$ac_optarg'"
19899     ac_need_defaults=false;;
19900   --header | --heade | --head | --hea )
19901     $ac_shift
19902     case $ac_optarg in
19903     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19904     esac
19905     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19906     ac_need_defaults=false;;
19907   --he | --h)
19908     # Conflict between --help and --header
19909     as_fn_error $? "ambiguous option: \`$1'
19910 Try \`$0 --help' for more information.";;
19911   --help | --hel | -h )
19912     $as_echo "$ac_cs_usage"; exit ;;
19913   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19914   | -silent | --silent | --silen | --sile | --sil | --si | --s)
19915     ac_cs_silent=: ;;
19916
19917   # This is an error.
19918   -*) as_fn_error $? "unrecognized option: \`$1'
19919 Try \`$0 --help' for more information." ;;
19920
19921   *) as_fn_append ac_config_targets " $1"
19922      ac_need_defaults=false ;;
19923
19924   esac
19925   shift
19926 done
19927
19928 ac_configure_extra_args=
19929
19930 if $ac_cs_silent; then
19931   exec 6>/dev/null
19932   ac_configure_extra_args="$ac_configure_extra_args --silent"
19933 fi
19934
19935 _ACEOF
19936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19937 if \$ac_cs_recheck; then
19938   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19939   shift
19940   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19941   CONFIG_SHELL='$SHELL'
19942   export CONFIG_SHELL
19943   exec "\$@"
19944 fi
19945
19946 _ACEOF
19947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19948 exec 5>>config.log
19949 {
19950   echo
19951   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19952 ## Running $as_me. ##
19953 _ASBOX
19954   $as_echo "$ac_log"
19955 } >&5
19956
19957 _ACEOF
19958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19959 #
19960 # INIT-COMMANDS
19961 #
19962 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19963
19964
19965 # The HP-UX ksh and POSIX shell print the target directory to stdout
19966 # if CDPATH is set.
19967 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19968
19969 sed_quote_subst='$sed_quote_subst'
19970 double_quote_subst='$double_quote_subst'
19971 delay_variable_subst='$delay_variable_subst'
19972 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19973 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19974 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19975 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19976 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19977 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19978 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19979 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19980 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19981 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19982 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19983 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19984 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19985 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19986 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19987 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19988 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19989 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19990 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19991 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19992 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19993 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19994 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19995 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19996 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19997 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19998 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19999 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20000 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20001 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20002 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20003 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20004 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20005 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20006 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20007 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20008 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20009 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20010 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20011 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20012 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20013 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20014 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20015 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20016 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20017 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20018 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20019 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20020 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20021 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20022 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20023 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20024 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20025 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20026 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20027 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"`'
20028 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20029 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20030 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20031 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20032 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20033 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20034 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20035 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20036 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20037 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20038 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20039 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20040 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20041 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20042 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20043 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20044 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20045 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20046 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20047 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20048 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20049 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20050 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20051 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20052 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20053 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20054 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20055 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20056 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20057 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20058 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20059 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20060 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20061 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20062 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20063 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20064 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20065 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20066 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20067 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20068 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20069 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20070 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20071 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20072 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20073 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20074 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20075 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20076 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20077 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20078 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20079 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20080 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20081 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20082 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20083 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20084 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20085 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20086 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20087 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20088 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20089 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20090 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20091 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20092 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20093 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20094 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20095 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20096 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20097 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20098 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20099 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20100 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20101 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20102 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20103 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20104 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20105 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20106 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20107 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20108 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20109 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20110 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20111 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20112 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20113 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20114 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20115 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20116 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20117 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20118 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20119 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20120 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20121 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20122 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20123 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20124 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20125 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20126 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20127 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20128 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20129 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20130 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20131 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20132 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20133 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20134 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20135 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20136 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20137 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20138 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20139 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20140 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20141 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20142 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20143 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20144 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20145 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20146 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20147 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20148 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20149 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20150 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20151 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20152 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20153 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20154 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20155 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20156 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20157
20158 LTCC='$LTCC'
20159 LTCFLAGS='$LTCFLAGS'
20160 compiler='$compiler_DEFAULT'
20161
20162 # A function that is used when there is no print builtin or printf.
20163 func_fallback_echo ()
20164 {
20165   eval 'cat <<_LTECHO_EOF
20166 \$1
20167 _LTECHO_EOF'
20168 }
20169
20170 # Quote evaled strings.
20171 for var in SHELL \
20172 ECHO \
20173 SED \
20174 GREP \
20175 EGREP \
20176 FGREP \
20177 LD \
20178 NM \
20179 LN_S \
20180 lt_SP2NL \
20181 lt_NL2SP \
20182 reload_flag \
20183 OBJDUMP \
20184 deplibs_check_method \
20185 file_magic_cmd \
20186 file_magic_glob \
20187 want_nocaseglob \
20188 DLLTOOL \
20189 sharedlib_from_linklib_cmd \
20190 AR \
20191 AR_FLAGS \
20192 archiver_list_spec \
20193 STRIP \
20194 RANLIB \
20195 CC \
20196 CFLAGS \
20197 compiler \
20198 lt_cv_sys_global_symbol_pipe \
20199 lt_cv_sys_global_symbol_to_cdecl \
20200 lt_cv_sys_global_symbol_to_c_name_address \
20201 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20202 nm_file_list_spec \
20203 lt_prog_compiler_no_builtin_flag \
20204 lt_prog_compiler_pic \
20205 lt_prog_compiler_wl \
20206 lt_prog_compiler_static \
20207 lt_cv_prog_compiler_c_o \
20208 need_locks \
20209 MANIFEST_TOOL \
20210 DSYMUTIL \
20211 NMEDIT \
20212 LIPO \
20213 OTOOL \
20214 OTOOL64 \
20215 shrext_cmds \
20216 export_dynamic_flag_spec \
20217 whole_archive_flag_spec \
20218 compiler_needs_object \
20219 with_gnu_ld \
20220 allow_undefined_flag \
20221 no_undefined_flag \
20222 hardcode_libdir_flag_spec \
20223 hardcode_libdir_flag_spec_ld \
20224 hardcode_libdir_separator \
20225 exclude_expsyms \
20226 include_expsyms \
20227 file_list_spec \
20228 variables_saved_for_relink \
20229 libname_spec \
20230 library_names_spec \
20231 soname_spec \
20232 install_override_mode \
20233 finish_eval \
20234 old_striplib \
20235 striplib \
20236 compiler_lib_search_dirs \
20237 predep_objects \
20238 postdep_objects \
20239 predeps \
20240 postdeps \
20241 compiler_lib_search_path \
20242 LD_CXX \
20243 reload_flag_CXX \
20244 compiler_CXX \
20245 lt_prog_compiler_no_builtin_flag_CXX \
20246 lt_prog_compiler_pic_CXX \
20247 lt_prog_compiler_wl_CXX \
20248 lt_prog_compiler_static_CXX \
20249 lt_cv_prog_compiler_c_o_CXX \
20250 export_dynamic_flag_spec_CXX \
20251 whole_archive_flag_spec_CXX \
20252 compiler_needs_object_CXX \
20253 with_gnu_ld_CXX \
20254 allow_undefined_flag_CXX \
20255 no_undefined_flag_CXX \
20256 hardcode_libdir_flag_spec_CXX \
20257 hardcode_libdir_flag_spec_ld_CXX \
20258 hardcode_libdir_separator_CXX \
20259 exclude_expsyms_CXX \
20260 include_expsyms_CXX \
20261 file_list_spec_CXX \
20262 compiler_lib_search_dirs_CXX \
20263 predep_objects_CXX \
20264 postdep_objects_CXX \
20265 predeps_CXX \
20266 postdeps_CXX \
20267 compiler_lib_search_path_CXX; do
20268     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20269     *[\\\\\\\`\\"\\\$]*)
20270       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20271       ;;
20272     *)
20273       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20274       ;;
20275     esac
20276 done
20277
20278 # Double-quote double-evaled strings.
20279 for var in reload_cmds \
20280 old_postinstall_cmds \
20281 old_postuninstall_cmds \
20282 old_archive_cmds \
20283 extract_expsyms_cmds \
20284 old_archive_from_new_cmds \
20285 old_archive_from_expsyms_cmds \
20286 archive_cmds \
20287 archive_expsym_cmds \
20288 module_cmds \
20289 module_expsym_cmds \
20290 export_symbols_cmds \
20291 prelink_cmds \
20292 postlink_cmds \
20293 postinstall_cmds \
20294 postuninstall_cmds \
20295 finish_cmds \
20296 sys_lib_search_path_spec \
20297 sys_lib_dlsearch_path_spec \
20298 reload_cmds_CXX \
20299 old_archive_cmds_CXX \
20300 old_archive_from_new_cmds_CXX \
20301 old_archive_from_expsyms_cmds_CXX \
20302 archive_cmds_CXX \
20303 archive_expsym_cmds_CXX \
20304 module_cmds_CXX \
20305 module_expsym_cmds_CXX \
20306 export_symbols_cmds_CXX \
20307 prelink_cmds_CXX \
20308 postlink_cmds_CXX; do
20309     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20310     *[\\\\\\\`\\"\\\$]*)
20311       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20312       ;;
20313     *)
20314       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20315       ;;
20316     esac
20317 done
20318
20319 ac_aux_dir='$ac_aux_dir'
20320 xsi_shell='$xsi_shell'
20321 lt_shell_append='$lt_shell_append'
20322
20323 # See if we are running on zsh, and set the options which allow our
20324 # commands through without removal of \ escapes INIT.
20325 if test -n "\${ZSH_VERSION+set}" ; then
20326    setopt NO_GLOB_SUBST
20327 fi
20328
20329
20330     PACKAGE='$PACKAGE'
20331     VERSION='$VERSION'
20332     TIMESTAMP='$TIMESTAMP'
20333     RM='$RM'
20334     ofile='$ofile'
20335
20336
20337
20338
20339
20340
20341 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
20342 pkgconfig_prefix='$prefix'
20343 pkgconfig_execprefix='$exec_prefix'
20344 pkgconfig_bindir='$bindir'
20345 pkgconfig_libdir='$libdir'
20346 pkgconfig_includedir='$includedir'
20347 pkgconfig_datarootdir='$datarootdir'
20348 pkgconfig_datadir='$datadir'
20349 pkgconfig_sysconfdir='$sysconfdir'
20350 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
20351 pkgconfig_package='$PACKAGE_NAME'
20352 pkgconfig_libname='$ax_create_pkgconfig_libname'
20353 pkgconfig_description='$ax_create_pkgconfig_description'
20354 pkgconfig_version='$ax_create_pkgconfig_version'
20355 pkgconfig_requires='$ax_create_pkgconfig_requires'
20356 pkgconfig_libs='$ax_create_pkgconfig_libs'
20357 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
20358 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
20359 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
20360 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
20361
20362
20363 _ACEOF
20364
20365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20366
20367 # Handling of arguments.
20368 for ac_config_target in $ac_config_targets
20369 do
20370   case $ac_config_target in
20371     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20372     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20373     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20374     "opensaml.spec") CONFIG_FILES="$CONFIG_FILES opensaml.spec" ;;
20375     "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
20376     "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
20377     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20378     "saml/Makefile") CONFIG_FILES="$CONFIG_FILES saml/Makefile" ;;
20379     "samltest/Makefile") CONFIG_FILES="$CONFIG_FILES samltest/Makefile" ;;
20380     "samlsign/Makefile") CONFIG_FILES="$CONFIG_FILES samlsign/Makefile" ;;
20381     "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
20382     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20383     "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
20384
20385   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20386   esac
20387 done
20388
20389
20390 # If the user did not use the arguments to specify the items to instantiate,
20391 # then the envvar interface is used.  Set only those that are not.
20392 # We use the long form for the default assignment because of an extremely
20393 # bizarre bug on SunOS 4.1.3.
20394 if $ac_need_defaults; then
20395   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20396   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20397   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20398 fi
20399
20400 # Have a temporary directory for convenience.  Make it in the build tree
20401 # simply because there is no reason against having it here, and in addition,
20402 # creating and moving files from /tmp can sometimes cause problems.
20403 # Hook for its removal unless debugging.
20404 # Note that there is a small window in which the directory will not be cleaned:
20405 # after its creation but before its name has been assigned to `$tmp'.
20406 $debug ||
20407 {
20408   tmp= ac_tmp=
20409   trap 'exit_status=$?
20410   : "${ac_tmp:=$tmp}"
20411   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20412 ' 0
20413   trap 'as_fn_exit 1' 1 2 13 15
20414 }
20415 # Create a (secure) tmp directory for tmp files.
20416
20417 {
20418   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20419   test -d "$tmp"
20420 }  ||
20421 {
20422   tmp=./conf$$-$RANDOM
20423   (umask 077 && mkdir "$tmp")
20424 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20425 ac_tmp=$tmp
20426
20427 # Set up the scripts for CONFIG_FILES section.
20428 # No need to generate them if there are no CONFIG_FILES.
20429 # This happens for instance with `./config.status config.h'.
20430 if test -n "$CONFIG_FILES"; then
20431
20432
20433 ac_cr=`echo X | tr X '\015'`
20434 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20435 # But we know of no other shell where ac_cr would be empty at this
20436 # point, so we can use a bashism as a fallback.
20437 if test "x$ac_cr" = x; then
20438   eval ac_cr=\$\'\\r\'
20439 fi
20440 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20441 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20442   ac_cs_awk_cr='\\r'
20443 else
20444   ac_cs_awk_cr=$ac_cr
20445 fi
20446
20447 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20448 _ACEOF
20449
20450
20451 {
20452   echo "cat >conf$$subs.awk <<_ACEOF" &&
20453   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20454   echo "_ACEOF"
20455 } >conf$$subs.sh ||
20456   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20457 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20458 ac_delim='%!_!# '
20459 for ac_last_try in false false false false false :; do
20460   . ./conf$$subs.sh ||
20461     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20462
20463   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20464   if test $ac_delim_n = $ac_delim_num; then
20465     break
20466   elif $ac_last_try; then
20467     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20468   else
20469     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20470   fi
20471 done
20472 rm -f conf$$subs.sh
20473
20474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20475 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20476 _ACEOF
20477 sed -n '
20478 h
20479 s/^/S["/; s/!.*/"]=/
20480 p
20481 g
20482 s/^[^!]*!//
20483 :repl
20484 t repl
20485 s/'"$ac_delim"'$//
20486 t delim
20487 :nl
20488 h
20489 s/\(.\{148\}\)..*/\1/
20490 t more1
20491 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20492 p
20493 n
20494 b repl
20495 :more1
20496 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20497 p
20498 g
20499 s/.\{148\}//
20500 t nl
20501 :delim
20502 h
20503 s/\(.\{148\}\)..*/\1/
20504 t more2
20505 s/["\\]/\\&/g; s/^/"/; s/$/"/
20506 p
20507 b
20508 :more2
20509 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20510 p
20511 g
20512 s/.\{148\}//
20513 t delim
20514 ' <conf$$subs.awk | sed '
20515 /^[^""]/{
20516   N
20517   s/\n//
20518 }
20519 ' >>$CONFIG_STATUS || ac_write_fail=1
20520 rm -f conf$$subs.awk
20521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20522 _ACAWK
20523 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20524   for (key in S) S_is_set[key] = 1
20525   FS = "\a"
20526
20527 }
20528 {
20529   line = $ 0
20530   nfields = split(line, field, "@")
20531   substed = 0
20532   len = length(field[1])
20533   for (i = 2; i < nfields; i++) {
20534     key = field[i]
20535     keylen = length(key)
20536     if (S_is_set[key]) {
20537       value = S[key]
20538       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20539       len += length(value) + length(field[++i])
20540       substed = 1
20541     } else
20542       len += 1 + keylen
20543   }
20544
20545   print line
20546 }
20547
20548 _ACAWK
20549 _ACEOF
20550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20551 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20552   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20553 else
20554   cat
20555 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20556   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20557 _ACEOF
20558
20559 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20560 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20561 # trailing colons and then remove the whole line if VPATH becomes empty
20562 # (actually we leave an empty line to preserve line numbers).
20563 if test "x$srcdir" = x.; then
20564   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
20565 h
20566 s///
20567 s/^/:/
20568 s/[      ]*$/:/
20569 s/:\$(srcdir):/:/g
20570 s/:\${srcdir}:/:/g
20571 s/:@srcdir@:/:/g
20572 s/^:*//
20573 s/:*$//
20574 x
20575 s/\(=[   ]*\).*/\1/
20576 G
20577 s/\n//
20578 s/^[^=]*=[       ]*$//
20579 }'
20580 fi
20581
20582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20583 fi # test -n "$CONFIG_FILES"
20584
20585 # Set up the scripts for CONFIG_HEADERS section.
20586 # No need to generate them if there are no CONFIG_HEADERS.
20587 # This happens for instance with `./config.status Makefile'.
20588 if test -n "$CONFIG_HEADERS"; then
20589 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20590 BEGIN {
20591 _ACEOF
20592
20593 # Transform confdefs.h into an awk script `defines.awk', embedded as
20594 # here-document in config.status, that substitutes the proper values into
20595 # config.h.in to produce config.h.
20596
20597 # Create a delimiter string that does not exist in confdefs.h, to ease
20598 # handling of long lines.
20599 ac_delim='%!_!# '
20600 for ac_last_try in false false :; do
20601   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20602   if test -z "$ac_tt"; then
20603     break
20604   elif $ac_last_try; then
20605     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20606   else
20607     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20608   fi
20609 done
20610
20611 # For the awk script, D is an array of macro values keyed by name,
20612 # likewise P contains macro parameters if any.  Preserve backslash
20613 # newline sequences.
20614
20615 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20616 sed -n '
20617 s/.\{148\}/&'"$ac_delim"'/g
20618 t rset
20619 :rset
20620 s/^[     ]*#[    ]*define[       ][      ]*/ /
20621 t def
20622 d
20623 :def
20624 s/\\$//
20625 t bsnl
20626 s/["\\]/\\&/g
20627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20628 D["\1"]=" \3"/p
20629 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
20630 d
20631 :bsnl
20632 s/["\\]/\\&/g
20633 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20634 D["\1"]=" \3\\\\\\n"\\/p
20635 t cont
20636 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20637 t cont
20638 d
20639 :cont
20640 n
20641 s/.\{148\}/&'"$ac_delim"'/g
20642 t clear
20643 :clear
20644 s/\\$//
20645 t bsnlc
20646 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20647 d
20648 :bsnlc
20649 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20650 b cont
20651 ' <confdefs.h | sed '
20652 s/'"$ac_delim"'/"\\\
20653 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20654
20655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20656   for (key in D) D_is_set[key] = 1
20657   FS = "\a"
20658 }
20659 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20660   line = \$ 0
20661   split(line, arg, " ")
20662   if (arg[1] == "#") {
20663     defundef = arg[2]
20664     mac1 = arg[3]
20665   } else {
20666     defundef = substr(arg[1], 2)
20667     mac1 = arg[2]
20668   }
20669   split(mac1, mac2, "(") #)
20670   macro = mac2[1]
20671   prefix = substr(line, 1, index(line, defundef) - 1)
20672   if (D_is_set[macro]) {
20673     # Preserve the white space surrounding the "#".
20674     print prefix "define", macro P[macro] D[macro]
20675     next
20676   } else {
20677     # Replace #undef with comments.  This is necessary, for example,
20678     # in the case of _POSIX_SOURCE, which is predefined and required
20679     # on some systems where configure will not decide to define it.
20680     if (defundef == "undef") {
20681       print "/*", prefix defundef, macro, "*/"
20682       next
20683     }
20684   }
20685 }
20686 { print }
20687 _ACAWK
20688 _ACEOF
20689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20690   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20691 fi # test -n "$CONFIG_HEADERS"
20692
20693
20694 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
20695 shift
20696 for ac_tag
20697 do
20698   case $ac_tag in
20699   :[FHLC]) ac_mode=$ac_tag; continue;;
20700   esac
20701   case $ac_mode$ac_tag in
20702   :[FHL]*:*);;
20703   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20704   :[FH]-) ac_tag=-:-;;
20705   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20706   esac
20707   ac_save_IFS=$IFS
20708   IFS=:
20709   set x $ac_tag
20710   IFS=$ac_save_IFS
20711   shift
20712   ac_file=$1
20713   shift
20714
20715   case $ac_mode in
20716   :L) ac_source=$1;;
20717   :[FH])
20718     ac_file_inputs=
20719     for ac_f
20720     do
20721       case $ac_f in
20722       -) ac_f="$ac_tmp/stdin";;
20723       *) # Look for the file first in the build tree, then in the source tree
20724          # (if the path is not absolute).  The absolute path cannot be DOS-style,
20725          # because $ac_f cannot contain `:'.
20726          test -f "$ac_f" ||
20727            case $ac_f in
20728            [\\/$]*) false;;
20729            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20730            esac ||
20731            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20732       esac
20733       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20734       as_fn_append ac_file_inputs " '$ac_f'"
20735     done
20736
20737     # Let's still pretend it is `configure' which instantiates (i.e., don't
20738     # use $as_me), people would be surprised to read:
20739     #    /* config.h.  Generated by config.status.  */
20740     configure_input='Generated from '`
20741           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20742         `' by configure.'
20743     if test x"$ac_file" != x-; then
20744       configure_input="$ac_file.  $configure_input"
20745       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20746 $as_echo "$as_me: creating $ac_file" >&6;}
20747     fi
20748     # Neutralize special characters interpreted by sed in replacement strings.
20749     case $configure_input in #(
20750     *\&* | *\|* | *\\* )
20751        ac_sed_conf_input=`$as_echo "$configure_input" |
20752        sed 's/[\\\\&|]/\\\\&/g'`;; #(
20753     *) ac_sed_conf_input=$configure_input;;
20754     esac
20755
20756     case $ac_tag in
20757     *:-:* | *:-) cat >"$ac_tmp/stdin" \
20758       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20759     esac
20760     ;;
20761   esac
20762
20763   ac_dir=`$as_dirname -- "$ac_file" ||
20764 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20765          X"$ac_file" : 'X\(//\)[^/]' \| \
20766          X"$ac_file" : 'X\(//\)$' \| \
20767          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20768 $as_echo X"$ac_file" |
20769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20770             s//\1/
20771             q
20772           }
20773           /^X\(\/\/\)[^/].*/{
20774             s//\1/
20775             q
20776           }
20777           /^X\(\/\/\)$/{
20778             s//\1/
20779             q
20780           }
20781           /^X\(\/\).*/{
20782             s//\1/
20783             q
20784           }
20785           s/.*/./; q'`
20786   as_dir="$ac_dir"; as_fn_mkdir_p
20787   ac_builddir=.
20788
20789 case "$ac_dir" in
20790 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20791 *)
20792   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20793   # A ".." for each directory in $ac_dir_suffix.
20794   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20795   case $ac_top_builddir_sub in
20796   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20797   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20798   esac ;;
20799 esac
20800 ac_abs_top_builddir=$ac_pwd
20801 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20802 # for backward compatibility:
20803 ac_top_builddir=$ac_top_build_prefix
20804
20805 case $srcdir in
20806   .)  # We are building in place.
20807     ac_srcdir=.
20808     ac_top_srcdir=$ac_top_builddir_sub
20809     ac_abs_top_srcdir=$ac_pwd ;;
20810   [\\/]* | ?:[\\/]* )  # Absolute name.
20811     ac_srcdir=$srcdir$ac_dir_suffix;
20812     ac_top_srcdir=$srcdir
20813     ac_abs_top_srcdir=$srcdir ;;
20814   *) # Relative name.
20815     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20816     ac_top_srcdir=$ac_top_build_prefix$srcdir
20817     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20818 esac
20819 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20820
20821
20822   case $ac_mode in
20823   :F)
20824   #
20825   # CONFIG_FILE
20826   #
20827
20828   case $INSTALL in
20829   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20830   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20831   esac
20832   ac_MKDIR_P=$MKDIR_P
20833   case $MKDIR_P in
20834   [\\/$]* | ?:[\\/]* ) ;;
20835   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20836   esac
20837 _ACEOF
20838
20839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20840 # If the template does not know about datarootdir, expand it.
20841 # FIXME: This hack should be removed a few years after 2.60.
20842 ac_datarootdir_hack=; ac_datarootdir_seen=
20843 ac_sed_dataroot='
20844 /datarootdir/ {
20845   p
20846   q
20847 }
20848 /@datadir@/p
20849 /@docdir@/p
20850 /@infodir@/p
20851 /@localedir@/p
20852 /@mandir@/p'
20853 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20854 *datarootdir*) ac_datarootdir_seen=yes;;
20855 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20856   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20857 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20858 _ACEOF
20859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20860   ac_datarootdir_hack='
20861   s&@datadir@&$datadir&g
20862   s&@docdir@&$docdir&g
20863   s&@infodir@&$infodir&g
20864   s&@localedir@&$localedir&g
20865   s&@mandir@&$mandir&g
20866   s&\\\${datarootdir}&$datarootdir&g' ;;
20867 esac
20868 _ACEOF
20869
20870 # Neutralize VPATH when `$srcdir' = `.'.
20871 # Shell code in configure.ac might set extrasub.
20872 # FIXME: do we really want to maintain this feature?
20873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20874 ac_sed_extra="$ac_vpsub
20875 $extrasub
20876 _ACEOF
20877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20878 :t
20879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20880 s|@configure_input@|$ac_sed_conf_input|;t t
20881 s&@top_builddir@&$ac_top_builddir_sub&;t t
20882 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20883 s&@srcdir@&$ac_srcdir&;t t
20884 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20885 s&@top_srcdir@&$ac_top_srcdir&;t t
20886 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20887 s&@builddir@&$ac_builddir&;t t
20888 s&@abs_builddir@&$ac_abs_builddir&;t t
20889 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20890 s&@INSTALL@&$ac_INSTALL&;t t
20891 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20892 $ac_datarootdir_hack
20893 "
20894 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20895   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20896
20897 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20898   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20899   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
20900       "$ac_tmp/out"`; test -z "$ac_out"; } &&
20901   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20902 which seems to be undefined.  Please make sure it is defined" >&5
20903 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20904 which seems to be undefined.  Please make sure it is defined" >&2;}
20905
20906   rm -f "$ac_tmp/stdin"
20907   case $ac_file in
20908   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20909   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20910   esac \
20911   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20912  ;;
20913   :H)
20914   #
20915   # CONFIG_HEADER
20916   #
20917   if test x"$ac_file" != x-; then
20918     {
20919       $as_echo "/* $configure_input  */" \
20920       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20921     } >"$ac_tmp/config.h" \
20922       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20923     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20924       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20925 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20926     else
20927       rm -f "$ac_file"
20928       mv "$ac_tmp/config.h" "$ac_file" \
20929         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20930     fi
20931   else
20932     $as_echo "/* $configure_input  */" \
20933       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20934       || as_fn_error $? "could not create -" "$LINENO" 5
20935   fi
20936 # Compute "$ac_file"'s index in $config_headers.
20937 _am_arg="$ac_file"
20938 _am_stamp_count=1
20939 for _am_header in $config_headers :; do
20940   case $_am_header in
20941     $_am_arg | $_am_arg:* )
20942       break ;;
20943     * )
20944       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20945   esac
20946 done
20947 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20948 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20949          X"$_am_arg" : 'X\(//\)[^/]' \| \
20950          X"$_am_arg" : 'X\(//\)$' \| \
20951          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20952 $as_echo X"$_am_arg" |
20953     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20954             s//\1/
20955             q
20956           }
20957           /^X\(\/\/\)[^/].*/{
20958             s//\1/
20959             q
20960           }
20961           /^X\(\/\/\)$/{
20962             s//\1/
20963             q
20964           }
20965           /^X\(\/\).*/{
20966             s//\1/
20967             q
20968           }
20969           s/.*/./; q'`/stamp-h$_am_stamp_count
20970  ;;
20971
20972   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20973 $as_echo "$as_me: executing $ac_file commands" >&6;}
20974  ;;
20975   esac
20976
20977
20978   case $ac_file$ac_mode in
20979     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20980   # Autoconf 2.62 quotes --file arguments for eval, but not when files
20981   # are listed without --file.  Let's play safe and only enable the eval
20982   # if we detect the quoting.
20983   case $CONFIG_FILES in
20984   *\'*) eval set x "$CONFIG_FILES" ;;
20985   *)   set x $CONFIG_FILES ;;
20986   esac
20987   shift
20988   for mf
20989   do
20990     # Strip MF so we end up with the name of the file.
20991     mf=`echo "$mf" | sed -e 's/:.*$//'`
20992     # Check whether this is an Automake generated Makefile or not.
20993     # We used to match only the files named `Makefile.in', but
20994     # some people rename them; so instead we look at the file content.
20995     # Grep'ing the first line is not enough: some people post-process
20996     # each Makefile.in and add a new line on top of each file to say so.
20997     # Grep'ing the whole file is not good either: AIX grep has a line
20998     # limit of 2048, but all sed's we know have understand at least 4000.
20999     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21000       dirpart=`$as_dirname -- "$mf" ||
21001 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21002          X"$mf" : 'X\(//\)[^/]' \| \
21003          X"$mf" : 'X\(//\)$' \| \
21004          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21005 $as_echo X"$mf" |
21006     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21007             s//\1/
21008             q
21009           }
21010           /^X\(\/\/\)[^/].*/{
21011             s//\1/
21012             q
21013           }
21014           /^X\(\/\/\)$/{
21015             s//\1/
21016             q
21017           }
21018           /^X\(\/\).*/{
21019             s//\1/
21020             q
21021           }
21022           s/.*/./; q'`
21023     else
21024       continue
21025     fi
21026     # Extract the definition of DEPDIR, am__include, and am__quote
21027     # from the Makefile without running `make'.
21028     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21029     test -z "$DEPDIR" && continue
21030     am__include=`sed -n 's/^am__include = //p' < "$mf"`
21031     test -z "am__include" && continue
21032     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21033     # When using ansi2knr, U may be empty or an underscore; expand it
21034     U=`sed -n 's/^U = //p' < "$mf"`
21035     # Find all dependency output files, they are included files with
21036     # $(DEPDIR) in their names.  We invoke sed twice because it is the
21037     # simplest approach to changing $(DEPDIR) to its actual value in the
21038     # expansion.
21039     for file in `sed -n "
21040       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21041          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21042       # Make sure the directory exists.
21043       test -f "$dirpart/$file" && continue
21044       fdir=`$as_dirname -- "$file" ||
21045 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21046          X"$file" : 'X\(//\)[^/]' \| \
21047          X"$file" : 'X\(//\)$' \| \
21048          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21049 $as_echo X"$file" |
21050     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21051             s//\1/
21052             q
21053           }
21054           /^X\(\/\/\)[^/].*/{
21055             s//\1/
21056             q
21057           }
21058           /^X\(\/\/\)$/{
21059             s//\1/
21060             q
21061           }
21062           /^X\(\/\).*/{
21063             s//\1/
21064             q
21065           }
21066           s/.*/./; q'`
21067       as_dir=$dirpart/$fdir; as_fn_mkdir_p
21068       # echo "creating $dirpart/$file"
21069       echo '# dummy' > "$dirpart/$file"
21070     done
21071   done
21072 }
21073  ;;
21074     "libtool":C)
21075
21076     # See if we are running on zsh, and set the options which allow our
21077     # commands through without removal of \ escapes.
21078     if test -n "${ZSH_VERSION+set}" ; then
21079       setopt NO_GLOB_SUBST
21080     fi
21081
21082     cfgfile="${ofile}T"
21083     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21084     $RM "$cfgfile"
21085
21086     cat <<_LT_EOF >> "$cfgfile"
21087 #! $SHELL
21088
21089 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21090 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21091 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21092 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21093 #
21094 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21095 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21096 #                 Inc.
21097 #   Written by Gordon Matzigkeit, 1996
21098 #
21099 #   This file is part of GNU Libtool.
21100 #
21101 # GNU Libtool is free software; you can redistribute it and/or
21102 # modify it under the terms of the GNU General Public License as
21103 # published by the Free Software Foundation; either version 2 of
21104 # the License, or (at your option) any later version.
21105 #
21106 # As a special exception to the GNU General Public License,
21107 # if you distribute this file as part of a program or library that
21108 # is built using GNU Libtool, you may include this file under the
21109 # same distribution terms that you use for the rest of that program.
21110 #
21111 # GNU Libtool is distributed in the hope that it will be useful,
21112 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21113 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21114 # GNU General Public License for more details.
21115 #
21116 # You should have received a copy of the GNU General Public License
21117 # along with GNU Libtool; see the file COPYING.  If not, a copy
21118 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21119 # obtained by writing to the Free Software Foundation, Inc.,
21120 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21121
21122
21123 # The names of the tagged configurations supported by this script.
21124 available_tags="CXX "
21125
21126 # ### BEGIN LIBTOOL CONFIG
21127
21128 # Whether or not to build static libraries.
21129 build_old_libs=$enable_static
21130
21131 # Which release of libtool.m4 was used?
21132 macro_version=$macro_version
21133 macro_revision=$macro_revision
21134
21135 # Whether or not to build shared libraries.
21136 build_libtool_libs=$enable_shared
21137
21138 # What type of objects to build.
21139 pic_mode=$pic_mode
21140
21141 # Whether or not to optimize for fast installation.
21142 fast_install=$enable_fast_install
21143
21144 # Shell to use when invoking shell scripts.
21145 SHELL=$lt_SHELL
21146
21147 # An echo program that protects backslashes.
21148 ECHO=$lt_ECHO
21149
21150 # The host system.
21151 host_alias=$host_alias
21152 host=$host
21153 host_os=$host_os
21154
21155 # The build system.
21156 build_alias=$build_alias
21157 build=$build
21158 build_os=$build_os
21159
21160 # A sed program that does not truncate output.
21161 SED=$lt_SED
21162
21163 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21164 Xsed="\$SED -e 1s/^X//"
21165
21166 # A grep program that handles long lines.
21167 GREP=$lt_GREP
21168
21169 # An ERE matcher.
21170 EGREP=$lt_EGREP
21171
21172 # A literal string matcher.
21173 FGREP=$lt_FGREP
21174
21175 # A BSD- or MS-compatible name lister.
21176 NM=$lt_NM
21177
21178 # Whether we need soft or hard links.
21179 LN_S=$lt_LN_S
21180
21181 # What is the maximum length of a command?
21182 max_cmd_len=$max_cmd_len
21183
21184 # Object file suffix (normally "o").
21185 objext=$ac_objext
21186
21187 # Executable file suffix (normally "").
21188 exeext=$exeext
21189
21190 # whether the shell understands "unset".
21191 lt_unset=$lt_unset
21192
21193 # turn spaces into newlines.
21194 SP2NL=$lt_lt_SP2NL
21195
21196 # turn newlines into spaces.
21197 NL2SP=$lt_lt_NL2SP
21198
21199 # convert \$build file names to \$host format.
21200 to_host_file_cmd=$lt_cv_to_host_file_cmd
21201
21202 # convert \$build files to toolchain format.
21203 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21204
21205 # An object symbol dumper.
21206 OBJDUMP=$lt_OBJDUMP
21207
21208 # Method to check whether dependent libraries are shared objects.
21209 deplibs_check_method=$lt_deplibs_check_method
21210
21211 # Command to use when deplibs_check_method = "file_magic".
21212 file_magic_cmd=$lt_file_magic_cmd
21213
21214 # How to find potential files when deplibs_check_method = "file_magic".
21215 file_magic_glob=$lt_file_magic_glob
21216
21217 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21218 want_nocaseglob=$lt_want_nocaseglob
21219
21220 # DLL creation program.
21221 DLLTOOL=$lt_DLLTOOL
21222
21223 # Command to associate shared and link libraries.
21224 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21225
21226 # The archiver.
21227 AR=$lt_AR
21228
21229 # Flags to create an archive.
21230 AR_FLAGS=$lt_AR_FLAGS
21231
21232 # How to feed a file listing to the archiver.
21233 archiver_list_spec=$lt_archiver_list_spec
21234
21235 # A symbol stripping program.
21236 STRIP=$lt_STRIP
21237
21238 # Commands used to install an old-style archive.
21239 RANLIB=$lt_RANLIB
21240 old_postinstall_cmds=$lt_old_postinstall_cmds
21241 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21242
21243 # Whether to use a lock for old archive extraction.
21244 lock_old_archive_extraction=$lock_old_archive_extraction
21245
21246 # A C compiler.
21247 LTCC=$lt_CC
21248
21249 # LTCC compiler flags.
21250 LTCFLAGS=$lt_CFLAGS
21251
21252 # Take the output of nm and produce a listing of raw symbols and C names.
21253 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21254
21255 # Transform the output of nm in a proper C declaration.
21256 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21257
21258 # Transform the output of nm in a C name address pair.
21259 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21260
21261 # Transform the output of nm in a C name address pair when lib prefix is needed.
21262 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21263
21264 # Specify filename containing input files for \$NM.
21265 nm_file_list_spec=$lt_nm_file_list_spec
21266
21267 # The root where to search for dependent libraries,and in which our libraries should be installed.
21268 lt_sysroot=$lt_sysroot
21269
21270 # The name of the directory that contains temporary libtool files.
21271 objdir=$objdir
21272
21273 # Used to examine libraries when file_magic_cmd begins with "file".
21274 MAGIC_CMD=$MAGIC_CMD
21275
21276 # Must we lock files when doing compilation?
21277 need_locks=$lt_need_locks
21278
21279 # Manifest tool.
21280 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21281
21282 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21283 DSYMUTIL=$lt_DSYMUTIL
21284
21285 # Tool to change global to local symbols on Mac OS X.
21286 NMEDIT=$lt_NMEDIT
21287
21288 # Tool to manipulate fat objects and archives on Mac OS X.
21289 LIPO=$lt_LIPO
21290
21291 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21292 OTOOL=$lt_OTOOL
21293
21294 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21295 OTOOL64=$lt_OTOOL64
21296
21297 # Old archive suffix (normally "a").
21298 libext=$libext
21299
21300 # Shared library suffix (normally ".so").
21301 shrext_cmds=$lt_shrext_cmds
21302
21303 # The commands to extract the exported symbol list from a shared archive.
21304 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21305
21306 # Variables whose values should be saved in libtool wrapper scripts and
21307 # restored at link time.
21308 variables_saved_for_relink=$lt_variables_saved_for_relink
21309
21310 # Do we need the "lib" prefix for modules?
21311 need_lib_prefix=$need_lib_prefix
21312
21313 # Do we need a version for libraries?
21314 need_version=$need_version
21315
21316 # Library versioning type.
21317 version_type=$version_type
21318
21319 # Shared library runtime path variable.
21320 runpath_var=$runpath_var
21321
21322 # Shared library path variable.
21323 shlibpath_var=$shlibpath_var
21324
21325 # Is shlibpath searched before the hard-coded library search path?
21326 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21327
21328 # Format of library name prefix.
21329 libname_spec=$lt_libname_spec
21330
21331 # List of archive names.  First name is the real one, the rest are links.
21332 # The last name is the one that the linker finds with -lNAME
21333 library_names_spec=$lt_library_names_spec
21334
21335 # The coded name of the library, if different from the real name.
21336 soname_spec=$lt_soname_spec
21337
21338 # Permission mode override for installation of shared libraries.
21339 install_override_mode=$lt_install_override_mode
21340
21341 # Command to use after installation of a shared archive.
21342 postinstall_cmds=$lt_postinstall_cmds
21343
21344 # Command to use after uninstallation of a shared archive.
21345 postuninstall_cmds=$lt_postuninstall_cmds
21346
21347 # Commands used to finish a libtool library installation in a directory.
21348 finish_cmds=$lt_finish_cmds
21349
21350 # As "finish_cmds", except a single script fragment to be evaled but
21351 # not shown.
21352 finish_eval=$lt_finish_eval
21353
21354 # Whether we should hardcode library paths into libraries.
21355 hardcode_into_libs=$hardcode_into_libs
21356
21357 # Compile-time system search path for libraries.
21358 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21359
21360 # Run-time system search path for libraries.
21361 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21362
21363 # Whether dlopen is supported.
21364 dlopen_support=$enable_dlopen
21365
21366 # Whether dlopen of programs is supported.
21367 dlopen_self=$enable_dlopen_self
21368
21369 # Whether dlopen of statically linked programs is supported.
21370 dlopen_self_static=$enable_dlopen_self_static
21371
21372 # Commands to strip libraries.
21373 old_striplib=$lt_old_striplib
21374 striplib=$lt_striplib
21375
21376
21377 # The linker used to build libraries.
21378 LD=$lt_LD
21379
21380 # How to create reloadable object files.
21381 reload_flag=$lt_reload_flag
21382 reload_cmds=$lt_reload_cmds
21383
21384 # Commands used to build an old-style archive.
21385 old_archive_cmds=$lt_old_archive_cmds
21386
21387 # A language specific compiler.
21388 CC=$lt_compiler
21389
21390 # Is the compiler the GNU compiler?
21391 with_gcc=$GCC
21392
21393 # Compiler flag to turn off builtin functions.
21394 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21395
21396 # Additional compiler flags for building library objects.
21397 pic_flag=$lt_lt_prog_compiler_pic
21398
21399 # How to pass a linker flag through the compiler.
21400 wl=$lt_lt_prog_compiler_wl
21401
21402 # Compiler flag to prevent dynamic linking.
21403 link_static_flag=$lt_lt_prog_compiler_static
21404
21405 # Does compiler simultaneously support -c and -o options?
21406 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21407
21408 # Whether or not to add -lc for building shared libraries.
21409 build_libtool_need_lc=$archive_cmds_need_lc
21410
21411 # Whether or not to disallow shared libs when runtime libs are static.
21412 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21413
21414 # Compiler flag to allow reflexive dlopens.
21415 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21416
21417 # Compiler flag to generate shared objects directly from archives.
21418 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21419
21420 # Whether the compiler copes with passing no objects directly.
21421 compiler_needs_object=$lt_compiler_needs_object
21422
21423 # Create an old-style archive from a shared archive.
21424 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21425
21426 # Create a temporary old-style archive to link instead of a shared archive.
21427 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21428
21429 # Commands used to build a shared archive.
21430 archive_cmds=$lt_archive_cmds
21431 archive_expsym_cmds=$lt_archive_expsym_cmds
21432
21433 # Commands used to build a loadable module if different from building
21434 # a shared archive.
21435 module_cmds=$lt_module_cmds
21436 module_expsym_cmds=$lt_module_expsym_cmds
21437
21438 # Whether we are building with GNU ld or not.
21439 with_gnu_ld=$lt_with_gnu_ld
21440
21441 # Flag that allows shared libraries with undefined symbols to be built.
21442 allow_undefined_flag=$lt_allow_undefined_flag
21443
21444 # Flag that enforces no undefined symbols.
21445 no_undefined_flag=$lt_no_undefined_flag
21446
21447 # Flag to hardcode \$libdir into a binary during linking.
21448 # This must work even if \$libdir does not exist
21449 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21450
21451 # If ld is used when linking, flag to hardcode \$libdir into a binary
21452 # during linking.  This must work even if \$libdir does not exist.
21453 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21454
21455 # Whether we need a single "-rpath" flag with a separated argument.
21456 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21457
21458 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21459 # DIR into the resulting binary.
21460 hardcode_direct=$hardcode_direct
21461
21462 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21463 # DIR into the resulting binary and the resulting library dependency is
21464 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21465 # library is relocated.
21466 hardcode_direct_absolute=$hardcode_direct_absolute
21467
21468 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21469 # into the resulting binary.
21470 hardcode_minus_L=$hardcode_minus_L
21471
21472 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21473 # into the resulting binary.
21474 hardcode_shlibpath_var=$hardcode_shlibpath_var
21475
21476 # Set to "yes" if building a shared library automatically hardcodes DIR
21477 # into the library and all subsequent libraries and executables linked
21478 # against it.
21479 hardcode_automatic=$hardcode_automatic
21480
21481 # Set to yes if linker adds runtime paths of dependent libraries
21482 # to runtime path list.
21483 inherit_rpath=$inherit_rpath
21484
21485 # Whether libtool must link a program against all its dependency libraries.
21486 link_all_deplibs=$link_all_deplibs
21487
21488 # Set to "yes" if exported symbols are required.
21489 always_export_symbols=$always_export_symbols
21490
21491 # The commands to list exported symbols.
21492 export_symbols_cmds=$lt_export_symbols_cmds
21493
21494 # Symbols that should not be listed in the preloaded symbols.
21495 exclude_expsyms=$lt_exclude_expsyms
21496
21497 # Symbols that must always be exported.
21498 include_expsyms=$lt_include_expsyms
21499
21500 # Commands necessary for linking programs (against libraries) with templates.
21501 prelink_cmds=$lt_prelink_cmds
21502
21503 # Commands necessary for finishing linking programs.
21504 postlink_cmds=$lt_postlink_cmds
21505
21506 # Specify filename containing input files.
21507 file_list_spec=$lt_file_list_spec
21508
21509 # How to hardcode a shared library path into an executable.
21510 hardcode_action=$hardcode_action
21511
21512 # The directories searched by this compiler when creating a shared library.
21513 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21514
21515 # Dependencies to place before and after the objects being linked to
21516 # create a shared library.
21517 predep_objects=$lt_predep_objects
21518 postdep_objects=$lt_postdep_objects
21519 predeps=$lt_predeps
21520 postdeps=$lt_postdeps
21521
21522 # The library search path used internally by the compiler when linking
21523 # a shared library.
21524 compiler_lib_search_path=$lt_compiler_lib_search_path
21525
21526 # ### END LIBTOOL CONFIG
21527
21528 _LT_EOF
21529
21530   case $host_os in
21531   aix3*)
21532     cat <<\_LT_EOF >> "$cfgfile"
21533 # AIX sometimes has problems with the GCC collect2 program.  For some
21534 # reason, if we set the COLLECT_NAMES environment variable, the problems
21535 # vanish in a puff of smoke.
21536 if test "X${COLLECT_NAMES+set}" != Xset; then
21537   COLLECT_NAMES=
21538   export COLLECT_NAMES
21539 fi
21540 _LT_EOF
21541     ;;
21542   esac
21543
21544
21545 ltmain="$ac_aux_dir/ltmain.sh"
21546
21547
21548   # We use sed instead of cat because bash on DJGPP gets confused if
21549   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21550   # text mode, it properly converts lines to CR/LF.  This bash problem
21551   # is reportedly fixed, but why not run on old versions too?
21552   sed '$q' "$ltmain" >> "$cfgfile" \
21553      || (rm -f "$cfgfile"; exit 1)
21554
21555   if test x"$xsi_shell" = xyes; then
21556   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21557 func_dirname ()\
21558 {\
21559 \    case ${1} in\
21560 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21561 \      *  ) func_dirname_result="${3}" ;;\
21562 \    esac\
21563 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21564   && mv -f "$cfgfile.tmp" "$cfgfile" \
21565     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21566 test 0 -eq $? || _lt_function_replace_fail=:
21567
21568
21569   sed -e '/^func_basename ()$/,/^} # func_basename /c\
21570 func_basename ()\
21571 {\
21572 \    func_basename_result="${1##*/}"\
21573 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21574   && mv -f "$cfgfile.tmp" "$cfgfile" \
21575     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21576 test 0 -eq $? || _lt_function_replace_fail=:
21577
21578
21579   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21580 func_dirname_and_basename ()\
21581 {\
21582 \    case ${1} in\
21583 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21584 \      *  ) func_dirname_result="${3}" ;;\
21585 \    esac\
21586 \    func_basename_result="${1##*/}"\
21587 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21588   && mv -f "$cfgfile.tmp" "$cfgfile" \
21589     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21590 test 0 -eq $? || _lt_function_replace_fail=:
21591
21592
21593   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21594 func_stripname ()\
21595 {\
21596 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21597 \    # positional parameters, so assign one to ordinary parameter first.\
21598 \    func_stripname_result=${3}\
21599 \    func_stripname_result=${func_stripname_result#"${1}"}\
21600 \    func_stripname_result=${func_stripname_result%"${2}"}\
21601 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21602   && mv -f "$cfgfile.tmp" "$cfgfile" \
21603     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21604 test 0 -eq $? || _lt_function_replace_fail=:
21605
21606
21607   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21608 func_split_long_opt ()\
21609 {\
21610 \    func_split_long_opt_name=${1%%=*}\
21611 \    func_split_long_opt_arg=${1#*=}\
21612 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21613   && mv -f "$cfgfile.tmp" "$cfgfile" \
21614     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21615 test 0 -eq $? || _lt_function_replace_fail=:
21616
21617
21618   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21619 func_split_short_opt ()\
21620 {\
21621 \    func_split_short_opt_arg=${1#??}\
21622 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21623 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21624   && mv -f "$cfgfile.tmp" "$cfgfile" \
21625     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21626 test 0 -eq $? || _lt_function_replace_fail=:
21627
21628
21629   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21630 func_lo2o ()\
21631 {\
21632 \    case ${1} in\
21633 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21634 \      *)    func_lo2o_result=${1} ;;\
21635 \    esac\
21636 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21637   && mv -f "$cfgfile.tmp" "$cfgfile" \
21638     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21639 test 0 -eq $? || _lt_function_replace_fail=:
21640
21641
21642   sed -e '/^func_xform ()$/,/^} # func_xform /c\
21643 func_xform ()\
21644 {\
21645     func_xform_result=${1%.*}.lo\
21646 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21647   && mv -f "$cfgfile.tmp" "$cfgfile" \
21648     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21649 test 0 -eq $? || _lt_function_replace_fail=:
21650
21651
21652   sed -e '/^func_arith ()$/,/^} # func_arith /c\
21653 func_arith ()\
21654 {\
21655     func_arith_result=$(( $* ))\
21656 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21657   && mv -f "$cfgfile.tmp" "$cfgfile" \
21658     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21659 test 0 -eq $? || _lt_function_replace_fail=:
21660
21661
21662   sed -e '/^func_len ()$/,/^} # func_len /c\
21663 func_len ()\
21664 {\
21665     func_len_result=${#1}\
21666 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21667   && mv -f "$cfgfile.tmp" "$cfgfile" \
21668     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21669 test 0 -eq $? || _lt_function_replace_fail=:
21670
21671 fi
21672
21673 if test x"$lt_shell_append" = xyes; then
21674   sed -e '/^func_append ()$/,/^} # func_append /c\
21675 func_append ()\
21676 {\
21677     eval "${1}+=\\${2}"\
21678 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21679   && mv -f "$cfgfile.tmp" "$cfgfile" \
21680     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21681 test 0 -eq $? || _lt_function_replace_fail=:
21682
21683
21684   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21685 func_append_quoted ()\
21686 {\
21687 \    func_quote_for_eval "${2}"\
21688 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21689 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21690   && mv -f "$cfgfile.tmp" "$cfgfile" \
21691     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21692 test 0 -eq $? || _lt_function_replace_fail=:
21693
21694
21695   # Save a `func_append' function call where possible by direct use of '+='
21696   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21697     && mv -f "$cfgfile.tmp" "$cfgfile" \
21698       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21699   test 0 -eq $? || _lt_function_replace_fail=:
21700 else
21701   # Save a `func_append' function call even when '+=' is not available
21702   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21703     && mv -f "$cfgfile.tmp" "$cfgfile" \
21704       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21705   test 0 -eq $? || _lt_function_replace_fail=:
21706 fi
21707
21708 if test x"$_lt_function_replace_fail" = x":"; then
21709   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21710 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21711 fi
21712
21713
21714    mv -f "$cfgfile" "$ofile" ||
21715     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21716   chmod +x "$ofile"
21717
21718
21719     cat <<_LT_EOF >> "$ofile"
21720
21721 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21722
21723 # The linker used to build libraries.
21724 LD=$lt_LD_CXX
21725
21726 # How to create reloadable object files.
21727 reload_flag=$lt_reload_flag_CXX
21728 reload_cmds=$lt_reload_cmds_CXX
21729
21730 # Commands used to build an old-style archive.
21731 old_archive_cmds=$lt_old_archive_cmds_CXX
21732
21733 # A language specific compiler.
21734 CC=$lt_compiler_CXX
21735
21736 # Is the compiler the GNU compiler?
21737 with_gcc=$GCC_CXX
21738
21739 # Compiler flag to turn off builtin functions.
21740 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21741
21742 # Additional compiler flags for building library objects.
21743 pic_flag=$lt_lt_prog_compiler_pic_CXX
21744
21745 # How to pass a linker flag through the compiler.
21746 wl=$lt_lt_prog_compiler_wl_CXX
21747
21748 # Compiler flag to prevent dynamic linking.
21749 link_static_flag=$lt_lt_prog_compiler_static_CXX
21750
21751 # Does compiler simultaneously support -c and -o options?
21752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21753
21754 # Whether or not to add -lc for building shared libraries.
21755 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21756
21757 # Whether or not to disallow shared libs when runtime libs are static.
21758 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21759
21760 # Compiler flag to allow reflexive dlopens.
21761 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21762
21763 # Compiler flag to generate shared objects directly from archives.
21764 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21765
21766 # Whether the compiler copes with passing no objects directly.
21767 compiler_needs_object=$lt_compiler_needs_object_CXX
21768
21769 # Create an old-style archive from a shared archive.
21770 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21771
21772 # Create a temporary old-style archive to link instead of a shared archive.
21773 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21774
21775 # Commands used to build a shared archive.
21776 archive_cmds=$lt_archive_cmds_CXX
21777 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21778
21779 # Commands used to build a loadable module if different from building
21780 # a shared archive.
21781 module_cmds=$lt_module_cmds_CXX
21782 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21783
21784 # Whether we are building with GNU ld or not.
21785 with_gnu_ld=$lt_with_gnu_ld_CXX
21786
21787 # Flag that allows shared libraries with undefined symbols to be built.
21788 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21789
21790 # Flag that enforces no undefined symbols.
21791 no_undefined_flag=$lt_no_undefined_flag_CXX
21792
21793 # Flag to hardcode \$libdir into a binary during linking.
21794 # This must work even if \$libdir does not exist
21795 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21796
21797 # If ld is used when linking, flag to hardcode \$libdir into a binary
21798 # during linking.  This must work even if \$libdir does not exist.
21799 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21800
21801 # Whether we need a single "-rpath" flag with a separated argument.
21802 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21803
21804 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21805 # DIR into the resulting binary.
21806 hardcode_direct=$hardcode_direct_CXX
21807
21808 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21809 # DIR into the resulting binary and the resulting library dependency is
21810 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21811 # library is relocated.
21812 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21813
21814 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21815 # into the resulting binary.
21816 hardcode_minus_L=$hardcode_minus_L_CXX
21817
21818 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21819 # into the resulting binary.
21820 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21821
21822 # Set to "yes" if building a shared library automatically hardcodes DIR
21823 # into the library and all subsequent libraries and executables linked
21824 # against it.
21825 hardcode_automatic=$hardcode_automatic_CXX
21826
21827 # Set to yes if linker adds runtime paths of dependent libraries
21828 # to runtime path list.
21829 inherit_rpath=$inherit_rpath_CXX
21830
21831 # Whether libtool must link a program against all its dependency libraries.
21832 link_all_deplibs=$link_all_deplibs_CXX
21833
21834 # Set to "yes" if exported symbols are required.
21835 always_export_symbols=$always_export_symbols_CXX
21836
21837 # The commands to list exported symbols.
21838 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21839
21840 # Symbols that should not be listed in the preloaded symbols.
21841 exclude_expsyms=$lt_exclude_expsyms_CXX
21842
21843 # Symbols that must always be exported.
21844 include_expsyms=$lt_include_expsyms_CXX
21845
21846 # Commands necessary for linking programs (against libraries) with templates.
21847 prelink_cmds=$lt_prelink_cmds_CXX
21848
21849 # Commands necessary for finishing linking programs.
21850 postlink_cmds=$lt_postlink_cmds_CXX
21851
21852 # Specify filename containing input files.
21853 file_list_spec=$lt_file_list_spec_CXX
21854
21855 # How to hardcode a shared library path into an executable.
21856 hardcode_action=$hardcode_action_CXX
21857
21858 # The directories searched by this compiler when creating a shared library.
21859 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21860
21861 # Dependencies to place before and after the objects being linked to
21862 # create a shared library.
21863 predep_objects=$lt_predep_objects_CXX
21864 postdep_objects=$lt_postdep_objects_CXX
21865 predeps=$lt_predeps_CXX
21866 postdeps=$lt_postdeps_CXX
21867
21868 # The library search path used internally by the compiler when linking
21869 # a shared library.
21870 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21871
21872 # ### END LIBTOOL TAG CONFIG: CXX
21873 _LT_EOF
21874
21875  ;;
21876     "$ax_create_pkgconfig_generate":C)
21877 pkgconfig_generate="$ax_create_pkgconfig_generate"
21878 if test ! -f "$pkgconfig_generate.in"
21879 then generate="true"
21880 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
21881 then generate="true"
21882 else generate="false";
21883 fi
21884 if $generate ; then
21885 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
21886 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
21887 cat > $pkgconfig_generate.in <<AXEOF
21888 # generated by configure / remove this line to disable regeneration
21889 prefix=@prefix@
21890 exec_prefix=@exec_prefix@
21891 bindir=@bindir@
21892 libdir=@libdir@
21893 datarootdir=@datarootdir@
21894 datadir=@datadir@
21895 sysconfdir=@sysconfdir@
21896 includedir=@includedir@
21897 package=@PACKAGE@
21898 suffix=@suffix@
21899
21900 Name: @PACKAGE_NAME@
21901 Description: @PACKAGE_DESCRIPTION@
21902 Version: @PACKAGE_VERSION@
21903 Requires: @PACKAGE_REQUIRES@
21904 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
21905 Cflags: -I\${includedir} @CPPFLAGS@
21906 AXEOF
21907 fi # DONE generate $pkgconfig_generate.in
21908 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
21909 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
21910 cat >conftest.sed <<AXEOF
21911 s|@prefix@|${pkgconfig_prefix}|
21912 s|@exec_prefix@|${pkgconfig_execprefix}|
21913 s|@bindir@|${pkgconfig_bindir}|
21914 s|@libdir@|${pkgconfig_libdir}|
21915 s|@datarootdir@|${pkgconfig_datarootdir}|
21916 s|@datadir@|${pkgconfig_datadir}|
21917 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21918 s|@includedir@|${pkgconfig_includedir}|
21919 s|@suffix@|${pkgconfig_suffix}|
21920 s|@PACKAGE@|${pkgconfig_package}|
21921 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21922 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21923 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21924 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21925 s|@LIBS@|${pkgconfig_libs}|
21926 s|@LDFLAGS@|${pkgconfig_ldflags}|
21927 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21928 AXEOF
21929 sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_generate
21930 if test ! -s $pkgconfig_generate ; then
21931     as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
21932 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
21933 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21935 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21936 cat >conftest.sed <<AXEOF
21937 s|@prefix@|${pkgconfig_prefix}|
21938 s|@exec_prefix@|${pkgconfig_execprefix}|
21939 s|@bindir@|${pkgconfig_bindir}|
21940 s|@libdir@|${pkgconfig_src_libdir}|
21941 s|@datarootdir@|${pkgconfig_datarootdir}|
21942 s|@datadir@|${pkgconfig_datadir}|
21943 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21944 s|@includedir@|${pkgconfig_src_headers}|
21945 s|@suffix@|${pkgconfig_suffix}|
21946 s|@PACKAGE@|${pkgconfig_package}|
21947 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21948 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21949 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21950 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21951 s|@LIBS@|${pkgconfig_libs}|
21952 s|@LDFLAGS@|${pkgconfig_ldflags}|
21953 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21954 AXEOF
21955 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21956 if test ! -s $pkgconfig_uninstalled ; then
21957     as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21958 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21959            pkgconfig_requires_add=`echo ${pkgconfig_requires}`
21960 if test ".$pkgconfig_requires_add" != "." ; then
21961            pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
21962     else   pkgconfig_requires_add=":" ; fi
21963 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
21964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21965 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21966 cat >conftest.sed <<AXEOF
21967 s|@prefix@|\"${pkgconfig_prefix}\"|
21968 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
21969 s|@bindir@|\"${pkgconfig_bindir}\"|
21970 s|@libdir@|\"${pkgconfig_src_libdir}\"|
21971 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
21972 s|@datadir@|\"${pkgconfig_datadir}\"|
21973 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
21974 s|@includedir@|\"${pkgconfig_src_headers}\"|
21975 s|@suffix@|\"${pkgconfig_suffix}\"|
21976 s|@PACKAGE@|\"${pkgconfig_package}\"|
21977 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
21978 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
21979 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
21980 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
21981 s|@LIBS@|\"${pkgconfig_libs}\"|
21982 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
21983 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
21984 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
21985 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
21986 s>Version: *>\\;\\; --modversion|--version) echo >
21987 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
21988 s>Libs: *>\\;\\; --libs) echo >
21989 s>Cflags: *>\\;\\; --cflags) echo >
21990 /--libs)/a\\
21991        $pkgconfig_requires_add
21992 /--cflags)/a\\
21993        $pkgconfig_requires_add\\
21994 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
21995 ;; --uninstalled) exit 0 \\
21996 ;; *) ;; esac done
21997 AXEOF
21998 sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_uninstalled
21999 if test ! -s $pkgconfig_uninstalled ; then
22000     as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
22001 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
22002  ;;
22003
22004   esac
22005 done # for ac_tag
22006
22007
22008 as_fn_exit 0
22009 _ACEOF
22010 ac_clean_files=$ac_clean_files_save
22011
22012 test $ac_write_fail = 0 ||
22013   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22014
22015
22016 # configure is writing to config.log, and then calls config.status.
22017 # config.status does its own redirection, appending to config.log.
22018 # Unfortunately, on DOS this fails, as config.log is still kept open
22019 # by configure, so config.status won't be able to write to it; its
22020 # output is simply discarded.  So we exec the FD to /dev/null,
22021 # effectively closing config.log, so it can be properly (re)opened and
22022 # appended to by config.status.  When coming back to configure, we
22023 # need to make the FD available again.
22024 if test "$no_create" != yes; then
22025   ac_cs_success=:
22026   ac_config_status_args=
22027   test "$silent" = yes &&
22028     ac_config_status_args="$ac_config_status_args --quiet"
22029   exec 5>/dev/null
22030   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22031   exec 5>>config.log
22032   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22033   # would make configure fail if this is the last instruction.
22034   $ac_cs_success || as_fn_exit 1
22035 fi
22036 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22037   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22038 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22039 fi
22040