Remove ws-trust federation schema from makefile since it is removed for DFSG reasons
[shibboleth/sp.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for shibboleth 2.4.
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='shibboleth'
572 PACKAGE_TARNAME='shibboleth'
573 PACKAGE_VERSION='2.4'
574 PACKAGE_STRING='shibboleth 2.4'
575 PACKAGE_BUGREPORT='https://bugs.internet2.edu/'
576 PACKAGE_URL=''
577
578 ac_unique_file="shibsp"
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 WANT_SUBDIRS
620 ODBC_LIBS
621 ODBC_CFLAGS
622 ODBC_CONFIG
623 BUILD_AP22_FALSE
624 BUILD_AP22_TRUE
625 BUILD_AP20_FALSE
626 BUILD_AP20_TRUE
627 BUILD_AP13_FALSE
628 BUILD_AP13_TRUE
629 APXS22_INCLUDE
630 APXS22_CFLAGS
631 APU1_CONFIG
632 APR1_CONFIG
633 APXS22
634 APXS2_INCLUDE
635 APXS2_CFLAGS
636 APU_CONFIG
637 APR_CONFIG
638 APXS2
639 APXS_INCLUDE
640 APXS_CFLAGS
641 APXS
642 xs
643 BUILD_MEMCACHED_FALSE
644 BUILD_MEMCACHED_TRUE
645 MEMCACHED_LIBS
646 MEMCACHED_LDFLAGS
647 MEMCACHED_INCLUDE
648 BUILD_FASTCGI_FALSE
649 BUILD_FASTCGI_TRUE
650 FASTCGI_LIBS
651 FASTCGI_LDFLAGS
652 FASTCGI_INCLUDE
653 BUILD_NSAPI_FALSE
654 BUILD_NSAPI_TRUE
655 NSAPI_INCLUDE
656 XMLSEC_LIBS
657 LITE_LIBS
658 OPENSAMLXMLDIR
659 XMLTOOLINGXMLDIR
660 LOG4CPP_CONFIG
661 LOG4SHIB_CONFIG
662 PKG_CONFIG
663 PTHREAD_CFLAGS
664 PTHREAD_LIBS
665 PTHREAD_CC
666 acx_pthread_config
667 CXXCPP
668 am__fastdepCXX_FALSE
669 am__fastdepCXX_TRUE
670 CXXDEPMODE
671 ac_ct_CXX
672 CXXFLAGS
673 CXX
674 DOXYGEN_PAPER_SIZE
675 DX_COND_latex_FALSE
676 DX_COND_latex_TRUE
677 DX_COND_pdf_FALSE
678 DX_COND_pdf_TRUE
679 DX_PDFLATEX
680 DX_FLAG_pdf
681 DX_COND_ps_FALSE
682 DX_COND_ps_TRUE
683 DX_EGREP
684 DX_DVIPS
685 DX_MAKEINDEX
686 DX_LATEX
687 DX_FLAG_ps
688 DX_COND_html_FALSE
689 DX_COND_html_TRUE
690 DX_FLAG_html
691 DX_COND_chi_FALSE
692 DX_COND_chi_TRUE
693 DX_FLAG_chi
694 DX_COND_chm_FALSE
695 DX_COND_chm_TRUE
696 DX_HHC
697 DX_FLAG_chm
698 DX_COND_xml_FALSE
699 DX_COND_xml_TRUE
700 DX_FLAG_xml
701 DX_COND_rtf_FALSE
702 DX_COND_rtf_TRUE
703 DX_FLAG_rtf
704 DX_COND_man_FALSE
705 DX_COND_man_TRUE
706 DX_FLAG_man
707 DX_COND_dot_FALSE
708 DX_COND_dot_TRUE
709 DX_DOT
710 DX_FLAG_dot
711 DX_COND_doc_FALSE
712 DX_COND_doc_TRUE
713 DX_PERL
714 DX_DOXYGEN
715 DX_FLAG_doc
716 DX_ENV
717 DX_DOCDIR
718 DX_CONFIG
719 DX_PROJECT
720 CPP
721 OTOOL64
722 OTOOL
723 LIPO
724 NMEDIT
725 DSYMUTIL
726 MANIFEST_TOOL
727 RANLIB
728 ac_ct_AR
729 AR
730 DLLTOOL
731 OBJDUMP
732 LN_S
733 NM
734 ac_ct_DUMPBIN
735 DUMPBIN
736 LD
737 FGREP
738 EGREP
739 GREP
740 SED
741 am__fastdepCC_FALSE
742 am__fastdepCC_TRUE
743 CCDEPMODE
744 AMDEPBACKSLASH
745 AMDEP_FALSE
746 AMDEP_TRUE
747 am__quote
748 am__include
749 DEPDIR
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
756 CC
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 LIBTOOL
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
771 AWK
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_alias
790 host_alias
791 build_alias
792 LIBS
793 ECHO_T
794 ECHO_N
795 ECHO_C
796 DEFS
797 mandir
798 localedir
799 libdir
800 psdir
801 pdfdir
802 dvidir
803 htmldir
804 infodir
805 docdir
806 oldincludedir
807 includedir
808 localstatedir
809 sharedstatedir
810 sysconfdir
811 datadir
812 datarootdir
813 libexecdir
814 sbindir
815 bindir
816 program_transform_name
817 prefix
818 exec_prefix
819 PACKAGE_URL
820 PACKAGE_BUGREPORT
821 PACKAGE_STRING
822 PACKAGE_VERSION
823 PACKAGE_TARNAME
824 PACKAGE_NAME
825 PATH_SEPARATOR
826 SHELL'
827 ac_subst_files=''
828 ac_user_opts='
829 enable_option_checking
830 enable_static
831 enable_shared
832 with_pic
833 enable_fast_install
834 enable_dependency_tracking
835 with_gnu_ld
836 with_sysroot
837 enable_libtool_lock
838 enable_doxygen_doc
839 enable_doxygen_dot
840 enable_doxygen_man
841 enable_doxygen_rtf
842 enable_doxygen_xml
843 enable_doxygen_chm
844 enable_doxygen_chi
845 enable_doxygen_html
846 enable_doxygen_ps
847 enable_doxygen_pdf
848 enable_debug
849 with_gnu_ld
850 with_openssl
851 with_log4shib
852 with_log4cpp
853 with_xerces
854 with_xmltooling
855 with_xmlsec
856 with_saml
857 enable_adfs
858 with_nsapi
859 with_fastcgi
860 with_memcached
861 enable_apache_13
862 with_apxs
863 enable_apache_20
864 with_apxs2
865 with_apr
866 with_apu
867 enable_apache_22
868 with_apxs22
869 with_apr1
870 with_apu1
871 enable_odbc
872 with_odbc
873 with_gssapi_includes
874 with_gssapi_libs
875 with_gssapi
876 '
877       ac_precious_vars='build_alias
878 host_alias
879 target_alias
880 CC
881 CFLAGS
882 LDFLAGS
883 LIBS
884 CPPFLAGS
885 CPP
886 CPPFLAGS
887 DOXYGEN_PAPER_SIZE
888 CC
889 LDFLAGS
890 LIBS
891 CPPFLAGS
892 CXX
893 CXXFLAGS
894 LIBS
895 CCC
896 CXXCPP'
897
898
899 # Initialize some variables set by options.
900 ac_init_help=
901 ac_init_version=false
902 ac_unrecognized_opts=
903 ac_unrecognized_sep=
904 # The variables have the same names as the options, with
905 # dashes changed to underlines.
906 cache_file=/dev/null
907 exec_prefix=NONE
908 no_create=
909 no_recursion=
910 prefix=NONE
911 program_prefix=NONE
912 program_suffix=NONE
913 program_transform_name=s,x,x,
914 silent=
915 site=
916 srcdir=
917 verbose=
918 x_includes=NONE
919 x_libraries=NONE
920
921 # Installation directory options.
922 # These are left unexpanded so users can "make install exec_prefix=/foo"
923 # and all the variables that are supposed to be based on exec_prefix
924 # by default will actually change.
925 # Use braces instead of parens because sh, perl, etc. also accept them.
926 # (The list follows the same order as the GNU Coding Standards.)
927 bindir='${exec_prefix}/bin'
928 sbindir='${exec_prefix}/sbin'
929 libexecdir='${exec_prefix}/libexec'
930 datarootdir='${prefix}/share'
931 datadir='${datarootdir}'
932 sysconfdir='${prefix}/etc'
933 sharedstatedir='${prefix}/com'
934 localstatedir='${prefix}/var'
935 includedir='${prefix}/include'
936 oldincludedir='/usr/include'
937 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
938 infodir='${datarootdir}/info'
939 htmldir='${docdir}'
940 dvidir='${docdir}'
941 pdfdir='${docdir}'
942 psdir='${docdir}'
943 libdir='${exec_prefix}/lib'
944 localedir='${datarootdir}/locale'
945 mandir='${datarootdir}/man'
946
947 ac_prev=
948 ac_dashdash=
949 for ac_option
950 do
951   # If the previous option needs an argument, assign it.
952   if test -n "$ac_prev"; then
953     eval $ac_prev=\$ac_option
954     ac_prev=
955     continue
956   fi
957
958   case $ac_option in
959   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
960   *=)   ac_optarg= ;;
961   *)    ac_optarg=yes ;;
962   esac
963
964   # Accept the important Cygnus configure options, so we can diagnose typos.
965
966   case $ac_dashdash$ac_option in
967   --)
968     ac_dashdash=yes ;;
969
970   -bindir | --bindir | --bindi | --bind | --bin | --bi)
971     ac_prev=bindir ;;
972   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
973     bindir=$ac_optarg ;;
974
975   -build | --build | --buil | --bui | --bu)
976     ac_prev=build_alias ;;
977   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
978     build_alias=$ac_optarg ;;
979
980   -cache-file | --cache-file | --cache-fil | --cache-fi \
981   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
982     ac_prev=cache_file ;;
983   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
984   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
985     cache_file=$ac_optarg ;;
986
987   --config-cache | -C)
988     cache_file=config.cache ;;
989
990   -datadir | --datadir | --datadi | --datad)
991     ac_prev=datadir ;;
992   -datadir=* | --datadir=* | --datadi=* | --datad=*)
993     datadir=$ac_optarg ;;
994
995   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
996   | --dataroo | --dataro | --datar)
997     ac_prev=datarootdir ;;
998   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
999   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1000     datarootdir=$ac_optarg ;;
1001
1002   -disable-* | --disable-*)
1003     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004     # Reject names that are not valid shell variable names.
1005     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006       as_fn_error $? "invalid feature name: $ac_useropt"
1007     ac_useropt_orig=$ac_useropt
1008     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009     case $ac_user_opts in
1010       *"
1011 "enable_$ac_useropt"
1012 "*) ;;
1013       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1014          ac_unrecognized_sep=', ';;
1015     esac
1016     eval enable_$ac_useropt=no ;;
1017
1018   -docdir | --docdir | --docdi | --doc | --do)
1019     ac_prev=docdir ;;
1020   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1021     docdir=$ac_optarg ;;
1022
1023   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1024     ac_prev=dvidir ;;
1025   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1026     dvidir=$ac_optarg ;;
1027
1028   -enable-* | --enable-*)
1029     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1030     # Reject names that are not valid shell variable names.
1031     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032       as_fn_error $? "invalid feature name: $ac_useropt"
1033     ac_useropt_orig=$ac_useropt
1034     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035     case $ac_user_opts in
1036       *"
1037 "enable_$ac_useropt"
1038 "*) ;;
1039       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1040          ac_unrecognized_sep=', ';;
1041     esac
1042     eval enable_$ac_useropt=\$ac_optarg ;;
1043
1044   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1045   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1046   | --exec | --exe | --ex)
1047     ac_prev=exec_prefix ;;
1048   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1049   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1050   | --exec=* | --exe=* | --ex=*)
1051     exec_prefix=$ac_optarg ;;
1052
1053   -gas | --gas | --ga | --g)
1054     # Obsolete; use --with-gas.
1055     with_gas=yes ;;
1056
1057   -help | --help | --hel | --he | -h)
1058     ac_init_help=long ;;
1059   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1060     ac_init_help=recursive ;;
1061   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1062     ac_init_help=short ;;
1063
1064   -host | --host | --hos | --ho)
1065     ac_prev=host_alias ;;
1066   -host=* | --host=* | --hos=* | --ho=*)
1067     host_alias=$ac_optarg ;;
1068
1069   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1070     ac_prev=htmldir ;;
1071   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1072   | --ht=*)
1073     htmldir=$ac_optarg ;;
1074
1075   -includedir | --includedir | --includedi | --included | --include \
1076   | --includ | --inclu | --incl | --inc)
1077     ac_prev=includedir ;;
1078   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1079   | --includ=* | --inclu=* | --incl=* | --inc=*)
1080     includedir=$ac_optarg ;;
1081
1082   -infodir | --infodir | --infodi | --infod | --info | --inf)
1083     ac_prev=infodir ;;
1084   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1085     infodir=$ac_optarg ;;
1086
1087   -libdir | --libdir | --libdi | --libd)
1088     ac_prev=libdir ;;
1089   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1090     libdir=$ac_optarg ;;
1091
1092   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1093   | --libexe | --libex | --libe)
1094     ac_prev=libexecdir ;;
1095   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1096   | --libexe=* | --libex=* | --libe=*)
1097     libexecdir=$ac_optarg ;;
1098
1099   -localedir | --localedir | --localedi | --localed | --locale)
1100     ac_prev=localedir ;;
1101   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1102     localedir=$ac_optarg ;;
1103
1104   -localstatedir | --localstatedir | --localstatedi | --localstated \
1105   | --localstate | --localstat | --localsta | --localst | --locals)
1106     ac_prev=localstatedir ;;
1107   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1108   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1109     localstatedir=$ac_optarg ;;
1110
1111   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1112     ac_prev=mandir ;;
1113   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1114     mandir=$ac_optarg ;;
1115
1116   -nfp | --nfp | --nf)
1117     # Obsolete; use --without-fp.
1118     with_fp=no ;;
1119
1120   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1121   | --no-cr | --no-c | -n)
1122     no_create=yes ;;
1123
1124   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1125   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1126     no_recursion=yes ;;
1127
1128   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1129   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1130   | --oldin | --oldi | --old | --ol | --o)
1131     ac_prev=oldincludedir ;;
1132   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1133   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1134   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1135     oldincludedir=$ac_optarg ;;
1136
1137   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1138     ac_prev=prefix ;;
1139   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1140     prefix=$ac_optarg ;;
1141
1142   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1143   | --program-pre | --program-pr | --program-p)
1144     ac_prev=program_prefix ;;
1145   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1146   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1147     program_prefix=$ac_optarg ;;
1148
1149   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1150   | --program-suf | --program-su | --program-s)
1151     ac_prev=program_suffix ;;
1152   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1153   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1154     program_suffix=$ac_optarg ;;
1155
1156   -program-transform-name | --program-transform-name \
1157   | --program-transform-nam | --program-transform-na \
1158   | --program-transform-n | --program-transform- \
1159   | --program-transform | --program-transfor \
1160   | --program-transfo | --program-transf \
1161   | --program-trans | --program-tran \
1162   | --progr-tra | --program-tr | --program-t)
1163     ac_prev=program_transform_name ;;
1164   -program-transform-name=* | --program-transform-name=* \
1165   | --program-transform-nam=* | --program-transform-na=* \
1166   | --program-transform-n=* | --program-transform-=* \
1167   | --program-transform=* | --program-transfor=* \
1168   | --program-transfo=* | --program-transf=* \
1169   | --program-trans=* | --program-tran=* \
1170   | --progr-tra=* | --program-tr=* | --program-t=*)
1171     program_transform_name=$ac_optarg ;;
1172
1173   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1174     ac_prev=pdfdir ;;
1175   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1176     pdfdir=$ac_optarg ;;
1177
1178   -psdir | --psdir | --psdi | --psd | --ps)
1179     ac_prev=psdir ;;
1180   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1181     psdir=$ac_optarg ;;
1182
1183   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1184   | -silent | --silent | --silen | --sile | --sil)
1185     silent=yes ;;
1186
1187   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1188     ac_prev=sbindir ;;
1189   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1190   | --sbi=* | --sb=*)
1191     sbindir=$ac_optarg ;;
1192
1193   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1194   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1195   | --sharedst | --shareds | --shared | --share | --shar \
1196   | --sha | --sh)
1197     ac_prev=sharedstatedir ;;
1198   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1199   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1200   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1201   | --sha=* | --sh=*)
1202     sharedstatedir=$ac_optarg ;;
1203
1204   -site | --site | --sit)
1205     ac_prev=site ;;
1206   -site=* | --site=* | --sit=*)
1207     site=$ac_optarg ;;
1208
1209   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1210     ac_prev=srcdir ;;
1211   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1212     srcdir=$ac_optarg ;;
1213
1214   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1215   | --syscon | --sysco | --sysc | --sys | --sy)
1216     ac_prev=sysconfdir ;;
1217   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1218   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1219     sysconfdir=$ac_optarg ;;
1220
1221   -target | --target | --targe | --targ | --tar | --ta | --t)
1222     ac_prev=target_alias ;;
1223   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1224     target_alias=$ac_optarg ;;
1225
1226   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1227     verbose=yes ;;
1228
1229   -version | --version | --versio | --versi | --vers | -V)
1230     ac_init_version=: ;;
1231
1232   -with-* | --with-*)
1233     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1234     # Reject names that are not valid shell variable names.
1235     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1236       as_fn_error $? "invalid package name: $ac_useropt"
1237     ac_useropt_orig=$ac_useropt
1238     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239     case $ac_user_opts in
1240       *"
1241 "with_$ac_useropt"
1242 "*) ;;
1243       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1244          ac_unrecognized_sep=', ';;
1245     esac
1246     eval with_$ac_useropt=\$ac_optarg ;;
1247
1248   -without-* | --without-*)
1249     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1250     # Reject names that are not valid shell variable names.
1251     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252       as_fn_error $? "invalid package name: $ac_useropt"
1253     ac_useropt_orig=$ac_useropt
1254     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255     case $ac_user_opts in
1256       *"
1257 "with_$ac_useropt"
1258 "*) ;;
1259       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1260          ac_unrecognized_sep=', ';;
1261     esac
1262     eval with_$ac_useropt=no ;;
1263
1264   --x)
1265     # Obsolete; use --with-x.
1266     with_x=yes ;;
1267
1268   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1269   | --x-incl | --x-inc | --x-in | --x-i)
1270     ac_prev=x_includes ;;
1271   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1272   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1273     x_includes=$ac_optarg ;;
1274
1275   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1276   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1277     ac_prev=x_libraries ;;
1278   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1279   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1280     x_libraries=$ac_optarg ;;
1281
1282   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1283 Try \`$0 --help' for more information"
1284     ;;
1285
1286   *=*)
1287     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1288     # Reject names that are not valid shell variable names.
1289     case $ac_envvar in #(
1290       '' | [0-9]* | *[!_$as_cr_alnum]* )
1291       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1292     esac
1293     eval $ac_envvar=\$ac_optarg
1294     export $ac_envvar ;;
1295
1296   *)
1297     # FIXME: should be removed in autoconf 3.0.
1298     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1299     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1300       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1301     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1302     ;;
1303
1304   esac
1305 done
1306
1307 if test -n "$ac_prev"; then
1308   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1309   as_fn_error $? "missing argument to $ac_option"
1310 fi
1311
1312 if test -n "$ac_unrecognized_opts"; then
1313   case $enable_option_checking in
1314     no) ;;
1315     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1316     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1317   esac
1318 fi
1319
1320 # Check all directory arguments for consistency.
1321 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1322                 datadir sysconfdir sharedstatedir localstatedir includedir \
1323                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1324                 libdir localedir mandir
1325 do
1326   eval ac_val=\$$ac_var
1327   # Remove trailing slashes.
1328   case $ac_val in
1329     */ )
1330       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1331       eval $ac_var=\$ac_val;;
1332   esac
1333   # Be sure to have absolute directory names.
1334   case $ac_val in
1335     [\\/$]* | ?:[\\/]* )  continue;;
1336     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1337   esac
1338   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1339 done
1340
1341 # There might be people who depend on the old broken behavior: `$host'
1342 # used to hold the argument of --host etc.
1343 # FIXME: To remove some day.
1344 build=$build_alias
1345 host=$host_alias
1346 target=$target_alias
1347
1348 # FIXME: To remove some day.
1349 if test "x$host_alias" != x; then
1350   if test "x$build_alias" = x; then
1351     cross_compiling=maybe
1352     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1353     If a cross compiler is detected then cross compile mode will be used" >&2
1354   elif test "x$build_alias" != "x$host_alias"; then
1355     cross_compiling=yes
1356   fi
1357 fi
1358
1359 ac_tool_prefix=
1360 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1361
1362 test "$silent" = yes && exec 6>/dev/null
1363
1364
1365 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1366 ac_ls_di=`ls -di .` &&
1367 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1368   as_fn_error $? "working directory cannot be determined"
1369 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1370   as_fn_error $? "pwd does not report name of working directory"
1371
1372
1373 # Find the source files, if location was not specified.
1374 if test -z "$srcdir"; then
1375   ac_srcdir_defaulted=yes
1376   # Try the directory containing this script, then the parent directory.
1377   ac_confdir=`$as_dirname -- "$as_myself" ||
1378 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379          X"$as_myself" : 'X\(//\)[^/]' \| \
1380          X"$as_myself" : 'X\(//\)$' \| \
1381          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1382 $as_echo X"$as_myself" |
1383     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1384             s//\1/
1385             q
1386           }
1387           /^X\(\/\/\)[^/].*/{
1388             s//\1/
1389             q
1390           }
1391           /^X\(\/\/\)$/{
1392             s//\1/
1393             q
1394           }
1395           /^X\(\/\).*/{
1396             s//\1/
1397             q
1398           }
1399           s/.*/./; q'`
1400   srcdir=$ac_confdir
1401   if test ! -r "$srcdir/$ac_unique_file"; then
1402     srcdir=..
1403   fi
1404 else
1405   ac_srcdir_defaulted=no
1406 fi
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1408   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1409   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1410 fi
1411 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1412 ac_abs_confdir=`(
1413         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1414         pwd)`
1415 # When building in place, set srcdir=.
1416 if test "$ac_abs_confdir" = "$ac_pwd"; then
1417   srcdir=.
1418 fi
1419 # Remove unnecessary trailing slashes from srcdir.
1420 # Double slashes in file names in object file debugging info
1421 # mess up M-x gdb in Emacs.
1422 case $srcdir in
1423 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1424 esac
1425 for ac_var in $ac_precious_vars; do
1426   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1427   eval ac_env_${ac_var}_value=\$${ac_var}
1428   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1429   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1430 done
1431
1432 #
1433 # Report the --help message.
1434 #
1435 if test "$ac_init_help" = "long"; then
1436   # Omit some internal or obsolete options to make the list less imposing.
1437   # This message is too long to be a string in the A/UX 3.1 sh.
1438   cat <<_ACEOF
1439 \`configure' configures shibboleth 2.4 to adapt to many kinds of systems.
1440
1441 Usage: $0 [OPTION]... [VAR=VALUE]...
1442
1443 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1444 VAR=VALUE.  See below for descriptions of some of the useful variables.
1445
1446 Defaults for the options are specified in brackets.
1447
1448 Configuration:
1449   -h, --help              display this help and exit
1450       --help=short        display options specific to this package
1451       --help=recursive    display the short help of all the included packages
1452   -V, --version           display version information and exit
1453   -q, --quiet, --silent   do not print \`checking ...' messages
1454       --cache-file=FILE   cache test results in FILE [disabled]
1455   -C, --config-cache      alias for \`--cache-file=config.cache'
1456   -n, --no-create         do not create output files
1457       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1458
1459 Installation directories:
1460   --prefix=PREFIX         install architecture-independent files in PREFIX
1461                           [$ac_default_prefix]
1462   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1463                           [PREFIX]
1464
1465 By default, \`make install' will install all the files in
1466 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1467 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1468 for instance \`--prefix=\$HOME'.
1469
1470 For better control, use the options below.
1471
1472 Fine tuning of the installation directories:
1473   --bindir=DIR            user executables [EPREFIX/bin]
1474   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1475   --libexecdir=DIR        program executables [EPREFIX/libexec]
1476   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1477   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1478   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1479   --libdir=DIR            object code libraries [EPREFIX/lib]
1480   --includedir=DIR        C header files [PREFIX/include]
1481   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1482   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1483   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1484   --infodir=DIR           info documentation [DATAROOTDIR/info]
1485   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1486   --mandir=DIR            man documentation [DATAROOTDIR/man]
1487   --docdir=DIR            documentation root [DATAROOTDIR/doc/shibboleth]
1488   --htmldir=DIR           html documentation [DOCDIR]
1489   --dvidir=DIR            dvi documentation [DOCDIR]
1490   --pdfdir=DIR            pdf documentation [DOCDIR]
1491   --psdir=DIR             ps documentation [DOCDIR]
1492 _ACEOF
1493
1494   cat <<\_ACEOF
1495
1496 Program names:
1497   --program-prefix=PREFIX            prepend PREFIX to installed program names
1498   --program-suffix=SUFFIX            append SUFFIX to installed program names
1499   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1500
1501 System types:
1502   --build=BUILD     configure for building on BUILD [guessed]
1503   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1504 _ACEOF
1505 fi
1506
1507 if test -n "$ac_init_help"; then
1508   case $ac_init_help in
1509      short | recursive ) echo "Configuration of shibboleth 2.4:";;
1510    esac
1511   cat <<\_ACEOF
1512
1513 Optional Features:
1514   --disable-option-checking  ignore unrecognized --enable/--with options
1515   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1516   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1517   --enable-static[=PKGS]  build static libraries [default=no]
1518   --enable-shared[=PKGS]  build shared libraries [default=yes]
1519   --enable-fast-install[=PKGS]
1520                           optimize for fast installation [default=yes]
1521   --disable-dependency-tracking  speeds up one-time build
1522   --enable-dependency-tracking   do not reject slow dependency extractors
1523   --disable-libtool-lock  avoid locking (might break parallel builds)
1524   --disable-doxygen-doc   don't generate any doxygen documentation
1525   --disable-doxygen-dot   don't generate graphics for doxygen documentation
1526   --enable-doxygen-man    generate doxygen manual pages
1527   --enable-doxygen-rtf    generate doxygen RTF documentation
1528   --enable-doxygen-xml    generate doxygen XML documentation
1529   --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1530   --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1531                           file
1532   --disable-doxygen-html  don't generate doxygen plain HTML documentation
1533   --enable-doxygen-ps     generate doxygen PostScript documentation
1534   --enable-doxygen-pdf    generate doxygen PDF documentation
1535   --enable-debug          Have GCC compile with symbols (Default = no)
1536   --disable-adfs          don't build the ADFS module
1537   --enable-apache-13      enable the Apache 1.3 module
1538   --enable-apache-20      enable the Apache 2.0 module
1539   --enable-apache-22      enable the Apache 2.2 module
1540   --disable-odbc          disable the ODBC Storage Service
1541
1542 Optional Packages:
1543   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1544   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1545   --with-pic              try to use only PIC/non-PIC objects [default=use
1546                           both]
1547   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1548   --with-sysroot=DIR Search for dependent libraries within DIR
1549                         (or the compiler's sysroot if not specified).
1550   --with-openssl=PATH     where openssl is installed
1551   --with-log4shib=PATH    where log4shib-config is installed
1552   --with-log4cpp=PATH     where log4cpp-config is installed
1553   --with-xerces=PATH      where xerces-c is installed
1554   --with-xmltooling=PATH  where xmltooling is installed
1555   --with-xmlsec=PATH      where xmlsec is installed
1556   --with-saml=PATH        where saml is installed
1557   --with-nsapi=DIR        Build NSAPI module for Netscape/iPlanet/SunONE
1558   --with-fastcgi=DIR      Build FastCGI support
1559   --with-memcached=DIR    Build Memcached support
1560   --with-apxs=FILE        Specifies where to find the Apache 1.3 apxs script.
1561   --with-apxs2=FILE       Specifies where to find the Apache 2.0 apxs script.
1562   --with-apr=PATH         where apr-config is installed
1563   --with-apu=PATH         where apu-config is installed
1564   --with-apxs22=FILE      Specifies where to find the Apache 2.2 apxs script.
1565   --with-apr1=PATH        where apr-1-config is installed
1566   --with-apu1=PATH        where apu-1-config is installed
1567   --with-odbc=PATH        directory where odbc is installed
1568   --with-gssapi-includes=DIR
1569                           Specify location of GSSAPI header
1570   --with-gssapi-libs=DIR  Specify location of GSSAPI libs
1571   --with-gssapi=DIR       Where to look for GSSAPI
1572
1573 Some influential environment variables:
1574   CC          C compiler command
1575   CFLAGS      C compiler flags
1576   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1577               nonstandard directory <lib dir>
1578   LIBS        libraries to pass to the linker, e.g. -l<library>
1579   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1580               you have headers in a nonstandard directory <include dir>
1581   CPP         C preprocessor
1582   DOXYGEN_PAPER_SIZE
1583               a4wide (default), a4, letter, legal or executive
1584   CXX         C++ compiler command
1585   CXXFLAGS    C++ compiler flags
1586   CXXCPP      C++ preprocessor
1587
1588 Use these variables to override the choices made by `configure' or to help
1589 it to find libraries and programs with nonstandard names/locations.
1590
1591 Report bugs to <https://bugs.internet2.edu/>.
1592 _ACEOF
1593 ac_status=$?
1594 fi
1595
1596 if test "$ac_init_help" = "recursive"; then
1597   # If there are subdirs, report their specific --help.
1598   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1599     test -d "$ac_dir" ||
1600       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1601       continue
1602     ac_builddir=.
1603
1604 case "$ac_dir" in
1605 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 *)
1607   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1608   # A ".." for each directory in $ac_dir_suffix.
1609   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1610   case $ac_top_builddir_sub in
1611   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1613   esac ;;
1614 esac
1615 ac_abs_top_builddir=$ac_pwd
1616 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1617 # for backward compatibility:
1618 ac_top_builddir=$ac_top_build_prefix
1619
1620 case $srcdir in
1621   .)  # We are building in place.
1622     ac_srcdir=.
1623     ac_top_srcdir=$ac_top_builddir_sub
1624     ac_abs_top_srcdir=$ac_pwd ;;
1625   [\\/]* | ?:[\\/]* )  # Absolute name.
1626     ac_srcdir=$srcdir$ac_dir_suffix;
1627     ac_top_srcdir=$srcdir
1628     ac_abs_top_srcdir=$srcdir ;;
1629   *) # Relative name.
1630     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1631     ac_top_srcdir=$ac_top_build_prefix$srcdir
1632     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1633 esac
1634 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1635
1636     cd "$ac_dir" || { ac_status=$?; continue; }
1637     # Check for guested configure.
1638     if test -f "$ac_srcdir/configure.gnu"; then
1639       echo &&
1640       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1641     elif test -f "$ac_srcdir/configure"; then
1642       echo &&
1643       $SHELL "$ac_srcdir/configure" --help=recursive
1644     else
1645       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1646     fi || ac_status=$?
1647     cd "$ac_pwd" || { ac_status=$?; break; }
1648   done
1649 fi
1650
1651 test -n "$ac_init_help" && exit $ac_status
1652 if $ac_init_version; then
1653   cat <<\_ACEOF
1654 shibboleth configure 2.4
1655 generated by GNU Autoconf 2.68
1656
1657 Copyright (C) 2010 Free Software Foundation, Inc.
1658 This configure script is free software; the Free Software Foundation
1659 gives unlimited permission to copy, distribute and modify it.
1660 _ACEOF
1661   exit
1662 fi
1663
1664 ## ------------------------ ##
1665 ## Autoconf initialization. ##
1666 ## ------------------------ ##
1667
1668 # ac_fn_c_try_compile LINENO
1669 # --------------------------
1670 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_c_try_compile ()
1672 {
1673   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674   rm -f conftest.$ac_objext
1675   if { { ac_try="$ac_compile"
1676 case "(($ac_try" in
1677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678   *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682   (eval "$ac_compile") 2>conftest.err
1683   ac_status=$?
1684   if test -s conftest.err; then
1685     grep -v '^ *+' conftest.err >conftest.er1
1686     cat conftest.er1 >&5
1687     mv -f conftest.er1 conftest.err
1688   fi
1689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690   test $ac_status = 0; } && {
1691          test -z "$ac_c_werror_flag" ||
1692          test ! -s conftest.err
1693        } && test -s conftest.$ac_objext; then :
1694   ac_retval=0
1695 else
1696   $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1698
1699         ac_retval=1
1700 fi
1701   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702   as_fn_set_status $ac_retval
1703
1704 } # ac_fn_c_try_compile
1705
1706 # ac_fn_c_try_link LINENO
1707 # -----------------------
1708 # Try to link conftest.$ac_ext, and return whether this succeeded.
1709 ac_fn_c_try_link ()
1710 {
1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712   rm -f conftest.$ac_objext conftest$ac_exeext
1713   if { { ac_try="$ac_link"
1714 case "(($ac_try" in
1715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716   *) ac_try_echo=$ac_try;;
1717 esac
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720   (eval "$ac_link") 2>conftest.err
1721   ac_status=$?
1722   if test -s conftest.err; then
1723     grep -v '^ *+' conftest.err >conftest.er1
1724     cat conftest.er1 >&5
1725     mv -f conftest.er1 conftest.err
1726   fi
1727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728   test $ac_status = 0; } && {
1729          test -z "$ac_c_werror_flag" ||
1730          test ! -s conftest.err
1731        } && test -s conftest$ac_exeext && {
1732          test "$cross_compiling" = yes ||
1733          $as_test_x conftest$ac_exeext
1734        }; then :
1735   ac_retval=0
1736 else
1737   $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1739
1740         ac_retval=1
1741 fi
1742   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1743   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1744   # interfere with the next link command; also delete a directory that is
1745   # left behind by Apple's compiler.  We do this before executing the actions.
1746   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748   as_fn_set_status $ac_retval
1749
1750 } # ac_fn_c_try_link
1751
1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists and can be compiled using the include files in
1755 # INCLUDES, setting the cache variable VAR accordingly.
1756 ac_fn_c_check_header_compile ()
1757 {
1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if eval \${$3+:} false; then :
1762   $as_echo_n "(cached) " >&6
1763 else
1764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h.  */
1766 $4
1767 #include <$2>
1768 _ACEOF
1769 if ac_fn_c_try_compile "$LINENO"; then :
1770   eval "$3=yes"
1771 else
1772   eval "$3=no"
1773 fi
1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1775 fi
1776 eval ac_res=\$$3
1777                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780
1781 } # ac_fn_c_check_header_compile
1782
1783 # ac_fn_c_try_cpp LINENO
1784 # ----------------------
1785 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_c_try_cpp ()
1787 {
1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789   if { { ac_try="$ac_cpp conftest.$ac_ext"
1790 case "(($ac_try" in
1791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792   *) ac_try_echo=$ac_try;;
1793 esac
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1797   ac_status=$?
1798   if test -s conftest.err; then
1799     grep -v '^ *+' conftest.err >conftest.er1
1800     cat conftest.er1 >&5
1801     mv -f conftest.er1 conftest.err
1802   fi
1803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804   test $ac_status = 0; } > conftest.i && {
1805          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1806          test ! -s conftest.err
1807        }; then :
1808   ac_retval=0
1809 else
1810   $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1812
1813     ac_retval=1
1814 fi
1815   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816   as_fn_set_status $ac_retval
1817
1818 } # ac_fn_c_try_cpp
1819
1820 # ac_fn_c_try_run LINENO
1821 # ----------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1823 # that executables *can* be run.
1824 ac_fn_c_try_run ()
1825 {
1826   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827   if { { ac_try="$ac_link"
1828 case "(($ac_try" in
1829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830   *) ac_try_echo=$ac_try;;
1831 esac
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834   (eval "$ac_link") 2>&5
1835   ac_status=$?
1836   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1838   { { case "(($ac_try" in
1839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840   *) ac_try_echo=$ac_try;;
1841 esac
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844   (eval "$ac_try") 2>&5
1845   ac_status=$?
1846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847   test $ac_status = 0; }; }; then :
1848   ac_retval=0
1849 else
1850   $as_echo "$as_me: program exited with status $ac_status" >&5
1851        $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1853
1854        ac_retval=$ac_status
1855 fi
1856   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858   as_fn_set_status $ac_retval
1859
1860 } # ac_fn_c_try_run
1861
1862 # ac_fn_c_check_func LINENO FUNC VAR
1863 # ----------------------------------
1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1865 ac_fn_c_check_func ()
1866 {
1867   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \${$3+:} false; then :
1871   $as_echo_n "(cached) " >&6
1872 else
1873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h.  */
1875 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1877 #define $2 innocuous_$2
1878
1879 /* System header to define __stub macros and hopefully few prototypes,
1880     which can conflict with char $2 (); below.
1881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1882     <limits.h> exists even on freestanding compilers.  */
1883
1884 #ifdef __STDC__
1885 # include <limits.h>
1886 #else
1887 # include <assert.h>
1888 #endif
1889
1890 #undef $2
1891
1892 /* Override any GCC internal prototype to avoid an error.
1893    Use char because int might match the return type of a GCC
1894    builtin and then its argument prototype would still apply.  */
1895 #ifdef __cplusplus
1896 extern "C"
1897 #endif
1898 char $2 ();
1899 /* The GNU C library defines this for functions which it implements
1900     to always fail with ENOSYS.  Some functions are actually named
1901     something starting with __ and the normal name is an alias.  */
1902 #if defined __stub_$2 || defined __stub___$2
1903 choke me
1904 #endif
1905
1906 int
1907 main ()
1908 {
1909 return $2 ();
1910   ;
1911   return 0;
1912 }
1913 _ACEOF
1914 if ac_fn_c_try_link "$LINENO"; then :
1915   eval "$3=yes"
1916 else
1917   eval "$3=no"
1918 fi
1919 rm -f core conftest.err conftest.$ac_objext \
1920     conftest$ac_exeext conftest.$ac_ext
1921 fi
1922 eval ac_res=\$$3
1923                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1925   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926
1927 } # ac_fn_c_check_func
1928
1929 # ac_fn_cxx_try_compile LINENO
1930 # ----------------------------
1931 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1932 ac_fn_cxx_try_compile ()
1933 {
1934   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935   rm -f conftest.$ac_objext
1936   if { { ac_try="$ac_compile"
1937 case "(($ac_try" in
1938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939   *) ac_try_echo=$ac_try;;
1940 esac
1941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942 $as_echo "$ac_try_echo"; } >&5
1943   (eval "$ac_compile") 2>conftest.err
1944   ac_status=$?
1945   if test -s conftest.err; then
1946     grep -v '^ *+' conftest.err >conftest.er1
1947     cat conftest.er1 >&5
1948     mv -f conftest.er1 conftest.err
1949   fi
1950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951   test $ac_status = 0; } && {
1952          test -z "$ac_cxx_werror_flag" ||
1953          test ! -s conftest.err
1954        } && test -s conftest.$ac_objext; then :
1955   ac_retval=0
1956 else
1957   $as_echo "$as_me: failed program was:" >&5
1958 sed 's/^/| /' conftest.$ac_ext >&5
1959
1960         ac_retval=1
1961 fi
1962   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963   as_fn_set_status $ac_retval
1964
1965 } # ac_fn_cxx_try_compile
1966
1967 # ac_fn_cxx_try_cpp LINENO
1968 # ------------------------
1969 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1970 ac_fn_cxx_try_cpp ()
1971 {
1972   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973   if { { ac_try="$ac_cpp conftest.$ac_ext"
1974 case "(($ac_try" in
1975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976   *) ac_try_echo=$ac_try;;
1977 esac
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1981   ac_status=$?
1982   if test -s conftest.err; then
1983     grep -v '^ *+' conftest.err >conftest.er1
1984     cat conftest.er1 >&5
1985     mv -f conftest.er1 conftest.err
1986   fi
1987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1988   test $ac_status = 0; } > conftest.i && {
1989          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1990          test ! -s conftest.err
1991        }; then :
1992   ac_retval=0
1993 else
1994   $as_echo "$as_me: failed program was:" >&5
1995 sed 's/^/| /' conftest.$ac_ext >&5
1996
1997     ac_retval=1
1998 fi
1999   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000   as_fn_set_status $ac_retval
2001
2002 } # ac_fn_cxx_try_cpp
2003
2004 # ac_fn_cxx_try_link LINENO
2005 # -------------------------
2006 # Try to link conftest.$ac_ext, and return whether this succeeded.
2007 ac_fn_cxx_try_link ()
2008 {
2009   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010   rm -f conftest.$ac_objext conftest$ac_exeext
2011   if { { ac_try="$ac_link"
2012 case "(($ac_try" in
2013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2014   *) ac_try_echo=$ac_try;;
2015 esac
2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2017 $as_echo "$ac_try_echo"; } >&5
2018   (eval "$ac_link") 2>conftest.err
2019   ac_status=$?
2020   if test -s conftest.err; then
2021     grep -v '^ *+' conftest.err >conftest.er1
2022     cat conftest.er1 >&5
2023     mv -f conftest.er1 conftest.err
2024   fi
2025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2026   test $ac_status = 0; } && {
2027          test -z "$ac_cxx_werror_flag" ||
2028          test ! -s conftest.err
2029        } && test -s conftest$ac_exeext && {
2030          test "$cross_compiling" = yes ||
2031          $as_test_x conftest$ac_exeext
2032        }; then :
2033   ac_retval=0
2034 else
2035   $as_echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.$ac_ext >&5
2037
2038         ac_retval=1
2039 fi
2040   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2041   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2042   # interfere with the next link command; also delete a directory that is
2043   # left behind by Apple's compiler.  We do this before executing the actions.
2044   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2045   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046   as_fn_set_status $ac_retval
2047
2048 } # ac_fn_cxx_try_link
2049
2050 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2051 # -------------------------------------------
2052 # Tests whether TYPE exists after having included INCLUDES, setting cache
2053 # variable VAR accordingly.
2054 ac_fn_c_check_type ()
2055 {
2056   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058 $as_echo_n "checking for $2... " >&6; }
2059 if eval \${$3+:} false; then :
2060   $as_echo_n "(cached) " >&6
2061 else
2062   eval "$3=no"
2063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h.  */
2065 $4
2066 int
2067 main ()
2068 {
2069 if (sizeof ($2))
2070          return 0;
2071   ;
2072   return 0;
2073 }
2074 _ACEOF
2075 if ac_fn_c_try_compile "$LINENO"; then :
2076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h.  */
2078 $4
2079 int
2080 main ()
2081 {
2082 if (sizeof (($2)))
2083             return 0;
2084   ;
2085   return 0;
2086 }
2087 _ACEOF
2088 if ac_fn_c_try_compile "$LINENO"; then :
2089
2090 else
2091   eval "$3=yes"
2092 fi
2093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2094 fi
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096 fi
2097 eval ac_res=\$$3
2098                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101
2102 } # ac_fn_c_check_type
2103
2104 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2105 # ---------------------------------------------
2106 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2107 # accordingly.
2108 ac_fn_c_check_decl ()
2109 {
2110   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111   as_decl_name=`echo $2|sed 's/ *(.*//'`
2112   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2114 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2115 if eval \${$3+:} false; then :
2116   $as_echo_n "(cached) " >&6
2117 else
2118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h.  */
2120 $4
2121 int
2122 main ()
2123 {
2124 #ifndef $as_decl_name
2125 #ifdef __cplusplus
2126   (void) $as_decl_use;
2127 #else
2128   (void) $as_decl_name;
2129 #endif
2130 #endif
2131
2132   ;
2133   return 0;
2134 }
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137   eval "$3=yes"
2138 else
2139   eval "$3=no"
2140 fi
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2142 fi
2143 eval ac_res=\$$3
2144                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2145 $as_echo "$ac_res" >&6; }
2146   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2147
2148 } # ac_fn_c_check_decl
2149
2150 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2151 # -------------------------------------------------------
2152 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2153 # the include files in INCLUDES and setting the cache variable VAR
2154 # accordingly.
2155 ac_fn_c_check_header_mongrel ()
2156 {
2157   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2158   if eval \${$3+:} false; then :
2159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2160 $as_echo_n "checking for $2... " >&6; }
2161 if eval \${$3+:} false; then :
2162   $as_echo_n "(cached) " >&6
2163 fi
2164 eval ac_res=\$$3
2165                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2166 $as_echo "$ac_res" >&6; }
2167 else
2168   # Is the header compilable?
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2170 $as_echo_n "checking $2 usability... " >&6; }
2171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h.  */
2173 $4
2174 #include <$2>
2175 _ACEOF
2176 if ac_fn_c_try_compile "$LINENO"; then :
2177   ac_header_compiler=yes
2178 else
2179   ac_header_compiler=no
2180 fi
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2183 $as_echo "$ac_header_compiler" >&6; }
2184
2185 # Is the header present?
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2187 $as_echo_n "checking $2 presence... " >&6; }
2188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2189 /* end confdefs.h.  */
2190 #include <$2>
2191 _ACEOF
2192 if ac_fn_c_try_cpp "$LINENO"; then :
2193   ac_header_preproc=yes
2194 else
2195   ac_header_preproc=no
2196 fi
2197 rm -f conftest.err conftest.i conftest.$ac_ext
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2199 $as_echo "$ac_header_preproc" >&6; }
2200
2201 # So?  What about this header?
2202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2203   yes:no: )
2204     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2205 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2206     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2207 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2208     ;;
2209   no:yes:* )
2210     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2211 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2212     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2213 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2214     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2215 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2216     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2217 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2218     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2219 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2220 ( $as_echo "## ------------------------------------------ ##
2221 ## Report this to https://bugs.internet2.edu/ ##
2222 ## ------------------------------------------ ##"
2223      ) | sed "s/^/$as_me: WARNING:     /" >&2
2224     ;;
2225 esac
2226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2227 $as_echo_n "checking for $2... " >&6; }
2228 if eval \${$3+:} false; then :
2229   $as_echo_n "(cached) " >&6
2230 else
2231   eval "$3=\$ac_header_compiler"
2232 fi
2233 eval ac_res=\$$3
2234                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2235 $as_echo "$ac_res" >&6; }
2236 fi
2237   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2238
2239 } # ac_fn_c_check_header_mongrel
2240
2241 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2242 # ---------------------------------------------------------
2243 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2244 # the include files in INCLUDES and setting the cache variable VAR
2245 # accordingly.
2246 ac_fn_cxx_check_header_mongrel ()
2247 {
2248   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2249   if eval \${$3+:} false; then :
2250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2251 $as_echo_n "checking for $2... " >&6; }
2252 if eval \${$3+:} false; then :
2253   $as_echo_n "(cached) " >&6
2254 fi
2255 eval ac_res=\$$3
2256                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2257 $as_echo "$ac_res" >&6; }
2258 else
2259   # Is the header compilable?
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2261 $as_echo_n "checking $2 usability... " >&6; }
2262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2263 /* end confdefs.h.  */
2264 $4
2265 #include <$2>
2266 _ACEOF
2267 if ac_fn_cxx_try_compile "$LINENO"; then :
2268   ac_header_compiler=yes
2269 else
2270   ac_header_compiler=no
2271 fi
2272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2274 $as_echo "$ac_header_compiler" >&6; }
2275
2276 # Is the header present?
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2278 $as_echo_n "checking $2 presence... " >&6; }
2279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2280 /* end confdefs.h.  */
2281 #include <$2>
2282 _ACEOF
2283 if ac_fn_cxx_try_cpp "$LINENO"; then :
2284   ac_header_preproc=yes
2285 else
2286   ac_header_preproc=no
2287 fi
2288 rm -f conftest.err conftest.i conftest.$ac_ext
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2290 $as_echo "$ac_header_preproc" >&6; }
2291
2292 # So?  What about this header?
2293 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2294   yes:no: )
2295     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2296 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2297     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2298 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2299     ;;
2300   no:yes:* )
2301     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2302 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2303     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2304 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2305     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2306 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2307     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2308 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2309     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2310 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2311 ( $as_echo "## ------------------------------------------ ##
2312 ## Report this to https://bugs.internet2.edu/ ##
2313 ## ------------------------------------------ ##"
2314      ) | sed "s/^/$as_me: WARNING:     /" >&2
2315     ;;
2316 esac
2317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2318 $as_echo_n "checking for $2... " >&6; }
2319 if eval \${$3+:} false; then :
2320   $as_echo_n "(cached) " >&6
2321 else
2322   eval "$3=\$ac_header_compiler"
2323 fi
2324 eval ac_res=\$$3
2325                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2326 $as_echo "$ac_res" >&6; }
2327 fi
2328   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2329
2330 } # ac_fn_cxx_check_header_mongrel
2331
2332 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2333 # ---------------------------------------------------------
2334 # Tests whether HEADER exists and can be compiled using the include files in
2335 # INCLUDES, setting the cache variable VAR accordingly.
2336 ac_fn_cxx_check_header_compile ()
2337 {
2338   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2340 $as_echo_n "checking for $2... " >&6; }
2341 if eval \${$3+:} false; then :
2342   $as_echo_n "(cached) " >&6
2343 else
2344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2345 /* end confdefs.h.  */
2346 $4
2347 #include <$2>
2348 _ACEOF
2349 if ac_fn_cxx_try_compile "$LINENO"; then :
2350   eval "$3=yes"
2351 else
2352   eval "$3=no"
2353 fi
2354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 fi
2356 eval ac_res=\$$3
2357                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2358 $as_echo "$ac_res" >&6; }
2359   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360
2361 } # ac_fn_cxx_check_header_compile
2362 cat >config.log <<_ACEOF
2363 This file contains any messages produced by compilers while
2364 running configure, to aid debugging if configure makes a mistake.
2365
2366 It was created by shibboleth $as_me 2.4, which was
2367 generated by GNU Autoconf 2.68.  Invocation command line was
2368
2369   $ $0 $@
2370
2371 _ACEOF
2372 exec 5>>config.log
2373 {
2374 cat <<_ASUNAME
2375 ## --------- ##
2376 ## Platform. ##
2377 ## --------- ##
2378
2379 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2380 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2381 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2382 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2383 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2384
2385 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2386 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2387
2388 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2389 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2390 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2391 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2392 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2393 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2394 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2395
2396 _ASUNAME
2397
2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 for as_dir in $PATH
2400 do
2401   IFS=$as_save_IFS
2402   test -z "$as_dir" && as_dir=.
2403     $as_echo "PATH: $as_dir"
2404   done
2405 IFS=$as_save_IFS
2406
2407 } >&5
2408
2409 cat >&5 <<_ACEOF
2410
2411
2412 ## ----------- ##
2413 ## Core tests. ##
2414 ## ----------- ##
2415
2416 _ACEOF
2417
2418
2419 # Keep a trace of the command line.
2420 # Strip out --no-create and --no-recursion so they do not pile up.
2421 # Strip out --silent because we don't want to record it for future runs.
2422 # Also quote any args containing shell meta-characters.
2423 # Make two passes to allow for proper duplicate-argument suppression.
2424 ac_configure_args=
2425 ac_configure_args0=
2426 ac_configure_args1=
2427 ac_must_keep_next=false
2428 for ac_pass in 1 2
2429 do
2430   for ac_arg
2431   do
2432     case $ac_arg in
2433     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2434     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2435     | -silent | --silent | --silen | --sile | --sil)
2436       continue ;;
2437     *\'*)
2438       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2439     esac
2440     case $ac_pass in
2441     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2442     2)
2443       as_fn_append ac_configure_args1 " '$ac_arg'"
2444       if test $ac_must_keep_next = true; then
2445         ac_must_keep_next=false # Got value, back to normal.
2446       else
2447         case $ac_arg in
2448           *=* | --config-cache | -C | -disable-* | --disable-* \
2449           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2450           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2451           | -with-* | --with-* | -without-* | --without-* | --x)
2452             case "$ac_configure_args0 " in
2453               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2454             esac
2455             ;;
2456           -* ) ac_must_keep_next=true ;;
2457         esac
2458       fi
2459       as_fn_append ac_configure_args " '$ac_arg'"
2460       ;;
2461     esac
2462   done
2463 done
2464 { ac_configure_args0=; unset ac_configure_args0;}
2465 { ac_configure_args1=; unset ac_configure_args1;}
2466
2467 # When interrupted or exit'd, cleanup temporary files, and complete
2468 # config.log.  We remove comments because anyway the quotes in there
2469 # would cause problems or look ugly.
2470 # WARNING: Use '\'' to represent an apostrophe within the trap.
2471 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2472 trap 'exit_status=$?
2473   # Save into config.log some information that might help in debugging.
2474   {
2475     echo
2476
2477     $as_echo "## ---------------- ##
2478 ## Cache variables. ##
2479 ## ---------------- ##"
2480     echo
2481     # The following way of writing the cache mishandles newlines in values,
2482 (
2483   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2484     eval ac_val=\$$ac_var
2485     case $ac_val in #(
2486     *${as_nl}*)
2487       case $ac_var in #(
2488       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2489 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2490       esac
2491       case $ac_var in #(
2492       _ | IFS | as_nl) ;; #(
2493       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2494       *) { eval $ac_var=; unset $ac_var;} ;;
2495       esac ;;
2496     esac
2497   done
2498   (set) 2>&1 |
2499     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2500     *${as_nl}ac_space=\ *)
2501       sed -n \
2502         "s/'\''/'\''\\\\'\'''\''/g;
2503           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2504       ;; #(
2505     *)
2506       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2507       ;;
2508     esac |
2509     sort
2510 )
2511     echo
2512
2513     $as_echo "## ----------------- ##
2514 ## Output variables. ##
2515 ## ----------------- ##"
2516     echo
2517     for ac_var in $ac_subst_vars
2518     do
2519       eval ac_val=\$$ac_var
2520       case $ac_val in
2521       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2522       esac
2523       $as_echo "$ac_var='\''$ac_val'\''"
2524     done | sort
2525     echo
2526
2527     if test -n "$ac_subst_files"; then
2528       $as_echo "## ------------------- ##
2529 ## File substitutions. ##
2530 ## ------------------- ##"
2531       echo
2532       for ac_var in $ac_subst_files
2533       do
2534         eval ac_val=\$$ac_var
2535         case $ac_val in
2536         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2537         esac
2538         $as_echo "$ac_var='\''$ac_val'\''"
2539       done | sort
2540       echo
2541     fi
2542
2543     if test -s confdefs.h; then
2544       $as_echo "## ----------- ##
2545 ## confdefs.h. ##
2546 ## ----------- ##"
2547       echo
2548       cat confdefs.h
2549       echo
2550     fi
2551     test "$ac_signal" != 0 &&
2552       $as_echo "$as_me: caught signal $ac_signal"
2553     $as_echo "$as_me: exit $exit_status"
2554   } >&5
2555   rm -f core *.core core.conftest.* &&
2556     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2557     exit $exit_status
2558 ' 0
2559 for ac_signal in 1 2 13 15; do
2560   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2561 done
2562 ac_signal=0
2563
2564 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2565 rm -f -r conftest* confdefs.h
2566
2567 $as_echo "/* confdefs.h */" > confdefs.h
2568
2569 # Predefined preprocessor variables.
2570
2571 cat >>confdefs.h <<_ACEOF
2572 #define PACKAGE_NAME "$PACKAGE_NAME"
2573 _ACEOF
2574
2575 cat >>confdefs.h <<_ACEOF
2576 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2577 _ACEOF
2578
2579 cat >>confdefs.h <<_ACEOF
2580 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2581 _ACEOF
2582
2583 cat >>confdefs.h <<_ACEOF
2584 #define PACKAGE_STRING "$PACKAGE_STRING"
2585 _ACEOF
2586
2587 cat >>confdefs.h <<_ACEOF
2588 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2589 _ACEOF
2590
2591 cat >>confdefs.h <<_ACEOF
2592 #define PACKAGE_URL "$PACKAGE_URL"
2593 _ACEOF
2594
2595
2596 # Let the site file select an alternate cache file if it wants to.
2597 # Prefer an explicitly selected file to automatically selected ones.
2598 ac_site_file1=NONE
2599 ac_site_file2=NONE
2600 if test -n "$CONFIG_SITE"; then
2601   # We do not want a PATH search for config.site.
2602   case $CONFIG_SITE in #((
2603     -*)  ac_site_file1=./$CONFIG_SITE;;
2604     */*) ac_site_file1=$CONFIG_SITE;;
2605     *)   ac_site_file1=./$CONFIG_SITE;;
2606   esac
2607 elif test "x$prefix" != xNONE; then
2608   ac_site_file1=$prefix/share/config.site
2609   ac_site_file2=$prefix/etc/config.site
2610 else
2611   ac_site_file1=$ac_default_prefix/share/config.site
2612   ac_site_file2=$ac_default_prefix/etc/config.site
2613 fi
2614 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2615 do
2616   test "x$ac_site_file" = xNONE && continue
2617   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2618     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2619 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2620     sed 's/^/| /' "$ac_site_file" >&5
2621     . "$ac_site_file" \
2622       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2624 as_fn_error $? "failed to load site script $ac_site_file
2625 See \`config.log' for more details" "$LINENO" 5; }
2626   fi
2627 done
2628
2629 if test -r "$cache_file"; then
2630   # Some versions of bash will fail to source /dev/null (special files
2631   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2632   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2633     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2634 $as_echo "$as_me: loading cache $cache_file" >&6;}
2635     case $cache_file in
2636       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2637       *)                      . "./$cache_file";;
2638     esac
2639   fi
2640 else
2641   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2642 $as_echo "$as_me: creating cache $cache_file" >&6;}
2643   >$cache_file
2644 fi
2645
2646 # Check that the precious variables saved in the cache have kept the same
2647 # value.
2648 ac_cache_corrupted=false
2649 for ac_var in $ac_precious_vars; do
2650   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2651   eval ac_new_set=\$ac_env_${ac_var}_set
2652   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2653   eval ac_new_val=\$ac_env_${ac_var}_value
2654   case $ac_old_set,$ac_new_set in
2655     set,)
2656       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2657 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2658       ac_cache_corrupted=: ;;
2659     ,set)
2660       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2661 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2662       ac_cache_corrupted=: ;;
2663     ,);;
2664     *)
2665       if test "x$ac_old_val" != "x$ac_new_val"; then
2666         # differences in whitespace do not lead to failure.
2667         ac_old_val_w=`echo x $ac_old_val`
2668         ac_new_val_w=`echo x $ac_new_val`
2669         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2670           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2671 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2672           ac_cache_corrupted=:
2673         else
2674           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2675 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2676           eval $ac_var=\$ac_old_val
2677         fi
2678         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2679 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2680         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2681 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2682       fi;;
2683   esac
2684   # Pass precious variables to config.status.
2685   if test "$ac_new_set" = set; then
2686     case $ac_new_val in
2687     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2688     *) ac_arg=$ac_var=$ac_new_val ;;
2689     esac
2690     case " $ac_configure_args " in
2691       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2692       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2693     esac
2694   fi
2695 done
2696 if $ac_cache_corrupted; then
2697   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2700 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2701   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2702 fi
2703 ## -------------------- ##
2704 ## Main body of script. ##
2705 ## -------------------- ##
2706
2707 ac_ext=c
2708 ac_cpp='$CPP $CPPFLAGS'
2709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2712
2713
2714
2715 ac_aux_dir=
2716 for ac_dir in build-aux "$srcdir"/build-aux; do
2717   if test -f "$ac_dir/install-sh"; then
2718     ac_aux_dir=$ac_dir
2719     ac_install_sh="$ac_aux_dir/install-sh -c"
2720     break
2721   elif test -f "$ac_dir/install.sh"; then
2722     ac_aux_dir=$ac_dir
2723     ac_install_sh="$ac_aux_dir/install.sh -c"
2724     break
2725   elif test -f "$ac_dir/shtool"; then
2726     ac_aux_dir=$ac_dir
2727     ac_install_sh="$ac_aux_dir/shtool install -c"
2728     break
2729   fi
2730 done
2731 if test -z "$ac_aux_dir"; then
2732   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2733 fi
2734
2735 # These three variables are undocumented and unsupported,
2736 # and are intended to be withdrawn in a future Autoconf release.
2737 # They can cause serious problems if a builder's source tree is in a directory
2738 # whose full name contains unusual characters.
2739 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2740 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2741 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2742
2743
2744
2745 am__api_version='1.11'
2746
2747 # Find a good install program.  We prefer a C program (faster),
2748 # so one script is as good as another.  But avoid the broken or
2749 # incompatible versions:
2750 # SysV /etc/install, /usr/sbin/install
2751 # SunOS /usr/etc/install
2752 # IRIX /sbin/install
2753 # AIX /bin/install
2754 # AmigaOS /C/install, which installs bootblocks on floppy discs
2755 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2756 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2757 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2758 # OS/2's system install, which has a completely different semantic
2759 # ./install, which can be erroneously created by make from ./install.sh.
2760 # Reject install programs that cannot install multiple files.
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2762 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2763 if test -z "$INSTALL"; then
2764 if ${ac_cv_path_install+:} false; then :
2765   $as_echo_n "(cached) " >&6
2766 else
2767   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 for as_dir in $PATH
2769 do
2770   IFS=$as_save_IFS
2771   test -z "$as_dir" && as_dir=.
2772     # Account for people who put trailing slashes in PATH elements.
2773 case $as_dir/ in #((
2774   ./ | .// | /[cC]/* | \
2775   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2776   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2777   /usr/ucb/* ) ;;
2778   *)
2779     # OSF1 and SCO ODT 3.0 have their own names for install.
2780     # Don't use installbsd from OSF since it installs stuff as root
2781     # by default.
2782     for ac_prog in ginstall scoinst install; do
2783       for ac_exec_ext in '' $ac_executable_extensions; do
2784         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2785           if test $ac_prog = install &&
2786             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2787             # AIX install.  It has an incompatible calling convention.
2788             :
2789           elif test $ac_prog = install &&
2790             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2791             # program-specific install script used by HP pwplus--don't use.
2792             :
2793           else
2794             rm -rf conftest.one conftest.two conftest.dir
2795             echo one > conftest.one
2796             echo two > conftest.two
2797             mkdir conftest.dir
2798             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2799               test -s conftest.one && test -s conftest.two &&
2800               test -s conftest.dir/conftest.one &&
2801               test -s conftest.dir/conftest.two
2802             then
2803               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2804               break 3
2805             fi
2806           fi
2807         fi
2808       done
2809     done
2810     ;;
2811 esac
2812
2813   done
2814 IFS=$as_save_IFS
2815
2816 rm -rf conftest.one conftest.two conftest.dir
2817
2818 fi
2819   if test "${ac_cv_path_install+set}" = set; then
2820     INSTALL=$ac_cv_path_install
2821   else
2822     # As a last resort, use the slow shell script.  Don't cache a
2823     # value for INSTALL within a source directory, because that will
2824     # break other packages using the cache if that directory is
2825     # removed, or if the value is a relative name.
2826     INSTALL=$ac_install_sh
2827   fi
2828 fi
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2830 $as_echo "$INSTALL" >&6; }
2831
2832 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2833 # It thinks the first close brace ends the variable substitution.
2834 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2835
2836 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2837
2838 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2839
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2841 $as_echo_n "checking whether build environment is sane... " >&6; }
2842 # Just in case
2843 sleep 1
2844 echo timestamp > conftest.file
2845 # Reject unsafe characters in $srcdir or the absolute working directory
2846 # name.  Accept space and tab only in the latter.
2847 am_lf='
2848 '
2849 case `pwd` in
2850   *[\\\"\#\$\&\'\`$am_lf]*)
2851     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2852 esac
2853 case $srcdir in
2854   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2855     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2856 esac
2857
2858 # Do `set' in a subshell so we don't clobber the current shell's
2859 # arguments.  Must try -L first in case configure is actually a
2860 # symlink; some systems play weird games with the mod time of symlinks
2861 # (eg FreeBSD returns the mod time of the symlink's containing
2862 # directory).
2863 if (
2864    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2865    if test "$*" = "X"; then
2866       # -L didn't work.
2867       set X `ls -t "$srcdir/configure" conftest.file`
2868    fi
2869    rm -f conftest.file
2870    if test "$*" != "X $srcdir/configure conftest.file" \
2871       && test "$*" != "X conftest.file $srcdir/configure"; then
2872
2873       # If neither matched, then we have a broken ls.  This can happen
2874       # if, for instance, CONFIG_SHELL is bash and it inherits a
2875       # broken ls alias from the environment.  This has actually
2876       # happened.  Such a system could not be considered "sane".
2877       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2878 alias in your environment" "$LINENO" 5
2879    fi
2880
2881    test "$2" = conftest.file
2882    )
2883 then
2884    # Ok.
2885    :
2886 else
2887    as_fn_error $? "newly created file is older than distributed files!
2888 Check your system clock" "$LINENO" 5
2889 fi
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2891 $as_echo "yes" >&6; }
2892 test "$program_prefix" != NONE &&
2893   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2894 # Use a double $ so make ignores it.
2895 test "$program_suffix" != NONE &&
2896   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2897 # Double any \ or $.
2898 # By default was `s,x,x', remove it if useless.
2899 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2900 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2901
2902 # expand $ac_aux_dir to an absolute path
2903 am_aux_dir=`cd $ac_aux_dir && pwd`
2904
2905 if test x"${MISSING+set}" != xset; then
2906   case $am_aux_dir in
2907   *\ * | *\     *)
2908     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2909   *)
2910     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2911   esac
2912 fi
2913 # Use eval to expand $SHELL
2914 if eval "$MISSING --run true"; then
2915   am_missing_run="$MISSING --run "
2916 else
2917   am_missing_run=
2918   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2919 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2920 fi
2921
2922 if test x"${install_sh}" != xset; then
2923   case $am_aux_dir in
2924   *\ * | *\     *)
2925     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2926   *)
2927     install_sh="\${SHELL} $am_aux_dir/install-sh"
2928   esac
2929 fi
2930
2931 # Installed binaries are usually stripped using `strip' when the user
2932 # run `make install-strip'.  However `strip' might not be the right
2933 # tool to use in cross-compilation environments, therefore Automake
2934 # will honor the `STRIP' environment variable to overrule this program.
2935 if test "$cross_compiling" != no; then
2936   if test -n "$ac_tool_prefix"; then
2937   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2938 set dummy ${ac_tool_prefix}strip; ac_word=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_STRIP+:} false; then :
2942   $as_echo_n "(cached) " >&6
2943 else
2944   if test -n "$STRIP"; then
2945   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2946 else
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 for as_dir in $PATH
2949 do
2950   IFS=$as_save_IFS
2951   test -z "$as_dir" && as_dir=.
2952     for ac_exec_ext in '' $ac_executable_extensions; do
2953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2954     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956     break 2
2957   fi
2958 done
2959   done
2960 IFS=$as_save_IFS
2961
2962 fi
2963 fi
2964 STRIP=$ac_cv_prog_STRIP
2965 if test -n "$STRIP"; then
2966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2967 $as_echo "$STRIP" >&6; }
2968 else
2969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2971 fi
2972
2973
2974 fi
2975 if test -z "$ac_cv_prog_STRIP"; then
2976   ac_ct_STRIP=$STRIP
2977   # Extract the first word of "strip", so it can be a program name with args.
2978 set dummy strip; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2982   $as_echo_n "(cached) " >&6
2983 else
2984   if test -n "$ac_ct_STRIP"; then
2985   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2986 else
2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988 for as_dir in $PATH
2989 do
2990   IFS=$as_save_IFS
2991   test -z "$as_dir" && as_dir=.
2992     for ac_exec_ext in '' $ac_executable_extensions; do
2993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2994     ac_cv_prog_ac_ct_STRIP="strip"
2995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996     break 2
2997   fi
2998 done
2999   done
3000 IFS=$as_save_IFS
3001
3002 fi
3003 fi
3004 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3005 if test -n "$ac_ct_STRIP"; then
3006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3007 $as_echo "$ac_ct_STRIP" >&6; }
3008 else
3009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3011 fi
3012
3013   if test "x$ac_ct_STRIP" = x; then
3014     STRIP=":"
3015   else
3016     case $cross_compiling:$ac_tool_warned in
3017 yes:)
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3020 ac_tool_warned=yes ;;
3021 esac
3022     STRIP=$ac_ct_STRIP
3023   fi
3024 else
3025   STRIP="$ac_cv_prog_STRIP"
3026 fi
3027
3028 fi
3029 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3030
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3032 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3033 if test -z "$MKDIR_P"; then
3034   if ${ac_cv_path_mkdir+:} false; then :
3035   $as_echo_n "(cached) " >&6
3036 else
3037   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3039 do
3040   IFS=$as_save_IFS
3041   test -z "$as_dir" && as_dir=.
3042     for ac_prog in mkdir gmkdir; do
3043          for ac_exec_ext in '' $ac_executable_extensions; do
3044            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3045            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3046              'mkdir (GNU coreutils) '* | \
3047              'mkdir (coreutils) '* | \
3048              'mkdir (fileutils) '4.1*)
3049                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3050                break 3;;
3051            esac
3052          done
3053        done
3054   done
3055 IFS=$as_save_IFS
3056
3057 fi
3058
3059   test -d ./--version && rmdir ./--version
3060   if test "${ac_cv_path_mkdir+set}" = set; then
3061     MKDIR_P="$ac_cv_path_mkdir -p"
3062   else
3063     # As a last resort, use the slow shell script.  Don't cache a
3064     # value for MKDIR_P within a source directory, because that will
3065     # break other packages using the cache if that directory is
3066     # removed, or if the value is a relative name.
3067     MKDIR_P="$ac_install_sh -d"
3068   fi
3069 fi
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3071 $as_echo "$MKDIR_P" >&6; }
3072
3073 mkdir_p="$MKDIR_P"
3074 case $mkdir_p in
3075   [\\/$]* | ?:[\\/]*) ;;
3076   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3077 esac
3078
3079 for ac_prog in gawk mawk nawk awk
3080 do
3081   # Extract the first word of "$ac_prog", so it can be a program name with args.
3082 set dummy $ac_prog; ac_word=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_AWK+:} false; then :
3086   $as_echo_n "(cached) " >&6
3087 else
3088   if test -n "$AWK"; then
3089   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3090 else
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 for as_dir in $PATH
3093 do
3094   IFS=$as_save_IFS
3095   test -z "$as_dir" && as_dir=.
3096     for ac_exec_ext in '' $ac_executable_extensions; do
3097   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3098     ac_cv_prog_AWK="$ac_prog"
3099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3100     break 2
3101   fi
3102 done
3103   done
3104 IFS=$as_save_IFS
3105
3106 fi
3107 fi
3108 AWK=$ac_cv_prog_AWK
3109 if test -n "$AWK"; then
3110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3111 $as_echo "$AWK" >&6; }
3112 else
3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3115 fi
3116
3117
3118   test -n "$AWK" && break
3119 done
3120
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3122 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3123 set x ${MAKE-make}
3124 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3125 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3126   $as_echo_n "(cached) " >&6
3127 else
3128   cat >conftest.make <<\_ACEOF
3129 SHELL = /bin/sh
3130 all:
3131         @echo '@@@%%%=$(MAKE)=@@@%%%'
3132 _ACEOF
3133 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3134 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3135   *@@@%%%=?*=@@@%%%*)
3136     eval ac_cv_prog_make_${ac_make}_set=yes;;
3137   *)
3138     eval ac_cv_prog_make_${ac_make}_set=no;;
3139 esac
3140 rm -f conftest.make
3141 fi
3142 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3144 $as_echo "yes" >&6; }
3145   SET_MAKE=
3146 else
3147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3149   SET_MAKE="MAKE=${MAKE-make}"
3150 fi
3151
3152 rm -rf .tst 2>/dev/null
3153 mkdir .tst 2>/dev/null
3154 if test -d .tst; then
3155   am__leading_dot=.
3156 else
3157   am__leading_dot=_
3158 fi
3159 rmdir .tst 2>/dev/null
3160
3161 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3162   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3163   # is not polluted with repeated "-I."
3164   am__isrc=' -I$(srcdir)'
3165   # test to see if srcdir already configured
3166   if test -f $srcdir/config.status; then
3167     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3168   fi
3169 fi
3170
3171 # test whether we have cygpath
3172 if test -z "$CYGPATH_W"; then
3173   if (cygpath --version) >/dev/null 2>/dev/null; then
3174     CYGPATH_W='cygpath -w'
3175   else
3176     CYGPATH_W=echo
3177   fi
3178 fi
3179
3180
3181 # Define the identity of the package.
3182  PACKAGE='shibboleth'
3183  VERSION='2.4'
3184
3185
3186 cat >>confdefs.h <<_ACEOF
3187 #define PACKAGE "$PACKAGE"
3188 _ACEOF
3189
3190
3191 cat >>confdefs.h <<_ACEOF
3192 #define VERSION "$VERSION"
3193 _ACEOF
3194
3195 # Some tools Automake needs.
3196
3197 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3198
3199
3200 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3201
3202
3203 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3204
3205
3206 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3207
3208
3209 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3210
3211 # We need awk for the "check" target.  The system "awk" is bad on
3212 # some platforms.
3213 # Always define AMTAR for backward compatibility.
3214
3215 AMTAR=${AMTAR-"${am_missing_run}tar"}
3216
3217 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3218
3219
3220
3221
3222
3223 # Check whether --enable-static was given.
3224 if test "${enable_static+set}" = set; then :
3225   enableval=$enable_static; p=${PACKAGE-default}
3226     case $enableval in
3227     yes) enable_static=yes ;;
3228     no) enable_static=no ;;
3229     *)
3230      enable_static=no
3231       # Look at the argument we got.  We use all the common list separators.
3232       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3233       for pkg in $enableval; do
3234         IFS="$lt_save_ifs"
3235         if test "X$pkg" = "X$p"; then
3236           enable_static=yes
3237         fi
3238       done
3239       IFS="$lt_save_ifs"
3240       ;;
3241     esac
3242 else
3243   enable_static=no
3244 fi
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254 case `pwd` in
3255   *\ * | *\     *)
3256     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3257 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3258 esac
3259
3260
3261
3262 macro_version='2.4'
3263 macro_revision='1.3293'
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277 ltmain="$ac_aux_dir/ltmain.sh"
3278
3279 # Make sure we can run config.sub.
3280 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3281   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3282
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3284 $as_echo_n "checking build system type... " >&6; }
3285 if ${ac_cv_build+:} false; then :
3286   $as_echo_n "(cached) " >&6
3287 else
3288   ac_build_alias=$build_alias
3289 test "x$ac_build_alias" = x &&
3290   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3291 test "x$ac_build_alias" = x &&
3292   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3293 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3294   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3295
3296 fi
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3298 $as_echo "$ac_cv_build" >&6; }
3299 case $ac_cv_build in
3300 *-*-*) ;;
3301 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3302 esac
3303 build=$ac_cv_build
3304 ac_save_IFS=$IFS; IFS='-'
3305 set x $ac_cv_build
3306 shift
3307 build_cpu=$1
3308 build_vendor=$2
3309 shift; shift
3310 # Remember, the first character of IFS is used to create $*,
3311 # except with old shells:
3312 build_os=$*
3313 IFS=$ac_save_IFS
3314 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3315
3316
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3318 $as_echo_n "checking host system type... " >&6; }
3319 if ${ac_cv_host+:} false; then :
3320   $as_echo_n "(cached) " >&6
3321 else
3322   if test "x$host_alias" = x; then
3323   ac_cv_host=$ac_cv_build
3324 else
3325   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3326     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3327 fi
3328
3329 fi
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3331 $as_echo "$ac_cv_host" >&6; }
3332 case $ac_cv_host in
3333 *-*-*) ;;
3334 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3335 esac
3336 host=$ac_cv_host
3337 ac_save_IFS=$IFS; IFS='-'
3338 set x $ac_cv_host
3339 shift
3340 host_cpu=$1
3341 host_vendor=$2
3342 shift; shift
3343 # Remember, the first character of IFS is used to create $*,
3344 # except with old shells:
3345 host_os=$*
3346 IFS=$ac_save_IFS
3347 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3348
3349
3350 # Backslashify metacharacters that are still active within
3351 # double-quoted strings.
3352 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3353
3354 # Same as above, but do not quote variable references.
3355 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3356
3357 # Sed substitution to delay expansion of an escaped shell variable in a
3358 # double_quote_subst'ed string.
3359 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3360
3361 # Sed substitution to delay expansion of an escaped single quote.
3362 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3363
3364 # Sed substitution to avoid accidental globbing in evaled expressions
3365 no_glob_subst='s/\*/\\\*/g'
3366
3367 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3368 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3369 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3370
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3372 $as_echo_n "checking how to print strings... " >&6; }
3373 # Test print first, because it will be a builtin if present.
3374 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3375    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3376   ECHO='print -r --'
3377 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3378   ECHO='printf %s\n'
3379 else
3380   # Use this function as a fallback that always works.
3381   func_fallback_echo ()
3382   {
3383     eval 'cat <<_LTECHO_EOF
3384 $1
3385 _LTECHO_EOF'
3386   }
3387   ECHO='func_fallback_echo'
3388 fi
3389
3390 # func_echo_all arg...
3391 # Invoke $ECHO with all args, space-separated.
3392 func_echo_all ()
3393 {
3394     $ECHO ""
3395 }
3396
3397 case "$ECHO" in
3398   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3399 $as_echo "printf" >&6; } ;;
3400   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3401 $as_echo "print -r" >&6; } ;;
3402   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3403 $as_echo "cat" >&6; } ;;
3404 esac
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419 DEPDIR="${am__leading_dot}deps"
3420
3421 ac_config_commands="$ac_config_commands depfiles"
3422
3423
3424 am_make=${MAKE-make}
3425 cat > confinc << 'END'
3426 am__doit:
3427         @echo this is the am__doit target
3428 .PHONY: am__doit
3429 END
3430 # If we don't find an include directive, just comment out the code.
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3432 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3433 am__include="#"
3434 am__quote=
3435 _am_result=none
3436 # First try GNU make style include.
3437 echo "include confinc" > confmf
3438 # Ignore all kinds of additional output from `make'.
3439 case `$am_make -s -f confmf 2> /dev/null` in #(
3440 *the\ am__doit\ target*)
3441   am__include=include
3442   am__quote=
3443   _am_result=GNU
3444   ;;
3445 esac
3446 # Now try BSD make style include.
3447 if test "$am__include" = "#"; then
3448    echo '.include "confinc"' > confmf
3449    case `$am_make -s -f confmf 2> /dev/null` in #(
3450    *the\ am__doit\ target*)
3451      am__include=.include
3452      am__quote="\""
3453      _am_result=BSD
3454      ;;
3455    esac
3456 fi
3457
3458
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3460 $as_echo "$_am_result" >&6; }
3461 rm -f confinc confmf
3462
3463 # Check whether --enable-dependency-tracking was given.
3464 if test "${enable_dependency_tracking+set}" = set; then :
3465   enableval=$enable_dependency_tracking;
3466 fi
3467
3468 if test "x$enable_dependency_tracking" != xno; then
3469   am_depcomp="$ac_aux_dir/depcomp"
3470   AMDEPBACKSLASH='\'
3471 fi
3472  if test "x$enable_dependency_tracking" != xno; then
3473   AMDEP_TRUE=
3474   AMDEP_FALSE='#'
3475 else
3476   AMDEP_TRUE='#'
3477   AMDEP_FALSE=
3478 fi
3479
3480
3481 ac_ext=c
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486 if test -n "$ac_tool_prefix"; then
3487   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3488 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if ${ac_cv_prog_CC+:} false; then :
3492   $as_echo_n "(cached) " >&6
3493 else
3494   if test -n "$CC"; then
3495   ac_cv_prog_CC="$CC" # Let the user override the test.
3496 else
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3499 do
3500   IFS=$as_save_IFS
3501   test -z "$as_dir" && as_dir=.
3502     for ac_exec_ext in '' $ac_executable_extensions; do
3503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506     break 2
3507   fi
3508 done
3509   done
3510 IFS=$as_save_IFS
3511
3512 fi
3513 fi
3514 CC=$ac_cv_prog_CC
3515 if test -n "$CC"; then
3516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3517 $as_echo "$CC" >&6; }
3518 else
3519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3521 fi
3522
3523
3524 fi
3525 if test -z "$ac_cv_prog_CC"; then
3526   ac_ct_CC=$CC
3527   # Extract the first word of "gcc", so it can be a program name with args.
3528 set dummy gcc; ac_word=$2
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3530 $as_echo_n "checking for $ac_word... " >&6; }
3531 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3532   $as_echo_n "(cached) " >&6
3533 else
3534   if test -n "$ac_ct_CC"; then
3535   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3536 else
3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538 for as_dir in $PATH
3539 do
3540   IFS=$as_save_IFS
3541   test -z "$as_dir" && as_dir=.
3542     for ac_exec_ext in '' $ac_executable_extensions; do
3543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3544     ac_cv_prog_ac_ct_CC="gcc"
3545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3546     break 2
3547   fi
3548 done
3549   done
3550 IFS=$as_save_IFS
3551
3552 fi
3553 fi
3554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3555 if test -n "$ac_ct_CC"; then
3556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3557 $as_echo "$ac_ct_CC" >&6; }
3558 else
3559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 $as_echo "no" >&6; }
3561 fi
3562
3563   if test "x$ac_ct_CC" = x; then
3564     CC=""
3565   else
3566     case $cross_compiling:$ac_tool_warned in
3567 yes:)
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3570 ac_tool_warned=yes ;;
3571 esac
3572     CC=$ac_ct_CC
3573   fi
3574 else
3575   CC="$ac_cv_prog_CC"
3576 fi
3577
3578 if test -z "$CC"; then
3579           if test -n "$ac_tool_prefix"; then
3580     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3581 set dummy ${ac_tool_prefix}cc; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_CC+:} false; then :
3585   $as_echo_n "(cached) " >&6
3586 else
3587   if test -n "$CC"; then
3588   ac_cv_prog_CC="$CC" # Let the user override the test.
3589 else
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3592 do
3593   IFS=$as_save_IFS
3594   test -z "$as_dir" && as_dir=.
3595     for ac_exec_ext in '' $ac_executable_extensions; do
3596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597     ac_cv_prog_CC="${ac_tool_prefix}cc"
3598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599     break 2
3600   fi
3601 done
3602   done
3603 IFS=$as_save_IFS
3604
3605 fi
3606 fi
3607 CC=$ac_cv_prog_CC
3608 if test -n "$CC"; then
3609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610 $as_echo "$CC" >&6; }
3611 else
3612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3614 fi
3615
3616
3617   fi
3618 fi
3619 if test -z "$CC"; then
3620   # Extract the first word of "cc", so it can be a program name with args.
3621 set dummy cc; ac_word=$2
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3623 $as_echo_n "checking for $ac_word... " >&6; }
3624 if ${ac_cv_prog_CC+:} false; then :
3625   $as_echo_n "(cached) " >&6
3626 else
3627   if test -n "$CC"; then
3628   ac_cv_prog_CC="$CC" # Let the user override the test.
3629 else
3630   ac_prog_rejected=no
3631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3632 for as_dir in $PATH
3633 do
3634   IFS=$as_save_IFS
3635   test -z "$as_dir" && as_dir=.
3636     for ac_exec_ext in '' $ac_executable_extensions; do
3637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3638     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3639        ac_prog_rejected=yes
3640        continue
3641      fi
3642     ac_cv_prog_CC="cc"
3643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644     break 2
3645   fi
3646 done
3647   done
3648 IFS=$as_save_IFS
3649
3650 if test $ac_prog_rejected = yes; then
3651   # We found a bogon in the path, so make sure we never use it.
3652   set dummy $ac_cv_prog_CC
3653   shift
3654   if test $# != 0; then
3655     # We chose a different compiler from the bogus one.
3656     # However, it has the same basename, so the bogon will be chosen
3657     # first if we set CC to just the basename; use the full file name.
3658     shift
3659     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3660   fi
3661 fi
3662 fi
3663 fi
3664 CC=$ac_cv_prog_CC
3665 if test -n "$CC"; then
3666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3668 else
3669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3671 fi
3672
3673
3674 fi
3675 if test -z "$CC"; then
3676   if test -n "$ac_tool_prefix"; then
3677   for ac_prog in cl.exe
3678   do
3679     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if ${ac_cv_prog_CC+:} false; then :
3684   $as_echo_n "(cached) " >&6
3685 else
3686   if test -n "$CC"; then
3687   ac_cv_prog_CC="$CC" # Let the user override the test.
3688 else
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH
3691 do
3692   IFS=$as_save_IFS
3693   test -z "$as_dir" && as_dir=.
3694     for ac_exec_ext in '' $ac_executable_extensions; do
3695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698     break 2
3699   fi
3700 done
3701   done
3702 IFS=$as_save_IFS
3703
3704 fi
3705 fi
3706 CC=$ac_cv_prog_CC
3707 if test -n "$CC"; then
3708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3709 $as_echo "$CC" >&6; }
3710 else
3711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3713 fi
3714
3715
3716     test -n "$CC" && break
3717   done
3718 fi
3719 if test -z "$CC"; then
3720   ac_ct_CC=$CC
3721   for ac_prog in cl.exe
3722 do
3723   # Extract the first word of "$ac_prog", so it can be a program name with args.
3724 set dummy $ac_prog; ac_word=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3728   $as_echo_n "(cached) " >&6
3729 else
3730   if test -n "$ac_ct_CC"; then
3731   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3732 else
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3734 for as_dir in $PATH
3735 do
3736   IFS=$as_save_IFS
3737   test -z "$as_dir" && as_dir=.
3738     for ac_exec_ext in '' $ac_executable_extensions; do
3739   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3740     ac_cv_prog_ac_ct_CC="$ac_prog"
3741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742     break 2
3743   fi
3744 done
3745   done
3746 IFS=$as_save_IFS
3747
3748 fi
3749 fi
3750 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3751 if test -n "$ac_ct_CC"; then
3752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3753 $as_echo "$ac_ct_CC" >&6; }
3754 else
3755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3757 fi
3758
3759
3760   test -n "$ac_ct_CC" && break
3761 done
3762
3763   if test "x$ac_ct_CC" = x; then
3764     CC=""
3765   else
3766     case $cross_compiling:$ac_tool_warned in
3767 yes:)
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3770 ac_tool_warned=yes ;;
3771 esac
3772     CC=$ac_ct_CC
3773   fi
3774 fi
3775
3776 fi
3777
3778
3779 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3781 as_fn_error $? "no acceptable C compiler found in \$PATH
3782 See \`config.log' for more details" "$LINENO" 5; }
3783
3784 # Provide some information about the compiler.
3785 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3786 set X $ac_compile
3787 ac_compiler=$2
3788 for ac_option in --version -v -V -qversion; do
3789   { { ac_try="$ac_compiler $ac_option >&5"
3790 case "(($ac_try" in
3791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792   *) ac_try_echo=$ac_try;;
3793 esac
3794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3795 $as_echo "$ac_try_echo"; } >&5
3796   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3797   ac_status=$?
3798   if test -s conftest.err; then
3799     sed '10a\
3800 ... rest of stderr output deleted ...
3801          10q' conftest.err >conftest.er1
3802     cat conftest.er1 >&5
3803   fi
3804   rm -f conftest.er1 conftest.err
3805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806   test $ac_status = 0; }
3807 done
3808
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h.  */
3811
3812 int
3813 main ()
3814 {
3815
3816   ;
3817   return 0;
3818 }
3819 _ACEOF
3820 ac_clean_files_save=$ac_clean_files
3821 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3822 # Try to create an executable without -o first, disregard a.out.
3823 # It will help us diagnose broken compilers, and finding out an intuition
3824 # of exeext.
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3826 $as_echo_n "checking whether the C compiler works... " >&6; }
3827 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3828
3829 # The possible output files:
3830 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3831
3832 ac_rmfiles=
3833 for ac_file in $ac_files
3834 do
3835   case $ac_file in
3836     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3837     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3838   esac
3839 done
3840 rm -f $ac_rmfiles
3841
3842 if { { ac_try="$ac_link_default"
3843 case "(($ac_try" in
3844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845   *) ac_try_echo=$ac_try;;
3846 esac
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849   (eval "$ac_link_default") 2>&5
3850   ac_status=$?
3851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852   test $ac_status = 0; }; then :
3853   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3854 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3855 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3856 # so that the user can short-circuit this test for compilers unknown to
3857 # Autoconf.
3858 for ac_file in $ac_files ''
3859 do
3860   test -f "$ac_file" || continue
3861   case $ac_file in
3862     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3863         ;;
3864     [ab].out )
3865         # We found the default executable, but exeext='' is most
3866         # certainly right.
3867         break;;
3868     *.* )
3869         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3870         then :; else
3871            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3872         fi
3873         # We set ac_cv_exeext here because the later test for it is not
3874         # safe: cross compilers may not add the suffix if given an `-o'
3875         # argument, so we may need to know it at that point already.
3876         # Even if this section looks crufty: it has the advantage of
3877         # actually working.
3878         break;;
3879     * )
3880         break;;
3881   esac
3882 done
3883 test "$ac_cv_exeext" = no && ac_cv_exeext=
3884
3885 else
3886   ac_file=''
3887 fi
3888 if test -z "$ac_file"; then :
3889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3891 $as_echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.$ac_ext >&5
3893
3894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3896 as_fn_error 77 "C compiler cannot create executables
3897 See \`config.log' for more details" "$LINENO" 5; }
3898 else
3899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3900 $as_echo "yes" >&6; }
3901 fi
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3903 $as_echo_n "checking for C compiler default output file name... " >&6; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3905 $as_echo "$ac_file" >&6; }
3906 ac_exeext=$ac_cv_exeext
3907
3908 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3909 ac_clean_files=$ac_clean_files_save
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3911 $as_echo_n "checking for suffix of executables... " >&6; }
3912 if { { ac_try="$ac_link"
3913 case "(($ac_try" in
3914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3915   *) ac_try_echo=$ac_try;;
3916 esac
3917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3918 $as_echo "$ac_try_echo"; } >&5
3919   (eval "$ac_link") 2>&5
3920   ac_status=$?
3921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922   test $ac_status = 0; }; then :
3923   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3924 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3925 # work properly (i.e., refer to `conftest.exe'), while it won't with
3926 # `rm'.
3927 for ac_file in conftest.exe conftest conftest.*; do
3928   test -f "$ac_file" || continue
3929   case $ac_file in
3930     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3931     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3932           break;;
3933     * ) break;;
3934   esac
3935 done
3936 else
3937   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3940 See \`config.log' for more details" "$LINENO" 5; }
3941 fi
3942 rm -f conftest conftest$ac_cv_exeext
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3944 $as_echo "$ac_cv_exeext" >&6; }
3945
3946 rm -f conftest.$ac_ext
3947 EXEEXT=$ac_cv_exeext
3948 ac_exeext=$EXEEXT
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h.  */
3951 #include <stdio.h>
3952 int
3953 main ()
3954 {
3955 FILE *f = fopen ("conftest.out", "w");
3956  return ferror (f) || fclose (f) != 0;
3957
3958   ;
3959   return 0;
3960 }
3961 _ACEOF
3962 ac_clean_files="$ac_clean_files conftest.out"
3963 # Check that the compiler produces executables we can run.  If not, either
3964 # the compiler is broken, or we cross compile.
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3966 $as_echo_n "checking whether we are cross compiling... " >&6; }
3967 if test "$cross_compiling" != yes; then
3968   { { ac_try="$ac_link"
3969 case "(($ac_try" in
3970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3971   *) ac_try_echo=$ac_try;;
3972 esac
3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3974 $as_echo "$ac_try_echo"; } >&5
3975   (eval "$ac_link") 2>&5
3976   ac_status=$?
3977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3978   test $ac_status = 0; }
3979   if { ac_try='./conftest$ac_cv_exeext'
3980   { { case "(($ac_try" in
3981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982   *) ac_try_echo=$ac_try;;
3983 esac
3984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3985 $as_echo "$ac_try_echo"; } >&5
3986   (eval "$ac_try") 2>&5
3987   ac_status=$?
3988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3989   test $ac_status = 0; }; }; then
3990     cross_compiling=no
3991   else
3992     if test "$cross_compiling" = maybe; then
3993         cross_compiling=yes
3994     else
3995         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3997 as_fn_error $? "cannot run C compiled programs.
3998 If you meant to cross compile, use \`--host'.
3999 See \`config.log' for more details" "$LINENO" 5; }
4000     fi
4001   fi
4002 fi
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4004 $as_echo "$cross_compiling" >&6; }
4005
4006 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4007 ac_clean_files=$ac_clean_files_save
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4009 $as_echo_n "checking for suffix of object files... " >&6; }
4010 if ${ac_cv_objext+:} false; then :
4011   $as_echo_n "(cached) " >&6
4012 else
4013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h.  */
4015
4016 int
4017 main ()
4018 {
4019
4020   ;
4021   return 0;
4022 }
4023 _ACEOF
4024 rm -f conftest.o conftest.obj
4025 if { { ac_try="$ac_compile"
4026 case "(($ac_try" in
4027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028   *) ac_try_echo=$ac_try;;
4029 esac
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032   (eval "$ac_compile") 2>&5
4033   ac_status=$?
4034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035   test $ac_status = 0; }; then :
4036   for ac_file in conftest.o conftest.obj conftest.*; do
4037   test -f "$ac_file" || continue;
4038   case $ac_file in
4039     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4040     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4041        break;;
4042   esac
4043 done
4044 else
4045   $as_echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.$ac_ext >&5
4047
4048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error $? "cannot compute suffix of object files: cannot compile
4051 See \`config.log' for more details" "$LINENO" 5; }
4052 fi
4053 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4054 fi
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4056 $as_echo "$ac_cv_objext" >&6; }
4057 OBJEXT=$ac_cv_objext
4058 ac_objext=$OBJEXT
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4060 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4061 if ${ac_cv_c_compiler_gnu+:} false; then :
4062   $as_echo_n "(cached) " >&6
4063 else
4064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h.  */
4066
4067 int
4068 main ()
4069 {
4070 #ifndef __GNUC__
4071        choke me
4072 #endif
4073
4074   ;
4075   return 0;
4076 }
4077 _ACEOF
4078 if ac_fn_c_try_compile "$LINENO"; then :
4079   ac_compiler_gnu=yes
4080 else
4081   ac_compiler_gnu=no
4082 fi
4083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4084 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4085
4086 fi
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4088 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4089 if test $ac_compiler_gnu = yes; then
4090   GCC=yes
4091 else
4092   GCC=
4093 fi
4094 ac_test_CFLAGS=${CFLAGS+set}
4095 ac_save_CFLAGS=$CFLAGS
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4097 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4098 if ${ac_cv_prog_cc_g+:} false; then :
4099   $as_echo_n "(cached) " >&6
4100 else
4101   ac_save_c_werror_flag=$ac_c_werror_flag
4102    ac_c_werror_flag=yes
4103    ac_cv_prog_cc_g=no
4104    CFLAGS="-g"
4105    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h.  */
4107
4108 int
4109 main ()
4110 {
4111
4112   ;
4113   return 0;
4114 }
4115 _ACEOF
4116 if ac_fn_c_try_compile "$LINENO"; then :
4117   ac_cv_prog_cc_g=yes
4118 else
4119   CFLAGS=""
4120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h.  */
4122
4123 int
4124 main ()
4125 {
4126
4127   ;
4128   return 0;
4129 }
4130 _ACEOF
4131 if ac_fn_c_try_compile "$LINENO"; then :
4132
4133 else
4134   ac_c_werror_flag=$ac_save_c_werror_flag
4135          CFLAGS="-g"
4136          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h.  */
4138
4139 int
4140 main ()
4141 {
4142
4143   ;
4144   return 0;
4145 }
4146 _ACEOF
4147 if ac_fn_c_try_compile "$LINENO"; then :
4148   ac_cv_prog_cc_g=yes
4149 fi
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 fi
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 fi
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155    ac_c_werror_flag=$ac_save_c_werror_flag
4156 fi
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4158 $as_echo "$ac_cv_prog_cc_g" >&6; }
4159 if test "$ac_test_CFLAGS" = set; then
4160   CFLAGS=$ac_save_CFLAGS
4161 elif test $ac_cv_prog_cc_g = yes; then
4162   if test "$GCC" = yes; then
4163     CFLAGS="-g -O2"
4164   else
4165     CFLAGS="-g"
4166   fi
4167 else
4168   if test "$GCC" = yes; then
4169     CFLAGS="-O2"
4170   else
4171     CFLAGS=
4172   fi
4173 fi
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4175 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4176 if ${ac_cv_prog_cc_c89+:} false; then :
4177   $as_echo_n "(cached) " >&6
4178 else
4179   ac_cv_prog_cc_c89=no
4180 ac_save_CC=$CC
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h.  */
4183 #include <stdarg.h>
4184 #include <stdio.h>
4185 #include <sys/types.h>
4186 #include <sys/stat.h>
4187 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4188 struct buf { int x; };
4189 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4190 static char *e (p, i)
4191      char **p;
4192      int i;
4193 {
4194   return p[i];
4195 }
4196 static char *f (char * (*g) (char **, int), char **p, ...)
4197 {
4198   char *s;
4199   va_list v;
4200   va_start (v,p);
4201   s = g (p, va_arg (v,int));
4202   va_end (v);
4203   return s;
4204 }
4205
4206 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4207    function prototypes and stuff, but not '\xHH' hex character constants.
4208    These don't provoke an error unfortunately, instead are silently treated
4209    as 'x'.  The following induces an error, until -std is added to get
4210    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4211    array size at least.  It's necessary to write '\x00'==0 to get something
4212    that's true only with -std.  */
4213 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4214
4215 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4216    inside strings and character constants.  */
4217 #define FOO(x) 'x'
4218 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4219
4220 int test (int i, double x);
4221 struct s1 {int (*f) (int a);};
4222 struct s2 {int (*f) (double a);};
4223 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4224 int argc;
4225 char **argv;
4226 int
4227 main ()
4228 {
4229 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4230   ;
4231   return 0;
4232 }
4233 _ACEOF
4234 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4235         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4236 do
4237   CC="$ac_save_CC $ac_arg"
4238   if ac_fn_c_try_compile "$LINENO"; then :
4239   ac_cv_prog_cc_c89=$ac_arg
4240 fi
4241 rm -f core conftest.err conftest.$ac_objext
4242   test "x$ac_cv_prog_cc_c89" != "xno" && break
4243 done
4244 rm -f conftest.$ac_ext
4245 CC=$ac_save_CC
4246
4247 fi
4248 # AC_CACHE_VAL
4249 case "x$ac_cv_prog_cc_c89" in
4250   x)
4251     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4252 $as_echo "none needed" >&6; } ;;
4253   xno)
4254     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4255 $as_echo "unsupported" >&6; } ;;
4256   *)
4257     CC="$CC $ac_cv_prog_cc_c89"
4258     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4259 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4260 esac
4261 if test "x$ac_cv_prog_cc_c89" != xno; then :
4262
4263 fi
4264
4265 ac_ext=c
4266 ac_cpp='$CPP $CPPFLAGS'
4267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4270
4271 depcc="$CC"   am_compiler_list=
4272
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4274 $as_echo_n "checking dependency style of $depcc... " >&6; }
4275 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4276   $as_echo_n "(cached) " >&6
4277 else
4278   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4279   # We make a subdir and do the tests there.  Otherwise we can end up
4280   # making bogus files that we don't know about and never remove.  For
4281   # instance it was reported that on HP-UX the gcc test will end up
4282   # making a dummy file named `D' -- because `-MD' means `put the output
4283   # in D'.
4284   mkdir conftest.dir
4285   # Copy depcomp to subdir because otherwise we won't find it if we're
4286   # using a relative directory.
4287   cp "$am_depcomp" conftest.dir
4288   cd conftest.dir
4289   # We will build objects and dependencies in a subdirectory because
4290   # it helps to detect inapplicable dependency modes.  For instance
4291   # both Tru64's cc and ICC support -MD to output dependencies as a
4292   # side effect of compilation, but ICC will put the dependencies in
4293   # the current directory while Tru64 will put them in the object
4294   # directory.
4295   mkdir sub
4296
4297   am_cv_CC_dependencies_compiler_type=none
4298   if test "$am_compiler_list" = ""; then
4299      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4300   fi
4301   am__universal=false
4302   case " $depcc " in #(
4303      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4304      esac
4305
4306   for depmode in $am_compiler_list; do
4307     # Setup a source with many dependencies, because some compilers
4308     # like to wrap large dependency lists on column 80 (with \), and
4309     # we should not choose a depcomp mode which is confused by this.
4310     #
4311     # We need to recreate these files for each test, as the compiler may
4312     # overwrite some of them when testing with obscure command lines.
4313     # This happens at least with the AIX C compiler.
4314     : > sub/conftest.c
4315     for i in 1 2 3 4 5 6; do
4316       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4317       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4318       # Solaris 8's {/usr,}/bin/sh.
4319       touch sub/conftst$i.h
4320     done
4321     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4322
4323     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4324     # mode.  It turns out that the SunPro C++ compiler does not properly
4325     # handle `-M -o', and we need to detect this.  Also, some Intel
4326     # versions had trouble with output in subdirs
4327     am__obj=sub/conftest.${OBJEXT-o}
4328     am__minus_obj="-o $am__obj"
4329     case $depmode in
4330     gcc)
4331       # This depmode causes a compiler race in universal mode.
4332       test "$am__universal" = false || continue
4333       ;;
4334     nosideeffect)
4335       # after this tag, mechanisms are not by side-effect, so they'll
4336       # only be used when explicitly requested
4337       if test "x$enable_dependency_tracking" = xyes; then
4338         continue
4339       else
4340         break
4341       fi
4342       ;;
4343     msvisualcpp | msvcmsys)
4344       # This compiler won't grok `-c -o', but also, the minuso test has
4345       # not run yet.  These depmodes are late enough in the game, and
4346       # so weak that their functioning should not be impacted.
4347       am__obj=conftest.${OBJEXT-o}
4348       am__minus_obj=
4349       ;;
4350     none) break ;;
4351     esac
4352     if depmode=$depmode \
4353        source=sub/conftest.c object=$am__obj \
4354        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4355        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4356          >/dev/null 2>conftest.err &&
4357        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4358        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4359        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4360        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4361       # icc doesn't choke on unknown options, it will just issue warnings
4362       # or remarks (even with -Werror).  So we grep stderr for any message
4363       # that says an option was ignored or not supported.
4364       # When given -MP, icc 7.0 and 7.1 complain thusly:
4365       #   icc: Command line warning: ignoring option '-M'; no argument required
4366       # The diagnosis changed in icc 8.0:
4367       #   icc: Command line remark: option '-MP' not supported
4368       if (grep 'ignoring option' conftest.err ||
4369           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4370         am_cv_CC_dependencies_compiler_type=$depmode
4371         break
4372       fi
4373     fi
4374   done
4375
4376   cd ..
4377   rm -rf conftest.dir
4378 else
4379   am_cv_CC_dependencies_compiler_type=none
4380 fi
4381
4382 fi
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4384 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4385 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4386
4387  if
4388   test "x$enable_dependency_tracking" != xno \
4389   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4390   am__fastdepCC_TRUE=
4391   am__fastdepCC_FALSE='#'
4392 else
4393   am__fastdepCC_TRUE='#'
4394   am__fastdepCC_FALSE=
4395 fi
4396
4397
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4400 if ${ac_cv_path_SED+:} false; then :
4401   $as_echo_n "(cached) " >&6
4402 else
4403             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4404      for ac_i in 1 2 3 4 5 6 7; do
4405        ac_script="$ac_script$as_nl$ac_script"
4406      done
4407      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4408      { ac_script=; unset ac_script;}
4409      if test -z "$SED"; then
4410   ac_path_SED_found=false
4411   # Loop through the user's path and test for each of PROGNAME-LIST
4412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 for as_dir in $PATH
4414 do
4415   IFS=$as_save_IFS
4416   test -z "$as_dir" && as_dir=.
4417     for ac_prog in sed gsed; do
4418     for ac_exec_ext in '' $ac_executable_extensions; do
4419       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4420       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4421 # Check for GNU ac_path_SED and select it if it is found.
4422   # Check for GNU $ac_path_SED
4423 case `"$ac_path_SED" --version 2>&1` in
4424 *GNU*)
4425   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4426 *)
4427   ac_count=0
4428   $as_echo_n 0123456789 >"conftest.in"
4429   while :
4430   do
4431     cat "conftest.in" "conftest.in" >"conftest.tmp"
4432     mv "conftest.tmp" "conftest.in"
4433     cp "conftest.in" "conftest.nl"
4434     $as_echo '' >> "conftest.nl"
4435     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4436     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4437     as_fn_arith $ac_count + 1 && ac_count=$as_val
4438     if test $ac_count -gt ${ac_path_SED_max-0}; then
4439       # Best one so far, save it but keep looking for a better one
4440       ac_cv_path_SED="$ac_path_SED"
4441       ac_path_SED_max=$ac_count
4442     fi
4443     # 10*(2^10) chars as input seems more than enough
4444     test $ac_count -gt 10 && break
4445   done
4446   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4447 esac
4448
4449       $ac_path_SED_found && break 3
4450     done
4451   done
4452   done
4453 IFS=$as_save_IFS
4454   if test -z "$ac_cv_path_SED"; then
4455     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4456   fi
4457 else
4458   ac_cv_path_SED=$SED
4459 fi
4460
4461 fi
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4463 $as_echo "$ac_cv_path_SED" >&6; }
4464  SED="$ac_cv_path_SED"
4465   rm -f conftest.sed
4466
4467 test -z "$SED" && SED=sed
4468 Xsed="$SED -e 1s/^X//"
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4481 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4482 if ${ac_cv_path_GREP+:} false; then :
4483   $as_echo_n "(cached) " >&6
4484 else
4485   if test -z "$GREP"; then
4486   ac_path_GREP_found=false
4487   # Loop through the user's path and test for each of PROGNAME-LIST
4488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4490 do
4491   IFS=$as_save_IFS
4492   test -z "$as_dir" && as_dir=.
4493     for ac_prog in grep ggrep; do
4494     for ac_exec_ext in '' $ac_executable_extensions; do
4495       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4496       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4497 # Check for GNU ac_path_GREP and select it if it is found.
4498   # Check for GNU $ac_path_GREP
4499 case `"$ac_path_GREP" --version 2>&1` in
4500 *GNU*)
4501   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4502 *)
4503   ac_count=0
4504   $as_echo_n 0123456789 >"conftest.in"
4505   while :
4506   do
4507     cat "conftest.in" "conftest.in" >"conftest.tmp"
4508     mv "conftest.tmp" "conftest.in"
4509     cp "conftest.in" "conftest.nl"
4510     $as_echo 'GREP' >> "conftest.nl"
4511     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4512     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4513     as_fn_arith $ac_count + 1 && ac_count=$as_val
4514     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4515       # Best one so far, save it but keep looking for a better one
4516       ac_cv_path_GREP="$ac_path_GREP"
4517       ac_path_GREP_max=$ac_count
4518     fi
4519     # 10*(2^10) chars as input seems more than enough
4520     test $ac_count -gt 10 && break
4521   done
4522   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4523 esac
4524
4525       $ac_path_GREP_found && break 3
4526     done
4527   done
4528   done
4529 IFS=$as_save_IFS
4530   if test -z "$ac_cv_path_GREP"; then
4531     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4532   fi
4533 else
4534   ac_cv_path_GREP=$GREP
4535 fi
4536
4537 fi
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4539 $as_echo "$ac_cv_path_GREP" >&6; }
4540  GREP="$ac_cv_path_GREP"
4541
4542
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4544 $as_echo_n "checking for egrep... " >&6; }
4545 if ${ac_cv_path_EGREP+:} false; then :
4546   $as_echo_n "(cached) " >&6
4547 else
4548   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4549    then ac_cv_path_EGREP="$GREP -E"
4550    else
4551      if test -z "$EGREP"; then
4552   ac_path_EGREP_found=false
4553   # Loop through the user's path and test for each of PROGNAME-LIST
4554   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4556 do
4557   IFS=$as_save_IFS
4558   test -z "$as_dir" && as_dir=.
4559     for ac_prog in egrep; do
4560     for ac_exec_ext in '' $ac_executable_extensions; do
4561       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4562       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4563 # Check for GNU ac_path_EGREP and select it if it is found.
4564   # Check for GNU $ac_path_EGREP
4565 case `"$ac_path_EGREP" --version 2>&1` in
4566 *GNU*)
4567   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4568 *)
4569   ac_count=0
4570   $as_echo_n 0123456789 >"conftest.in"
4571   while :
4572   do
4573     cat "conftest.in" "conftest.in" >"conftest.tmp"
4574     mv "conftest.tmp" "conftest.in"
4575     cp "conftest.in" "conftest.nl"
4576     $as_echo 'EGREP' >> "conftest.nl"
4577     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4578     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4579     as_fn_arith $ac_count + 1 && ac_count=$as_val
4580     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4581       # Best one so far, save it but keep looking for a better one
4582       ac_cv_path_EGREP="$ac_path_EGREP"
4583       ac_path_EGREP_max=$ac_count
4584     fi
4585     # 10*(2^10) chars as input seems more than enough
4586     test $ac_count -gt 10 && break
4587   done
4588   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4589 esac
4590
4591       $ac_path_EGREP_found && break 3
4592     done
4593   done
4594   done
4595 IFS=$as_save_IFS
4596   if test -z "$ac_cv_path_EGREP"; then
4597     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4598   fi
4599 else
4600   ac_cv_path_EGREP=$EGREP
4601 fi
4602
4603    fi
4604 fi
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4606 $as_echo "$ac_cv_path_EGREP" >&6; }
4607  EGREP="$ac_cv_path_EGREP"
4608
4609
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4611 $as_echo_n "checking for fgrep... " >&6; }
4612 if ${ac_cv_path_FGREP+:} false; then :
4613   $as_echo_n "(cached) " >&6
4614 else
4615   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4616    then ac_cv_path_FGREP="$GREP -F"
4617    else
4618      if test -z "$FGREP"; then
4619   ac_path_FGREP_found=false
4620   # Loop through the user's path and test for each of PROGNAME-LIST
4621   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4623 do
4624   IFS=$as_save_IFS
4625   test -z "$as_dir" && as_dir=.
4626     for ac_prog in fgrep; do
4627     for ac_exec_ext in '' $ac_executable_extensions; do
4628       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4629       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4630 # Check for GNU ac_path_FGREP and select it if it is found.
4631   # Check for GNU $ac_path_FGREP
4632 case `"$ac_path_FGREP" --version 2>&1` in
4633 *GNU*)
4634   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4635 *)
4636   ac_count=0
4637   $as_echo_n 0123456789 >"conftest.in"
4638   while :
4639   do
4640     cat "conftest.in" "conftest.in" >"conftest.tmp"
4641     mv "conftest.tmp" "conftest.in"
4642     cp "conftest.in" "conftest.nl"
4643     $as_echo 'FGREP' >> "conftest.nl"
4644     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4645     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4646     as_fn_arith $ac_count + 1 && ac_count=$as_val
4647     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4648       # Best one so far, save it but keep looking for a better one
4649       ac_cv_path_FGREP="$ac_path_FGREP"
4650       ac_path_FGREP_max=$ac_count
4651     fi
4652     # 10*(2^10) chars as input seems more than enough
4653     test $ac_count -gt 10 && break
4654   done
4655   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4656 esac
4657
4658       $ac_path_FGREP_found && break 3
4659     done
4660   done
4661   done
4662 IFS=$as_save_IFS
4663   if test -z "$ac_cv_path_FGREP"; then
4664     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4665   fi
4666 else
4667   ac_cv_path_FGREP=$FGREP
4668 fi
4669
4670    fi
4671 fi
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4673 $as_echo "$ac_cv_path_FGREP" >&6; }
4674  FGREP="$ac_cv_path_FGREP"
4675
4676
4677 test -z "$GREP" && GREP=grep
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697 # Check whether --with-gnu-ld was given.
4698 if test "${with_gnu_ld+set}" = set; then :
4699   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4700 else
4701   with_gnu_ld=no
4702 fi
4703
4704 ac_prog=ld
4705 if test "$GCC" = yes; then
4706   # Check if gcc -print-prog-name=ld gives a path.
4707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4708 $as_echo_n "checking for ld used by $CC... " >&6; }
4709   case $host in
4710   *-*-mingw*)
4711     # gcc leaves a trailing carriage return which upsets mingw
4712     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4713   *)
4714     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4715   esac
4716   case $ac_prog in
4717     # Accept absolute paths.
4718     [\\/]* | ?:[\\/]*)
4719       re_direlt='/[^/][^/]*/\.\./'
4720       # Canonicalize the pathname of ld
4721       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4722       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4723         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4724       done
4725       test -z "$LD" && LD="$ac_prog"
4726       ;;
4727   "")
4728     # If it fails, then pretend we aren't using GCC.
4729     ac_prog=ld
4730     ;;
4731   *)
4732     # If it is relative, then search for the first ld in PATH.
4733     with_gnu_ld=unknown
4734     ;;
4735   esac
4736 elif test "$with_gnu_ld" = yes; then
4737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4738 $as_echo_n "checking for GNU ld... " >&6; }
4739 else
4740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4741 $as_echo_n "checking for non-GNU ld... " >&6; }
4742 fi
4743 if ${lt_cv_path_LD+:} false; then :
4744   $as_echo_n "(cached) " >&6
4745 else
4746   if test -z "$LD"; then
4747   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4748   for ac_dir in $PATH; do
4749     IFS="$lt_save_ifs"
4750     test -z "$ac_dir" && ac_dir=.
4751     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4752       lt_cv_path_LD="$ac_dir/$ac_prog"
4753       # Check to see if the program is GNU ld.  I'd rather use --version,
4754       # but apparently some variants of GNU ld only accept -v.
4755       # Break only if it was the GNU/non-GNU ld that we prefer.
4756       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4757       *GNU* | *'with BFD'*)
4758         test "$with_gnu_ld" != no && break
4759         ;;
4760       *)
4761         test "$with_gnu_ld" != yes && break
4762         ;;
4763       esac
4764     fi
4765   done
4766   IFS="$lt_save_ifs"
4767 else
4768   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4769 fi
4770 fi
4771
4772 LD="$lt_cv_path_LD"
4773 if test -n "$LD"; then
4774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4775 $as_echo "$LD" >&6; }
4776 else
4777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4779 fi
4780 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4782 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4783 if ${lt_cv_prog_gnu_ld+:} false; then :
4784   $as_echo_n "(cached) " >&6
4785 else
4786   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4787 case `$LD -v 2>&1 </dev/null` in
4788 *GNU* | *'with BFD'*)
4789   lt_cv_prog_gnu_ld=yes
4790   ;;
4791 *)
4792   lt_cv_prog_gnu_ld=no
4793   ;;
4794 esac
4795 fi
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4797 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4798 with_gnu_ld=$lt_cv_prog_gnu_ld
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4809 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4810 if ${lt_cv_path_NM+:} false; then :
4811   $as_echo_n "(cached) " >&6
4812 else
4813   if test -n "$NM"; then
4814   # Let the user override the test.
4815   lt_cv_path_NM="$NM"
4816 else
4817   lt_nm_to_check="${ac_tool_prefix}nm"
4818   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4819     lt_nm_to_check="$lt_nm_to_check nm"
4820   fi
4821   for lt_tmp_nm in $lt_nm_to_check; do
4822     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4823     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4824       IFS="$lt_save_ifs"
4825       test -z "$ac_dir" && ac_dir=.
4826       tmp_nm="$ac_dir/$lt_tmp_nm"
4827       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4828         # Check to see if the nm accepts a BSD-compat flag.
4829         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4830         #   nm: unknown option "B" ignored
4831         # Tru64's nm complains that /dev/null is an invalid object file
4832         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4833         */dev/null* | *'Invalid file or object type'*)
4834           lt_cv_path_NM="$tmp_nm -B"
4835           break
4836           ;;
4837         *)
4838           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4839           */dev/null*)
4840             lt_cv_path_NM="$tmp_nm -p"
4841             break
4842             ;;
4843           *)
4844             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4845             continue # so that we can try to find one that supports BSD flags
4846             ;;
4847           esac
4848           ;;
4849         esac
4850       fi
4851     done
4852     IFS="$lt_save_ifs"
4853   done
4854   : ${lt_cv_path_NM=no}
4855 fi
4856 fi
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4858 $as_echo "$lt_cv_path_NM" >&6; }
4859 if test "$lt_cv_path_NM" != "no"; then
4860   NM="$lt_cv_path_NM"
4861 else
4862   # Didn't find any BSD compatible name lister, look for dumpbin.
4863   if test -n "$DUMPBIN"; then :
4864     # Let the user override the test.
4865   else
4866     if test -n "$ac_tool_prefix"; then
4867   for ac_prog in dumpbin "link -dump"
4868   do
4869     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 $as_echo_n "checking for $ac_word... " >&6; }
4873 if ${ac_cv_prog_DUMPBIN+:} false; then :
4874   $as_echo_n "(cached) " >&6
4875 else
4876   if test -n "$DUMPBIN"; then
4877   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4878 else
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 for as_dir in $PATH
4881 do
4882   IFS=$as_save_IFS
4883   test -z "$as_dir" && as_dir=.
4884     for ac_exec_ext in '' $ac_executable_extensions; do
4885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4886     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4888     break 2
4889   fi
4890 done
4891   done
4892 IFS=$as_save_IFS
4893
4894 fi
4895 fi
4896 DUMPBIN=$ac_cv_prog_DUMPBIN
4897 if test -n "$DUMPBIN"; then
4898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4899 $as_echo "$DUMPBIN" >&6; }
4900 else
4901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4903 fi
4904
4905
4906     test -n "$DUMPBIN" && break
4907   done
4908 fi
4909 if test -z "$DUMPBIN"; then
4910   ac_ct_DUMPBIN=$DUMPBIN
4911   for ac_prog in dumpbin "link -dump"
4912 do
4913   # Extract the first word of "$ac_prog", so it can be a program name with args.
4914 set dummy $ac_prog; ac_word=$2
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4918   $as_echo_n "(cached) " >&6
4919 else
4920   if test -n "$ac_ct_DUMPBIN"; then
4921   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4922 else
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 for as_dir in $PATH
4925 do
4926   IFS=$as_save_IFS
4927   test -z "$as_dir" && as_dir=.
4928     for ac_exec_ext in '' $ac_executable_extensions; do
4929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4930     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932     break 2
4933   fi
4934 done
4935   done
4936 IFS=$as_save_IFS
4937
4938 fi
4939 fi
4940 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4941 if test -n "$ac_ct_DUMPBIN"; then
4942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4943 $as_echo "$ac_ct_DUMPBIN" >&6; }
4944 else
4945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4947 fi
4948
4949
4950   test -n "$ac_ct_DUMPBIN" && break
4951 done
4952
4953   if test "x$ac_ct_DUMPBIN" = x; then
4954     DUMPBIN=":"
4955   else
4956     case $cross_compiling:$ac_tool_warned in
4957 yes:)
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4960 ac_tool_warned=yes ;;
4961 esac
4962     DUMPBIN=$ac_ct_DUMPBIN
4963   fi
4964 fi
4965
4966     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4967     *COFF*)
4968       DUMPBIN="$DUMPBIN -symbols"
4969       ;;
4970     *)
4971       DUMPBIN=:
4972       ;;
4973     esac
4974   fi
4975
4976   if test "$DUMPBIN" != ":"; then
4977     NM="$DUMPBIN"
4978   fi
4979 fi
4980 test -z "$NM" && NM=nm
4981
4982
4983
4984
4985
4986
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4988 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4989 if ${lt_cv_nm_interface+:} false; then :
4990   $as_echo_n "(cached) " >&6
4991 else
4992   lt_cv_nm_interface="BSD nm"
4993   echo "int some_variable = 0;" > conftest.$ac_ext
4994   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4995   (eval "$ac_compile" 2>conftest.err)
4996   cat conftest.err >&5
4997   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4998   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4999   cat conftest.err >&5
5000   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5001   cat conftest.out >&5
5002   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5003     lt_cv_nm_interface="MS dumpbin"
5004   fi
5005   rm -f conftest*
5006 fi
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5008 $as_echo "$lt_cv_nm_interface" >&6; }
5009
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5011 $as_echo_n "checking whether ln -s works... " >&6; }
5012 LN_S=$as_ln_s
5013 if test "$LN_S" = "ln -s"; then
5014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5015 $as_echo "yes" >&6; }
5016 else
5017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5018 $as_echo "no, using $LN_S" >&6; }
5019 fi
5020
5021 # find the maximum length of command line arguments
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5023 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5024 if ${lt_cv_sys_max_cmd_len+:} false; then :
5025   $as_echo_n "(cached) " >&6
5026 else
5027     i=0
5028   teststring="ABCD"
5029
5030   case $build_os in
5031   msdosdjgpp*)
5032     # On DJGPP, this test can blow up pretty badly due to problems in libc
5033     # (any single argument exceeding 2000 bytes causes a buffer overrun
5034     # during glob expansion).  Even if it were fixed, the result of this
5035     # check would be larger than it should be.
5036     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5037     ;;
5038
5039   gnu*)
5040     # Under GNU Hurd, this test is not required because there is
5041     # no limit to the length of command line arguments.
5042     # Libtool will interpret -1 as no limit whatsoever
5043     lt_cv_sys_max_cmd_len=-1;
5044     ;;
5045
5046   cygwin* | mingw* | cegcc*)
5047     # On Win9x/ME, this test blows up -- it succeeds, but takes
5048     # about 5 minutes as the teststring grows exponentially.
5049     # Worse, since 9x/ME are not pre-emptively multitasking,
5050     # you end up with a "frozen" computer, even though with patience
5051     # the test eventually succeeds (with a max line length of 256k).
5052     # Instead, let's just punt: use the minimum linelength reported by
5053     # all of the supported platforms: 8192 (on NT/2K/XP).
5054     lt_cv_sys_max_cmd_len=8192;
5055     ;;
5056
5057   mint*)
5058     # On MiNT this can take a long time and run out of memory.
5059     lt_cv_sys_max_cmd_len=8192;
5060     ;;
5061
5062   amigaos*)
5063     # On AmigaOS with pdksh, this test takes hours, literally.
5064     # So we just punt and use a minimum line length of 8192.
5065     lt_cv_sys_max_cmd_len=8192;
5066     ;;
5067
5068   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5069     # This has been around since 386BSD, at least.  Likely further.
5070     if test -x /sbin/sysctl; then
5071       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5072     elif test -x /usr/sbin/sysctl; then
5073       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5074     else
5075       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5076     fi
5077     # And add a safety zone
5078     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5079     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5080     ;;
5081
5082   interix*)
5083     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5084     lt_cv_sys_max_cmd_len=196608
5085     ;;
5086
5087   osf*)
5088     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5089     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5090     # nice to cause kernel panics so lets avoid the loop below.
5091     # First set a reasonable default.
5092     lt_cv_sys_max_cmd_len=16384
5093     #
5094     if test -x /sbin/sysconfig; then
5095       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5096         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5097       esac
5098     fi
5099     ;;
5100   sco3.2v5*)
5101     lt_cv_sys_max_cmd_len=102400
5102     ;;
5103   sysv5* | sco5v6* | sysv4.2uw2*)
5104     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5105     if test -n "$kargmax"; then
5106       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5107     else
5108       lt_cv_sys_max_cmd_len=32768
5109     fi
5110     ;;
5111   *)
5112     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5113     if test -n "$lt_cv_sys_max_cmd_len"; then
5114       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5115       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5116     else
5117       # Make teststring a little bigger before we do anything with it.
5118       # a 1K string should be a reasonable start.
5119       for i in 1 2 3 4 5 6 7 8 ; do
5120         teststring=$teststring$teststring
5121       done
5122       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5123       # If test is not a shell built-in, we'll probably end up computing a
5124       # maximum length that is only half of the actual maximum length, but
5125       # we can't tell.
5126       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5127                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5128               test $i != 17 # 1/2 MB should be enough
5129       do
5130         i=`expr $i + 1`
5131         teststring=$teststring$teststring
5132       done
5133       # Only check the string length outside the loop.
5134       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5135       teststring=
5136       # Add a significant safety factor because C++ compilers can tack on
5137       # massive amounts of additional arguments before passing them to the
5138       # linker.  It appears as though 1/2 is a usable value.
5139       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5140     fi
5141     ;;
5142   esac
5143
5144 fi
5145
5146 if test -n $lt_cv_sys_max_cmd_len ; then
5147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5148 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5149 else
5150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5151 $as_echo "none" >&6; }
5152 fi
5153 max_cmd_len=$lt_cv_sys_max_cmd_len
5154
5155
5156
5157
5158
5159
5160 : ${CP="cp -f"}
5161 : ${MV="mv -f"}
5162 : ${RM="rm -f"}
5163
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5165 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5166 # Try some XSI features
5167 xsi_shell=no
5168 ( _lt_dummy="a/b/c"
5169   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5170       = c,a/b,b/c, \
5171     && eval 'test $(( 1 + 1 )) -eq 2 \
5172     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5173   && xsi_shell=yes
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5175 $as_echo "$xsi_shell" >&6; }
5176
5177
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5179 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5180 lt_shell_append=no
5181 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5182     >/dev/null 2>&1 \
5183   && lt_shell_append=yes
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5185 $as_echo "$lt_shell_append" >&6; }
5186
5187
5188 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5189   lt_unset=unset
5190 else
5191   lt_unset=false
5192 fi
5193
5194
5195
5196
5197
5198 # test EBCDIC or ASCII
5199 case `echo X|tr X '\101'` in
5200  A) # ASCII based system
5201     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5202   lt_SP2NL='tr \040 \012'
5203   lt_NL2SP='tr \015\012 \040\040'
5204   ;;
5205  *) # EBCDIC based system
5206   lt_SP2NL='tr \100 \n'
5207   lt_NL2SP='tr \r\n \100\100'
5208   ;;
5209 esac
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5220 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5221 if ${lt_cv_to_host_file_cmd+:} false; then :
5222   $as_echo_n "(cached) " >&6
5223 else
5224   case $host in
5225   *-*-mingw* )
5226     case $build in
5227       *-*-mingw* ) # actually msys
5228         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5229         ;;
5230       *-*-cygwin* )
5231         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5232         ;;
5233       * ) # otherwise, assume *nix
5234         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5235         ;;
5236     esac
5237     ;;
5238   *-*-cygwin* )
5239     case $build in
5240       *-*-mingw* ) # actually msys
5241         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5242         ;;
5243       *-*-cygwin* )
5244         lt_cv_to_host_file_cmd=func_convert_file_noop
5245         ;;
5246       * ) # otherwise, assume *nix
5247         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5248         ;;
5249     esac
5250     ;;
5251   * ) # unhandled hosts (and "normal" native builds)
5252     lt_cv_to_host_file_cmd=func_convert_file_noop
5253     ;;
5254 esac
5255
5256 fi
5257
5258 to_host_file_cmd=$lt_cv_to_host_file_cmd
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5260 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5261
5262
5263
5264
5265
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5267 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5268 if ${lt_cv_to_tool_file_cmd+:} false; then :
5269   $as_echo_n "(cached) " >&6
5270 else
5271   #assume ordinary cross tools, or native build.
5272 lt_cv_to_tool_file_cmd=func_convert_file_noop
5273 case $host in
5274   *-*-mingw* )
5275     case $build in
5276       *-*-mingw* ) # actually msys
5277         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5278         ;;
5279     esac
5280     ;;
5281 esac
5282
5283 fi
5284
5285 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5287 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5288
5289
5290
5291
5292
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5294 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5295 if ${lt_cv_ld_reload_flag+:} false; then :
5296   $as_echo_n "(cached) " >&6
5297 else
5298   lt_cv_ld_reload_flag='-r'
5299 fi
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5301 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5302 reload_flag=$lt_cv_ld_reload_flag
5303 case $reload_flag in
5304 "" | " "*) ;;
5305 *) reload_flag=" $reload_flag" ;;
5306 esac
5307 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5308 case $host_os in
5309   cygwin* | mingw* | pw32* | cegcc*)
5310     if test "$GCC" != yes; then
5311       reload_cmds=false
5312     fi
5313     ;;
5314   darwin*)
5315     if test "$GCC" = yes; then
5316       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5317     else
5318       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5319     fi
5320     ;;
5321 esac
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331 if test -n "$ac_tool_prefix"; then
5332   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5333 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_OBJDUMP+:} false; then :
5337   $as_echo_n "(cached) " >&6
5338 else
5339   if test -n "$OBJDUMP"; then
5340   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5341 else
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343 for as_dir in $PATH
5344 do
5345   IFS=$as_save_IFS
5346   test -z "$as_dir" && as_dir=.
5347     for ac_exec_ext in '' $ac_executable_extensions; do
5348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5349     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351     break 2
5352   fi
5353 done
5354   done
5355 IFS=$as_save_IFS
5356
5357 fi
5358 fi
5359 OBJDUMP=$ac_cv_prog_OBJDUMP
5360 if test -n "$OBJDUMP"; then
5361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5362 $as_echo "$OBJDUMP" >&6; }
5363 else
5364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5366 fi
5367
5368
5369 fi
5370 if test -z "$ac_cv_prog_OBJDUMP"; then
5371   ac_ct_OBJDUMP=$OBJDUMP
5372   # Extract the first word of "objdump", so it can be a program name with args.
5373 set dummy objdump; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5377   $as_echo_n "(cached) " >&6
5378 else
5379   if test -n "$ac_ct_OBJDUMP"; then
5380   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5384 do
5385   IFS=$as_save_IFS
5386   test -z "$as_dir" && as_dir=.
5387     for ac_exec_ext in '' $ac_executable_extensions; do
5388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5389     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391     break 2
5392   fi
5393 done
5394   done
5395 IFS=$as_save_IFS
5396
5397 fi
5398 fi
5399 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5400 if test -n "$ac_ct_OBJDUMP"; then
5401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5402 $as_echo "$ac_ct_OBJDUMP" >&6; }
5403 else
5404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5406 fi
5407
5408   if test "x$ac_ct_OBJDUMP" = x; then
5409     OBJDUMP="false"
5410   else
5411     case $cross_compiling:$ac_tool_warned in
5412 yes:)
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5415 ac_tool_warned=yes ;;
5416 esac
5417     OBJDUMP=$ac_ct_OBJDUMP
5418   fi
5419 else
5420   OBJDUMP="$ac_cv_prog_OBJDUMP"
5421 fi
5422
5423 test -z "$OBJDUMP" && OBJDUMP=objdump
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5434 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5435 if ${lt_cv_deplibs_check_method+:} false; then :
5436   $as_echo_n "(cached) " >&6
5437 else
5438   lt_cv_file_magic_cmd='$MAGIC_CMD'
5439 lt_cv_file_magic_test_file=
5440 lt_cv_deplibs_check_method='unknown'
5441 # Need to set the preceding variable on all platforms that support
5442 # interlibrary dependencies.
5443 # 'none' -- dependencies not supported.
5444 # `unknown' -- same as none, but documents that we really don't know.
5445 # 'pass_all' -- all dependencies passed with no checks.
5446 # 'test_compile' -- check by making test program.
5447 # 'file_magic [[regex]]' -- check by looking for files in library path
5448 # which responds to the $file_magic_cmd with a given extended regex.
5449 # If you have `file' or equivalent on your system and you're not sure
5450 # whether `pass_all' will *always* work, you probably want this one.
5451
5452 case $host_os in
5453 aix[4-9]*)
5454   lt_cv_deplibs_check_method=pass_all
5455   ;;
5456
5457 beos*)
5458   lt_cv_deplibs_check_method=pass_all
5459   ;;
5460
5461 bsdi[45]*)
5462   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5463   lt_cv_file_magic_cmd='/usr/bin/file -L'
5464   lt_cv_file_magic_test_file=/shlib/libc.so
5465   ;;
5466
5467 cygwin*)
5468   # func_win32_libid is a shell function defined in ltmain.sh
5469   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5470   lt_cv_file_magic_cmd='func_win32_libid'
5471   ;;
5472
5473 mingw* | pw32*)
5474   # Base MSYS/MinGW do not provide the 'file' command needed by
5475   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5476   # unless we find 'file', for example because we are cross-compiling.
5477   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5478   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5479     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5480     lt_cv_file_magic_cmd='func_win32_libid'
5481   else
5482     # Keep this pattern in sync with the one in func_win32_libid.
5483     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5484     lt_cv_file_magic_cmd='$OBJDUMP -f'
5485   fi
5486   ;;
5487
5488 cegcc*)
5489   # use the weaker test based on 'objdump'. See mingw*.
5490   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5491   lt_cv_file_magic_cmd='$OBJDUMP -f'
5492   ;;
5493
5494 darwin* | rhapsody*)
5495   lt_cv_deplibs_check_method=pass_all
5496   ;;
5497
5498 freebsd* | dragonfly*)
5499   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5500     case $host_cpu in
5501     i*86 )
5502       # Not sure whether the presence of OpenBSD here was a mistake.
5503       # Let's accept both of them until this is cleared up.
5504       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5505       lt_cv_file_magic_cmd=/usr/bin/file
5506       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5507       ;;
5508     esac
5509   else
5510     lt_cv_deplibs_check_method=pass_all
5511   fi
5512   ;;
5513
5514 gnu*)
5515   lt_cv_deplibs_check_method=pass_all
5516   ;;
5517
5518 haiku*)
5519   lt_cv_deplibs_check_method=pass_all
5520   ;;
5521
5522 hpux10.20* | hpux11*)
5523   lt_cv_file_magic_cmd=/usr/bin/file
5524   case $host_cpu in
5525   ia64*)
5526     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5527     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5528     ;;
5529   hppa*64*)
5530     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]'
5531     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5532     ;;
5533   *)
5534     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5535     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5536     ;;
5537   esac
5538   ;;
5539
5540 interix[3-9]*)
5541   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5542   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5543   ;;
5544
5545 irix5* | irix6* | nonstopux*)
5546   case $LD in
5547   *-32|*"-32 ") libmagic=32-bit;;
5548   *-n32|*"-n32 ") libmagic=N32;;
5549   *-64|*"-64 ") libmagic=64-bit;;
5550   *) libmagic=never-match;;
5551   esac
5552   lt_cv_deplibs_check_method=pass_all
5553   ;;
5554
5555 # This must be Linux ELF.
5556 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5557   lt_cv_deplibs_check_method=pass_all
5558   ;;
5559
5560 netbsd*)
5561   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5562     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5563   else
5564     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5565   fi
5566   ;;
5567
5568 newos6*)
5569   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5570   lt_cv_file_magic_cmd=/usr/bin/file
5571   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5572   ;;
5573
5574 *nto* | *qnx*)
5575   lt_cv_deplibs_check_method=pass_all
5576   ;;
5577
5578 openbsd*)
5579   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5580     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5581   else
5582     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5583   fi
5584   ;;
5585
5586 osf3* | osf4* | osf5*)
5587   lt_cv_deplibs_check_method=pass_all
5588   ;;
5589
5590 rdos*)
5591   lt_cv_deplibs_check_method=pass_all
5592   ;;
5593
5594 solaris*)
5595   lt_cv_deplibs_check_method=pass_all
5596   ;;
5597
5598 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5599   lt_cv_deplibs_check_method=pass_all
5600   ;;
5601
5602 sysv4 | sysv4.3*)
5603   case $host_vendor in
5604   motorola)
5605     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]'
5606     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5607     ;;
5608   ncr)
5609     lt_cv_deplibs_check_method=pass_all
5610     ;;
5611   sequent)
5612     lt_cv_file_magic_cmd='/bin/file'
5613     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5614     ;;
5615   sni)
5616     lt_cv_file_magic_cmd='/bin/file'
5617     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5618     lt_cv_file_magic_test_file=/lib/libc.so
5619     ;;
5620   siemens)
5621     lt_cv_deplibs_check_method=pass_all
5622     ;;
5623   pc)
5624     lt_cv_deplibs_check_method=pass_all
5625     ;;
5626   esac
5627   ;;
5628
5629 tpf*)
5630   lt_cv_deplibs_check_method=pass_all
5631   ;;
5632 esac
5633
5634 fi
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5636 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5637
5638 file_magic_glob=
5639 want_nocaseglob=no
5640 if test "$build" = "$host"; then
5641   case $host_os in
5642   mingw* | pw32*)
5643     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5644       want_nocaseglob=yes
5645     else
5646       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5647     fi
5648     ;;
5649   esac
5650 fi
5651
5652 file_magic_cmd=$lt_cv_file_magic_cmd
5653 deplibs_check_method=$lt_cv_deplibs_check_method
5654 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677 if test -n "$ac_tool_prefix"; then
5678   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5679 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if ${ac_cv_prog_DLLTOOL+:} false; then :
5683   $as_echo_n "(cached) " >&6
5684 else
5685   if test -n "$DLLTOOL"; then
5686   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5687 else
5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5689 for as_dir in $PATH
5690 do
5691   IFS=$as_save_IFS
5692   test -z "$as_dir" && as_dir=.
5693     for ac_exec_ext in '' $ac_executable_extensions; do
5694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5695     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5697     break 2
5698   fi
5699 done
5700   done
5701 IFS=$as_save_IFS
5702
5703 fi
5704 fi
5705 DLLTOOL=$ac_cv_prog_DLLTOOL
5706 if test -n "$DLLTOOL"; then
5707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5708 $as_echo "$DLLTOOL" >&6; }
5709 else
5710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711 $as_echo "no" >&6; }
5712 fi
5713
5714
5715 fi
5716 if test -z "$ac_cv_prog_DLLTOOL"; then
5717   ac_ct_DLLTOOL=$DLLTOOL
5718   # Extract the first word of "dlltool", so it can be a program name with args.
5719 set dummy dlltool; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5723   $as_echo_n "(cached) " >&6
5724 else
5725   if test -n "$ac_ct_DLLTOOL"; then
5726   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5727 else
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 for as_dir in $PATH
5730 do
5731   IFS=$as_save_IFS
5732   test -z "$as_dir" && as_dir=.
5733     for ac_exec_ext in '' $ac_executable_extensions; do
5734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737     break 2
5738   fi
5739 done
5740   done
5741 IFS=$as_save_IFS
5742
5743 fi
5744 fi
5745 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5746 if test -n "$ac_ct_DLLTOOL"; then
5747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5748 $as_echo "$ac_ct_DLLTOOL" >&6; }
5749 else
5750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5752 fi
5753
5754   if test "x$ac_ct_DLLTOOL" = x; then
5755     DLLTOOL="false"
5756   else
5757     case $cross_compiling:$ac_tool_warned in
5758 yes:)
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761 ac_tool_warned=yes ;;
5762 esac
5763     DLLTOOL=$ac_ct_DLLTOOL
5764   fi
5765 else
5766   DLLTOOL="$ac_cv_prog_DLLTOOL"
5767 fi
5768
5769 test -z "$DLLTOOL" && DLLTOOL=dlltool
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5781 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5782 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5783   $as_echo_n "(cached) " >&6
5784 else
5785   lt_cv_sharedlib_from_linklib_cmd='unknown'
5786
5787 case $host_os in
5788 cygwin* | mingw* | pw32* | cegcc*)
5789   # two different shell functions defined in ltmain.sh
5790   # decide which to use based on capabilities of $DLLTOOL
5791   case `$DLLTOOL --help 2>&1` in
5792   *--identify-strict*)
5793     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5794     ;;
5795   *)
5796     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5797     ;;
5798   esac
5799   ;;
5800 *)
5801   # fallback: assume linklib IS sharedlib
5802   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5803   ;;
5804 esac
5805
5806 fi
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5808 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5809 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5810 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5811
5812
5813
5814
5815
5816
5817
5818
5819 if test -n "$ac_tool_prefix"; then
5820   for ac_prog in ar
5821   do
5822     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_prog_AR+:} false; then :
5827   $as_echo_n "(cached) " >&6
5828 else
5829   if test -n "$AR"; then
5830   ac_cv_prog_AR="$AR" # Let the user override the test.
5831 else
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 for as_dir in $PATH
5834 do
5835   IFS=$as_save_IFS
5836   test -z "$as_dir" && as_dir=.
5837     for ac_exec_ext in '' $ac_executable_extensions; do
5838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5839     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841     break 2
5842   fi
5843 done
5844   done
5845 IFS=$as_save_IFS
5846
5847 fi
5848 fi
5849 AR=$ac_cv_prog_AR
5850 if test -n "$AR"; then
5851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5852 $as_echo "$AR" >&6; }
5853 else
5854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5856 fi
5857
5858
5859     test -n "$AR" && break
5860   done
5861 fi
5862 if test -z "$AR"; then
5863   ac_ct_AR=$AR
5864   for ac_prog in ar
5865 do
5866   # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy $ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5871   $as_echo_n "(cached) " >&6
5872 else
5873   if test -n "$ac_ct_AR"; then
5874   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5878 do
5879   IFS=$as_save_IFS
5880   test -z "$as_dir" && as_dir=.
5881     for ac_exec_ext in '' $ac_executable_extensions; do
5882   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883     ac_cv_prog_ac_ct_AR="$ac_prog"
5884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885     break 2
5886   fi
5887 done
5888   done
5889 IFS=$as_save_IFS
5890
5891 fi
5892 fi
5893 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5894 if test -n "$ac_ct_AR"; then
5895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5896 $as_echo "$ac_ct_AR" >&6; }
5897 else
5898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5900 fi
5901
5902
5903   test -n "$ac_ct_AR" && break
5904 done
5905
5906   if test "x$ac_ct_AR" = x; then
5907     AR="false"
5908   else
5909     case $cross_compiling:$ac_tool_warned in
5910 yes:)
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5913 ac_tool_warned=yes ;;
5914 esac
5915     AR=$ac_ct_AR
5916   fi
5917 fi
5918
5919 : ${AR=ar}
5920 : ${AR_FLAGS=cru}
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5933 $as_echo_n "checking for archiver @FILE support... " >&6; }
5934 if ${lt_cv_ar_at_file+:} false; then :
5935   $as_echo_n "(cached) " >&6
5936 else
5937   lt_cv_ar_at_file=no
5938    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5939 /* end confdefs.h.  */
5940
5941 int
5942 main ()
5943 {
5944
5945   ;
5946   return 0;
5947 }
5948 _ACEOF
5949 if ac_fn_c_try_compile "$LINENO"; then :
5950   echo conftest.$ac_objext > conftest.lst
5951       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5952       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5953   (eval $lt_ar_try) 2>&5
5954   ac_status=$?
5955   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5956   test $ac_status = 0; }
5957       if test "$ac_status" -eq 0; then
5958         # Ensure the archiver fails upon bogus file names.
5959         rm -f conftest.$ac_objext libconftest.a
5960         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5961   (eval $lt_ar_try) 2>&5
5962   ac_status=$?
5963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5964   test $ac_status = 0; }
5965         if test "$ac_status" -ne 0; then
5966           lt_cv_ar_at_file=@
5967         fi
5968       fi
5969       rm -f conftest.* libconftest.a
5970
5971 fi
5972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5973
5974 fi
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5976 $as_echo "$lt_cv_ar_at_file" >&6; }
5977
5978 if test "x$lt_cv_ar_at_file" = xno; then
5979   archiver_list_spec=
5980 else
5981   archiver_list_spec=$lt_cv_ar_at_file
5982 fi
5983
5984
5985
5986
5987
5988
5989
5990 if test -n "$ac_tool_prefix"; then
5991   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5992 set dummy ${ac_tool_prefix}strip; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_STRIP+:} false; then :
5996   $as_echo_n "(cached) " >&6
5997 else
5998   if test -n "$STRIP"; then
5999   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6000 else
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 for as_dir in $PATH
6003 do
6004   IFS=$as_save_IFS
6005   test -z "$as_dir" && as_dir=.
6006     for ac_exec_ext in '' $ac_executable_extensions; do
6007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6010     break 2
6011   fi
6012 done
6013   done
6014 IFS=$as_save_IFS
6015
6016 fi
6017 fi
6018 STRIP=$ac_cv_prog_STRIP
6019 if test -n "$STRIP"; then
6020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6021 $as_echo "$STRIP" >&6; }
6022 else
6023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6025 fi
6026
6027
6028 fi
6029 if test -z "$ac_cv_prog_STRIP"; then
6030   ac_ct_STRIP=$STRIP
6031   # Extract the first word of "strip", so it can be a program name with args.
6032 set dummy strip; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6036   $as_echo_n "(cached) " >&6
6037 else
6038   if test -n "$ac_ct_STRIP"; then
6039   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6040 else
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH
6043 do
6044   IFS=$as_save_IFS
6045   test -z "$as_dir" && as_dir=.
6046     for ac_exec_ext in '' $ac_executable_extensions; do
6047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6048     ac_cv_prog_ac_ct_STRIP="strip"
6049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050     break 2
6051   fi
6052 done
6053   done
6054 IFS=$as_save_IFS
6055
6056 fi
6057 fi
6058 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6059 if test -n "$ac_ct_STRIP"; then
6060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6061 $as_echo "$ac_ct_STRIP" >&6; }
6062 else
6063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6065 fi
6066
6067   if test "x$ac_ct_STRIP" = x; then
6068     STRIP=":"
6069   else
6070     case $cross_compiling:$ac_tool_warned in
6071 yes:)
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6074 ac_tool_warned=yes ;;
6075 esac
6076     STRIP=$ac_ct_STRIP
6077   fi
6078 else
6079   STRIP="$ac_cv_prog_STRIP"
6080 fi
6081
6082 test -z "$STRIP" && STRIP=:
6083
6084
6085
6086
6087
6088
6089 if test -n "$ac_tool_prefix"; then
6090   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6091 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6094 if ${ac_cv_prog_RANLIB+:} false; then :
6095   $as_echo_n "(cached) " >&6
6096 else
6097   if test -n "$RANLIB"; then
6098   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6099 else
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 for as_dir in $PATH
6102 do
6103   IFS=$as_save_IFS
6104   test -z "$as_dir" && as_dir=.
6105     for ac_exec_ext in '' $ac_executable_extensions; do
6106   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109     break 2
6110   fi
6111 done
6112   done
6113 IFS=$as_save_IFS
6114
6115 fi
6116 fi
6117 RANLIB=$ac_cv_prog_RANLIB
6118 if test -n "$RANLIB"; then
6119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6120 $as_echo "$RANLIB" >&6; }
6121 else
6122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6124 fi
6125
6126
6127 fi
6128 if test -z "$ac_cv_prog_RANLIB"; then
6129   ac_ct_RANLIB=$RANLIB
6130   # Extract the first word of "ranlib", so it can be a program name with args.
6131 set dummy ranlib; ac_word=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133 $as_echo_n "checking for $ac_word... " >&6; }
6134 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6135   $as_echo_n "(cached) " >&6
6136 else
6137   if test -n "$ac_ct_RANLIB"; then
6138   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6142 do
6143   IFS=$as_save_IFS
6144   test -z "$as_dir" && as_dir=.
6145     for ac_exec_ext in '' $ac_executable_extensions; do
6146   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6147     ac_cv_prog_ac_ct_RANLIB="ranlib"
6148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6149     break 2
6150   fi
6151 done
6152   done
6153 IFS=$as_save_IFS
6154
6155 fi
6156 fi
6157 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6158 if test -n "$ac_ct_RANLIB"; then
6159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6160 $as_echo "$ac_ct_RANLIB" >&6; }
6161 else
6162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 $as_echo "no" >&6; }
6164 fi
6165
6166   if test "x$ac_ct_RANLIB" = x; then
6167     RANLIB=":"
6168   else
6169     case $cross_compiling:$ac_tool_warned in
6170 yes:)
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6173 ac_tool_warned=yes ;;
6174 esac
6175     RANLIB=$ac_ct_RANLIB
6176   fi
6177 else
6178   RANLIB="$ac_cv_prog_RANLIB"
6179 fi
6180
6181 test -z "$RANLIB" && RANLIB=:
6182
6183
6184
6185
6186
6187
6188 # Determine commands to create old-style static archives.
6189 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6190 old_postinstall_cmds='chmod 644 $oldlib'
6191 old_postuninstall_cmds=
6192
6193 if test -n "$RANLIB"; then
6194   case $host_os in
6195   openbsd*)
6196     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6197     ;;
6198   *)
6199     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6200     ;;
6201   esac
6202   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6203 fi
6204
6205 case $host_os in
6206   darwin*)
6207     lock_old_archive_extraction=yes ;;
6208   *)
6209     lock_old_archive_extraction=no ;;
6210 esac
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250 # If no C compiler was specified, use CC.
6251 LTCC=${LTCC-"$CC"}
6252
6253 # If no C compiler flags were specified, use CFLAGS.
6254 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6255
6256 # Allow CC to be a program name with arguments.
6257 compiler=$CC
6258
6259
6260 # Check for command to grab the raw symbol name followed by C symbol from nm.
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6262 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6263 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6264   $as_echo_n "(cached) " >&6
6265 else
6266
6267 # These are sane defaults that work on at least a few old systems.
6268 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6269
6270 # Character class describing NM global symbol codes.
6271 symcode='[BCDEGRST]'
6272
6273 # Regexp to match symbols that can be accessed directly from C.
6274 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6275
6276 # Define system-specific variables.
6277 case $host_os in
6278 aix*)
6279   symcode='[BCDT]'
6280   ;;
6281 cygwin* | mingw* | pw32* | cegcc*)
6282   symcode='[ABCDGISTW]'
6283   ;;
6284 hpux*)
6285   if test "$host_cpu" = ia64; then
6286     symcode='[ABCDEGRST]'
6287   fi
6288   ;;
6289 irix* | nonstopux*)
6290   symcode='[BCDEGRST]'
6291   ;;
6292 osf*)
6293   symcode='[BCDEGQRST]'
6294   ;;
6295 solaris*)
6296   symcode='[BDRT]'
6297   ;;
6298 sco3.2v5*)
6299   symcode='[DT]'
6300   ;;
6301 sysv4.2uw2*)
6302   symcode='[DT]'
6303   ;;
6304 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6305   symcode='[ABDT]'
6306   ;;
6307 sysv4)
6308   symcode='[DFNSTU]'
6309   ;;
6310 esac
6311
6312 # If we're using GNU nm, then use its standard symbol codes.
6313 case `$NM -V 2>&1` in
6314 *GNU* | *'with BFD'*)
6315   symcode='[ABCDGIRSTW]' ;;
6316 esac
6317
6318 # Transform an extracted symbol line into a proper C declaration.
6319 # Some systems (esp. on ia64) link data and code symbols differently,
6320 # so use this general approach.
6321 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6322
6323 # Transform an extracted symbol line into symbol name and symbol address
6324 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6325 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'"
6326
6327 # Handle CRLF in mingw tool chain
6328 opt_cr=
6329 case $build_os in
6330 mingw*)
6331   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6332   ;;
6333 esac
6334
6335 # Try without a prefix underscore, then with it.
6336 for ac_symprfx in "" "_"; do
6337
6338   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6339   symxfrm="\\1 $ac_symprfx\\2 \\2"
6340
6341   # Write the raw and C identifiers.
6342   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6343     # Fake it for dumpbin and say T for any non-static function
6344     # and D for any global variable.
6345     # Also find C++ and __fastcall symbols from MSVC++,
6346     # which start with @ or ?.
6347     lt_cv_sys_global_symbol_pipe="$AWK '"\
6348 "     {last_section=section; section=\$ 3};"\
6349 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6350 "     \$ 0!~/External *\|/{next};"\
6351 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6352 "     {if(hide[section]) next};"\
6353 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6354 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6355 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6356 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6357 "     ' prfx=^$ac_symprfx"
6358   else
6359     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6360   fi
6361   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6362
6363   # Check to see that the pipe works correctly.
6364   pipe_works=no
6365
6366   rm -f conftest*
6367   cat > conftest.$ac_ext <<_LT_EOF
6368 #ifdef __cplusplus
6369 extern "C" {
6370 #endif
6371 char nm_test_var;
6372 void nm_test_func(void);
6373 void nm_test_func(void){}
6374 #ifdef __cplusplus
6375 }
6376 #endif
6377 int main(){nm_test_var='a';nm_test_func();return(0);}
6378 _LT_EOF
6379
6380   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6381   (eval $ac_compile) 2>&5
6382   ac_status=$?
6383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384   test $ac_status = 0; }; then
6385     # Now try to grab the symbols.
6386     nlist=conftest.nm
6387     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6388   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6389   ac_status=$?
6390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6391   test $ac_status = 0; } && test -s "$nlist"; then
6392       # Try sorting and uniquifying the output.
6393       if sort "$nlist" | uniq > "$nlist"T; then
6394         mv -f "$nlist"T "$nlist"
6395       else
6396         rm -f "$nlist"T
6397       fi
6398
6399       # Make sure that we snagged all the symbols we need.
6400       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6401         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6402           cat <<_LT_EOF > conftest.$ac_ext
6403 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6404 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6405 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6406    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6407 # define LT_DLSYM_CONST
6408 #elif defined(__osf__)
6409 /* This system does not cope well with relocations in const data.  */
6410 # define LT_DLSYM_CONST
6411 #else
6412 # define LT_DLSYM_CONST const
6413 #endif
6414
6415 #ifdef __cplusplus
6416 extern "C" {
6417 #endif
6418
6419 _LT_EOF
6420           # Now generate the symbol file.
6421           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6422
6423           cat <<_LT_EOF >> conftest.$ac_ext
6424
6425 /* The mapping between symbol names and symbols.  */
6426 LT_DLSYM_CONST struct {
6427   const char *name;
6428   void       *address;
6429 }
6430 lt__PROGRAM__LTX_preloaded_symbols[] =
6431 {
6432   { "@PROGRAM@", (void *) 0 },
6433 _LT_EOF
6434           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6435           cat <<\_LT_EOF >> conftest.$ac_ext
6436   {0, (void *) 0}
6437 };
6438
6439 /* This works around a problem in FreeBSD linker */
6440 #ifdef FREEBSD_WORKAROUND
6441 static const void *lt_preloaded_setup() {
6442   return lt__PROGRAM__LTX_preloaded_symbols;
6443 }
6444 #endif
6445
6446 #ifdef __cplusplus
6447 }
6448 #endif
6449 _LT_EOF
6450           # Now try linking the two files.
6451           mv conftest.$ac_objext conftstm.$ac_objext
6452           lt_globsym_save_LIBS=$LIBS
6453           lt_globsym_save_CFLAGS=$CFLAGS
6454           LIBS="conftstm.$ac_objext"
6455           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6456           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6457   (eval $ac_link) 2>&5
6458   ac_status=$?
6459   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6460   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6461             pipe_works=yes
6462           fi
6463           LIBS=$lt_globsym_save_LIBS
6464           CFLAGS=$lt_globsym_save_CFLAGS
6465         else
6466           echo "cannot find nm_test_func in $nlist" >&5
6467         fi
6468       else
6469         echo "cannot find nm_test_var in $nlist" >&5
6470       fi
6471     else
6472       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6473     fi
6474   else
6475     echo "$progname: failed program was:" >&5
6476     cat conftest.$ac_ext >&5
6477   fi
6478   rm -rf conftest* conftst*
6479
6480   # Do not use the global_symbol_pipe unless it works.
6481   if test "$pipe_works" = yes; then
6482     break
6483   else
6484     lt_cv_sys_global_symbol_pipe=
6485   fi
6486 done
6487
6488 fi
6489
6490 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6491   lt_cv_sys_global_symbol_to_cdecl=
6492 fi
6493 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6495 $as_echo "failed" >&6; }
6496 else
6497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6498 $as_echo "ok" >&6; }
6499 fi
6500
6501 # Response file support.
6502 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6503   nm_file_list_spec='@'
6504 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6505   nm_file_list_spec='@'
6506 fi
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6535 $as_echo_n "checking for sysroot... " >&6; }
6536
6537 # Check whether --with-sysroot was given.
6538 if test "${with_sysroot+set}" = set; then :
6539   withval=$with_sysroot;
6540 else
6541   with_sysroot=no
6542 fi
6543
6544
6545 lt_sysroot=
6546 case ${with_sysroot} in #(
6547  yes)
6548    if test "$GCC" = yes; then
6549      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6550    fi
6551    ;; #(
6552  /*)
6553    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6554    ;; #(
6555  no|'')
6556    ;; #(
6557  *)
6558    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6559 $as_echo "${with_sysroot}" >&6; }
6560    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6561    ;;
6562 esac
6563
6564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6565 $as_echo "${lt_sysroot:-no}" >&6; }
6566
6567
6568
6569
6570
6571 # Check whether --enable-libtool-lock was given.
6572 if test "${enable_libtool_lock+set}" = set; then :
6573   enableval=$enable_libtool_lock;
6574 fi
6575
6576 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6577
6578 # Some flags need to be propagated to the compiler or linker for good
6579 # libtool support.
6580 case $host in
6581 ia64-*-hpux*)
6582   # Find out which ABI we are using.
6583   echo 'int i;' > conftest.$ac_ext
6584   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6585   (eval $ac_compile) 2>&5
6586   ac_status=$?
6587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6588   test $ac_status = 0; }; then
6589     case `/usr/bin/file conftest.$ac_objext` in
6590       *ELF-32*)
6591         HPUX_IA64_MODE="32"
6592         ;;
6593       *ELF-64*)
6594         HPUX_IA64_MODE="64"
6595         ;;
6596     esac
6597   fi
6598   rm -rf conftest*
6599   ;;
6600 *-*-irix6*)
6601   # Find out which ABI we are using.
6602   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6603   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6604   (eval $ac_compile) 2>&5
6605   ac_status=$?
6606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6607   test $ac_status = 0; }; then
6608     if test "$lt_cv_prog_gnu_ld" = yes; then
6609       case `/usr/bin/file conftest.$ac_objext` in
6610         *32-bit*)
6611           LD="${LD-ld} -melf32bsmip"
6612           ;;
6613         *N32*)
6614           LD="${LD-ld} -melf32bmipn32"
6615           ;;
6616         *64-bit*)
6617           LD="${LD-ld} -melf64bmip"
6618         ;;
6619       esac
6620     else
6621       case `/usr/bin/file conftest.$ac_objext` in
6622         *32-bit*)
6623           LD="${LD-ld} -32"
6624           ;;
6625         *N32*)
6626           LD="${LD-ld} -n32"
6627           ;;
6628         *64-bit*)
6629           LD="${LD-ld} -64"
6630           ;;
6631       esac
6632     fi
6633   fi
6634   rm -rf conftest*
6635   ;;
6636
6637 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6638 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6639   # Find out which ABI we are using.
6640   echo 'int i;' > conftest.$ac_ext
6641   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6642   (eval $ac_compile) 2>&5
6643   ac_status=$?
6644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6645   test $ac_status = 0; }; then
6646     case `/usr/bin/file conftest.o` in
6647       *32-bit*)
6648         case $host in
6649           x86_64-*kfreebsd*-gnu)
6650             LD="${LD-ld} -m elf_i386_fbsd"
6651             ;;
6652           x86_64-*linux*)
6653             LD="${LD-ld} -m elf_i386"
6654             ;;
6655           ppc64-*linux*|powerpc64-*linux*)
6656             LD="${LD-ld} -m elf32ppclinux"
6657             ;;
6658           s390x-*linux*)
6659             LD="${LD-ld} -m elf_s390"
6660             ;;
6661           sparc64-*linux*)
6662             LD="${LD-ld} -m elf32_sparc"
6663             ;;
6664         esac
6665         ;;
6666       *64-bit*)
6667         case $host in
6668           x86_64-*kfreebsd*-gnu)
6669             LD="${LD-ld} -m elf_x86_64_fbsd"
6670             ;;
6671           x86_64-*linux*)
6672             LD="${LD-ld} -m elf_x86_64"
6673             ;;
6674           ppc*-*linux*|powerpc*-*linux*)
6675             LD="${LD-ld} -m elf64ppc"
6676             ;;
6677           s390*-*linux*|s390*-*tpf*)
6678             LD="${LD-ld} -m elf64_s390"
6679             ;;
6680           sparc*-*linux*)
6681             LD="${LD-ld} -m elf64_sparc"
6682             ;;
6683         esac
6684         ;;
6685     esac
6686   fi
6687   rm -rf conftest*
6688   ;;
6689
6690 *-*-sco3.2v5*)
6691   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6692   SAVE_CFLAGS="$CFLAGS"
6693   CFLAGS="$CFLAGS -belf"
6694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6695 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6696 if ${lt_cv_cc_needs_belf+:} false; then :
6697   $as_echo_n "(cached) " >&6
6698 else
6699   ac_ext=c
6700 ac_cpp='$CPP $CPPFLAGS'
6701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6704
6705      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706 /* end confdefs.h.  */
6707
6708 int
6709 main ()
6710 {
6711
6712   ;
6713   return 0;
6714 }
6715 _ACEOF
6716 if ac_fn_c_try_link "$LINENO"; then :
6717   lt_cv_cc_needs_belf=yes
6718 else
6719   lt_cv_cc_needs_belf=no
6720 fi
6721 rm -f core conftest.err conftest.$ac_objext \
6722     conftest$ac_exeext conftest.$ac_ext
6723      ac_ext=c
6724 ac_cpp='$CPP $CPPFLAGS'
6725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6728
6729 fi
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6731 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6732   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6733     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6734     CFLAGS="$SAVE_CFLAGS"
6735   fi
6736   ;;
6737 sparc*-*solaris*)
6738   # Find out which ABI we are using.
6739   echo 'int i;' > conftest.$ac_ext
6740   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6741   (eval $ac_compile) 2>&5
6742   ac_status=$?
6743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6744   test $ac_status = 0; }; then
6745     case `/usr/bin/file conftest.o` in
6746     *64-bit*)
6747       case $lt_cv_prog_gnu_ld in
6748       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6749       *)
6750         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6751           LD="${LD-ld} -64"
6752         fi
6753         ;;
6754       esac
6755       ;;
6756     esac
6757   fi
6758   rm -rf conftest*
6759   ;;
6760 esac
6761
6762 need_locks="$enable_libtool_lock"
6763
6764 if test -n "$ac_tool_prefix"; then
6765   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6766 set dummy ${ac_tool_prefix}mt; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768 $as_echo_n "checking for $ac_word... " >&6; }
6769 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6770   $as_echo_n "(cached) " >&6
6771 else
6772   if test -n "$MANIFEST_TOOL"; then
6773   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6774 else
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 for as_dir in $PATH
6777 do
6778   IFS=$as_save_IFS
6779   test -z "$as_dir" && as_dir=.
6780     for ac_exec_ext in '' $ac_executable_extensions; do
6781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6782     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784     break 2
6785   fi
6786 done
6787   done
6788 IFS=$as_save_IFS
6789
6790 fi
6791 fi
6792 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6793 if test -n "$MANIFEST_TOOL"; then
6794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6795 $as_echo "$MANIFEST_TOOL" >&6; }
6796 else
6797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 $as_echo "no" >&6; }
6799 fi
6800
6801
6802 fi
6803 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6804   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6805   # Extract the first word of "mt", so it can be a program name with args.
6806 set dummy mt; ac_word=$2
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6808 $as_echo_n "checking for $ac_word... " >&6; }
6809 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6810   $as_echo_n "(cached) " >&6
6811 else
6812   if test -n "$ac_ct_MANIFEST_TOOL"; then
6813   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6814 else
6815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 for as_dir in $PATH
6817 do
6818   IFS=$as_save_IFS
6819   test -z "$as_dir" && as_dir=.
6820     for ac_exec_ext in '' $ac_executable_extensions; do
6821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6822     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824     break 2
6825   fi
6826 done
6827   done
6828 IFS=$as_save_IFS
6829
6830 fi
6831 fi
6832 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6833 if test -n "$ac_ct_MANIFEST_TOOL"; then
6834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6835 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6836 else
6837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6838 $as_echo "no" >&6; }
6839 fi
6840
6841   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6842     MANIFEST_TOOL=":"
6843   else
6844     case $cross_compiling:$ac_tool_warned in
6845 yes:)
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6848 ac_tool_warned=yes ;;
6849 esac
6850     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6851   fi
6852 else
6853   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6854 fi
6855
6856 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6858 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6859 if ${lt_cv_path_mainfest_tool+:} false; then :
6860   $as_echo_n "(cached) " >&6
6861 else
6862   lt_cv_path_mainfest_tool=no
6863   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6864   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6865   cat conftest.err >&5
6866   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6867     lt_cv_path_mainfest_tool=yes
6868   fi
6869   rm -f conftest*
6870 fi
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6872 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6873 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6874   MANIFEST_TOOL=:
6875 fi
6876
6877
6878
6879
6880
6881
6882   case $host_os in
6883     rhapsody* | darwin*)
6884     if test -n "$ac_tool_prefix"; then
6885   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6886 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888 $as_echo_n "checking for $ac_word... " >&6; }
6889 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6890   $as_echo_n "(cached) " >&6
6891 else
6892   if test -n "$DSYMUTIL"; then
6893   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6894 else
6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896 for as_dir in $PATH
6897 do
6898   IFS=$as_save_IFS
6899   test -z "$as_dir" && as_dir=.
6900     for ac_exec_ext in '' $ac_executable_extensions; do
6901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6902     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6904     break 2
6905   fi
6906 done
6907   done
6908 IFS=$as_save_IFS
6909
6910 fi
6911 fi
6912 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6913 if test -n "$DSYMUTIL"; then
6914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6915 $as_echo "$DSYMUTIL" >&6; }
6916 else
6917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 $as_echo "no" >&6; }
6919 fi
6920
6921
6922 fi
6923 if test -z "$ac_cv_prog_DSYMUTIL"; then
6924   ac_ct_DSYMUTIL=$DSYMUTIL
6925   # Extract the first word of "dsymutil", so it can be a program name with args.
6926 set dummy dsymutil; ac_word=$2
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6928 $as_echo_n "checking for $ac_word... " >&6; }
6929 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6930   $as_echo_n "(cached) " >&6
6931 else
6932   if test -n "$ac_ct_DSYMUTIL"; then
6933   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6934 else
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936 for as_dir in $PATH
6937 do
6938   IFS=$as_save_IFS
6939   test -z "$as_dir" && as_dir=.
6940     for ac_exec_ext in '' $ac_executable_extensions; do
6941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6942     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944     break 2
6945   fi
6946 done
6947   done
6948 IFS=$as_save_IFS
6949
6950 fi
6951 fi
6952 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6953 if test -n "$ac_ct_DSYMUTIL"; then
6954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6955 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6956 else
6957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6959 fi
6960
6961   if test "x$ac_ct_DSYMUTIL" = x; then
6962     DSYMUTIL=":"
6963   else
6964     case $cross_compiling:$ac_tool_warned in
6965 yes:)
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6968 ac_tool_warned=yes ;;
6969 esac
6970     DSYMUTIL=$ac_ct_DSYMUTIL
6971   fi
6972 else
6973   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6974 fi
6975
6976     if test -n "$ac_tool_prefix"; then
6977   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6978 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if ${ac_cv_prog_NMEDIT+:} false; then :
6982   $as_echo_n "(cached) " >&6
6983 else
6984   if test -n "$NMEDIT"; then
6985   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6986 else
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 for as_dir in $PATH
6989 do
6990   IFS=$as_save_IFS
6991   test -z "$as_dir" && as_dir=.
6992     for ac_exec_ext in '' $ac_executable_extensions; do
6993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6994     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996     break 2
6997   fi
6998 done
6999   done
7000 IFS=$as_save_IFS
7001
7002 fi
7003 fi
7004 NMEDIT=$ac_cv_prog_NMEDIT
7005 if test -n "$NMEDIT"; then
7006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7007 $as_echo "$NMEDIT" >&6; }
7008 else
7009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7011 fi
7012
7013
7014 fi
7015 if test -z "$ac_cv_prog_NMEDIT"; then
7016   ac_ct_NMEDIT=$NMEDIT
7017   # Extract the first word of "nmedit", so it can be a program name with args.
7018 set dummy nmedit; ac_word=$2
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7020 $as_echo_n "checking for $ac_word... " >&6; }
7021 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7022   $as_echo_n "(cached) " >&6
7023 else
7024   if test -n "$ac_ct_NMEDIT"; then
7025   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7026 else
7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 for as_dir in $PATH
7029 do
7030   IFS=$as_save_IFS
7031   test -z "$as_dir" && as_dir=.
7032     for ac_exec_ext in '' $ac_executable_extensions; do
7033   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7034     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7036     break 2
7037   fi
7038 done
7039   done
7040 IFS=$as_save_IFS
7041
7042 fi
7043 fi
7044 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7045 if test -n "$ac_ct_NMEDIT"; then
7046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7047 $as_echo "$ac_ct_NMEDIT" >&6; }
7048 else
7049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050 $as_echo "no" >&6; }
7051 fi
7052
7053   if test "x$ac_ct_NMEDIT" = x; then
7054     NMEDIT=":"
7055   else
7056     case $cross_compiling:$ac_tool_warned in
7057 yes:)
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7060 ac_tool_warned=yes ;;
7061 esac
7062     NMEDIT=$ac_ct_NMEDIT
7063   fi
7064 else
7065   NMEDIT="$ac_cv_prog_NMEDIT"
7066 fi
7067
7068     if test -n "$ac_tool_prefix"; then
7069   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7070 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072 $as_echo_n "checking for $ac_word... " >&6; }
7073 if ${ac_cv_prog_LIPO+:} false; then :
7074   $as_echo_n "(cached) " >&6
7075 else
7076   if test -n "$LIPO"; then
7077   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7078 else
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 for as_dir in $PATH
7081 do
7082   IFS=$as_save_IFS
7083   test -z "$as_dir" && as_dir=.
7084     for ac_exec_ext in '' $ac_executable_extensions; do
7085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7086     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088     break 2
7089   fi
7090 done
7091   done
7092 IFS=$as_save_IFS
7093
7094 fi
7095 fi
7096 LIPO=$ac_cv_prog_LIPO
7097 if test -n "$LIPO"; then
7098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7099 $as_echo "$LIPO" >&6; }
7100 else
7101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102 $as_echo "no" >&6; }
7103 fi
7104
7105
7106 fi
7107 if test -z "$ac_cv_prog_LIPO"; then
7108   ac_ct_LIPO=$LIPO
7109   # Extract the first word of "lipo", so it can be a program name with args.
7110 set dummy lipo; ac_word=$2
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7112 $as_echo_n "checking for $ac_word... " >&6; }
7113 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7114   $as_echo_n "(cached) " >&6
7115 else
7116   if test -n "$ac_ct_LIPO"; then
7117   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7118 else
7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7120 for as_dir in $PATH
7121 do
7122   IFS=$as_save_IFS
7123   test -z "$as_dir" && as_dir=.
7124     for ac_exec_ext in '' $ac_executable_extensions; do
7125   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7126     ac_cv_prog_ac_ct_LIPO="lipo"
7127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128     break 2
7129   fi
7130 done
7131   done
7132 IFS=$as_save_IFS
7133
7134 fi
7135 fi
7136 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7137 if test -n "$ac_ct_LIPO"; then
7138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7139 $as_echo "$ac_ct_LIPO" >&6; }
7140 else
7141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142 $as_echo "no" >&6; }
7143 fi
7144
7145   if test "x$ac_ct_LIPO" = x; then
7146     LIPO=":"
7147   else
7148     case $cross_compiling:$ac_tool_warned in
7149 yes:)
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7152 ac_tool_warned=yes ;;
7153 esac
7154     LIPO=$ac_ct_LIPO
7155   fi
7156 else
7157   LIPO="$ac_cv_prog_LIPO"
7158 fi
7159
7160     if test -n "$ac_tool_prefix"; then
7161   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7162 set dummy ${ac_tool_prefix}otool; ac_word=$2
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 $as_echo_n "checking for $ac_word... " >&6; }
7165 if ${ac_cv_prog_OTOOL+:} false; then :
7166   $as_echo_n "(cached) " >&6
7167 else
7168   if test -n "$OTOOL"; then
7169   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7170 else
7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172 for as_dir in $PATH
7173 do
7174   IFS=$as_save_IFS
7175   test -z "$as_dir" && as_dir=.
7176     for ac_exec_ext in '' $ac_executable_extensions; do
7177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7178     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7180     break 2
7181   fi
7182 done
7183   done
7184 IFS=$as_save_IFS
7185
7186 fi
7187 fi
7188 OTOOL=$ac_cv_prog_OTOOL
7189 if test -n "$OTOOL"; then
7190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7191 $as_echo "$OTOOL" >&6; }
7192 else
7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 $as_echo "no" >&6; }
7195 fi
7196
7197
7198 fi
7199 if test -z "$ac_cv_prog_OTOOL"; then
7200   ac_ct_OTOOL=$OTOOL
7201   # Extract the first word of "otool", so it can be a program name with args.
7202 set dummy otool; ac_word=$2
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204 $as_echo_n "checking for $ac_word... " >&6; }
7205 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7206   $as_echo_n "(cached) " >&6
7207 else
7208   if test -n "$ac_ct_OTOOL"; then
7209   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7210 else
7211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7212 for as_dir in $PATH
7213 do
7214   IFS=$as_save_IFS
7215   test -z "$as_dir" && as_dir=.
7216     for ac_exec_ext in '' $ac_executable_extensions; do
7217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7218     ac_cv_prog_ac_ct_OTOOL="otool"
7219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7220     break 2
7221   fi
7222 done
7223   done
7224 IFS=$as_save_IFS
7225
7226 fi
7227 fi
7228 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7229 if test -n "$ac_ct_OTOOL"; then
7230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7231 $as_echo "$ac_ct_OTOOL" >&6; }
7232 else
7233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234 $as_echo "no" >&6; }
7235 fi
7236
7237   if test "x$ac_ct_OTOOL" = x; then
7238     OTOOL=":"
7239   else
7240     case $cross_compiling:$ac_tool_warned in
7241 yes:)
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7244 ac_tool_warned=yes ;;
7245 esac
7246     OTOOL=$ac_ct_OTOOL
7247   fi
7248 else
7249   OTOOL="$ac_cv_prog_OTOOL"
7250 fi
7251
7252     if test -n "$ac_tool_prefix"; then
7253   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7254 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7256 $as_echo_n "checking for $ac_word... " >&6; }
7257 if ${ac_cv_prog_OTOOL64+:} false; then :
7258   $as_echo_n "(cached) " >&6
7259 else
7260   if test -n "$OTOOL64"; then
7261   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7262 else
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264 for as_dir in $PATH
7265 do
7266   IFS=$as_save_IFS
7267   test -z "$as_dir" && as_dir=.
7268     for ac_exec_ext in '' $ac_executable_extensions; do
7269   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7270     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7272     break 2
7273   fi
7274 done
7275   done
7276 IFS=$as_save_IFS
7277
7278 fi
7279 fi
7280 OTOOL64=$ac_cv_prog_OTOOL64
7281 if test -n "$OTOOL64"; then
7282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7283 $as_echo "$OTOOL64" >&6; }
7284 else
7285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7287 fi
7288
7289
7290 fi
7291 if test -z "$ac_cv_prog_OTOOL64"; then
7292   ac_ct_OTOOL64=$OTOOL64
7293   # Extract the first word of "otool64", so it can be a program name with args.
7294 set dummy otool64; ac_word=$2
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7296 $as_echo_n "checking for $ac_word... " >&6; }
7297 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7298   $as_echo_n "(cached) " >&6
7299 else
7300   if test -n "$ac_ct_OTOOL64"; then
7301   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7302 else
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7304 for as_dir in $PATH
7305 do
7306   IFS=$as_save_IFS
7307   test -z "$as_dir" && as_dir=.
7308     for ac_exec_ext in '' $ac_executable_extensions; do
7309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7310     ac_cv_prog_ac_ct_OTOOL64="otool64"
7311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7312     break 2
7313   fi
7314 done
7315   done
7316 IFS=$as_save_IFS
7317
7318 fi
7319 fi
7320 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7321 if test -n "$ac_ct_OTOOL64"; then
7322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7323 $as_echo "$ac_ct_OTOOL64" >&6; }
7324 else
7325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7326 $as_echo "no" >&6; }
7327 fi
7328
7329   if test "x$ac_ct_OTOOL64" = x; then
7330     OTOOL64=":"
7331   else
7332     case $cross_compiling:$ac_tool_warned in
7333 yes:)
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7336 ac_tool_warned=yes ;;
7337 esac
7338     OTOOL64=$ac_ct_OTOOL64
7339   fi
7340 else
7341   OTOOL64="$ac_cv_prog_OTOOL64"
7342 fi
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7371 $as_echo_n "checking for -single_module linker flag... " >&6; }
7372 if ${lt_cv_apple_cc_single_mod+:} false; then :
7373   $as_echo_n "(cached) " >&6
7374 else
7375   lt_cv_apple_cc_single_mod=no
7376       if test -z "${LT_MULTI_MODULE}"; then
7377         # By default we will add the -single_module flag. You can override
7378         # by either setting the environment variable LT_MULTI_MODULE
7379         # non-empty at configure time, or by adding -multi_module to the
7380         # link flags.
7381         rm -rf libconftest.dylib*
7382         echo "int foo(void){return 1;}" > conftest.c
7383         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7384 -dynamiclib -Wl,-single_module conftest.c" >&5
7385         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7386           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7387         _lt_result=$?
7388         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7389           lt_cv_apple_cc_single_mod=yes
7390         else
7391           cat conftest.err >&5
7392         fi
7393         rm -rf libconftest.dylib*
7394         rm -f conftest.*
7395       fi
7396 fi
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7398 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7399     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7400 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7401 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7402   $as_echo_n "(cached) " >&6
7403 else
7404   lt_cv_ld_exported_symbols_list=no
7405       save_LDFLAGS=$LDFLAGS
7406       echo "_main" > conftest.sym
7407       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7409 /* end confdefs.h.  */
7410
7411 int
7412 main ()
7413 {
7414
7415   ;
7416   return 0;
7417 }
7418 _ACEOF
7419 if ac_fn_c_try_link "$LINENO"; then :
7420   lt_cv_ld_exported_symbols_list=yes
7421 else
7422   lt_cv_ld_exported_symbols_list=no
7423 fi
7424 rm -f core conftest.err conftest.$ac_objext \
7425     conftest$ac_exeext conftest.$ac_ext
7426         LDFLAGS="$save_LDFLAGS"
7427
7428 fi
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7430 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7431     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7432 $as_echo_n "checking for -force_load linker flag... " >&6; }
7433 if ${lt_cv_ld_force_load+:} false; then :
7434   $as_echo_n "(cached) " >&6
7435 else
7436   lt_cv_ld_force_load=no
7437       cat > conftest.c << _LT_EOF
7438 int forced_loaded() { return 2;}
7439 _LT_EOF
7440       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7441       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7442       echo "$AR cru libconftest.a conftest.o" >&5
7443       $AR cru libconftest.a conftest.o 2>&5
7444       echo "$RANLIB libconftest.a" >&5
7445       $RANLIB libconftest.a 2>&5
7446       cat > conftest.c << _LT_EOF
7447 int main() { return 0;}
7448 _LT_EOF
7449       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7450       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7451       _lt_result=$?
7452       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7453         lt_cv_ld_force_load=yes
7454       else
7455         cat conftest.err >&5
7456       fi
7457         rm -f conftest.err libconftest.a conftest conftest.c
7458         rm -rf conftest.dSYM
7459
7460 fi
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7462 $as_echo "$lt_cv_ld_force_load" >&6; }
7463     case $host_os in
7464     rhapsody* | darwin1.[012])
7465       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7466     darwin1.*)
7467       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7468     darwin*) # darwin 5.x on
7469       # if running on 10.5 or later, the deployment target defaults
7470       # to the OS version, if on x86, and 10.4, the deployment
7471       # target defaults to 10.4. Don't you love it?
7472       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7473         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7474           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7475         10.[012]*)
7476           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7477         10.*)
7478           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7479       esac
7480     ;;
7481   esac
7482     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7483       _lt_dar_single_mod='$single_module'
7484     fi
7485     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7486       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7487     else
7488       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7489     fi
7490     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7491       _lt_dsymutil='~$DSYMUTIL $lib || :'
7492     else
7493       _lt_dsymutil=
7494     fi
7495     ;;
7496   esac
7497
7498 ac_ext=c
7499 ac_cpp='$CPP $CPPFLAGS'
7500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7504 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7505 # On Suns, sometimes $CPP names a directory.
7506 if test -n "$CPP" && test -d "$CPP"; then
7507   CPP=
7508 fi
7509 if test -z "$CPP"; then
7510   if ${ac_cv_prog_CPP+:} false; then :
7511   $as_echo_n "(cached) " >&6
7512 else
7513       # Double quotes because CPP needs to be expanded
7514     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7515     do
7516       ac_preproc_ok=false
7517 for ac_c_preproc_warn_flag in '' yes
7518 do
7519   # Use a header file that comes with gcc, so configuring glibc
7520   # with a fresh cross-compiler works.
7521   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7522   # <limits.h> exists even on freestanding compilers.
7523   # On the NeXT, cc -E runs the code through the compiler's parser,
7524   # not just through cpp. "Syntax error" is here to catch this case.
7525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h.  */
7527 #ifdef __STDC__
7528 # include <limits.h>
7529 #else
7530 # include <assert.h>
7531 #endif
7532                      Syntax error
7533 _ACEOF
7534 if ac_fn_c_try_cpp "$LINENO"; then :
7535
7536 else
7537   # Broken: fails on valid input.
7538 continue
7539 fi
7540 rm -f conftest.err conftest.i conftest.$ac_ext
7541
7542   # OK, works on sane cases.  Now check whether nonexistent headers
7543   # can be detected and how.
7544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7545 /* end confdefs.h.  */
7546 #include <ac_nonexistent.h>
7547 _ACEOF
7548 if ac_fn_c_try_cpp "$LINENO"; then :
7549   # Broken: success on invalid input.
7550 continue
7551 else
7552   # Passes both tests.
7553 ac_preproc_ok=:
7554 break
7555 fi
7556 rm -f conftest.err conftest.i conftest.$ac_ext
7557
7558 done
7559 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7560 rm -f conftest.i conftest.err conftest.$ac_ext
7561 if $ac_preproc_ok; then :
7562   break
7563 fi
7564
7565     done
7566     ac_cv_prog_CPP=$CPP
7567
7568 fi
7569   CPP=$ac_cv_prog_CPP
7570 else
7571   ac_cv_prog_CPP=$CPP
7572 fi
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7574 $as_echo "$CPP" >&6; }
7575 ac_preproc_ok=false
7576 for ac_c_preproc_warn_flag in '' yes
7577 do
7578   # Use a header file that comes with gcc, so configuring glibc
7579   # with a fresh cross-compiler works.
7580   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7581   # <limits.h> exists even on freestanding compilers.
7582   # On the NeXT, cc -E runs the code through the compiler's parser,
7583   # not just through cpp. "Syntax error" is here to catch this case.
7584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7585 /* end confdefs.h.  */
7586 #ifdef __STDC__
7587 # include <limits.h>
7588 #else
7589 # include <assert.h>
7590 #endif
7591                      Syntax error
7592 _ACEOF
7593 if ac_fn_c_try_cpp "$LINENO"; then :
7594
7595 else
7596   # Broken: fails on valid input.
7597 continue
7598 fi
7599 rm -f conftest.err conftest.i conftest.$ac_ext
7600
7601   # OK, works on sane cases.  Now check whether nonexistent headers
7602   # can be detected and how.
7603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7604 /* end confdefs.h.  */
7605 #include <ac_nonexistent.h>
7606 _ACEOF
7607 if ac_fn_c_try_cpp "$LINENO"; then :
7608   # Broken: success on invalid input.
7609 continue
7610 else
7611   # Passes both tests.
7612 ac_preproc_ok=:
7613 break
7614 fi
7615 rm -f conftest.err conftest.i conftest.$ac_ext
7616
7617 done
7618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7619 rm -f conftest.i conftest.err conftest.$ac_ext
7620 if $ac_preproc_ok; then :
7621
7622 else
7623   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7625 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7626 See \`config.log' for more details" "$LINENO" 5; }
7627 fi
7628
7629 ac_ext=c
7630 ac_cpp='$CPP $CPPFLAGS'
7631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7634
7635
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7637 $as_echo_n "checking for ANSI C header files... " >&6; }
7638 if ${ac_cv_header_stdc+:} false; then :
7639   $as_echo_n "(cached) " >&6
7640 else
7641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7642 /* end confdefs.h.  */
7643 #include <stdlib.h>
7644 #include <stdarg.h>
7645 #include <string.h>
7646 #include <float.h>
7647
7648 int
7649 main ()
7650 {
7651
7652   ;
7653   return 0;
7654 }
7655 _ACEOF
7656 if ac_fn_c_try_compile "$LINENO"; then :
7657   ac_cv_header_stdc=yes
7658 else
7659   ac_cv_header_stdc=no
7660 fi
7661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7662
7663 if test $ac_cv_header_stdc = yes; then
7664   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7666 /* end confdefs.h.  */
7667 #include <string.h>
7668
7669 _ACEOF
7670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7671   $EGREP "memchr" >/dev/null 2>&1; then :
7672
7673 else
7674   ac_cv_header_stdc=no
7675 fi
7676 rm -f conftest*
7677
7678 fi
7679
7680 if test $ac_cv_header_stdc = yes; then
7681   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7683 /* end confdefs.h.  */
7684 #include <stdlib.h>
7685
7686 _ACEOF
7687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7688   $EGREP "free" >/dev/null 2>&1; then :
7689
7690 else
7691   ac_cv_header_stdc=no
7692 fi
7693 rm -f conftest*
7694
7695 fi
7696
7697 if test $ac_cv_header_stdc = yes; then
7698   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7699   if test "$cross_compiling" = yes; then :
7700   :
7701 else
7702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h.  */
7704 #include <ctype.h>
7705 #include <stdlib.h>
7706 #if ((' ' & 0x0FF) == 0x020)
7707 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7708 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7709 #else
7710 # define ISLOWER(c) \
7711                    (('a' <= (c) && (c) <= 'i') \
7712                      || ('j' <= (c) && (c) <= 'r') \
7713                      || ('s' <= (c) && (c) <= 'z'))
7714 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7715 #endif
7716
7717 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7718 int
7719 main ()
7720 {
7721   int i;
7722   for (i = 0; i < 256; i++)
7723     if (XOR (islower (i), ISLOWER (i))
7724         || toupper (i) != TOUPPER (i))
7725       return 2;
7726   return 0;
7727 }
7728 _ACEOF
7729 if ac_fn_c_try_run "$LINENO"; then :
7730
7731 else
7732   ac_cv_header_stdc=no
7733 fi
7734 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7735   conftest.$ac_objext conftest.beam conftest.$ac_ext
7736 fi
7737
7738 fi
7739 fi
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7741 $as_echo "$ac_cv_header_stdc" >&6; }
7742 if test $ac_cv_header_stdc = yes; then
7743
7744 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7745
7746 fi
7747
7748 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7749 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7750                   inttypes.h stdint.h unistd.h
7751 do :
7752   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7754 "
7755 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7756   cat >>confdefs.h <<_ACEOF
7757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7758 _ACEOF
7759
7760 fi
7761
7762 done
7763
7764
7765 for ac_header in dlfcn.h
7766 do :
7767   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7768 "
7769 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7770   cat >>confdefs.h <<_ACEOF
7771 #define HAVE_DLFCN_H 1
7772 _ACEOF
7773
7774 fi
7775
7776 done
7777
7778
7779
7780
7781
7782 # Set options
7783
7784
7785
7786         enable_dlopen=no
7787
7788
7789   enable_win32_dll=no
7790
7791
7792             # Check whether --enable-shared was given.
7793 if test "${enable_shared+set}" = set; then :
7794   enableval=$enable_shared; p=${PACKAGE-default}
7795     case $enableval in
7796     yes) enable_shared=yes ;;
7797     no) enable_shared=no ;;
7798     *)
7799       enable_shared=no
7800       # Look at the argument we got.  We use all the common list separators.
7801       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7802       for pkg in $enableval; do
7803         IFS="$lt_save_ifs"
7804         if test "X$pkg" = "X$p"; then
7805           enable_shared=yes
7806         fi
7807       done
7808       IFS="$lt_save_ifs"
7809       ;;
7810     esac
7811 else
7812   enable_shared=yes
7813 fi
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825 # Check whether --with-pic was given.
7826 if test "${with_pic+set}" = set; then :
7827   withval=$with_pic; pic_mode="$withval"
7828 else
7829   pic_mode=default
7830 fi
7831
7832
7833 test -z "$pic_mode" && pic_mode=default
7834
7835
7836
7837
7838
7839
7840
7841   # Check whether --enable-fast-install was given.
7842 if test "${enable_fast_install+set}" = set; then :
7843   enableval=$enable_fast_install; p=${PACKAGE-default}
7844     case $enableval in
7845     yes) enable_fast_install=yes ;;
7846     no) enable_fast_install=no ;;
7847     *)
7848       enable_fast_install=no
7849       # Look at the argument we got.  We use all the common list separators.
7850       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7851       for pkg in $enableval; do
7852         IFS="$lt_save_ifs"
7853         if test "X$pkg" = "X$p"; then
7854           enable_fast_install=yes
7855         fi
7856       done
7857       IFS="$lt_save_ifs"
7858       ;;
7859     esac
7860 else
7861   enable_fast_install=yes
7862 fi
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874 # This can be used to rebuild libtool when needed
7875 LIBTOOL_DEPS="$ltmain"
7876
7877 # Always use our own libtool.
7878 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905 test -z "$LN_S" && LN_S="ln -s"
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920 if test -n "${ZSH_VERSION+set}" ; then
7921    setopt NO_GLOB_SUBST
7922 fi
7923
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7925 $as_echo_n "checking for objdir... " >&6; }
7926 if ${lt_cv_objdir+:} false; then :
7927   $as_echo_n "(cached) " >&6
7928 else
7929   rm -f .libs 2>/dev/null
7930 mkdir .libs 2>/dev/null
7931 if test -d .libs; then
7932   lt_cv_objdir=.libs
7933 else
7934   # MS-DOS does not allow filenames that begin with a dot.
7935   lt_cv_objdir=_libs
7936 fi
7937 rmdir .libs 2>/dev/null
7938 fi
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7940 $as_echo "$lt_cv_objdir" >&6; }
7941 objdir=$lt_cv_objdir
7942
7943
7944
7945
7946
7947 cat >>confdefs.h <<_ACEOF
7948 #define LT_OBJDIR "$lt_cv_objdir/"
7949 _ACEOF
7950
7951
7952
7953
7954 case $host_os in
7955 aix3*)
7956   # AIX sometimes has problems with the GCC collect2 program.  For some
7957   # reason, if we set the COLLECT_NAMES environment variable, the problems
7958   # vanish in a puff of smoke.
7959   if test "X${COLLECT_NAMES+set}" != Xset; then
7960     COLLECT_NAMES=
7961     export COLLECT_NAMES
7962   fi
7963   ;;
7964 esac
7965
7966 # Global variables:
7967 ofile=libtool
7968 can_build_shared=yes
7969
7970 # All known linkers require a `.a' archive for static linking (except MSVC,
7971 # which needs '.lib').
7972 libext=a
7973
7974 with_gnu_ld="$lt_cv_prog_gnu_ld"
7975
7976 old_CC="$CC"
7977 old_CFLAGS="$CFLAGS"
7978
7979 # Set sane defaults for various variables
7980 test -z "$CC" && CC=cc
7981 test -z "$LTCC" && LTCC=$CC
7982 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7983 test -z "$LD" && LD=ld
7984 test -z "$ac_objext" && ac_objext=o
7985
7986 for cc_temp in $compiler""; do
7987   case $cc_temp in
7988     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7989     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7990     \-*) ;;
7991     *) break;;
7992   esac
7993 done
7994 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7995
7996
7997 # Only perform the check for file, if the check method requires it
7998 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7999 case $deplibs_check_method in
8000 file_magic*)
8001   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8002     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8003 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8004 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8005   $as_echo_n "(cached) " >&6
8006 else
8007   case $MAGIC_CMD in
8008 [\\/*] |  ?:[\\/]*)
8009   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8010   ;;
8011 *)
8012   lt_save_MAGIC_CMD="$MAGIC_CMD"
8013   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8014   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8015   for ac_dir in $ac_dummy; do
8016     IFS="$lt_save_ifs"
8017     test -z "$ac_dir" && ac_dir=.
8018     if test -f $ac_dir/${ac_tool_prefix}file; then
8019       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8020       if test -n "$file_magic_test_file"; then
8021         case $deplibs_check_method in
8022         "file_magic "*)
8023           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8024           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8025           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8026             $EGREP "$file_magic_regex" > /dev/null; then
8027             :
8028           else
8029             cat <<_LT_EOF 1>&2
8030
8031 *** Warning: the command libtool uses to detect shared libraries,
8032 *** $file_magic_cmd, produces output that libtool cannot recognize.
8033 *** The result is that libtool may fail to recognize shared libraries
8034 *** as such.  This will affect the creation of libtool libraries that
8035 *** depend on shared libraries, but programs linked with such libtool
8036 *** libraries will work regardless of this problem.  Nevertheless, you
8037 *** may want to report the problem to your system manager and/or to
8038 *** bug-libtool@gnu.org
8039
8040 _LT_EOF
8041           fi ;;
8042         esac
8043       fi
8044       break
8045     fi
8046   done
8047   IFS="$lt_save_ifs"
8048   MAGIC_CMD="$lt_save_MAGIC_CMD"
8049   ;;
8050 esac
8051 fi
8052
8053 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8054 if test -n "$MAGIC_CMD"; then
8055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8056 $as_echo "$MAGIC_CMD" >&6; }
8057 else
8058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8060 fi
8061
8062
8063
8064
8065
8066 if test -z "$lt_cv_path_MAGIC_CMD"; then
8067   if test -n "$ac_tool_prefix"; then
8068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8069 $as_echo_n "checking for file... " >&6; }
8070 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8071   $as_echo_n "(cached) " >&6
8072 else
8073   case $MAGIC_CMD in
8074 [\\/*] |  ?:[\\/]*)
8075   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8076   ;;
8077 *)
8078   lt_save_MAGIC_CMD="$MAGIC_CMD"
8079   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8080   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8081   for ac_dir in $ac_dummy; do
8082     IFS="$lt_save_ifs"
8083     test -z "$ac_dir" && ac_dir=.
8084     if test -f $ac_dir/file; then
8085       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8086       if test -n "$file_magic_test_file"; then
8087         case $deplibs_check_method in
8088         "file_magic "*)
8089           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8090           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8091           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8092             $EGREP "$file_magic_regex" > /dev/null; then
8093             :
8094           else
8095             cat <<_LT_EOF 1>&2
8096
8097 *** Warning: the command libtool uses to detect shared libraries,
8098 *** $file_magic_cmd, produces output that libtool cannot recognize.
8099 *** The result is that libtool may fail to recognize shared libraries
8100 *** as such.  This will affect the creation of libtool libraries that
8101 *** depend on shared libraries, but programs linked with such libtool
8102 *** libraries will work regardless of this problem.  Nevertheless, you
8103 *** may want to report the problem to your system manager and/or to
8104 *** bug-libtool@gnu.org
8105
8106 _LT_EOF
8107           fi ;;
8108         esac
8109       fi
8110       break
8111     fi
8112   done
8113   IFS="$lt_save_ifs"
8114   MAGIC_CMD="$lt_save_MAGIC_CMD"
8115   ;;
8116 esac
8117 fi
8118
8119 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8120 if test -n "$MAGIC_CMD"; then
8121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8122 $as_echo "$MAGIC_CMD" >&6; }
8123 else
8124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8126 fi
8127
8128
8129   else
8130     MAGIC_CMD=:
8131   fi
8132 fi
8133
8134   fi
8135   ;;
8136 esac
8137
8138 # Use C for the default configuration in the libtool script
8139
8140 lt_save_CC="$CC"
8141 ac_ext=c
8142 ac_cpp='$CPP $CPPFLAGS'
8143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8146
8147
8148 # Source file extension for C test sources.
8149 ac_ext=c
8150
8151 # Object file extension for compiled C test sources.
8152 objext=o
8153 objext=$objext
8154
8155 # Code to be used in simple compile tests
8156 lt_simple_compile_test_code="int some_variable = 0;"
8157
8158 # Code to be used in simple link tests
8159 lt_simple_link_test_code='int main(){return(0);}'
8160
8161
8162
8163
8164
8165
8166
8167 # If no C compiler was specified, use CC.
8168 LTCC=${LTCC-"$CC"}
8169
8170 # If no C compiler flags were specified, use CFLAGS.
8171 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8172
8173 # Allow CC to be a program name with arguments.
8174 compiler=$CC
8175
8176 # Save the default compiler, since it gets overwritten when the other
8177 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8178 compiler_DEFAULT=$CC
8179
8180 # save warnings/boilerplate of simple test code
8181 ac_outfile=conftest.$ac_objext
8182 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8183 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8184 _lt_compiler_boilerplate=`cat conftest.err`
8185 $RM conftest*
8186
8187 ac_outfile=conftest.$ac_objext
8188 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8189 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8190 _lt_linker_boilerplate=`cat conftest.err`
8191 $RM -r conftest*
8192
8193
8194 ## CAVEAT EMPTOR:
8195 ## There is no encapsulation within the following macros, do not change
8196 ## the running order or otherwise move them around unless you know exactly
8197 ## what you are doing...
8198 if test -n "$compiler"; then
8199
8200 lt_prog_compiler_no_builtin_flag=
8201
8202 if test "$GCC" = yes; then
8203   case $cc_basename in
8204   nvcc*)
8205     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8206   *)
8207     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8208   esac
8209
8210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8211 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8212 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8213   $as_echo_n "(cached) " >&6
8214 else
8215   lt_cv_prog_compiler_rtti_exceptions=no
8216    ac_outfile=conftest.$ac_objext
8217    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8218    lt_compiler_flag="-fno-rtti -fno-exceptions"
8219    # Insert the option either (1) after the last *FLAGS variable, or
8220    # (2) before a word containing "conftest.", or (3) at the end.
8221    # Note that $ac_compile itself does not contain backslashes and begins
8222    # with a dollar sign (not a hyphen), so the echo should work correctly.
8223    # The option is referenced via a variable to avoid confusing sed.
8224    lt_compile=`echo "$ac_compile" | $SED \
8225    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8226    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8227    -e 's:$: $lt_compiler_flag:'`
8228    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8229    (eval "$lt_compile" 2>conftest.err)
8230    ac_status=$?
8231    cat conftest.err >&5
8232    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233    if (exit $ac_status) && test -s "$ac_outfile"; then
8234      # The compiler can only warn and ignore the option if not recognized
8235      # So say no if there are warnings other than the usual output.
8236      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8237      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8238      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8239        lt_cv_prog_compiler_rtti_exceptions=yes
8240      fi
8241    fi
8242    $RM conftest*
8243
8244 fi
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8246 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8247
8248 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8249     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8250 else
8251     :
8252 fi
8253
8254 fi
8255
8256
8257
8258
8259
8260
8261   lt_prog_compiler_wl=
8262 lt_prog_compiler_pic=
8263 lt_prog_compiler_static=
8264
8265
8266   if test "$GCC" = yes; then
8267     lt_prog_compiler_wl='-Wl,'
8268     lt_prog_compiler_static='-static'
8269
8270     case $host_os in
8271       aix*)
8272       # All AIX code is PIC.
8273       if test "$host_cpu" = ia64; then
8274         # AIX 5 now supports IA64 processor
8275         lt_prog_compiler_static='-Bstatic'
8276       fi
8277       ;;
8278
8279     amigaos*)
8280       case $host_cpu in
8281       powerpc)
8282             # see comment about AmigaOS4 .so support
8283             lt_prog_compiler_pic='-fPIC'
8284         ;;
8285       m68k)
8286             # FIXME: we need at least 68020 code to build shared libraries, but
8287             # adding the `-m68020' flag to GCC prevents building anything better,
8288             # like `-m68040'.
8289             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8290         ;;
8291       esac
8292       ;;
8293
8294     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8295       # PIC is the default for these OSes.
8296       ;;
8297
8298     mingw* | cygwin* | pw32* | os2* | cegcc*)
8299       # This hack is so that the source file can tell whether it is being
8300       # built for inclusion in a dll (and should export symbols for example).
8301       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8302       # (--disable-auto-import) libraries
8303       lt_prog_compiler_pic='-DDLL_EXPORT'
8304       ;;
8305
8306     darwin* | rhapsody*)
8307       # PIC is the default on this platform
8308       # Common symbols not allowed in MH_DYLIB files
8309       lt_prog_compiler_pic='-fno-common'
8310       ;;
8311
8312     haiku*)
8313       # PIC is the default for Haiku.
8314       # The "-static" flag exists, but is broken.
8315       lt_prog_compiler_static=
8316       ;;
8317
8318     hpux*)
8319       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8320       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8321       # sets the default TLS model and affects inlining.
8322       case $host_cpu in
8323       hppa*64*)
8324         # +Z the default
8325         ;;
8326       *)
8327         lt_prog_compiler_pic='-fPIC'
8328         ;;
8329       esac
8330       ;;
8331
8332     interix[3-9]*)
8333       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8334       # Instead, we relocate shared libraries at runtime.
8335       ;;
8336
8337     msdosdjgpp*)
8338       # Just because we use GCC doesn't mean we suddenly get shared libraries
8339       # on systems that don't support them.
8340       lt_prog_compiler_can_build_shared=no
8341       enable_shared=no
8342       ;;
8343
8344     *nto* | *qnx*)
8345       # QNX uses GNU C++, but need to define -shared option too, otherwise
8346       # it will coredump.
8347       lt_prog_compiler_pic='-fPIC -shared'
8348       ;;
8349
8350     sysv4*MP*)
8351       if test -d /usr/nec; then
8352         lt_prog_compiler_pic=-Kconform_pic
8353       fi
8354       ;;
8355
8356     *)
8357       lt_prog_compiler_pic='-fPIC'
8358       ;;
8359     esac
8360
8361     case $cc_basename in
8362     nvcc*) # Cuda Compiler Driver 2.2
8363       lt_prog_compiler_wl='-Xlinker '
8364       lt_prog_compiler_pic='-Xcompiler -fPIC'
8365       ;;
8366     esac
8367   else
8368     # PORTME Check for flag to pass linker flags through the system compiler.
8369     case $host_os in
8370     aix*)
8371       lt_prog_compiler_wl='-Wl,'
8372       if test "$host_cpu" = ia64; then
8373         # AIX 5 now supports IA64 processor
8374         lt_prog_compiler_static='-Bstatic'
8375       else
8376         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8377       fi
8378       ;;
8379
8380     mingw* | cygwin* | pw32* | os2* | cegcc*)
8381       # This hack is so that the source file can tell whether it is being
8382       # built for inclusion in a dll (and should export symbols for example).
8383       lt_prog_compiler_pic='-DDLL_EXPORT'
8384       ;;
8385
8386     hpux9* | hpux10* | hpux11*)
8387       lt_prog_compiler_wl='-Wl,'
8388       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8389       # not for PA HP-UX.
8390       case $host_cpu in
8391       hppa*64*|ia64*)
8392         # +Z the default
8393         ;;
8394       *)
8395         lt_prog_compiler_pic='+Z'
8396         ;;
8397       esac
8398       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8399       lt_prog_compiler_static='${wl}-a ${wl}archive'
8400       ;;
8401
8402     irix5* | irix6* | nonstopux*)
8403       lt_prog_compiler_wl='-Wl,'
8404       # PIC (with -KPIC) is the default.
8405       lt_prog_compiler_static='-non_shared'
8406       ;;
8407
8408     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8409       case $cc_basename in
8410       # old Intel for x86_64 which still supported -KPIC.
8411       ecc*)
8412         lt_prog_compiler_wl='-Wl,'
8413         lt_prog_compiler_pic='-KPIC'
8414         lt_prog_compiler_static='-static'
8415         ;;
8416       # icc used to be incompatible with GCC.
8417       # ICC 10 doesn't accept -KPIC any more.
8418       icc* | ifort*)
8419         lt_prog_compiler_wl='-Wl,'
8420         lt_prog_compiler_pic='-fPIC'
8421         lt_prog_compiler_static='-static'
8422         ;;
8423       # Lahey Fortran 8.1.
8424       lf95*)
8425         lt_prog_compiler_wl='-Wl,'
8426         lt_prog_compiler_pic='--shared'
8427         lt_prog_compiler_static='--static'
8428         ;;
8429       nagfor*)
8430         # NAG Fortran compiler
8431         lt_prog_compiler_wl='-Wl,-Wl,,'
8432         lt_prog_compiler_pic='-PIC'
8433         lt_prog_compiler_static='-Bstatic'
8434         ;;
8435       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8436         # Portland Group compilers (*not* the Pentium gcc compiler,
8437         # which looks to be a dead project)
8438         lt_prog_compiler_wl='-Wl,'
8439         lt_prog_compiler_pic='-fpic'
8440         lt_prog_compiler_static='-Bstatic'
8441         ;;
8442       ccc*)
8443         lt_prog_compiler_wl='-Wl,'
8444         # All Alpha code is PIC.
8445         lt_prog_compiler_static='-non_shared'
8446         ;;
8447       xl* | bgxl* | bgf* | mpixl*)
8448         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8449         lt_prog_compiler_wl='-Wl,'
8450         lt_prog_compiler_pic='-qpic'
8451         lt_prog_compiler_static='-qstaticlink'
8452         ;;
8453       *)
8454         case `$CC -V 2>&1 | sed 5q` in
8455         *Sun\ F* | *Sun*Fortran*)
8456           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8457           lt_prog_compiler_pic='-KPIC'
8458           lt_prog_compiler_static='-Bstatic'
8459           lt_prog_compiler_wl=''
8460           ;;
8461         *Sun\ C*)
8462           # Sun C 5.9
8463           lt_prog_compiler_pic='-KPIC'
8464           lt_prog_compiler_static='-Bstatic'
8465           lt_prog_compiler_wl='-Wl,'
8466           ;;
8467         esac
8468         ;;
8469       esac
8470       ;;
8471
8472     newsos6)
8473       lt_prog_compiler_pic='-KPIC'
8474       lt_prog_compiler_static='-Bstatic'
8475       ;;
8476
8477     *nto* | *qnx*)
8478       # QNX uses GNU C++, but need to define -shared option too, otherwise
8479       # it will coredump.
8480       lt_prog_compiler_pic='-fPIC -shared'
8481       ;;
8482
8483     osf3* | osf4* | osf5*)
8484       lt_prog_compiler_wl='-Wl,'
8485       # All OSF/1 code is PIC.
8486       lt_prog_compiler_static='-non_shared'
8487       ;;
8488
8489     rdos*)
8490       lt_prog_compiler_static='-non_shared'
8491       ;;
8492
8493     solaris*)
8494       lt_prog_compiler_pic='-KPIC'
8495       lt_prog_compiler_static='-Bstatic'
8496       case $cc_basename in
8497       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8498         lt_prog_compiler_wl='-Qoption ld ';;
8499       *)
8500         lt_prog_compiler_wl='-Wl,';;
8501       esac
8502       ;;
8503
8504     sunos4*)
8505       lt_prog_compiler_wl='-Qoption ld '
8506       lt_prog_compiler_pic='-PIC'
8507       lt_prog_compiler_static='-Bstatic'
8508       ;;
8509
8510     sysv4 | sysv4.2uw2* | sysv4.3*)
8511       lt_prog_compiler_wl='-Wl,'
8512       lt_prog_compiler_pic='-KPIC'
8513       lt_prog_compiler_static='-Bstatic'
8514       ;;
8515
8516     sysv4*MP*)
8517       if test -d /usr/nec ;then
8518         lt_prog_compiler_pic='-Kconform_pic'
8519         lt_prog_compiler_static='-Bstatic'
8520       fi
8521       ;;
8522
8523     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8524       lt_prog_compiler_wl='-Wl,'
8525       lt_prog_compiler_pic='-KPIC'
8526       lt_prog_compiler_static='-Bstatic'
8527       ;;
8528
8529     unicos*)
8530       lt_prog_compiler_wl='-Wl,'
8531       lt_prog_compiler_can_build_shared=no
8532       ;;
8533
8534     uts4*)
8535       lt_prog_compiler_pic='-pic'
8536       lt_prog_compiler_static='-Bstatic'
8537       ;;
8538
8539     *)
8540       lt_prog_compiler_can_build_shared=no
8541       ;;
8542     esac
8543   fi
8544
8545 case $host_os in
8546   # For platforms which do not support PIC, -DPIC is meaningless:
8547   *djgpp*)
8548     lt_prog_compiler_pic=
8549     ;;
8550   *)
8551     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8552     ;;
8553 esac
8554
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8556 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8557 if ${lt_cv_prog_compiler_pic+:} false; then :
8558   $as_echo_n "(cached) " >&6
8559 else
8560   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8561 fi
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8563 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8564 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8565
8566 #
8567 # Check to make sure the PIC flag actually works.
8568 #
8569 if test -n "$lt_prog_compiler_pic"; then
8570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8571 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8572 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8573   $as_echo_n "(cached) " >&6
8574 else
8575   lt_cv_prog_compiler_pic_works=no
8576    ac_outfile=conftest.$ac_objext
8577    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8578    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8579    # Insert the option either (1) after the last *FLAGS variable, or
8580    # (2) before a word containing "conftest.", or (3) at the end.
8581    # Note that $ac_compile itself does not contain backslashes and begins
8582    # with a dollar sign (not a hyphen), so the echo should work correctly.
8583    # The option is referenced via a variable to avoid confusing sed.
8584    lt_compile=`echo "$ac_compile" | $SED \
8585    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8586    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8587    -e 's:$: $lt_compiler_flag:'`
8588    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8589    (eval "$lt_compile" 2>conftest.err)
8590    ac_status=$?
8591    cat conftest.err >&5
8592    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593    if (exit $ac_status) && test -s "$ac_outfile"; then
8594      # The compiler can only warn and ignore the option if not recognized
8595      # So say no if there are warnings other than the usual output.
8596      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8597      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8598      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8599        lt_cv_prog_compiler_pic_works=yes
8600      fi
8601    fi
8602    $RM conftest*
8603
8604 fi
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8606 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8607
8608 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8609     case $lt_prog_compiler_pic in
8610      "" | " "*) ;;
8611      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8612      esac
8613 else
8614     lt_prog_compiler_pic=
8615      lt_prog_compiler_can_build_shared=no
8616 fi
8617
8618 fi
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630 #
8631 # Check to make sure the static flag actually works.
8632 #
8633 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8635 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8636 if ${lt_cv_prog_compiler_static_works+:} false; then :
8637   $as_echo_n "(cached) " >&6
8638 else
8639   lt_cv_prog_compiler_static_works=no
8640    save_LDFLAGS="$LDFLAGS"
8641    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8642    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8643    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8644      # The linker can only warn and ignore the option if not recognized
8645      # So say no if there are warnings
8646      if test -s conftest.err; then
8647        # Append any errors to the config.log.
8648        cat conftest.err 1>&5
8649        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8650        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8651        if diff conftest.exp conftest.er2 >/dev/null; then
8652          lt_cv_prog_compiler_static_works=yes
8653        fi
8654      else
8655        lt_cv_prog_compiler_static_works=yes
8656      fi
8657    fi
8658    $RM -r conftest*
8659    LDFLAGS="$save_LDFLAGS"
8660
8661 fi
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8663 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8664
8665 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8666     :
8667 else
8668     lt_prog_compiler_static=
8669 fi
8670
8671
8672
8673
8674
8675
8676
8677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8678 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8679 if ${lt_cv_prog_compiler_c_o+:} false; then :
8680   $as_echo_n "(cached) " >&6
8681 else
8682   lt_cv_prog_compiler_c_o=no
8683    $RM -r conftest 2>/dev/null
8684    mkdir conftest
8685    cd conftest
8686    mkdir out
8687    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8688
8689    lt_compiler_flag="-o out/conftest2.$ac_objext"
8690    # Insert the option either (1) after the last *FLAGS variable, or
8691    # (2) before a word containing "conftest.", or (3) at the end.
8692    # Note that $ac_compile itself does not contain backslashes and begins
8693    # with a dollar sign (not a hyphen), so the echo should work correctly.
8694    lt_compile=`echo "$ac_compile" | $SED \
8695    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8696    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8697    -e 's:$: $lt_compiler_flag:'`
8698    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8699    (eval "$lt_compile" 2>out/conftest.err)
8700    ac_status=$?
8701    cat out/conftest.err >&5
8702    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8704    then
8705      # The compiler can only warn and ignore the option if not recognized
8706      # So say no if there are warnings
8707      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8708      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8709      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8710        lt_cv_prog_compiler_c_o=yes
8711      fi
8712    fi
8713    chmod u+w . 2>&5
8714    $RM conftest*
8715    # SGI C++ compiler will create directory out/ii_files/ for
8716    # template instantiation
8717    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8718    $RM out/* && rmdir out
8719    cd ..
8720    $RM -r conftest
8721    $RM conftest*
8722
8723 fi
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8725 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8726
8727
8728
8729
8730
8731
8732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8733 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8734 if ${lt_cv_prog_compiler_c_o+:} false; then :
8735   $as_echo_n "(cached) " >&6
8736 else
8737   lt_cv_prog_compiler_c_o=no
8738    $RM -r conftest 2>/dev/null
8739    mkdir conftest
8740    cd conftest
8741    mkdir out
8742    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8743
8744    lt_compiler_flag="-o out/conftest2.$ac_objext"
8745    # Insert the option either (1) after the last *FLAGS variable, or
8746    # (2) before a word containing "conftest.", or (3) at the end.
8747    # Note that $ac_compile itself does not contain backslashes and begins
8748    # with a dollar sign (not a hyphen), so the echo should work correctly.
8749    lt_compile=`echo "$ac_compile" | $SED \
8750    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8751    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8752    -e 's:$: $lt_compiler_flag:'`
8753    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8754    (eval "$lt_compile" 2>out/conftest.err)
8755    ac_status=$?
8756    cat out/conftest.err >&5
8757    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8759    then
8760      # The compiler can only warn and ignore the option if not recognized
8761      # So say no if there are warnings
8762      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8763      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8764      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8765        lt_cv_prog_compiler_c_o=yes
8766      fi
8767    fi
8768    chmod u+w . 2>&5
8769    $RM conftest*
8770    # SGI C++ compiler will create directory out/ii_files/ for
8771    # template instantiation
8772    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8773    $RM out/* && rmdir out
8774    cd ..
8775    $RM -r conftest
8776    $RM conftest*
8777
8778 fi
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8780 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8781
8782
8783
8784
8785 hard_links="nottested"
8786 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8787   # do not overwrite the value of need_locks provided by the user
8788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8789 $as_echo_n "checking if we can lock with hard links... " >&6; }
8790   hard_links=yes
8791   $RM conftest*
8792   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8793   touch conftest.a
8794   ln conftest.a conftest.b 2>&5 || hard_links=no
8795   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8797 $as_echo "$hard_links" >&6; }
8798   if test "$hard_links" = no; then
8799     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8800 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8801     need_locks=warn
8802   fi
8803 else
8804   need_locks=no
8805 fi
8806
8807
8808
8809
8810
8811
8812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8813 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8814
8815   runpath_var=
8816   allow_undefined_flag=
8817   always_export_symbols=no
8818   archive_cmds=
8819   archive_expsym_cmds=
8820   compiler_needs_object=no
8821   enable_shared_with_static_runtimes=no
8822   export_dynamic_flag_spec=
8823   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8824   hardcode_automatic=no
8825   hardcode_direct=no
8826   hardcode_direct_absolute=no
8827   hardcode_libdir_flag_spec=
8828   hardcode_libdir_flag_spec_ld=
8829   hardcode_libdir_separator=
8830   hardcode_minus_L=no
8831   hardcode_shlibpath_var=unsupported
8832   inherit_rpath=no
8833   link_all_deplibs=unknown
8834   module_cmds=
8835   module_expsym_cmds=
8836   old_archive_from_new_cmds=
8837   old_archive_from_expsyms_cmds=
8838   thread_safe_flag_spec=
8839   whole_archive_flag_spec=
8840   # include_expsyms should be a list of space-separated symbols to be *always*
8841   # included in the symbol list
8842   include_expsyms=
8843   # exclude_expsyms can be an extended regexp of symbols to exclude
8844   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8845   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8846   # as well as any symbol that contains `d'.
8847   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8848   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8849   # platforms (ab)use it in PIC code, but their linkers get confused if
8850   # the symbol is explicitly referenced.  Since portable code cannot
8851   # rely on this symbol name, it's probably fine to never include it in
8852   # preloaded symbol tables.
8853   # Exclude shared library initialization/finalization symbols.
8854   extract_expsyms_cmds=
8855
8856   case $host_os in
8857   cygwin* | mingw* | pw32* | cegcc*)
8858     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8859     # When not using gcc, we currently assume that we are using
8860     # Microsoft Visual C++.
8861     if test "$GCC" != yes; then
8862       with_gnu_ld=no
8863     fi
8864     ;;
8865   interix*)
8866     # we just hope/assume this is gcc and not c89 (= MSVC++)
8867     with_gnu_ld=yes
8868     ;;
8869   openbsd*)
8870     with_gnu_ld=no
8871     ;;
8872   esac
8873
8874   ld_shlibs=yes
8875
8876   # On some targets, GNU ld is compatible enough with the native linker
8877   # that we're better off using the native interface for both.
8878   lt_use_gnu_ld_interface=no
8879   if test "$with_gnu_ld" = yes; then
8880     case $host_os in
8881       aix*)
8882         # The AIX port of GNU ld has always aspired to compatibility
8883         # with the native linker.  However, as the warning in the GNU ld
8884         # block says, versions before 2.19.5* couldn't really create working
8885         # shared libraries, regardless of the interface used.
8886         case `$LD -v 2>&1` in
8887           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8888           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8889           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8890           *)
8891             lt_use_gnu_ld_interface=yes
8892             ;;
8893         esac
8894         ;;
8895       *)
8896         lt_use_gnu_ld_interface=yes
8897         ;;
8898     esac
8899   fi
8900
8901   if test "$lt_use_gnu_ld_interface" = yes; then
8902     # If archive_cmds runs LD, not CC, wlarc should be empty
8903     wlarc='${wl}'
8904
8905     # Set some defaults for GNU ld with shared library support. These
8906     # are reset later if shared libraries are not supported. Putting them
8907     # here allows them to be overridden if necessary.
8908     runpath_var=LD_RUN_PATH
8909     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8910     export_dynamic_flag_spec='${wl}--export-dynamic'
8911     # ancient GNU ld didn't support --whole-archive et. al.
8912     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8913       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8914     else
8915       whole_archive_flag_spec=
8916     fi
8917     supports_anon_versioning=no
8918     case `$LD -v 2>&1` in
8919       *GNU\ gold*) supports_anon_versioning=yes ;;
8920       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8921       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8922       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8923       *\ 2.11.*) ;; # other 2.11 versions
8924       *) supports_anon_versioning=yes ;;
8925     esac
8926
8927     # See if GNU ld supports shared libraries.
8928     case $host_os in
8929     aix[3-9]*)
8930       # On AIX/PPC, the GNU linker is very broken
8931       if test "$host_cpu" != ia64; then
8932         ld_shlibs=no
8933         cat <<_LT_EOF 1>&2
8934
8935 *** Warning: the GNU linker, at least up to release 2.19, is reported
8936 *** to be unable to reliably create shared libraries on AIX.
8937 *** Therefore, libtool is disabling shared libraries support.  If you
8938 *** really care for shared libraries, you may want to install binutils
8939 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8940 *** You will then need to restart the configuration process.
8941
8942 _LT_EOF
8943       fi
8944       ;;
8945
8946     amigaos*)
8947       case $host_cpu in
8948       powerpc)
8949             # see comment about AmigaOS4 .so support
8950             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8951             archive_expsym_cmds=''
8952         ;;
8953       m68k)
8954             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)'
8955             hardcode_libdir_flag_spec='-L$libdir'
8956             hardcode_minus_L=yes
8957         ;;
8958       esac
8959       ;;
8960
8961     beos*)
8962       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8963         allow_undefined_flag=unsupported
8964         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8965         # support --undefined.  This deserves some investigation.  FIXME
8966         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8967       else
8968         ld_shlibs=no
8969       fi
8970       ;;
8971
8972     cygwin* | mingw* | pw32* | cegcc*)
8973       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8974       # as there is no search path for DLLs.
8975       hardcode_libdir_flag_spec='-L$libdir'
8976       export_dynamic_flag_spec='${wl}--export-all-symbols'
8977       allow_undefined_flag=unsupported
8978       always_export_symbols=no
8979       enable_shared_with_static_runtimes=yes
8980       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'
8981       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8982
8983       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8984         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8985         # If the export-symbols file already is a .def file (1st line
8986         # is EXPORTS), use it as is; otherwise, prepend...
8987         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8988           cp $export_symbols $output_objdir/$soname.def;
8989         else
8990           echo EXPORTS > $output_objdir/$soname.def;
8991           cat $export_symbols >> $output_objdir/$soname.def;
8992         fi~
8993         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8994       else
8995         ld_shlibs=no
8996       fi
8997       ;;
8998
8999     haiku*)
9000       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9001       link_all_deplibs=yes
9002       ;;
9003
9004     interix[3-9]*)
9005       hardcode_direct=no
9006       hardcode_shlibpath_var=no
9007       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9008       export_dynamic_flag_spec='${wl}-E'
9009       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9010       # Instead, shared libraries are loaded at an image base (0x10000000 by
9011       # default) and relocated if they conflict, which is a slow very memory
9012       # consuming and fragmenting process.  To avoid this, we pick a random,
9013       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9014       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9015       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9016       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'
9017       ;;
9018
9019     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9020       tmp_diet=no
9021       if test "$host_os" = linux-dietlibc; then
9022         case $cc_basename in
9023           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9024         esac
9025       fi
9026       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9027          && test "$tmp_diet" = no
9028       then
9029         tmp_addflag=' $pic_flag'
9030         tmp_sharedflag='-shared'
9031         case $cc_basename,$host_cpu in
9032         pgcc*)                          # Portland Group C compiler
9033           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'
9034           tmp_addflag=' $pic_flag'
9035           ;;
9036         pgf77* | pgf90* | pgf95* | pgfortran*)
9037                                         # Portland Group f77 and f90 compilers
9038           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'
9039           tmp_addflag=' $pic_flag -Mnomain' ;;
9040         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9041           tmp_addflag=' -i_dynamic' ;;
9042         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9043           tmp_addflag=' -i_dynamic -nofor_main' ;;
9044         ifc* | ifort*)                  # Intel Fortran compiler
9045           tmp_addflag=' -nofor_main' ;;
9046         lf95*)                          # Lahey Fortran 8.1
9047           whole_archive_flag_spec=
9048           tmp_sharedflag='--shared' ;;
9049         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9050           tmp_sharedflag='-qmkshrobj'
9051           tmp_addflag= ;;
9052         nvcc*)  # Cuda Compiler Driver 2.2
9053           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'
9054           compiler_needs_object=yes
9055           ;;
9056         esac
9057         case `$CC -V 2>&1 | sed 5q` in
9058         *Sun\ C*)                       # Sun C 5.9
9059           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'
9060           compiler_needs_object=yes
9061           tmp_sharedflag='-G' ;;
9062         *Sun\ F*)                       # Sun Fortran 8.3
9063           tmp_sharedflag='-G' ;;
9064         esac
9065         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9066
9067         if test "x$supports_anon_versioning" = xyes; then
9068           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9069             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9070             echo "local: *; };" >> $output_objdir/$libname.ver~
9071             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9072         fi
9073
9074         case $cc_basename in
9075         xlf* | bgf* | bgxlf* | mpixlf*)
9076           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9077           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9078           hardcode_libdir_flag_spec=
9079           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9080           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9081           if test "x$supports_anon_versioning" = xyes; then
9082             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9083               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9084               echo "local: *; };" >> $output_objdir/$libname.ver~
9085               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9086           fi
9087           ;;
9088         esac
9089       else
9090         ld_shlibs=no
9091       fi
9092       ;;
9093
9094     netbsd*)
9095       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9096         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9097         wlarc=
9098       else
9099         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9100         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9101       fi
9102       ;;
9103
9104     solaris*)
9105       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9106         ld_shlibs=no
9107         cat <<_LT_EOF 1>&2
9108
9109 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9110 *** create shared libraries on Solaris systems.  Therefore, libtool
9111 *** is disabling shared libraries support.  We urge you to upgrade GNU
9112 *** binutils to release 2.9.1 or newer.  Another option is to modify
9113 *** your PATH or compiler configuration so that the native linker is
9114 *** used, and then restart.
9115
9116 _LT_EOF
9117       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9118         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9119         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9120       else
9121         ld_shlibs=no
9122       fi
9123       ;;
9124
9125     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9126       case `$LD -v 2>&1` in
9127         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9128         ld_shlibs=no
9129         cat <<_LT_EOF 1>&2
9130
9131 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9132 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9133 *** is disabling shared libraries support.  We urge you to upgrade GNU
9134 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9135 *** your PATH or compiler configuration so that the native linker is
9136 *** used, and then restart.
9137
9138 _LT_EOF
9139         ;;
9140         *)
9141           # For security reasons, it is highly recommended that you always
9142           # use absolute paths for naming shared libraries, and exclude the
9143           # DT_RUNPATH tag from executables and libraries.  But doing so
9144           # requires that you compile everything twice, which is a pain.
9145           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9146             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9147             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9148             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9149           else
9150             ld_shlibs=no
9151           fi
9152         ;;
9153       esac
9154       ;;
9155
9156     sunos4*)
9157       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9158       wlarc=
9159       hardcode_direct=yes
9160       hardcode_shlibpath_var=no
9161       ;;
9162
9163     *)
9164       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9165         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9166         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9167       else
9168         ld_shlibs=no
9169       fi
9170       ;;
9171     esac
9172
9173     if test "$ld_shlibs" = no; then
9174       runpath_var=
9175       hardcode_libdir_flag_spec=
9176       export_dynamic_flag_spec=
9177       whole_archive_flag_spec=
9178     fi
9179   else
9180     # PORTME fill in a description of your system's linker (not GNU ld)
9181     case $host_os in
9182     aix3*)
9183       allow_undefined_flag=unsupported
9184       always_export_symbols=yes
9185       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'
9186       # Note: this linker hardcodes the directories in LIBPATH if there
9187       # are no directories specified by -L.
9188       hardcode_minus_L=yes
9189       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9190         # Neither direct hardcoding nor static linking is supported with a
9191         # broken collect2.
9192         hardcode_direct=unsupported
9193       fi
9194       ;;
9195
9196     aix[4-9]*)
9197       if test "$host_cpu" = ia64; then
9198         # On IA64, the linker does run time linking by default, so we don't
9199         # have to do anything special.
9200         aix_use_runtimelinking=no
9201         exp_sym_flag='-Bexport'
9202         no_entry_flag=""
9203       else
9204         # If we're using GNU nm, then we don't want the "-C" option.
9205         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9206         # Also, AIX nm treats weak defined symbols like other global
9207         # defined symbols, whereas GNU nm marks them as "W".
9208         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9209           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'
9210         else
9211           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'
9212         fi
9213         aix_use_runtimelinking=no
9214
9215         # Test if we are trying to use run time linking or normal
9216         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9217         # need to do runtime linking.
9218         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9219           for ld_flag in $LDFLAGS; do
9220           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9221             aix_use_runtimelinking=yes
9222             break
9223           fi
9224           done
9225           ;;
9226         esac
9227
9228         exp_sym_flag='-bexport'
9229         no_entry_flag='-bnoentry'
9230       fi
9231
9232       # When large executables or shared objects are built, AIX ld can
9233       # have problems creating the table of contents.  If linking a library
9234       # or program results in "error TOC overflow" add -mminimal-toc to
9235       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9236       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9237
9238       archive_cmds=''
9239       hardcode_direct=yes
9240       hardcode_direct_absolute=yes
9241       hardcode_libdir_separator=':'
9242       link_all_deplibs=yes
9243       file_list_spec='${wl}-f,'
9244
9245       if test "$GCC" = yes; then
9246         case $host_os in aix4.[012]|aix4.[012].*)
9247         # We only want to do this on AIX 4.2 and lower, the check
9248         # below for broken collect2 doesn't work under 4.3+
9249           collect2name=`${CC} -print-prog-name=collect2`
9250           if test -f "$collect2name" &&
9251            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9252           then
9253           # We have reworked collect2
9254           :
9255           else
9256           # We have old collect2
9257           hardcode_direct=unsupported
9258           # It fails to find uninstalled libraries when the uninstalled
9259           # path is not listed in the libpath.  Setting hardcode_minus_L
9260           # to unsupported forces relinking
9261           hardcode_minus_L=yes
9262           hardcode_libdir_flag_spec='-L$libdir'
9263           hardcode_libdir_separator=
9264           fi
9265           ;;
9266         esac
9267         shared_flag='-shared'
9268         if test "$aix_use_runtimelinking" = yes; then
9269           shared_flag="$shared_flag "'${wl}-G'
9270         fi
9271       else
9272         # not using gcc
9273         if test "$host_cpu" = ia64; then
9274         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9275         # chokes on -Wl,-G. The following line is correct:
9276           shared_flag='-G'
9277         else
9278           if test "$aix_use_runtimelinking" = yes; then
9279             shared_flag='${wl}-G'
9280           else
9281             shared_flag='${wl}-bM:SRE'
9282           fi
9283         fi
9284       fi
9285
9286       export_dynamic_flag_spec='${wl}-bexpall'
9287       # It seems that -bexpall does not export symbols beginning with
9288       # underscore (_), so it is better to generate a list of symbols to export.
9289       always_export_symbols=yes
9290       if test "$aix_use_runtimelinking" = yes; then
9291         # Warning - without using the other runtime loading flags (-brtl),
9292         # -berok will link without error, but may produce a broken library.
9293         allow_undefined_flag='-berok'
9294         # Determine the default libpath from the value encoded in an
9295         # empty executable.
9296         if test "${lt_cv_aix_libpath+set}" = set; then
9297   aix_libpath=$lt_cv_aix_libpath
9298 else
9299   if ${lt_cv_aix_libpath_+:} false; then :
9300   $as_echo_n "(cached) " >&6
9301 else
9302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h.  */
9304
9305 int
9306 main ()
9307 {
9308
9309   ;
9310   return 0;
9311 }
9312 _ACEOF
9313 if ac_fn_c_try_link "$LINENO"; then :
9314
9315   lt_aix_libpath_sed='
9316       /Import File Strings/,/^$/ {
9317           /^0/ {
9318               s/^0  *\([^ ]*\) *$/\1/
9319               p
9320           }
9321       }'
9322   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9323   # Check for a 64-bit object if we didn't find anything.
9324   if test -z "$lt_cv_aix_libpath_"; then
9325     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9326   fi
9327 fi
9328 rm -f core conftest.err conftest.$ac_objext \
9329     conftest$ac_exeext conftest.$ac_ext
9330   if test -z "$lt_cv_aix_libpath_"; then
9331     lt_cv_aix_libpath_="/usr/lib:/lib"
9332   fi
9333
9334 fi
9335
9336   aix_libpath=$lt_cv_aix_libpath_
9337 fi
9338
9339         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9340         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"
9341       else
9342         if test "$host_cpu" = ia64; then
9343           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9344           allow_undefined_flag="-z nodefs"
9345           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"
9346         else
9347          # Determine the default libpath from the value encoded in an
9348          # empty executable.
9349          if test "${lt_cv_aix_libpath+set}" = set; then
9350   aix_libpath=$lt_cv_aix_libpath
9351 else
9352   if ${lt_cv_aix_libpath_+:} false; then :
9353   $as_echo_n "(cached) " >&6
9354 else
9355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h.  */
9357
9358 int
9359 main ()
9360 {
9361
9362   ;
9363   return 0;
9364 }
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367
9368   lt_aix_libpath_sed='
9369       /Import File Strings/,/^$/ {
9370           /^0/ {
9371               s/^0  *\([^ ]*\) *$/\1/
9372               p
9373           }
9374       }'
9375   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9376   # Check for a 64-bit object if we didn't find anything.
9377   if test -z "$lt_cv_aix_libpath_"; then
9378     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9379   fi
9380 fi
9381 rm -f core conftest.err conftest.$ac_objext \
9382     conftest$ac_exeext conftest.$ac_ext
9383   if test -z "$lt_cv_aix_libpath_"; then
9384     lt_cv_aix_libpath_="/usr/lib:/lib"
9385   fi
9386
9387 fi
9388
9389   aix_libpath=$lt_cv_aix_libpath_
9390 fi
9391
9392          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9393           # Warning - without using the other run time loading flags,
9394           # -berok will link without error, but may produce a broken library.
9395           no_undefined_flag=' ${wl}-bernotok'
9396           allow_undefined_flag=' ${wl}-berok'
9397           if test "$with_gnu_ld" = yes; then
9398             # We only use this code for GNU lds that support --whole-archive.
9399             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9400           else
9401             # Exported symbols can be pulled into shared objects from archives
9402             whole_archive_flag_spec='$convenience'
9403           fi
9404           archive_cmds_need_lc=yes
9405           # This is similar to how AIX traditionally builds its shared libraries.
9406           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'
9407         fi
9408       fi
9409       ;;
9410
9411     amigaos*)
9412       case $host_cpu in
9413       powerpc)
9414             # see comment about AmigaOS4 .so support
9415             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416             archive_expsym_cmds=''
9417         ;;
9418       m68k)
9419             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)'
9420             hardcode_libdir_flag_spec='-L$libdir'
9421             hardcode_minus_L=yes
9422         ;;
9423       esac
9424       ;;
9425
9426     bsdi[45]*)
9427       export_dynamic_flag_spec=-rdynamic
9428       ;;
9429
9430     cygwin* | mingw* | pw32* | cegcc*)
9431       # When not using gcc, we currently assume that we are using
9432       # Microsoft Visual C++.
9433       # hardcode_libdir_flag_spec is actually meaningless, as there is
9434       # no search path for DLLs.
9435       case $cc_basename in
9436       cl*)
9437         # Native MSVC
9438         hardcode_libdir_flag_spec=' '
9439         allow_undefined_flag=unsupported
9440         always_export_symbols=yes
9441         file_list_spec='@'
9442         # Tell ltmain to make .lib files, not .a files.
9443         libext=lib
9444         # Tell ltmain to make .dll files, not .so files.
9445         shrext_cmds=".dll"
9446         # FIXME: Setting linknames here is a bad hack.
9447         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9448         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9449             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9450           else
9451             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9452           fi~
9453           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9454           linknames='
9455         # The linker will not automatically build a static lib if we build a DLL.
9456         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9457         enable_shared_with_static_runtimes=yes
9458         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9459         # Don't use ranlib
9460         old_postinstall_cmds='chmod 644 $oldlib'
9461         postlink_cmds='lt_outputfile="@OUTPUT@"~
9462           lt_tool_outputfile="@TOOL_OUTPUT@"~
9463           case $lt_outputfile in
9464             *.exe|*.EXE) ;;
9465             *)
9466               lt_outputfile="$lt_outputfile.exe"
9467               lt_tool_outputfile="$lt_tool_outputfile.exe"
9468               ;;
9469           esac~
9470           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9471             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9472             $RM "$lt_outputfile.manifest";
9473           fi'
9474         ;;
9475       *)
9476         # Assume MSVC wrapper
9477         hardcode_libdir_flag_spec=' '
9478         allow_undefined_flag=unsupported
9479         # Tell ltmain to make .lib files, not .a files.
9480         libext=lib
9481         # Tell ltmain to make .dll files, not .so files.
9482         shrext_cmds=".dll"
9483         # FIXME: Setting linknames here is a bad hack.
9484         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9485         # The linker will automatically build a .lib file if we build a DLL.
9486         old_archive_from_new_cmds='true'
9487         # FIXME: Should let the user specify the lib program.
9488         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9489         enable_shared_with_static_runtimes=yes
9490         ;;
9491       esac
9492       ;;
9493
9494     darwin* | rhapsody*)
9495
9496
9497   archive_cmds_need_lc=no
9498   hardcode_direct=no
9499   hardcode_automatic=yes
9500   hardcode_shlibpath_var=unsupported
9501   if test "$lt_cv_ld_force_load" = "yes"; then
9502     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\"`'
9503   else
9504     whole_archive_flag_spec=''
9505   fi
9506   link_all_deplibs=yes
9507   allow_undefined_flag="$_lt_dar_allow_undefined"
9508   case $cc_basename in
9509      ifort*) _lt_dar_can_shared=yes ;;
9510      *) _lt_dar_can_shared=$GCC ;;
9511   esac
9512   if test "$_lt_dar_can_shared" = "yes"; then
9513     output_verbose_link_cmd=func_echo_all
9514     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9515     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9516     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}"
9517     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}"
9518
9519   else
9520   ld_shlibs=no
9521   fi
9522
9523       ;;
9524
9525     dgux*)
9526       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9527       hardcode_libdir_flag_spec='-L$libdir'
9528       hardcode_shlibpath_var=no
9529       ;;
9530
9531     freebsd1*)
9532       ld_shlibs=no
9533       ;;
9534
9535     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9536     # support.  Future versions do this automatically, but an explicit c++rt0.o
9537     # does not break anything, and helps significantly (at the cost of a little
9538     # extra space).
9539     freebsd2.2*)
9540       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9541       hardcode_libdir_flag_spec='-R$libdir'
9542       hardcode_direct=yes
9543       hardcode_shlibpath_var=no
9544       ;;
9545
9546     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9547     freebsd2*)
9548       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9549       hardcode_direct=yes
9550       hardcode_minus_L=yes
9551       hardcode_shlibpath_var=no
9552       ;;
9553
9554     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9555     freebsd* | dragonfly*)
9556       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9557       hardcode_libdir_flag_spec='-R$libdir'
9558       hardcode_direct=yes
9559       hardcode_shlibpath_var=no
9560       ;;
9561
9562     hpux9*)
9563       if test "$GCC" = yes; then
9564         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'
9565       else
9566         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'
9567       fi
9568       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9569       hardcode_libdir_separator=:
9570       hardcode_direct=yes
9571
9572       # hardcode_minus_L: Not really in the search PATH,
9573       # but as the default location of the library.
9574       hardcode_minus_L=yes
9575       export_dynamic_flag_spec='${wl}-E'
9576       ;;
9577
9578     hpux10*)
9579       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9580         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9581       else
9582         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9583       fi
9584       if test "$with_gnu_ld" = no; then
9585         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9586         hardcode_libdir_flag_spec_ld='+b $libdir'
9587         hardcode_libdir_separator=:
9588         hardcode_direct=yes
9589         hardcode_direct_absolute=yes
9590         export_dynamic_flag_spec='${wl}-E'
9591         # hardcode_minus_L: Not really in the search PATH,
9592         # but as the default location of the library.
9593         hardcode_minus_L=yes
9594       fi
9595       ;;
9596
9597     hpux11*)
9598       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9599         case $host_cpu in
9600         hppa*64*)
9601           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9602           ;;
9603         ia64*)
9604           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9605           ;;
9606         *)
9607           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9608           ;;
9609         esac
9610       else
9611         case $host_cpu in
9612         hppa*64*)
9613           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9614           ;;
9615         ia64*)
9616           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9617           ;;
9618         *)
9619
9620           # Older versions of the 11.00 compiler do not understand -b yet
9621           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9622           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9623 $as_echo_n "checking if $CC understands -b... " >&6; }
9624 if ${lt_cv_prog_compiler__b+:} false; then :
9625   $as_echo_n "(cached) " >&6
9626 else
9627   lt_cv_prog_compiler__b=no
9628    save_LDFLAGS="$LDFLAGS"
9629    LDFLAGS="$LDFLAGS -b"
9630    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9631    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9632      # The linker can only warn and ignore the option if not recognized
9633      # So say no if there are warnings
9634      if test -s conftest.err; then
9635        # Append any errors to the config.log.
9636        cat conftest.err 1>&5
9637        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9638        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9639        if diff conftest.exp conftest.er2 >/dev/null; then
9640          lt_cv_prog_compiler__b=yes
9641        fi
9642      else
9643        lt_cv_prog_compiler__b=yes
9644      fi
9645    fi
9646    $RM -r conftest*
9647    LDFLAGS="$save_LDFLAGS"
9648
9649 fi
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9651 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9652
9653 if test x"$lt_cv_prog_compiler__b" = xyes; then
9654     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9655 else
9656     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9657 fi
9658
9659           ;;
9660         esac
9661       fi
9662       if test "$with_gnu_ld" = no; then
9663         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9664         hardcode_libdir_separator=:
9665
9666         case $host_cpu in
9667         hppa*64*|ia64*)
9668           hardcode_direct=no
9669           hardcode_shlibpath_var=no
9670           ;;
9671         *)
9672           hardcode_direct=yes
9673           hardcode_direct_absolute=yes
9674           export_dynamic_flag_spec='${wl}-E'
9675
9676           # hardcode_minus_L: Not really in the search PATH,
9677           # but as the default location of the library.
9678           hardcode_minus_L=yes
9679           ;;
9680         esac
9681       fi
9682       ;;
9683
9684     irix5* | irix6* | nonstopux*)
9685       if test "$GCC" = yes; then
9686         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'
9687         # Try to use the -exported_symbol ld option, if it does not
9688         # work, assume that -exports_file does not work either and
9689         # implicitly export all symbols.
9690         # This should be the same for all languages, so no per-tag cache variable.
9691         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9692 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9693 if ${lt_cv_irix_exported_symbol+:} false; then :
9694   $as_echo_n "(cached) " >&6
9695 else
9696   save_LDFLAGS="$LDFLAGS"
9697            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9698            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h.  */
9700 int foo (void) { return 0; }
9701 _ACEOF
9702 if ac_fn_c_try_link "$LINENO"; then :
9703   lt_cv_irix_exported_symbol=yes
9704 else
9705   lt_cv_irix_exported_symbol=no
9706 fi
9707 rm -f core conftest.err conftest.$ac_objext \
9708     conftest$ac_exeext conftest.$ac_ext
9709            LDFLAGS="$save_LDFLAGS"
9710 fi
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9712 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9713         if test "$lt_cv_irix_exported_symbol" = yes; then
9714           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'
9715         fi
9716       else
9717         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'
9718         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'
9719       fi
9720       archive_cmds_need_lc='no'
9721       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9722       hardcode_libdir_separator=:
9723       inherit_rpath=yes
9724       link_all_deplibs=yes
9725       ;;
9726
9727     netbsd*)
9728       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9729         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9730       else
9731         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9732       fi
9733       hardcode_libdir_flag_spec='-R$libdir'
9734       hardcode_direct=yes
9735       hardcode_shlibpath_var=no
9736       ;;
9737
9738     newsos6)
9739       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740       hardcode_direct=yes
9741       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9742       hardcode_libdir_separator=:
9743       hardcode_shlibpath_var=no
9744       ;;
9745
9746     *nto* | *qnx*)
9747       ;;
9748
9749     openbsd*)
9750       if test -f /usr/libexec/ld.so; then
9751         hardcode_direct=yes
9752         hardcode_shlibpath_var=no
9753         hardcode_direct_absolute=yes
9754         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9755           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9756           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9757           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9758           export_dynamic_flag_spec='${wl}-E'
9759         else
9760           case $host_os in
9761            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9762              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9763              hardcode_libdir_flag_spec='-R$libdir'
9764              ;;
9765            *)
9766              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9767              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9768              ;;
9769           esac
9770         fi
9771       else
9772         ld_shlibs=no
9773       fi
9774       ;;
9775
9776     os2*)
9777       hardcode_libdir_flag_spec='-L$libdir'
9778       hardcode_minus_L=yes
9779       allow_undefined_flag=unsupported
9780       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'
9781       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9782       ;;
9783
9784     osf3*)
9785       if test "$GCC" = yes; then
9786         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9787         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'
9788       else
9789         allow_undefined_flag=' -expect_unresolved \*'
9790         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'
9791       fi
9792       archive_cmds_need_lc='no'
9793       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9794       hardcode_libdir_separator=:
9795       ;;
9796
9797     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9798       if test "$GCC" = yes; then
9799         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9800         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'
9801         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9802       else
9803         allow_undefined_flag=' -expect_unresolved \*'
9804         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'
9805         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~
9806         $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'
9807
9808         # Both c and cxx compiler support -rpath directly
9809         hardcode_libdir_flag_spec='-rpath $libdir'
9810       fi
9811       archive_cmds_need_lc='no'
9812       hardcode_libdir_separator=:
9813       ;;
9814
9815     solaris*)
9816       no_undefined_flag=' -z defs'
9817       if test "$GCC" = yes; then
9818         wlarc='${wl}'
9819         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9820         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9821           $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'
9822       else
9823         case `$CC -V 2>&1` in
9824         *"Compilers 5.0"*)
9825           wlarc=''
9826           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9828           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9829           ;;
9830         *)
9831           wlarc='${wl}'
9832           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9833           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9834           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9835           ;;
9836         esac
9837       fi
9838       hardcode_libdir_flag_spec='-R$libdir'
9839       hardcode_shlibpath_var=no
9840       case $host_os in
9841       solaris2.[0-5] | solaris2.[0-5].*) ;;
9842       *)
9843         # The compiler driver will combine and reorder linker options,
9844         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9845         # but is careful enough not to reorder.
9846         # Supported since Solaris 2.6 (maybe 2.5.1?)
9847         if test "$GCC" = yes; then
9848           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9849         else
9850           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9851         fi
9852         ;;
9853       esac
9854       link_all_deplibs=yes
9855       ;;
9856
9857     sunos4*)
9858       if test "x$host_vendor" = xsequent; then
9859         # Use $CC to link under sequent, because it throws in some extra .o
9860         # files that make .init and .fini sections work.
9861         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9862       else
9863         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9864       fi
9865       hardcode_libdir_flag_spec='-L$libdir'
9866       hardcode_direct=yes
9867       hardcode_minus_L=yes
9868       hardcode_shlibpath_var=no
9869       ;;
9870
9871     sysv4)
9872       case $host_vendor in
9873         sni)
9874           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875           hardcode_direct=yes # is this really true???
9876         ;;
9877         siemens)
9878           ## LD is ld it makes a PLAMLIB
9879           ## CC just makes a GrossModule.
9880           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9881           reload_cmds='$CC -r -o $output$reload_objs'
9882           hardcode_direct=no
9883         ;;
9884         motorola)
9885           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9887         ;;
9888       esac
9889       runpath_var='LD_RUN_PATH'
9890       hardcode_shlibpath_var=no
9891       ;;
9892
9893     sysv4.3*)
9894       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9895       hardcode_shlibpath_var=no
9896       export_dynamic_flag_spec='-Bexport'
9897       ;;
9898
9899     sysv4*MP*)
9900       if test -d /usr/nec; then
9901         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9902         hardcode_shlibpath_var=no
9903         runpath_var=LD_RUN_PATH
9904         hardcode_runpath_var=yes
9905         ld_shlibs=yes
9906       fi
9907       ;;
9908
9909     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9910       no_undefined_flag='${wl}-z,text'
9911       archive_cmds_need_lc=no
9912       hardcode_shlibpath_var=no
9913       runpath_var='LD_RUN_PATH'
9914
9915       if test "$GCC" = yes; then
9916         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9917         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9918       else
9919         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9920         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9921       fi
9922       ;;
9923
9924     sysv5* | sco3.2v5* | sco5v6*)
9925       # Note: We can NOT use -z defs as we might desire, because we do not
9926       # link with -lc, and that would cause any symbols used from libc to
9927       # always be unresolved, which means just about no library would
9928       # ever link correctly.  If we're not using GNU ld we use -z text
9929       # though, which does catch some bad symbols but isn't as heavy-handed
9930       # as -z defs.
9931       no_undefined_flag='${wl}-z,text'
9932       allow_undefined_flag='${wl}-z,nodefs'
9933       archive_cmds_need_lc=no
9934       hardcode_shlibpath_var=no
9935       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9936       hardcode_libdir_separator=':'
9937       link_all_deplibs=yes
9938       export_dynamic_flag_spec='${wl}-Bexport'
9939       runpath_var='LD_RUN_PATH'
9940
9941       if test "$GCC" = yes; then
9942         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9943         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9944       else
9945         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9946         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9947       fi
9948       ;;
9949
9950     uts4*)
9951       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9952       hardcode_libdir_flag_spec='-L$libdir'
9953       hardcode_shlibpath_var=no
9954       ;;
9955
9956     *)
9957       ld_shlibs=no
9958       ;;
9959     esac
9960
9961     if test x$host_vendor = xsni; then
9962       case $host in
9963       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9964         export_dynamic_flag_spec='${wl}-Blargedynsym'
9965         ;;
9966       esac
9967     fi
9968   fi
9969
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9971 $as_echo "$ld_shlibs" >&6; }
9972 test "$ld_shlibs" = no && can_build_shared=no
9973
9974 with_gnu_ld=$with_gnu_ld
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990 #
9991 # Do we need to explicitly link libc?
9992 #
9993 case "x$archive_cmds_need_lc" in
9994 x|xyes)
9995   # Assume -lc should be added
9996   archive_cmds_need_lc=yes
9997
9998   if test "$enable_shared" = yes && test "$GCC" = yes; then
9999     case $archive_cmds in
10000     *'~'*)
10001       # FIXME: we may have to deal with multi-command sequences.
10002       ;;
10003     '$CC '*)
10004       # Test whether the compiler implicitly links with -lc since on some
10005       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10006       # to ld, don't add -lc before -lgcc.
10007       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10008 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10009 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10010   $as_echo_n "(cached) " >&6
10011 else
10012   $RM conftest*
10013         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10014
10015         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10016   (eval $ac_compile) 2>&5
10017   ac_status=$?
10018   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10019   test $ac_status = 0; } 2>conftest.err; then
10020           soname=conftest
10021           lib=conftest
10022           libobjs=conftest.$ac_objext
10023           deplibs=
10024           wl=$lt_prog_compiler_wl
10025           pic_flag=$lt_prog_compiler_pic
10026           compiler_flags=-v
10027           linker_flags=-v
10028           verstring=
10029           output_objdir=.
10030           libname=conftest
10031           lt_save_allow_undefined_flag=$allow_undefined_flag
10032           allow_undefined_flag=
10033           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10034   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10035   ac_status=$?
10036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10037   test $ac_status = 0; }
10038           then
10039             lt_cv_archive_cmds_need_lc=no
10040           else
10041             lt_cv_archive_cmds_need_lc=yes
10042           fi
10043           allow_undefined_flag=$lt_save_allow_undefined_flag
10044         else
10045           cat conftest.err 1>&5
10046         fi
10047         $RM conftest*
10048
10049 fi
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10051 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10052       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10053       ;;
10054     esac
10055   fi
10056   ;;
10057 esac
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10216 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10217
10218 if test "$GCC" = yes; then
10219   case $host_os in
10220     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10221     *) lt_awk_arg="/^libraries:/" ;;
10222   esac
10223   case $host_os in
10224     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10225     *) lt_sed_strip_eq="s,=/,/,g" ;;
10226   esac
10227   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10228   case $lt_search_path_spec in
10229   *\;*)
10230     # if the path contains ";" then we assume it to be the separator
10231     # otherwise default to the standard path separator (i.e. ":") - it is
10232     # assumed that no part of a normal pathname contains ";" but that should
10233     # okay in the real world where ";" in dirpaths is itself problematic.
10234     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10235     ;;
10236   *)
10237     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10238     ;;
10239   esac
10240   # Ok, now we have the path, separated by spaces, we can step through it
10241   # and add multilib dir if necessary.
10242   lt_tmp_lt_search_path_spec=
10243   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10244   for lt_sys_path in $lt_search_path_spec; do
10245     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10246       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10247     else
10248       test -d "$lt_sys_path" && \
10249         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10250     fi
10251   done
10252   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10253 BEGIN {RS=" "; FS="/|\n";} {
10254   lt_foo="";
10255   lt_count=0;
10256   for (lt_i = NF; lt_i > 0; lt_i--) {
10257     if ($lt_i != "" && $lt_i != ".") {
10258       if ($lt_i == "..") {
10259         lt_count++;
10260       } else {
10261         if (lt_count == 0) {
10262           lt_foo="/" $lt_i lt_foo;
10263         } else {
10264           lt_count--;
10265         }
10266       }
10267     }
10268   }
10269   if (lt_foo != "") { lt_freq[lt_foo]++; }
10270   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10271 }'`
10272   # AWK program above erroneously prepends '/' to C:/dos/paths
10273   # for these hosts.
10274   case $host_os in
10275     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10276       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10277   esac
10278   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10279 else
10280   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10281 fi
10282 library_names_spec=
10283 libname_spec='lib$name'
10284 soname_spec=
10285 shrext_cmds=".so"
10286 postinstall_cmds=
10287 postuninstall_cmds=
10288 finish_cmds=
10289 finish_eval=
10290 shlibpath_var=
10291 shlibpath_overrides_runpath=unknown
10292 version_type=none
10293 dynamic_linker="$host_os ld.so"
10294 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10295 need_lib_prefix=unknown
10296 hardcode_into_libs=no
10297
10298 # when you set need_version to no, make sure it does not cause -set_version
10299 # flags to be left without arguments
10300 need_version=unknown
10301
10302 case $host_os in
10303 aix3*)
10304   version_type=linux
10305   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10306   shlibpath_var=LIBPATH
10307
10308   # AIX 3 has no versioning support, so we append a major version to the name.
10309   soname_spec='${libname}${release}${shared_ext}$major'
10310   ;;
10311
10312 aix[4-9]*)
10313   version_type=linux
10314   need_lib_prefix=no
10315   need_version=no
10316   hardcode_into_libs=yes
10317   if test "$host_cpu" = ia64; then
10318     # AIX 5 supports IA64
10319     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10320     shlibpath_var=LD_LIBRARY_PATH
10321   else
10322     # With GCC up to 2.95.x, collect2 would create an import file
10323     # for dependence libraries.  The import file would start with
10324     # the line `#! .'.  This would cause the generated library to
10325     # depend on `.', always an invalid library.  This was fixed in
10326     # development snapshots of GCC prior to 3.0.
10327     case $host_os in
10328       aix4 | aix4.[01] | aix4.[01].*)
10329       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10330            echo ' yes '
10331            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10332         :
10333       else
10334         can_build_shared=no
10335       fi
10336       ;;
10337     esac
10338     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10339     # soname into executable. Probably we can add versioning support to
10340     # collect2, so additional links can be useful in future.
10341     if test "$aix_use_runtimelinking" = yes; then
10342       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10343       # instead of lib<name>.a to let people know that these are not
10344       # typical AIX shared libraries.
10345       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10346     else
10347       # We preserve .a as extension for shared libraries through AIX4.2
10348       # and later when we are not doing run time linking.
10349       library_names_spec='${libname}${release}.a $libname.a'
10350       soname_spec='${libname}${release}${shared_ext}$major'
10351     fi
10352     shlibpath_var=LIBPATH
10353   fi
10354   ;;
10355
10356 amigaos*)
10357   case $host_cpu in
10358   powerpc)
10359     # Since July 2007 AmigaOS4 officially supports .so libraries.
10360     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10361     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362     ;;
10363   m68k)
10364     library_names_spec='$libname.ixlibrary $libname.a'
10365     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10366     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'
10367     ;;
10368   esac
10369   ;;
10370
10371 beos*)
10372   library_names_spec='${libname}${shared_ext}'
10373   dynamic_linker="$host_os ld.so"
10374   shlibpath_var=LIBRARY_PATH
10375   ;;
10376
10377 bsdi[45]*)
10378   version_type=linux
10379   need_version=no
10380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10381   soname_spec='${libname}${release}${shared_ext}$major'
10382   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10383   shlibpath_var=LD_LIBRARY_PATH
10384   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10385   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10386   # the default ld.so.conf also contains /usr/contrib/lib and
10387   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10388   # libtool to hard-code these into programs
10389   ;;
10390
10391 cygwin* | mingw* | pw32* | cegcc*)
10392   version_type=windows
10393   shrext_cmds=".dll"
10394   need_version=no
10395   need_lib_prefix=no
10396
10397   case $GCC,$cc_basename in
10398   yes,*)
10399     # gcc
10400     library_names_spec='$libname.dll.a'
10401     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10402     postinstall_cmds='base_file=`basename \${file}`~
10403       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10404       dldir=$destdir/`dirname \$dlpath`~
10405       test -d \$dldir || mkdir -p \$dldir~
10406       $install_prog $dir/$dlname \$dldir/$dlname~
10407       chmod a+x \$dldir/$dlname~
10408       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10409         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10410       fi'
10411     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10412       dlpath=$dir/\$dldll~
10413        $RM \$dlpath'
10414     shlibpath_overrides_runpath=yes
10415
10416     case $host_os in
10417     cygwin*)
10418       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10419       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10420
10421       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10422       ;;
10423     mingw* | cegcc*)
10424       # MinGW DLLs use traditional 'lib' prefix
10425       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10426       ;;
10427     pw32*)
10428       # pw32 DLLs use 'pw' prefix rather than 'lib'
10429       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10430       ;;
10431     esac
10432     dynamic_linker='Win32 ld.exe'
10433     ;;
10434
10435   *,cl*)
10436     # Native MSVC
10437     libname_spec='$name'
10438     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10439     library_names_spec='${libname}.dll.lib'
10440
10441     case $build_os in
10442     mingw*)
10443       sys_lib_search_path_spec=
10444       lt_save_ifs=$IFS
10445       IFS=';'
10446       for lt_path in $LIB
10447       do
10448         IFS=$lt_save_ifs
10449         # Let DOS variable expansion print the short 8.3 style file name.
10450         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10451         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10452       done
10453       IFS=$lt_save_ifs
10454       # Convert to MSYS style.
10455       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10456       ;;
10457     cygwin*)
10458       # Convert to unix form, then to dos form, then back to unix form
10459       # but this time dos style (no spaces!) so that the unix form looks
10460       # like /cygdrive/c/PROGRA~1:/cygdr...
10461       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10462       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10463       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10464       ;;
10465     *)
10466       sys_lib_search_path_spec="$LIB"
10467       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10468         # It is most probably a Windows format PATH.
10469         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10470       else
10471         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10472       fi
10473       # FIXME: find the short name or the path components, as spaces are
10474       # common. (e.g. "Program Files" -> "PROGRA~1")
10475       ;;
10476     esac
10477
10478     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10479     postinstall_cmds='base_file=`basename \${file}`~
10480       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10481       dldir=$destdir/`dirname \$dlpath`~
10482       test -d \$dldir || mkdir -p \$dldir~
10483       $install_prog $dir/$dlname \$dldir/$dlname'
10484     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10485       dlpath=$dir/\$dldll~
10486        $RM \$dlpath'
10487     shlibpath_overrides_runpath=yes
10488     dynamic_linker='Win32 link.exe'
10489     ;;
10490
10491   *)
10492     # Assume MSVC wrapper
10493     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10494     dynamic_linker='Win32 ld.exe'
10495     ;;
10496   esac
10497   # FIXME: first we should search . and the directory the executable is in
10498   shlibpath_var=PATH
10499   ;;
10500
10501 darwin* | rhapsody*)
10502   dynamic_linker="$host_os dyld"
10503   version_type=darwin
10504   need_lib_prefix=no
10505   need_version=no
10506   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10507   soname_spec='${libname}${release}${major}$shared_ext'
10508   shlibpath_overrides_runpath=yes
10509   shlibpath_var=DYLD_LIBRARY_PATH
10510   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10511
10512   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10513   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10514   ;;
10515
10516 dgux*)
10517   version_type=linux
10518   need_lib_prefix=no
10519   need_version=no
10520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10521   soname_spec='${libname}${release}${shared_ext}$major'
10522   shlibpath_var=LD_LIBRARY_PATH
10523   ;;
10524
10525 freebsd1*)
10526   dynamic_linker=no
10527   ;;
10528
10529 freebsd* | dragonfly*)
10530   # DragonFly does not have aout.  When/if they implement a new
10531   # versioning mechanism, adjust this.
10532   if test -x /usr/bin/objformat; then
10533     objformat=`/usr/bin/objformat`
10534   else
10535     case $host_os in
10536     freebsd[123]*) objformat=aout ;;
10537     *) objformat=elf ;;
10538     esac
10539   fi
10540   version_type=freebsd-$objformat
10541   case $version_type in
10542     freebsd-elf*)
10543       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10544       need_version=no
10545       need_lib_prefix=no
10546       ;;
10547     freebsd-*)
10548       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10549       need_version=yes
10550       ;;
10551   esac
10552   shlibpath_var=LD_LIBRARY_PATH
10553   case $host_os in
10554   freebsd2*)
10555     shlibpath_overrides_runpath=yes
10556     ;;
10557   freebsd3.[01]* | freebsdelf3.[01]*)
10558     shlibpath_overrides_runpath=yes
10559     hardcode_into_libs=yes
10560     ;;
10561   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10562   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10563     shlibpath_overrides_runpath=no
10564     hardcode_into_libs=yes
10565     ;;
10566   *) # from 4.6 on, and DragonFly
10567     shlibpath_overrides_runpath=yes
10568     hardcode_into_libs=yes
10569     ;;
10570   esac
10571   ;;
10572
10573 gnu*)
10574   version_type=linux
10575   need_lib_prefix=no
10576   need_version=no
10577   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10578   soname_spec='${libname}${release}${shared_ext}$major'
10579   shlibpath_var=LD_LIBRARY_PATH
10580   hardcode_into_libs=yes
10581   ;;
10582
10583 haiku*)
10584   version_type=linux
10585   need_lib_prefix=no
10586   need_version=no
10587   dynamic_linker="$host_os runtime_loader"
10588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10589   soname_spec='${libname}${release}${shared_ext}$major'
10590   shlibpath_var=LIBRARY_PATH
10591   shlibpath_overrides_runpath=yes
10592   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10593   hardcode_into_libs=yes
10594   ;;
10595
10596 hpux9* | hpux10* | hpux11*)
10597   # Give a soname corresponding to the major version so that dld.sl refuses to
10598   # link against other versions.
10599   version_type=sunos
10600   need_lib_prefix=no
10601   need_version=no
10602   case $host_cpu in
10603   ia64*)
10604     shrext_cmds='.so'
10605     hardcode_into_libs=yes
10606     dynamic_linker="$host_os dld.so"
10607     shlibpath_var=LD_LIBRARY_PATH
10608     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10609     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610     soname_spec='${libname}${release}${shared_ext}$major'
10611     if test "X$HPUX_IA64_MODE" = X32; then
10612       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10613     else
10614       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10615     fi
10616     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10617     ;;
10618   hppa*64*)
10619     shrext_cmds='.sl'
10620     hardcode_into_libs=yes
10621     dynamic_linker="$host_os dld.sl"
10622     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10623     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10624     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625     soname_spec='${libname}${release}${shared_ext}$major'
10626     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10627     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10628     ;;
10629   *)
10630     shrext_cmds='.sl'
10631     dynamic_linker="$host_os dld.sl"
10632     shlibpath_var=SHLIB_PATH
10633     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10634     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635     soname_spec='${libname}${release}${shared_ext}$major'
10636     ;;
10637   esac
10638   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10639   postinstall_cmds='chmod 555 $lib'
10640   # or fails outright, so override atomically:
10641   install_override_mode=555
10642   ;;
10643
10644 interix[3-9]*)
10645   version_type=linux
10646   need_lib_prefix=no
10647   need_version=no
10648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10649   soname_spec='${libname}${release}${shared_ext}$major'
10650   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10651   shlibpath_var=LD_LIBRARY_PATH
10652   shlibpath_overrides_runpath=no
10653   hardcode_into_libs=yes
10654   ;;
10655
10656 irix5* | irix6* | nonstopux*)
10657   case $host_os in
10658     nonstopux*) version_type=nonstopux ;;
10659     *)
10660         if test "$lt_cv_prog_gnu_ld" = yes; then
10661                 version_type=linux
10662         else
10663                 version_type=irix
10664         fi ;;
10665   esac
10666   need_lib_prefix=no
10667   need_version=no
10668   soname_spec='${libname}${release}${shared_ext}$major'
10669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10670   case $host_os in
10671   irix5* | nonstopux*)
10672     libsuff= shlibsuff=
10673     ;;
10674   *)
10675     case $LD in # libtool.m4 will add one of these switches to LD
10676     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10677       libsuff= shlibsuff= libmagic=32-bit;;
10678     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10679       libsuff=32 shlibsuff=N32 libmagic=N32;;
10680     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10681       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10682     *) libsuff= shlibsuff= libmagic=never-match;;
10683     esac
10684     ;;
10685   esac
10686   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10687   shlibpath_overrides_runpath=no
10688   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10689   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10690   hardcode_into_libs=yes
10691   ;;
10692
10693 # No shared lib support for Linux oldld, aout, or coff.
10694 linux*oldld* | linux*aout* | linux*coff*)
10695   dynamic_linker=no
10696   ;;
10697
10698 # This must be Linux ELF.
10699 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10700   version_type=linux
10701   need_lib_prefix=no
10702   need_version=no
10703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704   soname_spec='${libname}${release}${shared_ext}$major'
10705   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10706   shlibpath_var=LD_LIBRARY_PATH
10707   shlibpath_overrides_runpath=no
10708
10709   # Some binutils ld are patched to set DT_RUNPATH
10710   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10711   $as_echo_n "(cached) " >&6
10712 else
10713   lt_cv_shlibpath_overrides_runpath=no
10714     save_LDFLAGS=$LDFLAGS
10715     save_libdir=$libdir
10716     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10717          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10718     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h.  */
10720
10721 int
10722 main ()
10723 {
10724
10725   ;
10726   return 0;
10727 }
10728 _ACEOF
10729 if ac_fn_c_try_link "$LINENO"; then :
10730   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10731   lt_cv_shlibpath_overrides_runpath=yes
10732 fi
10733 fi
10734 rm -f core conftest.err conftest.$ac_objext \
10735     conftest$ac_exeext conftest.$ac_ext
10736     LDFLAGS=$save_LDFLAGS
10737     libdir=$save_libdir
10738
10739 fi
10740
10741   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10742
10743   # This implies no fast_install, which is unacceptable.
10744   # Some rework will be needed to allow for fast_install
10745   # before this can be enabled.
10746   hardcode_into_libs=yes
10747
10748   # Append ld.so.conf contents to the search path
10749   if test -f /etc/ld.so.conf; then
10750     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' ' '`
10751     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10752   fi
10753
10754   # We used to test for /lib/ld.so.1 and disable shared libraries on
10755   # powerpc, because MkLinux only supported shared libraries with the
10756   # GNU dynamic linker.  Since this was broken with cross compilers,
10757   # most powerpc-linux boxes support dynamic linking these days and
10758   # people can always --disable-shared, the test was removed, and we
10759   # assume the GNU/Linux dynamic linker is in use.
10760   dynamic_linker='GNU/Linux ld.so'
10761   ;;
10762
10763 netbsd*)
10764   version_type=sunos
10765   need_lib_prefix=no
10766   need_version=no
10767   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10768     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10769     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10770     dynamic_linker='NetBSD (a.out) ld.so'
10771   else
10772     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10773     soname_spec='${libname}${release}${shared_ext}$major'
10774     dynamic_linker='NetBSD ld.elf_so'
10775   fi
10776   shlibpath_var=LD_LIBRARY_PATH
10777   shlibpath_overrides_runpath=yes
10778   hardcode_into_libs=yes
10779   ;;
10780
10781 newsos6)
10782   version_type=linux
10783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784   shlibpath_var=LD_LIBRARY_PATH
10785   shlibpath_overrides_runpath=yes
10786   ;;
10787
10788 *nto* | *qnx*)
10789   version_type=qnx
10790   need_lib_prefix=no
10791   need_version=no
10792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10793   soname_spec='${libname}${release}${shared_ext}$major'
10794   shlibpath_var=LD_LIBRARY_PATH
10795   shlibpath_overrides_runpath=no
10796   hardcode_into_libs=yes
10797   dynamic_linker='ldqnx.so'
10798   ;;
10799
10800 openbsd*)
10801   version_type=sunos
10802   sys_lib_dlsearch_path_spec="/usr/lib"
10803   need_lib_prefix=no
10804   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10805   case $host_os in
10806     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10807     *)                          need_version=no  ;;
10808   esac
10809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10810   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10811   shlibpath_var=LD_LIBRARY_PATH
10812   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10813     case $host_os in
10814       openbsd2.[89] | openbsd2.[89].*)
10815         shlibpath_overrides_runpath=no
10816         ;;
10817       *)
10818         shlibpath_overrides_runpath=yes
10819         ;;
10820       esac
10821   else
10822     shlibpath_overrides_runpath=yes
10823   fi
10824   ;;
10825
10826 os2*)
10827   libname_spec='$name'
10828   shrext_cmds=".dll"
10829   need_lib_prefix=no
10830   library_names_spec='$libname${shared_ext} $libname.a'
10831   dynamic_linker='OS/2 ld.exe'
10832   shlibpath_var=LIBPATH
10833   ;;
10834
10835 osf3* | osf4* | osf5*)
10836   version_type=osf
10837   need_lib_prefix=no
10838   need_version=no
10839   soname_spec='${libname}${release}${shared_ext}$major'
10840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841   shlibpath_var=LD_LIBRARY_PATH
10842   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10843   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10844   ;;
10845
10846 rdos*)
10847   dynamic_linker=no
10848   ;;
10849
10850 solaris*)
10851   version_type=linux
10852   need_lib_prefix=no
10853   need_version=no
10854   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10855   soname_spec='${libname}${release}${shared_ext}$major'
10856   shlibpath_var=LD_LIBRARY_PATH
10857   shlibpath_overrides_runpath=yes
10858   hardcode_into_libs=yes
10859   # ldd complains unless libraries are executable
10860   postinstall_cmds='chmod +x $lib'
10861   ;;
10862
10863 sunos4*)
10864   version_type=sunos
10865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10866   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10867   shlibpath_var=LD_LIBRARY_PATH
10868   shlibpath_overrides_runpath=yes
10869   if test "$with_gnu_ld" = yes; then
10870     need_lib_prefix=no
10871   fi
10872   need_version=yes
10873   ;;
10874
10875 sysv4 | sysv4.3*)
10876   version_type=linux
10877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10878   soname_spec='${libname}${release}${shared_ext}$major'
10879   shlibpath_var=LD_LIBRARY_PATH
10880   case $host_vendor in
10881     sni)
10882       shlibpath_overrides_runpath=no
10883       need_lib_prefix=no
10884       runpath_var=LD_RUN_PATH
10885       ;;
10886     siemens)
10887       need_lib_prefix=no
10888       ;;
10889     motorola)
10890       need_lib_prefix=no
10891       need_version=no
10892       shlibpath_overrides_runpath=no
10893       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10894       ;;
10895   esac
10896   ;;
10897
10898 sysv4*MP*)
10899   if test -d /usr/nec ;then
10900     version_type=linux
10901     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10902     soname_spec='$libname${shared_ext}.$major'
10903     shlibpath_var=LD_LIBRARY_PATH
10904   fi
10905   ;;
10906
10907 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10908   version_type=freebsd-elf
10909   need_lib_prefix=no
10910   need_version=no
10911   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10912   soname_spec='${libname}${release}${shared_ext}$major'
10913   shlibpath_var=LD_LIBRARY_PATH
10914   shlibpath_overrides_runpath=yes
10915   hardcode_into_libs=yes
10916   if test "$with_gnu_ld" = yes; then
10917     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10918   else
10919     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10920     case $host_os in
10921       sco3.2v5*)
10922         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10923         ;;
10924     esac
10925   fi
10926   sys_lib_dlsearch_path_spec='/usr/lib'
10927   ;;
10928
10929 tpf*)
10930   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10931   version_type=linux
10932   need_lib_prefix=no
10933   need_version=no
10934   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935   shlibpath_var=LD_LIBRARY_PATH
10936   shlibpath_overrides_runpath=no
10937   hardcode_into_libs=yes
10938   ;;
10939
10940 uts4*)
10941   version_type=linux
10942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943   soname_spec='${libname}${release}${shared_ext}$major'
10944   shlibpath_var=LD_LIBRARY_PATH
10945   ;;
10946
10947 *)
10948   dynamic_linker=no
10949   ;;
10950 esac
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10952 $as_echo "$dynamic_linker" >&6; }
10953 test "$dynamic_linker" = no && can_build_shared=no
10954
10955 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10956 if test "$GCC" = yes; then
10957   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10958 fi
10959
10960 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10961   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10962 fi
10963 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10964   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10965 fi
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11059 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11060 hardcode_action=
11061 if test -n "$hardcode_libdir_flag_spec" ||
11062    test -n "$runpath_var" ||
11063    test "X$hardcode_automatic" = "Xyes" ; then
11064
11065   # We can hardcode non-existent directories.
11066   if test "$hardcode_direct" != no &&
11067      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11068      # have to relink, otherwise we might link with an installed library
11069      # when we should be linking with a yet-to-be-installed one
11070      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11071      test "$hardcode_minus_L" != no; then
11072     # Linking always hardcodes the temporary library directory.
11073     hardcode_action=relink
11074   else
11075     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11076     hardcode_action=immediate
11077   fi
11078 else
11079   # We cannot hardcode anything, or else we can only hardcode existing
11080   # directories.
11081   hardcode_action=unsupported
11082 fi
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11084 $as_echo "$hardcode_action" >&6; }
11085
11086 if test "$hardcode_action" = relink ||
11087    test "$inherit_rpath" = yes; then
11088   # Fast installation is not supported
11089   enable_fast_install=no
11090 elif test "$shlibpath_overrides_runpath" = yes ||
11091      test "$enable_shared" = no; then
11092   # Fast installation is not necessary
11093   enable_fast_install=needless
11094 fi
11095
11096
11097
11098
11099
11100
11101   if test "x$enable_dlopen" != xyes; then
11102   enable_dlopen=unknown
11103   enable_dlopen_self=unknown
11104   enable_dlopen_self_static=unknown
11105 else
11106   lt_cv_dlopen=no
11107   lt_cv_dlopen_libs=
11108
11109   case $host_os in
11110   beos*)
11111     lt_cv_dlopen="load_add_on"
11112     lt_cv_dlopen_libs=
11113     lt_cv_dlopen_self=yes
11114     ;;
11115
11116   mingw* | pw32* | cegcc*)
11117     lt_cv_dlopen="LoadLibrary"
11118     lt_cv_dlopen_libs=
11119     ;;
11120
11121   cygwin*)
11122     lt_cv_dlopen="dlopen"
11123     lt_cv_dlopen_libs=
11124     ;;
11125
11126   darwin*)
11127   # if libdl is installed we need to link against it
11128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11129 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11130 if ${ac_cv_lib_dl_dlopen+:} false; then :
11131   $as_echo_n "(cached) " >&6
11132 else
11133   ac_check_lib_save_LIBS=$LIBS
11134 LIBS="-ldl  $LIBS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h.  */
11137
11138 /* Override any GCC internal prototype to avoid an error.
11139    Use char because int might match the return type of a GCC
11140    builtin and then its argument prototype would still apply.  */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char dlopen ();
11145 int
11146 main ()
11147 {
11148 return dlopen ();
11149   ;
11150   return 0;
11151 }
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154   ac_cv_lib_dl_dlopen=yes
11155 else
11156   ac_cv_lib_dl_dlopen=no
11157 fi
11158 rm -f core conftest.err conftest.$ac_objext \
11159     conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11161 fi
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11163 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11164 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11165   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11166 else
11167
11168     lt_cv_dlopen="dyld"
11169     lt_cv_dlopen_libs=
11170     lt_cv_dlopen_self=yes
11171
11172 fi
11173
11174     ;;
11175
11176   *)
11177     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11178 if test "x$ac_cv_func_shl_load" = xyes; then :
11179   lt_cv_dlopen="shl_load"
11180 else
11181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11182 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11183 if ${ac_cv_lib_dld_shl_load+:} false; then :
11184   $as_echo_n "(cached) " >&6
11185 else
11186   ac_check_lib_save_LIBS=$LIBS
11187 LIBS="-ldld  $LIBS"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h.  */
11190
11191 /* Override any GCC internal prototype to avoid an error.
11192    Use char because int might match the return type of a GCC
11193    builtin and then its argument prototype would still apply.  */
11194 #ifdef __cplusplus
11195 extern "C"
11196 #endif
11197 char shl_load ();
11198 int
11199 main ()
11200 {
11201 return shl_load ();
11202   ;
11203   return 0;
11204 }
11205 _ACEOF
11206 if ac_fn_c_try_link "$LINENO"; then :
11207   ac_cv_lib_dld_shl_load=yes
11208 else
11209   ac_cv_lib_dld_shl_load=no
11210 fi
11211 rm -f core conftest.err conftest.$ac_objext \
11212     conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_lib_save_LIBS
11214 fi
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11216 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11217 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11218   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11219 else
11220   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11221 if test "x$ac_cv_func_dlopen" = xyes; then :
11222   lt_cv_dlopen="dlopen"
11223 else
11224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11225 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11226 if ${ac_cv_lib_dl_dlopen+:} false; then :
11227   $as_echo_n "(cached) " >&6
11228 else
11229   ac_check_lib_save_LIBS=$LIBS
11230 LIBS="-ldl  $LIBS"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h.  */
11233
11234 /* Override any GCC internal prototype to avoid an error.
11235    Use char because int might match the return type of a GCC
11236    builtin and then its argument prototype would still apply.  */
11237 #ifdef __cplusplus
11238 extern "C"
11239 #endif
11240 char dlopen ();
11241 int
11242 main ()
11243 {
11244 return dlopen ();
11245   ;
11246   return 0;
11247 }
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"; then :
11250   ac_cv_lib_dl_dlopen=yes
11251 else
11252   ac_cv_lib_dl_dlopen=no
11253 fi
11254 rm -f core conftest.err conftest.$ac_objext \
11255     conftest$ac_exeext conftest.$ac_ext
11256 LIBS=$ac_check_lib_save_LIBS
11257 fi
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11259 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11260 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11261   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11262 else
11263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11264 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11265 if ${ac_cv_lib_svld_dlopen+:} false; then :
11266   $as_echo_n "(cached) " >&6
11267 else
11268   ac_check_lib_save_LIBS=$LIBS
11269 LIBS="-lsvld  $LIBS"
11270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11271 /* end confdefs.h.  */
11272
11273 /* Override any GCC internal prototype to avoid an error.
11274    Use char because int might match the return type of a GCC
11275    builtin and then its argument prototype would still apply.  */
11276 #ifdef __cplusplus
11277 extern "C"
11278 #endif
11279 char dlopen ();
11280 int
11281 main ()
11282 {
11283 return dlopen ();
11284   ;
11285   return 0;
11286 }
11287 _ACEOF
11288 if ac_fn_c_try_link "$LINENO"; then :
11289   ac_cv_lib_svld_dlopen=yes
11290 else
11291   ac_cv_lib_svld_dlopen=no
11292 fi
11293 rm -f core conftest.err conftest.$ac_objext \
11294     conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_lib_save_LIBS
11296 fi
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11298 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11299 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11300   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11301 else
11302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11303 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11304 if ${ac_cv_lib_dld_dld_link+:} false; then :
11305   $as_echo_n "(cached) " >&6
11306 else
11307   ac_check_lib_save_LIBS=$LIBS
11308 LIBS="-ldld  $LIBS"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h.  */
11311
11312 /* Override any GCC internal prototype to avoid an error.
11313    Use char because int might match the return type of a GCC
11314    builtin and then its argument prototype would still apply.  */
11315 #ifdef __cplusplus
11316 extern "C"
11317 #endif
11318 char dld_link ();
11319 int
11320 main ()
11321 {
11322 return dld_link ();
11323   ;
11324   return 0;
11325 }
11326 _ACEOF
11327 if ac_fn_c_try_link "$LINENO"; then :
11328   ac_cv_lib_dld_dld_link=yes
11329 else
11330   ac_cv_lib_dld_dld_link=no
11331 fi
11332 rm -f core conftest.err conftest.$ac_objext \
11333     conftest$ac_exeext conftest.$ac_ext
11334 LIBS=$ac_check_lib_save_LIBS
11335 fi
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11337 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11338 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11339   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11340 fi
11341
11342
11343 fi
11344
11345
11346 fi
11347
11348
11349 fi
11350
11351
11352 fi
11353
11354
11355 fi
11356
11357     ;;
11358   esac
11359
11360   if test "x$lt_cv_dlopen" != xno; then
11361     enable_dlopen=yes
11362   else
11363     enable_dlopen=no
11364   fi
11365
11366   case $lt_cv_dlopen in
11367   dlopen)
11368     save_CPPFLAGS="$CPPFLAGS"
11369     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11370
11371     save_LDFLAGS="$LDFLAGS"
11372     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11373
11374     save_LIBS="$LIBS"
11375     LIBS="$lt_cv_dlopen_libs $LIBS"
11376
11377     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11378 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11379 if ${lt_cv_dlopen_self+:} false; then :
11380   $as_echo_n "(cached) " >&6
11381 else
11382           if test "$cross_compiling" = yes; then :
11383   lt_cv_dlopen_self=cross
11384 else
11385   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11386   lt_status=$lt_dlunknown
11387   cat > conftest.$ac_ext <<_LT_EOF
11388 #line $LINENO "configure"
11389 #include "confdefs.h"
11390
11391 #if HAVE_DLFCN_H
11392 #include <dlfcn.h>
11393 #endif
11394
11395 #include <stdio.h>
11396
11397 #ifdef RTLD_GLOBAL
11398 #  define LT_DLGLOBAL           RTLD_GLOBAL
11399 #else
11400 #  ifdef DL_GLOBAL
11401 #    define LT_DLGLOBAL         DL_GLOBAL
11402 #  else
11403 #    define LT_DLGLOBAL         0
11404 #  endif
11405 #endif
11406
11407 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11408    find out it does not work in some platform. */
11409 #ifndef LT_DLLAZY_OR_NOW
11410 #  ifdef RTLD_LAZY
11411 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11412 #  else
11413 #    ifdef DL_LAZY
11414 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11415 #    else
11416 #      ifdef RTLD_NOW
11417 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11418 #      else
11419 #        ifdef DL_NOW
11420 #          define LT_DLLAZY_OR_NOW      DL_NOW
11421 #        else
11422 #          define LT_DLLAZY_OR_NOW      0
11423 #        endif
11424 #      endif
11425 #    endif
11426 #  endif
11427 #endif
11428
11429 /* When -fvisbility=hidden is used, assume the code has been annotated
11430    correspondingly for the symbols needed.  */
11431 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11432 int fnord () __attribute__((visibility("default")));
11433 #endif
11434
11435 int fnord () { return 42; }
11436 int main ()
11437 {
11438   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11439   int status = $lt_dlunknown;
11440
11441   if (self)
11442     {
11443       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11444       else
11445         {
11446           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11447           else puts (dlerror ());
11448         }
11449       /* dlclose (self); */
11450     }
11451   else
11452     puts (dlerror ());
11453
11454   return status;
11455 }
11456 _LT_EOF
11457   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11458   (eval $ac_link) 2>&5
11459   ac_status=$?
11460   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11461   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11462     (./conftest; exit; ) >&5 2>/dev/null
11463     lt_status=$?
11464     case x$lt_status in
11465       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11466       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11467       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11468     esac
11469   else :
11470     # compilation failed
11471     lt_cv_dlopen_self=no
11472   fi
11473 fi
11474 rm -fr conftest*
11475
11476
11477 fi
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11479 $as_echo "$lt_cv_dlopen_self" >&6; }
11480
11481     if test "x$lt_cv_dlopen_self" = xyes; then
11482       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11483       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11484 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11485 if ${lt_cv_dlopen_self_static+:} false; then :
11486   $as_echo_n "(cached) " >&6
11487 else
11488           if test "$cross_compiling" = yes; then :
11489   lt_cv_dlopen_self_static=cross
11490 else
11491   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11492   lt_status=$lt_dlunknown
11493   cat > conftest.$ac_ext <<_LT_EOF
11494 #line $LINENO "configure"
11495 #include "confdefs.h"
11496
11497 #if HAVE_DLFCN_H
11498 #include <dlfcn.h>
11499 #endif
11500
11501 #include <stdio.h>
11502
11503 #ifdef RTLD_GLOBAL
11504 #  define LT_DLGLOBAL           RTLD_GLOBAL
11505 #else
11506 #  ifdef DL_GLOBAL
11507 #    define LT_DLGLOBAL         DL_GLOBAL
11508 #  else
11509 #    define LT_DLGLOBAL         0
11510 #  endif
11511 #endif
11512
11513 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11514    find out it does not work in some platform. */
11515 #ifndef LT_DLLAZY_OR_NOW
11516 #  ifdef RTLD_LAZY
11517 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11518 #  else
11519 #    ifdef DL_LAZY
11520 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11521 #    else
11522 #      ifdef RTLD_NOW
11523 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11524 #      else
11525 #        ifdef DL_NOW
11526 #          define LT_DLLAZY_OR_NOW      DL_NOW
11527 #        else
11528 #          define LT_DLLAZY_OR_NOW      0
11529 #        endif
11530 #      endif
11531 #    endif
11532 #  endif
11533 #endif
11534
11535 /* When -fvisbility=hidden is used, assume the code has been annotated
11536    correspondingly for the symbols needed.  */
11537 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11538 int fnord () __attribute__((visibility("default")));
11539 #endif
11540
11541 int fnord () { return 42; }
11542 int main ()
11543 {
11544   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11545   int status = $lt_dlunknown;
11546
11547   if (self)
11548     {
11549       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11550       else
11551         {
11552           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11553           else puts (dlerror ());
11554         }
11555       /* dlclose (self); */
11556     }
11557   else
11558     puts (dlerror ());
11559
11560   return status;
11561 }
11562 _LT_EOF
11563   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11564   (eval $ac_link) 2>&5
11565   ac_status=$?
11566   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11567   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11568     (./conftest; exit; ) >&5 2>/dev/null
11569     lt_status=$?
11570     case x$lt_status in
11571       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11572       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11573       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11574     esac
11575   else :
11576     # compilation failed
11577     lt_cv_dlopen_self_static=no
11578   fi
11579 fi
11580 rm -fr conftest*
11581
11582
11583 fi
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11585 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11586     fi
11587
11588     CPPFLAGS="$save_CPPFLAGS"
11589     LDFLAGS="$save_LDFLAGS"
11590     LIBS="$save_LIBS"
11591     ;;
11592   esac
11593
11594   case $lt_cv_dlopen_self in
11595   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11596   *) enable_dlopen_self=unknown ;;
11597   esac
11598
11599   case $lt_cv_dlopen_self_static in
11600   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11601   *) enable_dlopen_self_static=unknown ;;
11602   esac
11603 fi
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621 striplib=
11622 old_striplib=
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11624 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11625 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11626   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11627   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11629 $as_echo "yes" >&6; }
11630 else
11631 # FIXME - insert some real tests, host_os isn't really good enough
11632   case $host_os in
11633   darwin*)
11634     if test -n "$STRIP" ; then
11635       striplib="$STRIP -x"
11636       old_striplib="$STRIP -S"
11637       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11638 $as_echo "yes" >&6; }
11639     else
11640       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11641 $as_echo "no" >&6; }
11642     fi
11643     ;;
11644   *)
11645     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11646 $as_echo "no" >&6; }
11647     ;;
11648   esac
11649 fi
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662   # Report which library types will actually be built
11663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11664 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11666 $as_echo "$can_build_shared" >&6; }
11667
11668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11669 $as_echo_n "checking whether to build shared libraries... " >&6; }
11670   test "$can_build_shared" = "no" && enable_shared=no
11671
11672   # On AIX, shared libraries and static libraries use the same namespace, and
11673   # are all built from PIC.
11674   case $host_os in
11675   aix3*)
11676     test "$enable_shared" = yes && enable_static=no
11677     if test -n "$RANLIB"; then
11678       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11679       postinstall_cmds='$RANLIB $lib'
11680     fi
11681     ;;
11682
11683   aix[4-9]*)
11684     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11685       test "$enable_shared" = yes && enable_static=no
11686     fi
11687     ;;
11688   esac
11689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11690 $as_echo "$enable_shared" >&6; }
11691
11692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11693 $as_echo_n "checking whether to build static libraries... " >&6; }
11694   # Make sure either enable_shared or enable_static is yes.
11695   test "$enable_shared" = yes || enable_static=yes
11696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11697 $as_echo "$enable_static" >&6; }
11698
11699
11700
11701
11702 fi
11703 ac_ext=c
11704 ac_cpp='$CPP $CPPFLAGS'
11705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11708
11709 CC="$lt_save_CC"
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723         ac_config_commands="$ac_config_commands libtool"
11724
11725
11726
11727
11728 # Only expand once:
11729
11730
11731
11732 # Docygen features
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743 # Files:
11744 DX_PROJECT=shibboleth
11745
11746 DX_CONFIG=doxygen.cfg
11747
11748 DX_DOCDIR=doc/api
11749
11750
11751 # Environment variables used inside doxygen.cfg:
11752 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11753
11754 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11755
11756 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11757
11758 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11759
11760
11761 # Doxygen itself:
11762
11763
11764
11765     # Check whether --enable-doxygen-doc was given.
11766 if test "${enable_doxygen_doc+set}" = set; then :
11767   enableval=$enable_doxygen_doc;
11768 case "$enableval" in
11769 #(
11770 y|Y|yes|Yes|YES)
11771     DX_FLAG_doc=1
11772
11773
11774 ;; #(
11775 n|N|no|No|NO)
11776     DX_FLAG_doc=0
11777
11778 ;; #(
11779 *)
11780     as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11781 ;;
11782 esac
11783
11784 else
11785
11786 DX_FLAG_doc=1
11787
11788
11789
11790 fi
11791
11792 if test "$DX_FLAG_doc" = 1; then
11793
11794 if test -n "$ac_tool_prefix"; then
11795   # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11796 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11798 $as_echo_n "checking for $ac_word... " >&6; }
11799 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
11800   $as_echo_n "(cached) " >&6
11801 else
11802   case $DX_DOXYGEN in
11803   [\\/]* | ?:[\\/]*)
11804   ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11805   ;;
11806   *)
11807   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11808 for as_dir in $PATH
11809 do
11810   IFS=$as_save_IFS
11811   test -z "$as_dir" && as_dir=.
11812     for ac_exec_ext in '' $ac_executable_extensions; do
11813   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11814     ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11816     break 2
11817   fi
11818 done
11819   done
11820 IFS=$as_save_IFS
11821
11822   ;;
11823 esac
11824 fi
11825 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11826 if test -n "$DX_DOXYGEN"; then
11827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11828 $as_echo "$DX_DOXYGEN" >&6; }
11829 else
11830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11831 $as_echo "no" >&6; }
11832 fi
11833
11834
11835 fi
11836 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11837   ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11838   # Extract the first word of "doxygen", so it can be a program name with args.
11839 set dummy doxygen; ac_word=$2
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11841 $as_echo_n "checking for $ac_word... " >&6; }
11842 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
11843   $as_echo_n "(cached) " >&6
11844 else
11845   case $ac_pt_DX_DOXYGEN in
11846   [\\/]* | ?:[\\/]*)
11847   ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11848   ;;
11849   *)
11850   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11851 for as_dir in $PATH
11852 do
11853   IFS=$as_save_IFS
11854   test -z "$as_dir" && as_dir=.
11855     for ac_exec_ext in '' $ac_executable_extensions; do
11856   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11857     ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11859     break 2
11860   fi
11861 done
11862   done
11863 IFS=$as_save_IFS
11864
11865   ;;
11866 esac
11867 fi
11868 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11869 if test -n "$ac_pt_DX_DOXYGEN"; then
11870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11871 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11872 else
11873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874 $as_echo "no" >&6; }
11875 fi
11876
11877   if test "x$ac_pt_DX_DOXYGEN" = x; then
11878     DX_DOXYGEN=""
11879   else
11880     case $cross_compiling:$ac_tool_warned in
11881 yes:)
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11884 ac_tool_warned=yes ;;
11885 esac
11886     DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11887   fi
11888 else
11889   DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11890 fi
11891
11892 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11893     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11894 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11895     DX_FLAG_doc=0
11896
11897 fi
11898
11899
11900 if test -n "$ac_tool_prefix"; then
11901   # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11902 set dummy ${ac_tool_prefix}perl; ac_word=$2
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11904 $as_echo_n "checking for $ac_word... " >&6; }
11905 if ${ac_cv_path_DX_PERL+:} false; then :
11906   $as_echo_n "(cached) " >&6
11907 else
11908   case $DX_PERL in
11909   [\\/]* | ?:[\\/]*)
11910   ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11911   ;;
11912   *)
11913   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11914 for as_dir in $PATH
11915 do
11916   IFS=$as_save_IFS
11917   test -z "$as_dir" && as_dir=.
11918     for ac_exec_ext in '' $ac_executable_extensions; do
11919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11920     ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11922     break 2
11923   fi
11924 done
11925   done
11926 IFS=$as_save_IFS
11927
11928   ;;
11929 esac
11930 fi
11931 DX_PERL=$ac_cv_path_DX_PERL
11932 if test -n "$DX_PERL"; then
11933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11934 $as_echo "$DX_PERL" >&6; }
11935 else
11936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11937 $as_echo "no" >&6; }
11938 fi
11939
11940
11941 fi
11942 if test -z "$ac_cv_path_DX_PERL"; then
11943   ac_pt_DX_PERL=$DX_PERL
11944   # Extract the first word of "perl", so it can be a program name with args.
11945 set dummy perl; ac_word=$2
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11947 $as_echo_n "checking for $ac_word... " >&6; }
11948 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
11949   $as_echo_n "(cached) " >&6
11950 else
11951   case $ac_pt_DX_PERL in
11952   [\\/]* | ?:[\\/]*)
11953   ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11954   ;;
11955   *)
11956   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11957 for as_dir in $PATH
11958 do
11959   IFS=$as_save_IFS
11960   test -z "$as_dir" && as_dir=.
11961     for ac_exec_ext in '' $ac_executable_extensions; do
11962   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11963     ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11965     break 2
11966   fi
11967 done
11968   done
11969 IFS=$as_save_IFS
11970
11971   ;;
11972 esac
11973 fi
11974 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11975 if test -n "$ac_pt_DX_PERL"; then
11976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11977 $as_echo "$ac_pt_DX_PERL" >&6; }
11978 else
11979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11980 $as_echo "no" >&6; }
11981 fi
11982
11983   if test "x$ac_pt_DX_PERL" = x; then
11984     DX_PERL=""
11985   else
11986     case $cross_compiling:$ac_tool_warned in
11987 yes:)
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11990 ac_tool_warned=yes ;;
11991 esac
11992     DX_PERL=$ac_pt_DX_PERL
11993   fi
11994 else
11995   DX_PERL="$ac_cv_path_DX_PERL"
11996 fi
11997
11998 if test "$DX_FLAG_doc$DX_PERL" = 1; then
11999     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
12000 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
12001     DX_FLAG_doc=0
12002
12003 fi
12004
12005     :
12006 fi
12007 if test "$DX_FLAG_doc" = 1; then
12008      if :; then
12009   DX_COND_doc_TRUE=
12010   DX_COND_doc_FALSE='#'
12011 else
12012   DX_COND_doc_TRUE='#'
12013   DX_COND_doc_FALSE=
12014 fi
12015
12016     DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
12017
12018     :
12019 else
12020      if false; then
12021   DX_COND_doc_TRUE=
12022   DX_COND_doc_FALSE='#'
12023 else
12024   DX_COND_doc_TRUE='#'
12025   DX_COND_doc_FALSE=
12026 fi
12027
12028
12029     :
12030 fi
12031
12032
12033 # Dot for graphics:
12034
12035
12036
12037     # Check whether --enable-doxygen-dot was given.
12038 if test "${enable_doxygen_dot+set}" = set; then :
12039   enableval=$enable_doxygen_dot;
12040 case "$enableval" in
12041 #(
12042 y|Y|yes|Yes|YES)
12043     DX_FLAG_dot=1
12044
12045
12046 test "$DX_FLAG_doc" = "1" \
12047 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
12048
12049 ;; #(
12050 n|N|no|No|NO)
12051     DX_FLAG_dot=0
12052
12053 ;; #(
12054 *)
12055     as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
12056 ;;
12057 esac
12058
12059 else
12060
12061 DX_FLAG_dot=1
12062
12063
12064 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
12065
12066
12067
12068 fi
12069
12070 if test "$DX_FLAG_dot" = 1; then
12071
12072 if test -n "$ac_tool_prefix"; then
12073   # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
12074 set dummy ${ac_tool_prefix}dot; ac_word=$2
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12076 $as_echo_n "checking for $ac_word... " >&6; }
12077 if ${ac_cv_path_DX_DOT+:} false; then :
12078   $as_echo_n "(cached) " >&6
12079 else
12080   case $DX_DOT in
12081   [\\/]* | ?:[\\/]*)
12082   ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
12083   ;;
12084   *)
12085   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12087 do
12088   IFS=$as_save_IFS
12089   test -z "$as_dir" && as_dir=.
12090     for ac_exec_ext in '' $ac_executable_extensions; do
12091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12092     ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12094     break 2
12095   fi
12096 done
12097   done
12098 IFS=$as_save_IFS
12099
12100   ;;
12101 esac
12102 fi
12103 DX_DOT=$ac_cv_path_DX_DOT
12104 if test -n "$DX_DOT"; then
12105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
12106 $as_echo "$DX_DOT" >&6; }
12107 else
12108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12109 $as_echo "no" >&6; }
12110 fi
12111
12112
12113 fi
12114 if test -z "$ac_cv_path_DX_DOT"; then
12115   ac_pt_DX_DOT=$DX_DOT
12116   # Extract the first word of "dot", so it can be a program name with args.
12117 set dummy dot; ac_word=$2
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12119 $as_echo_n "checking for $ac_word... " >&6; }
12120 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
12121   $as_echo_n "(cached) " >&6
12122 else
12123   case $ac_pt_DX_DOT in
12124   [\\/]* | ?:[\\/]*)
12125   ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
12126   ;;
12127   *)
12128   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12129 for as_dir in $PATH
12130 do
12131   IFS=$as_save_IFS
12132   test -z "$as_dir" && as_dir=.
12133     for ac_exec_ext in '' $ac_executable_extensions; do
12134   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12135     ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12137     break 2
12138   fi
12139 done
12140   done
12141 IFS=$as_save_IFS
12142
12143   ;;
12144 esac
12145 fi
12146 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
12147 if test -n "$ac_pt_DX_DOT"; then
12148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
12149 $as_echo "$ac_pt_DX_DOT" >&6; }
12150 else
12151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12152 $as_echo "no" >&6; }
12153 fi
12154
12155   if test "x$ac_pt_DX_DOT" = x; then
12156     DX_DOT=""
12157   else
12158     case $cross_compiling:$ac_tool_warned in
12159 yes:)
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12162 ac_tool_warned=yes ;;
12163 esac
12164     DX_DOT=$ac_pt_DX_DOT
12165   fi
12166 else
12167   DX_DOT="$ac_cv_path_DX_DOT"
12168 fi
12169
12170 if test "$DX_FLAG_dot$DX_DOT" = 1; then
12171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
12172 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
12173     DX_FLAG_dot=0
12174
12175 fi
12176
12177     :
12178 fi
12179 if test "$DX_FLAG_dot" = 1; then
12180      if :; then
12181   DX_COND_dot_TRUE=
12182   DX_COND_dot_FALSE='#'
12183 else
12184   DX_COND_dot_TRUE='#'
12185   DX_COND_dot_FALSE=
12186 fi
12187
12188     DX_ENV="$DX_ENV HAVE_DOT='YES'"
12189
12190              DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
12191
12192     :
12193 else
12194      if false; then
12195   DX_COND_dot_TRUE=
12196   DX_COND_dot_FALSE='#'
12197 else
12198   DX_COND_dot_TRUE='#'
12199   DX_COND_dot_FALSE=
12200 fi
12201
12202     DX_ENV="$DX_ENV HAVE_DOT='NO'"
12203
12204     :
12205 fi
12206
12207
12208 # Man pages generation:
12209
12210
12211
12212     # Check whether --enable-doxygen-man was given.
12213 if test "${enable_doxygen_man+set}" = set; then :
12214   enableval=$enable_doxygen_man;
12215 case "$enableval" in
12216 #(
12217 y|Y|yes|Yes|YES)
12218     DX_FLAG_man=1
12219
12220
12221 test "$DX_FLAG_doc" = "1" \
12222 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
12223
12224 ;; #(
12225 n|N|no|No|NO)
12226     DX_FLAG_man=0
12227
12228 ;; #(
12229 *)
12230     as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
12231 ;;
12232 esac
12233
12234 else
12235
12236 DX_FLAG_man=0
12237
12238
12239 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
12240
12241
12242
12243 fi
12244
12245 if test "$DX_FLAG_man" = 1; then
12246
12247     :
12248 fi
12249 if test "$DX_FLAG_man" = 1; then
12250      if :; then
12251   DX_COND_man_TRUE=
12252   DX_COND_man_FALSE='#'
12253 else
12254   DX_COND_man_TRUE='#'
12255   DX_COND_man_FALSE=
12256 fi
12257
12258     DX_ENV="$DX_ENV GENERATE_MAN='YES'"
12259
12260     :
12261 else
12262      if false; then
12263   DX_COND_man_TRUE=
12264   DX_COND_man_FALSE='#'
12265 else
12266   DX_COND_man_TRUE='#'
12267   DX_COND_man_FALSE=
12268 fi
12269
12270     DX_ENV="$DX_ENV GENERATE_MAN='NO'"
12271
12272     :
12273 fi
12274
12275
12276 # RTF file generation:
12277
12278
12279
12280     # Check whether --enable-doxygen-rtf was given.
12281 if test "${enable_doxygen_rtf+set}" = set; then :
12282   enableval=$enable_doxygen_rtf;
12283 case "$enableval" in
12284 #(
12285 y|Y|yes|Yes|YES)
12286     DX_FLAG_rtf=1
12287
12288
12289 test "$DX_FLAG_doc" = "1" \
12290 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
12291
12292 ;; #(
12293 n|N|no|No|NO)
12294     DX_FLAG_rtf=0
12295
12296 ;; #(
12297 *)
12298     as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
12299 ;;
12300 esac
12301
12302 else
12303
12304 DX_FLAG_rtf=0
12305
12306
12307 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
12308
12309
12310
12311 fi
12312
12313 if test "$DX_FLAG_rtf" = 1; then
12314
12315     :
12316 fi
12317 if test "$DX_FLAG_rtf" = 1; then
12318      if :; then
12319   DX_COND_rtf_TRUE=
12320   DX_COND_rtf_FALSE='#'
12321 else
12322   DX_COND_rtf_TRUE='#'
12323   DX_COND_rtf_FALSE=
12324 fi
12325
12326     DX_ENV="$DX_ENV GENERATE_RTF='YES'"
12327
12328     :
12329 else
12330      if false; then
12331   DX_COND_rtf_TRUE=
12332   DX_COND_rtf_FALSE='#'
12333 else
12334   DX_COND_rtf_TRUE='#'
12335   DX_COND_rtf_FALSE=
12336 fi
12337
12338     DX_ENV="$DX_ENV GENERATE_RTF='NO'"
12339
12340     :
12341 fi
12342
12343
12344 # XML file generation:
12345
12346
12347
12348     # Check whether --enable-doxygen-xml was given.
12349 if test "${enable_doxygen_xml+set}" = set; then :
12350   enableval=$enable_doxygen_xml;
12351 case "$enableval" in
12352 #(
12353 y|Y|yes|Yes|YES)
12354     DX_FLAG_xml=1
12355
12356
12357 test "$DX_FLAG_doc" = "1" \
12358 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
12359
12360 ;; #(
12361 n|N|no|No|NO)
12362     DX_FLAG_xml=0
12363
12364 ;; #(
12365 *)
12366     as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
12367 ;;
12368 esac
12369
12370 else
12371
12372 DX_FLAG_xml=0
12373
12374
12375 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
12376
12377
12378
12379 fi
12380
12381 if test "$DX_FLAG_xml" = 1; then
12382
12383     :
12384 fi
12385 if test "$DX_FLAG_xml" = 1; then
12386      if :; then
12387   DX_COND_xml_TRUE=
12388   DX_COND_xml_FALSE='#'
12389 else
12390   DX_COND_xml_TRUE='#'
12391   DX_COND_xml_FALSE=
12392 fi
12393
12394     DX_ENV="$DX_ENV GENERATE_XML='YES'"
12395
12396     :
12397 else
12398      if false; then
12399   DX_COND_xml_TRUE=
12400   DX_COND_xml_FALSE='#'
12401 else
12402   DX_COND_xml_TRUE='#'
12403   DX_COND_xml_FALSE=
12404 fi
12405
12406     DX_ENV="$DX_ENV GENERATE_XML='NO'"
12407
12408     :
12409 fi
12410
12411
12412 # (Compressed) HTML help generation:
12413
12414
12415
12416     # Check whether --enable-doxygen-chm was given.
12417 if test "${enable_doxygen_chm+set}" = set; then :
12418   enableval=$enable_doxygen_chm;
12419 case "$enableval" in
12420 #(
12421 y|Y|yes|Yes|YES)
12422     DX_FLAG_chm=1
12423
12424
12425 test "$DX_FLAG_doc" = "1" \
12426 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
12427
12428 ;; #(
12429 n|N|no|No|NO)
12430     DX_FLAG_chm=0
12431
12432 ;; #(
12433 *)
12434     as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
12435 ;;
12436 esac
12437
12438 else
12439
12440 DX_FLAG_chm=0
12441
12442
12443 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
12444
12445
12446
12447 fi
12448
12449 if test "$DX_FLAG_chm" = 1; then
12450
12451 if test -n "$ac_tool_prefix"; then
12452   # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
12453 set dummy ${ac_tool_prefix}hhc; ac_word=$2
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12455 $as_echo_n "checking for $ac_word... " >&6; }
12456 if ${ac_cv_path_DX_HHC+:} false; then :
12457   $as_echo_n "(cached) " >&6
12458 else
12459   case $DX_HHC in
12460   [\\/]* | ?:[\\/]*)
12461   ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
12462   ;;
12463   *)
12464   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12465 for as_dir in $PATH
12466 do
12467   IFS=$as_save_IFS
12468   test -z "$as_dir" && as_dir=.
12469     for ac_exec_ext in '' $ac_executable_extensions; do
12470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12471     ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12473     break 2
12474   fi
12475 done
12476   done
12477 IFS=$as_save_IFS
12478
12479   ;;
12480 esac
12481 fi
12482 DX_HHC=$ac_cv_path_DX_HHC
12483 if test -n "$DX_HHC"; then
12484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
12485 $as_echo "$DX_HHC" >&6; }
12486 else
12487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12488 $as_echo "no" >&6; }
12489 fi
12490
12491
12492 fi
12493 if test -z "$ac_cv_path_DX_HHC"; then
12494   ac_pt_DX_HHC=$DX_HHC
12495   # Extract the first word of "hhc", so it can be a program name with args.
12496 set dummy hhc; ac_word=$2
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12498 $as_echo_n "checking for $ac_word... " >&6; }
12499 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
12500   $as_echo_n "(cached) " >&6
12501 else
12502   case $ac_pt_DX_HHC in
12503   [\\/]* | ?:[\\/]*)
12504   ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
12505   ;;
12506   *)
12507   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12508 for as_dir in $PATH
12509 do
12510   IFS=$as_save_IFS
12511   test -z "$as_dir" && as_dir=.
12512     for ac_exec_ext in '' $ac_executable_extensions; do
12513   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12514     ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12516     break 2
12517   fi
12518 done
12519   done
12520 IFS=$as_save_IFS
12521
12522   ;;
12523 esac
12524 fi
12525 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
12526 if test -n "$ac_pt_DX_HHC"; then
12527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
12528 $as_echo "$ac_pt_DX_HHC" >&6; }
12529 else
12530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12531 $as_echo "no" >&6; }
12532 fi
12533
12534   if test "x$ac_pt_DX_HHC" = x; then
12535     DX_HHC=""
12536   else
12537     case $cross_compiling:$ac_tool_warned in
12538 yes:)
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12541 ac_tool_warned=yes ;;
12542 esac
12543     DX_HHC=$ac_pt_DX_HHC
12544   fi
12545 else
12546   DX_HHC="$ac_cv_path_DX_HHC"
12547 fi
12548
12549 if test "$DX_FLAG_chm$DX_HHC" = 1; then
12550     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
12551 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
12552     DX_FLAG_chm=0
12553
12554 fi
12555
12556     :
12557 fi
12558 if test "$DX_FLAG_chm" = 1; then
12559      if :; then
12560   DX_COND_chm_TRUE=
12561   DX_COND_chm_FALSE='#'
12562 else
12563   DX_COND_chm_TRUE='#'
12564   DX_COND_chm_FALSE=
12565 fi
12566
12567     DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
12568
12569              DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12570
12571              DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
12572
12573     :
12574 else
12575      if false; then
12576   DX_COND_chm_TRUE=
12577   DX_COND_chm_FALSE='#'
12578 else
12579   DX_COND_chm_TRUE='#'
12580   DX_COND_chm_FALSE=
12581 fi
12582
12583     DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
12584
12585     :
12586 fi
12587
12588
12589 # Seperate CHI file generation.
12590
12591
12592
12593     # Check whether --enable-doxygen-chi was given.
12594 if test "${enable_doxygen_chi+set}" = set; then :
12595   enableval=$enable_doxygen_chi;
12596 case "$enableval" in
12597 #(
12598 y|Y|yes|Yes|YES)
12599     DX_FLAG_chi=1
12600
12601
12602 test "$DX_FLAG_chm" = "1" \
12603 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
12604
12605 ;; #(
12606 n|N|no|No|NO)
12607     DX_FLAG_chi=0
12608
12609 ;; #(
12610 *)
12611     as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
12612 ;;
12613 esac
12614
12615 else
12616
12617 DX_FLAG_chi=0
12618
12619
12620 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
12621
12622
12623
12624 fi
12625
12626 if test "$DX_FLAG_chi" = 1; then
12627
12628     :
12629 fi
12630 if test "$DX_FLAG_chi" = 1; then
12631      if :; then
12632   DX_COND_chi_TRUE=
12633   DX_COND_chi_FALSE='#'
12634 else
12635   DX_COND_chi_TRUE='#'
12636   DX_COND_chi_FALSE=
12637 fi
12638
12639     DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12640
12641     :
12642 else
12643      if false; then
12644   DX_COND_chi_TRUE=
12645   DX_COND_chi_FALSE='#'
12646 else
12647   DX_COND_chi_TRUE='#'
12648   DX_COND_chi_FALSE=
12649 fi
12650
12651     DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12652
12653     :
12654 fi
12655
12656
12657 # Plain HTML pages generation:
12658
12659
12660
12661     # Check whether --enable-doxygen-html was given.
12662 if test "${enable_doxygen_html+set}" = set; then :
12663   enableval=$enable_doxygen_html;
12664 case "$enableval" in
12665 #(
12666 y|Y|yes|Yes|YES)
12667     DX_FLAG_html=1
12668
12669
12670 test "$DX_FLAG_doc" = "1" \
12671 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12672
12673 test "$DX_FLAG_chm" = "0" \
12674 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12675
12676 ;; #(
12677 n|N|no|No|NO)
12678     DX_FLAG_html=0
12679
12680 ;; #(
12681 *)
12682     as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12683 ;;
12684 esac
12685
12686 else
12687
12688 DX_FLAG_html=1
12689
12690
12691 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12692
12693
12694 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12695
12696
12697
12698 fi
12699
12700 if test "$DX_FLAG_html" = 1; then
12701
12702     :
12703 fi
12704 if test "$DX_FLAG_html" = 1; then
12705      if :; then
12706   DX_COND_html_TRUE=
12707   DX_COND_html_FALSE='#'
12708 else
12709   DX_COND_html_TRUE='#'
12710   DX_COND_html_FALSE=
12711 fi
12712
12713     DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12714
12715     :
12716 else
12717      if false; then
12718   DX_COND_html_TRUE=
12719   DX_COND_html_FALSE='#'
12720 else
12721   DX_COND_html_TRUE='#'
12722   DX_COND_html_FALSE=
12723 fi
12724
12725     test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12726
12727     :
12728 fi
12729
12730
12731 # PostScript file generation:
12732
12733
12734
12735     # Check whether --enable-doxygen-ps was given.
12736 if test "${enable_doxygen_ps+set}" = set; then :
12737   enableval=$enable_doxygen_ps;
12738 case "$enableval" in
12739 #(
12740 y|Y|yes|Yes|YES)
12741     DX_FLAG_ps=1
12742
12743
12744 test "$DX_FLAG_doc" = "1" \
12745 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12746
12747 ;; #(
12748 n|N|no|No|NO)
12749     DX_FLAG_ps=0
12750
12751 ;; #(
12752 *)
12753     as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12754 ;;
12755 esac
12756
12757 else
12758
12759 DX_FLAG_ps=0
12760
12761
12762 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12763
12764
12765
12766 fi
12767
12768 if test "$DX_FLAG_ps" = 1; then
12769
12770 if test -n "$ac_tool_prefix"; then
12771   # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12772 set dummy ${ac_tool_prefix}latex; ac_word=$2
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12774 $as_echo_n "checking for $ac_word... " >&6; }
12775 if ${ac_cv_path_DX_LATEX+:} false; then :
12776   $as_echo_n "(cached) " >&6
12777 else
12778   case $DX_LATEX in
12779   [\\/]* | ?:[\\/]*)
12780   ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12781   ;;
12782   *)
12783   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12784 for as_dir in $PATH
12785 do
12786   IFS=$as_save_IFS
12787   test -z "$as_dir" && as_dir=.
12788     for ac_exec_ext in '' $ac_executable_extensions; do
12789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790     ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12792     break 2
12793   fi
12794 done
12795   done
12796 IFS=$as_save_IFS
12797
12798   ;;
12799 esac
12800 fi
12801 DX_LATEX=$ac_cv_path_DX_LATEX
12802 if test -n "$DX_LATEX"; then
12803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12804 $as_echo "$DX_LATEX" >&6; }
12805 else
12806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807 $as_echo "no" >&6; }
12808 fi
12809
12810
12811 fi
12812 if test -z "$ac_cv_path_DX_LATEX"; then
12813   ac_pt_DX_LATEX=$DX_LATEX
12814   # Extract the first word of "latex", so it can be a program name with args.
12815 set dummy latex; ac_word=$2
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12817 $as_echo_n "checking for $ac_word... " >&6; }
12818 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
12819   $as_echo_n "(cached) " >&6
12820 else
12821   case $ac_pt_DX_LATEX in
12822   [\\/]* | ?:[\\/]*)
12823   ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12824   ;;
12825   *)
12826   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12827 for as_dir in $PATH
12828 do
12829   IFS=$as_save_IFS
12830   test -z "$as_dir" && as_dir=.
12831     for ac_exec_ext in '' $ac_executable_extensions; do
12832   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12833     ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12835     break 2
12836   fi
12837 done
12838   done
12839 IFS=$as_save_IFS
12840
12841   ;;
12842 esac
12843 fi
12844 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12845 if test -n "$ac_pt_DX_LATEX"; then
12846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12847 $as_echo "$ac_pt_DX_LATEX" >&6; }
12848 else
12849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12850 $as_echo "no" >&6; }
12851 fi
12852
12853   if test "x$ac_pt_DX_LATEX" = x; then
12854     DX_LATEX=""
12855   else
12856     case $cross_compiling:$ac_tool_warned in
12857 yes:)
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12860 ac_tool_warned=yes ;;
12861 esac
12862     DX_LATEX=$ac_pt_DX_LATEX
12863   fi
12864 else
12865   DX_LATEX="$ac_cv_path_DX_LATEX"
12866 fi
12867
12868 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12869     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12870 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12871     DX_FLAG_ps=0
12872
12873 fi
12874
12875
12876 if test -n "$ac_tool_prefix"; then
12877   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12878 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12880 $as_echo_n "checking for $ac_word... " >&6; }
12881 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
12882   $as_echo_n "(cached) " >&6
12883 else
12884   case $DX_MAKEINDEX in
12885   [\\/]* | ?:[\\/]*)
12886   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12887   ;;
12888   *)
12889   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12890 for as_dir in $PATH
12891 do
12892   IFS=$as_save_IFS
12893   test -z "$as_dir" && as_dir=.
12894     for ac_exec_ext in '' $ac_executable_extensions; do
12895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12896     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12898     break 2
12899   fi
12900 done
12901   done
12902 IFS=$as_save_IFS
12903
12904   ;;
12905 esac
12906 fi
12907 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12908 if test -n "$DX_MAKEINDEX"; then
12909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12910 $as_echo "$DX_MAKEINDEX" >&6; }
12911 else
12912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12913 $as_echo "no" >&6; }
12914 fi
12915
12916
12917 fi
12918 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12919   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12920   # Extract the first word of "makeindex", so it can be a program name with args.
12921 set dummy makeindex; ac_word=$2
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12923 $as_echo_n "checking for $ac_word... " >&6; }
12924 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
12925   $as_echo_n "(cached) " >&6
12926 else
12927   case $ac_pt_DX_MAKEINDEX in
12928   [\\/]* | ?:[\\/]*)
12929   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12930   ;;
12931   *)
12932   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12933 for as_dir in $PATH
12934 do
12935   IFS=$as_save_IFS
12936   test -z "$as_dir" && as_dir=.
12937     for ac_exec_ext in '' $ac_executable_extensions; do
12938   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12939     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12941     break 2
12942   fi
12943 done
12944   done
12945 IFS=$as_save_IFS
12946
12947   ;;
12948 esac
12949 fi
12950 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12951 if test -n "$ac_pt_DX_MAKEINDEX"; then
12952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12953 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12954 else
12955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12957 fi
12958
12959   if test "x$ac_pt_DX_MAKEINDEX" = x; then
12960     DX_MAKEINDEX=""
12961   else
12962     case $cross_compiling:$ac_tool_warned in
12963 yes:)
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12966 ac_tool_warned=yes ;;
12967 esac
12968     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12969   fi
12970 else
12971   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12972 fi
12973
12974 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12975     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12976 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12977     DX_FLAG_ps=0
12978
12979 fi
12980
12981
12982 if test -n "$ac_tool_prefix"; then
12983   # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12984 set dummy ${ac_tool_prefix}dvips; ac_word=$2
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12986 $as_echo_n "checking for $ac_word... " >&6; }
12987 if ${ac_cv_path_DX_DVIPS+:} false; then :
12988   $as_echo_n "(cached) " >&6
12989 else
12990   case $DX_DVIPS in
12991   [\\/]* | ?:[\\/]*)
12992   ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
12993   ;;
12994   *)
12995   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12996 for as_dir in $PATH
12997 do
12998   IFS=$as_save_IFS
12999   test -z "$as_dir" && as_dir=.
13000     for ac_exec_ext in '' $ac_executable_extensions; do
13001   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13002     ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13004     break 2
13005   fi
13006 done
13007   done
13008 IFS=$as_save_IFS
13009
13010   ;;
13011 esac
13012 fi
13013 DX_DVIPS=$ac_cv_path_DX_DVIPS
13014 if test -n "$DX_DVIPS"; then
13015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
13016 $as_echo "$DX_DVIPS" >&6; }
13017 else
13018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13019 $as_echo "no" >&6; }
13020 fi
13021
13022
13023 fi
13024 if test -z "$ac_cv_path_DX_DVIPS"; then
13025   ac_pt_DX_DVIPS=$DX_DVIPS
13026   # Extract the first word of "dvips", so it can be a program name with args.
13027 set dummy dvips; ac_word=$2
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13029 $as_echo_n "checking for $ac_word... " >&6; }
13030 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
13031   $as_echo_n "(cached) " >&6
13032 else
13033   case $ac_pt_DX_DVIPS in
13034   [\\/]* | ?:[\\/]*)
13035   ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
13036   ;;
13037   *)
13038   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13039 for as_dir in $PATH
13040 do
13041   IFS=$as_save_IFS
13042   test -z "$as_dir" && as_dir=.
13043     for ac_exec_ext in '' $ac_executable_extensions; do
13044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13045     ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13047     break 2
13048   fi
13049 done
13050   done
13051 IFS=$as_save_IFS
13052
13053   ;;
13054 esac
13055 fi
13056 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
13057 if test -n "$ac_pt_DX_DVIPS"; then
13058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
13059 $as_echo "$ac_pt_DX_DVIPS" >&6; }
13060 else
13061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13062 $as_echo "no" >&6; }
13063 fi
13064
13065   if test "x$ac_pt_DX_DVIPS" = x; then
13066     DX_DVIPS=""
13067   else
13068     case $cross_compiling:$ac_tool_warned in
13069 yes:)
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13072 ac_tool_warned=yes ;;
13073 esac
13074     DX_DVIPS=$ac_pt_DX_DVIPS
13075   fi
13076 else
13077   DX_DVIPS="$ac_cv_path_DX_DVIPS"
13078 fi
13079
13080 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
13081     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
13082 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
13083     DX_FLAG_ps=0
13084
13085 fi
13086
13087
13088 if test -n "$ac_tool_prefix"; then
13089   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13090 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13092 $as_echo_n "checking for $ac_word... " >&6; }
13093 if ${ac_cv_path_DX_EGREP+:} false; then :
13094   $as_echo_n "(cached) " >&6
13095 else
13096   case $DX_EGREP in
13097   [\\/]* | ?:[\\/]*)
13098   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13099   ;;
13100   *)
13101   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13102 for as_dir in $PATH
13103 do
13104   IFS=$as_save_IFS
13105   test -z "$as_dir" && as_dir=.
13106     for ac_exec_ext in '' $ac_executable_extensions; do
13107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13108     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13110     break 2
13111   fi
13112 done
13113   done
13114 IFS=$as_save_IFS
13115
13116   ;;
13117 esac
13118 fi
13119 DX_EGREP=$ac_cv_path_DX_EGREP
13120 if test -n "$DX_EGREP"; then
13121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13122 $as_echo "$DX_EGREP" >&6; }
13123 else
13124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13125 $as_echo "no" >&6; }
13126 fi
13127
13128
13129 fi
13130 if test -z "$ac_cv_path_DX_EGREP"; then
13131   ac_pt_DX_EGREP=$DX_EGREP
13132   # Extract the first word of "egrep", so it can be a program name with args.
13133 set dummy egrep; ac_word=$2
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13135 $as_echo_n "checking for $ac_word... " >&6; }
13136 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13137   $as_echo_n "(cached) " >&6
13138 else
13139   case $ac_pt_DX_EGREP in
13140   [\\/]* | ?:[\\/]*)
13141   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13142   ;;
13143   *)
13144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13145 for as_dir in $PATH
13146 do
13147   IFS=$as_save_IFS
13148   test -z "$as_dir" && as_dir=.
13149     for ac_exec_ext in '' $ac_executable_extensions; do
13150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13151     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13153     break 2
13154   fi
13155 done
13156   done
13157 IFS=$as_save_IFS
13158
13159   ;;
13160 esac
13161 fi
13162 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13163 if test -n "$ac_pt_DX_EGREP"; then
13164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13165 $as_echo "$ac_pt_DX_EGREP" >&6; }
13166 else
13167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13168 $as_echo "no" >&6; }
13169 fi
13170
13171   if test "x$ac_pt_DX_EGREP" = x; then
13172     DX_EGREP=""
13173   else
13174     case $cross_compiling:$ac_tool_warned in
13175 yes:)
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13178 ac_tool_warned=yes ;;
13179 esac
13180     DX_EGREP=$ac_pt_DX_EGREP
13181   fi
13182 else
13183   DX_EGREP="$ac_cv_path_DX_EGREP"
13184 fi
13185
13186 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
13187     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
13188 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
13189     DX_FLAG_ps=0
13190
13191 fi
13192
13193     :
13194 fi
13195 if test "$DX_FLAG_ps" = 1; then
13196      if :; then
13197   DX_COND_ps_TRUE=
13198   DX_COND_ps_FALSE='#'
13199 else
13200   DX_COND_ps_TRUE='#'
13201   DX_COND_ps_FALSE=
13202 fi
13203
13204
13205     :
13206 else
13207      if false; then
13208   DX_COND_ps_TRUE=
13209   DX_COND_ps_FALSE='#'
13210 else
13211   DX_COND_ps_TRUE='#'
13212   DX_COND_ps_FALSE=
13213 fi
13214
13215
13216     :
13217 fi
13218
13219
13220 # PDF file generation:
13221
13222
13223
13224     # Check whether --enable-doxygen-pdf was given.
13225 if test "${enable_doxygen_pdf+set}" = set; then :
13226   enableval=$enable_doxygen_pdf;
13227 case "$enableval" in
13228 #(
13229 y|Y|yes|Yes|YES)
13230     DX_FLAG_pdf=1
13231
13232
13233 test "$DX_FLAG_doc" = "1" \
13234 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
13235
13236 ;; #(
13237 n|N|no|No|NO)
13238     DX_FLAG_pdf=0
13239
13240 ;; #(
13241 *)
13242     as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
13243 ;;
13244 esac
13245
13246 else
13247
13248 DX_FLAG_pdf=0
13249
13250
13251 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
13252
13253
13254
13255 fi
13256
13257 if test "$DX_FLAG_pdf" = 1; then
13258
13259 if test -n "$ac_tool_prefix"; then
13260   # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
13261 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13263 $as_echo_n "checking for $ac_word... " >&6; }
13264 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
13265   $as_echo_n "(cached) " >&6
13266 else
13267   case $DX_PDFLATEX in
13268   [\\/]* | ?:[\\/]*)
13269   ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
13270   ;;
13271   *)
13272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13273 for as_dir in $PATH
13274 do
13275   IFS=$as_save_IFS
13276   test -z "$as_dir" && as_dir=.
13277     for ac_exec_ext in '' $ac_executable_extensions; do
13278   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13279     ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13281     break 2
13282   fi
13283 done
13284   done
13285 IFS=$as_save_IFS
13286
13287   ;;
13288 esac
13289 fi
13290 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
13291 if test -n "$DX_PDFLATEX"; then
13292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
13293 $as_echo "$DX_PDFLATEX" >&6; }
13294 else
13295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13296 $as_echo "no" >&6; }
13297 fi
13298
13299
13300 fi
13301 if test -z "$ac_cv_path_DX_PDFLATEX"; then
13302   ac_pt_DX_PDFLATEX=$DX_PDFLATEX
13303   # Extract the first word of "pdflatex", so it can be a program name with args.
13304 set dummy pdflatex; ac_word=$2
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13306 $as_echo_n "checking for $ac_word... " >&6; }
13307 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
13308   $as_echo_n "(cached) " >&6
13309 else
13310   case $ac_pt_DX_PDFLATEX in
13311   [\\/]* | ?:[\\/]*)
13312   ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
13313   ;;
13314   *)
13315   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13316 for as_dir in $PATH
13317 do
13318   IFS=$as_save_IFS
13319   test -z "$as_dir" && as_dir=.
13320     for ac_exec_ext in '' $ac_executable_extensions; do
13321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13322     ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13324     break 2
13325   fi
13326 done
13327   done
13328 IFS=$as_save_IFS
13329
13330   ;;
13331 esac
13332 fi
13333 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
13334 if test -n "$ac_pt_DX_PDFLATEX"; then
13335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
13336 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
13337 else
13338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13339 $as_echo "no" >&6; }
13340 fi
13341
13342   if test "x$ac_pt_DX_PDFLATEX" = x; then
13343     DX_PDFLATEX=""
13344   else
13345     case $cross_compiling:$ac_tool_warned in
13346 yes:)
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13349 ac_tool_warned=yes ;;
13350 esac
13351     DX_PDFLATEX=$ac_pt_DX_PDFLATEX
13352   fi
13353 else
13354   DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
13355 fi
13356
13357 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
13358     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
13359 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
13360     DX_FLAG_pdf=0
13361
13362 fi
13363
13364
13365 if test -n "$ac_tool_prefix"; then
13366   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13367 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13369 $as_echo_n "checking for $ac_word... " >&6; }
13370 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
13371   $as_echo_n "(cached) " >&6
13372 else
13373   case $DX_MAKEINDEX in
13374   [\\/]* | ?:[\\/]*)
13375   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13376   ;;
13377   *)
13378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13379 for as_dir in $PATH
13380 do
13381   IFS=$as_save_IFS
13382   test -z "$as_dir" && as_dir=.
13383     for ac_exec_ext in '' $ac_executable_extensions; do
13384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13385     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13387     break 2
13388   fi
13389 done
13390   done
13391 IFS=$as_save_IFS
13392
13393   ;;
13394 esac
13395 fi
13396 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13397 if test -n "$DX_MAKEINDEX"; then
13398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13399 $as_echo "$DX_MAKEINDEX" >&6; }
13400 else
13401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13402 $as_echo "no" >&6; }
13403 fi
13404
13405
13406 fi
13407 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13408   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13409   # Extract the first word of "makeindex", so it can be a program name with args.
13410 set dummy makeindex; ac_word=$2
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13412 $as_echo_n "checking for $ac_word... " >&6; }
13413 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
13414   $as_echo_n "(cached) " >&6
13415 else
13416   case $ac_pt_DX_MAKEINDEX in
13417   [\\/]* | ?:[\\/]*)
13418   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13419   ;;
13420   *)
13421   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13422 for as_dir in $PATH
13423 do
13424   IFS=$as_save_IFS
13425   test -z "$as_dir" && as_dir=.
13426     for ac_exec_ext in '' $ac_executable_extensions; do
13427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13428     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13430     break 2
13431   fi
13432 done
13433   done
13434 IFS=$as_save_IFS
13435
13436   ;;
13437 esac
13438 fi
13439 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13440 if test -n "$ac_pt_DX_MAKEINDEX"; then
13441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13442 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13443 else
13444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13445 $as_echo "no" >&6; }
13446 fi
13447
13448   if test "x$ac_pt_DX_MAKEINDEX" = x; then
13449     DX_MAKEINDEX=""
13450   else
13451     case $cross_compiling:$ac_tool_warned in
13452 yes:)
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13455 ac_tool_warned=yes ;;
13456 esac
13457     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13458   fi
13459 else
13460   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13461 fi
13462
13463 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
13464     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
13465 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
13466     DX_FLAG_pdf=0
13467
13468 fi
13469
13470
13471 if test -n "$ac_tool_prefix"; then
13472   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13473 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13475 $as_echo_n "checking for $ac_word... " >&6; }
13476 if ${ac_cv_path_DX_EGREP+:} false; then :
13477   $as_echo_n "(cached) " >&6
13478 else
13479   case $DX_EGREP in
13480   [\\/]* | ?:[\\/]*)
13481   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13482   ;;
13483   *)
13484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13485 for as_dir in $PATH
13486 do
13487   IFS=$as_save_IFS
13488   test -z "$as_dir" && as_dir=.
13489     for ac_exec_ext in '' $ac_executable_extensions; do
13490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13491     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13493     break 2
13494   fi
13495 done
13496   done
13497 IFS=$as_save_IFS
13498
13499   ;;
13500 esac
13501 fi
13502 DX_EGREP=$ac_cv_path_DX_EGREP
13503 if test -n "$DX_EGREP"; then
13504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13505 $as_echo "$DX_EGREP" >&6; }
13506 else
13507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13508 $as_echo "no" >&6; }
13509 fi
13510
13511
13512 fi
13513 if test -z "$ac_cv_path_DX_EGREP"; then
13514   ac_pt_DX_EGREP=$DX_EGREP
13515   # Extract the first word of "egrep", so it can be a program name with args.
13516 set dummy egrep; ac_word=$2
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13518 $as_echo_n "checking for $ac_word... " >&6; }
13519 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
13520   $as_echo_n "(cached) " >&6
13521 else
13522   case $ac_pt_DX_EGREP in
13523   [\\/]* | ?:[\\/]*)
13524   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13525   ;;
13526   *)
13527   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13528 for as_dir in $PATH
13529 do
13530   IFS=$as_save_IFS
13531   test -z "$as_dir" && as_dir=.
13532     for ac_exec_ext in '' $ac_executable_extensions; do
13533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13534     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13536     break 2
13537   fi
13538 done
13539   done
13540 IFS=$as_save_IFS
13541
13542   ;;
13543 esac
13544 fi
13545 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13546 if test -n "$ac_pt_DX_EGREP"; then
13547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13548 $as_echo "$ac_pt_DX_EGREP" >&6; }
13549 else
13550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13551 $as_echo "no" >&6; }
13552 fi
13553
13554   if test "x$ac_pt_DX_EGREP" = x; then
13555     DX_EGREP=""
13556   else
13557     case $cross_compiling:$ac_tool_warned in
13558 yes:)
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13561 ac_tool_warned=yes ;;
13562 esac
13563     DX_EGREP=$ac_pt_DX_EGREP
13564   fi
13565 else
13566   DX_EGREP="$ac_cv_path_DX_EGREP"
13567 fi
13568
13569 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
13570     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
13571 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
13572     DX_FLAG_pdf=0
13573
13574 fi
13575
13576     :
13577 fi
13578 if test "$DX_FLAG_pdf" = 1; then
13579      if :; then
13580   DX_COND_pdf_TRUE=
13581   DX_COND_pdf_FALSE='#'
13582 else
13583   DX_COND_pdf_TRUE='#'
13584   DX_COND_pdf_FALSE=
13585 fi
13586
13587
13588     :
13589 else
13590      if false; then
13591   DX_COND_pdf_TRUE=
13592   DX_COND_pdf_FALSE='#'
13593 else
13594   DX_COND_pdf_TRUE='#'
13595   DX_COND_pdf_FALSE=
13596 fi
13597
13598
13599     :
13600 fi
13601
13602
13603 # LaTeX generation for PS and/or PDF:
13604 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
13605      if :; then
13606   DX_COND_latex_TRUE=
13607   DX_COND_latex_FALSE='#'
13608 else
13609   DX_COND_latex_TRUE='#'
13610   DX_COND_latex_FALSE=
13611 fi
13612
13613     DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
13614
13615 else
13616      if false; then
13617   DX_COND_latex_TRUE=
13618   DX_COND_latex_FALSE='#'
13619 else
13620   DX_COND_latex_TRUE='#'
13621   DX_COND_latex_FALSE=
13622 fi
13623
13624     DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
13625
13626 fi
13627
13628 # Paper size for PS and/or PDF:
13629
13630 case "$DOXYGEN_PAPER_SIZE" in
13631 #(
13632 "")
13633     DOXYGEN_PAPER_SIZE=""
13634
13635 ;; #(
13636 a4wide|a4|letter|legal|executive)
13637     DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
13638
13639 ;; #(
13640 *)
13641     as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13642 ;;
13643 esac
13644
13645 #For debugging:
13646 #echo DX_FLAG_doc=$DX_FLAG_doc
13647 #echo DX_FLAG_dot=$DX_FLAG_dot
13648 #echo DX_FLAG_man=$DX_FLAG_man
13649 #echo DX_FLAG_html=$DX_FLAG_html
13650 #echo DX_FLAG_chm=$DX_FLAG_chm
13651 #echo DX_FLAG_chi=$DX_FLAG_chi
13652 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13653 #echo DX_FLAG_xml=$DX_FLAG_xml
13654 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13655 #echo DX_FLAG_ps=$DX_FLAG_ps
13656 #echo DX_ENV=$DX_ENV
13657
13658 DX_INCLUDE=
13659
13660 # Check whether --enable-debug was given.
13661 if test "${enable_debug+set}" = set; then :
13662   enableval=$enable_debug; enable_debug=$enableval
13663 else
13664   enable_debug=no
13665 fi
13666
13667
13668 if test "$enable_debug" = "yes" ; then
13669     GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
13670     GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
13671 else
13672     GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
13673     GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
13674 fi
13675
13676 ac_config_headers="$ac_config_headers config.h"
13677
13678 ac_config_files="$ac_config_files shibboleth.spec pkginfo Portfile"
13679
13680
13681 ac_ext=c
13682 ac_cpp='$CPP $CPPFLAGS'
13683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13686 if test -n "$ac_tool_prefix"; then
13687   for ac_prog in gcc gcc3 cc
13688   do
13689     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13692 $as_echo_n "checking for $ac_word... " >&6; }
13693 if ${ac_cv_prog_CC+:} false; then :
13694   $as_echo_n "(cached) " >&6
13695 else
13696   if test -n "$CC"; then
13697   ac_cv_prog_CC="$CC" # Let the user override the test.
13698 else
13699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13700 for as_dir in $PATH
13701 do
13702   IFS=$as_save_IFS
13703   test -z "$as_dir" && as_dir=.
13704     for ac_exec_ext in '' $ac_executable_extensions; do
13705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13706     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13708     break 2
13709   fi
13710 done
13711   done
13712 IFS=$as_save_IFS
13713
13714 fi
13715 fi
13716 CC=$ac_cv_prog_CC
13717 if test -n "$CC"; then
13718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13719 $as_echo "$CC" >&6; }
13720 else
13721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13722 $as_echo "no" >&6; }
13723 fi
13724
13725
13726     test -n "$CC" && break
13727   done
13728 fi
13729 if test -z "$CC"; then
13730   ac_ct_CC=$CC
13731   for ac_prog in gcc gcc3 cc
13732 do
13733   # Extract the first word of "$ac_prog", so it can be a program name with args.
13734 set dummy $ac_prog; ac_word=$2
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13736 $as_echo_n "checking for $ac_word... " >&6; }
13737 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13738   $as_echo_n "(cached) " >&6
13739 else
13740   if test -n "$ac_ct_CC"; then
13741   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13742 else
13743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13744 for as_dir in $PATH
13745 do
13746   IFS=$as_save_IFS
13747   test -z "$as_dir" && as_dir=.
13748     for ac_exec_ext in '' $ac_executable_extensions; do
13749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13750     ac_cv_prog_ac_ct_CC="$ac_prog"
13751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13752     break 2
13753   fi
13754 done
13755   done
13756 IFS=$as_save_IFS
13757
13758 fi
13759 fi
13760 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13761 if test -n "$ac_ct_CC"; then
13762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13763 $as_echo "$ac_ct_CC" >&6; }
13764 else
13765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13766 $as_echo "no" >&6; }
13767 fi
13768
13769
13770   test -n "$ac_ct_CC" && break
13771 done
13772
13773   if test "x$ac_ct_CC" = x; then
13774     CC=""
13775   else
13776     case $cross_compiling:$ac_tool_warned in
13777 yes:)
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13780 ac_tool_warned=yes ;;
13781 esac
13782     CC=$ac_ct_CC
13783   fi
13784 fi
13785
13786
13787 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13789 as_fn_error $? "no acceptable C compiler found in \$PATH
13790 See \`config.log' for more details" "$LINENO" 5; }
13791
13792 # Provide some information about the compiler.
13793 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13794 set X $ac_compile
13795 ac_compiler=$2
13796 for ac_option in --version -v -V -qversion; do
13797   { { ac_try="$ac_compiler $ac_option >&5"
13798 case "(($ac_try" in
13799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13800   *) ac_try_echo=$ac_try;;
13801 esac
13802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13803 $as_echo "$ac_try_echo"; } >&5
13804   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13805   ac_status=$?
13806   if test -s conftest.err; then
13807     sed '10a\
13808 ... rest of stderr output deleted ...
13809          10q' conftest.err >conftest.er1
13810     cat conftest.er1 >&5
13811   fi
13812   rm -f conftest.er1 conftest.err
13813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13814   test $ac_status = 0; }
13815 done
13816
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13818 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13819 if ${ac_cv_c_compiler_gnu+:} false; then :
13820   $as_echo_n "(cached) " >&6
13821 else
13822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h.  */
13824
13825 int
13826 main ()
13827 {
13828 #ifndef __GNUC__
13829        choke me
13830 #endif
13831
13832   ;
13833   return 0;
13834 }
13835 _ACEOF
13836 if ac_fn_c_try_compile "$LINENO"; then :
13837   ac_compiler_gnu=yes
13838 else
13839   ac_compiler_gnu=no
13840 fi
13841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13842 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13843
13844 fi
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13846 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13847 if test $ac_compiler_gnu = yes; then
13848   GCC=yes
13849 else
13850   GCC=
13851 fi
13852 ac_test_CFLAGS=${CFLAGS+set}
13853 ac_save_CFLAGS=$CFLAGS
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13855 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13856 if ${ac_cv_prog_cc_g+:} false; then :
13857   $as_echo_n "(cached) " >&6
13858 else
13859   ac_save_c_werror_flag=$ac_c_werror_flag
13860    ac_c_werror_flag=yes
13861    ac_cv_prog_cc_g=no
13862    CFLAGS="-g"
13863    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13864 /* end confdefs.h.  */
13865
13866 int
13867 main ()
13868 {
13869
13870   ;
13871   return 0;
13872 }
13873 _ACEOF
13874 if ac_fn_c_try_compile "$LINENO"; then :
13875   ac_cv_prog_cc_g=yes
13876 else
13877   CFLAGS=""
13878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h.  */
13880
13881 int
13882 main ()
13883 {
13884
13885   ;
13886   return 0;
13887 }
13888 _ACEOF
13889 if ac_fn_c_try_compile "$LINENO"; then :
13890
13891 else
13892   ac_c_werror_flag=$ac_save_c_werror_flag
13893          CFLAGS="-g"
13894          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h.  */
13896
13897 int
13898 main ()
13899 {
13900
13901   ;
13902   return 0;
13903 }
13904 _ACEOF
13905 if ac_fn_c_try_compile "$LINENO"; then :
13906   ac_cv_prog_cc_g=yes
13907 fi
13908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13909 fi
13910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13911 fi
13912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13913    ac_c_werror_flag=$ac_save_c_werror_flag
13914 fi
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13916 $as_echo "$ac_cv_prog_cc_g" >&6; }
13917 if test "$ac_test_CFLAGS" = set; then
13918   CFLAGS=$ac_save_CFLAGS
13919 elif test $ac_cv_prog_cc_g = yes; then
13920   if test "$GCC" = yes; then
13921     CFLAGS="-g -O2"
13922   else
13923     CFLAGS="-g"
13924   fi
13925 else
13926   if test "$GCC" = yes; then
13927     CFLAGS="-O2"
13928   else
13929     CFLAGS=
13930   fi
13931 fi
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13933 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13934 if ${ac_cv_prog_cc_c89+:} false; then :
13935   $as_echo_n "(cached) " >&6
13936 else
13937   ac_cv_prog_cc_c89=no
13938 ac_save_CC=$CC
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h.  */
13941 #include <stdarg.h>
13942 #include <stdio.h>
13943 #include <sys/types.h>
13944 #include <sys/stat.h>
13945 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13946 struct buf { int x; };
13947 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13948 static char *e (p, i)
13949      char **p;
13950      int i;
13951 {
13952   return p[i];
13953 }
13954 static char *f (char * (*g) (char **, int), char **p, ...)
13955 {
13956   char *s;
13957   va_list v;
13958   va_start (v,p);
13959   s = g (p, va_arg (v,int));
13960   va_end (v);
13961   return s;
13962 }
13963
13964 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13965    function prototypes and stuff, but not '\xHH' hex character constants.
13966    These don't provoke an error unfortunately, instead are silently treated
13967    as 'x'.  The following induces an error, until -std is added to get
13968    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13969    array size at least.  It's necessary to write '\x00'==0 to get something
13970    that's true only with -std.  */
13971 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13972
13973 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13974    inside strings and character constants.  */
13975 #define FOO(x) 'x'
13976 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13977
13978 int test (int i, double x);
13979 struct s1 {int (*f) (int a);};
13980 struct s2 {int (*f) (double a);};
13981 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13982 int argc;
13983 char **argv;
13984 int
13985 main ()
13986 {
13987 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13988   ;
13989   return 0;
13990 }
13991 _ACEOF
13992 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13993         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13994 do
13995   CC="$ac_save_CC $ac_arg"
13996   if ac_fn_c_try_compile "$LINENO"; then :
13997   ac_cv_prog_cc_c89=$ac_arg
13998 fi
13999 rm -f core conftest.err conftest.$ac_objext
14000   test "x$ac_cv_prog_cc_c89" != "xno" && break
14001 done
14002 rm -f conftest.$ac_ext
14003 CC=$ac_save_CC
14004
14005 fi
14006 # AC_CACHE_VAL
14007 case "x$ac_cv_prog_cc_c89" in
14008   x)
14009     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14010 $as_echo "none needed" >&6; } ;;
14011   xno)
14012     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14013 $as_echo "unsupported" >&6; } ;;
14014   *)
14015     CC="$CC $ac_cv_prog_cc_c89"
14016     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14017 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14018 esac
14019 if test "x$ac_cv_prog_cc_c89" != xno; then :
14020
14021 fi
14022
14023 ac_ext=c
14024 ac_cpp='$CPP $CPPFLAGS'
14025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14028
14029 depcc="$CC"   am_compiler_list=
14030
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14032 $as_echo_n "checking dependency style of $depcc... " >&6; }
14033 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14034   $as_echo_n "(cached) " >&6
14035 else
14036   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14037   # We make a subdir and do the tests there.  Otherwise we can end up
14038   # making bogus files that we don't know about and never remove.  For
14039   # instance it was reported that on HP-UX the gcc test will end up
14040   # making a dummy file named `D' -- because `-MD' means `put the output
14041   # in D'.
14042   mkdir conftest.dir
14043   # Copy depcomp to subdir because otherwise we won't find it if we're
14044   # using a relative directory.
14045   cp "$am_depcomp" conftest.dir
14046   cd conftest.dir
14047   # We will build objects and dependencies in a subdirectory because
14048   # it helps to detect inapplicable dependency modes.  For instance
14049   # both Tru64's cc and ICC support -MD to output dependencies as a
14050   # side effect of compilation, but ICC will put the dependencies in
14051   # the current directory while Tru64 will put them in the object
14052   # directory.
14053   mkdir sub
14054
14055   am_cv_CC_dependencies_compiler_type=none
14056   if test "$am_compiler_list" = ""; then
14057      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14058   fi
14059   am__universal=false
14060   case " $depcc " in #(
14061      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14062      esac
14063
14064   for depmode in $am_compiler_list; do
14065     # Setup a source with many dependencies, because some compilers
14066     # like to wrap large dependency lists on column 80 (with \), and
14067     # we should not choose a depcomp mode which is confused by this.
14068     #
14069     # We need to recreate these files for each test, as the compiler may
14070     # overwrite some of them when testing with obscure command lines.
14071     # This happens at least with the AIX C compiler.
14072     : > sub/conftest.c
14073     for i in 1 2 3 4 5 6; do
14074       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14075       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14076       # Solaris 8's {/usr,}/bin/sh.
14077       touch sub/conftst$i.h
14078     done
14079     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14080
14081     # We check with `-c' and `-o' for the sake of the "dashmstdout"
14082     # mode.  It turns out that the SunPro C++ compiler does not properly
14083     # handle `-M -o', and we need to detect this.  Also, some Intel
14084     # versions had trouble with output in subdirs
14085     am__obj=sub/conftest.${OBJEXT-o}
14086     am__minus_obj="-o $am__obj"
14087     case $depmode in
14088     gcc)
14089       # This depmode causes a compiler race in universal mode.
14090       test "$am__universal" = false || continue
14091       ;;
14092     nosideeffect)
14093       # after this tag, mechanisms are not by side-effect, so they'll
14094       # only be used when explicitly requested
14095       if test "x$enable_dependency_tracking" = xyes; then
14096         continue
14097       else
14098         break
14099       fi
14100       ;;
14101     msvisualcpp | msvcmsys)
14102       # This compiler won't grok `-c -o', but also, the minuso test has
14103       # not run yet.  These depmodes are late enough in the game, and
14104       # so weak that their functioning should not be impacted.
14105       am__obj=conftest.${OBJEXT-o}
14106       am__minus_obj=
14107       ;;
14108     none) break ;;
14109     esac
14110     if depmode=$depmode \
14111        source=sub/conftest.c object=$am__obj \
14112        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14113        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14114          >/dev/null 2>conftest.err &&
14115        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14116        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14117        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14118        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14119       # icc doesn't choke on unknown options, it will just issue warnings
14120       # or remarks (even with -Werror).  So we grep stderr for any message
14121       # that says an option was ignored or not supported.
14122       # When given -MP, icc 7.0 and 7.1 complain thusly:
14123       #   icc: Command line warning: ignoring option '-M'; no argument required
14124       # The diagnosis changed in icc 8.0:
14125       #   icc: Command line remark: option '-MP' not supported
14126       if (grep 'ignoring option' conftest.err ||
14127           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14128         am_cv_CC_dependencies_compiler_type=$depmode
14129         break
14130       fi
14131     fi
14132   done
14133
14134   cd ..
14135   rm -rf conftest.dir
14136 else
14137   am_cv_CC_dependencies_compiler_type=none
14138 fi
14139
14140 fi
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14142 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14143 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14144
14145  if
14146   test "x$enable_dependency_tracking" != xno \
14147   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14148   am__fastdepCC_TRUE=
14149   am__fastdepCC_FALSE='#'
14150 else
14151   am__fastdepCC_TRUE='#'
14152   am__fastdepCC_FALSE=
14153 fi
14154
14155
14156 ac_ext=cpp
14157 ac_cpp='$CXXCPP $CPPFLAGS'
14158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14161 if test -z "$CXX"; then
14162   if test -n "$CCC"; then
14163     CXX=$CCC
14164   else
14165     if test -n "$ac_tool_prefix"; then
14166   for ac_prog in g++ g++3 c++ CC
14167   do
14168     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14171 $as_echo_n "checking for $ac_word... " >&6; }
14172 if ${ac_cv_prog_CXX+:} false; then :
14173   $as_echo_n "(cached) " >&6
14174 else
14175   if test -n "$CXX"; then
14176   ac_cv_prog_CXX="$CXX" # Let the user override the test.
14177 else
14178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14179 for as_dir in $PATH
14180 do
14181   IFS=$as_save_IFS
14182   test -z "$as_dir" && as_dir=.
14183     for ac_exec_ext in '' $ac_executable_extensions; do
14184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14185     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14187     break 2
14188   fi
14189 done
14190   done
14191 IFS=$as_save_IFS
14192
14193 fi
14194 fi
14195 CXX=$ac_cv_prog_CXX
14196 if test -n "$CXX"; then
14197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14198 $as_echo "$CXX" >&6; }
14199 else
14200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14201 $as_echo "no" >&6; }
14202 fi
14203
14204
14205     test -n "$CXX" && break
14206   done
14207 fi
14208 if test -z "$CXX"; then
14209   ac_ct_CXX=$CXX
14210   for ac_prog in g++ g++3 c++ CC
14211 do
14212   # Extract the first word of "$ac_prog", so it can be a program name with args.
14213 set dummy $ac_prog; ac_word=$2
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14215 $as_echo_n "checking for $ac_word... " >&6; }
14216 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
14217   $as_echo_n "(cached) " >&6
14218 else
14219   if test -n "$ac_ct_CXX"; then
14220   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14221 else
14222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14223 for as_dir in $PATH
14224 do
14225   IFS=$as_save_IFS
14226   test -z "$as_dir" && as_dir=.
14227     for ac_exec_ext in '' $ac_executable_extensions; do
14228   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14229     ac_cv_prog_ac_ct_CXX="$ac_prog"
14230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14231     break 2
14232   fi
14233 done
14234   done
14235 IFS=$as_save_IFS
14236
14237 fi
14238 fi
14239 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14240 if test -n "$ac_ct_CXX"; then
14241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14242 $as_echo "$ac_ct_CXX" >&6; }
14243 else
14244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14245 $as_echo "no" >&6; }
14246 fi
14247
14248
14249   test -n "$ac_ct_CXX" && break
14250 done
14251
14252   if test "x$ac_ct_CXX" = x; then
14253     CXX="g++"
14254   else
14255     case $cross_compiling:$ac_tool_warned in
14256 yes:)
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14259 ac_tool_warned=yes ;;
14260 esac
14261     CXX=$ac_ct_CXX
14262   fi
14263 fi
14264
14265   fi
14266 fi
14267 # Provide some information about the compiler.
14268 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14269 set X $ac_compile
14270 ac_compiler=$2
14271 for ac_option in --version -v -V -qversion; do
14272   { { ac_try="$ac_compiler $ac_option >&5"
14273 case "(($ac_try" in
14274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14275   *) ac_try_echo=$ac_try;;
14276 esac
14277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14278 $as_echo "$ac_try_echo"; } >&5
14279   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14280   ac_status=$?
14281   if test -s conftest.err; then
14282     sed '10a\
14283 ... rest of stderr output deleted ...
14284          10q' conftest.err >conftest.er1
14285     cat conftest.er1 >&5
14286   fi
14287   rm -f conftest.er1 conftest.err
14288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14289   test $ac_status = 0; }
14290 done
14291
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14293 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14294 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14295   $as_echo_n "(cached) " >&6
14296 else
14297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h.  */
14299
14300 int
14301 main ()
14302 {
14303 #ifndef __GNUC__
14304        choke me
14305 #endif
14306
14307   ;
14308   return 0;
14309 }
14310 _ACEOF
14311 if ac_fn_cxx_try_compile "$LINENO"; then :
14312   ac_compiler_gnu=yes
14313 else
14314   ac_compiler_gnu=no
14315 fi
14316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14317 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14318
14319 fi
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14321 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14322 if test $ac_compiler_gnu = yes; then
14323   GXX=yes
14324 else
14325   GXX=
14326 fi
14327 ac_test_CXXFLAGS=${CXXFLAGS+set}
14328 ac_save_CXXFLAGS=$CXXFLAGS
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14330 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14331 if ${ac_cv_prog_cxx_g+:} false; then :
14332   $as_echo_n "(cached) " >&6
14333 else
14334   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14335    ac_cxx_werror_flag=yes
14336    ac_cv_prog_cxx_g=no
14337    CXXFLAGS="-g"
14338    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h.  */
14340
14341 int
14342 main ()
14343 {
14344
14345   ;
14346   return 0;
14347 }
14348 _ACEOF
14349 if ac_fn_cxx_try_compile "$LINENO"; then :
14350   ac_cv_prog_cxx_g=yes
14351 else
14352   CXXFLAGS=""
14353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h.  */
14355
14356 int
14357 main ()
14358 {
14359
14360   ;
14361   return 0;
14362 }
14363 _ACEOF
14364 if ac_fn_cxx_try_compile "$LINENO"; then :
14365
14366 else
14367   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14368          CXXFLAGS="-g"
14369          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h.  */
14371
14372 int
14373 main ()
14374 {
14375
14376   ;
14377   return 0;
14378 }
14379 _ACEOF
14380 if ac_fn_cxx_try_compile "$LINENO"; then :
14381   ac_cv_prog_cxx_g=yes
14382 fi
14383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14384 fi
14385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14386 fi
14387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14388    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14389 fi
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14391 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14392 if test "$ac_test_CXXFLAGS" = set; then
14393   CXXFLAGS=$ac_save_CXXFLAGS
14394 elif test $ac_cv_prog_cxx_g = yes; then
14395   if test "$GXX" = yes; then
14396     CXXFLAGS="-g -O2"
14397   else
14398     CXXFLAGS="-g"
14399   fi
14400 else
14401   if test "$GXX" = yes; then
14402     CXXFLAGS="-O2"
14403   else
14404     CXXFLAGS=
14405   fi
14406 fi
14407 ac_ext=c
14408 ac_cpp='$CPP $CPPFLAGS'
14409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14412
14413 depcc="$CXX"  am_compiler_list=
14414
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14416 $as_echo_n "checking dependency style of $depcc... " >&6; }
14417 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14418   $as_echo_n "(cached) " >&6
14419 else
14420   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14421   # We make a subdir and do the tests there.  Otherwise we can end up
14422   # making bogus files that we don't know about and never remove.  For
14423   # instance it was reported that on HP-UX the gcc test will end up
14424   # making a dummy file named `D' -- because `-MD' means `put the output
14425   # in D'.
14426   mkdir conftest.dir
14427   # Copy depcomp to subdir because otherwise we won't find it if we're
14428   # using a relative directory.
14429   cp "$am_depcomp" conftest.dir
14430   cd conftest.dir
14431   # We will build objects and dependencies in a subdirectory because
14432   # it helps to detect inapplicable dependency modes.  For instance
14433   # both Tru64's cc and ICC support -MD to output dependencies as a
14434   # side effect of compilation, but ICC will put the dependencies in
14435   # the current directory while Tru64 will put them in the object
14436   # directory.
14437   mkdir sub
14438
14439   am_cv_CXX_dependencies_compiler_type=none
14440   if test "$am_compiler_list" = ""; then
14441      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14442   fi
14443   am__universal=false
14444   case " $depcc " in #(
14445      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14446      esac
14447
14448   for depmode in $am_compiler_list; do
14449     # Setup a source with many dependencies, because some compilers
14450     # like to wrap large dependency lists on column 80 (with \), and
14451     # we should not choose a depcomp mode which is confused by this.
14452     #
14453     # We need to recreate these files for each test, as the compiler may
14454     # overwrite some of them when testing with obscure command lines.
14455     # This happens at least with the AIX C compiler.
14456     : > sub/conftest.c
14457     for i in 1 2 3 4 5 6; do
14458       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14459       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14460       # Solaris 8's {/usr,}/bin/sh.
14461       touch sub/conftst$i.h
14462     done
14463     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14464
14465     # We check with `-c' and `-o' for the sake of the "dashmstdout"
14466     # mode.  It turns out that the SunPro C++ compiler does not properly
14467     # handle `-M -o', and we need to detect this.  Also, some Intel
14468     # versions had trouble with output in subdirs
14469     am__obj=sub/conftest.${OBJEXT-o}
14470     am__minus_obj="-o $am__obj"
14471     case $depmode in
14472     gcc)
14473       # This depmode causes a compiler race in universal mode.
14474       test "$am__universal" = false || continue
14475       ;;
14476     nosideeffect)
14477       # after this tag, mechanisms are not by side-effect, so they'll
14478       # only be used when explicitly requested
14479       if test "x$enable_dependency_tracking" = xyes; then
14480         continue
14481       else
14482         break
14483       fi
14484       ;;
14485     msvisualcpp | msvcmsys)
14486       # This compiler won't grok `-c -o', but also, the minuso test has
14487       # not run yet.  These depmodes are late enough in the game, and
14488       # so weak that their functioning should not be impacted.
14489       am__obj=conftest.${OBJEXT-o}
14490       am__minus_obj=
14491       ;;
14492     none) break ;;
14493     esac
14494     if depmode=$depmode \
14495        source=sub/conftest.c object=$am__obj \
14496        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14497        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14498          >/dev/null 2>conftest.err &&
14499        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14500        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14501        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14502        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14503       # icc doesn't choke on unknown options, it will just issue warnings
14504       # or remarks (even with -Werror).  So we grep stderr for any message
14505       # that says an option was ignored or not supported.
14506       # When given -MP, icc 7.0 and 7.1 complain thusly:
14507       #   icc: Command line warning: ignoring option '-M'; no argument required
14508       # The diagnosis changed in icc 8.0:
14509       #   icc: Command line remark: option '-MP' not supported
14510       if (grep 'ignoring option' conftest.err ||
14511           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14512         am_cv_CXX_dependencies_compiler_type=$depmode
14513         break
14514       fi
14515     fi
14516   done
14517
14518   cd ..
14519   rm -rf conftest.dir
14520 else
14521   am_cv_CXX_dependencies_compiler_type=none
14522 fi
14523
14524 fi
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14526 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14527 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14528
14529  if
14530   test "x$enable_dependency_tracking" != xno \
14531   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14532   am__fastdepCXX_TRUE=
14533   am__fastdepCXX_FALSE='#'
14534 else
14535   am__fastdepCXX_TRUE='#'
14536   am__fastdepCXX_FALSE=
14537 fi
14538
14539
14540
14541
14542 func_stripname_cnf ()
14543 {
14544   case ${2} in
14545   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14546   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14547   esac
14548 } # func_stripname_cnf
14549
14550       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14551     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14552     (test "X$CXX" != "Xg++"))) ; then
14553   ac_ext=cpp
14554 ac_cpp='$CXXCPP $CPPFLAGS'
14555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14559 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14560 if test -z "$CXXCPP"; then
14561   if ${ac_cv_prog_CXXCPP+:} false; then :
14562   $as_echo_n "(cached) " >&6
14563 else
14564       # Double quotes because CXXCPP needs to be expanded
14565     for CXXCPP in "$CXX -E" "/lib/cpp"
14566     do
14567       ac_preproc_ok=false
14568 for ac_cxx_preproc_warn_flag in '' yes
14569 do
14570   # Use a header file that comes with gcc, so configuring glibc
14571   # with a fresh cross-compiler works.
14572   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14573   # <limits.h> exists even on freestanding compilers.
14574   # On the NeXT, cc -E runs the code through the compiler's parser,
14575   # not just through cpp. "Syntax error" is here to catch this case.
14576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h.  */
14578 #ifdef __STDC__
14579 # include <limits.h>
14580 #else
14581 # include <assert.h>
14582 #endif
14583                      Syntax error
14584 _ACEOF
14585 if ac_fn_cxx_try_cpp "$LINENO"; then :
14586
14587 else
14588   # Broken: fails on valid input.
14589 continue
14590 fi
14591 rm -f conftest.err conftest.i conftest.$ac_ext
14592
14593   # OK, works on sane cases.  Now check whether nonexistent headers
14594   # can be detected and how.
14595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h.  */
14597 #include <ac_nonexistent.h>
14598 _ACEOF
14599 if ac_fn_cxx_try_cpp "$LINENO"; then :
14600   # Broken: success on invalid input.
14601 continue
14602 else
14603   # Passes both tests.
14604 ac_preproc_ok=:
14605 break
14606 fi
14607 rm -f conftest.err conftest.i conftest.$ac_ext
14608
14609 done
14610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14611 rm -f conftest.i conftest.err conftest.$ac_ext
14612 if $ac_preproc_ok; then :
14613   break
14614 fi
14615
14616     done
14617     ac_cv_prog_CXXCPP=$CXXCPP
14618
14619 fi
14620   CXXCPP=$ac_cv_prog_CXXCPP
14621 else
14622   ac_cv_prog_CXXCPP=$CXXCPP
14623 fi
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14625 $as_echo "$CXXCPP" >&6; }
14626 ac_preproc_ok=false
14627 for ac_cxx_preproc_warn_flag in '' yes
14628 do
14629   # Use a header file that comes with gcc, so configuring glibc
14630   # with a fresh cross-compiler works.
14631   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14632   # <limits.h> exists even on freestanding compilers.
14633   # On the NeXT, cc -E runs the code through the compiler's parser,
14634   # not just through cpp. "Syntax error" is here to catch this case.
14635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h.  */
14637 #ifdef __STDC__
14638 # include <limits.h>
14639 #else
14640 # include <assert.h>
14641 #endif
14642                      Syntax error
14643 _ACEOF
14644 if ac_fn_cxx_try_cpp "$LINENO"; then :
14645
14646 else
14647   # Broken: fails on valid input.
14648 continue
14649 fi
14650 rm -f conftest.err conftest.i conftest.$ac_ext
14651
14652   # OK, works on sane cases.  Now check whether nonexistent headers
14653   # can be detected and how.
14654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h.  */
14656 #include <ac_nonexistent.h>
14657 _ACEOF
14658 if ac_fn_cxx_try_cpp "$LINENO"; then :
14659   # Broken: success on invalid input.
14660 continue
14661 else
14662   # Passes both tests.
14663 ac_preproc_ok=:
14664 break
14665 fi
14666 rm -f conftest.err conftest.i conftest.$ac_ext
14667
14668 done
14669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14670 rm -f conftest.i conftest.err conftest.$ac_ext
14671 if $ac_preproc_ok; then :
14672
14673 else
14674   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14676 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14677 See \`config.log' for more details" "$LINENO" 5; }
14678 fi
14679
14680 ac_ext=c
14681 ac_cpp='$CPP $CPPFLAGS'
14682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14685
14686 else
14687   _lt_caught_CXX_error=yes
14688 fi
14689
14690 ac_ext=cpp
14691 ac_cpp='$CXXCPP $CPPFLAGS'
14692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14695
14696 archive_cmds_need_lc_CXX=no
14697 allow_undefined_flag_CXX=
14698 always_export_symbols_CXX=no
14699 archive_expsym_cmds_CXX=
14700 compiler_needs_object_CXX=no
14701 export_dynamic_flag_spec_CXX=
14702 hardcode_direct_CXX=no
14703 hardcode_direct_absolute_CXX=no
14704 hardcode_libdir_flag_spec_CXX=
14705 hardcode_libdir_flag_spec_ld_CXX=
14706 hardcode_libdir_separator_CXX=
14707 hardcode_minus_L_CXX=no
14708 hardcode_shlibpath_var_CXX=unsupported
14709 hardcode_automatic_CXX=no
14710 inherit_rpath_CXX=no
14711 module_cmds_CXX=
14712 module_expsym_cmds_CXX=
14713 link_all_deplibs_CXX=unknown
14714 old_archive_cmds_CXX=$old_archive_cmds
14715 reload_flag_CXX=$reload_flag
14716 reload_cmds_CXX=$reload_cmds
14717 no_undefined_flag_CXX=
14718 whole_archive_flag_spec_CXX=
14719 enable_shared_with_static_runtimes_CXX=no
14720
14721 # Source file extension for C++ test sources.
14722 ac_ext=cpp
14723
14724 # Object file extension for compiled C++ test sources.
14725 objext=o
14726 objext_CXX=$objext
14727
14728 # No sense in running all these tests if we already determined that
14729 # the CXX compiler isn't working.  Some variables (like enable_shared)
14730 # are currently assumed to apply to all compilers on this platform,
14731 # and will be corrupted by setting them based on a non-working compiler.
14732 if test "$_lt_caught_CXX_error" != yes; then
14733   # Code to be used in simple compile tests
14734   lt_simple_compile_test_code="int some_variable = 0;"
14735
14736   # Code to be used in simple link tests
14737   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14738
14739   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14740
14741
14742
14743
14744
14745
14746 # If no C compiler was specified, use CC.
14747 LTCC=${LTCC-"$CC"}
14748
14749 # If no C compiler flags were specified, use CFLAGS.
14750 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14751
14752 # Allow CC to be a program name with arguments.
14753 compiler=$CC
14754
14755
14756   # save warnings/boilerplate of simple test code
14757   ac_outfile=conftest.$ac_objext
14758 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14759 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14760 _lt_compiler_boilerplate=`cat conftest.err`
14761 $RM conftest*
14762
14763   ac_outfile=conftest.$ac_objext
14764 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14765 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14766 _lt_linker_boilerplate=`cat conftest.err`
14767 $RM -r conftest*
14768
14769
14770   # Allow CC to be a program name with arguments.
14771   lt_save_CC=$CC
14772   lt_save_CFLAGS=$CFLAGS
14773   lt_save_LD=$LD
14774   lt_save_GCC=$GCC
14775   GCC=$GXX
14776   lt_save_with_gnu_ld=$with_gnu_ld
14777   lt_save_path_LD=$lt_cv_path_LD
14778   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14779     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14780   else
14781     $as_unset lt_cv_prog_gnu_ld
14782   fi
14783   if test -n "${lt_cv_path_LDCXX+set}"; then
14784     lt_cv_path_LD=$lt_cv_path_LDCXX
14785   else
14786     $as_unset lt_cv_path_LD
14787   fi
14788   test -z "${LDCXX+set}" || LD=$LDCXX
14789   CC=${CXX-"c++"}
14790   CFLAGS=$CXXFLAGS
14791   compiler=$CC
14792   compiler_CXX=$CC
14793   for cc_temp in $compiler""; do
14794   case $cc_temp in
14795     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14796     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14797     \-*) ;;
14798     *) break;;
14799   esac
14800 done
14801 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14802
14803
14804   if test -n "$compiler"; then
14805     # We don't want -fno-exception when compiling C++ code, so set the
14806     # no_builtin_flag separately
14807     if test "$GXX" = yes; then
14808       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14809     else
14810       lt_prog_compiler_no_builtin_flag_CXX=
14811     fi
14812
14813     if test "$GXX" = yes; then
14814       # Set up default GNU C++ configuration
14815
14816
14817
14818 # Check whether --with-gnu-ld was given.
14819 if test "${with_gnu_ld+set}" = set; then :
14820   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14821 else
14822   with_gnu_ld=no
14823 fi
14824
14825 ac_prog=ld
14826 if test "$GCC" = yes; then
14827   # Check if gcc -print-prog-name=ld gives a path.
14828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14829 $as_echo_n "checking for ld used by $CC... " >&6; }
14830   case $host in
14831   *-*-mingw*)
14832     # gcc leaves a trailing carriage return which upsets mingw
14833     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14834   *)
14835     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14836   esac
14837   case $ac_prog in
14838     # Accept absolute paths.
14839     [\\/]* | ?:[\\/]*)
14840       re_direlt='/[^/][^/]*/\.\./'
14841       # Canonicalize the pathname of ld
14842       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14843       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14844         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14845       done
14846       test -z "$LD" && LD="$ac_prog"
14847       ;;
14848   "")
14849     # If it fails, then pretend we aren't using GCC.
14850     ac_prog=ld
14851     ;;
14852   *)
14853     # If it is relative, then search for the first ld in PATH.
14854     with_gnu_ld=unknown
14855     ;;
14856   esac
14857 elif test "$with_gnu_ld" = yes; then
14858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14859 $as_echo_n "checking for GNU ld... " >&6; }
14860 else
14861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14862 $as_echo_n "checking for non-GNU ld... " >&6; }
14863 fi
14864 if ${lt_cv_path_LD+:} false; then :
14865   $as_echo_n "(cached) " >&6
14866 else
14867   if test -z "$LD"; then
14868   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14869   for ac_dir in $PATH; do
14870     IFS="$lt_save_ifs"
14871     test -z "$ac_dir" && ac_dir=.
14872     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14873       lt_cv_path_LD="$ac_dir/$ac_prog"
14874       # Check to see if the program is GNU ld.  I'd rather use --version,
14875       # but apparently some variants of GNU ld only accept -v.
14876       # Break only if it was the GNU/non-GNU ld that we prefer.
14877       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14878       *GNU* | *'with BFD'*)
14879         test "$with_gnu_ld" != no && break
14880         ;;
14881       *)
14882         test "$with_gnu_ld" != yes && break
14883         ;;
14884       esac
14885     fi
14886   done
14887   IFS="$lt_save_ifs"
14888 else
14889   lt_cv_path_LD="$LD" # Let the user override the test with a path.
14890 fi
14891 fi
14892
14893 LD="$lt_cv_path_LD"
14894 if test -n "$LD"; then
14895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14896 $as_echo "$LD" >&6; }
14897 else
14898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14899 $as_echo "no" >&6; }
14900 fi
14901 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14903 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14904 if ${lt_cv_prog_gnu_ld+:} false; then :
14905   $as_echo_n "(cached) " >&6
14906 else
14907   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14908 case `$LD -v 2>&1 </dev/null` in
14909 *GNU* | *'with BFD'*)
14910   lt_cv_prog_gnu_ld=yes
14911   ;;
14912 *)
14913   lt_cv_prog_gnu_ld=no
14914   ;;
14915 esac
14916 fi
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14918 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14919 with_gnu_ld=$lt_cv_prog_gnu_ld
14920
14921
14922
14923
14924
14925
14926
14927       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14928       # archiving commands below assume that GNU ld is being used.
14929       if test "$with_gnu_ld" = yes; then
14930         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14931         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'
14932
14933         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14934         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14935
14936         # If archive_cmds runs LD, not CC, wlarc should be empty
14937         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14938         #     investigate it a little bit more. (MM)
14939         wlarc='${wl}'
14940
14941         # ancient GNU ld didn't support --whole-archive et. al.
14942         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14943           $GREP 'no-whole-archive' > /dev/null; then
14944           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14945         else
14946           whole_archive_flag_spec_CXX=
14947         fi
14948       else
14949         with_gnu_ld=no
14950         wlarc=
14951
14952         # A generic and very simple default shared library creation
14953         # command for GNU C++ for the case where it uses the native
14954         # linker, instead of GNU ld.  If possible, this setting should
14955         # overridden to take advantage of the native linker features on
14956         # the platform it is being used on.
14957         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14958       fi
14959
14960       # Commands to make compiler produce verbose output that lists
14961       # what "hidden" libraries, object files and flags are used when
14962       # linking a shared library.
14963       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14964
14965     else
14966       GXX=no
14967       with_gnu_ld=no
14968       wlarc=
14969     fi
14970
14971     # PORTME: fill in a description of your system's C++ link characteristics
14972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14973 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14974     ld_shlibs_CXX=yes
14975     case $host_os in
14976       aix3*)
14977         # FIXME: insert proper C++ library support
14978         ld_shlibs_CXX=no
14979         ;;
14980       aix[4-9]*)
14981         if test "$host_cpu" = ia64; then
14982           # On IA64, the linker does run time linking by default, so we don't
14983           # have to do anything special.
14984           aix_use_runtimelinking=no
14985           exp_sym_flag='-Bexport'
14986           no_entry_flag=""
14987         else
14988           aix_use_runtimelinking=no
14989
14990           # Test if we are trying to use run time linking or normal
14991           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14992           # need to do runtime linking.
14993           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14994             for ld_flag in $LDFLAGS; do
14995               case $ld_flag in
14996               *-brtl*)
14997                 aix_use_runtimelinking=yes
14998                 break
14999                 ;;
15000               esac
15001             done
15002             ;;
15003           esac
15004
15005           exp_sym_flag='-bexport'
15006           no_entry_flag='-bnoentry'
15007         fi
15008
15009         # When large executables or shared objects are built, AIX ld can
15010         # have problems creating the table of contents.  If linking a library
15011         # or program results in "error TOC overflow" add -mminimal-toc to
15012         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15013         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15014
15015         archive_cmds_CXX=''
15016         hardcode_direct_CXX=yes
15017         hardcode_direct_absolute_CXX=yes
15018         hardcode_libdir_separator_CXX=':'
15019         link_all_deplibs_CXX=yes
15020         file_list_spec_CXX='${wl}-f,'
15021
15022         if test "$GXX" = yes; then
15023           case $host_os in aix4.[012]|aix4.[012].*)
15024           # We only want to do this on AIX 4.2 and lower, the check
15025           # below for broken collect2 doesn't work under 4.3+
15026           collect2name=`${CC} -print-prog-name=collect2`
15027           if test -f "$collect2name" &&
15028              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15029           then
15030             # We have reworked collect2
15031             :
15032           else
15033             # We have old collect2
15034             hardcode_direct_CXX=unsupported
15035             # It fails to find uninstalled libraries when the uninstalled
15036             # path is not listed in the libpath.  Setting hardcode_minus_L
15037             # to unsupported forces relinking
15038             hardcode_minus_L_CXX=yes
15039             hardcode_libdir_flag_spec_CXX='-L$libdir'
15040             hardcode_libdir_separator_CXX=
15041           fi
15042           esac
15043           shared_flag='-shared'
15044           if test "$aix_use_runtimelinking" = yes; then
15045             shared_flag="$shared_flag "'${wl}-G'
15046           fi
15047         else
15048           # not using gcc
15049           if test "$host_cpu" = ia64; then
15050           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15051           # chokes on -Wl,-G. The following line is correct:
15052           shared_flag='-G'
15053           else
15054             if test "$aix_use_runtimelinking" = yes; then
15055               shared_flag='${wl}-G'
15056             else
15057               shared_flag='${wl}-bM:SRE'
15058             fi
15059           fi
15060         fi
15061
15062         export_dynamic_flag_spec_CXX='${wl}-bexpall'
15063         # It seems that -bexpall does not export symbols beginning with
15064         # underscore (_), so it is better to generate a list of symbols to
15065         # export.
15066         always_export_symbols_CXX=yes
15067         if test "$aix_use_runtimelinking" = yes; then
15068           # Warning - without using the other runtime loading flags (-brtl),
15069           # -berok will link without error, but may produce a broken library.
15070           allow_undefined_flag_CXX='-berok'
15071           # Determine the default libpath from the value encoded in an empty
15072           # executable.
15073           if test "${lt_cv_aix_libpath+set}" = set; then
15074   aix_libpath=$lt_cv_aix_libpath
15075 else
15076   if ${lt_cv_aix_libpath__CXX+:} false; then :
15077   $as_echo_n "(cached) " >&6
15078 else
15079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h.  */
15081
15082 int
15083 main ()
15084 {
15085
15086   ;
15087   return 0;
15088 }
15089 _ACEOF
15090 if ac_fn_cxx_try_link "$LINENO"; then :
15091
15092   lt_aix_libpath_sed='
15093       /Import File Strings/,/^$/ {
15094           /^0/ {
15095               s/^0  *\([^ ]*\) *$/\1/
15096               p
15097           }
15098       }'
15099   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15100   # Check for a 64-bit object if we didn't find anything.
15101   if test -z "$lt_cv_aix_libpath__CXX"; then
15102     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15103   fi
15104 fi
15105 rm -f core conftest.err conftest.$ac_objext \
15106     conftest$ac_exeext conftest.$ac_ext
15107   if test -z "$lt_cv_aix_libpath__CXX"; then
15108     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15109   fi
15110
15111 fi
15112
15113   aix_libpath=$lt_cv_aix_libpath__CXX
15114 fi
15115
15116           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15117
15118           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"
15119         else
15120           if test "$host_cpu" = ia64; then
15121             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15122             allow_undefined_flag_CXX="-z nodefs"
15123             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"
15124           else
15125             # Determine the default libpath from the value encoded in an
15126             # empty executable.
15127             if test "${lt_cv_aix_libpath+set}" = set; then
15128   aix_libpath=$lt_cv_aix_libpath
15129 else
15130   if ${lt_cv_aix_libpath__CXX+:} false; then :
15131   $as_echo_n "(cached) " >&6
15132 else
15133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15134 /* end confdefs.h.  */
15135
15136 int
15137 main ()
15138 {
15139
15140   ;
15141   return 0;
15142 }
15143 _ACEOF
15144 if ac_fn_cxx_try_link "$LINENO"; then :
15145
15146   lt_aix_libpath_sed='
15147       /Import File Strings/,/^$/ {
15148           /^0/ {
15149               s/^0  *\([^ ]*\) *$/\1/
15150               p
15151           }
15152       }'
15153   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15154   # Check for a 64-bit object if we didn't find anything.
15155   if test -z "$lt_cv_aix_libpath__CXX"; then
15156     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15157   fi
15158 fi
15159 rm -f core conftest.err conftest.$ac_objext \
15160     conftest$ac_exeext conftest.$ac_ext
15161   if test -z "$lt_cv_aix_libpath__CXX"; then
15162     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15163   fi
15164
15165 fi
15166
15167   aix_libpath=$lt_cv_aix_libpath__CXX
15168 fi
15169
15170             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15171             # Warning - without using the other run time loading flags,
15172             # -berok will link without error, but may produce a broken library.
15173             no_undefined_flag_CXX=' ${wl}-bernotok'
15174             allow_undefined_flag_CXX=' ${wl}-berok'
15175             if test "$with_gnu_ld" = yes; then
15176               # We only use this code for GNU lds that support --whole-archive.
15177               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15178             else
15179               # Exported symbols can be pulled into shared objects from archives
15180               whole_archive_flag_spec_CXX='$convenience'
15181             fi
15182             archive_cmds_need_lc_CXX=yes
15183             # This is similar to how AIX traditionally builds its shared
15184             # libraries.
15185             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'
15186           fi
15187         fi
15188         ;;
15189
15190       beos*)
15191         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15192           allow_undefined_flag_CXX=unsupported
15193           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15194           # support --undefined.  This deserves some investigation.  FIXME
15195           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15196         else
15197           ld_shlibs_CXX=no
15198         fi
15199         ;;
15200
15201       chorus*)
15202         case $cc_basename in
15203           *)
15204           # FIXME: insert proper C++ library support
15205           ld_shlibs_CXX=no
15206           ;;
15207         esac
15208         ;;
15209
15210       cygwin* | mingw* | pw32* | cegcc*)
15211         case $GXX,$cc_basename in
15212         ,cl* | no,cl*)
15213           # Native MSVC
15214           # hardcode_libdir_flag_spec is actually meaningless, as there is
15215           # no search path for DLLs.
15216           hardcode_libdir_flag_spec_CXX=' '
15217           allow_undefined_flag_CXX=unsupported
15218           always_export_symbols_CXX=yes
15219           file_list_spec_CXX='@'
15220           # Tell ltmain to make .lib files, not .a files.
15221           libext=lib
15222           # Tell ltmain to make .dll files, not .so files.
15223           shrext_cmds=".dll"
15224           # FIXME: Setting linknames here is a bad hack.
15225           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15226           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15227               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15228             else
15229               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15230             fi~
15231             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15232             linknames='
15233           # The linker will not automatically build a static lib if we build a DLL.
15234           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15235           enable_shared_with_static_runtimes_CXX=yes
15236           # Don't use ranlib
15237           old_postinstall_cmds_CXX='chmod 644 $oldlib'
15238           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15239             lt_tool_outputfile="@TOOL_OUTPUT@"~
15240             case $lt_outputfile in
15241               *.exe|*.EXE) ;;
15242               *)
15243                 lt_outputfile="$lt_outputfile.exe"
15244                 lt_tool_outputfile="$lt_tool_outputfile.exe"
15245                 ;;
15246             esac~
15247             func_to_tool_file "$lt_outputfile"~
15248             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15249               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15250               $RM "$lt_outputfile.manifest";
15251             fi'
15252           ;;
15253         *)
15254           # g++
15255           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15256           # as there is no search path for DLLs.
15257           hardcode_libdir_flag_spec_CXX='-L$libdir'
15258           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15259           allow_undefined_flag_CXX=unsupported
15260           always_export_symbols_CXX=no
15261           enable_shared_with_static_runtimes_CXX=yes
15262
15263           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15264             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'
15265             # If the export-symbols file already is a .def file (1st line
15266             # is EXPORTS), use it as is; otherwise, prepend...
15267             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15268               cp $export_symbols $output_objdir/$soname.def;
15269             else
15270               echo EXPORTS > $output_objdir/$soname.def;
15271               cat $export_symbols >> $output_objdir/$soname.def;
15272             fi~
15273             $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'
15274           else
15275             ld_shlibs_CXX=no
15276           fi
15277           ;;
15278         esac
15279         ;;
15280       darwin* | rhapsody*)
15281
15282
15283   archive_cmds_need_lc_CXX=no
15284   hardcode_direct_CXX=no
15285   hardcode_automatic_CXX=yes
15286   hardcode_shlibpath_var_CXX=unsupported
15287   if test "$lt_cv_ld_force_load" = "yes"; then
15288     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\"`'
15289   else
15290     whole_archive_flag_spec_CXX=''
15291   fi
15292   link_all_deplibs_CXX=yes
15293   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15294   case $cc_basename in
15295      ifort*) _lt_dar_can_shared=yes ;;
15296      *) _lt_dar_can_shared=$GCC ;;
15297   esac
15298   if test "$_lt_dar_can_shared" = "yes"; then
15299     output_verbose_link_cmd=func_echo_all
15300     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}"
15301     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15302     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}"
15303     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}"
15304        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15305       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}"
15306       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}"
15307     fi
15308
15309   else
15310   ld_shlibs_CXX=no
15311   fi
15312
15313         ;;
15314
15315       dgux*)
15316         case $cc_basename in
15317           ec++*)
15318             # FIXME: insert proper C++ library support
15319             ld_shlibs_CXX=no
15320             ;;
15321           ghcx*)
15322             # Green Hills C++ Compiler
15323             # FIXME: insert proper C++ library support
15324             ld_shlibs_CXX=no
15325             ;;
15326           *)
15327             # FIXME: insert proper C++ library support
15328             ld_shlibs_CXX=no
15329             ;;
15330         esac
15331         ;;
15332
15333       freebsd[12]*)
15334         # C++ shared libraries reported to be fairly broken before
15335         # switch to ELF
15336         ld_shlibs_CXX=no
15337         ;;
15338
15339       freebsd-elf*)
15340         archive_cmds_need_lc_CXX=no
15341         ;;
15342
15343       freebsd* | dragonfly*)
15344         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15345         # conventions
15346         ld_shlibs_CXX=yes
15347         ;;
15348
15349       gnu*)
15350         ;;
15351
15352       haiku*)
15353         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15354         link_all_deplibs_CXX=yes
15355         ;;
15356
15357       hpux9*)
15358         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15359         hardcode_libdir_separator_CXX=:
15360         export_dynamic_flag_spec_CXX='${wl}-E'
15361         hardcode_direct_CXX=yes
15362         hardcode_minus_L_CXX=yes # Not in the search PATH,
15363                                              # but as the default
15364                                              # location of the library.
15365
15366         case $cc_basename in
15367           CC*)
15368             # FIXME: insert proper C++ library support
15369             ld_shlibs_CXX=no
15370             ;;
15371           aCC*)
15372             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'
15373             # Commands to make compiler produce verbose output that lists
15374             # what "hidden" libraries, object files and flags are used when
15375             # linking a shared library.
15376             #
15377             # There doesn't appear to be a way to prevent this compiler from
15378             # explicitly linking system object files so we need to strip them
15379             # from the output so that they don't get included in the library
15380             # dependencies.
15381             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"'
15382             ;;
15383           *)
15384             if test "$GXX" = yes; then
15385               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'
15386             else
15387               # FIXME: insert proper C++ library support
15388               ld_shlibs_CXX=no
15389             fi
15390             ;;
15391         esac
15392         ;;
15393
15394       hpux10*|hpux11*)
15395         if test $with_gnu_ld = no; then
15396           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15397           hardcode_libdir_separator_CXX=:
15398
15399           case $host_cpu in
15400             hppa*64*|ia64*)
15401               ;;
15402             *)
15403               export_dynamic_flag_spec_CXX='${wl}-E'
15404               ;;
15405           esac
15406         fi
15407         case $host_cpu in
15408           hppa*64*|ia64*)
15409             hardcode_direct_CXX=no
15410             hardcode_shlibpath_var_CXX=no
15411             ;;
15412           *)
15413             hardcode_direct_CXX=yes
15414             hardcode_direct_absolute_CXX=yes
15415             hardcode_minus_L_CXX=yes # Not in the search PATH,
15416                                                  # but as the default
15417                                                  # location of the library.
15418             ;;
15419         esac
15420
15421         case $cc_basename in
15422           CC*)
15423             # FIXME: insert proper C++ library support
15424             ld_shlibs_CXX=no
15425             ;;
15426           aCC*)
15427             case $host_cpu in
15428               hppa*64*)
15429                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15430                 ;;
15431               ia64*)
15432                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15433                 ;;
15434               *)
15435                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15436                 ;;
15437             esac
15438             # Commands to make compiler produce verbose output that lists
15439             # what "hidden" libraries, object files and flags are used when
15440             # linking a shared library.
15441             #
15442             # There doesn't appear to be a way to prevent this compiler from
15443             # explicitly linking system object files so we need to strip them
15444             # from the output so that they don't get included in the library
15445             # dependencies.
15446             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"'
15447             ;;
15448           *)
15449             if test "$GXX" = yes; then
15450               if test $with_gnu_ld = no; then
15451                 case $host_cpu in
15452                   hppa*64*)
15453                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15454                     ;;
15455                   ia64*)
15456                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15457                     ;;
15458                   *)
15459                     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'
15460                     ;;
15461                 esac
15462               fi
15463             else
15464               # FIXME: insert proper C++ library support
15465               ld_shlibs_CXX=no
15466             fi
15467             ;;
15468         esac
15469         ;;
15470
15471       interix[3-9]*)
15472         hardcode_direct_CXX=no
15473         hardcode_shlibpath_var_CXX=no
15474         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15475         export_dynamic_flag_spec_CXX='${wl}-E'
15476         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15477         # Instead, shared libraries are loaded at an image base (0x10000000 by
15478         # default) and relocated if they conflict, which is a slow very memory
15479         # consuming and fragmenting process.  To avoid this, we pick a random,
15480         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15481         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15482         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'
15483         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'
15484         ;;
15485       irix5* | irix6*)
15486         case $cc_basename in
15487           CC*)
15488             # SGI C++
15489             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'
15490
15491             # Archives containing C++ object files must be created using
15492             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15493             # necessary to make sure instantiated templates are included
15494             # in the archive.
15495             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15496             ;;
15497           *)
15498             if test "$GXX" = yes; then
15499               if test "$with_gnu_ld" = no; then
15500                 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'
15501               else
15502                 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'
15503               fi
15504             fi
15505             link_all_deplibs_CXX=yes
15506             ;;
15507         esac
15508         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15509         hardcode_libdir_separator_CXX=:
15510         inherit_rpath_CXX=yes
15511         ;;
15512
15513       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15514         case $cc_basename in
15515           KCC*)
15516             # Kuck and Associates, Inc. (KAI) C++ Compiler
15517
15518             # KCC will only create a shared library if the output file
15519             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15520             # to its proper name (with version) after linking.
15521             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'
15522             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'
15523             # Commands to make compiler produce verbose output that lists
15524             # what "hidden" libraries, object files and flags are used when
15525             # linking a shared library.
15526             #
15527             # There doesn't appear to be a way to prevent this compiler from
15528             # explicitly linking system object files so we need to strip them
15529             # from the output so that they don't get included in the library
15530             # dependencies.
15531             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"'
15532
15533             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15534             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15535
15536             # Archives containing C++ object files must be created using
15537             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15538             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15539             ;;
15540           icpc* | ecpc* )
15541             # Intel C++
15542             with_gnu_ld=yes
15543             # version 8.0 and above of icpc choke on multiply defined symbols
15544             # if we add $predep_objects and $postdep_objects, however 7.1 and
15545             # earlier do not add the objects themselves.
15546             case `$CC -V 2>&1` in
15547               *"Version 7."*)
15548                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15549                 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'
15550                 ;;
15551               *)  # Version 8.0 or newer
15552                 tmp_idyn=
15553                 case $host_cpu in
15554                   ia64*) tmp_idyn=' -i_dynamic';;
15555                 esac
15556                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15557                 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'
15558                 ;;
15559             esac
15560             archive_cmds_need_lc_CXX=no
15561             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15562             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15563             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15564             ;;
15565           pgCC* | pgcpp*)
15566             # Portland Group C++ compiler
15567             case `$CC -V` in
15568             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15569               prelink_cmds_CXX='tpldir=Template.dir~
15570                 rm -rf $tpldir~
15571                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15572                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15573               old_archive_cmds_CXX='tpldir=Template.dir~
15574                 rm -rf $tpldir~
15575                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15576                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15577                 $RANLIB $oldlib'
15578               archive_cmds_CXX='tpldir=Template.dir~
15579                 rm -rf $tpldir~
15580                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15581                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15582               archive_expsym_cmds_CXX='tpldir=Template.dir~
15583                 rm -rf $tpldir~
15584                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15585                 $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'
15586               ;;
15587             *) # Version 6 and above use weak symbols
15588               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15589               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'
15590               ;;
15591             esac
15592
15593             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15594             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15595             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'
15596             ;;
15597           cxx*)
15598             # Compaq C++
15599             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15600             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'
15601
15602             runpath_var=LD_RUN_PATH
15603             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15604             hardcode_libdir_separator_CXX=:
15605
15606             # Commands to make compiler produce verbose output that lists
15607             # what "hidden" libraries, object files and flags are used when
15608             # linking a shared library.
15609             #
15610             # There doesn't appear to be a way to prevent this compiler from
15611             # explicitly linking system object files so we need to strip them
15612             # from the output so that they don't get included in the library
15613             # dependencies.
15614             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'
15615             ;;
15616           xl* | mpixl* | bgxl*)
15617             # IBM XL 8.0 on PPC, with GNU ld
15618             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15619             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15620             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15621             if test "x$supports_anon_versioning" = xyes; then
15622               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15623                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15624                 echo "local: *; };" >> $output_objdir/$libname.ver~
15625                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15626             fi
15627             ;;
15628           *)
15629             case `$CC -V 2>&1 | sed 5q` in
15630             *Sun\ C*)
15631               # Sun C++ 5.9
15632               no_undefined_flag_CXX=' -zdefs'
15633               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15634               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'
15635               hardcode_libdir_flag_spec_CXX='-R$libdir'
15636               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'
15637               compiler_needs_object_CXX=yes
15638
15639               # Not sure whether something based on
15640               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15641               # would be better.
15642               output_verbose_link_cmd='func_echo_all'
15643
15644               # Archives containing C++ object files must be created using
15645               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15646               # necessary to make sure instantiated templates are included
15647               # in the archive.
15648               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15649               ;;
15650             esac
15651             ;;
15652         esac
15653         ;;
15654
15655       lynxos*)
15656         # FIXME: insert proper C++ library support
15657         ld_shlibs_CXX=no
15658         ;;
15659
15660       m88k*)
15661         # FIXME: insert proper C++ library support
15662         ld_shlibs_CXX=no
15663         ;;
15664
15665       mvs*)
15666         case $cc_basename in
15667           cxx*)
15668             # FIXME: insert proper C++ library support
15669             ld_shlibs_CXX=no
15670             ;;
15671           *)
15672             # FIXME: insert proper C++ library support
15673             ld_shlibs_CXX=no
15674             ;;
15675         esac
15676         ;;
15677
15678       netbsd*)
15679         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15680           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15681           wlarc=
15682           hardcode_libdir_flag_spec_CXX='-R$libdir'
15683           hardcode_direct_CXX=yes
15684           hardcode_shlibpath_var_CXX=no
15685         fi
15686         # Workaround some broken pre-1.5 toolchains
15687         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15688         ;;
15689
15690       *nto* | *qnx*)
15691         ld_shlibs_CXX=yes
15692         ;;
15693
15694       openbsd2*)
15695         # C++ shared libraries are fairly broken
15696         ld_shlibs_CXX=no
15697         ;;
15698
15699       openbsd*)
15700         if test -f /usr/libexec/ld.so; then
15701           hardcode_direct_CXX=yes
15702           hardcode_shlibpath_var_CXX=no
15703           hardcode_direct_absolute_CXX=yes
15704           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15705           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15706           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15707             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15708             export_dynamic_flag_spec_CXX='${wl}-E'
15709             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15710           fi
15711           output_verbose_link_cmd=func_echo_all
15712         else
15713           ld_shlibs_CXX=no
15714         fi
15715         ;;
15716
15717       osf3* | osf4* | osf5*)
15718         case $cc_basename in
15719           KCC*)
15720             # Kuck and Associates, Inc. (KAI) C++ Compiler
15721
15722             # KCC will only create a shared library if the output file
15723             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15724             # to its proper name (with version) after linking.
15725             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'
15726
15727             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15728             hardcode_libdir_separator_CXX=:
15729
15730             # Archives containing C++ object files must be created using
15731             # the KAI C++ compiler.
15732             case $host in
15733               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15734               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15735             esac
15736             ;;
15737           RCC*)
15738             # Rational C++ 2.4.1
15739             # FIXME: insert proper C++ library support
15740             ld_shlibs_CXX=no
15741             ;;
15742           cxx*)
15743             case $host in
15744               osf3*)
15745                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15746                 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'
15747                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15748                 ;;
15749               *)
15750                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15751                 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'
15752                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15753                   echo "-hidden">> $lib.exp~
15754                   $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~
15755                   $RM $lib.exp'
15756                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15757                 ;;
15758             esac
15759
15760             hardcode_libdir_separator_CXX=:
15761
15762             # Commands to make compiler produce verbose output that lists
15763             # what "hidden" libraries, object files and flags are used when
15764             # linking a shared library.
15765             #
15766             # There doesn't appear to be a way to prevent this compiler from
15767             # explicitly linking system object files so we need to strip them
15768             # from the output so that they don't get included in the library
15769             # dependencies.
15770             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"'
15771             ;;
15772           *)
15773             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15774               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15775               case $host in
15776                 osf3*)
15777                   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'
15778                   ;;
15779                 *)
15780                   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'
15781                   ;;
15782               esac
15783
15784               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15785               hardcode_libdir_separator_CXX=:
15786
15787               # Commands to make compiler produce verbose output that lists
15788               # what "hidden" libraries, object files and flags are used when
15789               # linking a shared library.
15790               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15791
15792             else
15793               # FIXME: insert proper C++ library support
15794               ld_shlibs_CXX=no
15795             fi
15796             ;;
15797         esac
15798         ;;
15799
15800       psos*)
15801         # FIXME: insert proper C++ library support
15802         ld_shlibs_CXX=no
15803         ;;
15804
15805       sunos4*)
15806         case $cc_basename in
15807           CC*)
15808             # Sun C++ 4.x
15809             # FIXME: insert proper C++ library support
15810             ld_shlibs_CXX=no
15811             ;;
15812           lcc*)
15813             # Lucid
15814             # FIXME: insert proper C++ library support
15815             ld_shlibs_CXX=no
15816             ;;
15817           *)
15818             # FIXME: insert proper C++ library support
15819             ld_shlibs_CXX=no
15820             ;;
15821         esac
15822         ;;
15823
15824       solaris*)
15825         case $cc_basename in
15826           CC* | sunCC*)
15827             # Sun C++ 4.2, 5.x and Centerline C++
15828             archive_cmds_need_lc_CXX=yes
15829             no_undefined_flag_CXX=' -zdefs'
15830             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15831             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15832               $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'
15833
15834             hardcode_libdir_flag_spec_CXX='-R$libdir'
15835             hardcode_shlibpath_var_CXX=no
15836             case $host_os in
15837               solaris2.[0-5] | solaris2.[0-5].*) ;;
15838               *)
15839                 # The compiler driver will combine and reorder linker options,
15840                 # but understands `-z linker_flag'.
15841                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15842                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15843                 ;;
15844             esac
15845             link_all_deplibs_CXX=yes
15846
15847             output_verbose_link_cmd='func_echo_all'
15848
15849             # Archives containing C++ object files must be created using
15850             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15851             # necessary to make sure instantiated templates are included
15852             # in the archive.
15853             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15854             ;;
15855           gcx*)
15856             # Green Hills C++ Compiler
15857             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15858
15859             # The C++ compiler must be used to create the archive.
15860             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15861             ;;
15862           *)
15863             # GNU C++ compiler with Solaris linker
15864             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15865               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15866               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15867                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15868                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15869                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15870
15871                 # Commands to make compiler produce verbose output that lists
15872                 # what "hidden" libraries, object files and flags are used when
15873                 # linking a shared library.
15874                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15875               else
15876                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15877                 # platform.
15878                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15879                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15880                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15881
15882                 # Commands to make compiler produce verbose output that lists
15883                 # what "hidden" libraries, object files and flags are used when
15884                 # linking a shared library.
15885                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15886               fi
15887
15888               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15889               case $host_os in
15890                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15891                 *)
15892                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15893                   ;;
15894               esac
15895             fi
15896             ;;
15897         esac
15898         ;;
15899
15900     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15901       no_undefined_flag_CXX='${wl}-z,text'
15902       archive_cmds_need_lc_CXX=no
15903       hardcode_shlibpath_var_CXX=no
15904       runpath_var='LD_RUN_PATH'
15905
15906       case $cc_basename in
15907         CC*)
15908           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15909           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15910           ;;
15911         *)
15912           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15913           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15914           ;;
15915       esac
15916       ;;
15917
15918       sysv5* | sco3.2v5* | sco5v6*)
15919         # Note: We can NOT use -z defs as we might desire, because we do not
15920         # link with -lc, and that would cause any symbols used from libc to
15921         # always be unresolved, which means just about no library would
15922         # ever link correctly.  If we're not using GNU ld we use -z text
15923         # though, which does catch some bad symbols but isn't as heavy-handed
15924         # as -z defs.
15925         no_undefined_flag_CXX='${wl}-z,text'
15926         allow_undefined_flag_CXX='${wl}-z,nodefs'
15927         archive_cmds_need_lc_CXX=no
15928         hardcode_shlibpath_var_CXX=no
15929         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15930         hardcode_libdir_separator_CXX=':'
15931         link_all_deplibs_CXX=yes
15932         export_dynamic_flag_spec_CXX='${wl}-Bexport'
15933         runpath_var='LD_RUN_PATH'
15934
15935         case $cc_basename in
15936           CC*)
15937             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15938             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15939             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15940               '"$old_archive_cmds_CXX"
15941             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15942               '"$reload_cmds_CXX"
15943             ;;
15944           *)
15945             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15946             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15947             ;;
15948         esac
15949       ;;
15950
15951       tandem*)
15952         case $cc_basename in
15953           NCC*)
15954             # NonStop-UX NCC 3.20
15955             # FIXME: insert proper C++ library support
15956             ld_shlibs_CXX=no
15957             ;;
15958           *)
15959             # FIXME: insert proper C++ library support
15960             ld_shlibs_CXX=no
15961             ;;
15962         esac
15963         ;;
15964
15965       vxworks*)
15966         # FIXME: insert proper C++ library support
15967         ld_shlibs_CXX=no
15968         ;;
15969
15970       *)
15971         # FIXME: insert proper C++ library support
15972         ld_shlibs_CXX=no
15973         ;;
15974     esac
15975
15976     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15977 $as_echo "$ld_shlibs_CXX" >&6; }
15978     test "$ld_shlibs_CXX" = no && can_build_shared=no
15979
15980     GCC_CXX="$GXX"
15981     LD_CXX="$LD"
15982
15983     ## CAVEAT EMPTOR:
15984     ## There is no encapsulation within the following macros, do not change
15985     ## the running order or otherwise move them around unless you know exactly
15986     ## what you are doing...
15987     # Dependencies to place before and after the object being linked:
15988 predep_objects_CXX=
15989 postdep_objects_CXX=
15990 predeps_CXX=
15991 postdeps_CXX=
15992 compiler_lib_search_path_CXX=
15993
15994 cat > conftest.$ac_ext <<_LT_EOF
15995 class Foo
15996 {
15997 public:
15998   Foo (void) { a = 0; }
15999 private:
16000   int a;
16001 };
16002 _LT_EOF
16003
16004
16005 _lt_libdeps_save_CFLAGS=$CFLAGS
16006 case "$CC $CFLAGS " in #(
16007 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16008 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16009 esac
16010
16011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16012   (eval $ac_compile) 2>&5
16013   ac_status=$?
16014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16015   test $ac_status = 0; }; then
16016   # Parse the compiler output and extract the necessary
16017   # objects, libraries and library flags.
16018
16019   # Sentinel used to keep track of whether or not we are before
16020   # the conftest object file.
16021   pre_test_object_deps_done=no
16022
16023   for p in `eval "$output_verbose_link_cmd"`; do
16024     case ${prev}${p} in
16025
16026     -L* | -R* | -l*)
16027        # Some compilers place space between "-{L,R}" and the path.
16028        # Remove the space.
16029        if test $p = "-L" ||
16030           test $p = "-R"; then
16031          prev=$p
16032          continue
16033        fi
16034
16035        # Expand the sysroot to ease extracting the directories later.
16036        if test -z "$prev"; then
16037          case $p in
16038          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16039          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16040          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16041          esac
16042        fi
16043        case $p in
16044        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16045        esac
16046        if test "$pre_test_object_deps_done" = no; then
16047          case ${prev} in
16048          -L | -R)
16049            # Internal compiler library paths should come after those
16050            # provided the user.  The postdeps already come after the
16051            # user supplied libs so there is no need to process them.
16052            if test -z "$compiler_lib_search_path_CXX"; then
16053              compiler_lib_search_path_CXX="${prev}${p}"
16054            else
16055              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16056            fi
16057            ;;
16058          # The "-l" case would never come before the object being
16059          # linked, so don't bother handling this case.
16060          esac
16061        else
16062          if test -z "$postdeps_CXX"; then
16063            postdeps_CXX="${prev}${p}"
16064          else
16065            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16066          fi
16067        fi
16068        prev=
16069        ;;
16070
16071     *.lto.$objext) ;; # Ignore GCC LTO objects
16072     *.$objext)
16073        # This assumes that the test object file only shows up
16074        # once in the compiler output.
16075        if test "$p" = "conftest.$objext"; then
16076          pre_test_object_deps_done=yes
16077          continue
16078        fi
16079
16080        if test "$pre_test_object_deps_done" = no; then
16081          if test -z "$predep_objects_CXX"; then
16082            predep_objects_CXX="$p"
16083          else
16084            predep_objects_CXX="$predep_objects_CXX $p"
16085          fi
16086        else
16087          if test -z "$postdep_objects_CXX"; then
16088            postdep_objects_CXX="$p"
16089          else
16090            postdep_objects_CXX="$postdep_objects_CXX $p"
16091          fi
16092        fi
16093        ;;
16094
16095     *) ;; # Ignore the rest.
16096
16097     esac
16098   done
16099
16100   # Clean up.
16101   rm -f a.out a.exe
16102 else
16103   echo "libtool.m4: error: problem compiling CXX test program"
16104 fi
16105
16106 $RM -f confest.$objext
16107 CFLAGS=$_lt_libdeps_save_CFLAGS
16108
16109 # PORTME: override above test on systems where it is broken
16110 case $host_os in
16111 interix[3-9]*)
16112   # Interix 3.5 installs completely hosed .la files for C++, so rather than
16113   # hack all around it, let's just trust "g++" to DTRT.
16114   predep_objects_CXX=
16115   postdep_objects_CXX=
16116   postdeps_CXX=
16117   ;;
16118
16119 linux*)
16120   case `$CC -V 2>&1 | sed 5q` in
16121   *Sun\ C*)
16122     # Sun C++ 5.9
16123
16124     # The more standards-conforming stlport4 library is
16125     # incompatible with the Cstd library. Avoid specifying
16126     # it if it's in CXXFLAGS. Ignore libCrun as
16127     # -library=stlport4 depends on it.
16128     case " $CXX $CXXFLAGS " in
16129     *" -library=stlport4 "*)
16130       solaris_use_stlport4=yes
16131       ;;
16132     esac
16133
16134     if test "$solaris_use_stlport4" != yes; then
16135       postdeps_CXX='-library=Cstd -library=Crun'
16136     fi
16137     ;;
16138   esac
16139   ;;
16140
16141 solaris*)
16142   case $cc_basename in
16143   CC* | sunCC*)
16144     # The more standards-conforming stlport4 library is
16145     # incompatible with the Cstd library. Avoid specifying
16146     # it if it's in CXXFLAGS. Ignore libCrun as
16147     # -library=stlport4 depends on it.
16148     case " $CXX $CXXFLAGS " in
16149     *" -library=stlport4 "*)
16150       solaris_use_stlport4=yes
16151       ;;
16152     esac
16153
16154     # Adding this requires a known-good setup of shared libraries for
16155     # Sun compiler versions before 5.6, else PIC objects from an old
16156     # archive will be linked into the output, leading to subtle bugs.
16157     if test "$solaris_use_stlport4" != yes; then
16158       postdeps_CXX='-library=Cstd -library=Crun'
16159     fi
16160     ;;
16161   esac
16162   ;;
16163 esac
16164
16165
16166 case " $postdeps_CXX " in
16167 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16168 esac
16169  compiler_lib_search_dirs_CXX=
16170 if test -n "${compiler_lib_search_path_CXX}"; then
16171  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16172 fi
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204     lt_prog_compiler_wl_CXX=
16205 lt_prog_compiler_pic_CXX=
16206 lt_prog_compiler_static_CXX=
16207
16208
16209   # C++ specific cases for pic, static, wl, etc.
16210   if test "$GXX" = yes; then
16211     lt_prog_compiler_wl_CXX='-Wl,'
16212     lt_prog_compiler_static_CXX='-static'
16213
16214     case $host_os in
16215     aix*)
16216       # All AIX code is PIC.
16217       if test "$host_cpu" = ia64; then
16218         # AIX 5 now supports IA64 processor
16219         lt_prog_compiler_static_CXX='-Bstatic'
16220       fi
16221       ;;
16222
16223     amigaos*)
16224       case $host_cpu in
16225       powerpc)
16226             # see comment about AmigaOS4 .so support
16227             lt_prog_compiler_pic_CXX='-fPIC'
16228         ;;
16229       m68k)
16230             # FIXME: we need at least 68020 code to build shared libraries, but
16231             # adding the `-m68020' flag to GCC prevents building anything better,
16232             # like `-m68040'.
16233             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16234         ;;
16235       esac
16236       ;;
16237
16238     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16239       # PIC is the default for these OSes.
16240       ;;
16241     mingw* | cygwin* | os2* | pw32* | cegcc*)
16242       # This hack is so that the source file can tell whether it is being
16243       # built for inclusion in a dll (and should export symbols for example).
16244       # Although the cygwin gcc ignores -fPIC, still need this for old-style
16245       # (--disable-auto-import) libraries
16246       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16247       ;;
16248     darwin* | rhapsody*)
16249       # PIC is the default on this platform
16250       # Common symbols not allowed in MH_DYLIB files
16251       lt_prog_compiler_pic_CXX='-fno-common'
16252       ;;
16253     *djgpp*)
16254       # DJGPP does not support shared libraries at all
16255       lt_prog_compiler_pic_CXX=
16256       ;;
16257     haiku*)
16258       # PIC is the default for Haiku.
16259       # The "-static" flag exists, but is broken.
16260       lt_prog_compiler_static_CXX=
16261       ;;
16262     interix[3-9]*)
16263       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16264       # Instead, we relocate shared libraries at runtime.
16265       ;;
16266     sysv4*MP*)
16267       if test -d /usr/nec; then
16268         lt_prog_compiler_pic_CXX=-Kconform_pic
16269       fi
16270       ;;
16271     hpux*)
16272       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16273       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16274       # sets the default TLS model and affects inlining.
16275       case $host_cpu in
16276       hppa*64*)
16277         ;;
16278       *)
16279         lt_prog_compiler_pic_CXX='-fPIC'
16280         ;;
16281       esac
16282       ;;
16283     *qnx* | *nto*)
16284       # QNX uses GNU C++, but need to define -shared option too, otherwise
16285       # it will coredump.
16286       lt_prog_compiler_pic_CXX='-fPIC -shared'
16287       ;;
16288     *)
16289       lt_prog_compiler_pic_CXX='-fPIC'
16290       ;;
16291     esac
16292   else
16293     case $host_os in
16294       aix[4-9]*)
16295         # All AIX code is PIC.
16296         if test "$host_cpu" = ia64; then
16297           # AIX 5 now supports IA64 processor
16298           lt_prog_compiler_static_CXX='-Bstatic'
16299         else
16300           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16301         fi
16302         ;;
16303       chorus*)
16304         case $cc_basename in
16305         cxch68*)
16306           # Green Hills C++ Compiler
16307           # _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"
16308           ;;
16309         esac
16310         ;;
16311       mingw* | cygwin* | os2* | pw32* | cegcc*)
16312         # This hack is so that the source file can tell whether it is being
16313         # built for inclusion in a dll (and should export symbols for example).
16314         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16315         ;;
16316       dgux*)
16317         case $cc_basename in
16318           ec++*)
16319             lt_prog_compiler_pic_CXX='-KPIC'
16320             ;;
16321           ghcx*)
16322             # Green Hills C++ Compiler
16323             lt_prog_compiler_pic_CXX='-pic'
16324             ;;
16325           *)
16326             ;;
16327         esac
16328         ;;
16329       freebsd* | dragonfly*)
16330         # FreeBSD uses GNU C++
16331         ;;
16332       hpux9* | hpux10* | hpux11*)
16333         case $cc_basename in
16334           CC*)
16335             lt_prog_compiler_wl_CXX='-Wl,'
16336             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16337             if test "$host_cpu" != ia64; then
16338               lt_prog_compiler_pic_CXX='+Z'
16339             fi
16340             ;;
16341           aCC*)
16342             lt_prog_compiler_wl_CXX='-Wl,'
16343             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16344             case $host_cpu in
16345             hppa*64*|ia64*)
16346               # +Z the default
16347               ;;
16348             *)
16349               lt_prog_compiler_pic_CXX='+Z'
16350               ;;
16351             esac
16352             ;;
16353           *)
16354             ;;
16355         esac
16356         ;;
16357       interix*)
16358         # This is c89, which is MS Visual C++ (no shared libs)
16359         # Anyone wants to do a port?
16360         ;;
16361       irix5* | irix6* | nonstopux*)
16362         case $cc_basename in
16363           CC*)
16364             lt_prog_compiler_wl_CXX='-Wl,'
16365             lt_prog_compiler_static_CXX='-non_shared'
16366             # CC pic flag -KPIC is the default.
16367             ;;
16368           *)
16369             ;;
16370         esac
16371         ;;
16372       linux* | k*bsd*-gnu | kopensolaris*-gnu)
16373         case $cc_basename in
16374           KCC*)
16375             # KAI C++ Compiler
16376             lt_prog_compiler_wl_CXX='--backend -Wl,'
16377             lt_prog_compiler_pic_CXX='-fPIC'
16378             ;;
16379           ecpc* )
16380             # old Intel C++ for x86_64 which still supported -KPIC.
16381             lt_prog_compiler_wl_CXX='-Wl,'
16382             lt_prog_compiler_pic_CXX='-KPIC'
16383             lt_prog_compiler_static_CXX='-static'
16384             ;;
16385           icpc* )
16386             # Intel C++, used to be incompatible with GCC.
16387             # ICC 10 doesn't accept -KPIC any more.
16388             lt_prog_compiler_wl_CXX='-Wl,'
16389             lt_prog_compiler_pic_CXX='-fPIC'
16390             lt_prog_compiler_static_CXX='-static'
16391             ;;
16392           pgCC* | pgcpp*)
16393             # Portland Group C++ compiler
16394             lt_prog_compiler_wl_CXX='-Wl,'
16395             lt_prog_compiler_pic_CXX='-fpic'
16396             lt_prog_compiler_static_CXX='-Bstatic'
16397             ;;
16398           cxx*)
16399             # Compaq C++
16400             # Make sure the PIC flag is empty.  It appears that all Alpha
16401             # Linux and Compaq Tru64 Unix objects are PIC.
16402             lt_prog_compiler_pic_CXX=
16403             lt_prog_compiler_static_CXX='-non_shared'
16404             ;;
16405           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16406             # IBM XL 8.0, 9.0 on PPC and BlueGene
16407             lt_prog_compiler_wl_CXX='-Wl,'
16408             lt_prog_compiler_pic_CXX='-qpic'
16409             lt_prog_compiler_static_CXX='-qstaticlink'
16410             ;;
16411           *)
16412             case `$CC -V 2>&1 | sed 5q` in
16413             *Sun\ C*)
16414               # Sun C++ 5.9
16415               lt_prog_compiler_pic_CXX='-KPIC'
16416               lt_prog_compiler_static_CXX='-Bstatic'
16417               lt_prog_compiler_wl_CXX='-Qoption ld '
16418               ;;
16419             esac
16420             ;;
16421         esac
16422         ;;
16423       lynxos*)
16424         ;;
16425       m88k*)
16426         ;;
16427       mvs*)
16428         case $cc_basename in
16429           cxx*)
16430             lt_prog_compiler_pic_CXX='-W c,exportall'
16431             ;;
16432           *)
16433             ;;
16434         esac
16435         ;;
16436       netbsd*)
16437         ;;
16438       *qnx* | *nto*)
16439         # QNX uses GNU C++, but need to define -shared option too, otherwise
16440         # it will coredump.
16441         lt_prog_compiler_pic_CXX='-fPIC -shared'
16442         ;;
16443       osf3* | osf4* | osf5*)
16444         case $cc_basename in
16445           KCC*)
16446             lt_prog_compiler_wl_CXX='--backend -Wl,'
16447             ;;
16448           RCC*)
16449             # Rational C++ 2.4.1
16450             lt_prog_compiler_pic_CXX='-pic'
16451             ;;
16452           cxx*)
16453             # Digital/Compaq C++
16454             lt_prog_compiler_wl_CXX='-Wl,'
16455             # Make sure the PIC flag is empty.  It appears that all Alpha
16456             # Linux and Compaq Tru64 Unix objects are PIC.
16457             lt_prog_compiler_pic_CXX=
16458             lt_prog_compiler_static_CXX='-non_shared'
16459             ;;
16460           *)
16461             ;;
16462         esac
16463         ;;
16464       psos*)
16465         ;;
16466       solaris*)
16467         case $cc_basename in
16468           CC* | sunCC*)
16469             # Sun C++ 4.2, 5.x and Centerline C++
16470             lt_prog_compiler_pic_CXX='-KPIC'
16471             lt_prog_compiler_static_CXX='-Bstatic'
16472             lt_prog_compiler_wl_CXX='-Qoption ld '
16473             ;;
16474           gcx*)
16475             # Green Hills C++ Compiler
16476             lt_prog_compiler_pic_CXX='-PIC'
16477             ;;
16478           *)
16479             ;;
16480         esac
16481         ;;
16482       sunos4*)
16483         case $cc_basename in
16484           CC*)
16485             # Sun C++ 4.x
16486             lt_prog_compiler_pic_CXX='-pic'
16487             lt_prog_compiler_static_CXX='-Bstatic'
16488             ;;
16489           lcc*)
16490             # Lucid
16491             lt_prog_compiler_pic_CXX='-pic'
16492             ;;
16493           *)
16494             ;;
16495         esac
16496         ;;
16497       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16498         case $cc_basename in
16499           CC*)
16500             lt_prog_compiler_wl_CXX='-Wl,'
16501             lt_prog_compiler_pic_CXX='-KPIC'
16502             lt_prog_compiler_static_CXX='-Bstatic'
16503             ;;
16504         esac
16505         ;;
16506       tandem*)
16507         case $cc_basename in
16508           NCC*)
16509             # NonStop-UX NCC 3.20
16510             lt_prog_compiler_pic_CXX='-KPIC'
16511             ;;
16512           *)
16513             ;;
16514         esac
16515         ;;
16516       vxworks*)
16517         ;;
16518       *)
16519         lt_prog_compiler_can_build_shared_CXX=no
16520         ;;
16521     esac
16522   fi
16523
16524 case $host_os in
16525   # For platforms which do not support PIC, -DPIC is meaningless:
16526   *djgpp*)
16527     lt_prog_compiler_pic_CXX=
16528     ;;
16529   *)
16530     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16531     ;;
16532 esac
16533
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16535 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16536 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16537   $as_echo_n "(cached) " >&6
16538 else
16539   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16540 fi
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16542 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16543 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16544
16545 #
16546 # Check to make sure the PIC flag actually works.
16547 #
16548 if test -n "$lt_prog_compiler_pic_CXX"; then
16549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16550 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16551 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16552   $as_echo_n "(cached) " >&6
16553 else
16554   lt_cv_prog_compiler_pic_works_CXX=no
16555    ac_outfile=conftest.$ac_objext
16556    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16557    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16558    # Insert the option either (1) after the last *FLAGS variable, or
16559    # (2) before a word containing "conftest.", or (3) at the end.
16560    # Note that $ac_compile itself does not contain backslashes and begins
16561    # with a dollar sign (not a hyphen), so the echo should work correctly.
16562    # The option is referenced via a variable to avoid confusing sed.
16563    lt_compile=`echo "$ac_compile" | $SED \
16564    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16565    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16566    -e 's:$: $lt_compiler_flag:'`
16567    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16568    (eval "$lt_compile" 2>conftest.err)
16569    ac_status=$?
16570    cat conftest.err >&5
16571    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572    if (exit $ac_status) && test -s "$ac_outfile"; then
16573      # The compiler can only warn and ignore the option if not recognized
16574      # So say no if there are warnings other than the usual output.
16575      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16576      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16577      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16578        lt_cv_prog_compiler_pic_works_CXX=yes
16579      fi
16580    fi
16581    $RM conftest*
16582
16583 fi
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16585 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16586
16587 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16588     case $lt_prog_compiler_pic_CXX in
16589      "" | " "*) ;;
16590      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16591      esac
16592 else
16593     lt_prog_compiler_pic_CXX=
16594      lt_prog_compiler_can_build_shared_CXX=no
16595 fi
16596
16597 fi
16598
16599
16600
16601
16602
16603 #
16604 # Check to make sure the static flag actually works.
16605 #
16606 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16608 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16609 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16610   $as_echo_n "(cached) " >&6
16611 else
16612   lt_cv_prog_compiler_static_works_CXX=no
16613    save_LDFLAGS="$LDFLAGS"
16614    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16615    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16616    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16617      # The linker can only warn and ignore the option if not recognized
16618      # So say no if there are warnings
16619      if test -s conftest.err; then
16620        # Append any errors to the config.log.
16621        cat conftest.err 1>&5
16622        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16623        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16624        if diff conftest.exp conftest.er2 >/dev/null; then
16625          lt_cv_prog_compiler_static_works_CXX=yes
16626        fi
16627      else
16628        lt_cv_prog_compiler_static_works_CXX=yes
16629      fi
16630    fi
16631    $RM -r conftest*
16632    LDFLAGS="$save_LDFLAGS"
16633
16634 fi
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16636 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16637
16638 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16639     :
16640 else
16641     lt_prog_compiler_static_CXX=
16642 fi
16643
16644
16645
16646
16647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16648 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16649 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16650   $as_echo_n "(cached) " >&6
16651 else
16652   lt_cv_prog_compiler_c_o_CXX=no
16653    $RM -r conftest 2>/dev/null
16654    mkdir conftest
16655    cd conftest
16656    mkdir out
16657    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16658
16659    lt_compiler_flag="-o out/conftest2.$ac_objext"
16660    # Insert the option either (1) after the last *FLAGS variable, or
16661    # (2) before a word containing "conftest.", or (3) at the end.
16662    # Note that $ac_compile itself does not contain backslashes and begins
16663    # with a dollar sign (not a hyphen), so the echo should work correctly.
16664    lt_compile=`echo "$ac_compile" | $SED \
16665    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16666    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16667    -e 's:$: $lt_compiler_flag:'`
16668    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16669    (eval "$lt_compile" 2>out/conftest.err)
16670    ac_status=$?
16671    cat out/conftest.err >&5
16672    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16674    then
16675      # The compiler can only warn and ignore the option if not recognized
16676      # So say no if there are warnings
16677      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16678      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16679      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16680        lt_cv_prog_compiler_c_o_CXX=yes
16681      fi
16682    fi
16683    chmod u+w . 2>&5
16684    $RM conftest*
16685    # SGI C++ compiler will create directory out/ii_files/ for
16686    # template instantiation
16687    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16688    $RM out/* && rmdir out
16689    cd ..
16690    $RM -r conftest
16691    $RM conftest*
16692
16693 fi
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16695 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16696
16697
16698
16699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16700 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16701 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16702   $as_echo_n "(cached) " >&6
16703 else
16704   lt_cv_prog_compiler_c_o_CXX=no
16705    $RM -r conftest 2>/dev/null
16706    mkdir conftest
16707    cd conftest
16708    mkdir out
16709    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16710
16711    lt_compiler_flag="-o out/conftest2.$ac_objext"
16712    # Insert the option either (1) after the last *FLAGS variable, or
16713    # (2) before a word containing "conftest.", or (3) at the end.
16714    # Note that $ac_compile itself does not contain backslashes and begins
16715    # with a dollar sign (not a hyphen), so the echo should work correctly.
16716    lt_compile=`echo "$ac_compile" | $SED \
16717    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16718    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16719    -e 's:$: $lt_compiler_flag:'`
16720    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16721    (eval "$lt_compile" 2>out/conftest.err)
16722    ac_status=$?
16723    cat out/conftest.err >&5
16724    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16726    then
16727      # The compiler can only warn and ignore the option if not recognized
16728      # So say no if there are warnings
16729      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16730      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16731      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16732        lt_cv_prog_compiler_c_o_CXX=yes
16733      fi
16734    fi
16735    chmod u+w . 2>&5
16736    $RM conftest*
16737    # SGI C++ compiler will create directory out/ii_files/ for
16738    # template instantiation
16739    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16740    $RM out/* && rmdir out
16741    cd ..
16742    $RM -r conftest
16743    $RM conftest*
16744
16745 fi
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16747 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16748
16749
16750
16751
16752 hard_links="nottested"
16753 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16754   # do not overwrite the value of need_locks provided by the user
16755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16756 $as_echo_n "checking if we can lock with hard links... " >&6; }
16757   hard_links=yes
16758   $RM conftest*
16759   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16760   touch conftest.a
16761   ln conftest.a conftest.b 2>&5 || hard_links=no
16762   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16764 $as_echo "$hard_links" >&6; }
16765   if test "$hard_links" = no; then
16766     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16767 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16768     need_locks=warn
16769   fi
16770 else
16771   need_locks=no
16772 fi
16773
16774
16775
16776     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16777 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16778
16779   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16780   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16781   case $host_os in
16782   aix[4-9]*)
16783     # If we're using GNU nm, then we don't want the "-C" option.
16784     # -C means demangle to AIX nm, but means don't demangle with GNU nm
16785     # Also, AIX nm treats weak defined symbols like other global defined
16786     # symbols, whereas GNU nm marks them as "W".
16787     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16788       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'
16789     else
16790       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'
16791     fi
16792     ;;
16793   pw32*)
16794     export_symbols_cmds_CXX="$ltdll_cmds"
16795     ;;
16796   cygwin* | mingw* | cegcc*)
16797     case $cc_basename in
16798     cl*) ;;
16799     *)
16800       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'
16801       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16802       ;;
16803     esac
16804     ;;
16805   *)
16806     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16807     ;;
16808   esac
16809
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16811 $as_echo "$ld_shlibs_CXX" >&6; }
16812 test "$ld_shlibs_CXX" = no && can_build_shared=no
16813
16814 with_gnu_ld_CXX=$with_gnu_ld
16815
16816
16817
16818
16819
16820
16821 #
16822 # Do we need to explicitly link libc?
16823 #
16824 case "x$archive_cmds_need_lc_CXX" in
16825 x|xyes)
16826   # Assume -lc should be added
16827   archive_cmds_need_lc_CXX=yes
16828
16829   if test "$enable_shared" = yes && test "$GCC" = yes; then
16830     case $archive_cmds_CXX in
16831     *'~'*)
16832       # FIXME: we may have to deal with multi-command sequences.
16833       ;;
16834     '$CC '*)
16835       # Test whether the compiler implicitly links with -lc since on some
16836       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16837       # to ld, don't add -lc before -lgcc.
16838       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16839 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16840 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16841   $as_echo_n "(cached) " >&6
16842 else
16843   $RM conftest*
16844         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16845
16846         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16847   (eval $ac_compile) 2>&5
16848   ac_status=$?
16849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16850   test $ac_status = 0; } 2>conftest.err; then
16851           soname=conftest
16852           lib=conftest
16853           libobjs=conftest.$ac_objext
16854           deplibs=
16855           wl=$lt_prog_compiler_wl_CXX
16856           pic_flag=$lt_prog_compiler_pic_CXX
16857           compiler_flags=-v
16858           linker_flags=-v
16859           verstring=
16860           output_objdir=.
16861           libname=conftest
16862           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16863           allow_undefined_flag_CXX=
16864           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16865   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16866   ac_status=$?
16867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16868   test $ac_status = 0; }
16869           then
16870             lt_cv_archive_cmds_need_lc_CXX=no
16871           else
16872             lt_cv_archive_cmds_need_lc_CXX=yes
16873           fi
16874           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16875         else
16876           cat conftest.err 1>&5
16877         fi
16878         $RM conftest*
16879
16880 fi
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16882 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16883       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16884       ;;
16885     esac
16886   fi
16887   ;;
16888 esac
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16954 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16955
16956 library_names_spec=
16957 libname_spec='lib$name'
16958 soname_spec=
16959 shrext_cmds=".so"
16960 postinstall_cmds=
16961 postuninstall_cmds=
16962 finish_cmds=
16963 finish_eval=
16964 shlibpath_var=
16965 shlibpath_overrides_runpath=unknown
16966 version_type=none
16967 dynamic_linker="$host_os ld.so"
16968 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16969 need_lib_prefix=unknown
16970 hardcode_into_libs=no
16971
16972 # when you set need_version to no, make sure it does not cause -set_version
16973 # flags to be left without arguments
16974 need_version=unknown
16975
16976 case $host_os in
16977 aix3*)
16978   version_type=linux
16979   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16980   shlibpath_var=LIBPATH
16981
16982   # AIX 3 has no versioning support, so we append a major version to the name.
16983   soname_spec='${libname}${release}${shared_ext}$major'
16984   ;;
16985
16986 aix[4-9]*)
16987   version_type=linux
16988   need_lib_prefix=no
16989   need_version=no
16990   hardcode_into_libs=yes
16991   if test "$host_cpu" = ia64; then
16992     # AIX 5 supports IA64
16993     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16994     shlibpath_var=LD_LIBRARY_PATH
16995   else
16996     # With GCC up to 2.95.x, collect2 would create an import file
16997     # for dependence libraries.  The import file would start with
16998     # the line `#! .'.  This would cause the generated library to
16999     # depend on `.', always an invalid library.  This was fixed in
17000     # development snapshots of GCC prior to 3.0.
17001     case $host_os in
17002       aix4 | aix4.[01] | aix4.[01].*)
17003       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17004            echo ' yes '
17005            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17006         :
17007       else
17008         can_build_shared=no
17009       fi
17010       ;;
17011     esac
17012     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17013     # soname into executable. Probably we can add versioning support to
17014     # collect2, so additional links can be useful in future.
17015     if test "$aix_use_runtimelinking" = yes; then
17016       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17017       # instead of lib<name>.a to let people know that these are not
17018       # typical AIX shared libraries.
17019       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17020     else
17021       # We preserve .a as extension for shared libraries through AIX4.2
17022       # and later when we are not doing run time linking.
17023       library_names_spec='${libname}${release}.a $libname.a'
17024       soname_spec='${libname}${release}${shared_ext}$major'
17025     fi
17026     shlibpath_var=LIBPATH
17027   fi
17028   ;;
17029
17030 amigaos*)
17031   case $host_cpu in
17032   powerpc)
17033     # Since July 2007 AmigaOS4 officially supports .so libraries.
17034     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17035     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17036     ;;
17037   m68k)
17038     library_names_spec='$libname.ixlibrary $libname.a'
17039     # Create ${libname}_ixlibrary.a entries in /sys/libs.
17040     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'
17041     ;;
17042   esac
17043   ;;
17044
17045 beos*)
17046   library_names_spec='${libname}${shared_ext}'
17047   dynamic_linker="$host_os ld.so"
17048   shlibpath_var=LIBRARY_PATH
17049   ;;
17050
17051 bsdi[45]*)
17052   version_type=linux
17053   need_version=no
17054   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17055   soname_spec='${libname}${release}${shared_ext}$major'
17056   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17057   shlibpath_var=LD_LIBRARY_PATH
17058   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17059   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17060   # the default ld.so.conf also contains /usr/contrib/lib and
17061   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17062   # libtool to hard-code these into programs
17063   ;;
17064
17065 cygwin* | mingw* | pw32* | cegcc*)
17066   version_type=windows
17067   shrext_cmds=".dll"
17068   need_version=no
17069   need_lib_prefix=no
17070
17071   case $GCC,$cc_basename in
17072   yes,*)
17073     # gcc
17074     library_names_spec='$libname.dll.a'
17075     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17076     postinstall_cmds='base_file=`basename \${file}`~
17077       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17078       dldir=$destdir/`dirname \$dlpath`~
17079       test -d \$dldir || mkdir -p \$dldir~
17080       $install_prog $dir/$dlname \$dldir/$dlname~
17081       chmod a+x \$dldir/$dlname~
17082       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17083         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17084       fi'
17085     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17086       dlpath=$dir/\$dldll~
17087        $RM \$dlpath'
17088     shlibpath_overrides_runpath=yes
17089
17090     case $host_os in
17091     cygwin*)
17092       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17093       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17094
17095       ;;
17096     mingw* | cegcc*)
17097       # MinGW DLLs use traditional 'lib' prefix
17098       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17099       ;;
17100     pw32*)
17101       # pw32 DLLs use 'pw' prefix rather than 'lib'
17102       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17103       ;;
17104     esac
17105     dynamic_linker='Win32 ld.exe'
17106     ;;
17107
17108   *,cl*)
17109     # Native MSVC
17110     libname_spec='$name'
17111     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17112     library_names_spec='${libname}.dll.lib'
17113
17114     case $build_os in
17115     mingw*)
17116       sys_lib_search_path_spec=
17117       lt_save_ifs=$IFS
17118       IFS=';'
17119       for lt_path in $LIB
17120       do
17121         IFS=$lt_save_ifs
17122         # Let DOS variable expansion print the short 8.3 style file name.
17123         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17124         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17125       done
17126       IFS=$lt_save_ifs
17127       # Convert to MSYS style.
17128       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17129       ;;
17130     cygwin*)
17131       # Convert to unix form, then to dos form, then back to unix form
17132       # but this time dos style (no spaces!) so that the unix form looks
17133       # like /cygdrive/c/PROGRA~1:/cygdr...
17134       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17135       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17136       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17137       ;;
17138     *)
17139       sys_lib_search_path_spec="$LIB"
17140       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17141         # It is most probably a Windows format PATH.
17142         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17143       else
17144         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17145       fi
17146       # FIXME: find the short name or the path components, as spaces are
17147       # common. (e.g. "Program Files" -> "PROGRA~1")
17148       ;;
17149     esac
17150
17151     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17152     postinstall_cmds='base_file=`basename \${file}`~
17153       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17154       dldir=$destdir/`dirname \$dlpath`~
17155       test -d \$dldir || mkdir -p \$dldir~
17156       $install_prog $dir/$dlname \$dldir/$dlname'
17157     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17158       dlpath=$dir/\$dldll~
17159        $RM \$dlpath'
17160     shlibpath_overrides_runpath=yes
17161     dynamic_linker='Win32 link.exe'
17162     ;;
17163
17164   *)
17165     # Assume MSVC wrapper
17166     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17167     dynamic_linker='Win32 ld.exe'
17168     ;;
17169   esac
17170   # FIXME: first we should search . and the directory the executable is in
17171   shlibpath_var=PATH
17172   ;;
17173
17174 darwin* | rhapsody*)
17175   dynamic_linker="$host_os dyld"
17176   version_type=darwin
17177   need_lib_prefix=no
17178   need_version=no
17179   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17180   soname_spec='${libname}${release}${major}$shared_ext'
17181   shlibpath_overrides_runpath=yes
17182   shlibpath_var=DYLD_LIBRARY_PATH
17183   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17184
17185   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17186   ;;
17187
17188 dgux*)
17189   version_type=linux
17190   need_lib_prefix=no
17191   need_version=no
17192   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17193   soname_spec='${libname}${release}${shared_ext}$major'
17194   shlibpath_var=LD_LIBRARY_PATH
17195   ;;
17196
17197 freebsd1*)
17198   dynamic_linker=no
17199   ;;
17200
17201 freebsd* | dragonfly*)
17202   # DragonFly does not have aout.  When/if they implement a new
17203   # versioning mechanism, adjust this.
17204   if test -x /usr/bin/objformat; then
17205     objformat=`/usr/bin/objformat`
17206   else
17207     case $host_os in
17208     freebsd[123]*) objformat=aout ;;
17209     *) objformat=elf ;;
17210     esac
17211   fi
17212   version_type=freebsd-$objformat
17213   case $version_type in
17214     freebsd-elf*)
17215       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17216       need_version=no
17217       need_lib_prefix=no
17218       ;;
17219     freebsd-*)
17220       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17221       need_version=yes
17222       ;;
17223   esac
17224   shlibpath_var=LD_LIBRARY_PATH
17225   case $host_os in
17226   freebsd2*)
17227     shlibpath_overrides_runpath=yes
17228     ;;
17229   freebsd3.[01]* | freebsdelf3.[01]*)
17230     shlibpath_overrides_runpath=yes
17231     hardcode_into_libs=yes
17232     ;;
17233   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17234   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17235     shlibpath_overrides_runpath=no
17236     hardcode_into_libs=yes
17237     ;;
17238   *) # from 4.6 on, and DragonFly
17239     shlibpath_overrides_runpath=yes
17240     hardcode_into_libs=yes
17241     ;;
17242   esac
17243   ;;
17244
17245 gnu*)
17246   version_type=linux
17247   need_lib_prefix=no
17248   need_version=no
17249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17250   soname_spec='${libname}${release}${shared_ext}$major'
17251   shlibpath_var=LD_LIBRARY_PATH
17252   hardcode_into_libs=yes
17253   ;;
17254
17255 haiku*)
17256   version_type=linux
17257   need_lib_prefix=no
17258   need_version=no
17259   dynamic_linker="$host_os runtime_loader"
17260   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17261   soname_spec='${libname}${release}${shared_ext}$major'
17262   shlibpath_var=LIBRARY_PATH
17263   shlibpath_overrides_runpath=yes
17264   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17265   hardcode_into_libs=yes
17266   ;;
17267
17268 hpux9* | hpux10* | hpux11*)
17269   # Give a soname corresponding to the major version so that dld.sl refuses to
17270   # link against other versions.
17271   version_type=sunos
17272   need_lib_prefix=no
17273   need_version=no
17274   case $host_cpu in
17275   ia64*)
17276     shrext_cmds='.so'
17277     hardcode_into_libs=yes
17278     dynamic_linker="$host_os dld.so"
17279     shlibpath_var=LD_LIBRARY_PATH
17280     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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     if test "X$HPUX_IA64_MODE" = X32; then
17284       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17285     else
17286       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17287     fi
17288     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17289     ;;
17290   hppa*64*)
17291     shrext_cmds='.sl'
17292     hardcode_into_libs=yes
17293     dynamic_linker="$host_os dld.sl"
17294     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17295     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17296     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17297     soname_spec='${libname}${release}${shared_ext}$major'
17298     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17299     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17300     ;;
17301   *)
17302     shrext_cmds='.sl'
17303     dynamic_linker="$host_os dld.sl"
17304     shlibpath_var=SHLIB_PATH
17305     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17306     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17307     soname_spec='${libname}${release}${shared_ext}$major'
17308     ;;
17309   esac
17310   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17311   postinstall_cmds='chmod 555 $lib'
17312   # or fails outright, so override atomically:
17313   install_override_mode=555
17314   ;;
17315
17316 interix[3-9]*)
17317   version_type=linux
17318   need_lib_prefix=no
17319   need_version=no
17320   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17321   soname_spec='${libname}${release}${shared_ext}$major'
17322   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17323   shlibpath_var=LD_LIBRARY_PATH
17324   shlibpath_overrides_runpath=no
17325   hardcode_into_libs=yes
17326   ;;
17327
17328 irix5* | irix6* | nonstopux*)
17329   case $host_os in
17330     nonstopux*) version_type=nonstopux ;;
17331     *)
17332         if test "$lt_cv_prog_gnu_ld" = yes; then
17333                 version_type=linux
17334         else
17335                 version_type=irix
17336         fi ;;
17337   esac
17338   need_lib_prefix=no
17339   need_version=no
17340   soname_spec='${libname}${release}${shared_ext}$major'
17341   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17342   case $host_os in
17343   irix5* | nonstopux*)
17344     libsuff= shlibsuff=
17345     ;;
17346   *)
17347     case $LD in # libtool.m4 will add one of these switches to LD
17348     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17349       libsuff= shlibsuff= libmagic=32-bit;;
17350     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17351       libsuff=32 shlibsuff=N32 libmagic=N32;;
17352     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17353       libsuff=64 shlibsuff=64 libmagic=64-bit;;
17354     *) libsuff= shlibsuff= libmagic=never-match;;
17355     esac
17356     ;;
17357   esac
17358   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17359   shlibpath_overrides_runpath=no
17360   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17361   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17362   hardcode_into_libs=yes
17363   ;;
17364
17365 # No shared lib support for Linux oldld, aout, or coff.
17366 linux*oldld* | linux*aout* | linux*coff*)
17367   dynamic_linker=no
17368   ;;
17369
17370 # This must be Linux ELF.
17371 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17372   version_type=linux
17373   need_lib_prefix=no
17374   need_version=no
17375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17376   soname_spec='${libname}${release}${shared_ext}$major'
17377   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17378   shlibpath_var=LD_LIBRARY_PATH
17379   shlibpath_overrides_runpath=no
17380
17381   # Some binutils ld are patched to set DT_RUNPATH
17382   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17383   $as_echo_n "(cached) " >&6
17384 else
17385   lt_cv_shlibpath_overrides_runpath=no
17386     save_LDFLAGS=$LDFLAGS
17387     save_libdir=$libdir
17388     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17389          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17390     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h.  */
17392
17393 int
17394 main ()
17395 {
17396
17397   ;
17398   return 0;
17399 }
17400 _ACEOF
17401 if ac_fn_cxx_try_link "$LINENO"; then :
17402   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17403   lt_cv_shlibpath_overrides_runpath=yes
17404 fi
17405 fi
17406 rm -f core conftest.err conftest.$ac_objext \
17407     conftest$ac_exeext conftest.$ac_ext
17408     LDFLAGS=$save_LDFLAGS
17409     libdir=$save_libdir
17410
17411 fi
17412
17413   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17414
17415   # This implies no fast_install, which is unacceptable.
17416   # Some rework will be needed to allow for fast_install
17417   # before this can be enabled.
17418   hardcode_into_libs=yes
17419
17420   # Append ld.so.conf contents to the search path
17421   if test -f /etc/ld.so.conf; then
17422     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' ' '`
17423     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17424   fi
17425
17426   # We used to test for /lib/ld.so.1 and disable shared libraries on
17427   # powerpc, because MkLinux only supported shared libraries with the
17428   # GNU dynamic linker.  Since this was broken with cross compilers,
17429   # most powerpc-linux boxes support dynamic linking these days and
17430   # people can always --disable-shared, the test was removed, and we
17431   # assume the GNU/Linux dynamic linker is in use.
17432   dynamic_linker='GNU/Linux ld.so'
17433   ;;
17434
17435 netbsd*)
17436   version_type=sunos
17437   need_lib_prefix=no
17438   need_version=no
17439   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17440     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17441     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17442     dynamic_linker='NetBSD (a.out) ld.so'
17443   else
17444     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17445     soname_spec='${libname}${release}${shared_ext}$major'
17446     dynamic_linker='NetBSD ld.elf_so'
17447   fi
17448   shlibpath_var=LD_LIBRARY_PATH
17449   shlibpath_overrides_runpath=yes
17450   hardcode_into_libs=yes
17451   ;;
17452
17453 newsos6)
17454   version_type=linux
17455   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17456   shlibpath_var=LD_LIBRARY_PATH
17457   shlibpath_overrides_runpath=yes
17458   ;;
17459
17460 *nto* | *qnx*)
17461   version_type=qnx
17462   need_lib_prefix=no
17463   need_version=no
17464   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17465   soname_spec='${libname}${release}${shared_ext}$major'
17466   shlibpath_var=LD_LIBRARY_PATH
17467   shlibpath_overrides_runpath=no
17468   hardcode_into_libs=yes
17469   dynamic_linker='ldqnx.so'
17470   ;;
17471
17472 openbsd*)
17473   version_type=sunos
17474   sys_lib_dlsearch_path_spec="/usr/lib"
17475   need_lib_prefix=no
17476   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17477   case $host_os in
17478     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
17479     *)                          need_version=no  ;;
17480   esac
17481   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17482   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17483   shlibpath_var=LD_LIBRARY_PATH
17484   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17485     case $host_os in
17486       openbsd2.[89] | openbsd2.[89].*)
17487         shlibpath_overrides_runpath=no
17488         ;;
17489       *)
17490         shlibpath_overrides_runpath=yes
17491         ;;
17492       esac
17493   else
17494     shlibpath_overrides_runpath=yes
17495   fi
17496   ;;
17497
17498 os2*)
17499   libname_spec='$name'
17500   shrext_cmds=".dll"
17501   need_lib_prefix=no
17502   library_names_spec='$libname${shared_ext} $libname.a'
17503   dynamic_linker='OS/2 ld.exe'
17504   shlibpath_var=LIBPATH
17505   ;;
17506
17507 osf3* | osf4* | osf5*)
17508   version_type=osf
17509   need_lib_prefix=no
17510   need_version=no
17511   soname_spec='${libname}${release}${shared_ext}$major'
17512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17513   shlibpath_var=LD_LIBRARY_PATH
17514   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17515   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17516   ;;
17517
17518 rdos*)
17519   dynamic_linker=no
17520   ;;
17521
17522 solaris*)
17523   version_type=linux
17524   need_lib_prefix=no
17525   need_version=no
17526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17527   soname_spec='${libname}${release}${shared_ext}$major'
17528   shlibpath_var=LD_LIBRARY_PATH
17529   shlibpath_overrides_runpath=yes
17530   hardcode_into_libs=yes
17531   # ldd complains unless libraries are executable
17532   postinstall_cmds='chmod +x $lib'
17533   ;;
17534
17535 sunos4*)
17536   version_type=sunos
17537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17538   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17539   shlibpath_var=LD_LIBRARY_PATH
17540   shlibpath_overrides_runpath=yes
17541   if test "$with_gnu_ld" = yes; then
17542     need_lib_prefix=no
17543   fi
17544   need_version=yes
17545   ;;
17546
17547 sysv4 | sysv4.3*)
17548   version_type=linux
17549   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17550   soname_spec='${libname}${release}${shared_ext}$major'
17551   shlibpath_var=LD_LIBRARY_PATH
17552   case $host_vendor in
17553     sni)
17554       shlibpath_overrides_runpath=no
17555       need_lib_prefix=no
17556       runpath_var=LD_RUN_PATH
17557       ;;
17558     siemens)
17559       need_lib_prefix=no
17560       ;;
17561     motorola)
17562       need_lib_prefix=no
17563       need_version=no
17564       shlibpath_overrides_runpath=no
17565       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17566       ;;
17567   esac
17568   ;;
17569
17570 sysv4*MP*)
17571   if test -d /usr/nec ;then
17572     version_type=linux
17573     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17574     soname_spec='$libname${shared_ext}.$major'
17575     shlibpath_var=LD_LIBRARY_PATH
17576   fi
17577   ;;
17578
17579 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17580   version_type=freebsd-elf
17581   need_lib_prefix=no
17582   need_version=no
17583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17584   soname_spec='${libname}${release}${shared_ext}$major'
17585   shlibpath_var=LD_LIBRARY_PATH
17586   shlibpath_overrides_runpath=yes
17587   hardcode_into_libs=yes
17588   if test "$with_gnu_ld" = yes; then
17589     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17590   else
17591     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17592     case $host_os in
17593       sco3.2v5*)
17594         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17595         ;;
17596     esac
17597   fi
17598   sys_lib_dlsearch_path_spec='/usr/lib'
17599   ;;
17600
17601 tpf*)
17602   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17603   version_type=linux
17604   need_lib_prefix=no
17605   need_version=no
17606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17607   shlibpath_var=LD_LIBRARY_PATH
17608   shlibpath_overrides_runpath=no
17609   hardcode_into_libs=yes
17610   ;;
17611
17612 uts4*)
17613   version_type=linux
17614   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17615   soname_spec='${libname}${release}${shared_ext}$major'
17616   shlibpath_var=LD_LIBRARY_PATH
17617   ;;
17618
17619 *)
17620   dynamic_linker=no
17621   ;;
17622 esac
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17624 $as_echo "$dynamic_linker" >&6; }
17625 test "$dynamic_linker" = no && can_build_shared=no
17626
17627 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17628 if test "$GCC" = yes; then
17629   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17630 fi
17631
17632 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17633   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17634 fi
17635 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17636   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17637 fi
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17677 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17678 hardcode_action_CXX=
17679 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17680    test -n "$runpath_var_CXX" ||
17681    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17682
17683   # We can hardcode non-existent directories.
17684   if test "$hardcode_direct_CXX" != no &&
17685      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17686      # have to relink, otherwise we might link with an installed library
17687      # when we should be linking with a yet-to-be-installed one
17688      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17689      test "$hardcode_minus_L_CXX" != no; then
17690     # Linking always hardcodes the temporary library directory.
17691     hardcode_action_CXX=relink
17692   else
17693     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17694     hardcode_action_CXX=immediate
17695   fi
17696 else
17697   # We cannot hardcode anything, or else we can only hardcode existing
17698   # directories.
17699   hardcode_action_CXX=unsupported
17700 fi
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17702 $as_echo "$hardcode_action_CXX" >&6; }
17703
17704 if test "$hardcode_action_CXX" = relink ||
17705    test "$inherit_rpath_CXX" = yes; then
17706   # Fast installation is not supported
17707   enable_fast_install=no
17708 elif test "$shlibpath_overrides_runpath" = yes ||
17709      test "$enable_shared" = no; then
17710   # Fast installation is not necessary
17711   enable_fast_install=needless
17712 fi
17713
17714
17715
17716
17717
17718
17719
17720   fi # test -n "$compiler"
17721
17722   CC=$lt_save_CC
17723   CFLAGS=$lt_save_CFLAGS
17724   LDCXX=$LD
17725   LD=$lt_save_LD
17726   GCC=$lt_save_GCC
17727   with_gnu_ld=$lt_save_with_gnu_ld
17728   lt_cv_path_LDCXX=$lt_cv_path_LD
17729   lt_cv_path_LD=$lt_save_path_LD
17730   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17731   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17732 fi # test "$_lt_caught_CXX_error" != yes
17733
17734 ac_ext=c
17735 ac_cpp='$CPP $CPPFLAGS'
17736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17739
17740
17741
17742
17743 if test "$GCC" = "yes" ; then
17744 #    AC_HAVE_GCC_VERSION(4,0,0,0,
17745 #        [
17746 #        AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17747 #            [Define to enable class visibility control in gcc.])
17748 #        GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17749 #        GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17750 #        ])
17751     CFLAGS="-Wall $GCC_CFLAGS"
17752     CXXFLAGS="-Wall $GCC_CXXFLAGS"
17753 else
17754 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17755         case "${host_cpu}-${host_os}" in
17756                 *solaris*)
17757                         if test "$CXX" = "CC" ; then
17758                                 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17759                         fi
17760                         ;;
17761                 *osf*)
17762                         CXXFLAGS="$CXXFLAGS -D_POSIX_PII_SOCKET"
17763                         ;;
17764         esac
17765 fi
17766
17767 ac_ext=c
17768 ac_cpp='$CPP $CPPFLAGS'
17769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17772
17773
17774 # Checks for typedefs, structures, and compiler characteristics.
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17776 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17777 if ${ac_cv_c_const+:} false; then :
17778   $as_echo_n "(cached) " >&6
17779 else
17780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h.  */
17782
17783 int
17784 main ()
17785 {
17786 /* FIXME: Include the comments suggested by Paul. */
17787 #ifndef __cplusplus
17788   /* Ultrix mips cc rejects this.  */
17789   typedef int charset[2];
17790   const charset cs;
17791   /* SunOS 4.1.1 cc rejects this.  */
17792   char const *const *pcpcc;
17793   char **ppc;
17794   /* NEC SVR4.0.2 mips cc rejects this.  */
17795   struct point {int x, y;};
17796   static struct point const zero = {0,0};
17797   /* AIX XL C 1.02.0.0 rejects this.
17798      It does not let you subtract one const X* pointer from another in
17799      an arm of an if-expression whose if-part is not a constant
17800      expression */
17801   const char *g = "string";
17802   pcpcc = &g + (g ? g-g : 0);
17803   /* HPUX 7.0 cc rejects these. */
17804   ++pcpcc;
17805   ppc = (char**) pcpcc;
17806   pcpcc = (char const *const *) ppc;
17807   { /* SCO 3.2v4 cc rejects this.  */
17808     char *t;
17809     char const *s = 0 ? (char *) 0 : (char const *) 0;
17810
17811     *t++ = 0;
17812     if (s) return 0;
17813   }
17814   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17815     int x[] = {25, 17};
17816     const int *foo = &x[0];
17817     ++foo;
17818   }
17819   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17820     typedef const int *iptr;
17821     iptr p = 0;
17822     ++p;
17823   }
17824   { /* AIX XL C 1.02.0.0 rejects this saying
17825        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17826     struct s { int j; const int *ap[3]; };
17827     struct s *b; b->j = 5;
17828   }
17829   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17830     const int foo = 10;
17831     if (!foo) return 0;
17832   }
17833   return !cs[0] && !zero.x;
17834 #endif
17835
17836   ;
17837   return 0;
17838 }
17839 _ACEOF
17840 if ac_fn_c_try_compile "$LINENO"; then :
17841   ac_cv_c_const=yes
17842 else
17843   ac_cv_c_const=no
17844 fi
17845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17846 fi
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17848 $as_echo "$ac_cv_c_const" >&6; }
17849 if test $ac_cv_c_const = no; then
17850
17851 $as_echo "#define const /**/" >>confdefs.h
17852
17853 fi
17854
17855 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17856 if test "x$ac_cv_type_size_t" = xyes; then :
17857
17858 else
17859
17860 cat >>confdefs.h <<_ACEOF
17861 #define size_t unsigned int
17862 _ACEOF
17863
17864 fi
17865
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17867 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17868 if ${ac_cv_struct_tm+:} false; then :
17869   $as_echo_n "(cached) " >&6
17870 else
17871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h.  */
17873 #include <sys/types.h>
17874 #include <time.h>
17875
17876 int
17877 main ()
17878 {
17879 struct tm tm;
17880                                      int *p = &tm.tm_sec;
17881                                      return !p;
17882   ;
17883   return 0;
17884 }
17885 _ACEOF
17886 if ac_fn_c_try_compile "$LINENO"; then :
17887   ac_cv_struct_tm=time.h
17888 else
17889   ac_cv_struct_tm=sys/time.h
17890 fi
17891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17892 fi
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
17894 $as_echo "$ac_cv_struct_tm" >&6; }
17895 if test $ac_cv_struct_tm = sys/time.h; then
17896
17897 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
17898
17899 fi
17900
17901
17902 # Checks for library functions.
17903 for ac_func in strftime
17904 do :
17905   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
17906 if test "x$ac_cv_func_strftime" = xyes; then :
17907   cat >>confdefs.h <<_ACEOF
17908 #define HAVE_STRFTIME 1
17909 _ACEOF
17910
17911 else
17912   # strftime is in -lintl on SCO UNIX.
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
17914 $as_echo_n "checking for strftime in -lintl... " >&6; }
17915 if ${ac_cv_lib_intl_strftime+:} false; then :
17916   $as_echo_n "(cached) " >&6
17917 else
17918   ac_check_lib_save_LIBS=$LIBS
17919 LIBS="-lintl  $LIBS"
17920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921 /* end confdefs.h.  */
17922
17923 /* Override any GCC internal prototype to avoid an error.
17924    Use char because int might match the return type of a GCC
17925    builtin and then its argument prototype would still apply.  */
17926 #ifdef __cplusplus
17927 extern "C"
17928 #endif
17929 char strftime ();
17930 int
17931 main ()
17932 {
17933 return strftime ();
17934   ;
17935   return 0;
17936 }
17937 _ACEOF
17938 if ac_fn_c_try_link "$LINENO"; then :
17939   ac_cv_lib_intl_strftime=yes
17940 else
17941   ac_cv_lib_intl_strftime=no
17942 fi
17943 rm -f core conftest.err conftest.$ac_objext \
17944     conftest$ac_exeext conftest.$ac_ext
17945 LIBS=$ac_check_lib_save_LIBS
17946 fi
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
17948 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
17949 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
17950   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
17951
17952 LIBS="-lintl $LIBS"
17953 fi
17954
17955 fi
17956 done
17957
17958 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
17959 if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
17960   ac_have_decl=1
17961 else
17962   ac_have_decl=0
17963 fi
17964
17965 cat >>confdefs.h <<_ACEOF
17966 #define HAVE_DECL_STRERROR_R $ac_have_decl
17967 _ACEOF
17968
17969 for ac_func in strerror_r
17970 do :
17971   ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
17972 if test "x$ac_cv_func_strerror_r" = xyes; then :
17973   cat >>confdefs.h <<_ACEOF
17974 #define HAVE_STRERROR_R 1
17975 _ACEOF
17976
17977 fi
17978 done
17979
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
17981 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
17982 if ${ac_cv_func_strerror_r_char_p+:} false; then :
17983   $as_echo_n "(cached) " >&6
17984 else
17985
17986     ac_cv_func_strerror_r_char_p=no
17987     if test $ac_cv_have_decl_strerror_r = yes; then
17988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h.  */
17990 $ac_includes_default
17991 int
17992 main ()
17993 {
17994
17995           char buf[100];
17996           char x = *strerror_r (0, buf, sizeof buf);
17997           char *p = strerror_r (0, buf, sizeof buf);
17998           return !p || x;
17999
18000   ;
18001   return 0;
18002 }
18003 _ACEOF
18004 if ac_fn_c_try_compile "$LINENO"; then :
18005   ac_cv_func_strerror_r_char_p=yes
18006 fi
18007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18008     else
18009       # strerror_r is not declared.  Choose between
18010       # systems that have relatively inaccessible declarations for the
18011       # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
18012       # former has a strerror_r that returns char*, while the latter
18013       # has a strerror_r that returns `int'.
18014       # This test should segfault on the DEC system.
18015       if test "$cross_compiling" = yes; then :
18016   :
18017 else
18018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h.  */
18020 $ac_includes_default
18021         extern char *strerror_r ();
18022 int
18023 main ()
18024 {
18025 char buf[100];
18026           char x = *strerror_r (0, buf, sizeof buf);
18027           return ! isalpha (x);
18028   ;
18029   return 0;
18030 }
18031 _ACEOF
18032 if ac_fn_c_try_run "$LINENO"; then :
18033   ac_cv_func_strerror_r_char_p=yes
18034 fi
18035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18036   conftest.$ac_objext conftest.beam conftest.$ac_ext
18037 fi
18038
18039     fi
18040
18041 fi
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
18043 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
18044 if test $ac_cv_func_strerror_r_char_p = yes; then
18045
18046 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
18047
18048 fi
18049
18050 for ac_header in sys/utsname.h
18051 do :
18052   ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
18053 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
18054   cat >>confdefs.h <<_ACEOF
18055 #define HAVE_SYS_UTSNAME_H 1
18056 _ACEOF
18057
18058 fi
18059
18060 done
18061
18062 for ac_func in strchr strdup strstr timegm gmtime_r strtok_r strcasecmp
18063 do :
18064   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18066 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18067   cat >>confdefs.h <<_ACEOF
18068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18069 _ACEOF
18070
18071 fi
18072 done
18073
18074
18075 # checks for pthreads
18076
18077
18078 ac_ext=c
18079 ac_cpp='$CPP $CPPFLAGS'
18080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18083
18084 acx_pthread_ok=no
18085
18086 # We used to check for pthread.h first, but this fails if pthread.h
18087 # requires special compiler flags (e.g. on True64 or Sequent).
18088 # It gets checked for in the link test anyway.
18089
18090 # First of all, check if the user has set any of the PTHREAD_LIBS,
18091 # etcetera environment variables, and if threads linking works using
18092 # them:
18093 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
18094         save_CFLAGS="$CFLAGS"
18095         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18096         save_LIBS="$LIBS"
18097         LIBS="$PTHREAD_LIBS $LIBS"
18098         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
18099 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
18100         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18101 /* end confdefs.h.  */
18102
18103 /* Override any GCC internal prototype to avoid an error.
18104    Use char because int might match the return type of a GCC
18105    builtin and then its argument prototype would still apply.  */
18106 #ifdef __cplusplus
18107 extern "C"
18108 #endif
18109 char pthread_join ();
18110 int
18111 main ()
18112 {
18113 return pthread_join ();
18114   ;
18115   return 0;
18116 }
18117 _ACEOF
18118 if ac_fn_c_try_link "$LINENO"; then :
18119   acx_pthread_ok=yes
18120 fi
18121 rm -f core conftest.err conftest.$ac_objext \
18122     conftest$ac_exeext conftest.$ac_ext
18123         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18124 $as_echo "$acx_pthread_ok" >&6; }
18125         if test x"$acx_pthread_ok" = xno; then
18126                 PTHREAD_LIBS=""
18127                 PTHREAD_CFLAGS=""
18128         fi
18129         LIBS="$save_LIBS"
18130         CFLAGS="$save_CFLAGS"
18131 fi
18132
18133 # We must check for the threads library under a number of different
18134 # names; the ordering is very important because some systems
18135 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
18136 # libraries is broken (non-POSIX).
18137
18138 # Create a list of thread flags to try.  Items starting with a "-" are
18139 # C compiler flags, and other items are library names, except for "none"
18140 # which indicates that we try without any flags at all, and "pthread-config"
18141 # which is a program returning the flags for the Pth emulation library.
18142
18143 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18144
18145 # The ordering *is* (sometimes) important.  Some notes on the
18146 # individual items follow:
18147
18148 # pthreads: AIX (must check this before -lpthread)
18149 # none: in case threads are in libc; should be tried before -Kthread and
18150 #       other compiler flags to prevent continual compiler warnings
18151 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18152 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18153 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18154 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
18155 # -pthreads: Solaris/gcc
18156 # -mthreads: Mingw32/gcc, Lynx/gcc
18157 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18158 #      doesn't hurt to check since this sometimes defines pthreads too;
18159 #      also defines -D_REENTRANT)
18160 #      ... -mt is also the pthreads flag for HP/aCC
18161 # pthread: Linux, etcetera
18162 # --thread-safe: KAI C++
18163 # pthread-config: use pthread-config program (for GNU Pth library)
18164
18165 case "${host_cpu}-${host_os}" in
18166         *solaris*)
18167
18168         # On Solaris (at least, for some versions), libc contains stubbed
18169         # (non-functional) versions of the pthreads routines, so link-based
18170         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
18171         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
18172         # a function called by this macro, so we could check for that, but
18173         # who knows whether they'll stub that too in a future libc.)  So,
18174         # we'll just look for -pthreads and -lpthread first:
18175
18176         acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
18177         ;;
18178 esac
18179
18180 if test x"$acx_pthread_ok" = xno; then
18181 for flag in $acx_pthread_flags; do
18182
18183         case $flag in
18184                 none)
18185                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18186 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
18187                 ;;
18188
18189                 -*)
18190                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18191 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
18192                 PTHREAD_CFLAGS="$flag"
18193                 ;;
18194
18195                 pthread-config)
18196                 # Extract the first word of "pthread-config", so it can be a program name with args.
18197 set dummy pthread-config; ac_word=$2
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18199 $as_echo_n "checking for $ac_word... " >&6; }
18200 if ${ac_cv_prog_acx_pthread_config+:} false; then :
18201   $as_echo_n "(cached) " >&6
18202 else
18203   if test -n "$acx_pthread_config"; then
18204   ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
18205 else
18206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18207 for as_dir in $PATH
18208 do
18209   IFS=$as_save_IFS
18210   test -z "$as_dir" && as_dir=.
18211     for ac_exec_ext in '' $ac_executable_extensions; do
18212   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18213     ac_cv_prog_acx_pthread_config="yes"
18214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18215     break 2
18216   fi
18217 done
18218   done
18219 IFS=$as_save_IFS
18220
18221   test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
18222 fi
18223 fi
18224 acx_pthread_config=$ac_cv_prog_acx_pthread_config
18225 if test -n "$acx_pthread_config"; then
18226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
18227 $as_echo "$acx_pthread_config" >&6; }
18228 else
18229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18230 $as_echo "no" >&6; }
18231 fi
18232
18233
18234                 if test x"$acx_pthread_config" = xno; then continue; fi
18235                 PTHREAD_CFLAGS="`pthread-config --cflags`"
18236                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18237                 ;;
18238
18239                 *)
18240                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
18241 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
18242                 PTHREAD_LIBS="-l$flag"
18243                 ;;
18244         esac
18245
18246         save_LIBS="$LIBS"
18247         save_CFLAGS="$CFLAGS"
18248         LIBS="$PTHREAD_LIBS $LIBS"
18249         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18250
18251         # Check for various functions.  We must include pthread.h,
18252         # since some functions may be macros.  (On the Sequent, we
18253         # need a special flag -Kthread to make this header compile.)
18254         # We check for pthread_join because it is in -lpthread on IRIX
18255         # while pthread_create is in libc.  We check for pthread_attr_init
18256         # due to DEC craziness with -lpthreads.  We check for
18257         # pthread_cleanup_push because it is one of the few pthread
18258         # functions on Solaris that doesn't have a non-functional libc stub.
18259         # We try pthread_create on general principles.
18260         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h.  */
18262 #include <pthread.h>
18263 int
18264 main ()
18265 {
18266 pthread_t th; pthread_join(th, 0);
18267                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
18268                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
18269   ;
18270   return 0;
18271 }
18272 _ACEOF
18273 if ac_fn_c_try_link "$LINENO"; then :
18274   acx_pthread_ok=yes
18275 fi
18276 rm -f core conftest.err conftest.$ac_objext \
18277     conftest$ac_exeext conftest.$ac_ext
18278
18279         LIBS="$save_LIBS"
18280         CFLAGS="$save_CFLAGS"
18281
18282         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18283 $as_echo "$acx_pthread_ok" >&6; }
18284         if test "x$acx_pthread_ok" = xyes; then
18285                 break;
18286         fi
18287
18288         PTHREAD_LIBS=""
18289         PTHREAD_CFLAGS=""
18290 done
18291 fi
18292
18293 # Various other checks:
18294 if test "x$acx_pthread_ok" = xyes; then
18295         save_LIBS="$LIBS"
18296         LIBS="$PTHREAD_LIBS $LIBS"
18297         save_CFLAGS="$CFLAGS"
18298         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18299
18300         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
18301         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18302 $as_echo_n "checking for joinable pthread attribute... " >&6; }
18303         attr_name=unknown
18304         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
18305             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h.  */
18307 #include <pthread.h>
18308 int
18309 main ()
18310 {
18311 int attr=$attr; return attr;
18312   ;
18313   return 0;
18314 }
18315 _ACEOF
18316 if ac_fn_c_try_link "$LINENO"; then :
18317   attr_name=$attr; break
18318 fi
18319 rm -f core conftest.err conftest.$ac_objext \
18320     conftest$ac_exeext conftest.$ac_ext
18321         done
18322         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
18323 $as_echo "$attr_name" >&6; }
18324         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
18325
18326 cat >>confdefs.h <<_ACEOF
18327 #define PTHREAD_CREATE_JOINABLE $attr_name
18328 _ACEOF
18329
18330         fi
18331
18332         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
18333 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
18334         flag=no
18335         case "${host_cpu}-${host_os}" in
18336                 *-aix* | *-freebsd*)     flag="-D_THREAD_SAFE";;
18337                 *-osf* | *-hpux*) flag="-D_REENTRANT";;
18338                 *solaris*)
18339                 if test "$GCC" = "yes"; then
18340                     flag="-D_REENTRANT"
18341                 else
18342                     flag="-mt -D_REENTRANT"
18343                 fi
18344                 ;;
18345         esac
18346         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
18347 $as_echo "${flag}" >&6; }
18348         if test "x$flag" != xno; then
18349             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
18350         fi
18351
18352         LIBS="$save_LIBS"
18353         CFLAGS="$save_CFLAGS"
18354
18355         # More AIX lossage: must compile with xlc_r or cc_r
18356         if test x"$GCC" != xyes; then
18357           for ac_prog in xlc_r cc_r
18358 do
18359   # Extract the first word of "$ac_prog", so it can be a program name with args.
18360 set dummy $ac_prog; ac_word=$2
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18362 $as_echo_n "checking for $ac_word... " >&6; }
18363 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
18364   $as_echo_n "(cached) " >&6
18365 else
18366   if test -n "$PTHREAD_CC"; then
18367   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
18368 else
18369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18370 for as_dir in $PATH
18371 do
18372   IFS=$as_save_IFS
18373   test -z "$as_dir" && as_dir=.
18374     for ac_exec_ext in '' $ac_executable_extensions; do
18375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18376     ac_cv_prog_PTHREAD_CC="$ac_prog"
18377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18378     break 2
18379   fi
18380 done
18381   done
18382 IFS=$as_save_IFS
18383
18384 fi
18385 fi
18386 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
18387 if test -n "$PTHREAD_CC"; then
18388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18389 $as_echo "$PTHREAD_CC" >&6; }
18390 else
18391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18392 $as_echo "no" >&6; }
18393 fi
18394
18395
18396   test -n "$PTHREAD_CC" && break
18397 done
18398 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
18399
18400         else
18401           PTHREAD_CC=$CC
18402         fi
18403 else
18404         PTHREAD_CC="$CC"
18405 fi
18406
18407
18408
18409
18410
18411 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18412 if test x"$acx_pthread_ok" = xyes; then
18413         enable_threads="pthread"
18414         :
18415 else
18416         acx_pthread_ok=no
18417         enable_threads="no"
18418 fi
18419 ac_ext=c
18420 ac_cpp='$CPP $CPPFLAGS'
18421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18424
18425
18426 if test $enable_threads != "pthread"; then
18427     as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
18428 else
18429
18430 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
18431
18432     LIBS="$PTHREAD_LIBS $LIBS"
18433     CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
18434     CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
18435 fi
18436
18437 # OpenSSL settings
18438
18439 # Check whether --with-openssl was given.
18440 if test "${with_openssl+set}" = set; then :
18441   withval=$with_openssl; if test x_$with_openssl != x_/usr; then
18442         SSLFLAGS="-I${with_openssl}/include"
18443     fi
18444 fi
18445
18446
18447 if test "x$with_openssl" = "x" ; then
18448     # Extract the first word of "pkg-config", so it can be a program name with args.
18449 set dummy pkg-config; ac_word=$2
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18451 $as_echo_n "checking for $ac_word... " >&6; }
18452 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18453   $as_echo_n "(cached) " >&6
18454 else
18455   case $PKG_CONFIG in
18456   [\\/]* | ?:[\\/]*)
18457   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18458   ;;
18459   *)
18460   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18461 for as_dir in $PATH
18462 do
18463   IFS=$as_save_IFS
18464   test -z "$as_dir" && as_dir=.
18465     for ac_exec_ext in '' $ac_executable_extensions; do
18466   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18467     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18469     break 2
18470   fi
18471 done
18472   done
18473 IFS=$as_save_IFS
18474
18475   ;;
18476 esac
18477 fi
18478 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18479 if test -n "$PKG_CONFIG"; then
18480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18481 $as_echo "$PKG_CONFIG" >&6; }
18482 else
18483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18484 $as_echo "no" >&6; }
18485 fi
18486
18487
18488     if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
18489         if pkg-config openssl ; then
18490             SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
18491         else
18492             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
18493 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
18494         fi
18495     fi
18496 fi
18497
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
18499 $as_echo_n "checking for OpenSSL cflags... " >&6; }
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
18501 $as_echo "$SSLFLAGS" >&6; }
18502 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
18503
18504 ac_fn_c_check_header_mongrel "$LINENO" "openssl/x509.h" "ac_cv_header_openssl_x509_h" "$ac_includes_default"
18505 if test "x$ac_cv_header_openssl_x509_h" = xyes; then :
18506
18507 else
18508   as_fn_error $? "unable to find openssl header files" "$LINENO" 5
18509 fi
18510
18511
18512
18513 ac_ext=cpp
18514 ac_cpp='$CXXCPP $CPPFLAGS'
18515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18518
18519
18520 # C++ requirements
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
18522 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
18523 if ${ac_cv_cxx_namespaces+:} false; then :
18524   $as_echo_n "(cached) " >&6
18525 else
18526
18527  ac_ext=cpp
18528 ac_cpp='$CXXCPP $CPPFLAGS'
18529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18532
18533  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h.  */
18535 namespace Outer { namespace Inner { int i = 0; }}
18536 int
18537 main ()
18538 {
18539 using namespace Outer::Inner; return i;
18540   ;
18541   return 0;
18542 }
18543 _ACEOF
18544 if ac_fn_cxx_try_compile "$LINENO"; then :
18545   ac_cv_cxx_namespaces=yes
18546 else
18547   ac_cv_cxx_namespaces=no
18548 fi
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550  ac_ext=cpp
18551 ac_cpp='$CXXCPP $CPPFLAGS'
18552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18555
18556
18557 fi
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
18559 $as_echo "$ac_cv_cxx_namespaces" >&6; }
18560 if test "$ac_cv_cxx_namespaces" = yes; then
18561
18562 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
18563
18564 fi
18565
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
18567 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
18568 if ${ac_cv_cxx_have_stl+:} false; then :
18569   $as_echo_n "(cached) " >&6
18570 else
18571
18572  ac_ext=cpp
18573 ac_cpp='$CXXCPP $CPPFLAGS'
18574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18577
18578  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h.  */
18580 #include <list>
18581 #include <deque>
18582 #ifdef HAVE_NAMESPACES
18583 using namespace std;
18584 #endif
18585 int
18586 main ()
18587 {
18588 list<int> x; x.push_back(5);
18589 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
18590   ;
18591   return 0;
18592 }
18593 _ACEOF
18594 if ac_fn_cxx_try_compile "$LINENO"; then :
18595   ac_cv_cxx_have_stl=yes
18596 else
18597   ac_cv_cxx_have_stl=no
18598 fi
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600  ac_ext=cpp
18601 ac_cpp='$CXXCPP $CPPFLAGS'
18602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18605
18606
18607 fi
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
18609 $as_echo "$ac_cv_cxx_have_stl" >&6; }
18610 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
18611   as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
18612 fi
18613
18614
18615 # Thank you Solaris, really.
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime_r" >&5
18617 $as_echo_n "checking for ctime_r... " >&6; }
18618 if test -z "$ac_cv_ctime_args"; then
18619     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h.  */
18621 #include <time.h>
18622 int
18623 main ()
18624 {
18625 time_t clock; char buf[26]; ctime_r(&clock, buf);
18626   ;
18627   return 0;
18628 }
18629 _ACEOF
18630 if ac_fn_cxx_try_compile "$LINENO"; then :
18631   ac_cv_ctime_args=2
18632 fi
18633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18634
18635     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h.  */
18637 #include <time.h>
18638 int
18639 main ()
18640 {
18641 time_t clock; char buf[26]; ctime_r(&clock, buf, 26);
18642   ;
18643   return 0;
18644 }
18645 _ACEOF
18646 if ac_fn_cxx_try_compile "$LINENO"; then :
18647   ac_cv_ctime_args=3
18648 fi
18649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18650 fi
18651 if test -z "$ac_cv_ctime_args"; then
18652     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18653 $as_echo "no" >&6; }
18654 else
18655     if test "$ac_cv_ctime_args" = 2; then
18656
18657 $as_echo "#define HAVE_CTIME_R_2 1" >>confdefs.h
18658
18659     elif test "$ac_cv_ctime_args" = 3; then
18660
18661 $as_echo "#define HAVE_CTIME_R_3 1" >>confdefs.h
18662
18663     fi
18664     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, and it takes $ac_cv_ctime_args arguments" >&5
18665 $as_echo "yes, and it takes $ac_cv_ctime_args arguments" >&6; }
18666 fi
18667
18668 # log4shib settings (favor this version over the log4cpp code)
18669 # Extract the first word of "log4shib-config", so it can be a program name with args.
18670 set dummy log4shib-config; ac_word=$2
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18672 $as_echo_n "checking for $ac_word... " >&6; }
18673 if ${ac_cv_path_LOG4SHIB_CONFIG+:} false; then :
18674   $as_echo_n "(cached) " >&6
18675 else
18676   case $LOG4SHIB_CONFIG in
18677   [\\/]* | ?:[\\/]*)
18678   ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18679   ;;
18680   *)
18681   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18682 for as_dir in $PATH
18683 do
18684   IFS=$as_save_IFS
18685   test -z "$as_dir" && as_dir=.
18686     for ac_exec_ext in '' $ac_executable_extensions; do
18687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18688     ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18690     break 2
18691   fi
18692 done
18693   done
18694 IFS=$as_save_IFS
18695
18696   ;;
18697 esac
18698 fi
18699 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18700 if test -n "$LOG4SHIB_CONFIG"; then
18701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18702 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18703 else
18704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18705 $as_echo "no" >&6; }
18706 fi
18707
18708
18709
18710 # Check whether --with-log4shib was given.
18711 if test "${with_log4shib+set}" = set; then :
18712   withval=$with_log4shib;
18713     LOG4SHIB_CONFIG="${with_log4shib}"
18714     if ! test -f "${LOG4SHIB_CONFIG}"; then
18715         LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18716     fi
18717
18718 fi
18719
18720 if test -f "${LOG4SHIB_CONFIG}" ; then
18721     LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18722     CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18723
18724 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18725 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = xyes; then :
18726
18727 else
18728   as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18729 fi
18730
18731
18732     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733 /* end confdefs.h.  */
18734 #include <log4shib/Category.hh>
18735 #include <log4shib/CategoryStream.hh>
18736 int
18737 main ()
18738 {
18739 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18740   ;
18741   return 0;
18742 }
18743 _ACEOF
18744 if ac_fn_cxx_try_link "$LINENO"; then :
18745
18746 $as_echo "#define SHIBSP_LOG4SHIB 1" >>confdefs.h
18747
18748 else
18749   as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18750 fi
18751 rm -f core conftest.err conftest.$ac_objext \
18752     conftest$ac_exeext conftest.$ac_ext
18753 else
18754     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18755 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18756     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18757 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18758
18759     # log4cpp settings
18760     # Extract the first word of "log4cpp-config", so it can be a program name with args.
18761 set dummy log4cpp-config; ac_word=$2
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18763 $as_echo_n "checking for $ac_word... " >&6; }
18764 if ${ac_cv_path_LOG4CPP_CONFIG+:} false; then :
18765   $as_echo_n "(cached) " >&6
18766 else
18767   case $LOG4CPP_CONFIG in
18768   [\\/]* | ?:[\\/]*)
18769   ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18770   ;;
18771   *)
18772   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18773 for as_dir in $PATH
18774 do
18775   IFS=$as_save_IFS
18776   test -z "$as_dir" && as_dir=.
18777     for ac_exec_ext in '' $ac_executable_extensions; do
18778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18779     ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18780     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18781     break 2
18782   fi
18783 done
18784   done
18785 IFS=$as_save_IFS
18786
18787   ;;
18788 esac
18789 fi
18790 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18791 if test -n "$LOG4CPP_CONFIG"; then
18792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18793 $as_echo "$LOG4CPP_CONFIG" >&6; }
18794 else
18795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18796 $as_echo "no" >&6; }
18797 fi
18798
18799
18800
18801 # Check whether --with-log4cpp was given.
18802 if test "${with_log4cpp+set}" = set; then :
18803   withval=$with_log4cpp;
18804         LOG4CPP_CONFIG="${with_log4cpp}"
18805         if ! test -f "${LOG4CPP_CONFIG}"; then
18806             LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18807         fi
18808
18809 fi
18810
18811     if test -f "${LOG4CPP_CONFIG}"; then
18812         { $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
18813 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18814         LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18815         CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18816         ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18817 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = xyes; then :
18818
18819 else
18820   as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18821 fi
18822
18823
18824         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h.  */
18826 #include <log4cpp/Category.hh>
18827 #include <log4cpp/CategoryStream.hh>
18828 int
18829 main ()
18830 {
18831 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18832   ;
18833   return 0;
18834 }
18835 _ACEOF
18836 if ac_fn_cxx_try_link "$LINENO"; then :
18837
18838 $as_echo "#define SHIBSP_LOG4CPP 1" >>confdefs.h
18839
18840 else
18841   as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18842 fi
18843 rm -f core conftest.err conftest.$ac_objext \
18844     conftest$ac_exeext conftest.$ac_ext
18845     else
18846         as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18847     fi
18848 fi
18849
18850 # Xerces settings
18851
18852 # Check whether --with-xerces was given.
18853 if test "${with_xerces+set}" = set; then :
18854   withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18855         LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18856         CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18857     fi
18858 fi
18859
18860 LIBS="-lxerces-c $LIBS"
18861 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18862 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = xyes; then :
18863
18864 else
18865   as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18866 fi
18867
18868
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18870 $as_echo_n "checking Xerces version... " >&6; }
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h.  */
18873 #include <xercesc/util/XercesVersion.hpp>
18874 int
18875 main ()
18876 {
18877 #if  _XERCES_VERSION != 20600
18878 int i = 0;
18879 #else
18880 #error cannot use version 2.6.0
18881 #endif
18882   ;
18883   return 0;
18884 }
18885 _ACEOF
18886 if ac_fn_cxx_try_cpp "$LINENO"; then :
18887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18888 $as_echo "OK" >&6; }
18889 else
18890   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18892 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18893 See \`config.log' for more details" "$LINENO" 5; }
18894 fi
18895 rm -f conftest.err conftest.i conftest.$ac_ext
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h.  */
18898 #include <xercesc/util/PlatformUtils.hpp>
18899 int
18900 main ()
18901 {
18902 xercesc::XMLPlatformUtils::Initialize()
18903   ;
18904   return 0;
18905 }
18906 _ACEOF
18907 if ac_fn_cxx_try_link "$LINENO"; then :
18908
18909 else
18910   as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18911 fi
18912 rm -f core conftest.err conftest.$ac_objext \
18913     conftest$ac_exeext conftest.$ac_ext
18914
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18916 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h.  */
18919 #include <xercesc/util/XMLString.hpp>
18920 int
18921 main ()
18922 {
18923 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18924   ;
18925   return 0;
18926 }
18927 _ACEOF
18928 if ac_fn_cxx_try_compile "$LINENO"; then :
18929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18930 $as_echo "yes" >&6; }
18931 $as_echo "#define SHIBSP_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18932
18933 else
18934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18935 $as_echo "no" >&6; }
18936 fi
18937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18938
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces DOMNodeFilter API returns a short" >&5
18940 $as_echo_n "checking whether Xerces DOMNodeFilter API returns a short... " >&6; }
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h.  */
18943 #include <xercesc/dom/DOM.hpp>
18944 int
18945 main ()
18946 {
18947 using namespace XERCES_CPP_NAMESPACE;
18948       class Blocker : public DOMNodeFilter {
18949       public:
18950         short acceptNode(const DOMNode* node) const {
18951             return FILTER_REJECT;
18952         }
18953       };
18954       static Blocker g_Blocker;
18955
18956   ;
18957   return 0;
18958 }
18959 _ACEOF
18960 if ac_fn_cxx_try_compile "$LINENO"; then :
18961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18962 $as_echo "yes" >&6; }
18963 $as_echo "#define SHIBSP_XERCESC_SHORT_ACCEPTNODE 1" >>confdefs.h
18964
18965 else
18966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18967 $as_echo "no" >&6; }
18968 fi
18969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18970
18971 #XML-Tooling settings
18972
18973 # Check whether --with-xmltooling was given.
18974 if test "${with_xmltooling+set}" = set; then :
18975   withval=$with_xmltooling; if test x_$with_xmltooling != x_/usr; then
18976         LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
18977         CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
18978         DX_INCLUDE="${with_xmltooling}/include"
18979     fi
18980 fi
18981
18982 LITE_LIBS="-lxmltooling-lite"
18983 XMLSEC_LIBS="-lxmltooling"
18984 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/base.h" "ac_cv_header_xmltooling_base_h" "$ac_includes_default"
18985 if test "x$ac_cv_header_xmltooling_base_h" = xyes; then :
18986
18987 else
18988   as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
18989 fi
18990
18991
18992
18993
18994 # save and append master libs
18995 save_LIBS="$LIBS"
18996 LIBS="$XMLSEC_LIBS $LIBS"
18997
18998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h.  */
19000 #include <xmltooling/XMLToolingConfig.h>
19001 #include <xmltooling/version.h>
19002 int
19003 main ()
19004 {
19005 #if _XMLTOOLING_VERSION >= 10400
19006 xmltooling::XMLToolingConfig::getConfig();
19007 #else
19008 #error Need XMLTooling version 1.4 or higher
19009 #endif
19010   ;
19011   return 0;
19012 }
19013 _ACEOF
19014 if ac_fn_cxx_try_link "$LINENO"; then :
19015
19016 else
19017   as_fn_error $? "unable to link with XMLTooling, or version was too old" "$LINENO" 5
19018 fi
19019 rm -f core conftest.err conftest.$ac_objext \
19020     conftest$ac_exeext conftest.$ac_ext
19021
19022 # restore master libs
19023 LIBS="$save_LIBS"
19024
19025 # Establish location of xmltooling catalog.
19026 XMLTOOLINGXMLDIR=""
19027 if test "x$with_xmltooling" = "x" ; then
19028    with_xmltooling="/usr"
19029 fi
19030 if test -f $with_xmltooling/share/xml/xmltooling/catalog.xml ; then
19031     XMLTOOLINGXMLDIR="$with_xmltooling"
19032 elif test -f $with_xerces/share/xml/xmltooling/catalog.xml ; then
19033     XMLTOOLINGXMLDIR="$with_xerces"
19034 elif test -f $with_log4shib/share/xml/xmltooling/catalog.xml ; then
19035     XMLTOOLINGXMLDIR="$with_log4shib"
19036 fi
19037 if test "x$XMLTOOLINGXMLDIR" = "x" ; then
19038     as_fn_error $? "xmltooling XML catalog not found, may need to use --with-xmltooling option" "$LINENO" 5
19039 fi
19040 XMLTOOLINGXMLDIR="$XMLTOOLINGXMLDIR/share/xml/xmltooling"
19041
19042
19043 # XML-Security settings
19044
19045 # Check whether --with-xmlsec was given.
19046 if test "${with_xmlsec+set}" = set; then :
19047   withval=$with_xmlsec;
19048 else
19049   with_xmlsec=/usr
19050 fi
19051
19052
19053 if test x_$with_xmlsec != x_/usr; then
19054     LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
19055     CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
19056 fi
19057 XMLSEC_LIBS="-lxml-security-c $XMLSEC_LIBS"
19058
19059 # save and append master libs
19060 save_LIBS="$LIBS"
19061 LIBS="$XMLSEC_LIBS $LIBS"
19062
19063 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
19064 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = xyes; then :
19065
19066 else
19067   as_fn_error $? "unable to find XML-Security-C header files" "$LINENO" 5
19068 fi
19069
19070
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security-C version" >&5
19072 $as_echo_n "checking XML-Security-C version... " >&6; }
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h.  */
19075 #include <xsec/utils/XSECPlatformUtils.hpp>
19076 int
19077 main ()
19078 {
19079 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
19080 int i = 0;
19081 #else
19082 #error need version 1.4.0 or later
19083 #endif
19084   ;
19085   return 0;
19086 }
19087 _ACEOF
19088 if ac_fn_cxx_try_cpp "$LINENO"; then :
19089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
19090 $as_echo "OK" >&6; }
19091 else
19092   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19094 as_fn_error $? "XML-Security-C version 1.4.0 or greater is required.
19095 See \`config.log' for more details" "$LINENO" 5; }
19096 fi
19097 rm -f conftest.err conftest.i conftest.$ac_ext
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h.  */
19100 #include <xsec/utils/XSECPlatformUtils.hpp>
19101 int
19102 main ()
19103 {
19104 XSECPlatformUtils::Initialise()
19105   ;
19106   return 0;
19107 }
19108 _ACEOF
19109 if ac_fn_cxx_try_link "$LINENO"; then :
19110
19111 else
19112   as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
19113 fi
19114 rm -f core conftest.err conftest.$ac_objext \
19115     conftest$ac_exeext conftest.$ac_ext
19116
19117
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XML-Security-C supports white/blacklisting of algorithms" >&5
19119 $as_echo_n "checking whether XML-Security-C supports white/blacklisting of algorithms... " >&6; }
19120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19121 /* end confdefs.h.  */
19122 #include <xsec/framework/XSECAlgorithmMapper.hpp>
19123 int
19124 main ()
19125 {
19126 XSECAlgorithmMapper* mapper; mapper->whitelistAlgorithm(NULL);
19127   ;
19128   return 0;
19129 }
19130 _ACEOF
19131 if ac_fn_cxx_try_compile "$LINENO"; then :
19132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19133 $as_echo "yes" >&6; }
19134
19135 $as_echo "#define SHIBSP_XMLSEC_WHITELISTING 1" >>confdefs.h
19136
19137 else
19138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19139 $as_echo "no" >&6; }
19140 fi
19141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142
19143
19144 # restore master libs
19145 LIBS="$save_LIBS"
19146
19147 # OpenSAML settings
19148
19149 # Check whether --with-saml was given.
19150 if test "${with_saml+set}" = set; then :
19151   withval=$with_saml; if test x_$with_saml != x_/usr; then
19152         LDFLAGS="-L${with_saml}/lib $LDFLAGS"
19153         CPPFLAGS="-I${with_saml}/include $CPPFLAGS"
19154         DX_INCLUDE="$DX_INCLUDE ${with_saml}/include"
19155     fi
19156 fi
19157
19158 XMLSEC_LIBS="-lsaml $XMLSEC_LIBS"
19159
19160 # save and append master libs
19161 save_LIBS="$LIBS"
19162 LIBS="$XMLSEC_LIBS $LIBS"
19163
19164 ac_fn_cxx_check_header_mongrel "$LINENO" "saml/saml2/metadata/Metadata.h" "ac_cv_header_saml_saml2_metadata_Metadata_h" "$ac_includes_default"
19165 if test "x$ac_cv_header_saml_saml2_metadata_Metadata_h" = xyes; then :
19166
19167 else
19168   as_fn_error $? "unable to find OpenSAML header files" "$LINENO" 5
19169 fi
19170
19171
19172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19173 /* end confdefs.h.  */
19174 #include <saml/SAMLConfig.h>
19175 #include <saml/version.h>
19176 int
19177 main ()
19178 {
19179 #if _OPENSAML_VERSION >= 20400
19180 opensaml::SAMLConfig::getConfig();
19181 #else
19182 #error Need OpenSAML version 2.4 or higher
19183 #endif
19184   ;
19185   return 0;
19186 }
19187 _ACEOF
19188 if ac_fn_cxx_try_link "$LINENO"; then :
19189
19190 else
19191   as_fn_error $? "unable to link with OpenSAML, or version was too old" "$LINENO" 5
19192
19193 fi
19194 rm -f core conftest.err conftest.$ac_objext \
19195     conftest$ac_exeext conftest.$ac_ext
19196
19197 # restore master libs
19198 LIBS="$save_LIBS"
19199
19200 # Establish location of opensaml catalogs.
19201 OPENSAMLXMLDIR=""
19202 if test "x$with_saml" = "x" ; then
19203     with_saml="/usr"
19204 fi
19205 if test -f $with_saml/share/xml/opensaml/saml20-catalog.xml ; then
19206     OPENSAMLXMLDIR="$with_saml"
19207 elif test -f $with_xmltooling/share/xml/opensaml/saml20-catalog.xml ; then
19208     OPENSAMLXMLDIR="$with_xmltooling"
19209 elif test -f $with_xerces/share/xml/opensaml/saml20-catalog.xml ; then
19210     OPENSAMLXMLDIR="$with_xerces"
19211 elif test -f $with_log4shib/share/xml/opensaml/saml20-catalog.xml ; then
19212     OPENSAMLXMLDIR="$with_log4shib"
19213 fi
19214 if test "x$OPENSAMLXMLDIR" = "x" ; then
19215     as_fn_error $? "opensaml XML catalogs not found, may need to use --with-saml option" "$LINENO" 5
19216 fi
19217 OPENSAMLXMLDIR="$OPENSAMLXMLDIR/share/xml/opensaml"
19218
19219
19220
19221
19222
19223 # output the underlying makefiles
19224 WANT_SUBDIRS="doc schemas configs shibsp shibd util"
19225 ac_config_files="$ac_config_files Makefile doc/Makefile schemas/Makefile configs/Makefile shibsp/Makefile shibd/Makefile util/Makefile selinux/Makefile"
19226
19227
19228 ## ADFS?
19229 ac_config_files="$ac_config_files adfs/Makefile"
19230
19231 # Check whether --enable-adfs was given.
19232 if test "${enable_adfs+set}" = set; then :
19233   enableval=$enable_adfs; adfs_enabled=$enableval
19234 else
19235   adfs_enabled=yes
19236 fi
19237
19238 if test "x$adfs_enabled" = "x" ; then
19239     adfs_enabled=yes
19240 fi
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ADFS module" >&5
19242 $as_echo_n "checking whether to build the ADFS module... " >&6; }
19243 if test "$adfs_enabled" = "no" ; then
19244     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19245 $as_echo "no" >&6; }
19246 else
19247     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19248 $as_echo "yes" >&6; }
19249     WANT_SUBDIRS="$WANT_SUBDIRS adfs"
19250 fi
19251
19252
19253 #
19254 # Build NSAPI module?
19255 #
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSAPI module option" >&5
19257 $as_echo_n "checking for NSAPI module option... " >&6; }
19258
19259 # Check whether --with-nsapi was given.
19260 if test "${with_nsapi+set}" = set; then :
19261   withval=$with_nsapi; WANT_NSAPI=$withval
19262 else
19263   WANT_NSAPI=no
19264 fi
19265
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_NSAPI" >&5
19267 $as_echo "$WANT_NSAPI" >&6; }
19268
19269 if test "$WANT_NSAPI" != "no"; then
19270   if test ! -d $WANT_NSAPI/bin ; then
19271     as_fn_error $? "Please specify the path to the root of your Netscape/iPlanet/SunONE server using --with-nsapi=DIR" "$LINENO" 5
19272   fi
19273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSAPI include files" >&5
19274 $as_echo_n "checking for NSAPI include files... " >&6; }
19275   if test -d $WANT_NSAPI/include ; then
19276     NSAPI_INCLUDE=$WANT_NSAPI/include
19277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Netscape-Enterprise 3.x style" >&5
19278 $as_echo "Netscape-Enterprise 3.x style" >&6; }
19279     for ac_header in $NSAPI_INCLUDE/nsapi.h
19280 do :
19281   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19282 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define XP_UNIX
19283 "
19284 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19285   cat >>confdefs.h <<_ACEOF
19286 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19287 _ACEOF
19288
19289 fi
19290
19291 done
19292
19293     NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
19294   fi
19295   if test -d $WANT_NSAPI/plugins/include ; then
19296     test -n "$NSAPI_INCLUDE" && NSAPI_INC_DIR="-I$NSAPI_INCLUDE"
19297     NSAPI_INCLUDE="$WANT_NSAPI/plugins/include"
19298     { $as_echo "$as_me:${as_lineno-$LINENO}: result: iPlanet 4.x / SunONE 6.x style" >&5
19299 $as_echo "iPlanet 4.x / SunONE 6.x style" >&6; }
19300     for ac_header in $NSAPI_INCLUDE/nsapi.h
19301 do :
19302   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19303 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define XP_UNIX
19304 "
19305 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19306   cat >>confdefs.h <<_ACEOF
19307 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19308 _ACEOF
19309
19310 fi
19311
19312 done
19313
19314     NSAPI_INCLUDE="$NSAPI_INC_DIR -I$NSAPI_INCLUDE"
19315   fi
19316   if test "$NSAPI_INCLUDE" = ""; then
19317     as_fn_error $? "Please check you have nsapi.h in either $WANT_NSAPI/include or $WANT_NSAPI/plugins/include" "$LINENO" 5
19318   fi
19319 fi
19320
19321
19322
19323 # always output the Makefile, even if you don't use it
19324 ac_config_files="$ac_config_files nsapi_shib/Makefile"
19325
19326  if test ! "$WANT_NSAPI" = "no"; then
19327   BUILD_NSAPI_TRUE=
19328   BUILD_NSAPI_FALSE='#'
19329 else
19330   BUILD_NSAPI_TRUE='#'
19331   BUILD_NSAPI_FALSE=
19332 fi
19333
19334
19335 # add the NSAPI module to the list of wanted subdirs..
19336 if test ! "$WANT_NSAPI" = "no" ; then
19337     WANT_SUBDIRS="$WANT_SUBDIRS nsapi_shib"
19338 fi
19339
19340
19341 #
19342 # Build FastCGI support?
19343 #
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FastCGI support" >&5
19345 $as_echo_n "checking for FastCGI support... " >&6; }
19346
19347 # Check whether --with-fastcgi was given.
19348 if test "${with_fastcgi+set}" = set; then :
19349   withval=$with_fastcgi; WANT_FASTCGI=$withval
19350 else
19351   WANT_FASTCGI=no
19352 fi
19353
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_FASTCGI" >&5
19355 $as_echo "$WANT_FASTCGI" >&6; }
19356
19357 if test "$WANT_FASTCGI" != "no"; then
19358     if test "$WANT_FASTCGI" != "yes"; then
19359         if test x_$WANT_FASTCGI != x_/usr; then
19360             FASTCGI_INCLUDE="-I$WANT_FASTCGI/include"
19361             FASTCGI_LDFLAGS="-L$WANT_FASTCGI/lib"
19362         fi
19363     fi
19364     ac_fn_cxx_check_header_mongrel "$LINENO" "fcgio.h" "ac_cv_header_fcgio_h" "$ac_includes_default"
19365 if test "x$ac_cv_header_fcgio_h" = xyes; then :
19366
19367 else
19368   as_fn_error $? "unable to find FastCGI header files" "$LINENO" 5
19369 fi
19370
19371
19372     FASTCGI_LIBS="-lfcgi -lfcgi++"
19373 fi
19374
19375
19376
19377
19378
19379 # always output the Makefile, even if you don't use it
19380 ac_config_files="$ac_config_files fastcgi/Makefile"
19381
19382  if test ! "$WANT_FASTCGI" = "no"; then
19383   BUILD_FASTCGI_TRUE=
19384   BUILD_FASTCGI_FALSE='#'
19385 else
19386   BUILD_FASTCGI_TRUE='#'
19387   BUILD_FASTCGI_FALSE=
19388 fi
19389
19390
19391 if test ! "$WANT_FASTCGI" = "no" ; then
19392     WANT_SUBDIRS="$WANT_SUBDIRS fastcgi"
19393 fi
19394
19395 #
19396 # Build Memcached support?
19397 #
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Memcached support" >&5
19399 $as_echo_n "checking for Memcached support... " >&6; }
19400
19401 # Check whether --with-memcached was given.
19402 if test "${with_memcached+set}" = set; then :
19403   withval=$with_memcached; WANT_MEMCACHED=$withval
19404 else
19405   WANT_MEMCACHED=no
19406 fi
19407
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_MEMCACHED" >&5
19409 $as_echo "$WANT_MEMCACHED" >&6; }
19410
19411 if test "$WANT_MEMCACHED" != "no"; then
19412     if test "$WANT_MEMCACHED" != "yes"; then
19413         if test x_$WANT_MEMCACHED != x_/usr; then
19414             MEMCACHED_INCLUDE="-I$WANT_MEMCACHED/include"
19415             MEMCACHED_LDFLAGS="-L$WANT_MEMCACHED/lib"
19416         fi
19417     fi
19418     ac_fn_cxx_check_header_mongrel "$LINENO" "libmemcached/memcached.h" "ac_cv_header_libmemcached_memcached_h" "$ac_includes_default"
19419 if test "x$ac_cv_header_libmemcached_memcached_h" = xyes; then :
19420
19421 else
19422   as_fn_error $? "unable to find Memcached header files" "$LINENO" 5
19423 fi
19424
19425
19426     MEMCACHED_LIBS="-lmemcached"
19427 fi
19428
19429
19430
19431
19432
19433 # always output the Makefile, even if you don't use it
19434 ac_config_files="$ac_config_files memcache-store/Makefile"
19435
19436  if test ! "$WANT_MEMCACHED" = "no"; then
19437   BUILD_MEMCACHED_TRUE=
19438   BUILD_MEMCACHED_FALSE='#'
19439 else
19440   BUILD_MEMCACHED_TRUE='#'
19441   BUILD_MEMCACHED_FALSE=
19442 fi
19443
19444
19445 if test ! "$WANT_MEMCACHED" = "no" ; then
19446     WANT_SUBDIRS="$WANT_SUBDIRS memcache-store"
19447 fi
19448
19449
19450 #
19451 # If no --enable-apache-xx specified
19452 # find a default and fake the specific parameters
19453 #
19454
19455 # simple macro to peek at an enable or a with
19456
19457
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if default apache needed" >&5
19459 $as_echo_n "checking if default apache needed... " >&6; }
19460 need_default=yes
19461 if test "${enable_apache_13+set}" = set; then
19462   peekval="${enable_apache_13}"
19463   need_default=no
19464 fi;
19465 if test "${enable_apache_20+set}" = set; then
19466   peekval="${enable_apache_20}"
19467   need_default=no
19468 fi;
19469 if test "${enable_apache_22+set}" = set; then
19470   peekval="${enable_apache_22}"
19471   need_default=no
19472 fi;
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $need_default" >&5
19474 $as_echo "$need_default" >&6; }
19475
19476 if test "$need_default" = "yes"; then
19477   # find an apxs, then the httpd
19478   xs=
19479   if test "${with_apxs+set}" = set; then
19480   peekval="${with_apxs}"
19481   xs="$peekval"
19482 fi;
19483   if test "${with_apxs2+set}" = set; then
19484   peekval="${with_apxs2}"
19485   xs="$peekval"
19486 fi;
19487   if test "${with_apxs22+set}" = set; then
19488   peekval="${with_apxs22}"
19489   xs="$peekval"
19490 fi;
19491   if test "x$xs" = "x"; then
19492      for ac_prog in apxs2 apxs
19493 do
19494   # Extract the first word of "$ac_prog", so it can be a program name with args.
19495 set dummy $ac_prog; ac_word=$2
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19497 $as_echo_n "checking for $ac_word... " >&6; }
19498 if ${ac_cv_path_xs+:} false; then :
19499   $as_echo_n "(cached) " >&6
19500 else
19501   case $xs in
19502   [\\/]* | ?:[\\/]*)
19503   ac_cv_path_xs="$xs" # Let the user override the test with a path.
19504   ;;
19505   *)
19506   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19507 as_dummy="/usr/local/apache2/bin:/usr/local/apache/bin:/usr/sbin:$PATH"
19508 for as_dir in $as_dummy
19509 do
19510   IFS=$as_save_IFS
19511   test -z "$as_dir" && as_dir=.
19512     for ac_exec_ext in '' $ac_executable_extensions; do
19513   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19514     ac_cv_path_xs="$as_dir/$ac_word$ac_exec_ext"
19515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19516     break 2
19517   fi
19518 done
19519   done
19520 IFS=$as_save_IFS
19521
19522   ;;
19523 esac
19524 fi
19525 xs=$ac_cv_path_xs
19526 if test -n "$xs"; then
19527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xs" >&5
19528 $as_echo "$xs" >&6; }
19529 else
19530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19531 $as_echo "no" >&6; }
19532 fi
19533
19534
19535   test -n "$xs" && break
19536 done
19537 test -n "$xs" || xs="as_fn_error no apache found.  Try --with-apxs "No apxs" "$LINENO" 5"
19538
19539   fi
19540   # ask the daemon for the version and set parameters
19541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking default apache version" >&5
19542 $as_echo_n "checking default apache version... " >&6; }
19543   httpd="`$xs -q SBINDIR`/`$xs -q TARGET`"
19544   if test "x$httpd" != "x" && test -f $httpd ; then
19545      v=`$httpd -v|$SED -n -e 's/.*Apache\/\.*//p'`
19546      case $v in
19547        1.3*)   enable_apache_13=yes
19548                with_apxs=$xs
19549                { $as_echo "$as_me:${as_lineno-$LINENO}: result: 1.3" >&5
19550 $as_echo "1.3" >&6; }
19551                ;;
19552        2.0*)   enable_apache_20=yes
19553                with_apxs2=$xs
19554                { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.0" >&5
19555 $as_echo "2.0" >&6; }
19556                ;;
19557        2.2*)   enable_apache_22=yes
19558                with_apxs22=$xs
19559                { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.2" >&5
19560 $as_echo "2.2" >&6; }
19561                ;;
19562        *)      as_fn_error $? "unusable apache versions: $v. Try setting --with-apxs" "$LINENO" 5
19563      esac
19564   else
19565      { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot determine version.  Try setting --with-apxs" >&5
19566 $as_echo "cannot determine version.  Try setting --with-apxs" >&6; }
19567   fi
19568 fi
19569
19570 # Apache 1.3 (mod_shib_13)
19571 #   --enable-apache-13
19572 #   --with-apxs      (DSO build, the normal way, uses apxs to derive build flags)
19573
19574 # Check whether --enable-apache-13 was given.
19575 if test "${enable_apache_13+set}" = set; then :
19576   enableval=$enable_apache_13; if test "x$enableval" = "x" ; then
19577          WANT_APACHE_13=yes
19578          else
19579              WANT_APACHE_13="$enableval"
19580          fi
19581
19582 else
19583    WANT_APACHE_13=no
19584 fi
19585
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 1.3 module" >&5
19587 $as_echo_n "checking whether to build Apache 1.3 module... " >&6; }
19588 if test "$WANT_APACHE_13" != yes && test "$WANT_APACHE_13" != no ; then
19589    WANT_APACHE_13=yes
19590 fi
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_13" >&5
19592 $as_echo "$WANT_APACHE_13" >&6; }
19593
19594 if test "$WANT_APACHE_13" = "yes" ; then
19595
19596 # Check whether --with-apxs was given.
19597 if test "${with_apxs+set}" = set; then :
19598   withval=$with_apxs;
19599         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apxs name/location" >&5
19600 $as_echo_n "checking for user-specified apxs name/location... " >&6; }
19601         if test "$withval" != "no" ; then
19602           if test "$withval" != "yes"; then
19603             APXS=$withval
19604             { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19605 $as_echo "\"$withval\"" >&6; }
19606           fi
19607         fi
19608
19609 else
19610
19611         # Extract the first word of "apxs", so it can be a program name with args.
19612 set dummy apxs; ac_word=$2
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19614 $as_echo_n "checking for $ac_word... " >&6; }
19615 if ${ac_cv_path_APXS+:} false; then :
19616   $as_echo_n "(cached) " >&6
19617 else
19618   case $APXS in
19619   [\\/]* | ?:[\\/]*)
19620   ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
19621   ;;
19622   *)
19623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19624 for as_dir in $PATH
19625 do
19626   IFS=$as_save_IFS
19627   test -z "$as_dir" && as_dir=.
19628     for ac_exec_ext in '' $ac_executable_extensions; do
19629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19630     ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
19631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19632     break 2
19633   fi
19634 done
19635   done
19636 IFS=$as_save_IFS
19637
19638   test -z "$ac_cv_path_APXS" && ac_cv_path_APXS="no"
19639   ;;
19640 esac
19641 fi
19642 APXS=$ac_cv_path_APXS
19643 if test -n "$APXS"; then
19644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
19645 $as_echo "$APXS" >&6; }
19646 else
19647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19648 $as_echo "no" >&6; }
19649 fi
19650
19651
19652         if test "$APXS" = "no" ; then
19653           for i in /usr/sbin /usr/local/apache/bin ; do
19654             if test "$APXS" = "no" && test -f "$i/apxs"; then
19655               APXS="$i/apxs"
19656             fi
19657           done
19658         fi
19659
19660 fi
19661
19662
19663     { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if apxs was located" >&5
19664 $as_echo_n "checking to see if apxs was located... " >&6; }
19665     if test ! -f "$APXS" ; then
19666         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19667 $as_echo "no" >&6; }
19668         as_fn_error $? "Unable to locate apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs option." "$LINENO" 5
19669     fi
19670     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
19671 $as_echo "$APXS" >&6; }
19672
19673
19674     # extract settings we need from APXS -q
19675     APXS_CC="`$APXS -q CC`"
19676     APXS_CFLAGS="`$APXS -q CFLAGS` `$APXS -q CFLAGS_SHLIB`"
19677     APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
19678 fi
19679
19680
19681
19682
19683
19684 # Apache 2.0 (mod_shib_20)
19685 #   --enable-apache-20
19686 #   --with-apxs2      (DSO build, the normal way, uses apxs to derive build flags)
19687 #       --with-apr        (DSO build, APR development package installed separately)
19688 #   --with-apu        (DSO build, APR-UTIL development package installed separately)
19689
19690 # Check whether --enable-apache-20 was given.
19691 if test "${enable_apache_20+set}" = set; then :
19692   enableval=$enable_apache_20; if test "x$enableval" = "x" ; then
19693          WANT_APACHE_20=yes
19694          else
19695              WANT_APACHE_20="$enableval"
19696          fi
19697
19698 else
19699    WANT_APACHE_20=no
19700 fi
19701
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 2.0 module" >&5
19703 $as_echo_n "checking whether to build Apache 2.0 module... " >&6; }
19704 if test "$WANT_APACHE_20" != yes && test "$WANT_APACHE_20" != no ; then
19705     WANT_APACHE_20=yes
19706 fi
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_20" >&5
19708 $as_echo "$WANT_APACHE_20" >&6; }
19709
19710 if test "$WANT_APACHE_20" = "yes" ; then
19711
19712 # Check whether --with-apxs2 was given.
19713 if test "${with_apxs2+set}" = set; then :
19714   withval=$with_apxs2;
19715         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified Apache2 apxs name/location" >&5
19716 $as_echo_n "checking for user-specified Apache2 apxs name/location... " >&6; }
19717         if test "$withval" != "no" ; then
19718           if test "$withval" != "yes"; then
19719             APXS2=$withval
19720             { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19721 $as_echo "\"$withval\"" >&6; }
19722           fi
19723         fi
19724
19725 else
19726
19727         # Extract the first word of "apxs2", so it can be a program name with args.
19728 set dummy apxs2; ac_word=$2
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19730 $as_echo_n "checking for $ac_word... " >&6; }
19731 if ${ac_cv_path_APXS2+:} false; then :
19732   $as_echo_n "(cached) " >&6
19733 else
19734   case $APXS2 in
19735   [\\/]* | ?:[\\/]*)
19736   ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
19737   ;;
19738   *)
19739   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19740 for as_dir in $PATH
19741 do
19742   IFS=$as_save_IFS
19743   test -z "$as_dir" && as_dir=.
19744     for ac_exec_ext in '' $ac_executable_extensions; do
19745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19746     ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
19747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19748     break 2
19749   fi
19750 done
19751   done
19752 IFS=$as_save_IFS
19753
19754   test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
19755   ;;
19756 esac
19757 fi
19758 APXS2=$ac_cv_path_APXS2
19759 if test -n "$APXS2"; then
19760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
19761 $as_echo "$APXS2" >&6; }
19762 else
19763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19764 $as_echo "no" >&6; }
19765 fi
19766
19767
19768         if test "$APXS2" = "no" ; then
19769             # Extract the first word of "apxs", so it can be a program name with args.
19770 set dummy apxs; ac_word=$2
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19772 $as_echo_n "checking for $ac_word... " >&6; }
19773 if ${ac_cv_path_APXS2+:} false; then :
19774   $as_echo_n "(cached) " >&6
19775 else
19776   case $APXS2 in
19777   [\\/]* | ?:[\\/]*)
19778   ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
19779   ;;
19780   *)
19781   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19782 for as_dir in $PATH
19783 do
19784   IFS=$as_save_IFS
19785   test -z "$as_dir" && as_dir=.
19786     for ac_exec_ext in '' $ac_executable_extensions; do
19787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19788     ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
19789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19790     break 2
19791   fi
19792 done
19793   done
19794 IFS=$as_save_IFS
19795
19796   test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
19797   ;;
19798 esac
19799 fi
19800 APXS2=$ac_cv_path_APXS2
19801 if test -n "$APXS2"; then
19802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
19803 $as_echo "$APXS2" >&6; }
19804 else
19805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19806 $as_echo "no" >&6; }
19807 fi
19808
19809
19810         fi
19811         if test "$APXS2" = "no" ; then
19812           for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
19813             if test "$APXS2" = "no" && test -f "$i/apxs2" ; then
19814               APXS2="$i/apxs2"
19815             fi
19816           done
19817           if test "$APXS2" = "no" ; then
19818             for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
19819               if test "$APXS2" = "no" && test -f "$i/apxs" ; then
19820                 APXS2="$i/apxs"
19821               fi
19822             done
19823           fi
19824         fi
19825
19826 fi
19827
19828
19829     { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Apache2 apxs was located" >&5
19830 $as_echo_n "checking to see if Apache2 apxs was located... " >&6; }
19831     if test ! -f "$APXS2" ; then
19832         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19833 $as_echo "no" >&6; }
19834         as_fn_error $? "Unable to locate Apache2 apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs2 option." "$LINENO" 5
19835     fi
19836     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
19837 $as_echo "$APXS2" >&6; }
19838
19839
19840     # APR settings
19841
19842 # Check whether --with-apr was given.
19843 if test "${with_apr+set}" = set; then :
19844   withval=$with_apr;
19845         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apr-config name/location" >&5
19846 $as_echo_n "checking for user-specified apr-config name/location... " >&6; }
19847         if test "$withval" != "no" ; then
19848             if test "$withval" != "yes"; then
19849                 APR_CONFIG=$withval
19850                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19851 $as_echo "\"$withval\"" >&6; }
19852             fi
19853         fi
19854
19855 else
19856
19857         # Extract the first word of "apr-config", so it can be a program name with args.
19858 set dummy apr-config; ac_word=$2
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19860 $as_echo_n "checking for $ac_word... " >&6; }
19861 if ${ac_cv_path_APR_CONFIG+:} false; then :
19862   $as_echo_n "(cached) " >&6
19863 else
19864   case $APR_CONFIG in
19865   [\\/]* | ?:[\\/]*)
19866   ac_cv_path_APR_CONFIG="$APR_CONFIG" # Let the user override the test with a path.
19867   ;;
19868   *)
19869   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19870 as_dummy="`$APXS2 -q SBINDIR`:$PATH"
19871 for as_dir in $as_dummy
19872 do
19873   IFS=$as_save_IFS
19874   test -z "$as_dir" && as_dir=.
19875     for ac_exec_ext in '' $ac_executable_extensions; do
19876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19877     ac_cv_path_APR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19879     break 2
19880   fi
19881 done
19882   done
19883 IFS=$as_save_IFS
19884
19885   ;;
19886 esac
19887 fi
19888 APR_CONFIG=$ac_cv_path_APR_CONFIG
19889 if test -n "$APR_CONFIG"; then
19890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_CONFIG" >&5
19891 $as_echo "$APR_CONFIG" >&6; }
19892 else
19893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19894 $as_echo "no" >&6; }
19895 fi
19896
19897
19898
19899 fi
19900
19901         if test -f "${APR_CONFIG}"; then
19902         APR_CFLAGS="`${APR_CONFIG} --cflags` `${APR_CONFIG} --cppflags` `${APR_CONFIG} --includes`"
19903     else
19904         as_fn_error $? "Unable to locate apr-config, may need --with-apr option." "$LINENO" 5
19905     fi
19906
19907     # APU settings
19908
19909 # Check whether --with-apu was given.
19910 if test "${with_apu+set}" = set; then :
19911   withval=$with_apu;
19912         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apu-config name/location" >&5
19913 $as_echo_n "checking for user-specified apu-config name/location... " >&6; }
19914         if test "$withval" != "no" ; then
19915             if test "$withval" != "yes"; then
19916                 APR_CONFIG=$withval
19917                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
19918 $as_echo "\"$withval\"" >&6; }
19919             fi
19920         fi
19921
19922 else
19923
19924         # Extract the first word of "apu-config", so it can be a program name with args.
19925 set dummy apu-config; ac_word=$2
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19927 $as_echo_n "checking for $ac_word... " >&6; }
19928 if ${ac_cv_path_APU_CONFIG+:} false; then :
19929   $as_echo_n "(cached) " >&6
19930 else
19931   case $APU_CONFIG in
19932   [\\/]* | ?:[\\/]*)
19933   ac_cv_path_APU_CONFIG="$APU_CONFIG" # Let the user override the test with a path.
19934   ;;
19935   *)
19936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19937 as_dummy="`$APXS2 -q SBINDIR`:$PATH"
19938 for as_dir in $as_dummy
19939 do
19940   IFS=$as_save_IFS
19941   test -z "$as_dir" && as_dir=.
19942     for ac_exec_ext in '' $ac_executable_extensions; do
19943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19944     ac_cv_path_APU_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19946     break 2
19947   fi
19948 done
19949   done
19950 IFS=$as_save_IFS
19951
19952   ;;
19953 esac
19954 fi
19955 APU_CONFIG=$ac_cv_path_APU_CONFIG
19956 if test -n "$APU_CONFIG"; then
19957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU_CONFIG" >&5
19958 $as_echo "$APU_CONFIG" >&6; }
19959 else
19960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19961 $as_echo "no" >&6; }
19962 fi
19963
19964
19965
19966 fi
19967
19968     if test -f "${APU_CONFIG}"; then
19969         APU_CFLAGS="`${APU_CONFIG} --includes`"
19970     else
19971         as_fn_error $? "Unable to locate apu-config, may need --with-apu option." "$LINENO" 5
19972     fi
19973
19974     # extract settings we need from APXS2 -q
19975     APXS2_CC="`$APXS2 -q CC`"
19976     APXS2_CFLAGS="`$APXS2 -q CPPFLAGS` `$APXS2 -q CFLAGS` $APR_CFLAGS $APU_CFLAGS"
19977     APXS2_INCLUDE="`$APXS2 -q INCLUDEDIR`"
19978 fi
19979
19980
19981
19982
19983
19984 # Apache 2.2 (mod_shib_22)
19985 #   --enable-apache-22
19986 #   --with-apxs22     (DSO build, the normal way, uses apxs to derive build flags)
19987 #       --with-apr1       (DSO build, APR development package installed separately)
19988 #   --with-apu1       (DSO build, APR-UTIL development package installed separately)
19989
19990 # Check whether --enable-apache-22 was given.
19991 if test "${enable_apache_22+set}" = set; then :
19992   enableval=$enable_apache_22; if test "x$enableval" = "x" ; then
19993          WANT_APACHE_22=yes
19994          else
19995              WANT_APACHE_22="$enableval"
19996          fi
19997
19998 else
19999    WANT_APACHE_22=no
20000 fi
20001
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Apache 2.2 module" >&5
20003 $as_echo_n "checking whether to build Apache 2.2 module... " >&6; }
20004 if test "$WANT_APACHE_22" != yes && test "$WANT_APACHE_22" != no ; then
20005     WANT_APACHE_22=yes
20006 fi
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WANT_APACHE_22" >&5
20008 $as_echo "$WANT_APACHE_22" >&6; }
20009
20010 if test "$WANT_APACHE_22" = "yes" ; then
20011
20012 # Check whether --with-apxs22 was given.
20013 if test "${with_apxs22+set}" = set; then :
20014   withval=$with_apxs22;
20015         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified Apache2.2 apxs name/location" >&5
20016 $as_echo_n "checking for user-specified Apache2.2 apxs name/location... " >&6; }
20017         if test "$withval" != "no" ; then
20018           if test "$withval" != "yes"; then
20019             APXS22=$withval
20020             { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
20021 $as_echo "\"$withval\"" >&6; }
20022           fi
20023         fi
20024
20025 else
20026
20027         # Extract the first word of "apxs2", so it can be a program name with args.
20028 set dummy apxs2; ac_word=$2
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20030 $as_echo_n "checking for $ac_word... " >&6; }
20031 if ${ac_cv_path_APXS22+:} false; then :
20032   $as_echo_n "(cached) " >&6
20033 else
20034   case $APXS22 in
20035   [\\/]* | ?:[\\/]*)
20036   ac_cv_path_APXS22="$APXS22" # Let the user override the test with a path.
20037   ;;
20038   *)
20039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20040 for as_dir in $PATH
20041 do
20042   IFS=$as_save_IFS
20043   test -z "$as_dir" && as_dir=.
20044     for ac_exec_ext in '' $ac_executable_extensions; do
20045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20046     ac_cv_path_APXS22="$as_dir/$ac_word$ac_exec_ext"
20047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20048     break 2
20049   fi
20050 done
20051   done
20052 IFS=$as_save_IFS
20053
20054   test -z "$ac_cv_path_APXS22" && ac_cv_path_APXS22="no"
20055   ;;
20056 esac
20057 fi
20058 APXS22=$ac_cv_path_APXS22
20059 if test -n "$APXS22"; then
20060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
20061 $as_echo "$APXS22" >&6; }
20062 else
20063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20064 $as_echo "no" >&6; }
20065 fi
20066
20067
20068         if test "$APXS22" = "no" ; then
20069             # Extract the first word of "apxs", so it can be a program name with args.
20070 set dummy apxs; ac_word=$2
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20072 $as_echo_n "checking for $ac_word... " >&6; }
20073 if ${ac_cv_path_APXS22+:} false; then :
20074   $as_echo_n "(cached) " >&6
20075 else
20076   case $APXS22 in
20077   [\\/]* | ?:[\\/]*)
20078   ac_cv_path_APXS22="$APXS22" # Let the user override the test with a path.
20079   ;;
20080   *)
20081   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20082 for as_dir in $PATH
20083 do
20084   IFS=$as_save_IFS
20085   test -z "$as_dir" && as_dir=.
20086     for ac_exec_ext in '' $ac_executable_extensions; do
20087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20088     ac_cv_path_APXS22="$as_dir/$ac_word$ac_exec_ext"
20089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20090     break 2
20091   fi
20092 done
20093   done
20094 IFS=$as_save_IFS
20095
20096   test -z "$ac_cv_path_APXS22" && ac_cv_path_APXS22="no"
20097   ;;
20098 esac
20099 fi
20100 APXS22=$ac_cv_path_APXS22
20101 if test -n "$APXS22"; then
20102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
20103 $as_echo "$APXS22" >&6; }
20104 else
20105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20106 $as_echo "no" >&6; }
20107 fi
20108
20109
20110         fi
20111         if test "$APXS22" = "no" ; then
20112           for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
20113             if test "$APXS22" = "no" && test -f "$i/apxs2" ; then
20114               APXS22="$i/apxs2"
20115             fi
20116           done
20117           if test "$APXS22" = "no" ; then
20118             for i in /usr/sbin /usr/local/apache2/bin /usr/local/apache/bin ; do
20119               if test "$APXS22" = "no" && test -f "$i/apxs" ; then
20120                 APXS22="$i/apxs"
20121               fi
20122             done
20123           fi
20124         fi
20125
20126 fi
20127
20128
20129     { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if Apache2.2 apxs was located" >&5
20130 $as_echo_n "checking to see if Apache2.2 apxs was located... " >&6; }
20131     if test ! -f "$APXS22" ; then
20132         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20133 $as_echo "no" >&6; }
20134         as_fn_error $? "Unable to locate Apache2.2 apxs script. An Apache development package may be missing from your server, or you may need to use the --with-apxs22 option." "$LINENO" 5
20135     fi
20136     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS22" >&5
20137 $as_echo "$APXS22" >&6; }
20138
20139
20140     # APR1 settings
20141
20142 # Check whether --with-apr1 was given.
20143 if test "${with_apr1+set}" = set; then :
20144   withval=$with_apr1;
20145         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apr-1-config name/location" >&5
20146 $as_echo_n "checking for user-specified apr-1-config name/location... " >&6; }
20147         if test "$withval" != "no" ; then
20148             if test "$withval" != "yes"; then
20149                 APR1_CONFIG=$withval
20150                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
20151 $as_echo "\"$withval\"" >&6; }
20152             fi
20153         fi
20154
20155 else
20156
20157         # Extract the first word of "apr-1-config", so it can be a program name with args.
20158 set dummy apr-1-config; ac_word=$2
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20160 $as_echo_n "checking for $ac_word... " >&6; }
20161 if ${ac_cv_path_APR1_CONFIG+:} false; then :
20162   $as_echo_n "(cached) " >&6
20163 else
20164   case $APR1_CONFIG in
20165   [\\/]* | ?:[\\/]*)
20166   ac_cv_path_APR1_CONFIG="$APR1_CONFIG" # Let the user override the test with a path.
20167   ;;
20168   *)
20169   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20170 as_dummy="`$APXS22 -q SBINDIR`:$PATH"
20171 for as_dir in $as_dummy
20172 do
20173   IFS=$as_save_IFS
20174   test -z "$as_dir" && as_dir=.
20175     for ac_exec_ext in '' $ac_executable_extensions; do
20176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20177     ac_cv_path_APR1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20179     break 2
20180   fi
20181 done
20182   done
20183 IFS=$as_save_IFS
20184
20185   ;;
20186 esac
20187 fi
20188 APR1_CONFIG=$ac_cv_path_APR1_CONFIG
20189 if test -n "$APR1_CONFIG"; then
20190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR1_CONFIG" >&5
20191 $as_echo "$APR1_CONFIG" >&6; }
20192 else
20193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20194 $as_echo "no" >&6; }
20195 fi
20196
20197
20198
20199 fi
20200
20201         if test -f "${APR1_CONFIG}"; then
20202         APR1_CFLAGS="`${APR1_CONFIG} --cflags` `${APR1_CONFIG} --cppflags` `${APR1_CONFIG} --includes`"
20203     else
20204         as_fn_error $? "Unable to locate apr-1-config, may need --with-apr1 option." "$LINENO" 5
20205     fi
20206
20207     # APU1 settings
20208
20209 # Check whether --with-apu1 was given.
20210 if test "${with_apu1+set}" = set; then :
20211   withval=$with_apu1;
20212         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for user-specified apu-1-config name/location" >&5
20213 $as_echo_n "checking for user-specified apu-1-config name/location... " >&6; }
20214         if test "$withval" != "no" ; then
20215             if test "$withval" != "yes"; then
20216                 APU1_CONFIG=$withval
20217                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
20218 $as_echo "\"$withval\"" >&6; }
20219             fi
20220         fi
20221
20222 else
20223
20224         # Extract the first word of "apu-1-config", so it can be a program name with args.
20225 set dummy apu-1-config; ac_word=$2
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20227 $as_echo_n "checking for $ac_word... " >&6; }
20228 if ${ac_cv_path_APU1_CONFIG+:} false; then :
20229   $as_echo_n "(cached) " >&6
20230 else
20231   case $APU1_CONFIG in
20232   [\\/]* | ?:[\\/]*)
20233   ac_cv_path_APU1_CONFIG="$APU1_CONFIG" # Let the user override the test with a path.
20234   ;;
20235   *)
20236   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20237 as_dummy="`$APXS22 -q SBINDIR`:$PATH"
20238 for as_dir in $as_dummy
20239 do
20240   IFS=$as_save_IFS
20241   test -z "$as_dir" && as_dir=.
20242     for ac_exec_ext in '' $ac_executable_extensions; do
20243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20244     ac_cv_path_APU1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20246     break 2
20247   fi
20248 done
20249   done
20250 IFS=$as_save_IFS
20251
20252   ;;
20253 esac
20254 fi
20255 APU1_CONFIG=$ac_cv_path_APU1_CONFIG
20256 if test -n "$APU1_CONFIG"; then
20257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU1_CONFIG" >&5
20258 $as_echo "$APU1_CONFIG" >&6; }
20259 else
20260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20261 $as_echo "no" >&6; }
20262 fi
20263
20264
20265
20266 fi
20267
20268     if test -f "${APU1_CONFIG}"; then
20269         APU1_CFLAGS="`${APU1_CONFIG} --includes`"
20270     else
20271         as_fn_error $? "Unable to locate apu-1-config, may need --with-apu1 option." "$LINENO" 5
20272     fi
20273
20274     # extract settings we need from APXS22 -q
20275     APXS22_CC="`$APXS22 -q CC`"
20276     APXS22_CFLAGS="`$APXS22 -q CPPFLAGS` `$APXS22 -q CFLAGS` $APR1_CFLAGS $APU1_CFLAGS"
20277     APXS22_INCLUDE="`$APXS22 -q INCLUDEDIR`"
20278 fi
20279
20280
20281
20282
20283 # always output the Makefile, even if you don't use it
20284 ac_config_files="$ac_config_files apache/Makefile"
20285
20286  if test "$WANT_APACHE_13" = "yes"; then
20287   BUILD_AP13_TRUE=
20288   BUILD_AP13_FALSE='#'
20289 else
20290   BUILD_AP13_TRUE='#'
20291   BUILD_AP13_FALSE=
20292 fi
20293
20294  if test "$WANT_APACHE_20" = "yes"; then
20295   BUILD_AP20_TRUE=
20296   BUILD_AP20_FALSE='#'
20297 else
20298   BUILD_AP20_TRUE='#'
20299   BUILD_AP20_FALSE=
20300 fi
20301
20302  if test "$WANT_APACHE_22" = "yes"; then
20303   BUILD_AP22_TRUE=
20304   BUILD_AP22_FALSE='#'
20305 else
20306   BUILD_AP22_TRUE='#'
20307   BUILD_AP22_FALSE=
20308 fi
20309
20310
20311 # add the apache module to the list of wanted subdirs..
20312 if test "$WANT_APACHE_13" = "yes" || test "$WANT_APACHE_20" = "yes" || test "$WANT_APACHE_22" = "yes" ; then
20313     WANT_SUBDIRS="$WANT_SUBDIRS apache"
20314 fi
20315
20316
20317 #
20318 # Implement the checks of the ODBC Storage Service
20319 #
20320 # 1) Assume the user wants ODBC; if it's not found then just continue without
20321 # 2) If the user specifically requested odbc, look for it and ERROR if not found
20322 # 3) If the user specifically requested no odbc, don't build it.
20323 #
20324
20325 ac_config_files="$ac_config_files odbc-store/Makefile"
20326
20327
20328 # determine whether we should enable the odbc ccache
20329 # Check whether --enable-odbc was given.
20330 if test "${enable_odbc+set}" = set; then :
20331   enableval=$enable_odbc; odbc_enabled=$enableval
20332 else
20333   odbc_enabled=default
20334 fi
20335
20336 if test "x$odbc_enabled" = "x" ; then
20337     odbc_enabled=yes
20338 fi
20339
20340 # Are we trying to build ODBC?
20341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the ODBC storage service" >&5
20342 $as_echo_n "checking whether to build the ODBC storage service... " >&6; }
20343 if test "$odbc_enabled" = "yes" ; then
20344     build_odbc=yes
20345     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20346 $as_echo "yes" >&6; }
20347 elif test "$odbc_enabled" = "default" ; then
20348     build_odbc=yes
20349     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, if it can be found" >&5
20350 $as_echo "yes, if it can be found" >&6; }
20351 else
20352     build_odbc=no
20353     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20354 $as_echo "no" >&6; }
20355 fi
20356
20357 # If we're trying to build ODBC, try to find the odbc_config program.
20358 if test "$build_odbc" = "yes" ; then
20359     odbc_dir=""
20360
20361 # Check whether --with-odbc was given.
20362 if test "${with_odbc+set}" = set; then :
20363   withval=$with_odbc; if test "$with_odbc" = no ; then
20364             as_fn_error $? "Try running --disable-odbc instead." "$LINENO" 5
20365          elif test "$with_odbc" != yes ; then
20366             odbc_dir="$with_odbc/bin"
20367             if test "$with_odbc" != /usr ; then
20368                 ODBC_CFLAGS="-I$with_odbc/include"
20369                 ODBC_LIBS="-L$with_odbc/lib"
20370             fi
20371          fi
20372 fi
20373
20374
20375    # Extract the first word of "odbc_config", so it can be a program name with args.
20376 set dummy odbc_config; ac_word=$2
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20378 $as_echo_n "checking for $ac_word... " >&6; }
20379 if ${ac_cv_path_ODBC_CONFIG+:} false; then :
20380   $as_echo_n "(cached) " >&6
20381 else
20382   case $ODBC_CONFIG in
20383   [\\/]* | ?:[\\/]*)
20384   ac_cv_path_ODBC_CONFIG="$ODBC_CONFIG" # Let the user override the test with a path.
20385   ;;
20386   *)
20387   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20388 for as_dir in $odbc_dir $PATH
20389 do
20390   IFS=$as_save_IFS
20391   test -z "$as_dir" && as_dir=.
20392     for ac_exec_ext in '' $ac_executable_extensions; do
20393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20394     ac_cv_path_ODBC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20396     break 2
20397   fi
20398 done
20399   done
20400 IFS=$as_save_IFS
20401
20402   test -z "$ac_cv_path_ODBC_CONFIG" && ac_cv_path_ODBC_CONFIG="no"
20403   ;;
20404 esac
20405 fi
20406 ODBC_CONFIG=$ac_cv_path_ODBC_CONFIG
20407 if test -n "$ODBC_CONFIG"; then
20408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ODBC_CONFIG" >&5
20409 $as_echo "$ODBC_CONFIG" >&6; }
20410 else
20411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20412 $as_echo "no" >&6; }
20413 fi
20414
20415
20416    if test "$ODBC_CONFIG" = no ; then
20417       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find odbc_config, will try to guess settings." >&5
20418 $as_echo "$as_me: WARNING: Cannot find odbc_config, will try to guess settings." >&2;}
20419       ODBC_LIBS="$ODBC_LIBS -lodbc"
20420    else
20421       ODBC_CFLAGS=`$ODBC_CONFIG --cflags`
20422       ODBC_LIBS=`$ODBC_CONFIG --libs`
20423    fi
20424
20425    save_CPPFLAGS="$CPPFLAGS"
20426    CPPFLAGS="$CPPFLAGS $ODBC_CFLAGS"
20427
20428    ac_fn_cxx_check_header_mongrel "$LINENO" "sql.h" "ac_cv_header_sql_h" "$ac_includes_default"
20429 if test "x$ac_cv_header_sql_h" = xyes; then :
20430   have_sql_h=yes
20431 else
20432   have_sql_h=no
20433 fi
20434
20435
20436    if test "$have_sql_h" = no -a "$odbc_enabled" = "yes" ; then
20437      as_fn_error $? "unable to find ODBC header files" "$LINENO" 5
20438    fi
20439
20440    if test "$have_sql_h" = yes ; then
20441       save_LIBS="$LIBS"
20442       LIBS="$LIBS $ODBC_LIBS"
20443       { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can link againt ODBC" >&5
20444 $as_echo_n "checking if we can link againt ODBC... " >&6; }
20445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20446 /* end confdefs.h.  */
20447 #include <sql.h>
20448  #include <sqlext.h>
20449  #include <stdio.h>
20450 int
20451 main ()
20452 {
20453 SQLSetEnvAttr(SQL_NULL_HANDLE, SQL_ATTR_CONNECTION_POOLING, (void*)SQL_CP_ONE_PER_HENV, 0)
20454   ;
20455   return 0;
20456 }
20457 _ACEOF
20458 if ac_fn_cxx_try_link "$LINENO"; then :
20459   have_odbc_libs=yes
20460 else
20461   have_odbc_libs=no
20462 fi
20463 rm -f core conftest.err conftest.$ac_objext \
20464     conftest$ac_exeext conftest.$ac_ext
20465       LIBS="$save_LIBS"
20466       if test "$have_odbc_libs" = no ; then
20467          if test "$odbc_enabled" = "yes" ; then
20468             as_fn_error $? "unable to link with ODBC Library" "$LINENO" 5
20469          else
20470             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, skipping ODBC" >&5
20471 $as_echo "no, skipping ODBC" >&6; }
20472          fi
20473       fi
20474    fi
20475
20476    CPPFLAGS="$save_CPPFLAGS"
20477 fi
20478
20479 # if have_odbc_libs=yes then go ahead with building ODBC
20480 if test "$have_odbc_libs" = yes ; then
20481    # this AC_MSG_RESULT is from above!
20482    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20483 $as_echo "yes" >&6; }
20484    WANT_SUBDIRS="$WANT_SUBDIRS odbc-store"
20485
20486
20487 fi
20488
20489 # GSS-API checking
20490
20491 GSSAPI_ROOT="/usr"
20492
20493 # Check whether --with-gssapi-includes was given.
20494 if test "${with_gssapi_includes+set}" = set; then :
20495   withval=$with_gssapi_includes;  GSSAPI_INCS="-I$withval"
20496     want_gss="yes"
20497
20498 fi
20499
20500
20501
20502 # Check whether --with-gssapi-libs was given.
20503 if test "${with_gssapi_libs+set}" = set; then :
20504   withval=$with_gssapi_libs;  GSSAPI_LIB_DIR="-L$withval"
20505     want_gss="yes"
20506
20507 fi
20508
20509
20510
20511 # Check whether --with-gssapi was given.
20512 if test "${with_gssapi+set}" = set; then :
20513   withval=$with_gssapi;  GSSAPI_ROOT="$withval"
20514   if test x"$GSSAPI_ROOT" != xno; then
20515     want_gss="yes"
20516     if test x"$GSSAPI_ROOT" = xyes; then
20517             GSSAPI_ROOT="/usr"
20518     fi
20519   fi
20520
20521 fi
20522
20523
20524 save_CPPFLAGS="$CPPFLAGS"
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSSAPI support is requested" >&5
20526 $as_echo_n "checking if GSSAPI support is requested... " >&6; }
20527 if test x"$want_gss" = xyes; then
20528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20529 $as_echo "yes" >&6; }
20530
20531   if test -z "$GSSAPI_INCS"; then
20532      if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
20533         GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
20534      elif test "$GSSAPI_ROOT" != "yes"; then
20535         GSSAPI_INCS="-I$GSSAPI_ROOT/include"
20536      fi
20537   fi
20538
20539   CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
20540
20541   ac_fn_cxx_check_header_mongrel "$LINENO" "gss.h" "ac_cv_header_gss_h" "$ac_includes_default"
20542 if test "x$ac_cv_header_gss_h" = xyes; then :
20543
20544
20545 $as_echo "#define HAVE_GSSGNU 1" >>confdefs.h
20546
20547       gnu_gss=yes
20548
20549 else
20550
20551             for ac_header in gssapi/gssapi.h
20552 do :
20553   ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
20554 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes; then :
20555   cat >>confdefs.h <<_ACEOF
20556 #define HAVE_GSSAPI_GSSAPI_H 1
20557 _ACEOF
20558
20559 else
20560   not_mit=1
20561 fi
20562
20563 done
20564
20565       for ac_header in gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
20566 do :
20567   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20568 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
20569 $ac_includes_default
20570 #ifdef HAVE_GSSAPI_GSSAPI_H
20571 #include <gssapi/gssapi.h>
20572 #endif
20573
20574 "
20575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20576   cat >>confdefs.h <<_ACEOF
20577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20578 _ACEOF
20579
20580 else
20581   not_mit=1
20582 fi
20583
20584 done
20585
20586       if test "x$not_mit" = "x1"; then
20587                 ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
20588 if test "x$ac_cv_header_gssapi_h" = xyes; then :
20589
20590
20591 $as_echo "#define HAVE_GSSHEIMDAL 1" >>confdefs.h
20592
20593
20594 else
20595
20596                             want_gss=no
20597               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSSAPI since no header files was found" >&5
20598 $as_echo "$as_me: WARNING: disabling GSSAPI since no header files was found" >&2;}
20599
20600
20601 fi
20602
20603
20604       else
20605
20606 $as_echo "#define HAVE_GSSMIT 1" >>confdefs.h
20607
20608                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE" >&5
20609 $as_echo_n "checking if gssapi headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
20610         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20611 /* end confdefs.h.  */
20612
20613
20614 #include <gssapi/gssapi.h>
20615 #include <gssapi/gssapi_generic.h>
20616 #include <gssapi/gssapi_krb5.h>
20617
20618 int
20619 main ()
20620 {
20621
20622             gss_import_name(
20623                             (OM_uint32 *)0,
20624                             (gss_buffer_t)0,
20625                             GSS_C_NT_HOSTBASED_SERVICE,
20626                             (gss_name_t *)0);
20627
20628   ;
20629   return 0;
20630 }
20631
20632 _ACEOF
20633 if ac_fn_cxx_try_compile "$LINENO"; then :
20634
20635           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20636 $as_echo "yes" >&6; }
20637
20638 else
20639
20640           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20641 $as_echo "no" >&6; }
20642
20643 $as_echo "#define HAVE_OLD_GSSMIT 1" >>confdefs.h
20644
20645
20646 fi
20647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20648       fi
20649
20650
20651 fi
20652
20653
20654 else
20655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20656 $as_echo "no" >&6; }
20657 fi
20658 if test x"$want_gss" = xyes; then
20659
20660 $as_echo "#define HAVE_GSSAPI 1" >>confdefs.h
20661
20662
20663   if test -n "$gnu_gss"; then
20664     LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
20665     LIBS="$LIBS -lgss"
20666   elif test -z "$GSSAPI_LIB_DIR"; then
20667      case $host in
20668      *-*-darwin*)
20669         LIBS="$LIBS -lgssapi_krb5 -lresolv"
20670         ;;
20671      *)
20672         if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
20673                                  gss_libs=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
20674            LIBS="$LIBS $gss_libs"
20675         elif test "$GSSAPI_ROOT" != "yes"; then
20676            LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
20677            LIBS="$LIBS -lgssapi"
20678         else
20679            LIBS="$LIBS -lgssapi"
20680         fi
20681         ;;
20682      esac
20683   else
20684      LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
20685      LIBS="$LIBS -lgssapi"
20686   fi
20687 else
20688   CPPFLAGS="$save_CPPFLAGS"
20689 fi
20690
20691
20692
20693
20694 if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then
20695   echo "=================================================================="
20696   echo "WARNING: You have chosen to compile Apache-1.3 modules with a different"
20697   echo "         compiler than the one used to compile Apache."
20698   echo ""
20699   echo "    Current compiler:      $CC"
20700   echo "   Apache's compiler:      $APXS_CC"
20701   echo ""
20702   echo "This could cause problems."
20703   echo "=================================================================="
20704 fi
20705
20706 if test -n "$APXS2_CC" && test "$APXS2_CC" != "$CC" ; then
20707   echo "=================================================================="
20708   echo "WARNING: You have chosen to compile Apache-2.0 modules with a different"
20709   echo "         compiler than the one used to compile Apache."
20710   echo ""
20711   echo "    Current compiler:      $CC"
20712   echo "   Apache's compiler:      $APXS2_CC"
20713   echo ""
20714   echo "This could cause problems."
20715   echo "=================================================================="
20716 fi
20717
20718 if test -n "$APXS22_CC" && test "$APXS22_CC" != "$CC" ; then
20719   echo "=================================================================="
20720   echo "WARNING: You have chosen to compile Apache-2.2 modules with a different"
20721   echo "         compiler than the one used to compile Apache."
20722   echo ""
20723   echo "    Current compiler:      $CC"
20724   echo "   Apache's compiler:      $APXS22_CC"
20725   echo ""
20726   echo "This could cause problems."
20727   echo "=================================================================="
20728 fi
20729
20730 LIBTOOL="$LIBTOOL --silent"
20731
20732 cat >confcache <<\_ACEOF
20733 # This file is a shell script that caches the results of configure
20734 # tests run on this system so they can be shared between configure
20735 # scripts and configure runs, see configure's option --config-cache.
20736 # It is not useful on other systems.  If it contains results you don't
20737 # want to keep, you may remove or edit it.
20738 #
20739 # config.status only pays attention to the cache file if you give it
20740 # the --recheck option to rerun configure.
20741 #
20742 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20743 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20744 # following values.
20745
20746 _ACEOF
20747
20748 # The following way of writing the cache mishandles newlines in values,
20749 # but we know of no workaround that is simple, portable, and efficient.
20750 # So, we kill variables containing newlines.
20751 # Ultrix sh set writes to stderr and can't be redirected directly,
20752 # and sets the high bit in the cache file unless we assign to the vars.
20753 (
20754   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20755     eval ac_val=\$$ac_var
20756     case $ac_val in #(
20757     *${as_nl}*)
20758       case $ac_var in #(
20759       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20760 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20761       esac
20762       case $ac_var in #(
20763       _ | IFS | as_nl) ;; #(
20764       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20765       *) { eval $ac_var=; unset $ac_var;} ;;
20766       esac ;;
20767     esac
20768   done
20769
20770   (set) 2>&1 |
20771     case $as_nl`(ac_space=' '; set) 2>&1` in #(
20772     *${as_nl}ac_space=\ *)
20773       # `set' does not quote correctly, so add quotes: double-quote
20774       # substitution turns \\\\ into \\, and sed turns \\ into \.
20775       sed -n \
20776         "s/'/'\\\\''/g;
20777           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20778       ;; #(
20779     *)
20780       # `set' quotes correctly as required by POSIX, so do not add quotes.
20781       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20782       ;;
20783     esac |
20784     sort
20785 ) |
20786   sed '
20787      /^ac_cv_env_/b end
20788      t clear
20789      :clear
20790      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20791      t end
20792      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20793      :end' >>confcache
20794 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20795   if test -w "$cache_file"; then
20796     if test "x$cache_file" != "x/dev/null"; then
20797       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20798 $as_echo "$as_me: updating cache $cache_file" >&6;}
20799       if test ! -f "$cache_file" || test -h "$cache_file"; then
20800         cat confcache >"$cache_file"
20801       else
20802         case $cache_file in #(
20803         */* | ?:*)
20804           mv -f confcache "$cache_file"$$ &&
20805           mv -f "$cache_file"$$ "$cache_file" ;; #(
20806         *)
20807           mv -f confcache "$cache_file" ;;
20808         esac
20809       fi
20810     fi
20811   else
20812     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20813 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20814   fi
20815 fi
20816 rm -f confcache
20817
20818 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20819 # Let make expand exec_prefix.
20820 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20821
20822 DEFS=-DHAVE_CONFIG_H
20823
20824 ac_libobjs=
20825 ac_ltlibobjs=
20826 U=
20827 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20828   # 1. Remove the extension, and $U if already installed.
20829   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20830   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20831   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20832   #    will be set to the directory where LIBOBJS objects are built.
20833   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20834   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20835 done
20836 LIBOBJS=$ac_libobjs
20837
20838 LTLIBOBJS=$ac_ltlibobjs
20839
20840
20841  if test -n "$EXEEXT"; then
20842   am__EXEEXT_TRUE=
20843   am__EXEEXT_FALSE='#'
20844 else
20845   am__EXEEXT_TRUE='#'
20846   am__EXEEXT_FALSE=
20847 fi
20848
20849 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20850   as_fn_error $? "conditional \"AMDEP\" was never defined.
20851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20852 fi
20853 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20854   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20856 fi
20857 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
20858   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
20859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20860 fi
20861 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
20862   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
20863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20864 fi
20865 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
20866   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
20867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20868 fi
20869 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
20870   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
20871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20872 fi
20873 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
20874   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
20875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20876 fi
20877 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
20878   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
20879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20880 fi
20881 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
20882   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
20883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20884 fi
20885 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
20886   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
20887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20888 fi
20889 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
20890   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
20891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20892 fi
20893 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
20894   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
20895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20896 fi
20897 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
20898   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
20899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20900 fi
20901 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
20902   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
20903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20904 fi
20905 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
20906   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
20907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20908 fi
20909 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
20910   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
20911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20912 fi
20913 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
20914   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
20915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20916 fi
20917 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
20918   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
20919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20920 fi
20921 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
20922   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
20923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20924 fi
20925 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
20926   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
20927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20928 fi
20929 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
20930   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
20931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20932 fi
20933 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
20934   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
20935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20936 fi
20937 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
20938   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
20939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20940 fi
20941 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
20942   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
20943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20944 fi
20945 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20946   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20948 fi
20949 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20950   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
20951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20952 fi
20953 if test -z "${BUILD_NSAPI_TRUE}" && test -z "${BUILD_NSAPI_FALSE}"; then
20954   as_fn_error $? "conditional \"BUILD_NSAPI\" was never defined.
20955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20956 fi
20957 if test -z "${BUILD_FASTCGI_TRUE}" && test -z "${BUILD_FASTCGI_FALSE}"; then
20958   as_fn_error $? "conditional \"BUILD_FASTCGI\" was never defined.
20959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20960 fi
20961 if test -z "${BUILD_MEMCACHED_TRUE}" && test -z "${BUILD_MEMCACHED_FALSE}"; then
20962   as_fn_error $? "conditional \"BUILD_MEMCACHED\" was never defined.
20963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20964 fi
20965 if test -z "${BUILD_AP13_TRUE}" && test -z "${BUILD_AP13_FALSE}"; then
20966   as_fn_error $? "conditional \"BUILD_AP13\" was never defined.
20967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20968 fi
20969 if test -z "${BUILD_AP20_TRUE}" && test -z "${BUILD_AP20_FALSE}"; then
20970   as_fn_error $? "conditional \"BUILD_AP20\" was never defined.
20971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20972 fi
20973 if test -z "${BUILD_AP22_TRUE}" && test -z "${BUILD_AP22_FALSE}"; then
20974   as_fn_error $? "conditional \"BUILD_AP22\" was never defined.
20975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20976 fi
20977
20978 : "${CONFIG_STATUS=./config.status}"
20979 ac_write_fail=0
20980 ac_clean_files_save=$ac_clean_files
20981 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20983 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20984 as_write_fail=0
20985 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20986 #! $SHELL
20987 # Generated by $as_me.
20988 # Run this file to recreate the current configuration.
20989 # Compiler output produced by configure, useful for debugging
20990 # configure, is in config.log if it exists.
20991
20992 debug=false
20993 ac_cs_recheck=false
20994 ac_cs_silent=false
20995
20996 SHELL=\${CONFIG_SHELL-$SHELL}
20997 export SHELL
20998 _ASEOF
20999 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21000 ## -------------------- ##
21001 ## M4sh Initialization. ##
21002 ## -------------------- ##
21003
21004 # Be more Bourne compatible
21005 DUALCASE=1; export DUALCASE # for MKS sh
21006 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21007   emulate sh
21008   NULLCMD=:
21009   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21010   # is contrary to our usage.  Disable this feature.
21011   alias -g '${1+"$@"}'='"$@"'
21012   setopt NO_GLOB_SUBST
21013 else
21014   case `(set -o) 2>/dev/null` in #(
21015   *posix*) :
21016     set -o posix ;; #(
21017   *) :
21018      ;;
21019 esac
21020 fi
21021
21022
21023 as_nl='
21024 '
21025 export as_nl
21026 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21027 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21028 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21029 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21030 # Prefer a ksh shell builtin over an external printf program on Solaris,
21031 # but without wasting forks for bash or zsh.
21032 if test -z "$BASH_VERSION$ZSH_VERSION" \
21033     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21034   as_echo='print -r --'
21035   as_echo_n='print -rn --'
21036 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21037   as_echo='printf %s\n'
21038   as_echo_n='printf %s'
21039 else
21040   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21041     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21042     as_echo_n='/usr/ucb/echo -n'
21043   else
21044     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21045     as_echo_n_body='eval
21046       arg=$1;
21047       case $arg in #(
21048       *"$as_nl"*)
21049         expr "X$arg" : "X\\(.*\\)$as_nl";
21050         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21051       esac;
21052       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21053     '
21054     export as_echo_n_body
21055     as_echo_n='sh -c $as_echo_n_body as_echo'
21056   fi
21057   export as_echo_body
21058   as_echo='sh -c $as_echo_body as_echo'
21059 fi
21060
21061 # The user is always right.
21062 if test "${PATH_SEPARATOR+set}" != set; then
21063   PATH_SEPARATOR=:
21064   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21065     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21066       PATH_SEPARATOR=';'
21067   }
21068 fi
21069
21070
21071 # IFS
21072 # We need space, tab and new line, in precisely that order.  Quoting is
21073 # there to prevent editors from complaining about space-tab.
21074 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21075 # splitting by setting IFS to empty value.)
21076 IFS=" ""        $as_nl"
21077
21078 # Find who we are.  Look in the path if we contain no directory separator.
21079 as_myself=
21080 case $0 in #((
21081   *[\\/]* ) as_myself=$0 ;;
21082   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21083 for as_dir in $PATH
21084 do
21085   IFS=$as_save_IFS
21086   test -z "$as_dir" && as_dir=.
21087     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21088   done
21089 IFS=$as_save_IFS
21090
21091      ;;
21092 esac
21093 # We did not find ourselves, most probably we were run as `sh COMMAND'
21094 # in which case we are not to be found in the path.
21095 if test "x$as_myself" = x; then
21096   as_myself=$0
21097 fi
21098 if test ! -f "$as_myself"; then
21099   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21100   exit 1
21101 fi
21102
21103 # Unset variables that we do not need and which cause bugs (e.g. in
21104 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
21105 # suppresses any "Segmentation fault" message there.  '((' could
21106 # trigger a bug in pdksh 5.2.14.
21107 for as_var in BASH_ENV ENV MAIL MAILPATH
21108 do eval test x\${$as_var+set} = xset \
21109   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21110 done
21111 PS1='$ '
21112 PS2='> '
21113 PS4='+ '
21114
21115 # NLS nuisances.
21116 LC_ALL=C
21117 export LC_ALL
21118 LANGUAGE=C
21119 export LANGUAGE
21120
21121 # CDPATH.
21122 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21123
21124
21125 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21126 # ----------------------------------------
21127 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21128 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21129 # script with STATUS, using 1 if that was 0.
21130 as_fn_error ()
21131 {
21132   as_status=$1; test $as_status -eq 0 && as_status=1
21133   if test "$4"; then
21134     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21135     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21136   fi
21137   $as_echo "$as_me: error: $2" >&2
21138   as_fn_exit $as_status
21139 } # as_fn_error
21140
21141
21142 # as_fn_set_status STATUS
21143 # -----------------------
21144 # Set $? to STATUS, without forking.
21145 as_fn_set_status ()
21146 {
21147   return $1
21148 } # as_fn_set_status
21149
21150 # as_fn_exit STATUS
21151 # -----------------
21152 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21153 as_fn_exit ()
21154 {
21155   set +e
21156   as_fn_set_status $1
21157   exit $1
21158 } # as_fn_exit
21159
21160 # as_fn_unset VAR
21161 # ---------------
21162 # Portably unset VAR.
21163 as_fn_unset ()
21164 {
21165   { eval $1=; unset $1;}
21166 }
21167 as_unset=as_fn_unset
21168 # as_fn_append VAR VALUE
21169 # ----------------------
21170 # Append the text in VALUE to the end of the definition contained in VAR. Take
21171 # advantage of any shell optimizations that allow amortized linear growth over
21172 # repeated appends, instead of the typical quadratic growth present in naive
21173 # implementations.
21174 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21175   eval 'as_fn_append ()
21176   {
21177     eval $1+=\$2
21178   }'
21179 else
21180   as_fn_append ()
21181   {
21182     eval $1=\$$1\$2
21183   }
21184 fi # as_fn_append
21185
21186 # as_fn_arith ARG...
21187 # ------------------
21188 # Perform arithmetic evaluation on the ARGs, and store the result in the
21189 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21190 # must be portable across $(()) and expr.
21191 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21192   eval 'as_fn_arith ()
21193   {
21194     as_val=$(( $* ))
21195   }'
21196 else
21197   as_fn_arith ()
21198   {
21199     as_val=`expr "$@" || test $? -eq 1`
21200   }
21201 fi # as_fn_arith
21202
21203
21204 if expr a : '\(a\)' >/dev/null 2>&1 &&
21205    test "X`expr 00001 : '.*\(...\)'`" = X001; then
21206   as_expr=expr
21207 else
21208   as_expr=false
21209 fi
21210
21211 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21212   as_basename=basename
21213 else
21214   as_basename=false
21215 fi
21216
21217 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21218   as_dirname=dirname
21219 else
21220   as_dirname=false
21221 fi
21222
21223 as_me=`$as_basename -- "$0" ||
21224 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21225          X"$0" : 'X\(//\)$' \| \
21226          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21227 $as_echo X/"$0" |
21228     sed '/^.*\/\([^/][^/]*\)\/*$/{
21229             s//\1/
21230             q
21231           }
21232           /^X\/\(\/\/\)$/{
21233             s//\1/
21234             q
21235           }
21236           /^X\/\(\/\).*/{
21237             s//\1/
21238             q
21239           }
21240           s/.*/./; q'`
21241
21242 # Avoid depending upon Character Ranges.
21243 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21244 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21245 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21246 as_cr_digits='0123456789'
21247 as_cr_alnum=$as_cr_Letters$as_cr_digits
21248
21249 ECHO_C= ECHO_N= ECHO_T=
21250 case `echo -n x` in #(((((
21251 -n*)
21252   case `echo 'xy\c'` in
21253   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
21254   xy)  ECHO_C='\c';;
21255   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
21256        ECHO_T=' ';;
21257   esac;;
21258 *)
21259   ECHO_N='-n';;
21260 esac
21261
21262 rm -f conf$$ conf$$.exe conf$$.file
21263 if test -d conf$$.dir; then
21264   rm -f conf$$.dir/conf$$.file
21265 else
21266   rm -f conf$$.dir
21267   mkdir conf$$.dir 2>/dev/null
21268 fi
21269 if (echo >conf$$.file) 2>/dev/null; then
21270   if ln -s conf$$.file conf$$ 2>/dev/null; then
21271     as_ln_s='ln -s'
21272     # ... but there are two gotchas:
21273     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21274     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21275     # In both cases, we have to default to `cp -p'.
21276     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21277       as_ln_s='cp -p'
21278   elif ln conf$$.file conf$$ 2>/dev/null; then
21279     as_ln_s=ln
21280   else
21281     as_ln_s='cp -p'
21282   fi
21283 else
21284   as_ln_s='cp -p'
21285 fi
21286 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21287 rmdir conf$$.dir 2>/dev/null
21288
21289
21290 # as_fn_mkdir_p
21291 # -------------
21292 # Create "$as_dir" as a directory, including parents if necessary.
21293 as_fn_mkdir_p ()
21294 {
21295
21296   case $as_dir in #(
21297   -*) as_dir=./$as_dir;;
21298   esac
21299   test -d "$as_dir" || eval $as_mkdir_p || {
21300     as_dirs=
21301     while :; do
21302       case $as_dir in #(
21303       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21304       *) as_qdir=$as_dir;;
21305       esac
21306       as_dirs="'$as_qdir' $as_dirs"
21307       as_dir=`$as_dirname -- "$as_dir" ||
21308 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21309          X"$as_dir" : 'X\(//\)[^/]' \| \
21310          X"$as_dir" : 'X\(//\)$' \| \
21311          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21312 $as_echo X"$as_dir" |
21313     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21314             s//\1/
21315             q
21316           }
21317           /^X\(\/\/\)[^/].*/{
21318             s//\1/
21319             q
21320           }
21321           /^X\(\/\/\)$/{
21322             s//\1/
21323             q
21324           }
21325           /^X\(\/\).*/{
21326             s//\1/
21327             q
21328           }
21329           s/.*/./; q'`
21330       test -d "$as_dir" && break
21331     done
21332     test -z "$as_dirs" || eval "mkdir $as_dirs"
21333   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21334
21335
21336 } # as_fn_mkdir_p
21337 if mkdir -p . 2>/dev/null; then
21338   as_mkdir_p='mkdir -p "$as_dir"'
21339 else
21340   test -d ./-p && rmdir ./-p
21341   as_mkdir_p=false
21342 fi
21343
21344 if test -x / >/dev/null 2>&1; then
21345   as_test_x='test -x'
21346 else
21347   if ls -dL / >/dev/null 2>&1; then
21348     as_ls_L_option=L
21349   else
21350     as_ls_L_option=
21351   fi
21352   as_test_x='
21353     eval sh -c '\''
21354       if test -d "$1"; then
21355         test -d "$1/.";
21356       else
21357         case $1 in #(
21358         -*)set "./$1";;
21359         esac;
21360         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
21361         ???[sx]*):;;*)false;;esac;fi
21362     '\'' sh
21363   '
21364 fi
21365 as_executable_p=$as_test_x
21366
21367 # Sed expression to map a string onto a valid CPP name.
21368 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21369
21370 # Sed expression to map a string onto a valid variable name.
21371 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21372
21373
21374 exec 6>&1
21375 ## ----------------------------------- ##
21376 ## Main body of $CONFIG_STATUS script. ##
21377 ## ----------------------------------- ##
21378 _ASEOF
21379 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21380
21381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21382 # Save the log message, to keep $0 and so on meaningful, and to
21383 # report actual input values of CONFIG_FILES etc. instead of their
21384 # values after options handling.
21385 ac_log="
21386 This file was extended by shibboleth $as_me 2.4, which was
21387 generated by GNU Autoconf 2.68.  Invocation command line was
21388
21389   CONFIG_FILES    = $CONFIG_FILES
21390   CONFIG_HEADERS  = $CONFIG_HEADERS
21391   CONFIG_LINKS    = $CONFIG_LINKS
21392   CONFIG_COMMANDS = $CONFIG_COMMANDS
21393   $ $0 $@
21394
21395 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21396 "
21397
21398 _ACEOF
21399
21400 case $ac_config_files in *"
21401 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21402 esac
21403
21404 case $ac_config_headers in *"
21405 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21406 esac
21407
21408
21409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21410 # Files that config.status was made for.
21411 config_files="$ac_config_files"
21412 config_headers="$ac_config_headers"
21413 config_commands="$ac_config_commands"
21414
21415 _ACEOF
21416
21417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21418 ac_cs_usage="\
21419 \`$as_me' instantiates files and other configuration actions
21420 from templates according to the current configuration.  Unless the files
21421 and actions are specified as TAGs, all are instantiated by default.
21422
21423 Usage: $0 [OPTION]... [TAG]...
21424
21425   -h, --help       print this help, then exit
21426   -V, --version    print version number and configuration settings, then exit
21427       --config     print configuration, then exit
21428   -q, --quiet, --silent
21429                    do not print progress messages
21430   -d, --debug      don't remove temporary files
21431       --recheck    update $as_me by reconfiguring in the same conditions
21432       --file=FILE[:TEMPLATE]
21433                    instantiate the configuration file FILE
21434       --header=FILE[:TEMPLATE]
21435                    instantiate the configuration header FILE
21436
21437 Configuration files:
21438 $config_files
21439
21440 Configuration headers:
21441 $config_headers
21442
21443 Configuration commands:
21444 $config_commands
21445
21446 Report bugs to <https://bugs.internet2.edu/>."
21447
21448 _ACEOF
21449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21450 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21451 ac_cs_version="\\
21452 shibboleth config.status 2.4
21453 configured by $0, generated by GNU Autoconf 2.68,
21454   with options \\"\$ac_cs_config\\"
21455
21456 Copyright (C) 2010 Free Software Foundation, Inc.
21457 This config.status script is free software; the Free Software Foundation
21458 gives unlimited permission to copy, distribute and modify it."
21459
21460 ac_pwd='$ac_pwd'
21461 srcdir='$srcdir'
21462 INSTALL='$INSTALL'
21463 MKDIR_P='$MKDIR_P'
21464 AWK='$AWK'
21465 test -n "\$AWK" || AWK=awk
21466 _ACEOF
21467
21468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21469 # The default lists apply if the user does not specify any file.
21470 ac_need_defaults=:
21471 while test $# != 0
21472 do
21473   case $1 in
21474   --*=?*)
21475     ac_option=`expr "X$1" : 'X\([^=]*\)='`
21476     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21477     ac_shift=:
21478     ;;
21479   --*=)
21480     ac_option=`expr "X$1" : 'X\([^=]*\)='`
21481     ac_optarg=
21482     ac_shift=:
21483     ;;
21484   *)
21485     ac_option=$1
21486     ac_optarg=$2
21487     ac_shift=shift
21488     ;;
21489   esac
21490
21491   case $ac_option in
21492   # Handling of the options.
21493   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21494     ac_cs_recheck=: ;;
21495   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21496     $as_echo "$ac_cs_version"; exit ;;
21497   --config | --confi | --conf | --con | --co | --c )
21498     $as_echo "$ac_cs_config"; exit ;;
21499   --debug | --debu | --deb | --de | --d | -d )
21500     debug=: ;;
21501   --file | --fil | --fi | --f )
21502     $ac_shift
21503     case $ac_optarg in
21504     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21505     '') as_fn_error $? "missing file argument" ;;
21506     esac
21507     as_fn_append CONFIG_FILES " '$ac_optarg'"
21508     ac_need_defaults=false;;
21509   --header | --heade | --head | --hea )
21510     $ac_shift
21511     case $ac_optarg in
21512     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21513     esac
21514     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21515     ac_need_defaults=false;;
21516   --he | --h)
21517     # Conflict between --help and --header
21518     as_fn_error $? "ambiguous option: \`$1'
21519 Try \`$0 --help' for more information.";;
21520   --help | --hel | -h )
21521     $as_echo "$ac_cs_usage"; exit ;;
21522   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21523   | -silent | --silent | --silen | --sile | --sil | --si | --s)
21524     ac_cs_silent=: ;;
21525
21526   # This is an error.
21527   -*) as_fn_error $? "unrecognized option: \`$1'
21528 Try \`$0 --help' for more information." ;;
21529
21530   *) as_fn_append ac_config_targets " $1"
21531      ac_need_defaults=false ;;
21532
21533   esac
21534   shift
21535 done
21536
21537 ac_configure_extra_args=
21538
21539 if $ac_cs_silent; then
21540   exec 6>/dev/null
21541   ac_configure_extra_args="$ac_configure_extra_args --silent"
21542 fi
21543
21544 _ACEOF
21545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21546 if \$ac_cs_recheck; then
21547   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21548   shift
21549   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21550   CONFIG_SHELL='$SHELL'
21551   export CONFIG_SHELL
21552   exec "\$@"
21553 fi
21554
21555 _ACEOF
21556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21557 exec 5>>config.log
21558 {
21559   echo
21560   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21561 ## Running $as_me. ##
21562 _ASBOX
21563   $as_echo "$ac_log"
21564 } >&5
21565
21566 _ACEOF
21567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21568 #
21569 # INIT-COMMANDS
21570 #
21571 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21572
21573
21574 # The HP-UX ksh and POSIX shell print the target directory to stdout
21575 # if CDPATH is set.
21576 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21577
21578 sed_quote_subst='$sed_quote_subst'
21579 double_quote_subst='$double_quote_subst'
21580 delay_variable_subst='$delay_variable_subst'
21581 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21582 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21583 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21584 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21585 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21586 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21587 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21588 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21589 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21590 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21591 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21592 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21593 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21594 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21595 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21596 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21597 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21598 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21599 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21600 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21601 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21602 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21603 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21604 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21605 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21606 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21607 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21608 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21609 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21610 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21611 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21612 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21613 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21614 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21615 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21616 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21617 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21618 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21619 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21620 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21621 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21622 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21623 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21624 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21625 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21626 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21627 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21628 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21629 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21630 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21631 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21632 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21633 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21634 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21635 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21636 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"`'
21637 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21638 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21639 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21640 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21641 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21642 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21643 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21644 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21645 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21646 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21647 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21648 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21649 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21650 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21651 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21652 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21653 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21654 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21655 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21656 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21657 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21658 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21659 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21660 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21661 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21662 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21663 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21664 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21665 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21666 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21667 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21668 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21669 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21670 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21671 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
21672 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21673 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21674 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21675 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21676 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21677 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21678 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21679 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21680 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21681 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21682 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21683 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21684 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21685 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21686 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21687 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21688 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21689 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21690 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21691 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21692 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21693 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21694 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21695 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21696 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21697 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21698 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21699 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21700 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21701 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21702 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21703 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21704 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21705 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21706 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21707 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21708 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21709 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21710 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21711 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21712 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21713 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21714 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21715 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21716 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21717 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21718 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21719 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21720 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21721 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21722 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21723 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21724 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21725 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21726 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21727 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21728 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21729 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21730 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21731 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21732 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21733 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21734 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21735 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21736 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21737 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21738 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21739 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21740 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21741 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21742 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21743 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
21744 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21745 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21746 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21747 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21748 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21749 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21750 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21751 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21752 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21753 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21754 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21755 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21756 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21757 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21758 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21759 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21760 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21761 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21762 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21763 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21764 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21765 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21766
21767 LTCC='$LTCC'
21768 LTCFLAGS='$LTCFLAGS'
21769 compiler='$compiler_DEFAULT'
21770
21771 # A function that is used when there is no print builtin or printf.
21772 func_fallback_echo ()
21773 {
21774   eval 'cat <<_LTECHO_EOF
21775 \$1
21776 _LTECHO_EOF'
21777 }
21778
21779 # Quote evaled strings.
21780 for var in SHELL \
21781 ECHO \
21782 SED \
21783 GREP \
21784 EGREP \
21785 FGREP \
21786 LD \
21787 NM \
21788 LN_S \
21789 lt_SP2NL \
21790 lt_NL2SP \
21791 reload_flag \
21792 OBJDUMP \
21793 deplibs_check_method \
21794 file_magic_cmd \
21795 file_magic_glob \
21796 want_nocaseglob \
21797 DLLTOOL \
21798 sharedlib_from_linklib_cmd \
21799 AR \
21800 AR_FLAGS \
21801 archiver_list_spec \
21802 STRIP \
21803 RANLIB \
21804 CC \
21805 CFLAGS \
21806 compiler \
21807 lt_cv_sys_global_symbol_pipe \
21808 lt_cv_sys_global_symbol_to_cdecl \
21809 lt_cv_sys_global_symbol_to_c_name_address \
21810 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21811 nm_file_list_spec \
21812 lt_prog_compiler_no_builtin_flag \
21813 lt_prog_compiler_pic \
21814 lt_prog_compiler_wl \
21815 lt_prog_compiler_static \
21816 lt_cv_prog_compiler_c_o \
21817 need_locks \
21818 MANIFEST_TOOL \
21819 DSYMUTIL \
21820 NMEDIT \
21821 LIPO \
21822 OTOOL \
21823 OTOOL64 \
21824 shrext_cmds \
21825 export_dynamic_flag_spec \
21826 whole_archive_flag_spec \
21827 compiler_needs_object \
21828 with_gnu_ld \
21829 allow_undefined_flag \
21830 no_undefined_flag \
21831 hardcode_libdir_flag_spec \
21832 hardcode_libdir_flag_spec_ld \
21833 hardcode_libdir_separator \
21834 exclude_expsyms \
21835 include_expsyms \
21836 file_list_spec \
21837 variables_saved_for_relink \
21838 libname_spec \
21839 library_names_spec \
21840 soname_spec \
21841 install_override_mode \
21842 finish_eval \
21843 old_striplib \
21844 striplib \
21845 compiler_lib_search_dirs \
21846 predep_objects \
21847 postdep_objects \
21848 predeps \
21849 postdeps \
21850 compiler_lib_search_path \
21851 LD_CXX \
21852 reload_flag_CXX \
21853 compiler_CXX \
21854 lt_prog_compiler_no_builtin_flag_CXX \
21855 lt_prog_compiler_pic_CXX \
21856 lt_prog_compiler_wl_CXX \
21857 lt_prog_compiler_static_CXX \
21858 lt_cv_prog_compiler_c_o_CXX \
21859 export_dynamic_flag_spec_CXX \
21860 whole_archive_flag_spec_CXX \
21861 compiler_needs_object_CXX \
21862 with_gnu_ld_CXX \
21863 allow_undefined_flag_CXX \
21864 no_undefined_flag_CXX \
21865 hardcode_libdir_flag_spec_CXX \
21866 hardcode_libdir_flag_spec_ld_CXX \
21867 hardcode_libdir_separator_CXX \
21868 exclude_expsyms_CXX \
21869 include_expsyms_CXX \
21870 file_list_spec_CXX \
21871 compiler_lib_search_dirs_CXX \
21872 predep_objects_CXX \
21873 postdep_objects_CXX \
21874 predeps_CXX \
21875 postdeps_CXX \
21876 compiler_lib_search_path_CXX; do
21877     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21878     *[\\\\\\\`\\"\\\$]*)
21879       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21880       ;;
21881     *)
21882       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21883       ;;
21884     esac
21885 done
21886
21887 # Double-quote double-evaled strings.
21888 for var in reload_cmds \
21889 old_postinstall_cmds \
21890 old_postuninstall_cmds \
21891 old_archive_cmds \
21892 extract_expsyms_cmds \
21893 old_archive_from_new_cmds \
21894 old_archive_from_expsyms_cmds \
21895 archive_cmds \
21896 archive_expsym_cmds \
21897 module_cmds \
21898 module_expsym_cmds \
21899 export_symbols_cmds \
21900 prelink_cmds \
21901 postlink_cmds \
21902 postinstall_cmds \
21903 postuninstall_cmds \
21904 finish_cmds \
21905 sys_lib_search_path_spec \
21906 sys_lib_dlsearch_path_spec \
21907 reload_cmds_CXX \
21908 old_archive_cmds_CXX \
21909 old_archive_from_new_cmds_CXX \
21910 old_archive_from_expsyms_cmds_CXX \
21911 archive_cmds_CXX \
21912 archive_expsym_cmds_CXX \
21913 module_cmds_CXX \
21914 module_expsym_cmds_CXX \
21915 export_symbols_cmds_CXX \
21916 prelink_cmds_CXX \
21917 postlink_cmds_CXX; do
21918     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21919     *[\\\\\\\`\\"\\\$]*)
21920       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21921       ;;
21922     *)
21923       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21924       ;;
21925     esac
21926 done
21927
21928 ac_aux_dir='$ac_aux_dir'
21929 xsi_shell='$xsi_shell'
21930 lt_shell_append='$lt_shell_append'
21931
21932 # See if we are running on zsh, and set the options which allow our
21933 # commands through without removal of \ escapes INIT.
21934 if test -n "\${ZSH_VERSION+set}" ; then
21935    setopt NO_GLOB_SUBST
21936 fi
21937
21938
21939     PACKAGE='$PACKAGE'
21940     VERSION='$VERSION'
21941     TIMESTAMP='$TIMESTAMP'
21942     RM='$RM'
21943     ofile='$ofile'
21944
21945
21946
21947
21948
21949
21950 _ACEOF
21951
21952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21953
21954 # Handling of arguments.
21955 for ac_config_target in $ac_config_targets
21956 do
21957   case $ac_config_target in
21958     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21959     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21960     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21961     "shibboleth.spec") CONFIG_FILES="$CONFIG_FILES shibboleth.spec" ;;
21962     "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
21963     "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
21964     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21965     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21966     "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
21967     "configs/Makefile") CONFIG_FILES="$CONFIG_FILES configs/Makefile" ;;
21968     "shibsp/Makefile") CONFIG_FILES="$CONFIG_FILES shibsp/Makefile" ;;
21969     "shibd/Makefile") CONFIG_FILES="$CONFIG_FILES shibd/Makefile" ;;
21970     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
21971     "selinux/Makefile") CONFIG_FILES="$CONFIG_FILES selinux/Makefile" ;;
21972     "adfs/Makefile") CONFIG_FILES="$CONFIG_FILES adfs/Makefile" ;;
21973     "nsapi_shib/Makefile") CONFIG_FILES="$CONFIG_FILES nsapi_shib/Makefile" ;;
21974     "fastcgi/Makefile") CONFIG_FILES="$CONFIG_FILES fastcgi/Makefile" ;;
21975     "memcache-store/Makefile") CONFIG_FILES="$CONFIG_FILES memcache-store/Makefile" ;;
21976     "apache/Makefile") CONFIG_FILES="$CONFIG_FILES apache/Makefile" ;;
21977     "odbc-store/Makefile") CONFIG_FILES="$CONFIG_FILES odbc-store/Makefile" ;;
21978
21979   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21980   esac
21981 done
21982
21983
21984 # If the user did not use the arguments to specify the items to instantiate,
21985 # then the envvar interface is used.  Set only those that are not.
21986 # We use the long form for the default assignment because of an extremely
21987 # bizarre bug on SunOS 4.1.3.
21988 if $ac_need_defaults; then
21989   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21990   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21991   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21992 fi
21993
21994 # Have a temporary directory for convenience.  Make it in the build tree
21995 # simply because there is no reason against having it here, and in addition,
21996 # creating and moving files from /tmp can sometimes cause problems.
21997 # Hook for its removal unless debugging.
21998 # Note that there is a small window in which the directory will not be cleaned:
21999 # after its creation but before its name has been assigned to `$tmp'.
22000 $debug ||
22001 {
22002   tmp= ac_tmp=
22003   trap 'exit_status=$?
22004   : "${ac_tmp:=$tmp}"
22005   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22006 ' 0
22007   trap 'as_fn_exit 1' 1 2 13 15
22008 }
22009 # Create a (secure) tmp directory for tmp files.
22010
22011 {
22012   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22013   test -d "$tmp"
22014 }  ||
22015 {
22016   tmp=./conf$$-$RANDOM
22017   (umask 077 && mkdir "$tmp")
22018 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22019 ac_tmp=$tmp
22020
22021 # Set up the scripts for CONFIG_FILES section.
22022 # No need to generate them if there are no CONFIG_FILES.
22023 # This happens for instance with `./config.status config.h'.
22024 if test -n "$CONFIG_FILES"; then
22025
22026
22027 ac_cr=`echo X | tr X '\015'`
22028 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22029 # But we know of no other shell where ac_cr would be empty at this
22030 # point, so we can use a bashism as a fallback.
22031 if test "x$ac_cr" = x; then
22032   eval ac_cr=\$\'\\r\'
22033 fi
22034 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22035 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22036   ac_cs_awk_cr='\\r'
22037 else
22038   ac_cs_awk_cr=$ac_cr
22039 fi
22040
22041 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22042 _ACEOF
22043
22044
22045 {
22046   echo "cat >conf$$subs.awk <<_ACEOF" &&
22047   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22048   echo "_ACEOF"
22049 } >conf$$subs.sh ||
22050   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22051 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22052 ac_delim='%!_!# '
22053 for ac_last_try in false false false false false :; do
22054   . ./conf$$subs.sh ||
22055     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22056
22057   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22058   if test $ac_delim_n = $ac_delim_num; then
22059     break
22060   elif $ac_last_try; then
22061     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22062   else
22063     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22064   fi
22065 done
22066 rm -f conf$$subs.sh
22067
22068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22069 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22070 _ACEOF
22071 sed -n '
22072 h
22073 s/^/S["/; s/!.*/"]=/
22074 p
22075 g
22076 s/^[^!]*!//
22077 :repl
22078 t repl
22079 s/'"$ac_delim"'$//
22080 t delim
22081 :nl
22082 h
22083 s/\(.\{148\}\)..*/\1/
22084 t more1
22085 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22086 p
22087 n
22088 b repl
22089 :more1
22090 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22091 p
22092 g
22093 s/.\{148\}//
22094 t nl
22095 :delim
22096 h
22097 s/\(.\{148\}\)..*/\1/
22098 t more2
22099 s/["\\]/\\&/g; s/^/"/; s/$/"/
22100 p
22101 b
22102 :more2
22103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22104 p
22105 g
22106 s/.\{148\}//
22107 t delim
22108 ' <conf$$subs.awk | sed '
22109 /^[^""]/{
22110   N
22111   s/\n//
22112 }
22113 ' >>$CONFIG_STATUS || ac_write_fail=1
22114 rm -f conf$$subs.awk
22115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22116 _ACAWK
22117 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22118   for (key in S) S_is_set[key] = 1
22119   FS = "\a"
22120
22121 }
22122 {
22123   line = $ 0
22124   nfields = split(line, field, "@")
22125   substed = 0
22126   len = length(field[1])
22127   for (i = 2; i < nfields; i++) {
22128     key = field[i]
22129     keylen = length(key)
22130     if (S_is_set[key]) {
22131       value = S[key]
22132       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22133       len += length(value) + length(field[++i])
22134       substed = 1
22135     } else
22136       len += 1 + keylen
22137   }
22138
22139   print line
22140 }
22141
22142 _ACAWK
22143 _ACEOF
22144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22145 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22146   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22147 else
22148   cat
22149 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22150   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22151 _ACEOF
22152
22153 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22154 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22155 # trailing colons and then remove the whole line if VPATH becomes empty
22156 # (actually we leave an empty line to preserve line numbers).
22157 if test "x$srcdir" = x.; then
22158   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
22159 h
22160 s///
22161 s/^/:/
22162 s/[      ]*$/:/
22163 s/:\$(srcdir):/:/g
22164 s/:\${srcdir}:/:/g
22165 s/:@srcdir@:/:/g
22166 s/^:*//
22167 s/:*$//
22168 x
22169 s/\(=[   ]*\).*/\1/
22170 G
22171 s/\n//
22172 s/^[^=]*=[       ]*$//
22173 }'
22174 fi
22175
22176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22177 fi # test -n "$CONFIG_FILES"
22178
22179 # Set up the scripts for CONFIG_HEADERS section.
22180 # No need to generate them if there are no CONFIG_HEADERS.
22181 # This happens for instance with `./config.status Makefile'.
22182 if test -n "$CONFIG_HEADERS"; then
22183 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22184 BEGIN {
22185 _ACEOF
22186
22187 # Transform confdefs.h into an awk script `defines.awk', embedded as
22188 # here-document in config.status, that substitutes the proper values into
22189 # config.h.in to produce config.h.
22190
22191 # Create a delimiter string that does not exist in confdefs.h, to ease
22192 # handling of long lines.
22193 ac_delim='%!_!# '
22194 for ac_last_try in false false :; do
22195   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22196   if test -z "$ac_tt"; then
22197     break
22198   elif $ac_last_try; then
22199     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22200   else
22201     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22202   fi
22203 done
22204
22205 # For the awk script, D is an array of macro values keyed by name,
22206 # likewise P contains macro parameters if any.  Preserve backslash
22207 # newline sequences.
22208
22209 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22210 sed -n '
22211 s/.\{148\}/&'"$ac_delim"'/g
22212 t rset
22213 :rset
22214 s/^[     ]*#[    ]*define[       ][      ]*/ /
22215 t def
22216 d
22217 :def
22218 s/\\$//
22219 t bsnl
22220 s/["\\]/\\&/g
22221 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
22222 D["\1"]=" \3"/p
22223 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
22224 d
22225 :bsnl
22226 s/["\\]/\\&/g
22227 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
22228 D["\1"]=" \3\\\\\\n"\\/p
22229 t cont
22230 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22231 t cont
22232 d
22233 :cont
22234 n
22235 s/.\{148\}/&'"$ac_delim"'/g
22236 t clear
22237 :clear
22238 s/\\$//
22239 t bsnlc
22240 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22241 d
22242 :bsnlc
22243 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22244 b cont
22245 ' <confdefs.h | sed '
22246 s/'"$ac_delim"'/"\\\
22247 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22248
22249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22250   for (key in D) D_is_set[key] = 1
22251   FS = "\a"
22252 }
22253 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22254   line = \$ 0
22255   split(line, arg, " ")
22256   if (arg[1] == "#") {
22257     defundef = arg[2]
22258     mac1 = arg[3]
22259   } else {
22260     defundef = substr(arg[1], 2)
22261     mac1 = arg[2]
22262   }
22263   split(mac1, mac2, "(") #)
22264   macro = mac2[1]
22265   prefix = substr(line, 1, index(line, defundef) - 1)
22266   if (D_is_set[macro]) {
22267     # Preserve the white space surrounding the "#".
22268     print prefix "define", macro P[macro] D[macro]
22269     next
22270   } else {
22271     # Replace #undef with comments.  This is necessary, for example,
22272     # in the case of _POSIX_SOURCE, which is predefined and required
22273     # on some systems where configure will not decide to define it.
22274     if (defundef == "undef") {
22275       print "/*", prefix defundef, macro, "*/"
22276       next
22277     }
22278   }
22279 }
22280 { print }
22281 _ACAWK
22282 _ACEOF
22283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22284   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22285 fi # test -n "$CONFIG_HEADERS"
22286
22287
22288 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
22289 shift
22290 for ac_tag
22291 do
22292   case $ac_tag in
22293   :[FHLC]) ac_mode=$ac_tag; continue;;
22294   esac
22295   case $ac_mode$ac_tag in
22296   :[FHL]*:*);;
22297   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22298   :[FH]-) ac_tag=-:-;;
22299   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22300   esac
22301   ac_save_IFS=$IFS
22302   IFS=:
22303   set x $ac_tag
22304   IFS=$ac_save_IFS
22305   shift
22306   ac_file=$1
22307   shift
22308
22309   case $ac_mode in
22310   :L) ac_source=$1;;
22311   :[FH])
22312     ac_file_inputs=
22313     for ac_f
22314     do
22315       case $ac_f in
22316       -) ac_f="$ac_tmp/stdin";;
22317       *) # Look for the file first in the build tree, then in the source tree
22318          # (if the path is not absolute).  The absolute path cannot be DOS-style,
22319          # because $ac_f cannot contain `:'.
22320          test -f "$ac_f" ||
22321            case $ac_f in
22322            [\\/$]*) false;;
22323            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22324            esac ||
22325            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22326       esac
22327       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22328       as_fn_append ac_file_inputs " '$ac_f'"
22329     done
22330
22331     # Let's still pretend it is `configure' which instantiates (i.e., don't
22332     # use $as_me), people would be surprised to read:
22333     #    /* config.h.  Generated by config.status.  */
22334     configure_input='Generated from '`
22335           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22336         `' by configure.'
22337     if test x"$ac_file" != x-; then
22338       configure_input="$ac_file.  $configure_input"
22339       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22340 $as_echo "$as_me: creating $ac_file" >&6;}
22341     fi
22342     # Neutralize special characters interpreted by sed in replacement strings.
22343     case $configure_input in #(
22344     *\&* | *\|* | *\\* )
22345        ac_sed_conf_input=`$as_echo "$configure_input" |
22346        sed 's/[\\\\&|]/\\\\&/g'`;; #(
22347     *) ac_sed_conf_input=$configure_input;;
22348     esac
22349
22350     case $ac_tag in
22351     *:-:* | *:-) cat >"$ac_tmp/stdin" \
22352       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22353     esac
22354     ;;
22355   esac
22356
22357   ac_dir=`$as_dirname -- "$ac_file" ||
22358 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22359          X"$ac_file" : 'X\(//\)[^/]' \| \
22360          X"$ac_file" : 'X\(//\)$' \| \
22361          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22362 $as_echo X"$ac_file" |
22363     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22364             s//\1/
22365             q
22366           }
22367           /^X\(\/\/\)[^/].*/{
22368             s//\1/
22369             q
22370           }
22371           /^X\(\/\/\)$/{
22372             s//\1/
22373             q
22374           }
22375           /^X\(\/\).*/{
22376             s//\1/
22377             q
22378           }
22379           s/.*/./; q'`
22380   as_dir="$ac_dir"; as_fn_mkdir_p
22381   ac_builddir=.
22382
22383 case "$ac_dir" in
22384 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22385 *)
22386   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22387   # A ".." for each directory in $ac_dir_suffix.
22388   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22389   case $ac_top_builddir_sub in
22390   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22391   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22392   esac ;;
22393 esac
22394 ac_abs_top_builddir=$ac_pwd
22395 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22396 # for backward compatibility:
22397 ac_top_builddir=$ac_top_build_prefix
22398
22399 case $srcdir in
22400   .)  # We are building in place.
22401     ac_srcdir=.
22402     ac_top_srcdir=$ac_top_builddir_sub
22403     ac_abs_top_srcdir=$ac_pwd ;;
22404   [\\/]* | ?:[\\/]* )  # Absolute name.
22405     ac_srcdir=$srcdir$ac_dir_suffix;
22406     ac_top_srcdir=$srcdir
22407     ac_abs_top_srcdir=$srcdir ;;
22408   *) # Relative name.
22409     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22410     ac_top_srcdir=$ac_top_build_prefix$srcdir
22411     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22412 esac
22413 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22414
22415
22416   case $ac_mode in
22417   :F)
22418   #
22419   # CONFIG_FILE
22420   #
22421
22422   case $INSTALL in
22423   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22424   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22425   esac
22426   ac_MKDIR_P=$MKDIR_P
22427   case $MKDIR_P in
22428   [\\/$]* | ?:[\\/]* ) ;;
22429   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22430   esac
22431 _ACEOF
22432
22433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22434 # If the template does not know about datarootdir, expand it.
22435 # FIXME: This hack should be removed a few years after 2.60.
22436 ac_datarootdir_hack=; ac_datarootdir_seen=
22437 ac_sed_dataroot='
22438 /datarootdir/ {
22439   p
22440   q
22441 }
22442 /@datadir@/p
22443 /@docdir@/p
22444 /@infodir@/p
22445 /@localedir@/p
22446 /@mandir@/p'
22447 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22448 *datarootdir*) ac_datarootdir_seen=yes;;
22449 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22450   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22451 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22452 _ACEOF
22453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22454   ac_datarootdir_hack='
22455   s&@datadir@&$datadir&g
22456   s&@docdir@&$docdir&g
22457   s&@infodir@&$infodir&g
22458   s&@localedir@&$localedir&g
22459   s&@mandir@&$mandir&g
22460   s&\\\${datarootdir}&$datarootdir&g' ;;
22461 esac
22462 _ACEOF
22463
22464 # Neutralize VPATH when `$srcdir' = `.'.
22465 # Shell code in configure.ac might set extrasub.
22466 # FIXME: do we really want to maintain this feature?
22467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22468 ac_sed_extra="$ac_vpsub
22469 $extrasub
22470 _ACEOF
22471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22472 :t
22473 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22474 s|@configure_input@|$ac_sed_conf_input|;t t
22475 s&@top_builddir@&$ac_top_builddir_sub&;t t
22476 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22477 s&@srcdir@&$ac_srcdir&;t t
22478 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22479 s&@top_srcdir@&$ac_top_srcdir&;t t
22480 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22481 s&@builddir@&$ac_builddir&;t t
22482 s&@abs_builddir@&$ac_abs_builddir&;t t
22483 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22484 s&@INSTALL@&$ac_INSTALL&;t t
22485 s&@MKDIR_P@&$ac_MKDIR_P&;t t
22486 $ac_datarootdir_hack
22487 "
22488 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22489   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22490
22491 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22492   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22493   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
22494       "$ac_tmp/out"`; test -z "$ac_out"; } &&
22495   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22496 which seems to be undefined.  Please make sure it is defined" >&5
22497 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22498 which seems to be undefined.  Please make sure it is defined" >&2;}
22499
22500   rm -f "$ac_tmp/stdin"
22501   case $ac_file in
22502   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22503   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22504   esac \
22505   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22506  ;;
22507   :H)
22508   #
22509   # CONFIG_HEADER
22510   #
22511   if test x"$ac_file" != x-; then
22512     {
22513       $as_echo "/* $configure_input  */" \
22514       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22515     } >"$ac_tmp/config.h" \
22516       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22517     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22518       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22519 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22520     else
22521       rm -f "$ac_file"
22522       mv "$ac_tmp/config.h" "$ac_file" \
22523         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22524     fi
22525   else
22526     $as_echo "/* $configure_input  */" \
22527       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22528       || as_fn_error $? "could not create -" "$LINENO" 5
22529   fi
22530 # Compute "$ac_file"'s index in $config_headers.
22531 _am_arg="$ac_file"
22532 _am_stamp_count=1
22533 for _am_header in $config_headers :; do
22534   case $_am_header in
22535     $_am_arg | $_am_arg:* )
22536       break ;;
22537     * )
22538       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22539   esac
22540 done
22541 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22542 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22543          X"$_am_arg" : 'X\(//\)[^/]' \| \
22544          X"$_am_arg" : 'X\(//\)$' \| \
22545          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22546 $as_echo X"$_am_arg" |
22547     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22548             s//\1/
22549             q
22550           }
22551           /^X\(\/\/\)[^/].*/{
22552             s//\1/
22553             q
22554           }
22555           /^X\(\/\/\)$/{
22556             s//\1/
22557             q
22558           }
22559           /^X\(\/\).*/{
22560             s//\1/
22561             q
22562           }
22563           s/.*/./; q'`/stamp-h$_am_stamp_count
22564  ;;
22565
22566   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22567 $as_echo "$as_me: executing $ac_file commands" >&6;}
22568  ;;
22569   esac
22570
22571
22572   case $ac_file$ac_mode in
22573     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
22574   # Autoconf 2.62 quotes --file arguments for eval, but not when files
22575   # are listed without --file.  Let's play safe and only enable the eval
22576   # if we detect the quoting.
22577   case $CONFIG_FILES in
22578   *\'*) eval set x "$CONFIG_FILES" ;;
22579   *)   set x $CONFIG_FILES ;;
22580   esac
22581   shift
22582   for mf
22583   do
22584     # Strip MF so we end up with the name of the file.
22585     mf=`echo "$mf" | sed -e 's/:.*$//'`
22586     # Check whether this is an Automake generated Makefile or not.
22587     # We used to match only the files named `Makefile.in', but
22588     # some people rename them; so instead we look at the file content.
22589     # Grep'ing the first line is not enough: some people post-process
22590     # each Makefile.in and add a new line on top of each file to say so.
22591     # Grep'ing the whole file is not good either: AIX grep has a line
22592     # limit of 2048, but all sed's we know have understand at least 4000.
22593     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22594       dirpart=`$as_dirname -- "$mf" ||
22595 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22596          X"$mf" : 'X\(//\)[^/]' \| \
22597          X"$mf" : 'X\(//\)$' \| \
22598          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22599 $as_echo X"$mf" |
22600     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22601             s//\1/
22602             q
22603           }
22604           /^X\(\/\/\)[^/].*/{
22605             s//\1/
22606             q
22607           }
22608           /^X\(\/\/\)$/{
22609             s//\1/
22610             q
22611           }
22612           /^X\(\/\).*/{
22613             s//\1/
22614             q
22615           }
22616           s/.*/./; q'`
22617     else
22618       continue
22619     fi
22620     # Extract the definition of DEPDIR, am__include, and am__quote
22621     # from the Makefile without running `make'.
22622     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22623     test -z "$DEPDIR" && continue
22624     am__include=`sed -n 's/^am__include = //p' < "$mf"`
22625     test -z "am__include" && continue
22626     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22627     # When using ansi2knr, U may be empty or an underscore; expand it
22628     U=`sed -n 's/^U = //p' < "$mf"`
22629     # Find all dependency output files, they are included files with
22630     # $(DEPDIR) in their names.  We invoke sed twice because it is the
22631     # simplest approach to changing $(DEPDIR) to its actual value in the
22632     # expansion.
22633     for file in `sed -n "
22634       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22635          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22636       # Make sure the directory exists.
22637       test -f "$dirpart/$file" && continue
22638       fdir=`$as_dirname -- "$file" ||
22639 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22640          X"$file" : 'X\(//\)[^/]' \| \
22641          X"$file" : 'X\(//\)$' \| \
22642          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22643 $as_echo X"$file" |
22644     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22645             s//\1/
22646             q
22647           }
22648           /^X\(\/\/\)[^/].*/{
22649             s//\1/
22650             q
22651           }
22652           /^X\(\/\/\)$/{
22653             s//\1/
22654             q
22655           }
22656           /^X\(\/\).*/{
22657             s//\1/
22658             q
22659           }
22660           s/.*/./; q'`
22661       as_dir=$dirpart/$fdir; as_fn_mkdir_p
22662       # echo "creating $dirpart/$file"
22663       echo '# dummy' > "$dirpart/$file"
22664     done
22665   done
22666 }
22667  ;;
22668     "libtool":C)
22669
22670     # See if we are running on zsh, and set the options which allow our
22671     # commands through without removal of \ escapes.
22672     if test -n "${ZSH_VERSION+set}" ; then
22673       setopt NO_GLOB_SUBST
22674     fi
22675
22676     cfgfile="${ofile}T"
22677     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22678     $RM "$cfgfile"
22679
22680     cat <<_LT_EOF >> "$cfgfile"
22681 #! $SHELL
22682
22683 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22684 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22685 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22686 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22687 #
22688 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22689 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
22690 #                 Inc.
22691 #   Written by Gordon Matzigkeit, 1996
22692 #
22693 #   This file is part of GNU Libtool.
22694 #
22695 # GNU Libtool is free software; you can redistribute it and/or
22696 # modify it under the terms of the GNU General Public License as
22697 # published by the Free Software Foundation; either version 2 of
22698 # the License, or (at your option) any later version.
22699 #
22700 # As a special exception to the GNU General Public License,
22701 # if you distribute this file as part of a program or library that
22702 # is built using GNU Libtool, you may include this file under the
22703 # same distribution terms that you use for the rest of that program.
22704 #
22705 # GNU Libtool is distributed in the hope that it will be useful,
22706 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22707 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22708 # GNU General Public License for more details.
22709 #
22710 # You should have received a copy of the GNU General Public License
22711 # along with GNU Libtool; see the file COPYING.  If not, a copy
22712 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22713 # obtained by writing to the Free Software Foundation, Inc.,
22714 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22715
22716
22717 # The names of the tagged configurations supported by this script.
22718 available_tags="CXX "
22719
22720 # ### BEGIN LIBTOOL CONFIG
22721
22722 # Whether or not to build static libraries.
22723 build_old_libs=$enable_static
22724
22725 # Which release of libtool.m4 was used?
22726 macro_version=$macro_version
22727 macro_revision=$macro_revision
22728
22729 # Whether or not to build shared libraries.
22730 build_libtool_libs=$enable_shared
22731
22732 # What type of objects to build.
22733 pic_mode=$pic_mode
22734
22735 # Whether or not to optimize for fast installation.
22736 fast_install=$enable_fast_install
22737
22738 # Shell to use when invoking shell scripts.
22739 SHELL=$lt_SHELL
22740
22741 # An echo program that protects backslashes.
22742 ECHO=$lt_ECHO
22743
22744 # The host system.
22745 host_alias=$host_alias
22746 host=$host
22747 host_os=$host_os
22748
22749 # The build system.
22750 build_alias=$build_alias
22751 build=$build
22752 build_os=$build_os
22753
22754 # A sed program that does not truncate output.
22755 SED=$lt_SED
22756
22757 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22758 Xsed="\$SED -e 1s/^X//"
22759
22760 # A grep program that handles long lines.
22761 GREP=$lt_GREP
22762
22763 # An ERE matcher.
22764 EGREP=$lt_EGREP
22765
22766 # A literal string matcher.
22767 FGREP=$lt_FGREP
22768
22769 # A BSD- or MS-compatible name lister.
22770 NM=$lt_NM
22771
22772 # Whether we need soft or hard links.
22773 LN_S=$lt_LN_S
22774
22775 # What is the maximum length of a command?
22776 max_cmd_len=$max_cmd_len
22777
22778 # Object file suffix (normally "o").
22779 objext=$ac_objext
22780
22781 # Executable file suffix (normally "").
22782 exeext=$exeext
22783
22784 # whether the shell understands "unset".
22785 lt_unset=$lt_unset
22786
22787 # turn spaces into newlines.
22788 SP2NL=$lt_lt_SP2NL
22789
22790 # turn newlines into spaces.
22791 NL2SP=$lt_lt_NL2SP
22792
22793 # convert \$build file names to \$host format.
22794 to_host_file_cmd=$lt_cv_to_host_file_cmd
22795
22796 # convert \$build files to toolchain format.
22797 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22798
22799 # An object symbol dumper.
22800 OBJDUMP=$lt_OBJDUMP
22801
22802 # Method to check whether dependent libraries are shared objects.
22803 deplibs_check_method=$lt_deplibs_check_method
22804
22805 # Command to use when deplibs_check_method = "file_magic".
22806 file_magic_cmd=$lt_file_magic_cmd
22807
22808 # How to find potential files when deplibs_check_method = "file_magic".
22809 file_magic_glob=$lt_file_magic_glob
22810
22811 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22812 want_nocaseglob=$lt_want_nocaseglob
22813
22814 # DLL creation program.
22815 DLLTOOL=$lt_DLLTOOL
22816
22817 # Command to associate shared and link libraries.
22818 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22819
22820 # The archiver.
22821 AR=$lt_AR
22822
22823 # Flags to create an archive.
22824 AR_FLAGS=$lt_AR_FLAGS
22825
22826 # How to feed a file listing to the archiver.
22827 archiver_list_spec=$lt_archiver_list_spec
22828
22829 # A symbol stripping program.
22830 STRIP=$lt_STRIP
22831
22832 # Commands used to install an old-style archive.
22833 RANLIB=$lt_RANLIB
22834 old_postinstall_cmds=$lt_old_postinstall_cmds
22835 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22836
22837 # Whether to use a lock for old archive extraction.
22838 lock_old_archive_extraction=$lock_old_archive_extraction
22839
22840 # A C compiler.
22841 LTCC=$lt_CC
22842
22843 # LTCC compiler flags.
22844 LTCFLAGS=$lt_CFLAGS
22845
22846 # Take the output of nm and produce a listing of raw symbols and C names.
22847 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22848
22849 # Transform the output of nm in a proper C declaration.
22850 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22851
22852 # Transform the output of nm in a C name address pair.
22853 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22854
22855 # Transform the output of nm in a C name address pair when lib prefix is needed.
22856 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22857
22858 # Specify filename containing input files for \$NM.
22859 nm_file_list_spec=$lt_nm_file_list_spec
22860
22861 # The root where to search for dependent libraries,and in which our libraries should be installed.
22862 lt_sysroot=$lt_sysroot
22863
22864 # The name of the directory that contains temporary libtool files.
22865 objdir=$objdir
22866
22867 # Used to examine libraries when file_magic_cmd begins with "file".
22868 MAGIC_CMD=$MAGIC_CMD
22869
22870 # Must we lock files when doing compilation?
22871 need_locks=$lt_need_locks
22872
22873 # Manifest tool.
22874 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22875
22876 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22877 DSYMUTIL=$lt_DSYMUTIL
22878
22879 # Tool to change global to local symbols on Mac OS X.
22880 NMEDIT=$lt_NMEDIT
22881
22882 # Tool to manipulate fat objects and archives on Mac OS X.
22883 LIPO=$lt_LIPO
22884
22885 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22886 OTOOL=$lt_OTOOL
22887
22888 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22889 OTOOL64=$lt_OTOOL64
22890
22891 # Old archive suffix (normally "a").
22892 libext=$libext
22893
22894 # Shared library suffix (normally ".so").
22895 shrext_cmds=$lt_shrext_cmds
22896
22897 # The commands to extract the exported symbol list from a shared archive.
22898 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22899
22900 # Variables whose values should be saved in libtool wrapper scripts and
22901 # restored at link time.
22902 variables_saved_for_relink=$lt_variables_saved_for_relink
22903
22904 # Do we need the "lib" prefix for modules?
22905 need_lib_prefix=$need_lib_prefix
22906
22907 # Do we need a version for libraries?
22908 need_version=$need_version
22909
22910 # Library versioning type.
22911 version_type=$version_type
22912
22913 # Shared library runtime path variable.
22914 runpath_var=$runpath_var
22915
22916 # Shared library path variable.
22917 shlibpath_var=$shlibpath_var
22918
22919 # Is shlibpath searched before the hard-coded library search path?
22920 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22921
22922 # Format of library name prefix.
22923 libname_spec=$lt_libname_spec
22924
22925 # List of archive names.  First name is the real one, the rest are links.
22926 # The last name is the one that the linker finds with -lNAME
22927 library_names_spec=$lt_library_names_spec
22928
22929 # The coded name of the library, if different from the real name.
22930 soname_spec=$lt_soname_spec
22931
22932 # Permission mode override for installation of shared libraries.
22933 install_override_mode=$lt_install_override_mode
22934
22935 # Command to use after installation of a shared archive.
22936 postinstall_cmds=$lt_postinstall_cmds
22937
22938 # Command to use after uninstallation of a shared archive.
22939 postuninstall_cmds=$lt_postuninstall_cmds
22940
22941 # Commands used to finish a libtool library installation in a directory.
22942 finish_cmds=$lt_finish_cmds
22943
22944 # As "finish_cmds", except a single script fragment to be evaled but
22945 # not shown.
22946 finish_eval=$lt_finish_eval
22947
22948 # Whether we should hardcode library paths into libraries.
22949 hardcode_into_libs=$hardcode_into_libs
22950
22951 # Compile-time system search path for libraries.
22952 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22953
22954 # Run-time system search path for libraries.
22955 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22956
22957 # Whether dlopen is supported.
22958 dlopen_support=$enable_dlopen
22959
22960 # Whether dlopen of programs is supported.
22961 dlopen_self=$enable_dlopen_self
22962
22963 # Whether dlopen of statically linked programs is supported.
22964 dlopen_self_static=$enable_dlopen_self_static
22965
22966 # Commands to strip libraries.
22967 old_striplib=$lt_old_striplib
22968 striplib=$lt_striplib
22969
22970
22971 # The linker used to build libraries.
22972 LD=$lt_LD
22973
22974 # How to create reloadable object files.
22975 reload_flag=$lt_reload_flag
22976 reload_cmds=$lt_reload_cmds
22977
22978 # Commands used to build an old-style archive.
22979 old_archive_cmds=$lt_old_archive_cmds
22980
22981 # A language specific compiler.
22982 CC=$lt_compiler
22983
22984 # Is the compiler the GNU compiler?
22985 with_gcc=$GCC
22986
22987 # Compiler flag to turn off builtin functions.
22988 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22989
22990 # Additional compiler flags for building library objects.
22991 pic_flag=$lt_lt_prog_compiler_pic
22992
22993 # How to pass a linker flag through the compiler.
22994 wl=$lt_lt_prog_compiler_wl
22995
22996 # Compiler flag to prevent dynamic linking.
22997 link_static_flag=$lt_lt_prog_compiler_static
22998
22999 # Does compiler simultaneously support -c and -o options?
23000 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23001
23002 # Whether or not to add -lc for building shared libraries.
23003 build_libtool_need_lc=$archive_cmds_need_lc
23004
23005 # Whether or not to disallow shared libs when runtime libs are static.
23006 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23007
23008 # Compiler flag to allow reflexive dlopens.
23009 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23010
23011 # Compiler flag to generate shared objects directly from archives.
23012 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23013
23014 # Whether the compiler copes with passing no objects directly.
23015 compiler_needs_object=$lt_compiler_needs_object
23016
23017 # Create an old-style archive from a shared archive.
23018 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23019
23020 # Create a temporary old-style archive to link instead of a shared archive.
23021 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23022
23023 # Commands used to build a shared archive.
23024 archive_cmds=$lt_archive_cmds
23025 archive_expsym_cmds=$lt_archive_expsym_cmds
23026
23027 # Commands used to build a loadable module if different from building
23028 # a shared archive.
23029 module_cmds=$lt_module_cmds
23030 module_expsym_cmds=$lt_module_expsym_cmds
23031
23032 # Whether we are building with GNU ld or not.
23033 with_gnu_ld=$lt_with_gnu_ld
23034
23035 # Flag that allows shared libraries with undefined symbols to be built.
23036 allow_undefined_flag=$lt_allow_undefined_flag
23037
23038 # Flag that enforces no undefined symbols.
23039 no_undefined_flag=$lt_no_undefined_flag
23040
23041 # Flag to hardcode \$libdir into a binary during linking.
23042 # This must work even if \$libdir does not exist
23043 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23044
23045 # If ld is used when linking, flag to hardcode \$libdir into a binary
23046 # during linking.  This must work even if \$libdir does not exist.
23047 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
23048
23049 # Whether we need a single "-rpath" flag with a separated argument.
23050 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23051
23052 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23053 # DIR into the resulting binary.
23054 hardcode_direct=$hardcode_direct
23055
23056 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23057 # DIR into the resulting binary and the resulting library dependency is
23058 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23059 # library is relocated.
23060 hardcode_direct_absolute=$hardcode_direct_absolute
23061
23062 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23063 # into the resulting binary.
23064 hardcode_minus_L=$hardcode_minus_L
23065
23066 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23067 # into the resulting binary.
23068 hardcode_shlibpath_var=$hardcode_shlibpath_var
23069
23070 # Set to "yes" if building a shared library automatically hardcodes DIR
23071 # into the library and all subsequent libraries and executables linked
23072 # against it.
23073 hardcode_automatic=$hardcode_automatic
23074
23075 # Set to yes if linker adds runtime paths of dependent libraries
23076 # to runtime path list.
23077 inherit_rpath=$inherit_rpath
23078
23079 # Whether libtool must link a program against all its dependency libraries.
23080 link_all_deplibs=$link_all_deplibs
23081
23082 # Set to "yes" if exported symbols are required.
23083 always_export_symbols=$always_export_symbols
23084
23085 # The commands to list exported symbols.
23086 export_symbols_cmds=$lt_export_symbols_cmds
23087
23088 # Symbols that should not be listed in the preloaded symbols.
23089 exclude_expsyms=$lt_exclude_expsyms
23090
23091 # Symbols that must always be exported.
23092 include_expsyms=$lt_include_expsyms
23093
23094 # Commands necessary for linking programs (against libraries) with templates.
23095 prelink_cmds=$lt_prelink_cmds
23096
23097 # Commands necessary for finishing linking programs.
23098 postlink_cmds=$lt_postlink_cmds
23099
23100 # Specify filename containing input files.
23101 file_list_spec=$lt_file_list_spec
23102
23103 # How to hardcode a shared library path into an executable.
23104 hardcode_action=$hardcode_action
23105
23106 # The directories searched by this compiler when creating a shared library.
23107 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23108
23109 # Dependencies to place before and after the objects being linked to
23110 # create a shared library.
23111 predep_objects=$lt_predep_objects
23112 postdep_objects=$lt_postdep_objects
23113 predeps=$lt_predeps
23114 postdeps=$lt_postdeps
23115
23116 # The library search path used internally by the compiler when linking
23117 # a shared library.
23118 compiler_lib_search_path=$lt_compiler_lib_search_path
23119
23120 # ### END LIBTOOL CONFIG
23121
23122 _LT_EOF
23123
23124   case $host_os in
23125   aix3*)
23126     cat <<\_LT_EOF >> "$cfgfile"
23127 # AIX sometimes has problems with the GCC collect2 program.  For some
23128 # reason, if we set the COLLECT_NAMES environment variable, the problems
23129 # vanish in a puff of smoke.
23130 if test "X${COLLECT_NAMES+set}" != Xset; then
23131   COLLECT_NAMES=
23132   export COLLECT_NAMES
23133 fi
23134 _LT_EOF
23135     ;;
23136   esac
23137
23138
23139 ltmain="$ac_aux_dir/ltmain.sh"
23140
23141
23142   # We use sed instead of cat because bash on DJGPP gets confused if
23143   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
23144   # text mode, it properly converts lines to CR/LF.  This bash problem
23145   # is reportedly fixed, but why not run on old versions too?
23146   sed '$q' "$ltmain" >> "$cfgfile" \
23147      || (rm -f "$cfgfile"; exit 1)
23148
23149   if test x"$xsi_shell" = xyes; then
23150   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23151 func_dirname ()\
23152 {\
23153 \    case ${1} in\
23154 \      */*) func_dirname_result="${1%/*}${2}" ;;\
23155 \      *  ) func_dirname_result="${3}" ;;\
23156 \    esac\
23157 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23158   && mv -f "$cfgfile.tmp" "$cfgfile" \
23159     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23160 test 0 -eq $? || _lt_function_replace_fail=:
23161
23162
23163   sed -e '/^func_basename ()$/,/^} # func_basename /c\
23164 func_basename ()\
23165 {\
23166 \    func_basename_result="${1##*/}"\
23167 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23168   && mv -f "$cfgfile.tmp" "$cfgfile" \
23169     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23170 test 0 -eq $? || _lt_function_replace_fail=:
23171
23172
23173   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23174 func_dirname_and_basename ()\
23175 {\
23176 \    case ${1} in\
23177 \      */*) func_dirname_result="${1%/*}${2}" ;;\
23178 \      *  ) func_dirname_result="${3}" ;;\
23179 \    esac\
23180 \    func_basename_result="${1##*/}"\
23181 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23182   && mv -f "$cfgfile.tmp" "$cfgfile" \
23183     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23184 test 0 -eq $? || _lt_function_replace_fail=:
23185
23186
23187   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23188 func_stripname ()\
23189 {\
23190 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23191 \    # positional parameters, so assign one to ordinary parameter first.\
23192 \    func_stripname_result=${3}\
23193 \    func_stripname_result=${func_stripname_result#"${1}"}\
23194 \    func_stripname_result=${func_stripname_result%"${2}"}\
23195 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23196   && mv -f "$cfgfile.tmp" "$cfgfile" \
23197     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23198 test 0 -eq $? || _lt_function_replace_fail=:
23199
23200
23201   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23202 func_split_long_opt ()\
23203 {\
23204 \    func_split_long_opt_name=${1%%=*}\
23205 \    func_split_long_opt_arg=${1#*=}\
23206 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23207   && mv -f "$cfgfile.tmp" "$cfgfile" \
23208     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23209 test 0 -eq $? || _lt_function_replace_fail=:
23210
23211
23212   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23213 func_split_short_opt ()\
23214 {\
23215 \    func_split_short_opt_arg=${1#??}\
23216 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23217 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23218   && mv -f "$cfgfile.tmp" "$cfgfile" \
23219     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23220 test 0 -eq $? || _lt_function_replace_fail=:
23221
23222
23223   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23224 func_lo2o ()\
23225 {\
23226 \    case ${1} in\
23227 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23228 \      *)    func_lo2o_result=${1} ;;\
23229 \    esac\
23230 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23231   && mv -f "$cfgfile.tmp" "$cfgfile" \
23232     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23233 test 0 -eq $? || _lt_function_replace_fail=:
23234
23235
23236   sed -e '/^func_xform ()$/,/^} # func_xform /c\
23237 func_xform ()\
23238 {\
23239     func_xform_result=${1%.*}.lo\
23240 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23241   && mv -f "$cfgfile.tmp" "$cfgfile" \
23242     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23243 test 0 -eq $? || _lt_function_replace_fail=:
23244
23245
23246   sed -e '/^func_arith ()$/,/^} # func_arith /c\
23247 func_arith ()\
23248 {\
23249     func_arith_result=$(( $* ))\
23250 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23251   && mv -f "$cfgfile.tmp" "$cfgfile" \
23252     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23253 test 0 -eq $? || _lt_function_replace_fail=:
23254
23255
23256   sed -e '/^func_len ()$/,/^} # func_len /c\
23257 func_len ()\
23258 {\
23259     func_len_result=${#1}\
23260 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23261   && mv -f "$cfgfile.tmp" "$cfgfile" \
23262     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23263 test 0 -eq $? || _lt_function_replace_fail=:
23264
23265 fi
23266
23267 if test x"$lt_shell_append" = xyes; then
23268   sed -e '/^func_append ()$/,/^} # func_append /c\
23269 func_append ()\
23270 {\
23271     eval "${1}+=\\${2}"\
23272 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23273   && mv -f "$cfgfile.tmp" "$cfgfile" \
23274     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23275 test 0 -eq $? || _lt_function_replace_fail=:
23276
23277
23278   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23279 func_append_quoted ()\
23280 {\
23281 \    func_quote_for_eval "${2}"\
23282 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23283 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23284   && mv -f "$cfgfile.tmp" "$cfgfile" \
23285     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23286 test 0 -eq $? || _lt_function_replace_fail=:
23287
23288
23289   # Save a `func_append' function call where possible by direct use of '+='
23290   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23291     && mv -f "$cfgfile.tmp" "$cfgfile" \
23292       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23293   test 0 -eq $? || _lt_function_replace_fail=:
23294 else
23295   # Save a `func_append' function call even when '+=' is not available
23296   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23297     && mv -f "$cfgfile.tmp" "$cfgfile" \
23298       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23299   test 0 -eq $? || _lt_function_replace_fail=:
23300 fi
23301
23302 if test x"$_lt_function_replace_fail" = x":"; then
23303   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23304 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23305 fi
23306
23307
23308    mv -f "$cfgfile" "$ofile" ||
23309     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23310   chmod +x "$ofile"
23311
23312
23313     cat <<_LT_EOF >> "$ofile"
23314
23315 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23316
23317 # The linker used to build libraries.
23318 LD=$lt_LD_CXX
23319
23320 # How to create reloadable object files.
23321 reload_flag=$lt_reload_flag_CXX
23322 reload_cmds=$lt_reload_cmds_CXX
23323
23324 # Commands used to build an old-style archive.
23325 old_archive_cmds=$lt_old_archive_cmds_CXX
23326
23327 # A language specific compiler.
23328 CC=$lt_compiler_CXX
23329
23330 # Is the compiler the GNU compiler?
23331 with_gcc=$GCC_CXX
23332
23333 # Compiler flag to turn off builtin functions.
23334 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23335
23336 # Additional compiler flags for building library objects.
23337 pic_flag=$lt_lt_prog_compiler_pic_CXX
23338
23339 # How to pass a linker flag through the compiler.
23340 wl=$lt_lt_prog_compiler_wl_CXX
23341
23342 # Compiler flag to prevent dynamic linking.
23343 link_static_flag=$lt_lt_prog_compiler_static_CXX
23344
23345 # Does compiler simultaneously support -c and -o options?
23346 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23347
23348 # Whether or not to add -lc for building shared libraries.
23349 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23350
23351 # Whether or not to disallow shared libs when runtime libs are static.
23352 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23353
23354 # Compiler flag to allow reflexive dlopens.
23355 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23356
23357 # Compiler flag to generate shared objects directly from archives.
23358 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23359
23360 # Whether the compiler copes with passing no objects directly.
23361 compiler_needs_object=$lt_compiler_needs_object_CXX
23362
23363 # Create an old-style archive from a shared archive.
23364 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23365
23366 # Create a temporary old-style archive to link instead of a shared archive.
23367 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23368
23369 # Commands used to build a shared archive.
23370 archive_cmds=$lt_archive_cmds_CXX
23371 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23372
23373 # Commands used to build a loadable module if different from building
23374 # a shared archive.
23375 module_cmds=$lt_module_cmds_CXX
23376 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23377
23378 # Whether we are building with GNU ld or not.
23379 with_gnu_ld=$lt_with_gnu_ld_CXX
23380
23381 # Flag that allows shared libraries with undefined symbols to be built.
23382 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23383
23384 # Flag that enforces no undefined symbols.
23385 no_undefined_flag=$lt_no_undefined_flag_CXX
23386
23387 # Flag to hardcode \$libdir into a binary during linking.
23388 # This must work even if \$libdir does not exist
23389 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23390
23391 # If ld is used when linking, flag to hardcode \$libdir into a binary
23392 # during linking.  This must work even if \$libdir does not exist.
23393 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
23394
23395 # Whether we need a single "-rpath" flag with a separated argument.
23396 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23397
23398 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23399 # DIR into the resulting binary.
23400 hardcode_direct=$hardcode_direct_CXX
23401
23402 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23403 # DIR into the resulting binary and the resulting library dependency is
23404 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23405 # library is relocated.
23406 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23407
23408 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23409 # into the resulting binary.
23410 hardcode_minus_L=$hardcode_minus_L_CXX
23411
23412 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23413 # into the resulting binary.
23414 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23415
23416 # Set to "yes" if building a shared library automatically hardcodes DIR
23417 # into the library and all subsequent libraries and executables linked
23418 # against it.
23419 hardcode_automatic=$hardcode_automatic_CXX
23420
23421 # Set to yes if linker adds runtime paths of dependent libraries
23422 # to runtime path list.
23423 inherit_rpath=$inherit_rpath_CXX
23424
23425 # Whether libtool must link a program against all its dependency libraries.
23426 link_all_deplibs=$link_all_deplibs_CXX
23427
23428 # Set to "yes" if exported symbols are required.
23429 always_export_symbols=$always_export_symbols_CXX
23430
23431 # The commands to list exported symbols.
23432 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23433
23434 # Symbols that should not be listed in the preloaded symbols.
23435 exclude_expsyms=$lt_exclude_expsyms_CXX
23436
23437 # Symbols that must always be exported.
23438 include_expsyms=$lt_include_expsyms_CXX
23439
23440 # Commands necessary for linking programs (against libraries) with templates.
23441 prelink_cmds=$lt_prelink_cmds_CXX
23442
23443 # Commands necessary for finishing linking programs.
23444 postlink_cmds=$lt_postlink_cmds_CXX
23445
23446 # Specify filename containing input files.
23447 file_list_spec=$lt_file_list_spec_CXX
23448
23449 # How to hardcode a shared library path into an executable.
23450 hardcode_action=$hardcode_action_CXX
23451
23452 # The directories searched by this compiler when creating a shared library.
23453 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23454
23455 # Dependencies to place before and after the objects being linked to
23456 # create a shared library.
23457 predep_objects=$lt_predep_objects_CXX
23458 postdep_objects=$lt_postdep_objects_CXX
23459 predeps=$lt_predeps_CXX
23460 postdeps=$lt_postdeps_CXX
23461
23462 # The library search path used internally by the compiler when linking
23463 # a shared library.
23464 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23465
23466 # ### END LIBTOOL TAG CONFIG: CXX
23467 _LT_EOF
23468
23469  ;;
23470
23471   esac
23472 done # for ac_tag
23473
23474
23475 as_fn_exit 0
23476 _ACEOF
23477 ac_clean_files=$ac_clean_files_save
23478
23479 test $ac_write_fail = 0 ||
23480   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23481
23482
23483 # configure is writing to config.log, and then calls config.status.
23484 # config.status does its own redirection, appending to config.log.
23485 # Unfortunately, on DOS this fails, as config.log is still kept open
23486 # by configure, so config.status won't be able to write to it; its
23487 # output is simply discarded.  So we exec the FD to /dev/null,
23488 # effectively closing config.log, so it can be properly (re)opened and
23489 # appended to by config.status.  When coming back to configure, we
23490 # need to make the FD available again.
23491 if test "$no_create" != yes; then
23492   ac_cs_success=:
23493   ac_config_status_args=
23494   test "$silent" = yes &&
23495     ac_config_status_args="$ac_config_status_args --quiet"
23496   exec 5>/dev/null
23497   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23498   exec 5>>config.log
23499   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23500   # would make configure fail if this is the last instruction.
23501   $ac_cs_success || as_fn_exit 1
23502 fi
23503 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23504   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23505 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23506 fi
23507