remove packaging files removed upstream
[shibboleth/opensaml2.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for opensaml 2.5.
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 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
177   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     PATH=/empty FPATH=/empty; export PATH FPATH
182     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
184 test \$(( 1 + 1 )) = 2 || exit 1"
185   if (eval "$as_required") 2>/dev/null; then :
186   as_have_required=yes
187 else
188   as_have_required=no
189 fi
190   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
191
192 else
193   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 as_found=false
195 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
196 do
197   IFS=$as_save_IFS
198   test -z "$as_dir" && as_dir=.
199   as_found=:
200   case $as_dir in #(
201          /*)
202            for as_base in sh bash ksh sh5; do
203              # Try only shells that exist, to save several forks.
204              as_shell=$as_dir/$as_base
205              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
206                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
207   CONFIG_SHELL=$as_shell as_have_required=yes
208                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209   break 2
210 fi
211 fi
212            done;;
213        esac
214   as_found=false
215 done
216 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
217               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
218   CONFIG_SHELL=$SHELL as_have_required=yes
219 fi; }
220 IFS=$as_save_IFS
221
222
223       if test "x$CONFIG_SHELL" != x; then :
224   # We cannot yet assume a decent shell, so we have to provide a
225         # neutralization value for shells without unset; and this also
226         # works around shells that cannot unset nonexistent variables.
227         BASH_ENV=/dev/null
228         ENV=/dev/null
229         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230         export CONFIG_SHELL
231         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232 fi
233
234     if test x$as_have_required = xno; then :
235   $as_echo "$0: This script requires a shell more modern than all"
236   $as_echo "$0: the shells that I found on your system."
237   if test x${ZSH_VERSION+set} = xset ; then
238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240   else
241     $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: https://bugs.internet2.edu/ about your system,
243 $0: including any error possibly output before this
244 $0: message. Then install a modern shell, or manually run
245 $0: the script under such a shell if you do have one."
246   fi
247   exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
256
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
264 {
265   { eval $1=; unset $1;}
266 }
267 as_unset=as_fn_unset
268
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
273 {
274   return $1
275 } # as_fn_set_status
276
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
281 {
282   set +e
283   as_fn_set_status $1
284   exit $1
285 } # as_fn_exit
286
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
291 {
292
293   case $as_dir in #(
294   -*) as_dir=./$as_dir;;
295   esac
296   test -d "$as_dir" || eval $as_mkdir_p || {
297     as_dirs=
298     while :; do
299       case $as_dir in #(
300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301       *) as_qdir=$as_dir;;
302       esac
303       as_dirs="'$as_qdir' $as_dirs"
304       as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306          X"$as_dir" : 'X\(//\)[^/]' \| \
307          X"$as_dir" : 'X\(//\)$' \| \
308          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\/\)[^/].*/{
315             s//\1/
316             q
317           }
318           /^X\(\/\/\)$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\).*/{
323             s//\1/
324             q
325           }
326           s/.*/./; q'`
327       test -d "$as_dir" && break
328     done
329     test -z "$as_dirs" || eval "mkdir $as_dirs"
330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333 } # as_fn_mkdir_p
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341   eval 'as_fn_append ()
342   {
343     eval $1+=\$2
344   }'
345 else
346   as_fn_append ()
347   {
348     eval $1=\$$1\$2
349   }
350 fi # as_fn_append
351
352 # as_fn_arith ARG...
353 # ------------------
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358   eval 'as_fn_arith ()
359   {
360     as_val=$(( $* ))
361   }'
362 else
363   as_fn_arith ()
364   {
365     as_val=`expr "$@" || test $? -eq 1`
366   }
367 fi # as_fn_arith
368
369
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
375 as_fn_error ()
376 {
377   as_status=$1; test $as_status -eq 0 && as_status=1
378   if test "$4"; then
379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381   fi
382   $as_echo "$as_me: error: $2" >&2
383   as_fn_exit $as_status
384 } # as_fn_error
385
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
388   as_expr=expr
389 else
390   as_expr=false
391 fi
392
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394   as_basename=basename
395 else
396   as_basename=false
397 fi
398
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400   as_dirname=dirname
401 else
402   as_dirname=false
403 fi
404
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407          X"$0" : 'X\(//\)$' \| \
408          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
410     sed '/^.*\/\([^/][^/]*\)\/*$/{
411             s//\1/
412             q
413           }
414           /^X\/\(\/\/\)$/{
415             s//\1/
416             q
417           }
418           /^X\/\(\/\).*/{
419             s//\1/
420             q
421           }
422           s/.*/./; q'`
423
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
430
431
432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
437   sed -n '
438     p
439     /[$]LINENO/=
440   ' <$as_myself |
441     sed '
442       s/[$]LINENO.*/&-/
443       t lineno
444       b
445       :lineno
446       N
447       :loop
448       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449       t loop
450       s/-\n.*//
451     ' >$as_me.lineno &&
452   chmod +x "$as_me.lineno" ||
453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454
455   # Don't try to exec as it changes $[0], causing all sort of problems
456   # (the dirname of $[0] is not the place where we might find the
457   # original and so on.  Autoconf is especially sensitive to this).
458   . "./$as_me.lineno"
459   # Exit status is that of the last command.
460   exit
461 }
462
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
465 -n*)
466   case `echo 'xy\c'` in
467   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
468   xy)  ECHO_C='\c';;
469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
470        ECHO_T=' ';;
471   esac;;
472 *)
473   ECHO_N='-n';;
474 esac
475
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478   rm -f conf$$.dir/conf$$.file
479 else
480   rm -f conf$$.dir
481   mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484   if ln -s conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s='ln -s'
486     # ... but there are two gotchas:
487     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489     # In both cases, we have to default to `cp -p'.
490     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491       as_ln_s='cp -p'
492   elif ln conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s=ln
494   else
495     as_ln_s='cp -p'
496   fi
497 else
498   as_ln_s='cp -p'
499 fi
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
502
503 if mkdir -p . 2>/dev/null; then
504   as_mkdir_p='mkdir -p "$as_dir"'
505 else
506   test -d ./-p && rmdir ./-p
507   as_mkdir_p=false
508 fi
509
510 if test -x / >/dev/null 2>&1; then
511   as_test_x='test -x'
512 else
513   if ls -dL / >/dev/null 2>&1; then
514     as_ls_L_option=L
515   else
516     as_ls_L_option=
517   fi
518   as_test_x='
519     eval sh -c '\''
520       if test -d "$1"; then
521         test -d "$1/.";
522       else
523         case $1 in #(
524         -*)set "./$1";;
525         esac;
526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527         ???[sx]*):;;*)false;;esac;fi
528     '\'' sh
529   '
530 fi
531 as_executable_p=$as_test_x
532
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538
539 SHELL=${CONFIG_SHELL-/bin/sh}
540
541
542 test -n "$DJDIR" || exec 7<&0 </dev/null
543 exec 6>&1
544
545 # Name of the host.
546 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
547 # so uname gets run too.
548 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549
550 #
551 # Initializations.
552 #
553 ac_default_prefix=/usr/local
554 ac_clean_files=
555 ac_config_libobj_dir=.
556 LIBOBJS=
557 cross_compiling=no
558 subdirs=
559 MFLAGS=
560 MAKEFLAGS=
561
562 # Identity of this package.
563 PACKAGE_NAME='opensaml'
564 PACKAGE_TARNAME='opensaml'
565 PACKAGE_VERSION='2.5'
566 PACKAGE_STRING='opensaml 2.5'
567 PACKAGE_BUGREPORT='https://bugs.internet2.edu/'
568 PACKAGE_URL=''
569
570 ac_unique_file="saml"
571 # Factoring default headers for most tests.
572 ac_includes_default="\
573 #include <stdio.h>
574 #ifdef HAVE_SYS_TYPES_H
575 # include <sys/types.h>
576 #endif
577 #ifdef HAVE_SYS_STAT_H
578 # include <sys/stat.h>
579 #endif
580 #ifdef STDC_HEADERS
581 # include <stdlib.h>
582 # include <stddef.h>
583 #else
584 # ifdef HAVE_STDLIB_H
585 #  include <stdlib.h>
586 # endif
587 #endif
588 #ifdef HAVE_STRING_H
589 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #  include <memory.h>
591 # endif
592 # include <string.h>
593 #endif
594 #ifdef HAVE_STRINGS_H
595 # include <strings.h>
596 #endif
597 #ifdef HAVE_INTTYPES_H
598 # include <inttypes.h>
599 #endif
600 #ifdef HAVE_STDINT_H
601 # include <stdint.h>
602 #endif
603 #ifdef HAVE_UNISTD_H
604 # include <unistd.h>
605 #endif"
606
607 ac_subst_vars='am__EXEEXT_FALSE
608 am__EXEEXT_TRUE
609 LTLIBOBJS
610 LIBOBJS
611 DX_INCLUDE
612 pkgconfig_libfile
613 pkgconfig_libdir
614 BUILD_UNITTEST_FALSE
615 BUILD_UNITTEST_TRUE
616 CXXTESTFLAGS
617 CXXTEST
618 LOG4CPP_CONFIG
619 LOG4SHIB_CONFIG
620 PKG_CONFIG
621 PTHREAD_CFLAGS
622 PTHREAD_LIBS
623 PTHREAD_CC
624 acx_pthread_config
625 CXXCPP
626 am__fastdepCXX_FALSE
627 am__fastdepCXX_TRUE
628 CXXDEPMODE
629 ac_ct_CXX
630 CXXFLAGS
631 CXX
632 DOXYGEN_PAPER_SIZE
633 DX_COND_latex_FALSE
634 DX_COND_latex_TRUE
635 DX_COND_pdf_FALSE
636 DX_COND_pdf_TRUE
637 DX_PDFLATEX
638 DX_FLAG_pdf
639 DX_COND_ps_FALSE
640 DX_COND_ps_TRUE
641 DX_EGREP
642 DX_DVIPS
643 DX_MAKEINDEX
644 DX_LATEX
645 DX_FLAG_ps
646 DX_COND_html_FALSE
647 DX_COND_html_TRUE
648 DX_FLAG_html
649 DX_COND_chi_FALSE
650 DX_COND_chi_TRUE
651 DX_FLAG_chi
652 DX_COND_chm_FALSE
653 DX_COND_chm_TRUE
654 DX_HHC
655 DX_FLAG_chm
656 DX_COND_xml_FALSE
657 DX_COND_xml_TRUE
658 DX_FLAG_xml
659 DX_COND_rtf_FALSE
660 DX_COND_rtf_TRUE
661 DX_FLAG_rtf
662 DX_COND_man_FALSE
663 DX_COND_man_TRUE
664 DX_FLAG_man
665 DX_COND_dot_FALSE
666 DX_COND_dot_TRUE
667 DX_DOT
668 DX_FLAG_dot
669 DX_COND_doc_FALSE
670 DX_COND_doc_TRUE
671 DX_PERL
672 DX_DOXYGEN
673 DX_FLAG_doc
674 DX_ENV
675 DX_DOCDIR
676 DX_CONFIG
677 DX_PROJECT
678 CPP
679 OTOOL64
680 OTOOL
681 LIPO
682 NMEDIT
683 DSYMUTIL
684 MANIFEST_TOOL
685 RANLIB
686 ac_ct_AR
687 AR
688 DLLTOOL
689 OBJDUMP
690 LN_S
691 NM
692 ac_ct_DUMPBIN
693 DUMPBIN
694 LD
695 FGREP
696 EGREP
697 GREP
698 SED
699 am__fastdepCC_FALSE
700 am__fastdepCC_TRUE
701 CCDEPMODE
702 AMDEPBACKSLASH
703 AMDEP_FALSE
704 AMDEP_TRUE
705 am__quote
706 am__include
707 DEPDIR
708 OBJEXT
709 EXEEXT
710 ac_ct_CC
711 CPPFLAGS
712 LDFLAGS
713 CFLAGS
714 CC
715 host_os
716 host_vendor
717 host_cpu
718 host
719 build_os
720 build_vendor
721 build_cpu
722 build
723 LIBTOOL
724 am__untar
725 am__tar
726 AMTAR
727 am__leading_dot
728 SET_MAKE
729 AWK
730 mkdir_p
731 MKDIR_P
732 INSTALL_STRIP_PROGRAM
733 STRIP
734 install_sh
735 MAKEINFO
736 AUTOHEADER
737 AUTOMAKE
738 AUTOCONF
739 ACLOCAL
740 VERSION
741 PACKAGE
742 CYGPATH_W
743 am__isrc
744 INSTALL_DATA
745 INSTALL_SCRIPT
746 INSTALL_PROGRAM
747 target_alias
748 host_alias
749 build_alias
750 LIBS
751 ECHO_T
752 ECHO_N
753 ECHO_C
754 DEFS
755 mandir
756 localedir
757 libdir
758 psdir
759 pdfdir
760 dvidir
761 htmldir
762 infodir
763 docdir
764 oldincludedir
765 includedir
766 localstatedir
767 sharedstatedir
768 sysconfdir
769 datadir
770 datarootdir
771 libexecdir
772 sbindir
773 bindir
774 program_transform_name
775 prefix
776 exec_prefix
777 PACKAGE_URL
778 PACKAGE_BUGREPORT
779 PACKAGE_STRING
780 PACKAGE_VERSION
781 PACKAGE_TARNAME
782 PACKAGE_NAME
783 PATH_SEPARATOR
784 SHELL'
785 ac_subst_files=''
786 ac_user_opts='
787 enable_option_checking
788 enable_static
789 enable_shared
790 with_pic
791 enable_fast_install
792 enable_dependency_tracking
793 with_gnu_ld
794 with_sysroot
795 enable_libtool_lock
796 enable_doxygen_doc
797 enable_doxygen_dot
798 enable_doxygen_man
799 enable_doxygen_rtf
800 enable_doxygen_xml
801 enable_doxygen_chm
802 enable_doxygen_chi
803 enable_doxygen_html
804 enable_doxygen_ps
805 enable_doxygen_pdf
806 enable_debug
807 with_zlib
808 with_openssl
809 with_log4shib
810 with_log4cpp
811 with_xerces
812 with_xmlsec
813 with_xmltooling
814 with_cxxtest
815 '
816       ac_precious_vars='build_alias
817 host_alias
818 target_alias
819 CC
820 CFLAGS
821 LDFLAGS
822 LIBS
823 CPPFLAGS
824 CPP
825 DOXYGEN_PAPER_SIZE
826 CXX
827 CXXFLAGS
828 CCC
829 CXXCPP'
830
831
832 # Initialize some variables set by options.
833 ac_init_help=
834 ac_init_version=false
835 ac_unrecognized_opts=
836 ac_unrecognized_sep=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
839 cache_file=/dev/null
840 exec_prefix=NONE
841 no_create=
842 no_recursion=
843 prefix=NONE
844 program_prefix=NONE
845 program_suffix=NONE
846 program_transform_name=s,x,x,
847 silent=
848 site=
849 srcdir=
850 verbose=
851 x_includes=NONE
852 x_libraries=NONE
853
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir='${exec_prefix}/bin'
861 sbindir='${exec_prefix}/sbin'
862 libexecdir='${exec_prefix}/libexec'
863 datarootdir='${prefix}/share'
864 datadir='${datarootdir}'
865 sysconfdir='${prefix}/etc'
866 sharedstatedir='${prefix}/com'
867 localstatedir='${prefix}/var'
868 includedir='${prefix}/include'
869 oldincludedir='/usr/include'
870 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
871 infodir='${datarootdir}/info'
872 htmldir='${docdir}'
873 dvidir='${docdir}'
874 pdfdir='${docdir}'
875 psdir='${docdir}'
876 libdir='${exec_prefix}/lib'
877 localedir='${datarootdir}/locale'
878 mandir='${datarootdir}/man'
879
880 ac_prev=
881 ac_dashdash=
882 for ac_option
883 do
884   # If the previous option needs an argument, assign it.
885   if test -n "$ac_prev"; then
886     eval $ac_prev=\$ac_option
887     ac_prev=
888     continue
889   fi
890
891   case $ac_option in
892   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893   *=)   ac_optarg= ;;
894   *)    ac_optarg=yes ;;
895   esac
896
897   # Accept the important Cygnus configure options, so we can diagnose typos.
898
899   case $ac_dashdash$ac_option in
900   --)
901     ac_dashdash=yes ;;
902
903   -bindir | --bindir | --bindi | --bind | --bin | --bi)
904     ac_prev=bindir ;;
905   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
906     bindir=$ac_optarg ;;
907
908   -build | --build | --buil | --bui | --bu)
909     ac_prev=build_alias ;;
910   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
911     build_alias=$ac_optarg ;;
912
913   -cache-file | --cache-file | --cache-fil | --cache-fi \
914   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
915     ac_prev=cache_file ;;
916   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
917   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
918     cache_file=$ac_optarg ;;
919
920   --config-cache | -C)
921     cache_file=config.cache ;;
922
923   -datadir | --datadir | --datadi | --datad)
924     ac_prev=datadir ;;
925   -datadir=* | --datadir=* | --datadi=* | --datad=*)
926     datadir=$ac_optarg ;;
927
928   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
929   | --dataroo | --dataro | --datar)
930     ac_prev=datarootdir ;;
931   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
932   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
933     datarootdir=$ac_optarg ;;
934
935   -disable-* | --disable-*)
936     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937     # Reject names that are not valid shell variable names.
938     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939       as_fn_error $? "invalid feature name: $ac_useropt"
940     ac_useropt_orig=$ac_useropt
941     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942     case $ac_user_opts in
943       *"
944 "enable_$ac_useropt"
945 "*) ;;
946       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
947          ac_unrecognized_sep=', ';;
948     esac
949     eval enable_$ac_useropt=no ;;
950
951   -docdir | --docdir | --docdi | --doc | --do)
952     ac_prev=docdir ;;
953   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
954     docdir=$ac_optarg ;;
955
956   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
957     ac_prev=dvidir ;;
958   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
959     dvidir=$ac_optarg ;;
960
961   -enable-* | --enable-*)
962     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963     # Reject names that are not valid shell variable names.
964     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965       as_fn_error $? "invalid feature name: $ac_useropt"
966     ac_useropt_orig=$ac_useropt
967     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968     case $ac_user_opts in
969       *"
970 "enable_$ac_useropt"
971 "*) ;;
972       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973          ac_unrecognized_sep=', ';;
974     esac
975     eval enable_$ac_useropt=\$ac_optarg ;;
976
977   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
978   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
979   | --exec | --exe | --ex)
980     ac_prev=exec_prefix ;;
981   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
982   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
983   | --exec=* | --exe=* | --ex=*)
984     exec_prefix=$ac_optarg ;;
985
986   -gas | --gas | --ga | --g)
987     # Obsolete; use --with-gas.
988     with_gas=yes ;;
989
990   -help | --help | --hel | --he | -h)
991     ac_init_help=long ;;
992   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
993     ac_init_help=recursive ;;
994   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
995     ac_init_help=short ;;
996
997   -host | --host | --hos | --ho)
998     ac_prev=host_alias ;;
999   -host=* | --host=* | --hos=* | --ho=*)
1000     host_alias=$ac_optarg ;;
1001
1002   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1003     ac_prev=htmldir ;;
1004   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1005   | --ht=*)
1006     htmldir=$ac_optarg ;;
1007
1008   -includedir | --includedir | --includedi | --included | --include \
1009   | --includ | --inclu | --incl | --inc)
1010     ac_prev=includedir ;;
1011   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1012   | --includ=* | --inclu=* | --incl=* | --inc=*)
1013     includedir=$ac_optarg ;;
1014
1015   -infodir | --infodir | --infodi | --infod | --info | --inf)
1016     ac_prev=infodir ;;
1017   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1018     infodir=$ac_optarg ;;
1019
1020   -libdir | --libdir | --libdi | --libd)
1021     ac_prev=libdir ;;
1022   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1023     libdir=$ac_optarg ;;
1024
1025   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1026   | --libexe | --libex | --libe)
1027     ac_prev=libexecdir ;;
1028   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1029   | --libexe=* | --libex=* | --libe=*)
1030     libexecdir=$ac_optarg ;;
1031
1032   -localedir | --localedir | --localedi | --localed | --locale)
1033     ac_prev=localedir ;;
1034   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1035     localedir=$ac_optarg ;;
1036
1037   -localstatedir | --localstatedir | --localstatedi | --localstated \
1038   | --localstate | --localstat | --localsta | --localst | --locals)
1039     ac_prev=localstatedir ;;
1040   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1041   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1042     localstatedir=$ac_optarg ;;
1043
1044   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1045     ac_prev=mandir ;;
1046   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1047     mandir=$ac_optarg ;;
1048
1049   -nfp | --nfp | --nf)
1050     # Obsolete; use --without-fp.
1051     with_fp=no ;;
1052
1053   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1054   | --no-cr | --no-c | -n)
1055     no_create=yes ;;
1056
1057   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1058   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1059     no_recursion=yes ;;
1060
1061   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1062   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1063   | --oldin | --oldi | --old | --ol | --o)
1064     ac_prev=oldincludedir ;;
1065   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1066   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1067   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1068     oldincludedir=$ac_optarg ;;
1069
1070   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1071     ac_prev=prefix ;;
1072   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1073     prefix=$ac_optarg ;;
1074
1075   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1076   | --program-pre | --program-pr | --program-p)
1077     ac_prev=program_prefix ;;
1078   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1079   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1080     program_prefix=$ac_optarg ;;
1081
1082   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1083   | --program-suf | --program-su | --program-s)
1084     ac_prev=program_suffix ;;
1085   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1086   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1087     program_suffix=$ac_optarg ;;
1088
1089   -program-transform-name | --program-transform-name \
1090   | --program-transform-nam | --program-transform-na \
1091   | --program-transform-n | --program-transform- \
1092   | --program-transform | --program-transfor \
1093   | --program-transfo | --program-transf \
1094   | --program-trans | --program-tran \
1095   | --progr-tra | --program-tr | --program-t)
1096     ac_prev=program_transform_name ;;
1097   -program-transform-name=* | --program-transform-name=* \
1098   | --program-transform-nam=* | --program-transform-na=* \
1099   | --program-transform-n=* | --program-transform-=* \
1100   | --program-transform=* | --program-transfor=* \
1101   | --program-transfo=* | --program-transf=* \
1102   | --program-trans=* | --program-tran=* \
1103   | --progr-tra=* | --program-tr=* | --program-t=*)
1104     program_transform_name=$ac_optarg ;;
1105
1106   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1107     ac_prev=pdfdir ;;
1108   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1109     pdfdir=$ac_optarg ;;
1110
1111   -psdir | --psdir | --psdi | --psd | --ps)
1112     ac_prev=psdir ;;
1113   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1114     psdir=$ac_optarg ;;
1115
1116   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1117   | -silent | --silent | --silen | --sile | --sil)
1118     silent=yes ;;
1119
1120   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1121     ac_prev=sbindir ;;
1122   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1123   | --sbi=* | --sb=*)
1124     sbindir=$ac_optarg ;;
1125
1126   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1127   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1128   | --sharedst | --shareds | --shared | --share | --shar \
1129   | --sha | --sh)
1130     ac_prev=sharedstatedir ;;
1131   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1132   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1133   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1134   | --sha=* | --sh=*)
1135     sharedstatedir=$ac_optarg ;;
1136
1137   -site | --site | --sit)
1138     ac_prev=site ;;
1139   -site=* | --site=* | --sit=*)
1140     site=$ac_optarg ;;
1141
1142   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1143     ac_prev=srcdir ;;
1144   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1145     srcdir=$ac_optarg ;;
1146
1147   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1148   | --syscon | --sysco | --sysc | --sys | --sy)
1149     ac_prev=sysconfdir ;;
1150   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1151   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1152     sysconfdir=$ac_optarg ;;
1153
1154   -target | --target | --targe | --targ | --tar | --ta | --t)
1155     ac_prev=target_alias ;;
1156   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1157     target_alias=$ac_optarg ;;
1158
1159   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1160     verbose=yes ;;
1161
1162   -version | --version | --versio | --versi | --vers | -V)
1163     ac_init_version=: ;;
1164
1165   -with-* | --with-*)
1166     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167     # Reject names that are not valid shell variable names.
1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169       as_fn_error $? "invalid package name: $ac_useropt"
1170     ac_useropt_orig=$ac_useropt
1171     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172     case $ac_user_opts in
1173       *"
1174 "with_$ac_useropt"
1175 "*) ;;
1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177          ac_unrecognized_sep=', ';;
1178     esac
1179     eval with_$ac_useropt=\$ac_optarg ;;
1180
1181   -without-* | --without-*)
1182     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183     # Reject names that are not valid shell variable names.
1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185       as_fn_error $? "invalid package name: $ac_useropt"
1186     ac_useropt_orig=$ac_useropt
1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188     case $ac_user_opts in
1189       *"
1190 "with_$ac_useropt"
1191 "*) ;;
1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193          ac_unrecognized_sep=', ';;
1194     esac
1195     eval with_$ac_useropt=no ;;
1196
1197   --x)
1198     # Obsolete; use --with-x.
1199     with_x=yes ;;
1200
1201   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1202   | --x-incl | --x-inc | --x-in | --x-i)
1203     ac_prev=x_includes ;;
1204   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1205   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1206     x_includes=$ac_optarg ;;
1207
1208   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1209   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1210     ac_prev=x_libraries ;;
1211   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1212   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213     x_libraries=$ac_optarg ;;
1214
1215   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information"
1217     ;;
1218
1219   *=*)
1220     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1221     # Reject names that are not valid shell variable names.
1222     case $ac_envvar in #(
1223       '' | [0-9]* | *[!_$as_cr_alnum]* )
1224       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1225     esac
1226     eval $ac_envvar=\$ac_optarg
1227     export $ac_envvar ;;
1228
1229   *)
1230     # FIXME: should be removed in autoconf 3.0.
1231     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1235     ;;
1236
1237   esac
1238 done
1239
1240 if test -n "$ac_prev"; then
1241   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242   as_fn_error $? "missing argument to $ac_option"
1243 fi
1244
1245 if test -n "$ac_unrecognized_opts"; then
1246   case $enable_option_checking in
1247     no) ;;
1248     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250   esac
1251 fi
1252
1253 # Check all directory arguments for consistency.
1254 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255                 datadir sysconfdir sharedstatedir localstatedir includedir \
1256                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257                 libdir localedir mandir
1258 do
1259   eval ac_val=\$$ac_var
1260   # Remove trailing slashes.
1261   case $ac_val in
1262     */ )
1263       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264       eval $ac_var=\$ac_val;;
1265   esac
1266   # Be sure to have absolute directory names.
1267   case $ac_val in
1268     [\\/$]* | ?:[\\/]* )  continue;;
1269     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270   esac
1271   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1272 done
1273
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1277 build=$build_alias
1278 host=$host_alias
1279 target=$target_alias
1280
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x; then
1283   if test "x$build_alias" = x; then
1284     cross_compiling=maybe
1285     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1286     If a cross compiler is detected then cross compile mode will be used" >&2
1287   elif test "x$build_alias" != "x$host_alias"; then
1288     cross_compiling=yes
1289   fi
1290 fi
1291
1292 ac_tool_prefix=
1293 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1294
1295 test "$silent" = yes && exec 6>/dev/null
1296
1297
1298 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1299 ac_ls_di=`ls -di .` &&
1300 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1301   as_fn_error $? "working directory cannot be determined"
1302 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1303   as_fn_error $? "pwd does not report name of working directory"
1304
1305
1306 # Find the source files, if location was not specified.
1307 if test -z "$srcdir"; then
1308   ac_srcdir_defaulted=yes
1309   # Try the directory containing this script, then the parent directory.
1310   ac_confdir=`$as_dirname -- "$as_myself" ||
1311 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1312          X"$as_myself" : 'X\(//\)[^/]' \| \
1313          X"$as_myself" : 'X\(//\)$' \| \
1314          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1315 $as_echo X"$as_myself" |
1316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1317             s//\1/
1318             q
1319           }
1320           /^X\(\/\/\)[^/].*/{
1321             s//\1/
1322             q
1323           }
1324           /^X\(\/\/\)$/{
1325             s//\1/
1326             q
1327           }
1328           /^X\(\/\).*/{
1329             s//\1/
1330             q
1331           }
1332           s/.*/./; q'`
1333   srcdir=$ac_confdir
1334   if test ! -r "$srcdir/$ac_unique_file"; then
1335     srcdir=..
1336   fi
1337 else
1338   ac_srcdir_defaulted=no
1339 fi
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1341   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1342   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1343 fi
1344 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 ac_abs_confdir=`(
1346         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1347         pwd)`
1348 # When building in place, set srcdir=.
1349 if test "$ac_abs_confdir" = "$ac_pwd"; then
1350   srcdir=.
1351 fi
1352 # Remove unnecessary trailing slashes from srcdir.
1353 # Double slashes in file names in object file debugging info
1354 # mess up M-x gdb in Emacs.
1355 case $srcdir in
1356 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 esac
1358 for ac_var in $ac_precious_vars; do
1359   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1360   eval ac_env_${ac_var}_value=\$${ac_var}
1361   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1362   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1363 done
1364
1365 #
1366 # Report the --help message.
1367 #
1368 if test "$ac_init_help" = "long"; then
1369   # Omit some internal or obsolete options to make the list less imposing.
1370   # This message is too long to be a string in the A/UX 3.1 sh.
1371   cat <<_ACEOF
1372 \`configure' configures opensaml 2.5 to adapt to many kinds of systems.
1373
1374 Usage: $0 [OPTION]... [VAR=VALUE]...
1375
1376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1377 VAR=VALUE.  See below for descriptions of some of the useful variables.
1378
1379 Defaults for the options are specified in brackets.
1380
1381 Configuration:
1382   -h, --help              display this help and exit
1383       --help=short        display options specific to this package
1384       --help=recursive    display the short help of all the included packages
1385   -V, --version           display version information and exit
1386   -q, --quiet, --silent   do not print \`checking ...' messages
1387       --cache-file=FILE   cache test results in FILE [disabled]
1388   -C, --config-cache      alias for \`--cache-file=config.cache'
1389   -n, --no-create         do not create output files
1390       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1391
1392 Installation directories:
1393   --prefix=PREFIX         install architecture-independent files in PREFIX
1394                           [$ac_default_prefix]
1395   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1396                           [PREFIX]
1397
1398 By default, \`make install' will install all the files in
1399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1401 for instance \`--prefix=\$HOME'.
1402
1403 For better control, use the options below.
1404
1405 Fine tuning of the installation directories:
1406   --bindir=DIR            user executables [EPREFIX/bin]
1407   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1408   --libexecdir=DIR        program executables [EPREFIX/libexec]
1409   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1410   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1411   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1412   --libdir=DIR            object code libraries [EPREFIX/lib]
1413   --includedir=DIR        C header files [PREFIX/include]
1414   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1415   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1416   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1417   --infodir=DIR           info documentation [DATAROOTDIR/info]
1418   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1419   --mandir=DIR            man documentation [DATAROOTDIR/man]
1420   --docdir=DIR            documentation root [DATAROOTDIR/doc/opensaml]
1421   --htmldir=DIR           html documentation [DOCDIR]
1422   --dvidir=DIR            dvi documentation [DOCDIR]
1423   --pdfdir=DIR            pdf documentation [DOCDIR]
1424   --psdir=DIR             ps documentation [DOCDIR]
1425 _ACEOF
1426
1427   cat <<\_ACEOF
1428
1429 Program names:
1430   --program-prefix=PREFIX            prepend PREFIX to installed program names
1431   --program-suffix=SUFFIX            append SUFFIX to installed program names
1432   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1433
1434 System types:
1435   --build=BUILD     configure for building on BUILD [guessed]
1436   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1437 _ACEOF
1438 fi
1439
1440 if test -n "$ac_init_help"; then
1441   case $ac_init_help in
1442      short | recursive ) echo "Configuration of opensaml 2.5:";;
1443    esac
1444   cat <<\_ACEOF
1445
1446 Optional Features:
1447   --disable-option-checking  ignore unrecognized --enable/--with options
1448   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1449   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1450   --enable-static[=PKGS]  build static libraries [default=no]
1451   --enable-shared[=PKGS]  build shared libraries [default=yes]
1452   --enable-fast-install[=PKGS]
1453                           optimize for fast installation [default=yes]
1454   --disable-dependency-tracking  speeds up one-time build
1455   --enable-dependency-tracking   do not reject slow dependency extractors
1456   --disable-libtool-lock  avoid locking (might break parallel builds)
1457   --disable-doxygen-doc   don't generate any doxygen documentation
1458   --enable-doxygen-dot    generate graphics for doxygen documentation
1459   --enable-doxygen-man    generate doxygen manual pages
1460   --enable-doxygen-rtf    generate doxygen RTF documentation
1461   --enable-doxygen-xml    generate doxygen XML documentation
1462   --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1463   --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1464                           file
1465   --disable-doxygen-html  don't generate doxygen plain HTML documentation
1466   --enable-doxygen-ps     generate doxygen PostScript documentation
1467   --enable-doxygen-pdf    generate doxygen PDF documentation
1468   --enable-debug          Have GCC compile with symbols (Default = no)
1469
1470 Optional Packages:
1471   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1472   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1473   --with-pic              try to use only PIC/non-PIC objects [default=use
1474                           both]
1475   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1476   --with-sysroot=DIR Search for dependent libraries within DIR
1477                         (or the compiler's sysroot if not specified).
1478   --with-zlib=PATH        where zlib is installed
1479   --with-openssl=PATH     where openssl is installed
1480   --with-log4shib=PATH    where log4shib-config is installed
1481   --with-log4cpp=PATH     where log4cpp-config is installed
1482   --with-xerces=PATH      where xerces-c is installed
1483   --with-xmlsec=PATH      where xmlsec is installed
1484   --with-xmltooling=PATH  where xmltooling is installed
1485   --with-cxxtest=PATH     where cxxtest is installed
1486
1487 Some influential environment variables:
1488   CC          C compiler command
1489   CFLAGS      C compiler flags
1490   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1491               nonstandard directory <lib dir>
1492   LIBS        libraries to pass to the linker, e.g. -l<library>
1493   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1494               you have headers in a nonstandard directory <include dir>
1495   CPP         C preprocessor
1496   DOXYGEN_PAPER_SIZE
1497               a4wide (default), a4, letter, legal or executive
1498   CXX         C++ compiler command
1499   CXXFLAGS    C++ compiler flags
1500   CXXCPP      C++ preprocessor
1501
1502 Use these variables to override the choices made by `configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1504
1505 Report bugs to <https://bugs.internet2.edu/>.
1506 _ACEOF
1507 ac_status=$?
1508 fi
1509
1510 if test "$ac_init_help" = "recursive"; then
1511   # If there are subdirs, report their specific --help.
1512   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1513     test -d "$ac_dir" ||
1514       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1515       continue
1516     ac_builddir=.
1517
1518 case "$ac_dir" in
1519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520 *)
1521   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1522   # A ".." for each directory in $ac_dir_suffix.
1523   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1524   case $ac_top_builddir_sub in
1525   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1527   esac ;;
1528 esac
1529 ac_abs_top_builddir=$ac_pwd
1530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531 # for backward compatibility:
1532 ac_top_builddir=$ac_top_build_prefix
1533
1534 case $srcdir in
1535   .)  # We are building in place.
1536     ac_srcdir=.
1537     ac_top_srcdir=$ac_top_builddir_sub
1538     ac_abs_top_srcdir=$ac_pwd ;;
1539   [\\/]* | ?:[\\/]* )  # Absolute name.
1540     ac_srcdir=$srcdir$ac_dir_suffix;
1541     ac_top_srcdir=$srcdir
1542     ac_abs_top_srcdir=$srcdir ;;
1543   *) # Relative name.
1544     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545     ac_top_srcdir=$ac_top_build_prefix$srcdir
1546     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1547 esac
1548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1549
1550     cd "$ac_dir" || { ac_status=$?; continue; }
1551     # Check for guested configure.
1552     if test -f "$ac_srcdir/configure.gnu"; then
1553       echo &&
1554       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555     elif test -f "$ac_srcdir/configure"; then
1556       echo &&
1557       $SHELL "$ac_srcdir/configure" --help=recursive
1558     else
1559       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1560     fi || ac_status=$?
1561     cd "$ac_pwd" || { ac_status=$?; break; }
1562   done
1563 fi
1564
1565 test -n "$ac_init_help" && exit $ac_status
1566 if $ac_init_version; then
1567   cat <<\_ACEOF
1568 opensaml configure 2.5
1569 generated by GNU Autoconf 2.67
1570
1571 Copyright (C) 2010 Free Software Foundation, Inc.
1572 This configure script is free software; the Free Software Foundation
1573 gives unlimited permission to copy, distribute and modify it.
1574 _ACEOF
1575   exit
1576 fi
1577
1578 ## ------------------------ ##
1579 ## Autoconf initialization. ##
1580 ## ------------------------ ##
1581
1582 # ac_fn_c_try_compile LINENO
1583 # --------------------------
1584 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1585 ac_fn_c_try_compile ()
1586 {
1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588   rm -f conftest.$ac_objext
1589   if { { ac_try="$ac_compile"
1590 case "(($ac_try" in
1591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592   *) ac_try_echo=$ac_try;;
1593 esac
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596   (eval "$ac_compile") 2>conftest.err
1597   ac_status=$?
1598   if test -s conftest.err; then
1599     grep -v '^ *+' conftest.err >conftest.er1
1600     cat conftest.er1 >&5
1601     mv -f conftest.er1 conftest.err
1602   fi
1603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604   test $ac_status = 0; } && {
1605          test -z "$ac_c_werror_flag" ||
1606          test ! -s conftest.err
1607        } && test -s conftest.$ac_objext; then :
1608   ac_retval=0
1609 else
1610   $as_echo "$as_me: failed program was:" >&5
1611 sed 's/^/| /' conftest.$ac_ext >&5
1612
1613         ac_retval=1
1614 fi
1615   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1616   as_fn_set_status $ac_retval
1617
1618 } # ac_fn_c_try_compile
1619
1620 # ac_fn_c_try_link LINENO
1621 # -----------------------
1622 # Try to link conftest.$ac_ext, and return whether this succeeded.
1623 ac_fn_c_try_link ()
1624 {
1625   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626   rm -f conftest.$ac_objext conftest$ac_exeext
1627   if { { ac_try="$ac_link"
1628 case "(($ac_try" in
1629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630   *) ac_try_echo=$ac_try;;
1631 esac
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634   (eval "$ac_link") 2>conftest.err
1635   ac_status=$?
1636   if test -s conftest.err; then
1637     grep -v '^ *+' conftest.err >conftest.er1
1638     cat conftest.er1 >&5
1639     mv -f conftest.er1 conftest.err
1640   fi
1641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642   test $ac_status = 0; } && {
1643          test -z "$ac_c_werror_flag" ||
1644          test ! -s conftest.err
1645        } && test -s conftest$ac_exeext && {
1646          test "$cross_compiling" = yes ||
1647          $as_test_x conftest$ac_exeext
1648        }; then :
1649   ac_retval=0
1650 else
1651   $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1653
1654         ac_retval=1
1655 fi
1656   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1657   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1658   # interfere with the next link command; also delete a directory that is
1659   # left behind by Apple's compiler.  We do this before executing the actions.
1660   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1661   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1662   as_fn_set_status $ac_retval
1663
1664 } # ac_fn_c_try_link
1665
1666 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists and can be compiled using the include files in
1669 # INCLUDES, setting the cache variable VAR accordingly.
1670 ac_fn_c_check_header_compile ()
1671 {
1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674 $as_echo_n "checking for $2... " >&6; }
1675 if eval "test \"\${$3+set}\"" = set; then :
1676   $as_echo_n "(cached) " >&6
1677 else
1678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679 /* end confdefs.h.  */
1680 $4
1681 #include <$2>
1682 _ACEOF
1683 if ac_fn_c_try_compile "$LINENO"; then :
1684   eval "$3=yes"
1685 else
1686   eval "$3=no"
1687 fi
1688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689 fi
1690 eval ac_res=\$$3
1691                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1694
1695 } # ac_fn_c_check_header_compile
1696
1697 # ac_fn_c_try_cpp LINENO
1698 # ----------------------
1699 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1700 ac_fn_c_try_cpp ()
1701 {
1702   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703   if { { ac_try="$ac_cpp conftest.$ac_ext"
1704 case "(($ac_try" in
1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706   *) ac_try_echo=$ac_try;;
1707 esac
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1711   ac_status=$?
1712   if test -s conftest.err; then
1713     grep -v '^ *+' conftest.err >conftest.er1
1714     cat conftest.er1 >&5
1715     mv -f conftest.er1 conftest.err
1716   fi
1717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718   test $ac_status = 0; } > conftest.i && {
1719          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1720          test ! -s conftest.err
1721        }; then :
1722   ac_retval=0
1723 else
1724   $as_echo "$as_me: failed program was:" >&5
1725 sed 's/^/| /' conftest.$ac_ext >&5
1726
1727     ac_retval=1
1728 fi
1729   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1730   as_fn_set_status $ac_retval
1731
1732 } # ac_fn_c_try_cpp
1733
1734 # ac_fn_c_try_run LINENO
1735 # ----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1737 # that executables *can* be run.
1738 ac_fn_c_try_run ()
1739 {
1740   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741   if { { ac_try="$ac_link"
1742 case "(($ac_try" in
1743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744   *) ac_try_echo=$ac_try;;
1745 esac
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748   (eval "$ac_link") 2>&5
1749   ac_status=$?
1750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1752   { { case "(($ac_try" in
1753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754   *) ac_try_echo=$ac_try;;
1755 esac
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758   (eval "$ac_try") 2>&5
1759   ac_status=$?
1760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761   test $ac_status = 0; }; }; then :
1762   ac_retval=0
1763 else
1764   $as_echo "$as_me: program exited with status $ac_status" >&5
1765        $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1767
1768        ac_retval=$ac_status
1769 fi
1770   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1772   as_fn_set_status $ac_retval
1773
1774 } # ac_fn_c_try_run
1775
1776 # ac_fn_c_check_func LINENO FUNC VAR
1777 # ----------------------------------
1778 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1779 ac_fn_c_check_func ()
1780 {
1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval "test \"\${$3+set}\"" = set; then :
1785   $as_echo_n "(cached) " >&6
1786 else
1787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h.  */
1789 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1791 #define $2 innocuous_$2
1792
1793 /* System header to define __stub macros and hopefully few prototypes,
1794     which can conflict with char $2 (); below.
1795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1796     <limits.h> exists even on freestanding compilers.  */
1797
1798 #ifdef __STDC__
1799 # include <limits.h>
1800 #else
1801 # include <assert.h>
1802 #endif
1803
1804 #undef $2
1805
1806 /* Override any GCC internal prototype to avoid an error.
1807    Use char because int might match the return type of a GCC
1808    builtin and then its argument prototype would still apply.  */
1809 #ifdef __cplusplus
1810 extern "C"
1811 #endif
1812 char $2 ();
1813 /* The GNU C library defines this for functions which it implements
1814     to always fail with ENOSYS.  Some functions are actually named
1815     something starting with __ and the normal name is an alias.  */
1816 #if defined __stub_$2 || defined __stub___$2
1817 choke me
1818 #endif
1819
1820 int
1821 main ()
1822 {
1823 return $2 ();
1824   ;
1825   return 0;
1826 }
1827 _ACEOF
1828 if ac_fn_c_try_link "$LINENO"; then :
1829   eval "$3=yes"
1830 else
1831   eval "$3=no"
1832 fi
1833 rm -f core conftest.err conftest.$ac_objext \
1834     conftest$ac_exeext conftest.$ac_ext
1835 fi
1836 eval ac_res=\$$3
1837                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1839   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840
1841 } # ac_fn_c_check_func
1842
1843 # ac_fn_cxx_try_compile LINENO
1844 # ----------------------------
1845 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1846 ac_fn_cxx_try_compile ()
1847 {
1848   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849   rm -f conftest.$ac_objext
1850   if { { ac_try="$ac_compile"
1851 case "(($ac_try" in
1852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853   *) ac_try_echo=$ac_try;;
1854 esac
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857   (eval "$ac_compile") 2>conftest.err
1858   ac_status=$?
1859   if test -s conftest.err; then
1860     grep -v '^ *+' conftest.err >conftest.er1
1861     cat conftest.er1 >&5
1862     mv -f conftest.er1 conftest.err
1863   fi
1864   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865   test $ac_status = 0; } && {
1866          test -z "$ac_cxx_werror_flag" ||
1867          test ! -s conftest.err
1868        } && test -s conftest.$ac_objext; then :
1869   ac_retval=0
1870 else
1871   $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1873
1874         ac_retval=1
1875 fi
1876   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877   as_fn_set_status $ac_retval
1878
1879 } # ac_fn_cxx_try_compile
1880
1881 # ac_fn_cxx_try_cpp LINENO
1882 # ------------------------
1883 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1884 ac_fn_cxx_try_cpp ()
1885 {
1886   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887   if { { ac_try="$ac_cpp conftest.$ac_ext"
1888 case "(($ac_try" in
1889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890   *) ac_try_echo=$ac_try;;
1891 esac
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1895   ac_status=$?
1896   if test -s conftest.err; then
1897     grep -v '^ *+' conftest.err >conftest.er1
1898     cat conftest.er1 >&5
1899     mv -f conftest.er1 conftest.err
1900   fi
1901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902   test $ac_status = 0; } > conftest.i && {
1903          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1904          test ! -s conftest.err
1905        }; then :
1906   ac_retval=0
1907 else
1908   $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1910
1911     ac_retval=1
1912 fi
1913   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914   as_fn_set_status $ac_retval
1915
1916 } # ac_fn_cxx_try_cpp
1917
1918 # ac_fn_cxx_try_link LINENO
1919 # -------------------------
1920 # Try to link conftest.$ac_ext, and return whether this succeeded.
1921 ac_fn_cxx_try_link ()
1922 {
1923   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924   rm -f conftest.$ac_objext conftest$ac_exeext
1925   if { { ac_try="$ac_link"
1926 case "(($ac_try" in
1927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1928   *) ac_try_echo=$ac_try;;
1929 esac
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932   (eval "$ac_link") 2>conftest.err
1933   ac_status=$?
1934   if test -s conftest.err; then
1935     grep -v '^ *+' conftest.err >conftest.er1
1936     cat conftest.er1 >&5
1937     mv -f conftest.er1 conftest.err
1938   fi
1939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940   test $ac_status = 0; } && {
1941          test -z "$ac_cxx_werror_flag" ||
1942          test ! -s conftest.err
1943        } && test -s conftest$ac_exeext && {
1944          test "$cross_compiling" = yes ||
1945          $as_test_x conftest$ac_exeext
1946        }; then :
1947   ac_retval=0
1948 else
1949   $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.$ac_ext >&5
1951
1952         ac_retval=1
1953 fi
1954   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1955   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1956   # interfere with the next link command; also delete a directory that is
1957   # left behind by Apple's compiler.  We do this before executing the actions.
1958   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960   as_fn_set_status $ac_retval
1961
1962 } # ac_fn_cxx_try_link
1963
1964 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1965 # -------------------------------------------
1966 # Tests whether TYPE exists after having included INCLUDES, setting cache
1967 # variable VAR accordingly.
1968 ac_fn_c_check_type ()
1969 {
1970   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1972 $as_echo_n "checking for $2... " >&6; }
1973 if eval "test \"\${$3+set}\"" = set; then :
1974   $as_echo_n "(cached) " >&6
1975 else
1976   eval "$3=no"
1977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h.  */
1979 $4
1980 int
1981 main ()
1982 {
1983 if (sizeof ($2))
1984          return 0;
1985   ;
1986   return 0;
1987 }
1988 _ACEOF
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h.  */
1992 $4
1993 int
1994 main ()
1995 {
1996 if (sizeof (($2)))
1997             return 0;
1998   ;
1999   return 0;
2000 }
2001 _ACEOF
2002 if ac_fn_c_try_compile "$LINENO"; then :
2003
2004 else
2005   eval "$3=yes"
2006 fi
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 fi
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2010 fi
2011 eval ac_res=\$$3
2012                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2015
2016 } # ac_fn_c_check_type
2017
2018 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2019 # --------------------------------------------
2020 # Tries to find the compile-time value of EXPR in a program that includes
2021 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2022 # computed
2023 ac_fn_c_compute_int ()
2024 {
2025   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026   if test "$cross_compiling" = yes; then
2027     # Depending upon the size, compute the lo and hi bounds.
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h.  */
2030 $4
2031 int
2032 main ()
2033 {
2034 static int test_array [1 - 2 * !(($2) >= 0)];
2035 test_array [0] = 0
2036
2037   ;
2038   return 0;
2039 }
2040 _ACEOF
2041 if ac_fn_c_try_compile "$LINENO"; then :
2042   ac_lo=0 ac_mid=0
2043   while :; do
2044     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h.  */
2046 $4
2047 int
2048 main ()
2049 {
2050 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2051 test_array [0] = 0
2052
2053   ;
2054   return 0;
2055 }
2056 _ACEOF
2057 if ac_fn_c_try_compile "$LINENO"; then :
2058   ac_hi=$ac_mid; break
2059 else
2060   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2061                         if test $ac_lo -le $ac_mid; then
2062                           ac_lo= ac_hi=
2063                           break
2064                         fi
2065                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2066 fi
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068   done
2069 else
2070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h.  */
2072 $4
2073 int
2074 main ()
2075 {
2076 static int test_array [1 - 2 * !(($2) < 0)];
2077 test_array [0] = 0
2078
2079   ;
2080   return 0;
2081 }
2082 _ACEOF
2083 if ac_fn_c_try_compile "$LINENO"; then :
2084   ac_hi=-1 ac_mid=-1
2085   while :; do
2086     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h.  */
2088 $4
2089 int
2090 main ()
2091 {
2092 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2093 test_array [0] = 0
2094
2095   ;
2096   return 0;
2097 }
2098 _ACEOF
2099 if ac_fn_c_try_compile "$LINENO"; then :
2100   ac_lo=$ac_mid; break
2101 else
2102   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2103                         if test $ac_mid -le $ac_hi; then
2104                           ac_lo= ac_hi=
2105                           break
2106                         fi
2107                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2108 fi
2109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2110   done
2111 else
2112   ac_lo= ac_hi=
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 fi
2116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117 # Binary search between lo and hi bounds.
2118 while test "x$ac_lo" != "x$ac_hi"; do
2119   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h.  */
2122 $4
2123 int
2124 main ()
2125 {
2126 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2127 test_array [0] = 0
2128
2129   ;
2130   return 0;
2131 }
2132 _ACEOF
2133 if ac_fn_c_try_compile "$LINENO"; then :
2134   ac_hi=$ac_mid
2135 else
2136   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2137 fi
2138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2139 done
2140 case $ac_lo in #((
2141 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2142 '') ac_retval=1 ;;
2143 esac
2144   else
2145     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h.  */
2147 $4
2148 static long int longval () { return $2; }
2149 static unsigned long int ulongval () { return $2; }
2150 #include <stdio.h>
2151 #include <stdlib.h>
2152 int
2153 main ()
2154 {
2155
2156   FILE *f = fopen ("conftest.val", "w");
2157   if (! f)
2158     return 1;
2159   if (($2) < 0)
2160     {
2161       long int i = longval ();
2162       if (i != ($2))
2163         return 1;
2164       fprintf (f, "%ld", i);
2165     }
2166   else
2167     {
2168       unsigned long int i = ulongval ();
2169       if (i != ($2))
2170         return 1;
2171       fprintf (f, "%lu", i);
2172     }
2173   /* Do not output a trailing newline, as this causes \r\n confusion
2174      on some platforms.  */
2175   return ferror (f) || fclose (f) != 0;
2176
2177   ;
2178   return 0;
2179 }
2180 _ACEOF
2181 if ac_fn_c_try_run "$LINENO"; then :
2182   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2183 else
2184   ac_retval=1
2185 fi
2186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2187   conftest.$ac_objext conftest.beam conftest.$ac_ext
2188 rm -f conftest.val
2189
2190   fi
2191   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2192   as_fn_set_status $ac_retval
2193
2194 } # ac_fn_c_compute_int
2195
2196 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2197 # -------------------------------------------------------
2198 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2199 # the include files in INCLUDES and setting the cache variable VAR
2200 # accordingly.
2201 ac_fn_c_check_header_mongrel ()
2202 {
2203   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2204   if eval "test \"\${$3+set}\"" = set; then :
2205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2206 $as_echo_n "checking for $2... " >&6; }
2207 if eval "test \"\${$3+set}\"" = set; then :
2208   $as_echo_n "(cached) " >&6
2209 fi
2210 eval ac_res=\$$3
2211                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2212 $as_echo "$ac_res" >&6; }
2213 else
2214   # Is the header compilable?
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2216 $as_echo_n "checking $2 usability... " >&6; }
2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h.  */
2219 $4
2220 #include <$2>
2221 _ACEOF
2222 if ac_fn_c_try_compile "$LINENO"; then :
2223   ac_header_compiler=yes
2224 else
2225   ac_header_compiler=no
2226 fi
2227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2229 $as_echo "$ac_header_compiler" >&6; }
2230
2231 # Is the header present?
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2233 $as_echo_n "checking $2 presence... " >&6; }
2234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2235 /* end confdefs.h.  */
2236 #include <$2>
2237 _ACEOF
2238 if ac_fn_c_try_cpp "$LINENO"; then :
2239   ac_header_preproc=yes
2240 else
2241   ac_header_preproc=no
2242 fi
2243 rm -f conftest.err conftest.i conftest.$ac_ext
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2245 $as_echo "$ac_header_preproc" >&6; }
2246
2247 # So?  What about this header?
2248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2249   yes:no: )
2250     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2251 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2252     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254     ;;
2255   no:yes:* )
2256     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2257 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2258     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2259 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2260     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2261 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2262     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2263 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2264     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2265 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2266 ( $as_echo "## ------------------------------------------ ##
2267 ## Report this to https://bugs.internet2.edu/ ##
2268 ## ------------------------------------------ ##"
2269      ) | sed "s/^/$as_me: WARNING:     /" >&2
2270     ;;
2271 esac
2272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2273 $as_echo_n "checking for $2... " >&6; }
2274 if eval "test \"\${$3+set}\"" = set; then :
2275   $as_echo_n "(cached) " >&6
2276 else
2277   eval "$3=\$ac_header_compiler"
2278 fi
2279 eval ac_res=\$$3
2280                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2281 $as_echo "$ac_res" >&6; }
2282 fi
2283   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2284
2285 } # ac_fn_c_check_header_mongrel
2286
2287 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2288 # ---------------------------------------------------------
2289 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2290 # the include files in INCLUDES and setting the cache variable VAR
2291 # accordingly.
2292 ac_fn_cxx_check_header_mongrel ()
2293 {
2294   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295   if eval "test \"\${$3+set}\"" = set; then :
2296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2297 $as_echo_n "checking for $2... " >&6; }
2298 if eval "test \"\${$3+set}\"" = set; then :
2299   $as_echo_n "(cached) " >&6
2300 fi
2301 eval ac_res=\$$3
2302                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2303 $as_echo "$ac_res" >&6; }
2304 else
2305   # Is the header compilable?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2307 $as_echo_n "checking $2 usability... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h.  */
2310 $4
2311 #include <$2>
2312 _ACEOF
2313 if ac_fn_cxx_try_compile "$LINENO"; then :
2314   ac_header_compiler=yes
2315 else
2316   ac_header_compiler=no
2317 fi
2318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2320 $as_echo "$ac_header_compiler" >&6; }
2321
2322 # Is the header present?
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2324 $as_echo_n "checking $2 presence... " >&6; }
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h.  */
2327 #include <$2>
2328 _ACEOF
2329 if ac_fn_cxx_try_cpp "$LINENO"; then :
2330   ac_header_preproc=yes
2331 else
2332   ac_header_preproc=no
2333 fi
2334 rm -f conftest.err conftest.i conftest.$ac_ext
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2336 $as_echo "$ac_header_preproc" >&6; }
2337
2338 # So?  What about this header?
2339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2340   yes:no: )
2341     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2342 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2343     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2344 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2345     ;;
2346   no:yes:* )
2347     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2348 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2349     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2350 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2351     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2352 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2353     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2354 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2355     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2356 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2357 ( $as_echo "## ------------------------------------------ ##
2358 ## Report this to https://bugs.internet2.edu/ ##
2359 ## ------------------------------------------ ##"
2360      ) | sed "s/^/$as_me: WARNING:     /" >&2
2361     ;;
2362 esac
2363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2364 $as_echo_n "checking for $2... " >&6; }
2365 if eval "test \"\${$3+set}\"" = set; then :
2366   $as_echo_n "(cached) " >&6
2367 else
2368   eval "$3=\$ac_header_compiler"
2369 fi
2370 eval ac_res=\$$3
2371                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2372 $as_echo "$ac_res" >&6; }
2373 fi
2374   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2375
2376 } # ac_fn_cxx_check_header_mongrel
2377 cat >config.log <<_ACEOF
2378 This file contains any messages produced by compilers while
2379 running configure, to aid debugging if configure makes a mistake.
2380
2381 It was created by opensaml $as_me 2.5, which was
2382 generated by GNU Autoconf 2.67.  Invocation command line was
2383
2384   $ $0 $@
2385
2386 _ACEOF
2387 exec 5>>config.log
2388 {
2389 cat <<_ASUNAME
2390 ## --------- ##
2391 ## Platform. ##
2392 ## --------- ##
2393
2394 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2395 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2396 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2397 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2398 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2399
2400 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2401 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2402
2403 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2404 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2405 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2406 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2407 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2408 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2409 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2410
2411 _ASUNAME
2412
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 for as_dir in $PATH
2415 do
2416   IFS=$as_save_IFS
2417   test -z "$as_dir" && as_dir=.
2418     $as_echo "PATH: $as_dir"
2419   done
2420 IFS=$as_save_IFS
2421
2422 } >&5
2423
2424 cat >&5 <<_ACEOF
2425
2426
2427 ## ----------- ##
2428 ## Core tests. ##
2429 ## ----------- ##
2430
2431 _ACEOF
2432
2433
2434 # Keep a trace of the command line.
2435 # Strip out --no-create and --no-recursion so they do not pile up.
2436 # Strip out --silent because we don't want to record it for future runs.
2437 # Also quote any args containing shell meta-characters.
2438 # Make two passes to allow for proper duplicate-argument suppression.
2439 ac_configure_args=
2440 ac_configure_args0=
2441 ac_configure_args1=
2442 ac_must_keep_next=false
2443 for ac_pass in 1 2
2444 do
2445   for ac_arg
2446   do
2447     case $ac_arg in
2448     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2449     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2450     | -silent | --silent | --silen | --sile | --sil)
2451       continue ;;
2452     *\'*)
2453       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2454     esac
2455     case $ac_pass in
2456     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2457     2)
2458       as_fn_append ac_configure_args1 " '$ac_arg'"
2459       if test $ac_must_keep_next = true; then
2460         ac_must_keep_next=false # Got value, back to normal.
2461       else
2462         case $ac_arg in
2463           *=* | --config-cache | -C | -disable-* | --disable-* \
2464           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2465           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2466           | -with-* | --with-* | -without-* | --without-* | --x)
2467             case "$ac_configure_args0 " in
2468               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2469             esac
2470             ;;
2471           -* ) ac_must_keep_next=true ;;
2472         esac
2473       fi
2474       as_fn_append ac_configure_args " '$ac_arg'"
2475       ;;
2476     esac
2477   done
2478 done
2479 { ac_configure_args0=; unset ac_configure_args0;}
2480 { ac_configure_args1=; unset ac_configure_args1;}
2481
2482 # When interrupted or exit'd, cleanup temporary files, and complete
2483 # config.log.  We remove comments because anyway the quotes in there
2484 # would cause problems or look ugly.
2485 # WARNING: Use '\'' to represent an apostrophe within the trap.
2486 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2487 trap 'exit_status=$?
2488   # Save into config.log some information that might help in debugging.
2489   {
2490     echo
2491
2492     $as_echo "## ---------------- ##
2493 ## Cache variables. ##
2494 ## ---------------- ##"
2495     echo
2496     # The following way of writing the cache mishandles newlines in values,
2497 (
2498   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2499     eval ac_val=\$$ac_var
2500     case $ac_val in #(
2501     *${as_nl}*)
2502       case $ac_var in #(
2503       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2504 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2505       esac
2506       case $ac_var in #(
2507       _ | IFS | as_nl) ;; #(
2508       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2509       *) { eval $ac_var=; unset $ac_var;} ;;
2510       esac ;;
2511     esac
2512   done
2513   (set) 2>&1 |
2514     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2515     *${as_nl}ac_space=\ *)
2516       sed -n \
2517         "s/'\''/'\''\\\\'\'''\''/g;
2518           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2519       ;; #(
2520     *)
2521       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2522       ;;
2523     esac |
2524     sort
2525 )
2526     echo
2527
2528     $as_echo "## ----------------- ##
2529 ## Output variables. ##
2530 ## ----------------- ##"
2531     echo
2532     for ac_var in $ac_subst_vars
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
2542     if test -n "$ac_subst_files"; then
2543       $as_echo "## ------------------- ##
2544 ## File substitutions. ##
2545 ## ------------------- ##"
2546       echo
2547       for ac_var in $ac_subst_files
2548       do
2549         eval ac_val=\$$ac_var
2550         case $ac_val in
2551         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2552         esac
2553         $as_echo "$ac_var='\''$ac_val'\''"
2554       done | sort
2555       echo
2556     fi
2557
2558     if test -s confdefs.h; then
2559       $as_echo "## ----------- ##
2560 ## confdefs.h. ##
2561 ## ----------- ##"
2562       echo
2563       cat confdefs.h
2564       echo
2565     fi
2566     test "$ac_signal" != 0 &&
2567       $as_echo "$as_me: caught signal $ac_signal"
2568     $as_echo "$as_me: exit $exit_status"
2569   } >&5
2570   rm -f core *.core core.conftest.* &&
2571     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2572     exit $exit_status
2573 ' 0
2574 for ac_signal in 1 2 13 15; do
2575   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2576 done
2577 ac_signal=0
2578
2579 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2580 rm -f -r conftest* confdefs.h
2581
2582 $as_echo "/* confdefs.h */" > confdefs.h
2583
2584 # Predefined preprocessor variables.
2585
2586 cat >>confdefs.h <<_ACEOF
2587 #define PACKAGE_NAME "$PACKAGE_NAME"
2588 _ACEOF
2589
2590 cat >>confdefs.h <<_ACEOF
2591 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2592 _ACEOF
2593
2594 cat >>confdefs.h <<_ACEOF
2595 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2596 _ACEOF
2597
2598 cat >>confdefs.h <<_ACEOF
2599 #define PACKAGE_STRING "$PACKAGE_STRING"
2600 _ACEOF
2601
2602 cat >>confdefs.h <<_ACEOF
2603 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2604 _ACEOF
2605
2606 cat >>confdefs.h <<_ACEOF
2607 #define PACKAGE_URL "$PACKAGE_URL"
2608 _ACEOF
2609
2610
2611 # Let the site file select an alternate cache file if it wants to.
2612 # Prefer an explicitly selected file to automatically selected ones.
2613 ac_site_file1=NONE
2614 ac_site_file2=NONE
2615 if test -n "$CONFIG_SITE"; then
2616   # We do not want a PATH search for config.site.
2617   case $CONFIG_SITE in #((
2618     -*)  ac_site_file1=./$CONFIG_SITE;;
2619     */*) ac_site_file1=$CONFIG_SITE;;
2620     *)   ac_site_file1=./$CONFIG_SITE;;
2621   esac
2622 elif test "x$prefix" != xNONE; then
2623   ac_site_file1=$prefix/share/config.site
2624   ac_site_file2=$prefix/etc/config.site
2625 else
2626   ac_site_file1=$ac_default_prefix/share/config.site
2627   ac_site_file2=$ac_default_prefix/etc/config.site
2628 fi
2629 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2630 do
2631   test "x$ac_site_file" = xNONE && continue
2632   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2633     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2634 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2635     sed 's/^/| /' "$ac_site_file" >&5
2636     . "$ac_site_file" \
2637       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2639 as_fn_error $? "failed to load site script $ac_site_file
2640 See \`config.log' for more details" "$LINENO" 5 ; }
2641   fi
2642 done
2643
2644 if test -r "$cache_file"; then
2645   # Some versions of bash will fail to source /dev/null (special files
2646   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2647   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2648     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2649 $as_echo "$as_me: loading cache $cache_file" >&6;}
2650     case $cache_file in
2651       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2652       *)                      . "./$cache_file";;
2653     esac
2654   fi
2655 else
2656   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2657 $as_echo "$as_me: creating cache $cache_file" >&6;}
2658   >$cache_file
2659 fi
2660
2661 # Check that the precious variables saved in the cache have kept the same
2662 # value.
2663 ac_cache_corrupted=false
2664 for ac_var in $ac_precious_vars; do
2665   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2666   eval ac_new_set=\$ac_env_${ac_var}_set
2667   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2668   eval ac_new_val=\$ac_env_${ac_var}_value
2669   case $ac_old_set,$ac_new_set in
2670     set,)
2671       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2672 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2673       ac_cache_corrupted=: ;;
2674     ,set)
2675       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2676 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2677       ac_cache_corrupted=: ;;
2678     ,);;
2679     *)
2680       if test "x$ac_old_val" != "x$ac_new_val"; then
2681         # differences in whitespace do not lead to failure.
2682         ac_old_val_w=`echo x $ac_old_val`
2683         ac_new_val_w=`echo x $ac_new_val`
2684         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2685           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2686 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2687           ac_cache_corrupted=:
2688         else
2689           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2690 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2691           eval $ac_var=\$ac_old_val
2692         fi
2693         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2694 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2695         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2696 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2697       fi;;
2698   esac
2699   # Pass precious variables to config.status.
2700   if test "$ac_new_set" = set; then
2701     case $ac_new_val in
2702     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2703     *) ac_arg=$ac_var=$ac_new_val ;;
2704     esac
2705     case " $ac_configure_args " in
2706       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2707       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2708     esac
2709   fi
2710 done
2711 if $ac_cache_corrupted; then
2712   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2714   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2715 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2716   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2717 fi
2718 ## -------------------- ##
2719 ## Main body of script. ##
2720 ## -------------------- ##
2721
2722 ac_ext=c
2723 ac_cpp='$CPP $CPPFLAGS'
2724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2727
2728
2729
2730 ac_aux_dir=
2731 for ac_dir in build-aux "$srcdir"/build-aux; do
2732   if test -f "$ac_dir/install-sh"; then
2733     ac_aux_dir=$ac_dir
2734     ac_install_sh="$ac_aux_dir/install-sh -c"
2735     break
2736   elif test -f "$ac_dir/install.sh"; then
2737     ac_aux_dir=$ac_dir
2738     ac_install_sh="$ac_aux_dir/install.sh -c"
2739     break
2740   elif test -f "$ac_dir/shtool"; then
2741     ac_aux_dir=$ac_dir
2742     ac_install_sh="$ac_aux_dir/shtool install -c"
2743     break
2744   fi
2745 done
2746 if test -z "$ac_aux_dir"; then
2747   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2748 fi
2749
2750 # These three variables are undocumented and unsupported,
2751 # and are intended to be withdrawn in a future Autoconf release.
2752 # They can cause serious problems if a builder's source tree is in a directory
2753 # whose full name contains unusual characters.
2754 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2755 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2756 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2757
2758
2759
2760 am__api_version='1.11'
2761
2762 # Find a good install program.  We prefer a C program (faster),
2763 # so one script is as good as another.  But avoid the broken or
2764 # incompatible versions:
2765 # SysV /etc/install, /usr/sbin/install
2766 # SunOS /usr/etc/install
2767 # IRIX /sbin/install
2768 # AIX /bin/install
2769 # AmigaOS /C/install, which installs bootblocks on floppy discs
2770 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2771 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2772 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2773 # OS/2's system install, which has a completely different semantic
2774 # ./install, which can be erroneously created by make from ./install.sh.
2775 # Reject install programs that cannot install multiple files.
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2777 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2778 if test -z "$INSTALL"; then
2779 if test "${ac_cv_path_install+set}" = set; then :
2780   $as_echo_n "(cached) " >&6
2781 else
2782   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2783 for as_dir in $PATH
2784 do
2785   IFS=$as_save_IFS
2786   test -z "$as_dir" && as_dir=.
2787     # Account for people who put trailing slashes in PATH elements.
2788 case $as_dir/ in #((
2789   ./ | .// | /[cC]/* | \
2790   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2791   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2792   /usr/ucb/* ) ;;
2793   *)
2794     # OSF1 and SCO ODT 3.0 have their own names for install.
2795     # Don't use installbsd from OSF since it installs stuff as root
2796     # by default.
2797     for ac_prog in ginstall scoinst install; do
2798       for ac_exec_ext in '' $ac_executable_extensions; do
2799         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2800           if test $ac_prog = install &&
2801             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2802             # AIX install.  It has an incompatible calling convention.
2803             :
2804           elif test $ac_prog = install &&
2805             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2806             # program-specific install script used by HP pwplus--don't use.
2807             :
2808           else
2809             rm -rf conftest.one conftest.two conftest.dir
2810             echo one > conftest.one
2811             echo two > conftest.two
2812             mkdir conftest.dir
2813             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2814               test -s conftest.one && test -s conftest.two &&
2815               test -s conftest.dir/conftest.one &&
2816               test -s conftest.dir/conftest.two
2817             then
2818               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2819               break 3
2820             fi
2821           fi
2822         fi
2823       done
2824     done
2825     ;;
2826 esac
2827
2828   done
2829 IFS=$as_save_IFS
2830
2831 rm -rf conftest.one conftest.two conftest.dir
2832
2833 fi
2834   if test "${ac_cv_path_install+set}" = set; then
2835     INSTALL=$ac_cv_path_install
2836   else
2837     # As a last resort, use the slow shell script.  Don't cache a
2838     # value for INSTALL within a source directory, because that will
2839     # break other packages using the cache if that directory is
2840     # removed, or if the value is a relative name.
2841     INSTALL=$ac_install_sh
2842   fi
2843 fi
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2845 $as_echo "$INSTALL" >&6; }
2846
2847 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2848 # It thinks the first close brace ends the variable substitution.
2849 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2850
2851 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2852
2853 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2854
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2856 $as_echo_n "checking whether build environment is sane... " >&6; }
2857 # Just in case
2858 sleep 1
2859 echo timestamp > conftest.file
2860 # Reject unsafe characters in $srcdir or the absolute working directory
2861 # name.  Accept space and tab only in the latter.
2862 am_lf='
2863 '
2864 case `pwd` in
2865   *[\\\"\#\$\&\'\`$am_lf]*)
2866     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2867 esac
2868 case $srcdir in
2869   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2870     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2871 esac
2872
2873 # Do `set' in a subshell so we don't clobber the current shell's
2874 # arguments.  Must try -L first in case configure is actually a
2875 # symlink; some systems play weird games with the mod time of symlinks
2876 # (eg FreeBSD returns the mod time of the symlink's containing
2877 # directory).
2878 if (
2879    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2880    if test "$*" = "X"; then
2881       # -L didn't work.
2882       set X `ls -t "$srcdir/configure" conftest.file`
2883    fi
2884    rm -f conftest.file
2885    if test "$*" != "X $srcdir/configure conftest.file" \
2886       && test "$*" != "X conftest.file $srcdir/configure"; then
2887
2888       # If neither matched, then we have a broken ls.  This can happen
2889       # if, for instance, CONFIG_SHELL is bash and it inherits a
2890       # broken ls alias from the environment.  This has actually
2891       # happened.  Such a system could not be considered "sane".
2892       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2893 alias in your environment" "$LINENO" 5
2894    fi
2895
2896    test "$2" = conftest.file
2897    )
2898 then
2899    # Ok.
2900    :
2901 else
2902    as_fn_error $? "newly created file is older than distributed files!
2903 Check your system clock" "$LINENO" 5
2904 fi
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2906 $as_echo "yes" >&6; }
2907 test "$program_prefix" != NONE &&
2908   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2909 # Use a double $ so make ignores it.
2910 test "$program_suffix" != NONE &&
2911   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2912 # Double any \ or $.
2913 # By default was `s,x,x', remove it if useless.
2914 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2915 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2916
2917 # expand $ac_aux_dir to an absolute path
2918 am_aux_dir=`cd $ac_aux_dir && pwd`
2919
2920 if test x"${MISSING+set}" != xset; then
2921   case $am_aux_dir in
2922   *\ * | *\     *)
2923     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2924   *)
2925     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2926   esac
2927 fi
2928 # Use eval to expand $SHELL
2929 if eval "$MISSING --run true"; then
2930   am_missing_run="$MISSING --run "
2931 else
2932   am_missing_run=
2933   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2934 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2935 fi
2936
2937 if test x"${install_sh}" != xset; then
2938   case $am_aux_dir in
2939   *\ * | *\     *)
2940     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2941   *)
2942     install_sh="\${SHELL} $am_aux_dir/install-sh"
2943   esac
2944 fi
2945
2946 # Installed binaries are usually stripped using `strip' when the user
2947 # run `make install-strip'.  However `strip' might not be the right
2948 # tool to use in cross-compilation environments, therefore Automake
2949 # will honor the `STRIP' environment variable to overrule this program.
2950 if test "$cross_compiling" != no; then
2951   if test -n "$ac_tool_prefix"; then
2952   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2953 set dummy ${ac_tool_prefix}strip; ac_word=$2
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2955 $as_echo_n "checking for $ac_word... " >&6; }
2956 if test "${ac_cv_prog_STRIP+set}" = set; then :
2957   $as_echo_n "(cached) " >&6
2958 else
2959   if test -n "$STRIP"; then
2960   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2961 else
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 for as_dir in $PATH
2964 do
2965   IFS=$as_save_IFS
2966   test -z "$as_dir" && as_dir=.
2967     for ac_exec_ext in '' $ac_executable_extensions; do
2968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2969     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2971     break 2
2972   fi
2973 done
2974   done
2975 IFS=$as_save_IFS
2976
2977 fi
2978 fi
2979 STRIP=$ac_cv_prog_STRIP
2980 if test -n "$STRIP"; then
2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2982 $as_echo "$STRIP" >&6; }
2983 else
2984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2985 $as_echo "no" >&6; }
2986 fi
2987
2988
2989 fi
2990 if test -z "$ac_cv_prog_STRIP"; then
2991   ac_ct_STRIP=$STRIP
2992   # Extract the first word of "strip", so it can be a program name with args.
2993 set dummy strip; ac_word=$2
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; }
2996 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2997   $as_echo_n "(cached) " >&6
2998 else
2999   if test -n "$ac_ct_STRIP"; then
3000   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3001 else
3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003 for as_dir in $PATH
3004 do
3005   IFS=$as_save_IFS
3006   test -z "$as_dir" && as_dir=.
3007     for ac_exec_ext in '' $ac_executable_extensions; do
3008   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009     ac_cv_prog_ac_ct_STRIP="strip"
3010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3011     break 2
3012   fi
3013 done
3014   done
3015 IFS=$as_save_IFS
3016
3017 fi
3018 fi
3019 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3020 if test -n "$ac_ct_STRIP"; then
3021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3022 $as_echo "$ac_ct_STRIP" >&6; }
3023 else
3024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3026 fi
3027
3028   if test "x$ac_ct_STRIP" = x; then
3029     STRIP=":"
3030   else
3031     case $cross_compiling:$ac_tool_warned in
3032 yes:)
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3035 ac_tool_warned=yes ;;
3036 esac
3037     STRIP=$ac_ct_STRIP
3038   fi
3039 else
3040   STRIP="$ac_cv_prog_STRIP"
3041 fi
3042
3043 fi
3044 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3045
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3047 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3048 if test -z "$MKDIR_P"; then
3049   if test "${ac_cv_path_mkdir+set}" = set; then :
3050   $as_echo_n "(cached) " >&6
3051 else
3052   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3054 do
3055   IFS=$as_save_IFS
3056   test -z "$as_dir" && as_dir=.
3057     for ac_prog in mkdir gmkdir; do
3058          for ac_exec_ext in '' $ac_executable_extensions; do
3059            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3060            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3061              'mkdir (GNU coreutils) '* | \
3062              'mkdir (coreutils) '* | \
3063              'mkdir (fileutils) '4.1*)
3064                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3065                break 3;;
3066            esac
3067          done
3068        done
3069   done
3070 IFS=$as_save_IFS
3071
3072 fi
3073
3074   test -d ./--version && rmdir ./--version
3075   if test "${ac_cv_path_mkdir+set}" = set; then
3076     MKDIR_P="$ac_cv_path_mkdir -p"
3077   else
3078     # As a last resort, use the slow shell script.  Don't cache a
3079     # value for MKDIR_P within a source directory, because that will
3080     # break other packages using the cache if that directory is
3081     # removed, or if the value is a relative name.
3082     MKDIR_P="$ac_install_sh -d"
3083   fi
3084 fi
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3086 $as_echo "$MKDIR_P" >&6; }
3087
3088 mkdir_p="$MKDIR_P"
3089 case $mkdir_p in
3090   [\\/$]* | ?:[\\/]*) ;;
3091   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3092 esac
3093
3094 for ac_prog in gawk mawk nawk awk
3095 do
3096   # Extract the first word of "$ac_prog", so it can be a program name with args.
3097 set dummy $ac_prog; ac_word=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if test "${ac_cv_prog_AWK+set}" = set; then :
3101   $as_echo_n "(cached) " >&6
3102 else
3103   if test -n "$AWK"; then
3104   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3105 else
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107 for as_dir in $PATH
3108 do
3109   IFS=$as_save_IFS
3110   test -z "$as_dir" && as_dir=.
3111     for ac_exec_ext in '' $ac_executable_extensions; do
3112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113     ac_cv_prog_AWK="$ac_prog"
3114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115     break 2
3116   fi
3117 done
3118   done
3119 IFS=$as_save_IFS
3120
3121 fi
3122 fi
3123 AWK=$ac_cv_prog_AWK
3124 if test -n "$AWK"; then
3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3126 $as_echo "$AWK" >&6; }
3127 else
3128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3130 fi
3131
3132
3133   test -n "$AWK" && break
3134 done
3135
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3137 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3138 set x ${MAKE-make}
3139 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3140 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3141   $as_echo_n "(cached) " >&6
3142 else
3143   cat >conftest.make <<\_ACEOF
3144 SHELL = /bin/sh
3145 all:
3146         @echo '@@@%%%=$(MAKE)=@@@%%%'
3147 _ACEOF
3148 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3149 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3150   *@@@%%%=?*=@@@%%%*)
3151     eval ac_cv_prog_make_${ac_make}_set=yes;;
3152   *)
3153     eval ac_cv_prog_make_${ac_make}_set=no;;
3154 esac
3155 rm -f conftest.make
3156 fi
3157 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3159 $as_echo "yes" >&6; }
3160   SET_MAKE=
3161 else
3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3164   SET_MAKE="MAKE=${MAKE-make}"
3165 fi
3166
3167 rm -rf .tst 2>/dev/null
3168 mkdir .tst 2>/dev/null
3169 if test -d .tst; then
3170   am__leading_dot=.
3171 else
3172   am__leading_dot=_
3173 fi
3174 rmdir .tst 2>/dev/null
3175
3176 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3177   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3178   # is not polluted with repeated "-I."
3179   am__isrc=' -I$(srcdir)'
3180   # test to see if srcdir already configured
3181   if test -f $srcdir/config.status; then
3182     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3183   fi
3184 fi
3185
3186 # test whether we have cygpath
3187 if test -z "$CYGPATH_W"; then
3188   if (cygpath --version) >/dev/null 2>/dev/null; then
3189     CYGPATH_W='cygpath -w'
3190   else
3191     CYGPATH_W=echo
3192   fi
3193 fi
3194
3195
3196 # Define the identity of the package.
3197  PACKAGE='opensaml'
3198  VERSION='2.5'
3199
3200
3201 cat >>confdefs.h <<_ACEOF
3202 #define PACKAGE "$PACKAGE"
3203 _ACEOF
3204
3205
3206 cat >>confdefs.h <<_ACEOF
3207 #define VERSION "$VERSION"
3208 _ACEOF
3209
3210 # Some tools Automake needs.
3211
3212 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3213
3214
3215 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3216
3217
3218 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3219
3220
3221 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3222
3223
3224 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3225
3226 # We need awk for the "check" target.  The system "awk" is bad on
3227 # some platforms.
3228 # Always define AMTAR for backward compatibility.
3229
3230 AMTAR=${AMTAR-"${am_missing_run}tar"}
3231
3232 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3233
3234
3235
3236
3237
3238 # Check whether --enable-static was given.
3239 if test "${enable_static+set}" = set; then :
3240   enableval=$enable_static; p=${PACKAGE-default}
3241     case $enableval in
3242     yes) enable_static=yes ;;
3243     no) enable_static=no ;;
3244     *)
3245      enable_static=no
3246       # Look at the argument we got.  We use all the common list separators.
3247       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3248       for pkg in $enableval; do
3249         IFS="$lt_save_ifs"
3250         if test "X$pkg" = "X$p"; then
3251           enable_static=yes
3252         fi
3253       done
3254       IFS="$lt_save_ifs"
3255       ;;
3256     esac
3257 else
3258   enable_static=no
3259 fi
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269 case `pwd` in
3270   *\ * | *\     *)
3271     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3272 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3273 esac
3274
3275
3276
3277 macro_version='2.4'
3278 macro_revision='1.3293'
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292 ltmain="$ac_aux_dir/ltmain.sh"
3293
3294 # Make sure we can run config.sub.
3295 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3296   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3297
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3299 $as_echo_n "checking build system type... " >&6; }
3300 if test "${ac_cv_build+set}" = set; then :
3301   $as_echo_n "(cached) " >&6
3302 else
3303   ac_build_alias=$build_alias
3304 test "x$ac_build_alias" = x &&
3305   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3306 test "x$ac_build_alias" = x &&
3307   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3308 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3309   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3310
3311 fi
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3313 $as_echo "$ac_cv_build" >&6; }
3314 case $ac_cv_build in
3315 *-*-*) ;;
3316 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3317 esac
3318 build=$ac_cv_build
3319 ac_save_IFS=$IFS; IFS='-'
3320 set x $ac_cv_build
3321 shift
3322 build_cpu=$1
3323 build_vendor=$2
3324 shift; shift
3325 # Remember, the first character of IFS is used to create $*,
3326 # except with old shells:
3327 build_os=$*
3328 IFS=$ac_save_IFS
3329 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3330
3331
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3333 $as_echo_n "checking host system type... " >&6; }
3334 if test "${ac_cv_host+set}" = set; then :
3335   $as_echo_n "(cached) " >&6
3336 else
3337   if test "x$host_alias" = x; then
3338   ac_cv_host=$ac_cv_build
3339 else
3340   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3341     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3342 fi
3343
3344 fi
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3346 $as_echo "$ac_cv_host" >&6; }
3347 case $ac_cv_host in
3348 *-*-*) ;;
3349 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3350 esac
3351 host=$ac_cv_host
3352 ac_save_IFS=$IFS; IFS='-'
3353 set x $ac_cv_host
3354 shift
3355 host_cpu=$1
3356 host_vendor=$2
3357 shift; shift
3358 # Remember, the first character of IFS is used to create $*,
3359 # except with old shells:
3360 host_os=$*
3361 IFS=$ac_save_IFS
3362 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3363
3364
3365 # Backslashify metacharacters that are still active within
3366 # double-quoted strings.
3367 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3368
3369 # Same as above, but do not quote variable references.
3370 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3371
3372 # Sed substitution to delay expansion of an escaped shell variable in a
3373 # double_quote_subst'ed string.
3374 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3375
3376 # Sed substitution to delay expansion of an escaped single quote.
3377 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3378
3379 # Sed substitution to avoid accidental globbing in evaled expressions
3380 no_glob_subst='s/\*/\\\*/g'
3381
3382 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3383 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3384 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3385
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3387 $as_echo_n "checking how to print strings... " >&6; }
3388 # Test print first, because it will be a builtin if present.
3389 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3390    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3391   ECHO='print -r --'
3392 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3393   ECHO='printf %s\n'
3394 else
3395   # Use this function as a fallback that always works.
3396   func_fallback_echo ()
3397   {
3398     eval 'cat <<_LTECHO_EOF
3399 $1
3400 _LTECHO_EOF'
3401   }
3402   ECHO='func_fallback_echo'
3403 fi
3404
3405 # func_echo_all arg...
3406 # Invoke $ECHO with all args, space-separated.
3407 func_echo_all ()
3408 {
3409     $ECHO ""
3410 }
3411
3412 case "$ECHO" in
3413   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3414 $as_echo "printf" >&6; } ;;
3415   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3416 $as_echo "print -r" >&6; } ;;
3417   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3418 $as_echo "cat" >&6; } ;;
3419 esac
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434 DEPDIR="${am__leading_dot}deps"
3435
3436 ac_config_commands="$ac_config_commands depfiles"
3437
3438
3439 am_make=${MAKE-make}
3440 cat > confinc << 'END'
3441 am__doit:
3442         @echo this is the am__doit target
3443 .PHONY: am__doit
3444 END
3445 # If we don't find an include directive, just comment out the code.
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3447 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3448 am__include="#"
3449 am__quote=
3450 _am_result=none
3451 # First try GNU make style include.
3452 echo "include confinc" > confmf
3453 # Ignore all kinds of additional output from `make'.
3454 case `$am_make -s -f confmf 2> /dev/null` in #(
3455 *the\ am__doit\ target*)
3456   am__include=include
3457   am__quote=
3458   _am_result=GNU
3459   ;;
3460 esac
3461 # Now try BSD make style include.
3462 if test "$am__include" = "#"; then
3463    echo '.include "confinc"' > confmf
3464    case `$am_make -s -f confmf 2> /dev/null` in #(
3465    *the\ am__doit\ target*)
3466      am__include=.include
3467      am__quote="\""
3468      _am_result=BSD
3469      ;;
3470    esac
3471 fi
3472
3473
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3475 $as_echo "$_am_result" >&6; }
3476 rm -f confinc confmf
3477
3478 # Check whether --enable-dependency-tracking was given.
3479 if test "${enable_dependency_tracking+set}" = set; then :
3480   enableval=$enable_dependency_tracking;
3481 fi
3482
3483 if test "x$enable_dependency_tracking" != xno; then
3484   am_depcomp="$ac_aux_dir/depcomp"
3485   AMDEPBACKSLASH='\'
3486 fi
3487  if test "x$enable_dependency_tracking" != xno; then
3488   AMDEP_TRUE=
3489   AMDEP_FALSE='#'
3490 else
3491   AMDEP_TRUE='#'
3492   AMDEP_FALSE=
3493 fi
3494
3495
3496 ac_ext=c
3497 ac_cpp='$CPP $CPPFLAGS'
3498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3501 if test -n "$ac_tool_prefix"; then
3502   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3503 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3505 $as_echo_n "checking for $ac_word... " >&6; }
3506 if test "${ac_cv_prog_CC+set}" = set; then :
3507   $as_echo_n "(cached) " >&6
3508 else
3509   if test -n "$CC"; then
3510   ac_cv_prog_CC="$CC" # Let the user override the test.
3511 else
3512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 for as_dir in $PATH
3514 do
3515   IFS=$as_save_IFS
3516   test -z "$as_dir" && as_dir=.
3517     for ac_exec_ext in '' $ac_executable_extensions; do
3518   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3519     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3520     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3521     break 2
3522   fi
3523 done
3524   done
3525 IFS=$as_save_IFS
3526
3527 fi
3528 fi
3529 CC=$ac_cv_prog_CC
3530 if test -n "$CC"; then
3531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3532 $as_echo "$CC" >&6; }
3533 else
3534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3535 $as_echo "no" >&6; }
3536 fi
3537
3538
3539 fi
3540 if test -z "$ac_cv_prog_CC"; then
3541   ac_ct_CC=$CC
3542   # Extract the first word of "gcc", so it can be a program name with args.
3543 set dummy gcc; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3547   $as_echo_n "(cached) " >&6
3548 else
3549   if test -n "$ac_ct_CC"; then
3550   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3554 do
3555   IFS=$as_save_IFS
3556   test -z "$as_dir" && as_dir=.
3557     for ac_exec_ext in '' $ac_executable_extensions; do
3558   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3559     ac_cv_prog_ac_ct_CC="gcc"
3560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561     break 2
3562   fi
3563 done
3564   done
3565 IFS=$as_save_IFS
3566
3567 fi
3568 fi
3569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3570 if test -n "$ac_ct_CC"; then
3571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3572 $as_echo "$ac_ct_CC" >&6; }
3573 else
3574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3576 fi
3577
3578   if test "x$ac_ct_CC" = x; then
3579     CC=""
3580   else
3581     case $cross_compiling:$ac_tool_warned in
3582 yes:)
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3585 ac_tool_warned=yes ;;
3586 esac
3587     CC=$ac_ct_CC
3588   fi
3589 else
3590   CC="$ac_cv_prog_CC"
3591 fi
3592
3593 if test -z "$CC"; then
3594           if test -n "$ac_tool_prefix"; then
3595     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3596 set dummy ${ac_tool_prefix}cc; ac_word=$2
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if test "${ac_cv_prog_CC+set}" = set; then :
3600   $as_echo_n "(cached) " >&6
3601 else
3602   if test -n "$CC"; then
3603   ac_cv_prog_CC="$CC" # Let the user override the test.
3604 else
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606 for as_dir in $PATH
3607 do
3608   IFS=$as_save_IFS
3609   test -z "$as_dir" && as_dir=.
3610     for ac_exec_ext in '' $ac_executable_extensions; do
3611   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3612     ac_cv_prog_CC="${ac_tool_prefix}cc"
3613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614     break 2
3615   fi
3616 done
3617   done
3618 IFS=$as_save_IFS
3619
3620 fi
3621 fi
3622 CC=$ac_cv_prog_CC
3623 if test -n "$CC"; then
3624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3625 $as_echo "$CC" >&6; }
3626 else
3627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3629 fi
3630
3631
3632   fi
3633 fi
3634 if test -z "$CC"; then
3635   # Extract the first word of "cc", so it can be a program name with args.
3636 set dummy cc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_CC+set}" = set; then :
3640   $as_echo_n "(cached) " >&6
3641 else
3642   if test -n "$CC"; then
3643   ac_cv_prog_CC="$CC" # Let the user override the test.
3644 else
3645   ac_prog_rejected=no
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3648 do
3649   IFS=$as_save_IFS
3650   test -z "$as_dir" && as_dir=.
3651     for ac_exec_ext in '' $ac_executable_extensions; do
3652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3654        ac_prog_rejected=yes
3655        continue
3656      fi
3657     ac_cv_prog_CC="cc"
3658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3659     break 2
3660   fi
3661 done
3662   done
3663 IFS=$as_save_IFS
3664
3665 if test $ac_prog_rejected = yes; then
3666   # We found a bogon in the path, so make sure we never use it.
3667   set dummy $ac_cv_prog_CC
3668   shift
3669   if test $# != 0; then
3670     # We chose a different compiler from the bogus one.
3671     # However, it has the same basename, so the bogon will be chosen
3672     # first if we set CC to just the basename; use the full file name.
3673     shift
3674     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3675   fi
3676 fi
3677 fi
3678 fi
3679 CC=$ac_cv_prog_CC
3680 if test -n "$CC"; then
3681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3682 $as_echo "$CC" >&6; }
3683 else
3684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3686 fi
3687
3688
3689 fi
3690 if test -z "$CC"; then
3691   if test -n "$ac_tool_prefix"; then
3692   for ac_prog in cl.exe
3693   do
3694     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3695 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if test "${ac_cv_prog_CC+set}" = set; then :
3699   $as_echo_n "(cached) " >&6
3700 else
3701   if test -n "$CC"; then
3702   ac_cv_prog_CC="$CC" # Let the user override the test.
3703 else
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH
3706 do
3707   IFS=$as_save_IFS
3708   test -z "$as_dir" && as_dir=.
3709     for ac_exec_ext in '' $ac_executable_extensions; do
3710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3711     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713     break 2
3714   fi
3715 done
3716   done
3717 IFS=$as_save_IFS
3718
3719 fi
3720 fi
3721 CC=$ac_cv_prog_CC
3722 if test -n "$CC"; then
3723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3724 $as_echo "$CC" >&6; }
3725 else
3726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3728 fi
3729
3730
3731     test -n "$CC" && break
3732   done
3733 fi
3734 if test -z "$CC"; then
3735   ac_ct_CC=$CC
3736   for ac_prog in cl.exe
3737 do
3738   # Extract the first word of "$ac_prog", so it can be a program name with args.
3739 set dummy $ac_prog; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3743   $as_echo_n "(cached) " >&6
3744 else
3745   if test -n "$ac_ct_CC"; then
3746   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3750 do
3751   IFS=$as_save_IFS
3752   test -z "$as_dir" && as_dir=.
3753     for ac_exec_ext in '' $ac_executable_extensions; do
3754   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755     ac_cv_prog_ac_ct_CC="$ac_prog"
3756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757     break 2
3758   fi
3759 done
3760   done
3761 IFS=$as_save_IFS
3762
3763 fi
3764 fi
3765 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3766 if test -n "$ac_ct_CC"; then
3767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3768 $as_echo "$ac_ct_CC" >&6; }
3769 else
3770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3772 fi
3773
3774
3775   test -n "$ac_ct_CC" && break
3776 done
3777
3778   if test "x$ac_ct_CC" = x; then
3779     CC=""
3780   else
3781     case $cross_compiling:$ac_tool_warned in
3782 yes:)
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3785 ac_tool_warned=yes ;;
3786 esac
3787     CC=$ac_ct_CC
3788   fi
3789 fi
3790
3791 fi
3792
3793
3794 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3796 as_fn_error $? "no acceptable C compiler found in \$PATH
3797 See \`config.log' for more details" "$LINENO" 5 ; }
3798
3799 # Provide some information about the compiler.
3800 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3801 set X $ac_compile
3802 ac_compiler=$2
3803 for ac_option in --version -v -V -qversion; do
3804   { { ac_try="$ac_compiler $ac_option >&5"
3805 case "(($ac_try" in
3806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807   *) ac_try_echo=$ac_try;;
3808 esac
3809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3810 $as_echo "$ac_try_echo"; } >&5
3811   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3812   ac_status=$?
3813   if test -s conftest.err; then
3814     sed '10a\
3815 ... rest of stderr output deleted ...
3816          10q' conftest.err >conftest.er1
3817     cat conftest.er1 >&5
3818   fi
3819   rm -f conftest.er1 conftest.err
3820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3821   test $ac_status = 0; }
3822 done
3823
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825 /* end confdefs.h.  */
3826
3827 int
3828 main ()
3829 {
3830
3831   ;
3832   return 0;
3833 }
3834 _ACEOF
3835 ac_clean_files_save=$ac_clean_files
3836 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3837 # Try to create an executable without -o first, disregard a.out.
3838 # It will help us diagnose broken compilers, and finding out an intuition
3839 # of exeext.
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3841 $as_echo_n "checking whether the C compiler works... " >&6; }
3842 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3843
3844 # The possible output files:
3845 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3846
3847 ac_rmfiles=
3848 for ac_file in $ac_files
3849 do
3850   case $ac_file in
3851     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3852     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3853   esac
3854 done
3855 rm -f $ac_rmfiles
3856
3857 if { { ac_try="$ac_link_default"
3858 case "(($ac_try" in
3859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860   *) ac_try_echo=$ac_try;;
3861 esac
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864   (eval "$ac_link_default") 2>&5
3865   ac_status=$?
3866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867   test $ac_status = 0; }; then :
3868   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3869 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3870 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3871 # so that the user can short-circuit this test for compilers unknown to
3872 # Autoconf.
3873 for ac_file in $ac_files ''
3874 do
3875   test -f "$ac_file" || continue
3876   case $ac_file in
3877     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3878         ;;
3879     [ab].out )
3880         # We found the default executable, but exeext='' is most
3881         # certainly right.
3882         break;;
3883     *.* )
3884         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3885         then :; else
3886            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3887         fi
3888         # We set ac_cv_exeext here because the later test for it is not
3889         # safe: cross compilers may not add the suffix if given an `-o'
3890         # argument, so we may need to know it at that point already.
3891         # Even if this section looks crufty: it has the advantage of
3892         # actually working.
3893         break;;
3894     * )
3895         break;;
3896   esac
3897 done
3898 test "$ac_cv_exeext" = no && ac_cv_exeext=
3899
3900 else
3901   ac_file=''
3902 fi
3903 if test -z "$ac_file"; then :
3904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3906 $as_echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.$ac_ext >&5
3908
3909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3911 as_fn_error 77 "C compiler cannot create executables
3912 See \`config.log' for more details" "$LINENO" 5 ; }
3913 else
3914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3915 $as_echo "yes" >&6; }
3916 fi
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3918 $as_echo_n "checking for C compiler default output file name... " >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3920 $as_echo "$ac_file" >&6; }
3921 ac_exeext=$ac_cv_exeext
3922
3923 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3924 ac_clean_files=$ac_clean_files_save
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3926 $as_echo_n "checking for suffix of executables... " >&6; }
3927 if { { ac_try="$ac_link"
3928 case "(($ac_try" in
3929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930   *) ac_try_echo=$ac_try;;
3931 esac
3932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933 $as_echo "$ac_try_echo"; } >&5
3934   (eval "$ac_link") 2>&5
3935   ac_status=$?
3936   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937   test $ac_status = 0; }; then :
3938   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3939 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3940 # work properly (i.e., refer to `conftest.exe'), while it won't with
3941 # `rm'.
3942 for ac_file in conftest.exe conftest conftest.*; do
3943   test -f "$ac_file" || continue
3944   case $ac_file in
3945     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3946     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3947           break;;
3948     * ) break;;
3949   esac
3950 done
3951 else
3952   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3954 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3955 See \`config.log' for more details" "$LINENO" 5 ; }
3956 fi
3957 rm -f conftest conftest$ac_cv_exeext
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3959 $as_echo "$ac_cv_exeext" >&6; }
3960
3961 rm -f conftest.$ac_ext
3962 EXEEXT=$ac_cv_exeext
3963 ac_exeext=$EXEEXT
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h.  */
3966 #include <stdio.h>
3967 int
3968 main ()
3969 {
3970 FILE *f = fopen ("conftest.out", "w");
3971  return ferror (f) || fclose (f) != 0;
3972
3973   ;
3974   return 0;
3975 }
3976 _ACEOF
3977 ac_clean_files="$ac_clean_files conftest.out"
3978 # Check that the compiler produces executables we can run.  If not, either
3979 # the compiler is broken, or we cross compile.
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3981 $as_echo_n "checking whether we are cross compiling... " >&6; }
3982 if test "$cross_compiling" != yes; then
3983   { { ac_try="$ac_link"
3984 case "(($ac_try" in
3985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986   *) ac_try_echo=$ac_try;;
3987 esac
3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990   (eval "$ac_link") 2>&5
3991   ac_status=$?
3992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993   test $ac_status = 0; }
3994   if { ac_try='./conftest$ac_cv_exeext'
3995   { { case "(($ac_try" in
3996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997   *) ac_try_echo=$ac_try;;
3998 esac
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001   (eval "$ac_try") 2>&5
4002   ac_status=$?
4003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004   test $ac_status = 0; }; }; then
4005     cross_compiling=no
4006   else
4007     if test "$cross_compiling" = maybe; then
4008         cross_compiling=yes
4009     else
4010         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error $? "cannot run C compiled programs.
4013 If you meant to cross compile, use \`--host'.
4014 See \`config.log' for more details" "$LINENO" 5 ; }
4015     fi
4016   fi
4017 fi
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4019 $as_echo "$cross_compiling" >&6; }
4020
4021 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4022 ac_clean_files=$ac_clean_files_save
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4024 $as_echo_n "checking for suffix of object files... " >&6; }
4025 if test "${ac_cv_objext+set}" = set; then :
4026   $as_echo_n "(cached) " >&6
4027 else
4028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029 /* end confdefs.h.  */
4030
4031 int
4032 main ()
4033 {
4034
4035   ;
4036   return 0;
4037 }
4038 _ACEOF
4039 rm -f conftest.o conftest.obj
4040 if { { ac_try="$ac_compile"
4041 case "(($ac_try" in
4042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043   *) ac_try_echo=$ac_try;;
4044 esac
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047   (eval "$ac_compile") 2>&5
4048   ac_status=$?
4049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050   test $ac_status = 0; }; then :
4051   for ac_file in conftest.o conftest.obj conftest.*; do
4052   test -f "$ac_file" || continue;
4053   case $ac_file in
4054     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4055     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4056        break;;
4057   esac
4058 done
4059 else
4060   $as_echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.$ac_ext >&5
4062
4063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4065 as_fn_error $? "cannot compute suffix of object files: cannot compile
4066 See \`config.log' for more details" "$LINENO" 5 ; }
4067 fi
4068 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4069 fi
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4071 $as_echo "$ac_cv_objext" >&6; }
4072 OBJEXT=$ac_cv_objext
4073 ac_objext=$OBJEXT
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4075 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4076 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4077   $as_echo_n "(cached) " >&6
4078 else
4079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h.  */
4081
4082 int
4083 main ()
4084 {
4085 #ifndef __GNUC__
4086        choke me
4087 #endif
4088
4089   ;
4090   return 0;
4091 }
4092 _ACEOF
4093 if ac_fn_c_try_compile "$LINENO"; then :
4094   ac_compiler_gnu=yes
4095 else
4096   ac_compiler_gnu=no
4097 fi
4098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4100
4101 fi
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4103 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4104 if test $ac_compiler_gnu = yes; then
4105   GCC=yes
4106 else
4107   GCC=
4108 fi
4109 ac_test_CFLAGS=${CFLAGS+set}
4110 ac_save_CFLAGS=$CFLAGS
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4112 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4113 if test "${ac_cv_prog_cc_g+set}" = set; then :
4114   $as_echo_n "(cached) " >&6
4115 else
4116   ac_save_c_werror_flag=$ac_c_werror_flag
4117    ac_c_werror_flag=yes
4118    ac_cv_prog_cc_g=no
4119    CFLAGS="-g"
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   ac_cv_prog_cc_g=yes
4133 else
4134   CFLAGS=""
4135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h.  */
4137
4138 int
4139 main ()
4140 {
4141
4142   ;
4143   return 0;
4144 }
4145 _ACEOF
4146 if ac_fn_c_try_compile "$LINENO"; then :
4147
4148 else
4149   ac_c_werror_flag=$ac_save_c_werror_flag
4150          CFLAGS="-g"
4151          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h.  */
4153
4154 int
4155 main ()
4156 {
4157
4158   ;
4159   return 0;
4160 }
4161 _ACEOF
4162 if ac_fn_c_try_compile "$LINENO"; then :
4163   ac_cv_prog_cc_g=yes
4164 fi
4165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4166 fi
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4168 fi
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170    ac_c_werror_flag=$ac_save_c_werror_flag
4171 fi
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4173 $as_echo "$ac_cv_prog_cc_g" >&6; }
4174 if test "$ac_test_CFLAGS" = set; then
4175   CFLAGS=$ac_save_CFLAGS
4176 elif test $ac_cv_prog_cc_g = yes; then
4177   if test "$GCC" = yes; then
4178     CFLAGS="-g -O2"
4179   else
4180     CFLAGS="-g"
4181   fi
4182 else
4183   if test "$GCC" = yes; then
4184     CFLAGS="-O2"
4185   else
4186     CFLAGS=
4187   fi
4188 fi
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4190 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4191 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4192   $as_echo_n "(cached) " >&6
4193 else
4194   ac_cv_prog_cc_c89=no
4195 ac_save_CC=$CC
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h.  */
4198 #include <stdarg.h>
4199 #include <stdio.h>
4200 #include <sys/types.h>
4201 #include <sys/stat.h>
4202 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4203 struct buf { int x; };
4204 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4205 static char *e (p, i)
4206      char **p;
4207      int i;
4208 {
4209   return p[i];
4210 }
4211 static char *f (char * (*g) (char **, int), char **p, ...)
4212 {
4213   char *s;
4214   va_list v;
4215   va_start (v,p);
4216   s = g (p, va_arg (v,int));
4217   va_end (v);
4218   return s;
4219 }
4220
4221 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4222    function prototypes and stuff, but not '\xHH' hex character constants.
4223    These don't provoke an error unfortunately, instead are silently treated
4224    as 'x'.  The following induces an error, until -std is added to get
4225    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4226    array size at least.  It's necessary to write '\x00'==0 to get something
4227    that's true only with -std.  */
4228 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4229
4230 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4231    inside strings and character constants.  */
4232 #define FOO(x) 'x'
4233 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4234
4235 int test (int i, double x);
4236 struct s1 {int (*f) (int a);};
4237 struct s2 {int (*f) (double a);};
4238 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4239 int argc;
4240 char **argv;
4241 int
4242 main ()
4243 {
4244 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4245   ;
4246   return 0;
4247 }
4248 _ACEOF
4249 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4250         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4251 do
4252   CC="$ac_save_CC $ac_arg"
4253   if ac_fn_c_try_compile "$LINENO"; then :
4254   ac_cv_prog_cc_c89=$ac_arg
4255 fi
4256 rm -f core conftest.err conftest.$ac_objext
4257   test "x$ac_cv_prog_cc_c89" != "xno" && break
4258 done
4259 rm -f conftest.$ac_ext
4260 CC=$ac_save_CC
4261
4262 fi
4263 # AC_CACHE_VAL
4264 case "x$ac_cv_prog_cc_c89" in
4265   x)
4266     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4267 $as_echo "none needed" >&6; } ;;
4268   xno)
4269     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4270 $as_echo "unsupported" >&6; } ;;
4271   *)
4272     CC="$CC $ac_cv_prog_cc_c89"
4273     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4274 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4275 esac
4276 if test "x$ac_cv_prog_cc_c89" != xno; then :
4277
4278 fi
4279
4280 ac_ext=c
4281 ac_cpp='$CPP $CPPFLAGS'
4282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4285
4286 depcc="$CC"   am_compiler_list=
4287
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4289 $as_echo_n "checking dependency style of $depcc... " >&6; }
4290 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4291   $as_echo_n "(cached) " >&6
4292 else
4293   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4294   # We make a subdir and do the tests there.  Otherwise we can end up
4295   # making bogus files that we don't know about and never remove.  For
4296   # instance it was reported that on HP-UX the gcc test will end up
4297   # making a dummy file named `D' -- because `-MD' means `put the output
4298   # in D'.
4299   mkdir conftest.dir
4300   # Copy depcomp to subdir because otherwise we won't find it if we're
4301   # using a relative directory.
4302   cp "$am_depcomp" conftest.dir
4303   cd conftest.dir
4304   # We will build objects and dependencies in a subdirectory because
4305   # it helps to detect inapplicable dependency modes.  For instance
4306   # both Tru64's cc and ICC support -MD to output dependencies as a
4307   # side effect of compilation, but ICC will put the dependencies in
4308   # the current directory while Tru64 will put them in the object
4309   # directory.
4310   mkdir sub
4311
4312   am_cv_CC_dependencies_compiler_type=none
4313   if test "$am_compiler_list" = ""; then
4314      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4315   fi
4316   am__universal=false
4317   case " $depcc " in #(
4318      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4319      esac
4320
4321   for depmode in $am_compiler_list; do
4322     # Setup a source with many dependencies, because some compilers
4323     # like to wrap large dependency lists on column 80 (with \), and
4324     # we should not choose a depcomp mode which is confused by this.
4325     #
4326     # We need to recreate these files for each test, as the compiler may
4327     # overwrite some of them when testing with obscure command lines.
4328     # This happens at least with the AIX C compiler.
4329     : > sub/conftest.c
4330     for i in 1 2 3 4 5 6; do
4331       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4332       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4333       # Solaris 8's {/usr,}/bin/sh.
4334       touch sub/conftst$i.h
4335     done
4336     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4337
4338     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4339     # mode.  It turns out that the SunPro C++ compiler does not properly
4340     # handle `-M -o', and we need to detect this.  Also, some Intel
4341     # versions had trouble with output in subdirs
4342     am__obj=sub/conftest.${OBJEXT-o}
4343     am__minus_obj="-o $am__obj"
4344     case $depmode in
4345     gcc)
4346       # This depmode causes a compiler race in universal mode.
4347       test "$am__universal" = false || continue
4348       ;;
4349     nosideeffect)
4350       # after this tag, mechanisms are not by side-effect, so they'll
4351       # only be used when explicitly requested
4352       if test "x$enable_dependency_tracking" = xyes; then
4353         continue
4354       else
4355         break
4356       fi
4357       ;;
4358     msvisualcpp | msvcmsys)
4359       # This compiler won't grok `-c -o', but also, the minuso test has
4360       # not run yet.  These depmodes are late enough in the game, and
4361       # so weak that their functioning should not be impacted.
4362       am__obj=conftest.${OBJEXT-o}
4363       am__minus_obj=
4364       ;;
4365     none) break ;;
4366     esac
4367     if depmode=$depmode \
4368        source=sub/conftest.c object=$am__obj \
4369        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4370        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4371          >/dev/null 2>conftest.err &&
4372        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4373        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4374        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4375        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4376       # icc doesn't choke on unknown options, it will just issue warnings
4377       # or remarks (even with -Werror).  So we grep stderr for any message
4378       # that says an option was ignored or not supported.
4379       # When given -MP, icc 7.0 and 7.1 complain thusly:
4380       #   icc: Command line warning: ignoring option '-M'; no argument required
4381       # The diagnosis changed in icc 8.0:
4382       #   icc: Command line remark: option '-MP' not supported
4383       if (grep 'ignoring option' conftest.err ||
4384           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4385         am_cv_CC_dependencies_compiler_type=$depmode
4386         break
4387       fi
4388     fi
4389   done
4390
4391   cd ..
4392   rm -rf conftest.dir
4393 else
4394   am_cv_CC_dependencies_compiler_type=none
4395 fi
4396
4397 fi
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4399 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4400 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4401
4402  if
4403   test "x$enable_dependency_tracking" != xno \
4404   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4405   am__fastdepCC_TRUE=
4406   am__fastdepCC_FALSE='#'
4407 else
4408   am__fastdepCC_TRUE='#'
4409   am__fastdepCC_FALSE=
4410 fi
4411
4412
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4414 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4415 if test "${ac_cv_path_SED+set}" = set; then :
4416   $as_echo_n "(cached) " >&6
4417 else
4418             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4419      for ac_i in 1 2 3 4 5 6 7; do
4420        ac_script="$ac_script$as_nl$ac_script"
4421      done
4422      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4423      { ac_script=; unset ac_script;}
4424      if test -z "$SED"; then
4425   ac_path_SED_found=false
4426   # Loop through the user's path and test for each of PROGNAME-LIST
4427   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 for as_dir in $PATH
4429 do
4430   IFS=$as_save_IFS
4431   test -z "$as_dir" && as_dir=.
4432     for ac_prog in sed gsed; do
4433     for ac_exec_ext in '' $ac_executable_extensions; do
4434       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4435       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4436 # Check for GNU ac_path_SED and select it if it is found.
4437   # Check for GNU $ac_path_SED
4438 case `"$ac_path_SED" --version 2>&1` in
4439 *GNU*)
4440   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4441 *)
4442   ac_count=0
4443   $as_echo_n 0123456789 >"conftest.in"
4444   while :
4445   do
4446     cat "conftest.in" "conftest.in" >"conftest.tmp"
4447     mv "conftest.tmp" "conftest.in"
4448     cp "conftest.in" "conftest.nl"
4449     $as_echo '' >> "conftest.nl"
4450     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4451     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4452     as_fn_arith $ac_count + 1 && ac_count=$as_val
4453     if test $ac_count -gt ${ac_path_SED_max-0}; then
4454       # Best one so far, save it but keep looking for a better one
4455       ac_cv_path_SED="$ac_path_SED"
4456       ac_path_SED_max=$ac_count
4457     fi
4458     # 10*(2^10) chars as input seems more than enough
4459     test $ac_count -gt 10 && break
4460   done
4461   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4462 esac
4463
4464       $ac_path_SED_found && break 3
4465     done
4466   done
4467   done
4468 IFS=$as_save_IFS
4469   if test -z "$ac_cv_path_SED"; then
4470     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4471   fi
4472 else
4473   ac_cv_path_SED=$SED
4474 fi
4475
4476 fi
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4478 $as_echo "$ac_cv_path_SED" >&6; }
4479  SED="$ac_cv_path_SED"
4480   rm -f conftest.sed
4481
4482 test -z "$SED" && SED=sed
4483 Xsed="$SED -e 1s/^X//"
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4496 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4497 if test "${ac_cv_path_GREP+set}" = set; then :
4498   $as_echo_n "(cached) " >&6
4499 else
4500   if test -z "$GREP"; then
4501   ac_path_GREP_found=false
4502   # Loop through the user's path and test for each of PROGNAME-LIST
4503   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4505 do
4506   IFS=$as_save_IFS
4507   test -z "$as_dir" && as_dir=.
4508     for ac_prog in grep ggrep; do
4509     for ac_exec_ext in '' $ac_executable_extensions; do
4510       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4511       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4512 # Check for GNU ac_path_GREP and select it if it is found.
4513   # Check for GNU $ac_path_GREP
4514 case `"$ac_path_GREP" --version 2>&1` in
4515 *GNU*)
4516   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4517 *)
4518   ac_count=0
4519   $as_echo_n 0123456789 >"conftest.in"
4520   while :
4521   do
4522     cat "conftest.in" "conftest.in" >"conftest.tmp"
4523     mv "conftest.tmp" "conftest.in"
4524     cp "conftest.in" "conftest.nl"
4525     $as_echo 'GREP' >> "conftest.nl"
4526     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4527     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4528     as_fn_arith $ac_count + 1 && ac_count=$as_val
4529     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4530       # Best one so far, save it but keep looking for a better one
4531       ac_cv_path_GREP="$ac_path_GREP"
4532       ac_path_GREP_max=$ac_count
4533     fi
4534     # 10*(2^10) chars as input seems more than enough
4535     test $ac_count -gt 10 && break
4536   done
4537   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4538 esac
4539
4540       $ac_path_GREP_found && break 3
4541     done
4542   done
4543   done
4544 IFS=$as_save_IFS
4545   if test -z "$ac_cv_path_GREP"; then
4546     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4547   fi
4548 else
4549   ac_cv_path_GREP=$GREP
4550 fi
4551
4552 fi
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4554 $as_echo "$ac_cv_path_GREP" >&6; }
4555  GREP="$ac_cv_path_GREP"
4556
4557
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4559 $as_echo_n "checking for egrep... " >&6; }
4560 if test "${ac_cv_path_EGREP+set}" = set; then :
4561   $as_echo_n "(cached) " >&6
4562 else
4563   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4564    then ac_cv_path_EGREP="$GREP -E"
4565    else
4566      if test -z "$EGREP"; then
4567   ac_path_EGREP_found=false
4568   # Loop through the user's path and test for each of PROGNAME-LIST
4569   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4571 do
4572   IFS=$as_save_IFS
4573   test -z "$as_dir" && as_dir=.
4574     for ac_prog in egrep; do
4575     for ac_exec_ext in '' $ac_executable_extensions; do
4576       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4577       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4578 # Check for GNU ac_path_EGREP and select it if it is found.
4579   # Check for GNU $ac_path_EGREP
4580 case `"$ac_path_EGREP" --version 2>&1` in
4581 *GNU*)
4582   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4583 *)
4584   ac_count=0
4585   $as_echo_n 0123456789 >"conftest.in"
4586   while :
4587   do
4588     cat "conftest.in" "conftest.in" >"conftest.tmp"
4589     mv "conftest.tmp" "conftest.in"
4590     cp "conftest.in" "conftest.nl"
4591     $as_echo 'EGREP' >> "conftest.nl"
4592     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4593     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4594     as_fn_arith $ac_count + 1 && ac_count=$as_val
4595     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4596       # Best one so far, save it but keep looking for a better one
4597       ac_cv_path_EGREP="$ac_path_EGREP"
4598       ac_path_EGREP_max=$ac_count
4599     fi
4600     # 10*(2^10) chars as input seems more than enough
4601     test $ac_count -gt 10 && break
4602   done
4603   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4604 esac
4605
4606       $ac_path_EGREP_found && break 3
4607     done
4608   done
4609   done
4610 IFS=$as_save_IFS
4611   if test -z "$ac_cv_path_EGREP"; then
4612     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4613   fi
4614 else
4615   ac_cv_path_EGREP=$EGREP
4616 fi
4617
4618    fi
4619 fi
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4621 $as_echo "$ac_cv_path_EGREP" >&6; }
4622  EGREP="$ac_cv_path_EGREP"
4623
4624
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4626 $as_echo_n "checking for fgrep... " >&6; }
4627 if test "${ac_cv_path_FGREP+set}" = set; then :
4628   $as_echo_n "(cached) " >&6
4629 else
4630   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4631    then ac_cv_path_FGREP="$GREP -F"
4632    else
4633      if test -z "$FGREP"; then
4634   ac_path_FGREP_found=false
4635   # Loop through the user's path and test for each of PROGNAME-LIST
4636   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4637 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4638 do
4639   IFS=$as_save_IFS
4640   test -z "$as_dir" && as_dir=.
4641     for ac_prog in fgrep; do
4642     for ac_exec_ext in '' $ac_executable_extensions; do
4643       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4644       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4645 # Check for GNU ac_path_FGREP and select it if it is found.
4646   # Check for GNU $ac_path_FGREP
4647 case `"$ac_path_FGREP" --version 2>&1` in
4648 *GNU*)
4649   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4650 *)
4651   ac_count=0
4652   $as_echo_n 0123456789 >"conftest.in"
4653   while :
4654   do
4655     cat "conftest.in" "conftest.in" >"conftest.tmp"
4656     mv "conftest.tmp" "conftest.in"
4657     cp "conftest.in" "conftest.nl"
4658     $as_echo 'FGREP' >> "conftest.nl"
4659     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4660     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4661     as_fn_arith $ac_count + 1 && ac_count=$as_val
4662     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4663       # Best one so far, save it but keep looking for a better one
4664       ac_cv_path_FGREP="$ac_path_FGREP"
4665       ac_path_FGREP_max=$ac_count
4666     fi
4667     # 10*(2^10) chars as input seems more than enough
4668     test $ac_count -gt 10 && break
4669   done
4670   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4671 esac
4672
4673       $ac_path_FGREP_found && break 3
4674     done
4675   done
4676   done
4677 IFS=$as_save_IFS
4678   if test -z "$ac_cv_path_FGREP"; then
4679     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4680   fi
4681 else
4682   ac_cv_path_FGREP=$FGREP
4683 fi
4684
4685    fi
4686 fi
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4688 $as_echo "$ac_cv_path_FGREP" >&6; }
4689  FGREP="$ac_cv_path_FGREP"
4690
4691
4692 test -z "$GREP" && GREP=grep
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712 # Check whether --with-gnu-ld was given.
4713 if test "${with_gnu_ld+set}" = set; then :
4714   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4715 else
4716   with_gnu_ld=no
4717 fi
4718
4719 ac_prog=ld
4720 if test "$GCC" = yes; then
4721   # Check if gcc -print-prog-name=ld gives a path.
4722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4723 $as_echo_n "checking for ld used by $CC... " >&6; }
4724   case $host in
4725   *-*-mingw*)
4726     # gcc leaves a trailing carriage return which upsets mingw
4727     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4728   *)
4729     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4730   esac
4731   case $ac_prog in
4732     # Accept absolute paths.
4733     [\\/]* | ?:[\\/]*)
4734       re_direlt='/[^/][^/]*/\.\./'
4735       # Canonicalize the pathname of ld
4736       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4737       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4738         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4739       done
4740       test -z "$LD" && LD="$ac_prog"
4741       ;;
4742   "")
4743     # If it fails, then pretend we aren't using GCC.
4744     ac_prog=ld
4745     ;;
4746   *)
4747     # If it is relative, then search for the first ld in PATH.
4748     with_gnu_ld=unknown
4749     ;;
4750   esac
4751 elif test "$with_gnu_ld" = yes; then
4752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4753 $as_echo_n "checking for GNU ld... " >&6; }
4754 else
4755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4756 $as_echo_n "checking for non-GNU ld... " >&6; }
4757 fi
4758 if test "${lt_cv_path_LD+set}" = set; then :
4759   $as_echo_n "(cached) " >&6
4760 else
4761   if test -z "$LD"; then
4762   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4763   for ac_dir in $PATH; do
4764     IFS="$lt_save_ifs"
4765     test -z "$ac_dir" && ac_dir=.
4766     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4767       lt_cv_path_LD="$ac_dir/$ac_prog"
4768       # Check to see if the program is GNU ld.  I'd rather use --version,
4769       # but apparently some variants of GNU ld only accept -v.
4770       # Break only if it was the GNU/non-GNU ld that we prefer.
4771       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4772       *GNU* | *'with BFD'*)
4773         test "$with_gnu_ld" != no && break
4774         ;;
4775       *)
4776         test "$with_gnu_ld" != yes && break
4777         ;;
4778       esac
4779     fi
4780   done
4781   IFS="$lt_save_ifs"
4782 else
4783   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4784 fi
4785 fi
4786
4787 LD="$lt_cv_path_LD"
4788 if test -n "$LD"; then
4789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4790 $as_echo "$LD" >&6; }
4791 else
4792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4794 fi
4795 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4797 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4798 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4799   $as_echo_n "(cached) " >&6
4800 else
4801   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4802 case `$LD -v 2>&1 </dev/null` in
4803 *GNU* | *'with BFD'*)
4804   lt_cv_prog_gnu_ld=yes
4805   ;;
4806 *)
4807   lt_cv_prog_gnu_ld=no
4808   ;;
4809 esac
4810 fi
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4812 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4813 with_gnu_ld=$lt_cv_prog_gnu_ld
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4824 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4825 if test "${lt_cv_path_NM+set}" = set; then :
4826   $as_echo_n "(cached) " >&6
4827 else
4828   if test -n "$NM"; then
4829   # Let the user override the test.
4830   lt_cv_path_NM="$NM"
4831 else
4832   lt_nm_to_check="${ac_tool_prefix}nm"
4833   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4834     lt_nm_to_check="$lt_nm_to_check nm"
4835   fi
4836   for lt_tmp_nm in $lt_nm_to_check; do
4837     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4838     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4839       IFS="$lt_save_ifs"
4840       test -z "$ac_dir" && ac_dir=.
4841       tmp_nm="$ac_dir/$lt_tmp_nm"
4842       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4843         # Check to see if the nm accepts a BSD-compat flag.
4844         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4845         #   nm: unknown option "B" ignored
4846         # Tru64's nm complains that /dev/null is an invalid object file
4847         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4848         */dev/null* | *'Invalid file or object type'*)
4849           lt_cv_path_NM="$tmp_nm -B"
4850           break
4851           ;;
4852         *)
4853           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4854           */dev/null*)
4855             lt_cv_path_NM="$tmp_nm -p"
4856             break
4857             ;;
4858           *)
4859             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4860             continue # so that we can try to find one that supports BSD flags
4861             ;;
4862           esac
4863           ;;
4864         esac
4865       fi
4866     done
4867     IFS="$lt_save_ifs"
4868   done
4869   : ${lt_cv_path_NM=no}
4870 fi
4871 fi
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4873 $as_echo "$lt_cv_path_NM" >&6; }
4874 if test "$lt_cv_path_NM" != "no"; then
4875   NM="$lt_cv_path_NM"
4876 else
4877   # Didn't find any BSD compatible name lister, look for dumpbin.
4878   if test -n "$DUMPBIN"; then :
4879     # Let the user override the test.
4880   else
4881     if test -n "$ac_tool_prefix"; then
4882   for ac_prog in dumpbin "link -dump"
4883   do
4884     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4889   $as_echo_n "(cached) " >&6
4890 else
4891   if test -n "$DUMPBIN"; then
4892   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4896 do
4897   IFS=$as_save_IFS
4898   test -z "$as_dir" && as_dir=.
4899     for ac_exec_ext in '' $ac_executable_extensions; do
4900   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4901     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903     break 2
4904   fi
4905 done
4906   done
4907 IFS=$as_save_IFS
4908
4909 fi
4910 fi
4911 DUMPBIN=$ac_cv_prog_DUMPBIN
4912 if test -n "$DUMPBIN"; then
4913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4914 $as_echo "$DUMPBIN" >&6; }
4915 else
4916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4918 fi
4919
4920
4921     test -n "$DUMPBIN" && break
4922   done
4923 fi
4924 if test -z "$DUMPBIN"; then
4925   ac_ct_DUMPBIN=$DUMPBIN
4926   for ac_prog in dumpbin "link -dump"
4927 do
4928   # Extract the first word of "$ac_prog", so it can be a program name with args.
4929 set dummy $ac_prog; ac_word=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4933   $as_echo_n "(cached) " >&6
4934 else
4935   if test -n "$ac_ct_DUMPBIN"; then
4936   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4937 else
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 for as_dir in $PATH
4940 do
4941   IFS=$as_save_IFS
4942   test -z "$as_dir" && as_dir=.
4943     for ac_exec_ext in '' $ac_executable_extensions; do
4944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4945     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947     break 2
4948   fi
4949 done
4950   done
4951 IFS=$as_save_IFS
4952
4953 fi
4954 fi
4955 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4956 if test -n "$ac_ct_DUMPBIN"; then
4957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4958 $as_echo "$ac_ct_DUMPBIN" >&6; }
4959 else
4960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4962 fi
4963
4964
4965   test -n "$ac_ct_DUMPBIN" && break
4966 done
4967
4968   if test "x$ac_ct_DUMPBIN" = x; then
4969     DUMPBIN=":"
4970   else
4971     case $cross_compiling:$ac_tool_warned in
4972 yes:)
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4975 ac_tool_warned=yes ;;
4976 esac
4977     DUMPBIN=$ac_ct_DUMPBIN
4978   fi
4979 fi
4980
4981     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4982     *COFF*)
4983       DUMPBIN="$DUMPBIN -symbols"
4984       ;;
4985     *)
4986       DUMPBIN=:
4987       ;;
4988     esac
4989   fi
4990
4991   if test "$DUMPBIN" != ":"; then
4992     NM="$DUMPBIN"
4993   fi
4994 fi
4995 test -z "$NM" && NM=nm
4996
4997
4998
4999
5000
5001
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5003 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5004 if test "${lt_cv_nm_interface+set}" = set; then :
5005   $as_echo_n "(cached) " >&6
5006 else
5007   lt_cv_nm_interface="BSD nm"
5008   echo "int some_variable = 0;" > conftest.$ac_ext
5009   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5010   (eval "$ac_compile" 2>conftest.err)
5011   cat conftest.err >&5
5012   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5013   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5014   cat conftest.err >&5
5015   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5016   cat conftest.out >&5
5017   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5018     lt_cv_nm_interface="MS dumpbin"
5019   fi
5020   rm -f conftest*
5021 fi
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5023 $as_echo "$lt_cv_nm_interface" >&6; }
5024
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5026 $as_echo_n "checking whether ln -s works... " >&6; }
5027 LN_S=$as_ln_s
5028 if test "$LN_S" = "ln -s"; then
5029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5030 $as_echo "yes" >&6; }
5031 else
5032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5033 $as_echo "no, using $LN_S" >&6; }
5034 fi
5035
5036 # find the maximum length of command line arguments
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5038 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5039 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5040   $as_echo_n "(cached) " >&6
5041 else
5042     i=0
5043   teststring="ABCD"
5044
5045   case $build_os in
5046   msdosdjgpp*)
5047     # On DJGPP, this test can blow up pretty badly due to problems in libc
5048     # (any single argument exceeding 2000 bytes causes a buffer overrun
5049     # during glob expansion).  Even if it were fixed, the result of this
5050     # check would be larger than it should be.
5051     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5052     ;;
5053
5054   gnu*)
5055     # Under GNU Hurd, this test is not required because there is
5056     # no limit to the length of command line arguments.
5057     # Libtool will interpret -1 as no limit whatsoever
5058     lt_cv_sys_max_cmd_len=-1;
5059     ;;
5060
5061   cygwin* | mingw* | cegcc*)
5062     # On Win9x/ME, this test blows up -- it succeeds, but takes
5063     # about 5 minutes as the teststring grows exponentially.
5064     # Worse, since 9x/ME are not pre-emptively multitasking,
5065     # you end up with a "frozen" computer, even though with patience
5066     # the test eventually succeeds (with a max line length of 256k).
5067     # Instead, let's just punt: use the minimum linelength reported by
5068     # all of the supported platforms: 8192 (on NT/2K/XP).
5069     lt_cv_sys_max_cmd_len=8192;
5070     ;;
5071
5072   mint*)
5073     # On MiNT this can take a long time and run out of memory.
5074     lt_cv_sys_max_cmd_len=8192;
5075     ;;
5076
5077   amigaos*)
5078     # On AmigaOS with pdksh, this test takes hours, literally.
5079     # So we just punt and use a minimum line length of 8192.
5080     lt_cv_sys_max_cmd_len=8192;
5081     ;;
5082
5083   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5084     # This has been around since 386BSD, at least.  Likely further.
5085     if test -x /sbin/sysctl; then
5086       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5087     elif test -x /usr/sbin/sysctl; then
5088       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5089     else
5090       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5091     fi
5092     # And add a safety zone
5093     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5094     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5095     ;;
5096
5097   interix*)
5098     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5099     lt_cv_sys_max_cmd_len=196608
5100     ;;
5101
5102   osf*)
5103     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5104     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5105     # nice to cause kernel panics so lets avoid the loop below.
5106     # First set a reasonable default.
5107     lt_cv_sys_max_cmd_len=16384
5108     #
5109     if test -x /sbin/sysconfig; then
5110       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5111         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5112       esac
5113     fi
5114     ;;
5115   sco3.2v5*)
5116     lt_cv_sys_max_cmd_len=102400
5117     ;;
5118   sysv5* | sco5v6* | sysv4.2uw2*)
5119     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5120     if test -n "$kargmax"; then
5121       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5122     else
5123       lt_cv_sys_max_cmd_len=32768
5124     fi
5125     ;;
5126   *)
5127     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5128     if test -n "$lt_cv_sys_max_cmd_len"; then
5129       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5130       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5131     else
5132       # Make teststring a little bigger before we do anything with it.
5133       # a 1K string should be a reasonable start.
5134       for i in 1 2 3 4 5 6 7 8 ; do
5135         teststring=$teststring$teststring
5136       done
5137       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5138       # If test is not a shell built-in, we'll probably end up computing a
5139       # maximum length that is only half of the actual maximum length, but
5140       # we can't tell.
5141       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5142                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5143               test $i != 17 # 1/2 MB should be enough
5144       do
5145         i=`expr $i + 1`
5146         teststring=$teststring$teststring
5147       done
5148       # Only check the string length outside the loop.
5149       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5150       teststring=
5151       # Add a significant safety factor because C++ compilers can tack on
5152       # massive amounts of additional arguments before passing them to the
5153       # linker.  It appears as though 1/2 is a usable value.
5154       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5155     fi
5156     ;;
5157   esac
5158
5159 fi
5160
5161 if test -n $lt_cv_sys_max_cmd_len ; then
5162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5163 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5164 else
5165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5166 $as_echo "none" >&6; }
5167 fi
5168 max_cmd_len=$lt_cv_sys_max_cmd_len
5169
5170
5171
5172
5173
5174
5175 : ${CP="cp -f"}
5176 : ${MV="mv -f"}
5177 : ${RM="rm -f"}
5178
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5180 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5181 # Try some XSI features
5182 xsi_shell=no
5183 ( _lt_dummy="a/b/c"
5184   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5185       = c,a/b,b/c, \
5186     && eval 'test $(( 1 + 1 )) -eq 2 \
5187     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5188   && xsi_shell=yes
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5190 $as_echo "$xsi_shell" >&6; }
5191
5192
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5194 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5195 lt_shell_append=no
5196 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5197     >/dev/null 2>&1 \
5198   && lt_shell_append=yes
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5200 $as_echo "$lt_shell_append" >&6; }
5201
5202
5203 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5204   lt_unset=unset
5205 else
5206   lt_unset=false
5207 fi
5208
5209
5210
5211
5212
5213 # test EBCDIC or ASCII
5214 case `echo X|tr X '\101'` in
5215  A) # ASCII based system
5216     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5217   lt_SP2NL='tr \040 \012'
5218   lt_NL2SP='tr \015\012 \040\040'
5219   ;;
5220  *) # EBCDIC based system
5221   lt_SP2NL='tr \100 \n'
5222   lt_NL2SP='tr \r\n \100\100'
5223   ;;
5224 esac
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5235 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5236 if test "${lt_cv_to_host_file_cmd+set}" = set; then :
5237   $as_echo_n "(cached) " >&6
5238 else
5239   case $host in
5240   *-*-mingw* )
5241     case $build in
5242       *-*-mingw* ) # actually msys
5243         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5244         ;;
5245       *-*-cygwin* )
5246         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5247         ;;
5248       * ) # otherwise, assume *nix
5249         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5250         ;;
5251     esac
5252     ;;
5253   *-*-cygwin* )
5254     case $build in
5255       *-*-mingw* ) # actually msys
5256         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5257         ;;
5258       *-*-cygwin* )
5259         lt_cv_to_host_file_cmd=func_convert_file_noop
5260         ;;
5261       * ) # otherwise, assume *nix
5262         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5263         ;;
5264     esac
5265     ;;
5266   * ) # unhandled hosts (and "normal" native builds)
5267     lt_cv_to_host_file_cmd=func_convert_file_noop
5268     ;;
5269 esac
5270
5271 fi
5272
5273 to_host_file_cmd=$lt_cv_to_host_file_cmd
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5275 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5276
5277
5278
5279
5280
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5282 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5283 if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
5284   $as_echo_n "(cached) " >&6
5285 else
5286   #assume ordinary cross tools, or native build.
5287 lt_cv_to_tool_file_cmd=func_convert_file_noop
5288 case $host in
5289   *-*-mingw* )
5290     case $build in
5291       *-*-mingw* ) # actually msys
5292         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5293         ;;
5294     esac
5295     ;;
5296 esac
5297
5298 fi
5299
5300 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5302 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5303
5304
5305
5306
5307
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5309 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5310 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5311   $as_echo_n "(cached) " >&6
5312 else
5313   lt_cv_ld_reload_flag='-r'
5314 fi
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5316 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5317 reload_flag=$lt_cv_ld_reload_flag
5318 case $reload_flag in
5319 "" | " "*) ;;
5320 *) reload_flag=" $reload_flag" ;;
5321 esac
5322 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5323 case $host_os in
5324   cygwin* | mingw* | pw32* | cegcc*)
5325     if test "$GCC" != yes; then
5326       reload_cmds=false
5327     fi
5328     ;;
5329   darwin*)
5330     if test "$GCC" = yes; then
5331       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5332     else
5333       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5334     fi
5335     ;;
5336 esac
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346 if test -n "$ac_tool_prefix"; then
5347   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5348 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5350 $as_echo_n "checking for $ac_word... " >&6; }
5351 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5352   $as_echo_n "(cached) " >&6
5353 else
5354   if test -n "$OBJDUMP"; then
5355   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5356 else
5357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5358 for as_dir in $PATH
5359 do
5360   IFS=$as_save_IFS
5361   test -z "$as_dir" && as_dir=.
5362     for ac_exec_ext in '' $ac_executable_extensions; do
5363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5364     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366     break 2
5367   fi
5368 done
5369   done
5370 IFS=$as_save_IFS
5371
5372 fi
5373 fi
5374 OBJDUMP=$ac_cv_prog_OBJDUMP
5375 if test -n "$OBJDUMP"; then
5376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5377 $as_echo "$OBJDUMP" >&6; }
5378 else
5379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380 $as_echo "no" >&6; }
5381 fi
5382
5383
5384 fi
5385 if test -z "$ac_cv_prog_OBJDUMP"; then
5386   ac_ct_OBJDUMP=$OBJDUMP
5387   # Extract the first word of "objdump", so it can be a program name with args.
5388 set dummy objdump; ac_word=$2
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5390 $as_echo_n "checking for $ac_word... " >&6; }
5391 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5392   $as_echo_n "(cached) " >&6
5393 else
5394   if test -n "$ac_ct_OBJDUMP"; then
5395   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5396 else
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5399 do
5400   IFS=$as_save_IFS
5401   test -z "$as_dir" && as_dir=.
5402     for ac_exec_ext in '' $ac_executable_extensions; do
5403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5404     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5406     break 2
5407   fi
5408 done
5409   done
5410 IFS=$as_save_IFS
5411
5412 fi
5413 fi
5414 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5415 if test -n "$ac_ct_OBJDUMP"; then
5416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5417 $as_echo "$ac_ct_OBJDUMP" >&6; }
5418 else
5419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 $as_echo "no" >&6; }
5421 fi
5422
5423   if test "x$ac_ct_OBJDUMP" = x; then
5424     OBJDUMP="false"
5425   else
5426     case $cross_compiling:$ac_tool_warned in
5427 yes:)
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5430 ac_tool_warned=yes ;;
5431 esac
5432     OBJDUMP=$ac_ct_OBJDUMP
5433   fi
5434 else
5435   OBJDUMP="$ac_cv_prog_OBJDUMP"
5436 fi
5437
5438 test -z "$OBJDUMP" && OBJDUMP=objdump
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5449 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5450 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5451   $as_echo_n "(cached) " >&6
5452 else
5453   lt_cv_file_magic_cmd='$MAGIC_CMD'
5454 lt_cv_file_magic_test_file=
5455 lt_cv_deplibs_check_method='unknown'
5456 # Need to set the preceding variable on all platforms that support
5457 # interlibrary dependencies.
5458 # 'none' -- dependencies not supported.
5459 # `unknown' -- same as none, but documents that we really don't know.
5460 # 'pass_all' -- all dependencies passed with no checks.
5461 # 'test_compile' -- check by making test program.
5462 # 'file_magic [[regex]]' -- check by looking for files in library path
5463 # which responds to the $file_magic_cmd with a given extended regex.
5464 # If you have `file' or equivalent on your system and you're not sure
5465 # whether `pass_all' will *always* work, you probably want this one.
5466
5467 case $host_os in
5468 aix[4-9]*)
5469   lt_cv_deplibs_check_method=pass_all
5470   ;;
5471
5472 beos*)
5473   lt_cv_deplibs_check_method=pass_all
5474   ;;
5475
5476 bsdi[45]*)
5477   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5478   lt_cv_file_magic_cmd='/usr/bin/file -L'
5479   lt_cv_file_magic_test_file=/shlib/libc.so
5480   ;;
5481
5482 cygwin*)
5483   # func_win32_libid is a shell function defined in ltmain.sh
5484   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5485   lt_cv_file_magic_cmd='func_win32_libid'
5486   ;;
5487
5488 mingw* | pw32*)
5489   # Base MSYS/MinGW do not provide the 'file' command needed by
5490   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5491   # unless we find 'file', for example because we are cross-compiling.
5492   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5493   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5494     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5495     lt_cv_file_magic_cmd='func_win32_libid'
5496   else
5497     # Keep this pattern in sync with the one in func_win32_libid.
5498     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5499     lt_cv_file_magic_cmd='$OBJDUMP -f'
5500   fi
5501   ;;
5502
5503 cegcc*)
5504   # use the weaker test based on 'objdump'. See mingw*.
5505   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5506   lt_cv_file_magic_cmd='$OBJDUMP -f'
5507   ;;
5508
5509 darwin* | rhapsody*)
5510   lt_cv_deplibs_check_method=pass_all
5511   ;;
5512
5513 freebsd* | dragonfly*)
5514   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5515     case $host_cpu in
5516     i*86 )
5517       # Not sure whether the presence of OpenBSD here was a mistake.
5518       # Let's accept both of them until this is cleared up.
5519       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5520       lt_cv_file_magic_cmd=/usr/bin/file
5521       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5522       ;;
5523     esac
5524   else
5525     lt_cv_deplibs_check_method=pass_all
5526   fi
5527   ;;
5528
5529 gnu*)
5530   lt_cv_deplibs_check_method=pass_all
5531   ;;
5532
5533 haiku*)
5534   lt_cv_deplibs_check_method=pass_all
5535   ;;
5536
5537 hpux10.20* | hpux11*)
5538   lt_cv_file_magic_cmd=/usr/bin/file
5539   case $host_cpu in
5540   ia64*)
5541     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5542     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5543     ;;
5544   hppa*64*)
5545     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]'
5546     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5547     ;;
5548   *)
5549     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5550     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5551     ;;
5552   esac
5553   ;;
5554
5555 interix[3-9]*)
5556   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5557   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5558   ;;
5559
5560 irix5* | irix6* | nonstopux*)
5561   case $LD in
5562   *-32|*"-32 ") libmagic=32-bit;;
5563   *-n32|*"-n32 ") libmagic=N32;;
5564   *-64|*"-64 ") libmagic=64-bit;;
5565   *) libmagic=never-match;;
5566   esac
5567   lt_cv_deplibs_check_method=pass_all
5568   ;;
5569
5570 # This must be Linux ELF.
5571 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5572   lt_cv_deplibs_check_method=pass_all
5573   ;;
5574
5575 netbsd*)
5576   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5577     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5578   else
5579     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5580   fi
5581   ;;
5582
5583 newos6*)
5584   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5585   lt_cv_file_magic_cmd=/usr/bin/file
5586   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5587   ;;
5588
5589 *nto* | *qnx*)
5590   lt_cv_deplibs_check_method=pass_all
5591   ;;
5592
5593 openbsd*)
5594   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5595     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5596   else
5597     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5598   fi
5599   ;;
5600
5601 osf3* | osf4* | osf5*)
5602   lt_cv_deplibs_check_method=pass_all
5603   ;;
5604
5605 rdos*)
5606   lt_cv_deplibs_check_method=pass_all
5607   ;;
5608
5609 solaris*)
5610   lt_cv_deplibs_check_method=pass_all
5611   ;;
5612
5613 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5614   lt_cv_deplibs_check_method=pass_all
5615   ;;
5616
5617 sysv4 | sysv4.3*)
5618   case $host_vendor in
5619   motorola)
5620     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]'
5621     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5622     ;;
5623   ncr)
5624     lt_cv_deplibs_check_method=pass_all
5625     ;;
5626   sequent)
5627     lt_cv_file_magic_cmd='/bin/file'
5628     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5629     ;;
5630   sni)
5631     lt_cv_file_magic_cmd='/bin/file'
5632     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5633     lt_cv_file_magic_test_file=/lib/libc.so
5634     ;;
5635   siemens)
5636     lt_cv_deplibs_check_method=pass_all
5637     ;;
5638   pc)
5639     lt_cv_deplibs_check_method=pass_all
5640     ;;
5641   esac
5642   ;;
5643
5644 tpf*)
5645   lt_cv_deplibs_check_method=pass_all
5646   ;;
5647 esac
5648
5649 fi
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5651 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5652
5653 file_magic_glob=
5654 want_nocaseglob=no
5655 if test "$build" = "$host"; then
5656   case $host_os in
5657   mingw* | pw32*)
5658     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5659       want_nocaseglob=yes
5660     else
5661       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5662     fi
5663     ;;
5664   esac
5665 fi
5666
5667 file_magic_cmd=$lt_cv_file_magic_cmd
5668 deplibs_check_method=$lt_cv_deplibs_check_method
5669 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692 if test -n "$ac_tool_prefix"; then
5693   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5694 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5696 $as_echo_n "checking for $ac_word... " >&6; }
5697 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5698   $as_echo_n "(cached) " >&6
5699 else
5700   if test -n "$DLLTOOL"; then
5701   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5702 else
5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 for as_dir in $PATH
5705 do
5706   IFS=$as_save_IFS
5707   test -z "$as_dir" && as_dir=.
5708     for ac_exec_ext in '' $ac_executable_extensions; do
5709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5710     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5712     break 2
5713   fi
5714 done
5715   done
5716 IFS=$as_save_IFS
5717
5718 fi
5719 fi
5720 DLLTOOL=$ac_cv_prog_DLLTOOL
5721 if test -n "$DLLTOOL"; then
5722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5723 $as_echo "$DLLTOOL" >&6; }
5724 else
5725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726 $as_echo "no" >&6; }
5727 fi
5728
5729
5730 fi
5731 if test -z "$ac_cv_prog_DLLTOOL"; then
5732   ac_ct_DLLTOOL=$DLLTOOL
5733   # Extract the first word of "dlltool", so it can be a program name with args.
5734 set dummy dlltool; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5738   $as_echo_n "(cached) " >&6
5739 else
5740   if test -n "$ac_ct_DLLTOOL"; then
5741   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5742 else
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 for as_dir in $PATH
5745 do
5746   IFS=$as_save_IFS
5747   test -z "$as_dir" && as_dir=.
5748     for ac_exec_ext in '' $ac_executable_extensions; do
5749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5750     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752     break 2
5753   fi
5754 done
5755   done
5756 IFS=$as_save_IFS
5757
5758 fi
5759 fi
5760 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5761 if test -n "$ac_ct_DLLTOOL"; then
5762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5763 $as_echo "$ac_ct_DLLTOOL" >&6; }
5764 else
5765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5767 fi
5768
5769   if test "x$ac_ct_DLLTOOL" = x; then
5770     DLLTOOL="false"
5771   else
5772     case $cross_compiling:$ac_tool_warned in
5773 yes:)
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5776 ac_tool_warned=yes ;;
5777 esac
5778     DLLTOOL=$ac_ct_DLLTOOL
5779   fi
5780 else
5781   DLLTOOL="$ac_cv_prog_DLLTOOL"
5782 fi
5783
5784 test -z "$DLLTOOL" && DLLTOOL=dlltool
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5796 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5797 if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
5798   $as_echo_n "(cached) " >&6
5799 else
5800   lt_cv_sharedlib_from_linklib_cmd='unknown'
5801
5802 case $host_os in
5803 cygwin* | mingw* | pw32* | cegcc*)
5804   # two different shell functions defined in ltmain.sh
5805   # decide which to use based on capabilities of $DLLTOOL
5806   case `$DLLTOOL --help 2>&1` in
5807   *--identify-strict*)
5808     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5809     ;;
5810   *)
5811     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5812     ;;
5813   esac
5814   ;;
5815 *)
5816   # fallback: assume linklib IS sharedlib
5817   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5818   ;;
5819 esac
5820
5821 fi
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5823 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5824 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5825 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5826
5827
5828
5829
5830
5831
5832
5833
5834 if test -n "$ac_tool_prefix"; then
5835   for ac_prog in ar
5836   do
5837     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if test "${ac_cv_prog_AR+set}" = set; then :
5842   $as_echo_n "(cached) " >&6
5843 else
5844   if test -n "$AR"; then
5845   ac_cv_prog_AR="$AR" # Let the user override the test.
5846 else
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in $PATH
5849 do
5850   IFS=$as_save_IFS
5851   test -z "$as_dir" && as_dir=.
5852     for ac_exec_ext in '' $ac_executable_extensions; do
5853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5854     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856     break 2
5857   fi
5858 done
5859   done
5860 IFS=$as_save_IFS
5861
5862 fi
5863 fi
5864 AR=$ac_cv_prog_AR
5865 if test -n "$AR"; then
5866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5867 $as_echo "$AR" >&6; }
5868 else
5869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5871 fi
5872
5873
5874     test -n "$AR" && break
5875   done
5876 fi
5877 if test -z "$AR"; then
5878   ac_ct_AR=$AR
5879   for ac_prog in ar
5880 do
5881   # Extract the first word of "$ac_prog", so it can be a program name with args.
5882 set dummy $ac_prog; ac_word=$2
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884 $as_echo_n "checking for $ac_word... " >&6; }
5885 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5886   $as_echo_n "(cached) " >&6
5887 else
5888   if test -n "$ac_ct_AR"; then
5889   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5890 else
5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 for as_dir in $PATH
5893 do
5894   IFS=$as_save_IFS
5895   test -z "$as_dir" && as_dir=.
5896     for ac_exec_ext in '' $ac_executable_extensions; do
5897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5898     ac_cv_prog_ac_ct_AR="$ac_prog"
5899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900     break 2
5901   fi
5902 done
5903   done
5904 IFS=$as_save_IFS
5905
5906 fi
5907 fi
5908 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5909 if test -n "$ac_ct_AR"; then
5910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5911 $as_echo "$ac_ct_AR" >&6; }
5912 else
5913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5915 fi
5916
5917
5918   test -n "$ac_ct_AR" && break
5919 done
5920
5921   if test "x$ac_ct_AR" = x; then
5922     AR="false"
5923   else
5924     case $cross_compiling:$ac_tool_warned in
5925 yes:)
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5928 ac_tool_warned=yes ;;
5929 esac
5930     AR=$ac_ct_AR
5931   fi
5932 fi
5933
5934 : ${AR=ar}
5935 : ${AR_FLAGS=cru}
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5948 $as_echo_n "checking for archiver @FILE support... " >&6; }
5949 if test "${lt_cv_ar_at_file+set}" = set; then :
5950   $as_echo_n "(cached) " >&6
5951 else
5952   lt_cv_ar_at_file=no
5953    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5954 /* end confdefs.h.  */
5955
5956 int
5957 main ()
5958 {
5959
5960   ;
5961   return 0;
5962 }
5963 _ACEOF
5964 if ac_fn_c_try_compile "$LINENO"; then :
5965   echo conftest.$ac_objext > conftest.lst
5966       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5967       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5968   (eval $lt_ar_try) 2>&5
5969   ac_status=$?
5970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5971   test $ac_status = 0; }
5972       if test "$ac_status" -eq 0; then
5973         # Ensure the archiver fails upon bogus file names.
5974         rm -f conftest.$ac_objext libconftest.a
5975         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5976   (eval $lt_ar_try) 2>&5
5977   ac_status=$?
5978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5979   test $ac_status = 0; }
5980         if test "$ac_status" -ne 0; then
5981           lt_cv_ar_at_file=@
5982         fi
5983       fi
5984       rm -f conftest.* libconftest.a
5985
5986 fi
5987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5988
5989 fi
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5991 $as_echo "$lt_cv_ar_at_file" >&6; }
5992
5993 if test "x$lt_cv_ar_at_file" = xno; then
5994   archiver_list_spec=
5995 else
5996   archiver_list_spec=$lt_cv_ar_at_file
5997 fi
5998
5999
6000
6001
6002
6003
6004
6005 if test -n "$ac_tool_prefix"; then
6006   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6007 set dummy ${ac_tool_prefix}strip; ac_word=$2
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 $as_echo_n "checking for $ac_word... " >&6; }
6010 if test "${ac_cv_prog_STRIP+set}" = set; then :
6011   $as_echo_n "(cached) " >&6
6012 else
6013   if test -n "$STRIP"; then
6014   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6015 else
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 for as_dir in $PATH
6018 do
6019   IFS=$as_save_IFS
6020   test -z "$as_dir" && as_dir=.
6021     for ac_exec_ext in '' $ac_executable_extensions; do
6022   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6023     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6025     break 2
6026   fi
6027 done
6028   done
6029 IFS=$as_save_IFS
6030
6031 fi
6032 fi
6033 STRIP=$ac_cv_prog_STRIP
6034 if test -n "$STRIP"; then
6035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6036 $as_echo "$STRIP" >&6; }
6037 else
6038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 $as_echo "no" >&6; }
6040 fi
6041
6042
6043 fi
6044 if test -z "$ac_cv_prog_STRIP"; then
6045   ac_ct_STRIP=$STRIP
6046   # Extract the first word of "strip", so it can be a program name with args.
6047 set dummy strip; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6051   $as_echo_n "(cached) " >&6
6052 else
6053   if test -n "$ac_ct_STRIP"; then
6054   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6058 do
6059   IFS=$as_save_IFS
6060   test -z "$as_dir" && as_dir=.
6061     for ac_exec_ext in '' $ac_executable_extensions; do
6062   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063     ac_cv_prog_ac_ct_STRIP="strip"
6064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065     break 2
6066   fi
6067 done
6068   done
6069 IFS=$as_save_IFS
6070
6071 fi
6072 fi
6073 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6074 if test -n "$ac_ct_STRIP"; then
6075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6076 $as_echo "$ac_ct_STRIP" >&6; }
6077 else
6078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6080 fi
6081
6082   if test "x$ac_ct_STRIP" = x; then
6083     STRIP=":"
6084   else
6085     case $cross_compiling:$ac_tool_warned in
6086 yes:)
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6089 ac_tool_warned=yes ;;
6090 esac
6091     STRIP=$ac_ct_STRIP
6092   fi
6093 else
6094   STRIP="$ac_cv_prog_STRIP"
6095 fi
6096
6097 test -z "$STRIP" && STRIP=:
6098
6099
6100
6101
6102
6103
6104 if test -n "$ac_tool_prefix"; then
6105   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6110   $as_echo_n "(cached) " >&6
6111 else
6112   if test -n "$RANLIB"; then
6113   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6117 do
6118   IFS=$as_save_IFS
6119   test -z "$as_dir" && as_dir=.
6120     for ac_exec_ext in '' $ac_executable_extensions; do
6121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124     break 2
6125   fi
6126 done
6127   done
6128 IFS=$as_save_IFS
6129
6130 fi
6131 fi
6132 RANLIB=$ac_cv_prog_RANLIB
6133 if test -n "$RANLIB"; then
6134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6135 $as_echo "$RANLIB" >&6; }
6136 else
6137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6139 fi
6140
6141
6142 fi
6143 if test -z "$ac_cv_prog_RANLIB"; then
6144   ac_ct_RANLIB=$RANLIB
6145   # Extract the first word of "ranlib", so it can be a program name with args.
6146 set dummy ranlib; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6150   $as_echo_n "(cached) " >&6
6151 else
6152   if test -n "$ac_ct_RANLIB"; then
6153   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6157 do
6158   IFS=$as_save_IFS
6159   test -z "$as_dir" && as_dir=.
6160     for ac_exec_ext in '' $ac_executable_extensions; do
6161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162     ac_cv_prog_ac_ct_RANLIB="ranlib"
6163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164     break 2
6165   fi
6166 done
6167   done
6168 IFS=$as_save_IFS
6169
6170 fi
6171 fi
6172 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6173 if test -n "$ac_ct_RANLIB"; then
6174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6175 $as_echo "$ac_ct_RANLIB" >&6; }
6176 else
6177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 fi
6180
6181   if test "x$ac_ct_RANLIB" = x; then
6182     RANLIB=":"
6183   else
6184     case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190     RANLIB=$ac_ct_RANLIB
6191   fi
6192 else
6193   RANLIB="$ac_cv_prog_RANLIB"
6194 fi
6195
6196 test -z "$RANLIB" && RANLIB=:
6197
6198
6199
6200
6201
6202
6203 # Determine commands to create old-style static archives.
6204 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6205 old_postinstall_cmds='chmod 644 $oldlib'
6206 old_postuninstall_cmds=
6207
6208 if test -n "$RANLIB"; then
6209   case $host_os in
6210   openbsd*)
6211     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6212     ;;
6213   *)
6214     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6215     ;;
6216   esac
6217   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6218 fi
6219
6220 case $host_os in
6221   darwin*)
6222     lock_old_archive_extraction=yes ;;
6223   *)
6224     lock_old_archive_extraction=no ;;
6225 esac
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
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265 # If no C compiler was specified, use CC.
6266 LTCC=${LTCC-"$CC"}
6267
6268 # If no C compiler flags were specified, use CFLAGS.
6269 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6270
6271 # Allow CC to be a program name with arguments.
6272 compiler=$CC
6273
6274
6275 # Check for command to grab the raw symbol name followed by C symbol from nm.
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6277 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6278 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6279   $as_echo_n "(cached) " >&6
6280 else
6281
6282 # These are sane defaults that work on at least a few old systems.
6283 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6284
6285 # Character class describing NM global symbol codes.
6286 symcode='[BCDEGRST]'
6287
6288 # Regexp to match symbols that can be accessed directly from C.
6289 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6290
6291 # Define system-specific variables.
6292 case $host_os in
6293 aix*)
6294   symcode='[BCDT]'
6295   ;;
6296 cygwin* | mingw* | pw32* | cegcc*)
6297   symcode='[ABCDGISTW]'
6298   ;;
6299 hpux*)
6300   if test "$host_cpu" = ia64; then
6301     symcode='[ABCDEGRST]'
6302   fi
6303   ;;
6304 irix* | nonstopux*)
6305   symcode='[BCDEGRST]'
6306   ;;
6307 osf*)
6308   symcode='[BCDEGQRST]'
6309   ;;
6310 solaris*)
6311   symcode='[BDRT]'
6312   ;;
6313 sco3.2v5*)
6314   symcode='[DT]'
6315   ;;
6316 sysv4.2uw2*)
6317   symcode='[DT]'
6318   ;;
6319 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6320   symcode='[ABDT]'
6321   ;;
6322 sysv4)
6323   symcode='[DFNSTU]'
6324   ;;
6325 esac
6326
6327 # If we're using GNU nm, then use its standard symbol codes.
6328 case `$NM -V 2>&1` in
6329 *GNU* | *'with BFD'*)
6330   symcode='[ABCDGIRSTW]' ;;
6331 esac
6332
6333 # Transform an extracted symbol line into a proper C declaration.
6334 # Some systems (esp. on ia64) link data and code symbols differently,
6335 # so use this general approach.
6336 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6337
6338 # Transform an extracted symbol line into symbol name and symbol address
6339 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6340 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'"
6341
6342 # Handle CRLF in mingw tool chain
6343 opt_cr=
6344 case $build_os in
6345 mingw*)
6346   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6347   ;;
6348 esac
6349
6350 # Try without a prefix underscore, then with it.
6351 for ac_symprfx in "" "_"; do
6352
6353   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6354   symxfrm="\\1 $ac_symprfx\\2 \\2"
6355
6356   # Write the raw and C identifiers.
6357   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6358     # Fake it for dumpbin and say T for any non-static function
6359     # and D for any global variable.
6360     # Also find C++ and __fastcall symbols from MSVC++,
6361     # which start with @ or ?.
6362     lt_cv_sys_global_symbol_pipe="$AWK '"\
6363 "     {last_section=section; section=\$ 3};"\
6364 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6365 "     \$ 0!~/External *\|/{next};"\
6366 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6367 "     {if(hide[section]) next};"\
6368 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6369 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6370 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6371 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6372 "     ' prfx=^$ac_symprfx"
6373   else
6374     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6375   fi
6376   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6377
6378   # Check to see that the pipe works correctly.
6379   pipe_works=no
6380
6381   rm -f conftest*
6382   cat > conftest.$ac_ext <<_LT_EOF
6383 #ifdef __cplusplus
6384 extern "C" {
6385 #endif
6386 char nm_test_var;
6387 void nm_test_func(void);
6388 void nm_test_func(void){}
6389 #ifdef __cplusplus
6390 }
6391 #endif
6392 int main(){nm_test_var='a';nm_test_func();return(0);}
6393 _LT_EOF
6394
6395   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6396   (eval $ac_compile) 2>&5
6397   ac_status=$?
6398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6399   test $ac_status = 0; }; then
6400     # Now try to grab the symbols.
6401     nlist=conftest.nm
6402     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6403   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6404   ac_status=$?
6405   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6406   test $ac_status = 0; } && test -s "$nlist"; then
6407       # Try sorting and uniquifying the output.
6408       if sort "$nlist" | uniq > "$nlist"T; then
6409         mv -f "$nlist"T "$nlist"
6410       else
6411         rm -f "$nlist"T
6412       fi
6413
6414       # Make sure that we snagged all the symbols we need.
6415       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6416         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6417           cat <<_LT_EOF > conftest.$ac_ext
6418 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6419 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6420 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6421    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6422 # define LT_DLSYM_CONST
6423 #elif defined(__osf__)
6424 /* This system does not cope well with relocations in const data.  */
6425 # define LT_DLSYM_CONST
6426 #else
6427 # define LT_DLSYM_CONST const
6428 #endif
6429
6430 #ifdef __cplusplus
6431 extern "C" {
6432 #endif
6433
6434 _LT_EOF
6435           # Now generate the symbol file.
6436           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6437
6438           cat <<_LT_EOF >> conftest.$ac_ext
6439
6440 /* The mapping between symbol names and symbols.  */
6441 LT_DLSYM_CONST struct {
6442   const char *name;
6443   void       *address;
6444 }
6445 lt__PROGRAM__LTX_preloaded_symbols[] =
6446 {
6447   { "@PROGRAM@", (void *) 0 },
6448 _LT_EOF
6449           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6450           cat <<\_LT_EOF >> conftest.$ac_ext
6451   {0, (void *) 0}
6452 };
6453
6454 /* This works around a problem in FreeBSD linker */
6455 #ifdef FREEBSD_WORKAROUND
6456 static const void *lt_preloaded_setup() {
6457   return lt__PROGRAM__LTX_preloaded_symbols;
6458 }
6459 #endif
6460
6461 #ifdef __cplusplus
6462 }
6463 #endif
6464 _LT_EOF
6465           # Now try linking the two files.
6466           mv conftest.$ac_objext conftstm.$ac_objext
6467           lt_globsym_save_LIBS=$LIBS
6468           lt_globsym_save_CFLAGS=$CFLAGS
6469           LIBS="conftstm.$ac_objext"
6470           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6471           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6472   (eval $ac_link) 2>&5
6473   ac_status=$?
6474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6475   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6476             pipe_works=yes
6477           fi
6478           LIBS=$lt_globsym_save_LIBS
6479           CFLAGS=$lt_globsym_save_CFLAGS
6480         else
6481           echo "cannot find nm_test_func in $nlist" >&5
6482         fi
6483       else
6484         echo "cannot find nm_test_var in $nlist" >&5
6485       fi
6486     else
6487       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6488     fi
6489   else
6490     echo "$progname: failed program was:" >&5
6491     cat conftest.$ac_ext >&5
6492   fi
6493   rm -rf conftest* conftst*
6494
6495   # Do not use the global_symbol_pipe unless it works.
6496   if test "$pipe_works" = yes; then
6497     break
6498   else
6499     lt_cv_sys_global_symbol_pipe=
6500   fi
6501 done
6502
6503 fi
6504
6505 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6506   lt_cv_sys_global_symbol_to_cdecl=
6507 fi
6508 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6510 $as_echo "failed" >&6; }
6511 else
6512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6513 $as_echo "ok" >&6; }
6514 fi
6515
6516 # Response file support.
6517 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6518   nm_file_list_spec='@'
6519 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6520   nm_file_list_spec='@'
6521 fi
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6550 $as_echo_n "checking for sysroot... " >&6; }
6551
6552 # Check whether --with-sysroot was given.
6553 if test "${with_sysroot+set}" = set; then :
6554   withval=$with_sysroot;
6555 else
6556   with_sysroot=no
6557 fi
6558
6559
6560 lt_sysroot=
6561 case ${with_sysroot} in #(
6562  yes)
6563    if test "$GCC" = yes; then
6564      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6565    fi
6566    ;; #(
6567  /*)
6568    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6569    ;; #(
6570  no|'')
6571    ;; #(
6572  *)
6573    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6574 $as_echo "${with_sysroot}" >&6; }
6575    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6576    ;;
6577 esac
6578
6579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6580 $as_echo "${lt_sysroot:-no}" >&6; }
6581
6582
6583
6584
6585
6586 # Check whether --enable-libtool-lock was given.
6587 if test "${enable_libtool_lock+set}" = set; then :
6588   enableval=$enable_libtool_lock;
6589 fi
6590
6591 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6592
6593 # Some flags need to be propagated to the compiler or linker for good
6594 # libtool support.
6595 case $host in
6596 ia64-*-hpux*)
6597   # Find out which ABI we are using.
6598   echo 'int i;' > conftest.$ac_ext
6599   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6600   (eval $ac_compile) 2>&5
6601   ac_status=$?
6602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6603   test $ac_status = 0; }; then
6604     case `/usr/bin/file conftest.$ac_objext` in
6605       *ELF-32*)
6606         HPUX_IA64_MODE="32"
6607         ;;
6608       *ELF-64*)
6609         HPUX_IA64_MODE="64"
6610         ;;
6611     esac
6612   fi
6613   rm -rf conftest*
6614   ;;
6615 *-*-irix6*)
6616   # Find out which ABI we are using.
6617   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6618   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6619   (eval $ac_compile) 2>&5
6620   ac_status=$?
6621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6622   test $ac_status = 0; }; then
6623     if test "$lt_cv_prog_gnu_ld" = yes; then
6624       case `/usr/bin/file conftest.$ac_objext` in
6625         *32-bit*)
6626           LD="${LD-ld} -melf32bsmip"
6627           ;;
6628         *N32*)
6629           LD="${LD-ld} -melf32bmipn32"
6630           ;;
6631         *64-bit*)
6632           LD="${LD-ld} -melf64bmip"
6633         ;;
6634       esac
6635     else
6636       case `/usr/bin/file conftest.$ac_objext` in
6637         *32-bit*)
6638           LD="${LD-ld} -32"
6639           ;;
6640         *N32*)
6641           LD="${LD-ld} -n32"
6642           ;;
6643         *64-bit*)
6644           LD="${LD-ld} -64"
6645           ;;
6646       esac
6647     fi
6648   fi
6649   rm -rf conftest*
6650   ;;
6651
6652 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6653 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6654   # Find out which ABI we are using.
6655   echo 'int i;' > conftest.$ac_ext
6656   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6657   (eval $ac_compile) 2>&5
6658   ac_status=$?
6659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6660   test $ac_status = 0; }; then
6661     case `/usr/bin/file conftest.o` in
6662       *32-bit*)
6663         case $host in
6664           x86_64-*kfreebsd*-gnu)
6665             LD="${LD-ld} -m elf_i386_fbsd"
6666             ;;
6667           x86_64-*linux*)
6668             LD="${LD-ld} -m elf_i386"
6669             ;;
6670           ppc64-*linux*|powerpc64-*linux*)
6671             LD="${LD-ld} -m elf32ppclinux"
6672             ;;
6673           s390x-*linux*)
6674             LD="${LD-ld} -m elf_s390"
6675             ;;
6676           sparc64-*linux*)
6677             LD="${LD-ld} -m elf32_sparc"
6678             ;;
6679         esac
6680         ;;
6681       *64-bit*)
6682         case $host in
6683           x86_64-*kfreebsd*-gnu)
6684             LD="${LD-ld} -m elf_x86_64_fbsd"
6685             ;;
6686           x86_64-*linux*)
6687             LD="${LD-ld} -m elf_x86_64"
6688             ;;
6689           ppc*-*linux*|powerpc*-*linux*)
6690             LD="${LD-ld} -m elf64ppc"
6691             ;;
6692           s390*-*linux*|s390*-*tpf*)
6693             LD="${LD-ld} -m elf64_s390"
6694             ;;
6695           sparc*-*linux*)
6696             LD="${LD-ld} -m elf64_sparc"
6697             ;;
6698         esac
6699         ;;
6700     esac
6701   fi
6702   rm -rf conftest*
6703   ;;
6704
6705 *-*-sco3.2v5*)
6706   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6707   SAVE_CFLAGS="$CFLAGS"
6708   CFLAGS="$CFLAGS -belf"
6709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6710 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6711 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6712   $as_echo_n "(cached) " >&6
6713 else
6714   ac_ext=c
6715 ac_cpp='$CPP $CPPFLAGS'
6716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6719
6720      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h.  */
6722
6723 int
6724 main ()
6725 {
6726
6727   ;
6728   return 0;
6729 }
6730 _ACEOF
6731 if ac_fn_c_try_link "$LINENO"; then :
6732   lt_cv_cc_needs_belf=yes
6733 else
6734   lt_cv_cc_needs_belf=no
6735 fi
6736 rm -f core conftest.err conftest.$ac_objext \
6737     conftest$ac_exeext conftest.$ac_ext
6738      ac_ext=c
6739 ac_cpp='$CPP $CPPFLAGS'
6740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6743
6744 fi
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6746 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6747   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6748     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6749     CFLAGS="$SAVE_CFLAGS"
6750   fi
6751   ;;
6752 sparc*-*solaris*)
6753   # Find out which ABI we are using.
6754   echo 'int i;' > conftest.$ac_ext
6755   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6756   (eval $ac_compile) 2>&5
6757   ac_status=$?
6758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6759   test $ac_status = 0; }; then
6760     case `/usr/bin/file conftest.o` in
6761     *64-bit*)
6762       case $lt_cv_prog_gnu_ld in
6763       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6764       *)
6765         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6766           LD="${LD-ld} -64"
6767         fi
6768         ;;
6769       esac
6770       ;;
6771     esac
6772   fi
6773   rm -rf conftest*
6774   ;;
6775 esac
6776
6777 need_locks="$enable_libtool_lock"
6778
6779 if test -n "$ac_tool_prefix"; then
6780   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6781 set dummy ${ac_tool_prefix}mt; ac_word=$2
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783 $as_echo_n "checking for $ac_word... " >&6; }
6784 if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
6785   $as_echo_n "(cached) " >&6
6786 else
6787   if test -n "$MANIFEST_TOOL"; then
6788   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6789 else
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791 for as_dir in $PATH
6792 do
6793   IFS=$as_save_IFS
6794   test -z "$as_dir" && as_dir=.
6795     for ac_exec_ext in '' $ac_executable_extensions; do
6796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6797     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6799     break 2
6800   fi
6801 done
6802   done
6803 IFS=$as_save_IFS
6804
6805 fi
6806 fi
6807 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6808 if test -n "$MANIFEST_TOOL"; then
6809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6810 $as_echo "$MANIFEST_TOOL" >&6; }
6811 else
6812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }
6814 fi
6815
6816
6817 fi
6818 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6819   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6820   # Extract the first word of "mt", so it can be a program name with args.
6821 set dummy mt; ac_word=$2
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6823 $as_echo_n "checking for $ac_word... " >&6; }
6824 if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
6825   $as_echo_n "(cached) " >&6
6826 else
6827   if test -n "$ac_ct_MANIFEST_TOOL"; then
6828   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6829 else
6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6831 for as_dir in $PATH
6832 do
6833   IFS=$as_save_IFS
6834   test -z "$as_dir" && as_dir=.
6835     for ac_exec_ext in '' $ac_executable_extensions; do
6836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6837     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6839     break 2
6840   fi
6841 done
6842   done
6843 IFS=$as_save_IFS
6844
6845 fi
6846 fi
6847 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6848 if test -n "$ac_ct_MANIFEST_TOOL"; then
6849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6850 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6851 else
6852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853 $as_echo "no" >&6; }
6854 fi
6855
6856   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6857     MANIFEST_TOOL=":"
6858   else
6859     case $cross_compiling:$ac_tool_warned in
6860 yes:)
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863 ac_tool_warned=yes ;;
6864 esac
6865     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6866   fi
6867 else
6868   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6869 fi
6870
6871 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6873 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6874 if test "${lt_cv_path_mainfest_tool+set}" = set; then :
6875   $as_echo_n "(cached) " >&6
6876 else
6877   lt_cv_path_mainfest_tool=no
6878   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6879   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6880   cat conftest.err >&5
6881   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6882     lt_cv_path_mainfest_tool=yes
6883   fi
6884   rm -f conftest*
6885 fi
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6887 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6888 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6889   MANIFEST_TOOL=:
6890 fi
6891
6892
6893
6894
6895
6896
6897   case $host_os in
6898     rhapsody* | darwin*)
6899     if test -n "$ac_tool_prefix"; then
6900   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6901 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6903 $as_echo_n "checking for $ac_word... " >&6; }
6904 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6905   $as_echo_n "(cached) " >&6
6906 else
6907   if test -n "$DSYMUTIL"; then
6908   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6909 else
6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6911 for as_dir in $PATH
6912 do
6913   IFS=$as_save_IFS
6914   test -z "$as_dir" && as_dir=.
6915     for ac_exec_ext in '' $ac_executable_extensions; do
6916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6917     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919     break 2
6920   fi
6921 done
6922   done
6923 IFS=$as_save_IFS
6924
6925 fi
6926 fi
6927 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6928 if test -n "$DSYMUTIL"; then
6929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6930 $as_echo "$DSYMUTIL" >&6; }
6931 else
6932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6933 $as_echo "no" >&6; }
6934 fi
6935
6936
6937 fi
6938 if test -z "$ac_cv_prog_DSYMUTIL"; then
6939   ac_ct_DSYMUTIL=$DSYMUTIL
6940   # Extract the first word of "dsymutil", so it can be a program name with args.
6941 set dummy dsymutil; ac_word=$2
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6943 $as_echo_n "checking for $ac_word... " >&6; }
6944 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6945   $as_echo_n "(cached) " >&6
6946 else
6947   if test -n "$ac_ct_DSYMUTIL"; then
6948   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6949 else
6950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6951 for as_dir in $PATH
6952 do
6953   IFS=$as_save_IFS
6954   test -z "$as_dir" && as_dir=.
6955     for ac_exec_ext in '' $ac_executable_extensions; do
6956   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6957     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6958     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6959     break 2
6960   fi
6961 done
6962   done
6963 IFS=$as_save_IFS
6964
6965 fi
6966 fi
6967 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6968 if test -n "$ac_ct_DSYMUTIL"; then
6969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6970 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6971 else
6972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6973 $as_echo "no" >&6; }
6974 fi
6975
6976   if test "x$ac_ct_DSYMUTIL" = x; then
6977     DSYMUTIL=":"
6978   else
6979     case $cross_compiling:$ac_tool_warned in
6980 yes:)
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6983 ac_tool_warned=yes ;;
6984 esac
6985     DSYMUTIL=$ac_ct_DSYMUTIL
6986   fi
6987 else
6988   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6989 fi
6990
6991     if test -n "$ac_tool_prefix"; then
6992   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6993 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6997   $as_echo_n "(cached) " >&6
6998 else
6999   if test -n "$NMEDIT"; then
7000   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7001 else
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 for as_dir in $PATH
7004 do
7005   IFS=$as_save_IFS
7006   test -z "$as_dir" && as_dir=.
7007     for ac_exec_ext in '' $ac_executable_extensions; do
7008   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7009     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011     break 2
7012   fi
7013 done
7014   done
7015 IFS=$as_save_IFS
7016
7017 fi
7018 fi
7019 NMEDIT=$ac_cv_prog_NMEDIT
7020 if test -n "$NMEDIT"; then
7021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7022 $as_echo "$NMEDIT" >&6; }
7023 else
7024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7026 fi
7027
7028
7029 fi
7030 if test -z "$ac_cv_prog_NMEDIT"; then
7031   ac_ct_NMEDIT=$NMEDIT
7032   # Extract the first word of "nmedit", so it can be a program name with args.
7033 set dummy nmedit; ac_word=$2
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035 $as_echo_n "checking for $ac_word... " >&6; }
7036 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7037   $as_echo_n "(cached) " >&6
7038 else
7039   if test -n "$ac_ct_NMEDIT"; then
7040   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7041 else
7042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7043 for as_dir in $PATH
7044 do
7045   IFS=$as_save_IFS
7046   test -z "$as_dir" && as_dir=.
7047     for ac_exec_ext in '' $ac_executable_extensions; do
7048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7049     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7051     break 2
7052   fi
7053 done
7054   done
7055 IFS=$as_save_IFS
7056
7057 fi
7058 fi
7059 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7060 if test -n "$ac_ct_NMEDIT"; then
7061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7062 $as_echo "$ac_ct_NMEDIT" >&6; }
7063 else
7064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7065 $as_echo "no" >&6; }
7066 fi
7067
7068   if test "x$ac_ct_NMEDIT" = x; then
7069     NMEDIT=":"
7070   else
7071     case $cross_compiling:$ac_tool_warned in
7072 yes:)
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7075 ac_tool_warned=yes ;;
7076 esac
7077     NMEDIT=$ac_ct_NMEDIT
7078   fi
7079 else
7080   NMEDIT="$ac_cv_prog_NMEDIT"
7081 fi
7082
7083     if test -n "$ac_tool_prefix"; then
7084   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7085 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 $as_echo_n "checking for $ac_word... " >&6; }
7088 if test "${ac_cv_prog_LIPO+set}" = set; then :
7089   $as_echo_n "(cached) " >&6
7090 else
7091   if test -n "$LIPO"; then
7092   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7093 else
7094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 for as_dir in $PATH
7096 do
7097   IFS=$as_save_IFS
7098   test -z "$as_dir" && as_dir=.
7099     for ac_exec_ext in '' $ac_executable_extensions; do
7100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7101     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7103     break 2
7104   fi
7105 done
7106   done
7107 IFS=$as_save_IFS
7108
7109 fi
7110 fi
7111 LIPO=$ac_cv_prog_LIPO
7112 if test -n "$LIPO"; then
7113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7114 $as_echo "$LIPO" >&6; }
7115 else
7116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7118 fi
7119
7120
7121 fi
7122 if test -z "$ac_cv_prog_LIPO"; then
7123   ac_ct_LIPO=$LIPO
7124   # Extract the first word of "lipo", so it can be a program name with args.
7125 set dummy lipo; ac_word=$2
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127 $as_echo_n "checking for $ac_word... " >&6; }
7128 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7129   $as_echo_n "(cached) " >&6
7130 else
7131   if test -n "$ac_ct_LIPO"; then
7132   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7133 else
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 for as_dir in $PATH
7136 do
7137   IFS=$as_save_IFS
7138   test -z "$as_dir" && as_dir=.
7139     for ac_exec_ext in '' $ac_executable_extensions; do
7140   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7141     ac_cv_prog_ac_ct_LIPO="lipo"
7142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7143     break 2
7144   fi
7145 done
7146   done
7147 IFS=$as_save_IFS
7148
7149 fi
7150 fi
7151 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7152 if test -n "$ac_ct_LIPO"; then
7153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7154 $as_echo "$ac_ct_LIPO" >&6; }
7155 else
7156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7157 $as_echo "no" >&6; }
7158 fi
7159
7160   if test "x$ac_ct_LIPO" = x; then
7161     LIPO=":"
7162   else
7163     case $cross_compiling:$ac_tool_warned in
7164 yes:)
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7167 ac_tool_warned=yes ;;
7168 esac
7169     LIPO=$ac_ct_LIPO
7170   fi
7171 else
7172   LIPO="$ac_cv_prog_LIPO"
7173 fi
7174
7175     if test -n "$ac_tool_prefix"; then
7176   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7177 set dummy ${ac_tool_prefix}otool; ac_word=$2
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 $as_echo_n "checking for $ac_word... " >&6; }
7180 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7181   $as_echo_n "(cached) " >&6
7182 else
7183   if test -n "$OTOOL"; then
7184   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7185 else
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7187 for as_dir in $PATH
7188 do
7189   IFS=$as_save_IFS
7190   test -z "$as_dir" && as_dir=.
7191     for ac_exec_ext in '' $ac_executable_extensions; do
7192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7193     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195     break 2
7196   fi
7197 done
7198   done
7199 IFS=$as_save_IFS
7200
7201 fi
7202 fi
7203 OTOOL=$ac_cv_prog_OTOOL
7204 if test -n "$OTOOL"; then
7205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7206 $as_echo "$OTOOL" >&6; }
7207 else
7208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7210 fi
7211
7212
7213 fi
7214 if test -z "$ac_cv_prog_OTOOL"; then
7215   ac_ct_OTOOL=$OTOOL
7216   # Extract the first word of "otool", so it can be a program name with args.
7217 set dummy otool; ac_word=$2
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219 $as_echo_n "checking for $ac_word... " >&6; }
7220 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7221   $as_echo_n "(cached) " >&6
7222 else
7223   if test -n "$ac_ct_OTOOL"; then
7224   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7225 else
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 for as_dir in $PATH
7228 do
7229   IFS=$as_save_IFS
7230   test -z "$as_dir" && as_dir=.
7231     for ac_exec_ext in '' $ac_executable_extensions; do
7232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7233     ac_cv_prog_ac_ct_OTOOL="otool"
7234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235     break 2
7236   fi
7237 done
7238   done
7239 IFS=$as_save_IFS
7240
7241 fi
7242 fi
7243 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7244 if test -n "$ac_ct_OTOOL"; then
7245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7246 $as_echo "$ac_ct_OTOOL" >&6; }
7247 else
7248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 $as_echo "no" >&6; }
7250 fi
7251
7252   if test "x$ac_ct_OTOOL" = x; then
7253     OTOOL=":"
7254   else
7255     case $cross_compiling:$ac_tool_warned in
7256 yes:)
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7259 ac_tool_warned=yes ;;
7260 esac
7261     OTOOL=$ac_ct_OTOOL
7262   fi
7263 else
7264   OTOOL="$ac_cv_prog_OTOOL"
7265 fi
7266
7267     if test -n "$ac_tool_prefix"; then
7268   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7273   $as_echo_n "(cached) " >&6
7274 else
7275   if test -n "$OTOOL64"; then
7276   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7280 do
7281   IFS=$as_save_IFS
7282   test -z "$as_dir" && as_dir=.
7283     for ac_exec_ext in '' $ac_executable_extensions; do
7284   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287     break 2
7288   fi
7289 done
7290   done
7291 IFS=$as_save_IFS
7292
7293 fi
7294 fi
7295 OTOOL64=$ac_cv_prog_OTOOL64
7296 if test -n "$OTOOL64"; then
7297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7298 $as_echo "$OTOOL64" >&6; }
7299 else
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7302 fi
7303
7304
7305 fi
7306 if test -z "$ac_cv_prog_OTOOL64"; then
7307   ac_ct_OTOOL64=$OTOOL64
7308   # Extract the first word of "otool64", so it can be a program name with args.
7309 set dummy otool64; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7313   $as_echo_n "(cached) " >&6
7314 else
7315   if test -n "$ac_ct_OTOOL64"; then
7316   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7320 do
7321   IFS=$as_save_IFS
7322   test -z "$as_dir" && as_dir=.
7323     for ac_exec_ext in '' $ac_executable_extensions; do
7324   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325     ac_cv_prog_ac_ct_OTOOL64="otool64"
7326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327     break 2
7328   fi
7329 done
7330   done
7331 IFS=$as_save_IFS
7332
7333 fi
7334 fi
7335 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7336 if test -n "$ac_ct_OTOOL64"; then
7337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7338 $as_echo "$ac_ct_OTOOL64" >&6; }
7339 else
7340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7342 fi
7343
7344   if test "x$ac_ct_OTOOL64" = x; then
7345     OTOOL64=":"
7346   else
7347     case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353     OTOOL64=$ac_ct_OTOOL64
7354   fi
7355 else
7356   OTOOL64="$ac_cv_prog_OTOOL64"
7357 fi
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7386 $as_echo_n "checking for -single_module linker flag... " >&6; }
7387 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7388   $as_echo_n "(cached) " >&6
7389 else
7390   lt_cv_apple_cc_single_mod=no
7391       if test -z "${LT_MULTI_MODULE}"; then
7392         # By default we will add the -single_module flag. You can override
7393         # by either setting the environment variable LT_MULTI_MODULE
7394         # non-empty at configure time, or by adding -multi_module to the
7395         # link flags.
7396         rm -rf libconftest.dylib*
7397         echo "int foo(void){return 1;}" > conftest.c
7398         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7399 -dynamiclib -Wl,-single_module conftest.c" >&5
7400         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7401           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7402         _lt_result=$?
7403         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7404           lt_cv_apple_cc_single_mod=yes
7405         else
7406           cat conftest.err >&5
7407         fi
7408         rm -rf libconftest.dylib*
7409         rm -f conftest.*
7410       fi
7411 fi
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7413 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7414     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7415 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7416 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7417   $as_echo_n "(cached) " >&6
7418 else
7419   lt_cv_ld_exported_symbols_list=no
7420       save_LDFLAGS=$LDFLAGS
7421       echo "_main" > conftest.sym
7422       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7424 /* end confdefs.h.  */
7425
7426 int
7427 main ()
7428 {
7429
7430   ;
7431   return 0;
7432 }
7433 _ACEOF
7434 if ac_fn_c_try_link "$LINENO"; then :
7435   lt_cv_ld_exported_symbols_list=yes
7436 else
7437   lt_cv_ld_exported_symbols_list=no
7438 fi
7439 rm -f core conftest.err conftest.$ac_objext \
7440     conftest$ac_exeext conftest.$ac_ext
7441         LDFLAGS="$save_LDFLAGS"
7442
7443 fi
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7445 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7446     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7447 $as_echo_n "checking for -force_load linker flag... " >&6; }
7448 if test "${lt_cv_ld_force_load+set}" = set; then :
7449   $as_echo_n "(cached) " >&6
7450 else
7451   lt_cv_ld_force_load=no
7452       cat > conftest.c << _LT_EOF
7453 int forced_loaded() { return 2;}
7454 _LT_EOF
7455       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7456       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7457       echo "$AR cru libconftest.a conftest.o" >&5
7458       $AR cru libconftest.a conftest.o 2>&5
7459       echo "$RANLIB libconftest.a" >&5
7460       $RANLIB libconftest.a 2>&5
7461       cat > conftest.c << _LT_EOF
7462 int main() { return 0;}
7463 _LT_EOF
7464       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7465       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7466       _lt_result=$?
7467       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7468         lt_cv_ld_force_load=yes
7469       else
7470         cat conftest.err >&5
7471       fi
7472         rm -f conftest.err libconftest.a conftest conftest.c
7473         rm -rf conftest.dSYM
7474
7475 fi
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7477 $as_echo "$lt_cv_ld_force_load" >&6; }
7478     case $host_os in
7479     rhapsody* | darwin1.[012])
7480       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7481     darwin1.*)
7482       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7483     darwin*) # darwin 5.x on
7484       # if running on 10.5 or later, the deployment target defaults
7485       # to the OS version, if on x86, and 10.4, the deployment
7486       # target defaults to 10.4. Don't you love it?
7487       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7488         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7489           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7490         10.[012]*)
7491           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7492         10.*)
7493           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7494       esac
7495     ;;
7496   esac
7497     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7498       _lt_dar_single_mod='$single_module'
7499     fi
7500     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7501       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7502     else
7503       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7504     fi
7505     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7506       _lt_dsymutil='~$DSYMUTIL $lib || :'
7507     else
7508       _lt_dsymutil=
7509     fi
7510     ;;
7511   esac
7512
7513 ac_ext=c
7514 ac_cpp='$CPP $CPPFLAGS'
7515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7519 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7520 # On Suns, sometimes $CPP names a directory.
7521 if test -n "$CPP" && test -d "$CPP"; then
7522   CPP=
7523 fi
7524 if test -z "$CPP"; then
7525   if test "${ac_cv_prog_CPP+set}" = set; then :
7526   $as_echo_n "(cached) " >&6
7527 else
7528       # Double quotes because CPP needs to be expanded
7529     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7530     do
7531       ac_preproc_ok=false
7532 for ac_c_preproc_warn_flag in '' yes
7533 do
7534   # Use a header file that comes with gcc, so configuring glibc
7535   # with a fresh cross-compiler works.
7536   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7537   # <limits.h> exists even on freestanding compilers.
7538   # On the NeXT, cc -E runs the code through the compiler's parser,
7539   # not just through cpp. "Syntax error" is here to catch this case.
7540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h.  */
7542 #ifdef __STDC__
7543 # include <limits.h>
7544 #else
7545 # include <assert.h>
7546 #endif
7547                      Syntax error
7548 _ACEOF
7549 if ac_fn_c_try_cpp "$LINENO"; then :
7550
7551 else
7552   # Broken: fails on valid input.
7553 continue
7554 fi
7555 rm -f conftest.err conftest.i conftest.$ac_ext
7556
7557   # OK, works on sane cases.  Now check whether nonexistent headers
7558   # can be detected and how.
7559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7560 /* end confdefs.h.  */
7561 #include <ac_nonexistent.h>
7562 _ACEOF
7563 if ac_fn_c_try_cpp "$LINENO"; then :
7564   # Broken: success on invalid input.
7565 continue
7566 else
7567   # Passes both tests.
7568 ac_preproc_ok=:
7569 break
7570 fi
7571 rm -f conftest.err conftest.i conftest.$ac_ext
7572
7573 done
7574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7575 rm -f conftest.i conftest.err conftest.$ac_ext
7576 if $ac_preproc_ok; then :
7577   break
7578 fi
7579
7580     done
7581     ac_cv_prog_CPP=$CPP
7582
7583 fi
7584   CPP=$ac_cv_prog_CPP
7585 else
7586   ac_cv_prog_CPP=$CPP
7587 fi
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7589 $as_echo "$CPP" >&6; }
7590 ac_preproc_ok=false
7591 for ac_c_preproc_warn_flag in '' yes
7592 do
7593   # Use a header file that comes with gcc, so configuring glibc
7594   # with a fresh cross-compiler works.
7595   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7596   # <limits.h> exists even on freestanding compilers.
7597   # On the NeXT, cc -E runs the code through the compiler's parser,
7598   # not just through cpp. "Syntax error" is here to catch this case.
7599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h.  */
7601 #ifdef __STDC__
7602 # include <limits.h>
7603 #else
7604 # include <assert.h>
7605 #endif
7606                      Syntax error
7607 _ACEOF
7608 if ac_fn_c_try_cpp "$LINENO"; then :
7609
7610 else
7611   # Broken: fails on valid input.
7612 continue
7613 fi
7614 rm -f conftest.err conftest.i conftest.$ac_ext
7615
7616   # OK, works on sane cases.  Now check whether nonexistent headers
7617   # can be detected and how.
7618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h.  */
7620 #include <ac_nonexistent.h>
7621 _ACEOF
7622 if ac_fn_c_try_cpp "$LINENO"; then :
7623   # Broken: success on invalid input.
7624 continue
7625 else
7626   # Passes both tests.
7627 ac_preproc_ok=:
7628 break
7629 fi
7630 rm -f conftest.err conftest.i conftest.$ac_ext
7631
7632 done
7633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7634 rm -f conftest.i conftest.err conftest.$ac_ext
7635 if $ac_preproc_ok; then :
7636
7637 else
7638   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7640 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7641 See \`config.log' for more details" "$LINENO" 5 ; }
7642 fi
7643
7644 ac_ext=c
7645 ac_cpp='$CPP $CPPFLAGS'
7646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7649
7650
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7652 $as_echo_n "checking for ANSI C header files... " >&6; }
7653 if test "${ac_cv_header_stdc+set}" = set; then :
7654   $as_echo_n "(cached) " >&6
7655 else
7656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7657 /* end confdefs.h.  */
7658 #include <stdlib.h>
7659 #include <stdarg.h>
7660 #include <string.h>
7661 #include <float.h>
7662
7663 int
7664 main ()
7665 {
7666
7667   ;
7668   return 0;
7669 }
7670 _ACEOF
7671 if ac_fn_c_try_compile "$LINENO"; then :
7672   ac_cv_header_stdc=yes
7673 else
7674   ac_cv_header_stdc=no
7675 fi
7676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7677
7678 if test $ac_cv_header_stdc = yes; then
7679   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7681 /* end confdefs.h.  */
7682 #include <string.h>
7683
7684 _ACEOF
7685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7686   $EGREP "memchr" >/dev/null 2>&1; then :
7687
7688 else
7689   ac_cv_header_stdc=no
7690 fi
7691 rm -f conftest*
7692
7693 fi
7694
7695 if test $ac_cv_header_stdc = yes; then
7696   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h.  */
7699 #include <stdlib.h>
7700
7701 _ACEOF
7702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7703   $EGREP "free" >/dev/null 2>&1; then :
7704
7705 else
7706   ac_cv_header_stdc=no
7707 fi
7708 rm -f conftest*
7709
7710 fi
7711
7712 if test $ac_cv_header_stdc = yes; then
7713   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7714   if test "$cross_compiling" = yes; then :
7715   :
7716 else
7717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h.  */
7719 #include <ctype.h>
7720 #include <stdlib.h>
7721 #if ((' ' & 0x0FF) == 0x020)
7722 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7723 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7724 #else
7725 # define ISLOWER(c) \
7726                    (('a' <= (c) && (c) <= 'i') \
7727                      || ('j' <= (c) && (c) <= 'r') \
7728                      || ('s' <= (c) && (c) <= 'z'))
7729 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7730 #endif
7731
7732 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7733 int
7734 main ()
7735 {
7736   int i;
7737   for (i = 0; i < 256; i++)
7738     if (XOR (islower (i), ISLOWER (i))
7739         || toupper (i) != TOUPPER (i))
7740       return 2;
7741   return 0;
7742 }
7743 _ACEOF
7744 if ac_fn_c_try_run "$LINENO"; then :
7745
7746 else
7747   ac_cv_header_stdc=no
7748 fi
7749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7750   conftest.$ac_objext conftest.beam conftest.$ac_ext
7751 fi
7752
7753 fi
7754 fi
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7756 $as_echo "$ac_cv_header_stdc" >&6; }
7757 if test $ac_cv_header_stdc = yes; then
7758
7759 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7760
7761 fi
7762
7763 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7764 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7765                   inttypes.h stdint.h unistd.h
7766 do :
7767   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7768 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7769 "
7770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7771   cat >>confdefs.h <<_ACEOF
7772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7773 _ACEOF
7774
7775 fi
7776
7777 done
7778
7779
7780 for ac_header in dlfcn.h
7781 do :
7782   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7783 "
7784 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7785   cat >>confdefs.h <<_ACEOF
7786 #define HAVE_DLFCN_H 1
7787 _ACEOF
7788
7789 fi
7790
7791 done
7792
7793
7794
7795
7796
7797 # Set options
7798
7799
7800
7801         enable_dlopen=no
7802
7803
7804   enable_win32_dll=no
7805
7806
7807             # Check whether --enable-shared was given.
7808 if test "${enable_shared+set}" = set; then :
7809   enableval=$enable_shared; p=${PACKAGE-default}
7810     case $enableval in
7811     yes) enable_shared=yes ;;
7812     no) enable_shared=no ;;
7813     *)
7814       enable_shared=no
7815       # Look at the argument we got.  We use all the common list separators.
7816       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7817       for pkg in $enableval; do
7818         IFS="$lt_save_ifs"
7819         if test "X$pkg" = "X$p"; then
7820           enable_shared=yes
7821         fi
7822       done
7823       IFS="$lt_save_ifs"
7824       ;;
7825     esac
7826 else
7827   enable_shared=yes
7828 fi
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840 # Check whether --with-pic was given.
7841 if test "${with_pic+set}" = set; then :
7842   withval=$with_pic; pic_mode="$withval"
7843 else
7844   pic_mode=default
7845 fi
7846
7847
7848 test -z "$pic_mode" && pic_mode=default
7849
7850
7851
7852
7853
7854
7855
7856   # Check whether --enable-fast-install was given.
7857 if test "${enable_fast_install+set}" = set; then :
7858   enableval=$enable_fast_install; p=${PACKAGE-default}
7859     case $enableval in
7860     yes) enable_fast_install=yes ;;
7861     no) enable_fast_install=no ;;
7862     *)
7863       enable_fast_install=no
7864       # Look at the argument we got.  We use all the common list separators.
7865       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7866       for pkg in $enableval; do
7867         IFS="$lt_save_ifs"
7868         if test "X$pkg" = "X$p"; then
7869           enable_fast_install=yes
7870         fi
7871       done
7872       IFS="$lt_save_ifs"
7873       ;;
7874     esac
7875 else
7876   enable_fast_install=yes
7877 fi
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889 # This can be used to rebuild libtool when needed
7890 LIBTOOL_DEPS="$ltmain"
7891
7892 # Always use our own libtool.
7893 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920 test -z "$LN_S" && LN_S="ln -s"
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935 if test -n "${ZSH_VERSION+set}" ; then
7936    setopt NO_GLOB_SUBST
7937 fi
7938
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7940 $as_echo_n "checking for objdir... " >&6; }
7941 if test "${lt_cv_objdir+set}" = set; then :
7942   $as_echo_n "(cached) " >&6
7943 else
7944   rm -f .libs 2>/dev/null
7945 mkdir .libs 2>/dev/null
7946 if test -d .libs; then
7947   lt_cv_objdir=.libs
7948 else
7949   # MS-DOS does not allow filenames that begin with a dot.
7950   lt_cv_objdir=_libs
7951 fi
7952 rmdir .libs 2>/dev/null
7953 fi
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7955 $as_echo "$lt_cv_objdir" >&6; }
7956 objdir=$lt_cv_objdir
7957
7958
7959
7960
7961
7962 cat >>confdefs.h <<_ACEOF
7963 #define LT_OBJDIR "$lt_cv_objdir/"
7964 _ACEOF
7965
7966
7967
7968
7969 case $host_os in
7970 aix3*)
7971   # AIX sometimes has problems with the GCC collect2 program.  For some
7972   # reason, if we set the COLLECT_NAMES environment variable, the problems
7973   # vanish in a puff of smoke.
7974   if test "X${COLLECT_NAMES+set}" != Xset; then
7975     COLLECT_NAMES=
7976     export COLLECT_NAMES
7977   fi
7978   ;;
7979 esac
7980
7981 # Global variables:
7982 ofile=libtool
7983 can_build_shared=yes
7984
7985 # All known linkers require a `.a' archive for static linking (except MSVC,
7986 # which needs '.lib').
7987 libext=a
7988
7989 with_gnu_ld="$lt_cv_prog_gnu_ld"
7990
7991 old_CC="$CC"
7992 old_CFLAGS="$CFLAGS"
7993
7994 # Set sane defaults for various variables
7995 test -z "$CC" && CC=cc
7996 test -z "$LTCC" && LTCC=$CC
7997 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7998 test -z "$LD" && LD=ld
7999 test -z "$ac_objext" && ac_objext=o
8000
8001 for cc_temp in $compiler""; do
8002   case $cc_temp in
8003     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8004     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8005     \-*) ;;
8006     *) break;;
8007   esac
8008 done
8009 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8010
8011
8012 # Only perform the check for file, if the check method requires it
8013 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8014 case $deplibs_check_method in
8015 file_magic*)
8016   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8017     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8018 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8019 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8020   $as_echo_n "(cached) " >&6
8021 else
8022   case $MAGIC_CMD in
8023 [\\/*] |  ?:[\\/]*)
8024   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8025   ;;
8026 *)
8027   lt_save_MAGIC_CMD="$MAGIC_CMD"
8028   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8029   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8030   for ac_dir in $ac_dummy; do
8031     IFS="$lt_save_ifs"
8032     test -z "$ac_dir" && ac_dir=.
8033     if test -f $ac_dir/${ac_tool_prefix}file; then
8034       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8035       if test -n "$file_magic_test_file"; then
8036         case $deplibs_check_method in
8037         "file_magic "*)
8038           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8039           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8040           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8041             $EGREP "$file_magic_regex" > /dev/null; then
8042             :
8043           else
8044             cat <<_LT_EOF 1>&2
8045
8046 *** Warning: the command libtool uses to detect shared libraries,
8047 *** $file_magic_cmd, produces output that libtool cannot recognize.
8048 *** The result is that libtool may fail to recognize shared libraries
8049 *** as such.  This will affect the creation of libtool libraries that
8050 *** depend on shared libraries, but programs linked with such libtool
8051 *** libraries will work regardless of this problem.  Nevertheless, you
8052 *** may want to report the problem to your system manager and/or to
8053 *** bug-libtool@gnu.org
8054
8055 _LT_EOF
8056           fi ;;
8057         esac
8058       fi
8059       break
8060     fi
8061   done
8062   IFS="$lt_save_ifs"
8063   MAGIC_CMD="$lt_save_MAGIC_CMD"
8064   ;;
8065 esac
8066 fi
8067
8068 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8069 if test -n "$MAGIC_CMD"; then
8070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8071 $as_echo "$MAGIC_CMD" >&6; }
8072 else
8073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8075 fi
8076
8077
8078
8079
8080
8081 if test -z "$lt_cv_path_MAGIC_CMD"; then
8082   if test -n "$ac_tool_prefix"; then
8083     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8084 $as_echo_n "checking for file... " >&6; }
8085 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8086   $as_echo_n "(cached) " >&6
8087 else
8088   case $MAGIC_CMD in
8089 [\\/*] |  ?:[\\/]*)
8090   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8091   ;;
8092 *)
8093   lt_save_MAGIC_CMD="$MAGIC_CMD"
8094   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8095   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8096   for ac_dir in $ac_dummy; do
8097     IFS="$lt_save_ifs"
8098     test -z "$ac_dir" && ac_dir=.
8099     if test -f $ac_dir/file; then
8100       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8101       if test -n "$file_magic_test_file"; then
8102         case $deplibs_check_method in
8103         "file_magic "*)
8104           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8105           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8106           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8107             $EGREP "$file_magic_regex" > /dev/null; then
8108             :
8109           else
8110             cat <<_LT_EOF 1>&2
8111
8112 *** Warning: the command libtool uses to detect shared libraries,
8113 *** $file_magic_cmd, produces output that libtool cannot recognize.
8114 *** The result is that libtool may fail to recognize shared libraries
8115 *** as such.  This will affect the creation of libtool libraries that
8116 *** depend on shared libraries, but programs linked with such libtool
8117 *** libraries will work regardless of this problem.  Nevertheless, you
8118 *** may want to report the problem to your system manager and/or to
8119 *** bug-libtool@gnu.org
8120
8121 _LT_EOF
8122           fi ;;
8123         esac
8124       fi
8125       break
8126     fi
8127   done
8128   IFS="$lt_save_ifs"
8129   MAGIC_CMD="$lt_save_MAGIC_CMD"
8130   ;;
8131 esac
8132 fi
8133
8134 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8135 if test -n "$MAGIC_CMD"; then
8136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8137 $as_echo "$MAGIC_CMD" >&6; }
8138 else
8139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8141 fi
8142
8143
8144   else
8145     MAGIC_CMD=:
8146   fi
8147 fi
8148
8149   fi
8150   ;;
8151 esac
8152
8153 # Use C for the default configuration in the libtool script
8154
8155 lt_save_CC="$CC"
8156 ac_ext=c
8157 ac_cpp='$CPP $CPPFLAGS'
8158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8161
8162
8163 # Source file extension for C test sources.
8164 ac_ext=c
8165
8166 # Object file extension for compiled C test sources.
8167 objext=o
8168 objext=$objext
8169
8170 # Code to be used in simple compile tests
8171 lt_simple_compile_test_code="int some_variable = 0;"
8172
8173 # Code to be used in simple link tests
8174 lt_simple_link_test_code='int main(){return(0);}'
8175
8176
8177
8178
8179
8180
8181
8182 # If no C compiler was specified, use CC.
8183 LTCC=${LTCC-"$CC"}
8184
8185 # If no C compiler flags were specified, use CFLAGS.
8186 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8187
8188 # Allow CC to be a program name with arguments.
8189 compiler=$CC
8190
8191 # Save the default compiler, since it gets overwritten when the other
8192 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8193 compiler_DEFAULT=$CC
8194
8195 # save warnings/boilerplate of simple test code
8196 ac_outfile=conftest.$ac_objext
8197 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8198 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8199 _lt_compiler_boilerplate=`cat conftest.err`
8200 $RM conftest*
8201
8202 ac_outfile=conftest.$ac_objext
8203 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8204 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8205 _lt_linker_boilerplate=`cat conftest.err`
8206 $RM -r conftest*
8207
8208
8209 ## CAVEAT EMPTOR:
8210 ## There is no encapsulation within the following macros, do not change
8211 ## the running order or otherwise move them around unless you know exactly
8212 ## what you are doing...
8213 if test -n "$compiler"; then
8214
8215 lt_prog_compiler_no_builtin_flag=
8216
8217 if test "$GCC" = yes; then
8218   case $cc_basename in
8219   nvcc*)
8220     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8221   *)
8222     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8223   esac
8224
8225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8226 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8227 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8228   $as_echo_n "(cached) " >&6
8229 else
8230   lt_cv_prog_compiler_rtti_exceptions=no
8231    ac_outfile=conftest.$ac_objext
8232    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8233    lt_compiler_flag="-fno-rtti -fno-exceptions"
8234    # Insert the option either (1) after the last *FLAGS variable, or
8235    # (2) before a word containing "conftest.", or (3) at the end.
8236    # Note that $ac_compile itself does not contain backslashes and begins
8237    # with a dollar sign (not a hyphen), so the echo should work correctly.
8238    # The option is referenced via a variable to avoid confusing sed.
8239    lt_compile=`echo "$ac_compile" | $SED \
8240    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8241    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8242    -e 's:$: $lt_compiler_flag:'`
8243    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8244    (eval "$lt_compile" 2>conftest.err)
8245    ac_status=$?
8246    cat conftest.err >&5
8247    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248    if (exit $ac_status) && test -s "$ac_outfile"; then
8249      # The compiler can only warn and ignore the option if not recognized
8250      # So say no if there are warnings other than the usual output.
8251      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8252      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8253      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8254        lt_cv_prog_compiler_rtti_exceptions=yes
8255      fi
8256    fi
8257    $RM conftest*
8258
8259 fi
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8261 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8262
8263 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8264     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8265 else
8266     :
8267 fi
8268
8269 fi
8270
8271
8272
8273
8274
8275
8276   lt_prog_compiler_wl=
8277 lt_prog_compiler_pic=
8278 lt_prog_compiler_static=
8279
8280
8281   if test "$GCC" = yes; then
8282     lt_prog_compiler_wl='-Wl,'
8283     lt_prog_compiler_static='-static'
8284
8285     case $host_os in
8286       aix*)
8287       # All AIX code is PIC.
8288       if test "$host_cpu" = ia64; then
8289         # AIX 5 now supports IA64 processor
8290         lt_prog_compiler_static='-Bstatic'
8291       fi
8292       ;;
8293
8294     amigaos*)
8295       case $host_cpu in
8296       powerpc)
8297             # see comment about AmigaOS4 .so support
8298             lt_prog_compiler_pic='-fPIC'
8299         ;;
8300       m68k)
8301             # FIXME: we need at least 68020 code to build shared libraries, but
8302             # adding the `-m68020' flag to GCC prevents building anything better,
8303             # like `-m68040'.
8304             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8305         ;;
8306       esac
8307       ;;
8308
8309     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8310       # PIC is the default for these OSes.
8311       ;;
8312
8313     mingw* | cygwin* | pw32* | os2* | cegcc*)
8314       # This hack is so that the source file can tell whether it is being
8315       # built for inclusion in a dll (and should export symbols for example).
8316       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8317       # (--disable-auto-import) libraries
8318       lt_prog_compiler_pic='-DDLL_EXPORT'
8319       ;;
8320
8321     darwin* | rhapsody*)
8322       # PIC is the default on this platform
8323       # Common symbols not allowed in MH_DYLIB files
8324       lt_prog_compiler_pic='-fno-common'
8325       ;;
8326
8327     haiku*)
8328       # PIC is the default for Haiku.
8329       # The "-static" flag exists, but is broken.
8330       lt_prog_compiler_static=
8331       ;;
8332
8333     hpux*)
8334       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8335       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8336       # sets the default TLS model and affects inlining.
8337       case $host_cpu in
8338       hppa*64*)
8339         # +Z the default
8340         ;;
8341       *)
8342         lt_prog_compiler_pic='-fPIC'
8343         ;;
8344       esac
8345       ;;
8346
8347     interix[3-9]*)
8348       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8349       # Instead, we relocate shared libraries at runtime.
8350       ;;
8351
8352     msdosdjgpp*)
8353       # Just because we use GCC doesn't mean we suddenly get shared libraries
8354       # on systems that don't support them.
8355       lt_prog_compiler_can_build_shared=no
8356       enable_shared=no
8357       ;;
8358
8359     *nto* | *qnx*)
8360       # QNX uses GNU C++, but need to define -shared option too, otherwise
8361       # it will coredump.
8362       lt_prog_compiler_pic='-fPIC -shared'
8363       ;;
8364
8365     sysv4*MP*)
8366       if test -d /usr/nec; then
8367         lt_prog_compiler_pic=-Kconform_pic
8368       fi
8369       ;;
8370
8371     *)
8372       lt_prog_compiler_pic='-fPIC'
8373       ;;
8374     esac
8375
8376     case $cc_basename in
8377     nvcc*) # Cuda Compiler Driver 2.2
8378       lt_prog_compiler_wl='-Xlinker '
8379       lt_prog_compiler_pic='-Xcompiler -fPIC'
8380       ;;
8381     esac
8382   else
8383     # PORTME Check for flag to pass linker flags through the system compiler.
8384     case $host_os in
8385     aix*)
8386       lt_prog_compiler_wl='-Wl,'
8387       if test "$host_cpu" = ia64; then
8388         # AIX 5 now supports IA64 processor
8389         lt_prog_compiler_static='-Bstatic'
8390       else
8391         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8392       fi
8393       ;;
8394
8395     mingw* | cygwin* | pw32* | os2* | cegcc*)
8396       # This hack is so that the source file can tell whether it is being
8397       # built for inclusion in a dll (and should export symbols for example).
8398       lt_prog_compiler_pic='-DDLL_EXPORT'
8399       ;;
8400
8401     hpux9* | hpux10* | hpux11*)
8402       lt_prog_compiler_wl='-Wl,'
8403       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8404       # not for PA HP-UX.
8405       case $host_cpu in
8406       hppa*64*|ia64*)
8407         # +Z the default
8408         ;;
8409       *)
8410         lt_prog_compiler_pic='+Z'
8411         ;;
8412       esac
8413       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8414       lt_prog_compiler_static='${wl}-a ${wl}archive'
8415       ;;
8416
8417     irix5* | irix6* | nonstopux*)
8418       lt_prog_compiler_wl='-Wl,'
8419       # PIC (with -KPIC) is the default.
8420       lt_prog_compiler_static='-non_shared'
8421       ;;
8422
8423     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8424       case $cc_basename in
8425       # old Intel for x86_64 which still supported -KPIC.
8426       ecc*)
8427         lt_prog_compiler_wl='-Wl,'
8428         lt_prog_compiler_pic='-KPIC'
8429         lt_prog_compiler_static='-static'
8430         ;;
8431       # icc used to be incompatible with GCC.
8432       # ICC 10 doesn't accept -KPIC any more.
8433       icc* | ifort*)
8434         lt_prog_compiler_wl='-Wl,'
8435         lt_prog_compiler_pic='-fPIC'
8436         lt_prog_compiler_static='-static'
8437         ;;
8438       # Lahey Fortran 8.1.
8439       lf95*)
8440         lt_prog_compiler_wl='-Wl,'
8441         lt_prog_compiler_pic='--shared'
8442         lt_prog_compiler_static='--static'
8443         ;;
8444       nagfor*)
8445         # NAG Fortran compiler
8446         lt_prog_compiler_wl='-Wl,-Wl,,'
8447         lt_prog_compiler_pic='-PIC'
8448         lt_prog_compiler_static='-Bstatic'
8449         ;;
8450       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8451         # Portland Group compilers (*not* the Pentium gcc compiler,
8452         # which looks to be a dead project)
8453         lt_prog_compiler_wl='-Wl,'
8454         lt_prog_compiler_pic='-fpic'
8455         lt_prog_compiler_static='-Bstatic'
8456         ;;
8457       ccc*)
8458         lt_prog_compiler_wl='-Wl,'
8459         # All Alpha code is PIC.
8460         lt_prog_compiler_static='-non_shared'
8461         ;;
8462       xl* | bgxl* | bgf* | mpixl*)
8463         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8464         lt_prog_compiler_wl='-Wl,'
8465         lt_prog_compiler_pic='-qpic'
8466         lt_prog_compiler_static='-qstaticlink'
8467         ;;
8468       *)
8469         case `$CC -V 2>&1 | sed 5q` in
8470         *Sun\ F* | *Sun*Fortran*)
8471           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8472           lt_prog_compiler_pic='-KPIC'
8473           lt_prog_compiler_static='-Bstatic'
8474           lt_prog_compiler_wl=''
8475           ;;
8476         *Sun\ C*)
8477           # Sun C 5.9
8478           lt_prog_compiler_pic='-KPIC'
8479           lt_prog_compiler_static='-Bstatic'
8480           lt_prog_compiler_wl='-Wl,'
8481           ;;
8482         esac
8483         ;;
8484       esac
8485       ;;
8486
8487     newsos6)
8488       lt_prog_compiler_pic='-KPIC'
8489       lt_prog_compiler_static='-Bstatic'
8490       ;;
8491
8492     *nto* | *qnx*)
8493       # QNX uses GNU C++, but need to define -shared option too, otherwise
8494       # it will coredump.
8495       lt_prog_compiler_pic='-fPIC -shared'
8496       ;;
8497
8498     osf3* | osf4* | osf5*)
8499       lt_prog_compiler_wl='-Wl,'
8500       # All OSF/1 code is PIC.
8501       lt_prog_compiler_static='-non_shared'
8502       ;;
8503
8504     rdos*)
8505       lt_prog_compiler_static='-non_shared'
8506       ;;
8507
8508     solaris*)
8509       lt_prog_compiler_pic='-KPIC'
8510       lt_prog_compiler_static='-Bstatic'
8511       case $cc_basename in
8512       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8513         lt_prog_compiler_wl='-Qoption ld ';;
8514       *)
8515         lt_prog_compiler_wl='-Wl,';;
8516       esac
8517       ;;
8518
8519     sunos4*)
8520       lt_prog_compiler_wl='-Qoption ld '
8521       lt_prog_compiler_pic='-PIC'
8522       lt_prog_compiler_static='-Bstatic'
8523       ;;
8524
8525     sysv4 | sysv4.2uw2* | sysv4.3*)
8526       lt_prog_compiler_wl='-Wl,'
8527       lt_prog_compiler_pic='-KPIC'
8528       lt_prog_compiler_static='-Bstatic'
8529       ;;
8530
8531     sysv4*MP*)
8532       if test -d /usr/nec ;then
8533         lt_prog_compiler_pic='-Kconform_pic'
8534         lt_prog_compiler_static='-Bstatic'
8535       fi
8536       ;;
8537
8538     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8539       lt_prog_compiler_wl='-Wl,'
8540       lt_prog_compiler_pic='-KPIC'
8541       lt_prog_compiler_static='-Bstatic'
8542       ;;
8543
8544     unicos*)
8545       lt_prog_compiler_wl='-Wl,'
8546       lt_prog_compiler_can_build_shared=no
8547       ;;
8548
8549     uts4*)
8550       lt_prog_compiler_pic='-pic'
8551       lt_prog_compiler_static='-Bstatic'
8552       ;;
8553
8554     *)
8555       lt_prog_compiler_can_build_shared=no
8556       ;;
8557     esac
8558   fi
8559
8560 case $host_os in
8561   # For platforms which do not support PIC, -DPIC is meaningless:
8562   *djgpp*)
8563     lt_prog_compiler_pic=
8564     ;;
8565   *)
8566     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8567     ;;
8568 esac
8569
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8571 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8572 if test "${lt_cv_prog_compiler_pic+set}" = set; then :
8573   $as_echo_n "(cached) " >&6
8574 else
8575   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8576 fi
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8578 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8579 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8580
8581 #
8582 # Check to make sure the PIC flag actually works.
8583 #
8584 if test -n "$lt_prog_compiler_pic"; then
8585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8586 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8587 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8588   $as_echo_n "(cached) " >&6
8589 else
8590   lt_cv_prog_compiler_pic_works=no
8591    ac_outfile=conftest.$ac_objext
8592    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8593    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8594    # Insert the option either (1) after the last *FLAGS variable, or
8595    # (2) before a word containing "conftest.", or (3) at the end.
8596    # Note that $ac_compile itself does not contain backslashes and begins
8597    # with a dollar sign (not a hyphen), so the echo should work correctly.
8598    # The option is referenced via a variable to avoid confusing sed.
8599    lt_compile=`echo "$ac_compile" | $SED \
8600    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8601    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8602    -e 's:$: $lt_compiler_flag:'`
8603    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8604    (eval "$lt_compile" 2>conftest.err)
8605    ac_status=$?
8606    cat conftest.err >&5
8607    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608    if (exit $ac_status) && test -s "$ac_outfile"; then
8609      # The compiler can only warn and ignore the option if not recognized
8610      # So say no if there are warnings other than the usual output.
8611      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8612      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8613      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8614        lt_cv_prog_compiler_pic_works=yes
8615      fi
8616    fi
8617    $RM conftest*
8618
8619 fi
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8621 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8622
8623 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8624     case $lt_prog_compiler_pic in
8625      "" | " "*) ;;
8626      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8627      esac
8628 else
8629     lt_prog_compiler_pic=
8630      lt_prog_compiler_can_build_shared=no
8631 fi
8632
8633 fi
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645 #
8646 # Check to make sure the static flag actually works.
8647 #
8648 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8650 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8651 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8652   $as_echo_n "(cached) " >&6
8653 else
8654   lt_cv_prog_compiler_static_works=no
8655    save_LDFLAGS="$LDFLAGS"
8656    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8657    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8658    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8659      # The linker can only warn and ignore the option if not recognized
8660      # So say no if there are warnings
8661      if test -s conftest.err; then
8662        # Append any errors to the config.log.
8663        cat conftest.err 1>&5
8664        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8665        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8666        if diff conftest.exp conftest.er2 >/dev/null; then
8667          lt_cv_prog_compiler_static_works=yes
8668        fi
8669      else
8670        lt_cv_prog_compiler_static_works=yes
8671      fi
8672    fi
8673    $RM -r conftest*
8674    LDFLAGS="$save_LDFLAGS"
8675
8676 fi
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8678 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8679
8680 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8681     :
8682 else
8683     lt_prog_compiler_static=
8684 fi
8685
8686
8687
8688
8689
8690
8691
8692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8693 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8694 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8695   $as_echo_n "(cached) " >&6
8696 else
8697   lt_cv_prog_compiler_c_o=no
8698    $RM -r conftest 2>/dev/null
8699    mkdir conftest
8700    cd conftest
8701    mkdir out
8702    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8703
8704    lt_compiler_flag="-o out/conftest2.$ac_objext"
8705    # Insert the option either (1) after the last *FLAGS variable, or
8706    # (2) before a word containing "conftest.", or (3) at the end.
8707    # Note that $ac_compile itself does not contain backslashes and begins
8708    # with a dollar sign (not a hyphen), so the echo should work correctly.
8709    lt_compile=`echo "$ac_compile" | $SED \
8710    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8711    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8712    -e 's:$: $lt_compiler_flag:'`
8713    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8714    (eval "$lt_compile" 2>out/conftest.err)
8715    ac_status=$?
8716    cat out/conftest.err >&5
8717    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8719    then
8720      # The compiler can only warn and ignore the option if not recognized
8721      # So say no if there are warnings
8722      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8723      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8724      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8725        lt_cv_prog_compiler_c_o=yes
8726      fi
8727    fi
8728    chmod u+w . 2>&5
8729    $RM conftest*
8730    # SGI C++ compiler will create directory out/ii_files/ for
8731    # template instantiation
8732    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8733    $RM out/* && rmdir out
8734    cd ..
8735    $RM -r conftest
8736    $RM conftest*
8737
8738 fi
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8740 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8741
8742
8743
8744
8745
8746
8747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8748 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8749 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8750   $as_echo_n "(cached) " >&6
8751 else
8752   lt_cv_prog_compiler_c_o=no
8753    $RM -r conftest 2>/dev/null
8754    mkdir conftest
8755    cd conftest
8756    mkdir out
8757    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8758
8759    lt_compiler_flag="-o out/conftest2.$ac_objext"
8760    # Insert the option either (1) after the last *FLAGS variable, or
8761    # (2) before a word containing "conftest.", or (3) at the end.
8762    # Note that $ac_compile itself does not contain backslashes and begins
8763    # with a dollar sign (not a hyphen), so the echo should work correctly.
8764    lt_compile=`echo "$ac_compile" | $SED \
8765    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8766    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8767    -e 's:$: $lt_compiler_flag:'`
8768    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8769    (eval "$lt_compile" 2>out/conftest.err)
8770    ac_status=$?
8771    cat out/conftest.err >&5
8772    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8774    then
8775      # The compiler can only warn and ignore the option if not recognized
8776      # So say no if there are warnings
8777      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8778      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8779      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8780        lt_cv_prog_compiler_c_o=yes
8781      fi
8782    fi
8783    chmod u+w . 2>&5
8784    $RM conftest*
8785    # SGI C++ compiler will create directory out/ii_files/ for
8786    # template instantiation
8787    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8788    $RM out/* && rmdir out
8789    cd ..
8790    $RM -r conftest
8791    $RM conftest*
8792
8793 fi
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8795 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8796
8797
8798
8799
8800 hard_links="nottested"
8801 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8802   # do not overwrite the value of need_locks provided by the user
8803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8804 $as_echo_n "checking if we can lock with hard links... " >&6; }
8805   hard_links=yes
8806   $RM conftest*
8807   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8808   touch conftest.a
8809   ln conftest.a conftest.b 2>&5 || hard_links=no
8810   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8812 $as_echo "$hard_links" >&6; }
8813   if test "$hard_links" = no; then
8814     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8815 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8816     need_locks=warn
8817   fi
8818 else
8819   need_locks=no
8820 fi
8821
8822
8823
8824
8825
8826
8827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8828 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8829
8830   runpath_var=
8831   allow_undefined_flag=
8832   always_export_symbols=no
8833   archive_cmds=
8834   archive_expsym_cmds=
8835   compiler_needs_object=no
8836   enable_shared_with_static_runtimes=no
8837   export_dynamic_flag_spec=
8838   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8839   hardcode_automatic=no
8840   hardcode_direct=no
8841   hardcode_direct_absolute=no
8842   hardcode_libdir_flag_spec=
8843   hardcode_libdir_flag_spec_ld=
8844   hardcode_libdir_separator=
8845   hardcode_minus_L=no
8846   hardcode_shlibpath_var=unsupported
8847   inherit_rpath=no
8848   link_all_deplibs=unknown
8849   module_cmds=
8850   module_expsym_cmds=
8851   old_archive_from_new_cmds=
8852   old_archive_from_expsyms_cmds=
8853   thread_safe_flag_spec=
8854   whole_archive_flag_spec=
8855   # include_expsyms should be a list of space-separated symbols to be *always*
8856   # included in the symbol list
8857   include_expsyms=
8858   # exclude_expsyms can be an extended regexp of symbols to exclude
8859   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8860   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8861   # as well as any symbol that contains `d'.
8862   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8863   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8864   # platforms (ab)use it in PIC code, but their linkers get confused if
8865   # the symbol is explicitly referenced.  Since portable code cannot
8866   # rely on this symbol name, it's probably fine to never include it in
8867   # preloaded symbol tables.
8868   # Exclude shared library initialization/finalization symbols.
8869   extract_expsyms_cmds=
8870
8871   case $host_os in
8872   cygwin* | mingw* | pw32* | cegcc*)
8873     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8874     # When not using gcc, we currently assume that we are using
8875     # Microsoft Visual C++.
8876     if test "$GCC" != yes; then
8877       with_gnu_ld=no
8878     fi
8879     ;;
8880   interix*)
8881     # we just hope/assume this is gcc and not c89 (= MSVC++)
8882     with_gnu_ld=yes
8883     ;;
8884   openbsd*)
8885     with_gnu_ld=no
8886     ;;
8887   esac
8888
8889   ld_shlibs=yes
8890
8891   # On some targets, GNU ld is compatible enough with the native linker
8892   # that we're better off using the native interface for both.
8893   lt_use_gnu_ld_interface=no
8894   if test "$with_gnu_ld" = yes; then
8895     case $host_os in
8896       aix*)
8897         # The AIX port of GNU ld has always aspired to compatibility
8898         # with the native linker.  However, as the warning in the GNU ld
8899         # block says, versions before 2.19.5* couldn't really create working
8900         # shared libraries, regardless of the interface used.
8901         case `$LD -v 2>&1` in
8902           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8903           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8904           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8905           *)
8906             lt_use_gnu_ld_interface=yes
8907             ;;
8908         esac
8909         ;;
8910       *)
8911         lt_use_gnu_ld_interface=yes
8912         ;;
8913     esac
8914   fi
8915
8916   if test "$lt_use_gnu_ld_interface" = yes; then
8917     # If archive_cmds runs LD, not CC, wlarc should be empty
8918     wlarc='${wl}'
8919
8920     # Set some defaults for GNU ld with shared library support. These
8921     # are reset later if shared libraries are not supported. Putting them
8922     # here allows them to be overridden if necessary.
8923     runpath_var=LD_RUN_PATH
8924     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8925     export_dynamic_flag_spec='${wl}--export-dynamic'
8926     # ancient GNU ld didn't support --whole-archive et. al.
8927     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8928       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8929     else
8930       whole_archive_flag_spec=
8931     fi
8932     supports_anon_versioning=no
8933     case `$LD -v 2>&1` in
8934       *GNU\ gold*) supports_anon_versioning=yes ;;
8935       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8936       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8937       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8938       *\ 2.11.*) ;; # other 2.11 versions
8939       *) supports_anon_versioning=yes ;;
8940     esac
8941
8942     # See if GNU ld supports shared libraries.
8943     case $host_os in
8944     aix[3-9]*)
8945       # On AIX/PPC, the GNU linker is very broken
8946       if test "$host_cpu" != ia64; then
8947         ld_shlibs=no
8948         cat <<_LT_EOF 1>&2
8949
8950 *** Warning: the GNU linker, at least up to release 2.19, is reported
8951 *** to be unable to reliably create shared libraries on AIX.
8952 *** Therefore, libtool is disabling shared libraries support.  If you
8953 *** really care for shared libraries, you may want to install binutils
8954 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8955 *** You will then need to restart the configuration process.
8956
8957 _LT_EOF
8958       fi
8959       ;;
8960
8961     amigaos*)
8962       case $host_cpu in
8963       powerpc)
8964             # see comment about AmigaOS4 .so support
8965             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8966             archive_expsym_cmds=''
8967         ;;
8968       m68k)
8969             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)'
8970             hardcode_libdir_flag_spec='-L$libdir'
8971             hardcode_minus_L=yes
8972         ;;
8973       esac
8974       ;;
8975
8976     beos*)
8977       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8978         allow_undefined_flag=unsupported
8979         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8980         # support --undefined.  This deserves some investigation.  FIXME
8981         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8982       else
8983         ld_shlibs=no
8984       fi
8985       ;;
8986
8987     cygwin* | mingw* | pw32* | cegcc*)
8988       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8989       # as there is no search path for DLLs.
8990       hardcode_libdir_flag_spec='-L$libdir'
8991       export_dynamic_flag_spec='${wl}--export-all-symbols'
8992       allow_undefined_flag=unsupported
8993       always_export_symbols=no
8994       enable_shared_with_static_runtimes=yes
8995       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'
8996       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8997
8998       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8999         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9000         # If the export-symbols file already is a .def file (1st line
9001         # is EXPORTS), use it as is; otherwise, prepend...
9002         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9003           cp $export_symbols $output_objdir/$soname.def;
9004         else
9005           echo EXPORTS > $output_objdir/$soname.def;
9006           cat $export_symbols >> $output_objdir/$soname.def;
9007         fi~
9008         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9009       else
9010         ld_shlibs=no
9011       fi
9012       ;;
9013
9014     haiku*)
9015       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9016       link_all_deplibs=yes
9017       ;;
9018
9019     interix[3-9]*)
9020       hardcode_direct=no
9021       hardcode_shlibpath_var=no
9022       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9023       export_dynamic_flag_spec='${wl}-E'
9024       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9025       # Instead, shared libraries are loaded at an image base (0x10000000 by
9026       # default) and relocated if they conflict, which is a slow very memory
9027       # consuming and fragmenting process.  To avoid this, we pick a random,
9028       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9029       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9030       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9031       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'
9032       ;;
9033
9034     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9035       tmp_diet=no
9036       if test "$host_os" = linux-dietlibc; then
9037         case $cc_basename in
9038           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9039         esac
9040       fi
9041       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9042          && test "$tmp_diet" = no
9043       then
9044         tmp_addflag=' $pic_flag'
9045         tmp_sharedflag='-shared'
9046         case $cc_basename,$host_cpu in
9047         pgcc*)                          # Portland Group C compiler
9048           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'
9049           tmp_addflag=' $pic_flag'
9050           ;;
9051         pgf77* | pgf90* | pgf95* | pgfortran*)
9052                                         # Portland Group f77 and f90 compilers
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           tmp_addflag=' $pic_flag -Mnomain' ;;
9055         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9056           tmp_addflag=' -i_dynamic' ;;
9057         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9058           tmp_addflag=' -i_dynamic -nofor_main' ;;
9059         ifc* | ifort*)                  # Intel Fortran compiler
9060           tmp_addflag=' -nofor_main' ;;
9061         lf95*)                          # Lahey Fortran 8.1
9062           whole_archive_flag_spec=
9063           tmp_sharedflag='--shared' ;;
9064         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9065           tmp_sharedflag='-qmkshrobj'
9066           tmp_addflag= ;;
9067         nvcc*)  # Cuda Compiler Driver 2.2
9068           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9069           compiler_needs_object=yes
9070           ;;
9071         esac
9072         case `$CC -V 2>&1 | sed 5q` in
9073         *Sun\ C*)                       # Sun C 5.9
9074           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'
9075           compiler_needs_object=yes
9076           tmp_sharedflag='-G' ;;
9077         *Sun\ F*)                       # Sun Fortran 8.3
9078           tmp_sharedflag='-G' ;;
9079         esac
9080         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9081
9082         if test "x$supports_anon_versioning" = xyes; then
9083           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9084             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9085             echo "local: *; };" >> $output_objdir/$libname.ver~
9086             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9087         fi
9088
9089         case $cc_basename in
9090         xlf* | bgf* | bgxlf* | mpixlf*)
9091           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9092           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9093           hardcode_libdir_flag_spec=
9094           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9095           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9096           if test "x$supports_anon_versioning" = xyes; then
9097             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9098               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9099               echo "local: *; };" >> $output_objdir/$libname.ver~
9100               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9101           fi
9102           ;;
9103         esac
9104       else
9105         ld_shlibs=no
9106       fi
9107       ;;
9108
9109     netbsd*)
9110       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9111         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9112         wlarc=
9113       else
9114         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9115         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9116       fi
9117       ;;
9118
9119     solaris*)
9120       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9121         ld_shlibs=no
9122         cat <<_LT_EOF 1>&2
9123
9124 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9125 *** create shared libraries on Solaris systems.  Therefore, libtool
9126 *** is disabling shared libraries support.  We urge you to upgrade GNU
9127 *** binutils to release 2.9.1 or newer.  Another option is to modify
9128 *** your PATH or compiler configuration so that the native linker is
9129 *** used, and then restart.
9130
9131 _LT_EOF
9132       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9133         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9134         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9135       else
9136         ld_shlibs=no
9137       fi
9138       ;;
9139
9140     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9141       case `$LD -v 2>&1` in
9142         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9143         ld_shlibs=no
9144         cat <<_LT_EOF 1>&2
9145
9146 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9147 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9148 *** is disabling shared libraries support.  We urge you to upgrade GNU
9149 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9150 *** your PATH or compiler configuration so that the native linker is
9151 *** used, and then restart.
9152
9153 _LT_EOF
9154         ;;
9155         *)
9156           # For security reasons, it is highly recommended that you always
9157           # use absolute paths for naming shared libraries, and exclude the
9158           # DT_RUNPATH tag from executables and libraries.  But doing so
9159           # requires that you compile everything twice, which is a pain.
9160           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9161             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9162             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9163             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9164           else
9165             ld_shlibs=no
9166           fi
9167         ;;
9168       esac
9169       ;;
9170
9171     sunos4*)
9172       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9173       wlarc=
9174       hardcode_direct=yes
9175       hardcode_shlibpath_var=no
9176       ;;
9177
9178     *)
9179       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9180         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9181         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9182       else
9183         ld_shlibs=no
9184       fi
9185       ;;
9186     esac
9187
9188     if test "$ld_shlibs" = no; then
9189       runpath_var=
9190       hardcode_libdir_flag_spec=
9191       export_dynamic_flag_spec=
9192       whole_archive_flag_spec=
9193     fi
9194   else
9195     # PORTME fill in a description of your system's linker (not GNU ld)
9196     case $host_os in
9197     aix3*)
9198       allow_undefined_flag=unsupported
9199       always_export_symbols=yes
9200       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'
9201       # Note: this linker hardcodes the directories in LIBPATH if there
9202       # are no directories specified by -L.
9203       hardcode_minus_L=yes
9204       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9205         # Neither direct hardcoding nor static linking is supported with a
9206         # broken collect2.
9207         hardcode_direct=unsupported
9208       fi
9209       ;;
9210
9211     aix[4-9]*)
9212       if test "$host_cpu" = ia64; then
9213         # On IA64, the linker does run time linking by default, so we don't
9214         # have to do anything special.
9215         aix_use_runtimelinking=no
9216         exp_sym_flag='-Bexport'
9217         no_entry_flag=""
9218       else
9219         # If we're using GNU nm, then we don't want the "-C" option.
9220         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9221         # Also, AIX nm treats weak defined symbols like other global
9222         # defined symbols, whereas GNU nm marks them as "W".
9223         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9224           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'
9225         else
9226           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'
9227         fi
9228         aix_use_runtimelinking=no
9229
9230         # Test if we are trying to use run time linking or normal
9231         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9232         # need to do runtime linking.
9233         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9234           for ld_flag in $LDFLAGS; do
9235           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9236             aix_use_runtimelinking=yes
9237             break
9238           fi
9239           done
9240           ;;
9241         esac
9242
9243         exp_sym_flag='-bexport'
9244         no_entry_flag='-bnoentry'
9245       fi
9246
9247       # When large executables or shared objects are built, AIX ld can
9248       # have problems creating the table of contents.  If linking a library
9249       # or program results in "error TOC overflow" add -mminimal-toc to
9250       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9251       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9252
9253       archive_cmds=''
9254       hardcode_direct=yes
9255       hardcode_direct_absolute=yes
9256       hardcode_libdir_separator=':'
9257       link_all_deplibs=yes
9258       file_list_spec='${wl}-f,'
9259
9260       if test "$GCC" = yes; then
9261         case $host_os in aix4.[012]|aix4.[012].*)
9262         # We only want to do this on AIX 4.2 and lower, the check
9263         # below for broken collect2 doesn't work under 4.3+
9264           collect2name=`${CC} -print-prog-name=collect2`
9265           if test -f "$collect2name" &&
9266            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9267           then
9268           # We have reworked collect2
9269           :
9270           else
9271           # We have old collect2
9272           hardcode_direct=unsupported
9273           # It fails to find uninstalled libraries when the uninstalled
9274           # path is not listed in the libpath.  Setting hardcode_minus_L
9275           # to unsupported forces relinking
9276           hardcode_minus_L=yes
9277           hardcode_libdir_flag_spec='-L$libdir'
9278           hardcode_libdir_separator=
9279           fi
9280           ;;
9281         esac
9282         shared_flag='-shared'
9283         if test "$aix_use_runtimelinking" = yes; then
9284           shared_flag="$shared_flag "'${wl}-G'
9285         fi
9286       else
9287         # not using gcc
9288         if test "$host_cpu" = ia64; then
9289         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9290         # chokes on -Wl,-G. The following line is correct:
9291           shared_flag='-G'
9292         else
9293           if test "$aix_use_runtimelinking" = yes; then
9294             shared_flag='${wl}-G'
9295           else
9296             shared_flag='${wl}-bM:SRE'
9297           fi
9298         fi
9299       fi
9300
9301       export_dynamic_flag_spec='${wl}-bexpall'
9302       # It seems that -bexpall does not export symbols beginning with
9303       # underscore (_), so it is better to generate a list of symbols to export.
9304       always_export_symbols=yes
9305       if test "$aix_use_runtimelinking" = yes; then
9306         # Warning - without using the other runtime loading flags (-brtl),
9307         # -berok will link without error, but may produce a broken library.
9308         allow_undefined_flag='-berok'
9309         # Determine the default libpath from the value encoded in an
9310         # empty executable.
9311         if test "${lt_cv_aix_libpath+set}" = set; then
9312   aix_libpath=$lt_cv_aix_libpath
9313 else
9314   if test "${lt_cv_aix_libpath_+set}" = set; then :
9315   $as_echo_n "(cached) " >&6
9316 else
9317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h.  */
9319
9320 int
9321 main ()
9322 {
9323
9324   ;
9325   return 0;
9326 }
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9329
9330   lt_aix_libpath_sed='
9331       /Import File Strings/,/^$/ {
9332           /^0/ {
9333               s/^0  *\([^ ]*\) *$/\1/
9334               p
9335           }
9336       }'
9337   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9338   # Check for a 64-bit object if we didn't find anything.
9339   if test -z "$lt_cv_aix_libpath_"; then
9340     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9341   fi
9342 fi
9343 rm -f core conftest.err conftest.$ac_objext \
9344     conftest$ac_exeext conftest.$ac_ext
9345   if test -z "$lt_cv_aix_libpath_"; then
9346     lt_cv_aix_libpath_="/usr/lib:/lib"
9347   fi
9348
9349 fi
9350
9351   aix_libpath=$lt_cv_aix_libpath_
9352 fi
9353
9354         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9355         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"
9356       else
9357         if test "$host_cpu" = ia64; then
9358           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9359           allow_undefined_flag="-z nodefs"
9360           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"
9361         else
9362          # Determine the default libpath from the value encoded in an
9363          # empty executable.
9364          if test "${lt_cv_aix_libpath+set}" = set; then
9365   aix_libpath=$lt_cv_aix_libpath
9366 else
9367   if test "${lt_cv_aix_libpath_+set}" = set; then :
9368   $as_echo_n "(cached) " >&6
9369 else
9370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h.  */
9372
9373 int
9374 main ()
9375 {
9376
9377   ;
9378   return 0;
9379 }
9380 _ACEOF
9381 if ac_fn_c_try_link "$LINENO"; then :
9382
9383   lt_aix_libpath_sed='
9384       /Import File Strings/,/^$/ {
9385           /^0/ {
9386               s/^0  *\([^ ]*\) *$/\1/
9387               p
9388           }
9389       }'
9390   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9391   # Check for a 64-bit object if we didn't find anything.
9392   if test -z "$lt_cv_aix_libpath_"; then
9393     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9394   fi
9395 fi
9396 rm -f core conftest.err conftest.$ac_objext \
9397     conftest$ac_exeext conftest.$ac_ext
9398   if test -z "$lt_cv_aix_libpath_"; then
9399     lt_cv_aix_libpath_="/usr/lib:/lib"
9400   fi
9401
9402 fi
9403
9404   aix_libpath=$lt_cv_aix_libpath_
9405 fi
9406
9407          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9408           # Warning - without using the other run time loading flags,
9409           # -berok will link without error, but may produce a broken library.
9410           no_undefined_flag=' ${wl}-bernotok'
9411           allow_undefined_flag=' ${wl}-berok'
9412           if test "$with_gnu_ld" = yes; then
9413             # We only use this code for GNU lds that support --whole-archive.
9414             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9415           else
9416             # Exported symbols can be pulled into shared objects from archives
9417             whole_archive_flag_spec='$convenience'
9418           fi
9419           archive_cmds_need_lc=yes
9420           # This is similar to how AIX traditionally builds its shared libraries.
9421           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'
9422         fi
9423       fi
9424       ;;
9425
9426     amigaos*)
9427       case $host_cpu in
9428       powerpc)
9429             # see comment about AmigaOS4 .so support
9430             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431             archive_expsym_cmds=''
9432         ;;
9433       m68k)
9434             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)'
9435             hardcode_libdir_flag_spec='-L$libdir'
9436             hardcode_minus_L=yes
9437         ;;
9438       esac
9439       ;;
9440
9441     bsdi[45]*)
9442       export_dynamic_flag_spec=-rdynamic
9443       ;;
9444
9445     cygwin* | mingw* | pw32* | cegcc*)
9446       # When not using gcc, we currently assume that we are using
9447       # Microsoft Visual C++.
9448       # hardcode_libdir_flag_spec is actually meaningless, as there is
9449       # no search path for DLLs.
9450       case $cc_basename in
9451       cl*)
9452         # Native MSVC
9453         hardcode_libdir_flag_spec=' '
9454         allow_undefined_flag=unsupported
9455         always_export_symbols=yes
9456         file_list_spec='@'
9457         # Tell ltmain to make .lib files, not .a files.
9458         libext=lib
9459         # Tell ltmain to make .dll files, not .so files.
9460         shrext_cmds=".dll"
9461         # FIXME: Setting linknames here is a bad hack.
9462         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9463         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9464             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9465           else
9466             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9467           fi~
9468           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9469           linknames='
9470         # The linker will not automatically build a static lib if we build a DLL.
9471         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9472         enable_shared_with_static_runtimes=yes
9473         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9474         # Don't use ranlib
9475         old_postinstall_cmds='chmod 644 $oldlib'
9476         postlink_cmds='lt_outputfile="@OUTPUT@"~
9477           lt_tool_outputfile="@TOOL_OUTPUT@"~
9478           case $lt_outputfile in
9479             *.exe|*.EXE) ;;
9480             *)
9481               lt_outputfile="$lt_outputfile.exe"
9482               lt_tool_outputfile="$lt_tool_outputfile.exe"
9483               ;;
9484           esac~
9485           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9486             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9487             $RM "$lt_outputfile.manifest";
9488           fi'
9489         ;;
9490       *)
9491         # Assume MSVC wrapper
9492         hardcode_libdir_flag_spec=' '
9493         allow_undefined_flag=unsupported
9494         # Tell ltmain to make .lib files, not .a files.
9495         libext=lib
9496         # Tell ltmain to make .dll files, not .so files.
9497         shrext_cmds=".dll"
9498         # FIXME: Setting linknames here is a bad hack.
9499         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9500         # The linker will automatically build a .lib file if we build a DLL.
9501         old_archive_from_new_cmds='true'
9502         # FIXME: Should let the user specify the lib program.
9503         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9504         enable_shared_with_static_runtimes=yes
9505         ;;
9506       esac
9507       ;;
9508
9509     darwin* | rhapsody*)
9510
9511
9512   archive_cmds_need_lc=no
9513   hardcode_direct=no
9514   hardcode_automatic=yes
9515   hardcode_shlibpath_var=unsupported
9516   if test "$lt_cv_ld_force_load" = "yes"; then
9517     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\"`'
9518   else
9519     whole_archive_flag_spec=''
9520   fi
9521   link_all_deplibs=yes
9522   allow_undefined_flag="$_lt_dar_allow_undefined"
9523   case $cc_basename in
9524      ifort*) _lt_dar_can_shared=yes ;;
9525      *) _lt_dar_can_shared=$GCC ;;
9526   esac
9527   if test "$_lt_dar_can_shared" = "yes"; then
9528     output_verbose_link_cmd=func_echo_all
9529     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9530     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9531     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}"
9532     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}"
9533
9534   else
9535   ld_shlibs=no
9536   fi
9537
9538       ;;
9539
9540     dgux*)
9541       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9542       hardcode_libdir_flag_spec='-L$libdir'
9543       hardcode_shlibpath_var=no
9544       ;;
9545
9546     freebsd1*)
9547       ld_shlibs=no
9548       ;;
9549
9550     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9551     # support.  Future versions do this automatically, but an explicit c++rt0.o
9552     # does not break anything, and helps significantly (at the cost of a little
9553     # extra space).
9554     freebsd2.2*)
9555       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9556       hardcode_libdir_flag_spec='-R$libdir'
9557       hardcode_direct=yes
9558       hardcode_shlibpath_var=no
9559       ;;
9560
9561     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9562     freebsd2*)
9563       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9564       hardcode_direct=yes
9565       hardcode_minus_L=yes
9566       hardcode_shlibpath_var=no
9567       ;;
9568
9569     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9570     freebsd* | dragonfly*)
9571       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9572       hardcode_libdir_flag_spec='-R$libdir'
9573       hardcode_direct=yes
9574       hardcode_shlibpath_var=no
9575       ;;
9576
9577     hpux9*)
9578       if test "$GCC" = yes; then
9579         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'
9580       else
9581         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'
9582       fi
9583       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9584       hardcode_libdir_separator=:
9585       hardcode_direct=yes
9586
9587       # hardcode_minus_L: Not really in the search PATH,
9588       # but as the default location of the library.
9589       hardcode_minus_L=yes
9590       export_dynamic_flag_spec='${wl}-E'
9591       ;;
9592
9593     hpux10*)
9594       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9595         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9596       else
9597         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9598       fi
9599       if test "$with_gnu_ld" = no; then
9600         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9601         hardcode_libdir_flag_spec_ld='+b $libdir'
9602         hardcode_libdir_separator=:
9603         hardcode_direct=yes
9604         hardcode_direct_absolute=yes
9605         export_dynamic_flag_spec='${wl}-E'
9606         # hardcode_minus_L: Not really in the search PATH,
9607         # but as the default location of the library.
9608         hardcode_minus_L=yes
9609       fi
9610       ;;
9611
9612     hpux11*)
9613       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9614         case $host_cpu in
9615         hppa*64*)
9616           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9617           ;;
9618         ia64*)
9619           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9620           ;;
9621         *)
9622           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9623           ;;
9624         esac
9625       else
9626         case $host_cpu in
9627         hppa*64*)
9628           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9629           ;;
9630         ia64*)
9631           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9632           ;;
9633         *)
9634
9635           # Older versions of the 11.00 compiler do not understand -b yet
9636           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9637           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9638 $as_echo_n "checking if $CC understands -b... " >&6; }
9639 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9640   $as_echo_n "(cached) " >&6
9641 else
9642   lt_cv_prog_compiler__b=no
9643    save_LDFLAGS="$LDFLAGS"
9644    LDFLAGS="$LDFLAGS -b"
9645    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9646    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9647      # The linker can only warn and ignore the option if not recognized
9648      # So say no if there are warnings
9649      if test -s conftest.err; then
9650        # Append any errors to the config.log.
9651        cat conftest.err 1>&5
9652        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9653        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9654        if diff conftest.exp conftest.er2 >/dev/null; then
9655          lt_cv_prog_compiler__b=yes
9656        fi
9657      else
9658        lt_cv_prog_compiler__b=yes
9659      fi
9660    fi
9661    $RM -r conftest*
9662    LDFLAGS="$save_LDFLAGS"
9663
9664 fi
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9666 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9667
9668 if test x"$lt_cv_prog_compiler__b" = xyes; then
9669     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9670 else
9671     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9672 fi
9673
9674           ;;
9675         esac
9676       fi
9677       if test "$with_gnu_ld" = no; then
9678         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9679         hardcode_libdir_separator=:
9680
9681         case $host_cpu in
9682         hppa*64*|ia64*)
9683           hardcode_direct=no
9684           hardcode_shlibpath_var=no
9685           ;;
9686         *)
9687           hardcode_direct=yes
9688           hardcode_direct_absolute=yes
9689           export_dynamic_flag_spec='${wl}-E'
9690
9691           # hardcode_minus_L: Not really in the search PATH,
9692           # but as the default location of the library.
9693           hardcode_minus_L=yes
9694           ;;
9695         esac
9696       fi
9697       ;;
9698
9699     irix5* | irix6* | nonstopux*)
9700       if test "$GCC" = yes; then
9701         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'
9702         # Try to use the -exported_symbol ld option, if it does not
9703         # work, assume that -exports_file does not work either and
9704         # implicitly export all symbols.
9705         # This should be the same for all languages, so no per-tag cache variable.
9706         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9707 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9708 if test "${lt_cv_irix_exported_symbol+set}" = set; then :
9709   $as_echo_n "(cached) " >&6
9710 else
9711   save_LDFLAGS="$LDFLAGS"
9712            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9713            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h.  */
9715 int foo (void) { return 0; }
9716 _ACEOF
9717 if ac_fn_c_try_link "$LINENO"; then :
9718   lt_cv_irix_exported_symbol=yes
9719 else
9720   lt_cv_irix_exported_symbol=no
9721 fi
9722 rm -f core conftest.err conftest.$ac_objext \
9723     conftest$ac_exeext conftest.$ac_ext
9724            LDFLAGS="$save_LDFLAGS"
9725 fi
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9727 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9728         if test "$lt_cv_irix_exported_symbol" = yes; then
9729           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'
9730         fi
9731       else
9732         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'
9733         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'
9734       fi
9735       archive_cmds_need_lc='no'
9736       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9737       hardcode_libdir_separator=:
9738       inherit_rpath=yes
9739       link_all_deplibs=yes
9740       ;;
9741
9742     netbsd*)
9743       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9744         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9745       else
9746         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9747       fi
9748       hardcode_libdir_flag_spec='-R$libdir'
9749       hardcode_direct=yes
9750       hardcode_shlibpath_var=no
9751       ;;
9752
9753     newsos6)
9754       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9755       hardcode_direct=yes
9756       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9757       hardcode_libdir_separator=:
9758       hardcode_shlibpath_var=no
9759       ;;
9760
9761     *nto* | *qnx*)
9762       ;;
9763
9764     openbsd*)
9765       if test -f /usr/libexec/ld.so; then
9766         hardcode_direct=yes
9767         hardcode_shlibpath_var=no
9768         hardcode_direct_absolute=yes
9769         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9770           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9771           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9772           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9773           export_dynamic_flag_spec='${wl}-E'
9774         else
9775           case $host_os in
9776            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9777              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9778              hardcode_libdir_flag_spec='-R$libdir'
9779              ;;
9780            *)
9781              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9782              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9783              ;;
9784           esac
9785         fi
9786       else
9787         ld_shlibs=no
9788       fi
9789       ;;
9790
9791     os2*)
9792       hardcode_libdir_flag_spec='-L$libdir'
9793       hardcode_minus_L=yes
9794       allow_undefined_flag=unsupported
9795       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'
9796       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9797       ;;
9798
9799     osf3*)
9800       if test "$GCC" = yes; then
9801         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9802         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'
9803       else
9804         allow_undefined_flag=' -expect_unresolved \*'
9805         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'
9806       fi
9807       archive_cmds_need_lc='no'
9808       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9809       hardcode_libdir_separator=:
9810       ;;
9811
9812     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9813       if test "$GCC" = yes; then
9814         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9815         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'
9816         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9817       else
9818         allow_undefined_flag=' -expect_unresolved \*'
9819         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'
9820         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~
9821         $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'
9822
9823         # Both c and cxx compiler support -rpath directly
9824         hardcode_libdir_flag_spec='-rpath $libdir'
9825       fi
9826       archive_cmds_need_lc='no'
9827       hardcode_libdir_separator=:
9828       ;;
9829
9830     solaris*)
9831       no_undefined_flag=' -z defs'
9832       if test "$GCC" = yes; then
9833         wlarc='${wl}'
9834         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9835         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9836           $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'
9837       else
9838         case `$CC -V 2>&1` in
9839         *"Compilers 5.0"*)
9840           wlarc=''
9841           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9843           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9844           ;;
9845         *)
9846           wlarc='${wl}'
9847           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9848           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9849           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9850           ;;
9851         esac
9852       fi
9853       hardcode_libdir_flag_spec='-R$libdir'
9854       hardcode_shlibpath_var=no
9855       case $host_os in
9856       solaris2.[0-5] | solaris2.[0-5].*) ;;
9857       *)
9858         # The compiler driver will combine and reorder linker options,
9859         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9860         # but is careful enough not to reorder.
9861         # Supported since Solaris 2.6 (maybe 2.5.1?)
9862         if test "$GCC" = yes; then
9863           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9864         else
9865           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9866         fi
9867         ;;
9868       esac
9869       link_all_deplibs=yes
9870       ;;
9871
9872     sunos4*)
9873       if test "x$host_vendor" = xsequent; then
9874         # Use $CC to link under sequent, because it throws in some extra .o
9875         # files that make .init and .fini sections work.
9876         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9877       else
9878         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9879       fi
9880       hardcode_libdir_flag_spec='-L$libdir'
9881       hardcode_direct=yes
9882       hardcode_minus_L=yes
9883       hardcode_shlibpath_var=no
9884       ;;
9885
9886     sysv4)
9887       case $host_vendor in
9888         sni)
9889           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9890           hardcode_direct=yes # is this really true???
9891         ;;
9892         siemens)
9893           ## LD is ld it makes a PLAMLIB
9894           ## CC just makes a GrossModule.
9895           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9896           reload_cmds='$CC -r -o $output$reload_objs'
9897           hardcode_direct=no
9898         ;;
9899         motorola)
9900           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9901           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9902         ;;
9903       esac
9904       runpath_var='LD_RUN_PATH'
9905       hardcode_shlibpath_var=no
9906       ;;
9907
9908     sysv4.3*)
9909       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9910       hardcode_shlibpath_var=no
9911       export_dynamic_flag_spec='-Bexport'
9912       ;;
9913
9914     sysv4*MP*)
9915       if test -d /usr/nec; then
9916         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9917         hardcode_shlibpath_var=no
9918         runpath_var=LD_RUN_PATH
9919         hardcode_runpath_var=yes
9920         ld_shlibs=yes
9921       fi
9922       ;;
9923
9924     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9925       no_undefined_flag='${wl}-z,text'
9926       archive_cmds_need_lc=no
9927       hardcode_shlibpath_var=no
9928       runpath_var='LD_RUN_PATH'
9929
9930       if test "$GCC" = yes; then
9931         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9933       else
9934         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936       fi
9937       ;;
9938
9939     sysv5* | sco3.2v5* | sco5v6*)
9940       # Note: We can NOT use -z defs as we might desire, because we do not
9941       # link with -lc, and that would cause any symbols used from libc to
9942       # always be unresolved, which means just about no library would
9943       # ever link correctly.  If we're not using GNU ld we use -z text
9944       # though, which does catch some bad symbols but isn't as heavy-handed
9945       # as -z defs.
9946       no_undefined_flag='${wl}-z,text'
9947       allow_undefined_flag='${wl}-z,nodefs'
9948       archive_cmds_need_lc=no
9949       hardcode_shlibpath_var=no
9950       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9951       hardcode_libdir_separator=':'
9952       link_all_deplibs=yes
9953       export_dynamic_flag_spec='${wl}-Bexport'
9954       runpath_var='LD_RUN_PATH'
9955
9956       if test "$GCC" = yes; then
9957         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9958         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9959       else
9960         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9962       fi
9963       ;;
9964
9965     uts4*)
9966       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9967       hardcode_libdir_flag_spec='-L$libdir'
9968       hardcode_shlibpath_var=no
9969       ;;
9970
9971     *)
9972       ld_shlibs=no
9973       ;;
9974     esac
9975
9976     if test x$host_vendor = xsni; then
9977       case $host in
9978       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9979         export_dynamic_flag_spec='${wl}-Blargedynsym'
9980         ;;
9981       esac
9982     fi
9983   fi
9984
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9986 $as_echo "$ld_shlibs" >&6; }
9987 test "$ld_shlibs" = no && can_build_shared=no
9988
9989 with_gnu_ld=$with_gnu_ld
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005 #
10006 # Do we need to explicitly link libc?
10007 #
10008 case "x$archive_cmds_need_lc" in
10009 x|xyes)
10010   # Assume -lc should be added
10011   archive_cmds_need_lc=yes
10012
10013   if test "$enable_shared" = yes && test "$GCC" = yes; then
10014     case $archive_cmds in
10015     *'~'*)
10016       # FIXME: we may have to deal with multi-command sequences.
10017       ;;
10018     '$CC '*)
10019       # Test whether the compiler implicitly links with -lc since on some
10020       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10021       # to ld, don't add -lc before -lgcc.
10022       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10023 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10024 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10025   $as_echo_n "(cached) " >&6
10026 else
10027   $RM conftest*
10028         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10029
10030         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10031   (eval $ac_compile) 2>&5
10032   ac_status=$?
10033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10034   test $ac_status = 0; } 2>conftest.err; then
10035           soname=conftest
10036           lib=conftest
10037           libobjs=conftest.$ac_objext
10038           deplibs=
10039           wl=$lt_prog_compiler_wl
10040           pic_flag=$lt_prog_compiler_pic
10041           compiler_flags=-v
10042           linker_flags=-v
10043           verstring=
10044           output_objdir=.
10045           libname=conftest
10046           lt_save_allow_undefined_flag=$allow_undefined_flag
10047           allow_undefined_flag=
10048           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10049   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10050   ac_status=$?
10051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10052   test $ac_status = 0; }
10053           then
10054             lt_cv_archive_cmds_need_lc=no
10055           else
10056             lt_cv_archive_cmds_need_lc=yes
10057           fi
10058           allow_undefined_flag=$lt_save_allow_undefined_flag
10059         else
10060           cat conftest.err 1>&5
10061         fi
10062         $RM conftest*
10063
10064 fi
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10066 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10067       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10068       ;;
10069     esac
10070   fi
10071   ;;
10072 esac
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
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10231 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10232
10233 if test "$GCC" = yes; then
10234   case $host_os in
10235     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10236     *) lt_awk_arg="/^libraries:/" ;;
10237   esac
10238   case $host_os in
10239     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10240     *) lt_sed_strip_eq="s,=/,/,g" ;;
10241   esac
10242   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10243   case $lt_search_path_spec in
10244   *\;*)
10245     # if the path contains ";" then we assume it to be the separator
10246     # otherwise default to the standard path separator (i.e. ":") - it is
10247     # assumed that no part of a normal pathname contains ";" but that should
10248     # okay in the real world where ";" in dirpaths is itself problematic.
10249     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10250     ;;
10251   *)
10252     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10253     ;;
10254   esac
10255   # Ok, now we have the path, separated by spaces, we can step through it
10256   # and add multilib dir if necessary.
10257   lt_tmp_lt_search_path_spec=
10258   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10259   for lt_sys_path in $lt_search_path_spec; do
10260     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10261       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10262     else
10263       test -d "$lt_sys_path" && \
10264         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10265     fi
10266   done
10267   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10268 BEGIN {RS=" "; FS="/|\n";} {
10269   lt_foo="";
10270   lt_count=0;
10271   for (lt_i = NF; lt_i > 0; lt_i--) {
10272     if ($lt_i != "" && $lt_i != ".") {
10273       if ($lt_i == "..") {
10274         lt_count++;
10275       } else {
10276         if (lt_count == 0) {
10277           lt_foo="/" $lt_i lt_foo;
10278         } else {
10279           lt_count--;
10280         }
10281       }
10282     }
10283   }
10284   if (lt_foo != "") { lt_freq[lt_foo]++; }
10285   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10286 }'`
10287   # AWK program above erroneously prepends '/' to C:/dos/paths
10288   # for these hosts.
10289   case $host_os in
10290     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10291       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10292   esac
10293   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10294 else
10295   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10296 fi
10297 library_names_spec=
10298 libname_spec='lib$name'
10299 soname_spec=
10300 shrext_cmds=".so"
10301 postinstall_cmds=
10302 postuninstall_cmds=
10303 finish_cmds=
10304 finish_eval=
10305 shlibpath_var=
10306 shlibpath_overrides_runpath=unknown
10307 version_type=none
10308 dynamic_linker="$host_os ld.so"
10309 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10310 need_lib_prefix=unknown
10311 hardcode_into_libs=no
10312
10313 # when you set need_version to no, make sure it does not cause -set_version
10314 # flags to be left without arguments
10315 need_version=unknown
10316
10317 case $host_os in
10318 aix3*)
10319   version_type=linux
10320   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10321   shlibpath_var=LIBPATH
10322
10323   # AIX 3 has no versioning support, so we append a major version to the name.
10324   soname_spec='${libname}${release}${shared_ext}$major'
10325   ;;
10326
10327 aix[4-9]*)
10328   version_type=linux
10329   need_lib_prefix=no
10330   need_version=no
10331   hardcode_into_libs=yes
10332   if test "$host_cpu" = ia64; then
10333     # AIX 5 supports IA64
10334     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10335     shlibpath_var=LD_LIBRARY_PATH
10336   else
10337     # With GCC up to 2.95.x, collect2 would create an import file
10338     # for dependence libraries.  The import file would start with
10339     # the line `#! .'.  This would cause the generated library to
10340     # depend on `.', always an invalid library.  This was fixed in
10341     # development snapshots of GCC prior to 3.0.
10342     case $host_os in
10343       aix4 | aix4.[01] | aix4.[01].*)
10344       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10345            echo ' yes '
10346            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10347         :
10348       else
10349         can_build_shared=no
10350       fi
10351       ;;
10352     esac
10353     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10354     # soname into executable. Probably we can add versioning support to
10355     # collect2, so additional links can be useful in future.
10356     if test "$aix_use_runtimelinking" = yes; then
10357       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10358       # instead of lib<name>.a to let people know that these are not
10359       # typical AIX shared libraries.
10360       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361     else
10362       # We preserve .a as extension for shared libraries through AIX4.2
10363       # and later when we are not doing run time linking.
10364       library_names_spec='${libname}${release}.a $libname.a'
10365       soname_spec='${libname}${release}${shared_ext}$major'
10366     fi
10367     shlibpath_var=LIBPATH
10368   fi
10369   ;;
10370
10371 amigaos*)
10372   case $host_cpu in
10373   powerpc)
10374     # Since July 2007 AmigaOS4 officially supports .so libraries.
10375     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10376     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10377     ;;
10378   m68k)
10379     library_names_spec='$libname.ixlibrary $libname.a'
10380     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10381     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'
10382     ;;
10383   esac
10384   ;;
10385
10386 beos*)
10387   library_names_spec='${libname}${shared_ext}'
10388   dynamic_linker="$host_os ld.so"
10389   shlibpath_var=LIBRARY_PATH
10390   ;;
10391
10392 bsdi[45]*)
10393   version_type=linux
10394   need_version=no
10395   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396   soname_spec='${libname}${release}${shared_ext}$major'
10397   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10398   shlibpath_var=LD_LIBRARY_PATH
10399   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10400   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10401   # the default ld.so.conf also contains /usr/contrib/lib and
10402   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10403   # libtool to hard-code these into programs
10404   ;;
10405
10406 cygwin* | mingw* | pw32* | cegcc*)
10407   version_type=windows
10408   shrext_cmds=".dll"
10409   need_version=no
10410   need_lib_prefix=no
10411
10412   case $GCC,$cc_basename in
10413   yes,*)
10414     # gcc
10415     library_names_spec='$libname.dll.a'
10416     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10417     postinstall_cmds='base_file=`basename \${file}`~
10418       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10419       dldir=$destdir/`dirname \$dlpath`~
10420       test -d \$dldir || mkdir -p \$dldir~
10421       $install_prog $dir/$dlname \$dldir/$dlname~
10422       chmod a+x \$dldir/$dlname~
10423       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10424         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10425       fi'
10426     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10427       dlpath=$dir/\$dldll~
10428        $RM \$dlpath'
10429     shlibpath_overrides_runpath=yes
10430
10431     case $host_os in
10432     cygwin*)
10433       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10434       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10435
10436       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10437       ;;
10438     mingw* | cegcc*)
10439       # MinGW DLLs use traditional 'lib' prefix
10440       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10441       ;;
10442     pw32*)
10443       # pw32 DLLs use 'pw' prefix rather than 'lib'
10444       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10445       ;;
10446     esac
10447     dynamic_linker='Win32 ld.exe'
10448     ;;
10449
10450   *,cl*)
10451     # Native MSVC
10452     libname_spec='$name'
10453     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10454     library_names_spec='${libname}.dll.lib'
10455
10456     case $build_os in
10457     mingw*)
10458       sys_lib_search_path_spec=
10459       lt_save_ifs=$IFS
10460       IFS=';'
10461       for lt_path in $LIB
10462       do
10463         IFS=$lt_save_ifs
10464         # Let DOS variable expansion print the short 8.3 style file name.
10465         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10466         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10467       done
10468       IFS=$lt_save_ifs
10469       # Convert to MSYS style.
10470       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10471       ;;
10472     cygwin*)
10473       # Convert to unix form, then to dos form, then back to unix form
10474       # but this time dos style (no spaces!) so that the unix form looks
10475       # like /cygdrive/c/PROGRA~1:/cygdr...
10476       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10477       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10478       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10479       ;;
10480     *)
10481       sys_lib_search_path_spec="$LIB"
10482       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10483         # It is most probably a Windows format PATH.
10484         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10485       else
10486         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10487       fi
10488       # FIXME: find the short name or the path components, as spaces are
10489       # common. (e.g. "Program Files" -> "PROGRA~1")
10490       ;;
10491     esac
10492
10493     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10494     postinstall_cmds='base_file=`basename \${file}`~
10495       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10496       dldir=$destdir/`dirname \$dlpath`~
10497       test -d \$dldir || mkdir -p \$dldir~
10498       $install_prog $dir/$dlname \$dldir/$dlname'
10499     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10500       dlpath=$dir/\$dldll~
10501        $RM \$dlpath'
10502     shlibpath_overrides_runpath=yes
10503     dynamic_linker='Win32 link.exe'
10504     ;;
10505
10506   *)
10507     # Assume MSVC wrapper
10508     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10509     dynamic_linker='Win32 ld.exe'
10510     ;;
10511   esac
10512   # FIXME: first we should search . and the directory the executable is in
10513   shlibpath_var=PATH
10514   ;;
10515
10516 darwin* | rhapsody*)
10517   dynamic_linker="$host_os dyld"
10518   version_type=darwin
10519   need_lib_prefix=no
10520   need_version=no
10521   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10522   soname_spec='${libname}${release}${major}$shared_ext'
10523   shlibpath_overrides_runpath=yes
10524   shlibpath_var=DYLD_LIBRARY_PATH
10525   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10526
10527   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10528   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10529   ;;
10530
10531 dgux*)
10532   version_type=linux
10533   need_lib_prefix=no
10534   need_version=no
10535   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10536   soname_spec='${libname}${release}${shared_ext}$major'
10537   shlibpath_var=LD_LIBRARY_PATH
10538   ;;
10539
10540 freebsd1*)
10541   dynamic_linker=no
10542   ;;
10543
10544 freebsd* | dragonfly*)
10545   # DragonFly does not have aout.  When/if they implement a new
10546   # versioning mechanism, adjust this.
10547   if test -x /usr/bin/objformat; then
10548     objformat=`/usr/bin/objformat`
10549   else
10550     case $host_os in
10551     freebsd[123]*) objformat=aout ;;
10552     *) objformat=elf ;;
10553     esac
10554   fi
10555   version_type=freebsd-$objformat
10556   case $version_type in
10557     freebsd-elf*)
10558       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10559       need_version=no
10560       need_lib_prefix=no
10561       ;;
10562     freebsd-*)
10563       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10564       need_version=yes
10565       ;;
10566   esac
10567   shlibpath_var=LD_LIBRARY_PATH
10568   case $host_os in
10569   freebsd2*)
10570     shlibpath_overrides_runpath=yes
10571     ;;
10572   freebsd3.[01]* | freebsdelf3.[01]*)
10573     shlibpath_overrides_runpath=yes
10574     hardcode_into_libs=yes
10575     ;;
10576   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10577   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10578     shlibpath_overrides_runpath=no
10579     hardcode_into_libs=yes
10580     ;;
10581   *) # from 4.6 on, and DragonFly
10582     shlibpath_overrides_runpath=yes
10583     hardcode_into_libs=yes
10584     ;;
10585   esac
10586   ;;
10587
10588 gnu*)
10589   version_type=linux
10590   need_lib_prefix=no
10591   need_version=no
10592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10593   soname_spec='${libname}${release}${shared_ext}$major'
10594   shlibpath_var=LD_LIBRARY_PATH
10595   hardcode_into_libs=yes
10596   ;;
10597
10598 haiku*)
10599   version_type=linux
10600   need_lib_prefix=no
10601   need_version=no
10602   dynamic_linker="$host_os runtime_loader"
10603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10604   soname_spec='${libname}${release}${shared_ext}$major'
10605   shlibpath_var=LIBRARY_PATH
10606   shlibpath_overrides_runpath=yes
10607   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10608   hardcode_into_libs=yes
10609   ;;
10610
10611 hpux9* | hpux10* | hpux11*)
10612   # Give a soname corresponding to the major version so that dld.sl refuses to
10613   # link against other versions.
10614   version_type=sunos
10615   need_lib_prefix=no
10616   need_version=no
10617   case $host_cpu in
10618   ia64*)
10619     shrext_cmds='.so'
10620     hardcode_into_libs=yes
10621     dynamic_linker="$host_os dld.so"
10622     shlibpath_var=LD_LIBRARY_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     if test "X$HPUX_IA64_MODE" = X32; then
10627       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10628     else
10629       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10630     fi
10631     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10632     ;;
10633   hppa*64*)
10634     shrext_cmds='.sl'
10635     hardcode_into_libs=yes
10636     dynamic_linker="$host_os dld.sl"
10637     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10638     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10639     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640     soname_spec='${libname}${release}${shared_ext}$major'
10641     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10642     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10643     ;;
10644   *)
10645     shrext_cmds='.sl'
10646     dynamic_linker="$host_os dld.sl"
10647     shlibpath_var=SHLIB_PATH
10648     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10649     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10650     soname_spec='${libname}${release}${shared_ext}$major'
10651     ;;
10652   esac
10653   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10654   postinstall_cmds='chmod 555 $lib'
10655   # or fails outright, so override atomically:
10656   install_override_mode=555
10657   ;;
10658
10659 interix[3-9]*)
10660   version_type=linux
10661   need_lib_prefix=no
10662   need_version=no
10663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10664   soname_spec='${libname}${release}${shared_ext}$major'
10665   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10666   shlibpath_var=LD_LIBRARY_PATH
10667   shlibpath_overrides_runpath=no
10668   hardcode_into_libs=yes
10669   ;;
10670
10671 irix5* | irix6* | nonstopux*)
10672   case $host_os in
10673     nonstopux*) version_type=nonstopux ;;
10674     *)
10675         if test "$lt_cv_prog_gnu_ld" = yes; then
10676                 version_type=linux
10677         else
10678                 version_type=irix
10679         fi ;;
10680   esac
10681   need_lib_prefix=no
10682   need_version=no
10683   soname_spec='${libname}${release}${shared_ext}$major'
10684   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10685   case $host_os in
10686   irix5* | nonstopux*)
10687     libsuff= shlibsuff=
10688     ;;
10689   *)
10690     case $LD in # libtool.m4 will add one of these switches to LD
10691     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10692       libsuff= shlibsuff= libmagic=32-bit;;
10693     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10694       libsuff=32 shlibsuff=N32 libmagic=N32;;
10695     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10696       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10697     *) libsuff= shlibsuff= libmagic=never-match;;
10698     esac
10699     ;;
10700   esac
10701   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10702   shlibpath_overrides_runpath=no
10703   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10704   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10705   hardcode_into_libs=yes
10706   ;;
10707
10708 # No shared lib support for Linux oldld, aout, or coff.
10709 linux*oldld* | linux*aout* | linux*coff*)
10710   dynamic_linker=no
10711   ;;
10712
10713 # This must be Linux ELF.
10714 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10715   version_type=linux
10716   need_lib_prefix=no
10717   need_version=no
10718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719   soname_spec='${libname}${release}${shared_ext}$major'
10720   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10721   shlibpath_var=LD_LIBRARY_PATH
10722   shlibpath_overrides_runpath=no
10723
10724   # Some binutils ld are patched to set DT_RUNPATH
10725   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10726   $as_echo_n "(cached) " >&6
10727 else
10728   lt_cv_shlibpath_overrides_runpath=no
10729     save_LDFLAGS=$LDFLAGS
10730     save_libdir=$libdir
10731     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10732          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10733     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h.  */
10735
10736 int
10737 main ()
10738 {
10739
10740   ;
10741   return 0;
10742 }
10743 _ACEOF
10744 if ac_fn_c_try_link "$LINENO"; then :
10745   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10746   lt_cv_shlibpath_overrides_runpath=yes
10747 fi
10748 fi
10749 rm -f core conftest.err conftest.$ac_objext \
10750     conftest$ac_exeext conftest.$ac_ext
10751     LDFLAGS=$save_LDFLAGS
10752     libdir=$save_libdir
10753
10754 fi
10755
10756   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10757
10758   # This implies no fast_install, which is unacceptable.
10759   # Some rework will be needed to allow for fast_install
10760   # before this can be enabled.
10761   hardcode_into_libs=yes
10762
10763   # Append ld.so.conf contents to the search path
10764   if test -f /etc/ld.so.conf; then
10765     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' ' '`
10766     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10767   fi
10768
10769   # We used to test for /lib/ld.so.1 and disable shared libraries on
10770   # powerpc, because MkLinux only supported shared libraries with the
10771   # GNU dynamic linker.  Since this was broken with cross compilers,
10772   # most powerpc-linux boxes support dynamic linking these days and
10773   # people can always --disable-shared, the test was removed, and we
10774   # assume the GNU/Linux dynamic linker is in use.
10775   dynamic_linker='GNU/Linux ld.so'
10776   ;;
10777
10778 netbsd*)
10779   version_type=sunos
10780   need_lib_prefix=no
10781   need_version=no
10782   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10783     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10784     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10785     dynamic_linker='NetBSD (a.out) ld.so'
10786   else
10787     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10788     soname_spec='${libname}${release}${shared_ext}$major'
10789     dynamic_linker='NetBSD ld.elf_so'
10790   fi
10791   shlibpath_var=LD_LIBRARY_PATH
10792   shlibpath_overrides_runpath=yes
10793   hardcode_into_libs=yes
10794   ;;
10795
10796 newsos6)
10797   version_type=linux
10798   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10799   shlibpath_var=LD_LIBRARY_PATH
10800   shlibpath_overrides_runpath=yes
10801   ;;
10802
10803 *nto* | *qnx*)
10804   version_type=qnx
10805   need_lib_prefix=no
10806   need_version=no
10807   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10808   soname_spec='${libname}${release}${shared_ext}$major'
10809   shlibpath_var=LD_LIBRARY_PATH
10810   shlibpath_overrides_runpath=no
10811   hardcode_into_libs=yes
10812   dynamic_linker='ldqnx.so'
10813   ;;
10814
10815 openbsd*)
10816   version_type=sunos
10817   sys_lib_dlsearch_path_spec="/usr/lib"
10818   need_lib_prefix=no
10819   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10820   case $host_os in
10821     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10822     *)                          need_version=no  ;;
10823   esac
10824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10825   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10826   shlibpath_var=LD_LIBRARY_PATH
10827   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10828     case $host_os in
10829       openbsd2.[89] | openbsd2.[89].*)
10830         shlibpath_overrides_runpath=no
10831         ;;
10832       *)
10833         shlibpath_overrides_runpath=yes
10834         ;;
10835       esac
10836   else
10837     shlibpath_overrides_runpath=yes
10838   fi
10839   ;;
10840
10841 os2*)
10842   libname_spec='$name'
10843   shrext_cmds=".dll"
10844   need_lib_prefix=no
10845   library_names_spec='$libname${shared_ext} $libname.a'
10846   dynamic_linker='OS/2 ld.exe'
10847   shlibpath_var=LIBPATH
10848   ;;
10849
10850 osf3* | osf4* | osf5*)
10851   version_type=osf
10852   need_lib_prefix=no
10853   need_version=no
10854   soname_spec='${libname}${release}${shared_ext}$major'
10855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10856   shlibpath_var=LD_LIBRARY_PATH
10857   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10858   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10859   ;;
10860
10861 rdos*)
10862   dynamic_linker=no
10863   ;;
10864
10865 solaris*)
10866   version_type=linux
10867   need_lib_prefix=no
10868   need_version=no
10869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10870   soname_spec='${libname}${release}${shared_ext}$major'
10871   shlibpath_var=LD_LIBRARY_PATH
10872   shlibpath_overrides_runpath=yes
10873   hardcode_into_libs=yes
10874   # ldd complains unless libraries are executable
10875   postinstall_cmds='chmod +x $lib'
10876   ;;
10877
10878 sunos4*)
10879   version_type=sunos
10880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10881   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10882   shlibpath_var=LD_LIBRARY_PATH
10883   shlibpath_overrides_runpath=yes
10884   if test "$with_gnu_ld" = yes; then
10885     need_lib_prefix=no
10886   fi
10887   need_version=yes
10888   ;;
10889
10890 sysv4 | sysv4.3*)
10891   version_type=linux
10892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10893   soname_spec='${libname}${release}${shared_ext}$major'
10894   shlibpath_var=LD_LIBRARY_PATH
10895   case $host_vendor in
10896     sni)
10897       shlibpath_overrides_runpath=no
10898       need_lib_prefix=no
10899       runpath_var=LD_RUN_PATH
10900       ;;
10901     siemens)
10902       need_lib_prefix=no
10903       ;;
10904     motorola)
10905       need_lib_prefix=no
10906       need_version=no
10907       shlibpath_overrides_runpath=no
10908       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10909       ;;
10910   esac
10911   ;;
10912
10913 sysv4*MP*)
10914   if test -d /usr/nec ;then
10915     version_type=linux
10916     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10917     soname_spec='$libname${shared_ext}.$major'
10918     shlibpath_var=LD_LIBRARY_PATH
10919   fi
10920   ;;
10921
10922 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10923   version_type=freebsd-elf
10924   need_lib_prefix=no
10925   need_version=no
10926   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10927   soname_spec='${libname}${release}${shared_ext}$major'
10928   shlibpath_var=LD_LIBRARY_PATH
10929   shlibpath_overrides_runpath=yes
10930   hardcode_into_libs=yes
10931   if test "$with_gnu_ld" = yes; then
10932     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10933   else
10934     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10935     case $host_os in
10936       sco3.2v5*)
10937         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10938         ;;
10939     esac
10940   fi
10941   sys_lib_dlsearch_path_spec='/usr/lib'
10942   ;;
10943
10944 tpf*)
10945   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10946   version_type=linux
10947   need_lib_prefix=no
10948   need_version=no
10949   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10950   shlibpath_var=LD_LIBRARY_PATH
10951   shlibpath_overrides_runpath=no
10952   hardcode_into_libs=yes
10953   ;;
10954
10955 uts4*)
10956   version_type=linux
10957   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10958   soname_spec='${libname}${release}${shared_ext}$major'
10959   shlibpath_var=LD_LIBRARY_PATH
10960   ;;
10961
10962 *)
10963   dynamic_linker=no
10964   ;;
10965 esac
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10967 $as_echo "$dynamic_linker" >&6; }
10968 test "$dynamic_linker" = no && can_build_shared=no
10969
10970 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10971 if test "$GCC" = yes; then
10972   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10973 fi
10974
10975 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10976   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10977 fi
10978 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10979   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10980 fi
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
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11074 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11075 hardcode_action=
11076 if test -n "$hardcode_libdir_flag_spec" ||
11077    test -n "$runpath_var" ||
11078    test "X$hardcode_automatic" = "Xyes" ; then
11079
11080   # We can hardcode non-existent directories.
11081   if test "$hardcode_direct" != no &&
11082      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11083      # have to relink, otherwise we might link with an installed library
11084      # when we should be linking with a yet-to-be-installed one
11085      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11086      test "$hardcode_minus_L" != no; then
11087     # Linking always hardcodes the temporary library directory.
11088     hardcode_action=relink
11089   else
11090     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11091     hardcode_action=immediate
11092   fi
11093 else
11094   # We cannot hardcode anything, or else we can only hardcode existing
11095   # directories.
11096   hardcode_action=unsupported
11097 fi
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11099 $as_echo "$hardcode_action" >&6; }
11100
11101 if test "$hardcode_action" = relink ||
11102    test "$inherit_rpath" = yes; then
11103   # Fast installation is not supported
11104   enable_fast_install=no
11105 elif test "$shlibpath_overrides_runpath" = yes ||
11106      test "$enable_shared" = no; then
11107   # Fast installation is not necessary
11108   enable_fast_install=needless
11109 fi
11110
11111
11112
11113
11114
11115
11116   if test "x$enable_dlopen" != xyes; then
11117   enable_dlopen=unknown
11118   enable_dlopen_self=unknown
11119   enable_dlopen_self_static=unknown
11120 else
11121   lt_cv_dlopen=no
11122   lt_cv_dlopen_libs=
11123
11124   case $host_os in
11125   beos*)
11126     lt_cv_dlopen="load_add_on"
11127     lt_cv_dlopen_libs=
11128     lt_cv_dlopen_self=yes
11129     ;;
11130
11131   mingw* | pw32* | cegcc*)
11132     lt_cv_dlopen="LoadLibrary"
11133     lt_cv_dlopen_libs=
11134     ;;
11135
11136   cygwin*)
11137     lt_cv_dlopen="dlopen"
11138     lt_cv_dlopen_libs=
11139     ;;
11140
11141   darwin*)
11142   # if libdl is installed we need to link against it
11143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11144 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11145 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11146   $as_echo_n "(cached) " >&6
11147 else
11148   ac_check_lib_save_LIBS=$LIBS
11149 LIBS="-ldl  $LIBS"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h.  */
11152
11153 /* Override any GCC internal prototype to avoid an error.
11154    Use char because int might match the return type of a GCC
11155    builtin and then its argument prototype would still apply.  */
11156 #ifdef __cplusplus
11157 extern "C"
11158 #endif
11159 char dlopen ();
11160 int
11161 main ()
11162 {
11163 return dlopen ();
11164   ;
11165   return 0;
11166 }
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"; then :
11169   ac_cv_lib_dl_dlopen=yes
11170 else
11171   ac_cv_lib_dl_dlopen=no
11172 fi
11173 rm -f core conftest.err conftest.$ac_objext \
11174     conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11176 fi
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11178 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11179 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11180   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11181 else
11182
11183     lt_cv_dlopen="dyld"
11184     lt_cv_dlopen_libs=
11185     lt_cv_dlopen_self=yes
11186
11187 fi
11188
11189     ;;
11190
11191   *)
11192     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11193 if test "x$ac_cv_func_shl_load" = x""yes; then :
11194   lt_cv_dlopen="shl_load"
11195 else
11196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11197 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11198 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11199   $as_echo_n "(cached) " >&6
11200 else
11201   ac_check_lib_save_LIBS=$LIBS
11202 LIBS="-ldld  $LIBS"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h.  */
11205
11206 /* Override any GCC internal prototype to avoid an error.
11207    Use char because int might match the return type of a GCC
11208    builtin and then its argument prototype would still apply.  */
11209 #ifdef __cplusplus
11210 extern "C"
11211 #endif
11212 char shl_load ();
11213 int
11214 main ()
11215 {
11216 return shl_load ();
11217   ;
11218   return 0;
11219 }
11220 _ACEOF
11221 if ac_fn_c_try_link "$LINENO"; then :
11222   ac_cv_lib_dld_shl_load=yes
11223 else
11224   ac_cv_lib_dld_shl_load=no
11225 fi
11226 rm -f core conftest.err conftest.$ac_objext \
11227     conftest$ac_exeext conftest.$ac_ext
11228 LIBS=$ac_check_lib_save_LIBS
11229 fi
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11231 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11232 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11233   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11234 else
11235   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11236 if test "x$ac_cv_func_dlopen" = x""yes; then :
11237   lt_cv_dlopen="dlopen"
11238 else
11239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11240 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11241 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11242   $as_echo_n "(cached) " >&6
11243 else
11244   ac_check_lib_save_LIBS=$LIBS
11245 LIBS="-ldl  $LIBS"
11246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11247 /* end confdefs.h.  */
11248
11249 /* Override any GCC internal prototype to avoid an error.
11250    Use char because int might match the return type of a GCC
11251    builtin and then its argument prototype would still apply.  */
11252 #ifdef __cplusplus
11253 extern "C"
11254 #endif
11255 char dlopen ();
11256 int
11257 main ()
11258 {
11259 return dlopen ();
11260   ;
11261   return 0;
11262 }
11263 _ACEOF
11264 if ac_fn_c_try_link "$LINENO"; then :
11265   ac_cv_lib_dl_dlopen=yes
11266 else
11267   ac_cv_lib_dl_dlopen=no
11268 fi
11269 rm -f core conftest.err conftest.$ac_objext \
11270     conftest$ac_exeext conftest.$ac_ext
11271 LIBS=$ac_check_lib_save_LIBS
11272 fi
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11274 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11275 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11276   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11277 else
11278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11279 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11280 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11281   $as_echo_n "(cached) " >&6
11282 else
11283   ac_check_lib_save_LIBS=$LIBS
11284 LIBS="-lsvld  $LIBS"
11285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h.  */
11287
11288 /* Override any GCC internal prototype to avoid an error.
11289    Use char because int might match the return type of a GCC
11290    builtin and then its argument prototype would still apply.  */
11291 #ifdef __cplusplus
11292 extern "C"
11293 #endif
11294 char dlopen ();
11295 int
11296 main ()
11297 {
11298 return dlopen ();
11299   ;
11300   return 0;
11301 }
11302 _ACEOF
11303 if ac_fn_c_try_link "$LINENO"; then :
11304   ac_cv_lib_svld_dlopen=yes
11305 else
11306   ac_cv_lib_svld_dlopen=no
11307 fi
11308 rm -f core conftest.err conftest.$ac_objext \
11309     conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_lib_save_LIBS
11311 fi
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11313 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11314 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11315   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11316 else
11317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11318 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11319 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11320   $as_echo_n "(cached) " >&6
11321 else
11322   ac_check_lib_save_LIBS=$LIBS
11323 LIBS="-ldld  $LIBS"
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h.  */
11326
11327 /* Override any GCC internal prototype to avoid an error.
11328    Use char because int might match the return type of a GCC
11329    builtin and then its argument prototype would still apply.  */
11330 #ifdef __cplusplus
11331 extern "C"
11332 #endif
11333 char dld_link ();
11334 int
11335 main ()
11336 {
11337 return dld_link ();
11338   ;
11339   return 0;
11340 }
11341 _ACEOF
11342 if ac_fn_c_try_link "$LINENO"; then :
11343   ac_cv_lib_dld_dld_link=yes
11344 else
11345   ac_cv_lib_dld_dld_link=no
11346 fi
11347 rm -f core conftest.err conftest.$ac_objext \
11348     conftest$ac_exeext conftest.$ac_ext
11349 LIBS=$ac_check_lib_save_LIBS
11350 fi
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11352 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11353 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11354   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11355 fi
11356
11357
11358 fi
11359
11360
11361 fi
11362
11363
11364 fi
11365
11366
11367 fi
11368
11369
11370 fi
11371
11372     ;;
11373   esac
11374
11375   if test "x$lt_cv_dlopen" != xno; then
11376     enable_dlopen=yes
11377   else
11378     enable_dlopen=no
11379   fi
11380
11381   case $lt_cv_dlopen in
11382   dlopen)
11383     save_CPPFLAGS="$CPPFLAGS"
11384     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11385
11386     save_LDFLAGS="$LDFLAGS"
11387     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11388
11389     save_LIBS="$LIBS"
11390     LIBS="$lt_cv_dlopen_libs $LIBS"
11391
11392     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11393 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11394 if test "${lt_cv_dlopen_self+set}" = set; then :
11395   $as_echo_n "(cached) " >&6
11396 else
11397           if test "$cross_compiling" = yes; then :
11398   lt_cv_dlopen_self=cross
11399 else
11400   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11401   lt_status=$lt_dlunknown
11402   cat > conftest.$ac_ext <<_LT_EOF
11403 #line $LINENO "configure"
11404 #include "confdefs.h"
11405
11406 #if HAVE_DLFCN_H
11407 #include <dlfcn.h>
11408 #endif
11409
11410 #include <stdio.h>
11411
11412 #ifdef RTLD_GLOBAL
11413 #  define LT_DLGLOBAL           RTLD_GLOBAL
11414 #else
11415 #  ifdef DL_GLOBAL
11416 #    define LT_DLGLOBAL         DL_GLOBAL
11417 #  else
11418 #    define LT_DLGLOBAL         0
11419 #  endif
11420 #endif
11421
11422 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11423    find out it does not work in some platform. */
11424 #ifndef LT_DLLAZY_OR_NOW
11425 #  ifdef RTLD_LAZY
11426 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11427 #  else
11428 #    ifdef DL_LAZY
11429 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11430 #    else
11431 #      ifdef RTLD_NOW
11432 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11433 #      else
11434 #        ifdef DL_NOW
11435 #          define LT_DLLAZY_OR_NOW      DL_NOW
11436 #        else
11437 #          define LT_DLLAZY_OR_NOW      0
11438 #        endif
11439 #      endif
11440 #    endif
11441 #  endif
11442 #endif
11443
11444 /* When -fvisbility=hidden is used, assume the code has been annotated
11445    correspondingly for the symbols needed.  */
11446 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11447 int fnord () __attribute__((visibility("default")));
11448 #endif
11449
11450 int fnord () { return 42; }
11451 int main ()
11452 {
11453   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11454   int status = $lt_dlunknown;
11455
11456   if (self)
11457     {
11458       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11459       else
11460         {
11461           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11462           else puts (dlerror ());
11463         }
11464       /* dlclose (self); */
11465     }
11466   else
11467     puts (dlerror ());
11468
11469   return status;
11470 }
11471 _LT_EOF
11472   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11473   (eval $ac_link) 2>&5
11474   ac_status=$?
11475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11476   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11477     (./conftest; exit; ) >&5 2>/dev/null
11478     lt_status=$?
11479     case x$lt_status in
11480       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11481       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11482       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11483     esac
11484   else :
11485     # compilation failed
11486     lt_cv_dlopen_self=no
11487   fi
11488 fi
11489 rm -fr conftest*
11490
11491
11492 fi
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11494 $as_echo "$lt_cv_dlopen_self" >&6; }
11495
11496     if test "x$lt_cv_dlopen_self" = xyes; then
11497       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11498       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11499 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11500 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11501   $as_echo_n "(cached) " >&6
11502 else
11503           if test "$cross_compiling" = yes; then :
11504   lt_cv_dlopen_self_static=cross
11505 else
11506   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11507   lt_status=$lt_dlunknown
11508   cat > conftest.$ac_ext <<_LT_EOF
11509 #line $LINENO "configure"
11510 #include "confdefs.h"
11511
11512 #if HAVE_DLFCN_H
11513 #include <dlfcn.h>
11514 #endif
11515
11516 #include <stdio.h>
11517
11518 #ifdef RTLD_GLOBAL
11519 #  define LT_DLGLOBAL           RTLD_GLOBAL
11520 #else
11521 #  ifdef DL_GLOBAL
11522 #    define LT_DLGLOBAL         DL_GLOBAL
11523 #  else
11524 #    define LT_DLGLOBAL         0
11525 #  endif
11526 #endif
11527
11528 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11529    find out it does not work in some platform. */
11530 #ifndef LT_DLLAZY_OR_NOW
11531 #  ifdef RTLD_LAZY
11532 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11533 #  else
11534 #    ifdef DL_LAZY
11535 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11536 #    else
11537 #      ifdef RTLD_NOW
11538 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11539 #      else
11540 #        ifdef DL_NOW
11541 #          define LT_DLLAZY_OR_NOW      DL_NOW
11542 #        else
11543 #          define LT_DLLAZY_OR_NOW      0
11544 #        endif
11545 #      endif
11546 #    endif
11547 #  endif
11548 #endif
11549
11550 /* When -fvisbility=hidden is used, assume the code has been annotated
11551    correspondingly for the symbols needed.  */
11552 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11553 int fnord () __attribute__((visibility("default")));
11554 #endif
11555
11556 int fnord () { return 42; }
11557 int main ()
11558 {
11559   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11560   int status = $lt_dlunknown;
11561
11562   if (self)
11563     {
11564       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11565       else
11566         {
11567           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11568           else puts (dlerror ());
11569         }
11570       /* dlclose (self); */
11571     }
11572   else
11573     puts (dlerror ());
11574
11575   return status;
11576 }
11577 _LT_EOF
11578   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11579   (eval $ac_link) 2>&5
11580   ac_status=$?
11581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11582   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11583     (./conftest; exit; ) >&5 2>/dev/null
11584     lt_status=$?
11585     case x$lt_status in
11586       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11587       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11588       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11589     esac
11590   else :
11591     # compilation failed
11592     lt_cv_dlopen_self_static=no
11593   fi
11594 fi
11595 rm -fr conftest*
11596
11597
11598 fi
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11600 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11601     fi
11602
11603     CPPFLAGS="$save_CPPFLAGS"
11604     LDFLAGS="$save_LDFLAGS"
11605     LIBS="$save_LIBS"
11606     ;;
11607   esac
11608
11609   case $lt_cv_dlopen_self in
11610   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11611   *) enable_dlopen_self=unknown ;;
11612   esac
11613
11614   case $lt_cv_dlopen_self_static in
11615   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11616   *) enable_dlopen_self_static=unknown ;;
11617   esac
11618 fi
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636 striplib=
11637 old_striplib=
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11639 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11640 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11641   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11642   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11644 $as_echo "yes" >&6; }
11645 else
11646 # FIXME - insert some real tests, host_os isn't really good enough
11647   case $host_os in
11648   darwin*)
11649     if test -n "$STRIP" ; then
11650       striplib="$STRIP -x"
11651       old_striplib="$STRIP -S"
11652       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11653 $as_echo "yes" >&6; }
11654     else
11655       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11656 $as_echo "no" >&6; }
11657     fi
11658     ;;
11659   *)
11660     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11661 $as_echo "no" >&6; }
11662     ;;
11663   esac
11664 fi
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677   # Report which library types will actually be built
11678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11679 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11681 $as_echo "$can_build_shared" >&6; }
11682
11683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11684 $as_echo_n "checking whether to build shared libraries... " >&6; }
11685   test "$can_build_shared" = "no" && enable_shared=no
11686
11687   # On AIX, shared libraries and static libraries use the same namespace, and
11688   # are all built from PIC.
11689   case $host_os in
11690   aix3*)
11691     test "$enable_shared" = yes && enable_static=no
11692     if test -n "$RANLIB"; then
11693       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11694       postinstall_cmds='$RANLIB $lib'
11695     fi
11696     ;;
11697
11698   aix[4-9]*)
11699     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11700       test "$enable_shared" = yes && enable_static=no
11701     fi
11702     ;;
11703   esac
11704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11705 $as_echo "$enable_shared" >&6; }
11706
11707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11708 $as_echo_n "checking whether to build static libraries... " >&6; }
11709   # Make sure either enable_shared or enable_static is yes.
11710   test "$enable_shared" = yes || enable_static=yes
11711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11712 $as_echo "$enable_static" >&6; }
11713
11714
11715
11716
11717 fi
11718 ac_ext=c
11719 ac_cpp='$CPP $CPPFLAGS'
11720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11723
11724 CC="$lt_save_CC"
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738         ac_config_commands="$ac_config_commands libtool"
11739
11740
11741
11742
11743 # Only expand once:
11744
11745
11746
11747 # Docygen features
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758 # Files:
11759 DX_PROJECT=opensaml
11760
11761 DX_CONFIG=doxygen.cfg
11762
11763 DX_DOCDIR=doc/api
11764
11765
11766 # Environment variables used inside doxygen.cfg:
11767 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
11768
11769 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
11770
11771 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
11772
11773 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
11774
11775
11776 # Doxygen itself:
11777
11778
11779
11780     # Check whether --enable-doxygen-doc was given.
11781 if test "${enable_doxygen_doc+set}" = set; then :
11782   enableval=$enable_doxygen_doc;
11783 case "$enableval" in
11784 #(
11785 y|Y|yes|Yes|YES)
11786     DX_FLAG_doc=1
11787
11788
11789 ;; #(
11790 n|N|no|No|NO)
11791     DX_FLAG_doc=0
11792
11793 ;; #(
11794 *)
11795     as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
11796 ;;
11797 esac
11798
11799 else
11800
11801 DX_FLAG_doc=1
11802
11803
11804
11805 fi
11806
11807 if test "$DX_FLAG_doc" = 1; then
11808
11809 if test -n "$ac_tool_prefix"; then
11810   # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
11811 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11813 $as_echo_n "checking for $ac_word... " >&6; }
11814 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
11815   $as_echo_n "(cached) " >&6
11816 else
11817   case $DX_DOXYGEN in
11818   [\\/]* | ?:[\\/]*)
11819   ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
11820   ;;
11821   *)
11822   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11823 for as_dir in $PATH
11824 do
11825   IFS=$as_save_IFS
11826   test -z "$as_dir" && as_dir=.
11827     for ac_exec_ext in '' $ac_executable_extensions; do
11828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11829     ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11831     break 2
11832   fi
11833 done
11834   done
11835 IFS=$as_save_IFS
11836
11837   ;;
11838 esac
11839 fi
11840 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
11841 if test -n "$DX_DOXYGEN"; then
11842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
11843 $as_echo "$DX_DOXYGEN" >&6; }
11844 else
11845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 $as_echo "no" >&6; }
11847 fi
11848
11849
11850 fi
11851 if test -z "$ac_cv_path_DX_DOXYGEN"; then
11852   ac_pt_DX_DOXYGEN=$DX_DOXYGEN
11853   # Extract the first word of "doxygen", so it can be a program name with args.
11854 set dummy doxygen; ac_word=$2
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11856 $as_echo_n "checking for $ac_word... " >&6; }
11857 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
11858   $as_echo_n "(cached) " >&6
11859 else
11860   case $ac_pt_DX_DOXYGEN in
11861   [\\/]* | ?:[\\/]*)
11862   ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
11863   ;;
11864   *)
11865   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11866 for as_dir in $PATH
11867 do
11868   IFS=$as_save_IFS
11869   test -z "$as_dir" && as_dir=.
11870     for ac_exec_ext in '' $ac_executable_extensions; do
11871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11872     ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11874     break 2
11875   fi
11876 done
11877   done
11878 IFS=$as_save_IFS
11879
11880   ;;
11881 esac
11882 fi
11883 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
11884 if test -n "$ac_pt_DX_DOXYGEN"; then
11885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
11886 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
11887 else
11888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11889 $as_echo "no" >&6; }
11890 fi
11891
11892   if test "x$ac_pt_DX_DOXYGEN" = x; then
11893     DX_DOXYGEN=""
11894   else
11895     case $cross_compiling:$ac_tool_warned in
11896 yes:)
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11899 ac_tool_warned=yes ;;
11900 esac
11901     DX_DOXYGEN=$ac_pt_DX_DOXYGEN
11902   fi
11903 else
11904   DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
11905 fi
11906
11907 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
11908     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
11909 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
11910     DX_FLAG_doc=0
11911
11912 fi
11913
11914
11915 if test -n "$ac_tool_prefix"; then
11916   # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
11917 set dummy ${ac_tool_prefix}perl; ac_word=$2
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11919 $as_echo_n "checking for $ac_word... " >&6; }
11920 if test "${ac_cv_path_DX_PERL+set}" = set; then :
11921   $as_echo_n "(cached) " >&6
11922 else
11923   case $DX_PERL in
11924   [\\/]* | ?:[\\/]*)
11925   ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
11926   ;;
11927   *)
11928   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11929 for as_dir in $PATH
11930 do
11931   IFS=$as_save_IFS
11932   test -z "$as_dir" && as_dir=.
11933     for ac_exec_ext in '' $ac_executable_extensions; do
11934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11935     ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11937     break 2
11938   fi
11939 done
11940   done
11941 IFS=$as_save_IFS
11942
11943   ;;
11944 esac
11945 fi
11946 DX_PERL=$ac_cv_path_DX_PERL
11947 if test -n "$DX_PERL"; then
11948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
11949 $as_echo "$DX_PERL" >&6; }
11950 else
11951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11952 $as_echo "no" >&6; }
11953 fi
11954
11955
11956 fi
11957 if test -z "$ac_cv_path_DX_PERL"; then
11958   ac_pt_DX_PERL=$DX_PERL
11959   # Extract the first word of "perl", so it can be a program name with args.
11960 set dummy perl; ac_word=$2
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11962 $as_echo_n "checking for $ac_word... " >&6; }
11963 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
11964   $as_echo_n "(cached) " >&6
11965 else
11966   case $ac_pt_DX_PERL in
11967   [\\/]* | ?:[\\/]*)
11968   ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
11969   ;;
11970   *)
11971   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11972 for as_dir in $PATH
11973 do
11974   IFS=$as_save_IFS
11975   test -z "$as_dir" && as_dir=.
11976     for ac_exec_ext in '' $ac_executable_extensions; do
11977   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11978     ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
11979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11980     break 2
11981   fi
11982 done
11983   done
11984 IFS=$as_save_IFS
11985
11986   ;;
11987 esac
11988 fi
11989 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
11990 if test -n "$ac_pt_DX_PERL"; then
11991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
11992 $as_echo "$ac_pt_DX_PERL" >&6; }
11993 else
11994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11995 $as_echo "no" >&6; }
11996 fi
11997
11998   if test "x$ac_pt_DX_PERL" = x; then
11999     DX_PERL=""
12000   else
12001     case $cross_compiling:$ac_tool_warned in
12002 yes:)
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12005 ac_tool_warned=yes ;;
12006 esac
12007     DX_PERL=$ac_pt_DX_PERL
12008   fi
12009 else
12010   DX_PERL="$ac_cv_path_DX_PERL"
12011 fi
12012
12013 if test "$DX_FLAG_doc$DX_PERL" = 1; then
12014     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
12015 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
12016     DX_FLAG_doc=0
12017
12018 fi
12019
12020     :
12021 fi
12022 if test "$DX_FLAG_doc" = 1; then
12023      if :; then
12024   DX_COND_doc_TRUE=
12025   DX_COND_doc_FALSE='#'
12026 else
12027   DX_COND_doc_TRUE='#'
12028   DX_COND_doc_FALSE=
12029 fi
12030
12031     DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
12032
12033     :
12034 else
12035      if false; then
12036   DX_COND_doc_TRUE=
12037   DX_COND_doc_FALSE='#'
12038 else
12039   DX_COND_doc_TRUE='#'
12040   DX_COND_doc_FALSE=
12041 fi
12042
12043
12044     :
12045 fi
12046
12047
12048 # Dot for graphics:
12049
12050
12051
12052     # Check whether --enable-doxygen-dot was given.
12053 if test "${enable_doxygen_dot+set}" = set; then :
12054   enableval=$enable_doxygen_dot;
12055 case "$enableval" in
12056 #(
12057 y|Y|yes|Yes|YES)
12058     DX_FLAG_dot=1
12059
12060
12061 test "$DX_FLAG_doc" = "1" \
12062 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
12063
12064 ;; #(
12065 n|N|no|No|NO)
12066     DX_FLAG_dot=0
12067
12068 ;; #(
12069 *)
12070     as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
12071 ;;
12072 esac
12073
12074 else
12075
12076 DX_FLAG_dot=0
12077
12078
12079 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
12080
12081
12082
12083 fi
12084
12085 if test "$DX_FLAG_dot" = 1; then
12086
12087 if test -n "$ac_tool_prefix"; then
12088   # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
12089 set dummy ${ac_tool_prefix}dot; ac_word=$2
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12091 $as_echo_n "checking for $ac_word... " >&6; }
12092 if test "${ac_cv_path_DX_DOT+set}" = set; then :
12093   $as_echo_n "(cached) " >&6
12094 else
12095   case $DX_DOT in
12096   [\\/]* | ?:[\\/]*)
12097   ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
12098   ;;
12099   *)
12100   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12101 for as_dir in $PATH
12102 do
12103   IFS=$as_save_IFS
12104   test -z "$as_dir" && as_dir=.
12105     for ac_exec_ext in '' $ac_executable_extensions; do
12106   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12107     ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12109     break 2
12110   fi
12111 done
12112   done
12113 IFS=$as_save_IFS
12114
12115   ;;
12116 esac
12117 fi
12118 DX_DOT=$ac_cv_path_DX_DOT
12119 if test -n "$DX_DOT"; then
12120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
12121 $as_echo "$DX_DOT" >&6; }
12122 else
12123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12124 $as_echo "no" >&6; }
12125 fi
12126
12127
12128 fi
12129 if test -z "$ac_cv_path_DX_DOT"; then
12130   ac_pt_DX_DOT=$DX_DOT
12131   # Extract the first word of "dot", so it can be a program name with args.
12132 set dummy dot; ac_word=$2
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12134 $as_echo_n "checking for $ac_word... " >&6; }
12135 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
12136   $as_echo_n "(cached) " >&6
12137 else
12138   case $ac_pt_DX_DOT in
12139   [\\/]* | ?:[\\/]*)
12140   ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
12141   ;;
12142   *)
12143   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12144 for as_dir in $PATH
12145 do
12146   IFS=$as_save_IFS
12147   test -z "$as_dir" && as_dir=.
12148     for ac_exec_ext in '' $ac_executable_extensions; do
12149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12150     ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
12151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12152     break 2
12153   fi
12154 done
12155   done
12156 IFS=$as_save_IFS
12157
12158   ;;
12159 esac
12160 fi
12161 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
12162 if test -n "$ac_pt_DX_DOT"; then
12163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
12164 $as_echo "$ac_pt_DX_DOT" >&6; }
12165 else
12166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12167 $as_echo "no" >&6; }
12168 fi
12169
12170   if test "x$ac_pt_DX_DOT" = x; then
12171     DX_DOT=""
12172   else
12173     case $cross_compiling:$ac_tool_warned in
12174 yes:)
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12177 ac_tool_warned=yes ;;
12178 esac
12179     DX_DOT=$ac_pt_DX_DOT
12180   fi
12181 else
12182   DX_DOT="$ac_cv_path_DX_DOT"
12183 fi
12184
12185 if test "$DX_FLAG_dot$DX_DOT" = 1; then
12186     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
12187 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
12188     DX_FLAG_dot=0
12189
12190 fi
12191
12192     :
12193 fi
12194 if test "$DX_FLAG_dot" = 1; then
12195      if :; then
12196   DX_COND_dot_TRUE=
12197   DX_COND_dot_FALSE='#'
12198 else
12199   DX_COND_dot_TRUE='#'
12200   DX_COND_dot_FALSE=
12201 fi
12202
12203     DX_ENV="$DX_ENV HAVE_DOT='YES'"
12204
12205              DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
12206
12207     :
12208 else
12209      if false; then
12210   DX_COND_dot_TRUE=
12211   DX_COND_dot_FALSE='#'
12212 else
12213   DX_COND_dot_TRUE='#'
12214   DX_COND_dot_FALSE=
12215 fi
12216
12217     DX_ENV="$DX_ENV HAVE_DOT='NO'"
12218
12219     :
12220 fi
12221
12222
12223 # Man pages generation:
12224
12225
12226
12227     # Check whether --enable-doxygen-man was given.
12228 if test "${enable_doxygen_man+set}" = set; then :
12229   enableval=$enable_doxygen_man;
12230 case "$enableval" in
12231 #(
12232 y|Y|yes|Yes|YES)
12233     DX_FLAG_man=1
12234
12235
12236 test "$DX_FLAG_doc" = "1" \
12237 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
12238
12239 ;; #(
12240 n|N|no|No|NO)
12241     DX_FLAG_man=0
12242
12243 ;; #(
12244 *)
12245     as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
12246 ;;
12247 esac
12248
12249 else
12250
12251 DX_FLAG_man=0
12252
12253
12254 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
12255
12256
12257
12258 fi
12259
12260 if test "$DX_FLAG_man" = 1; then
12261
12262     :
12263 fi
12264 if test "$DX_FLAG_man" = 1; then
12265      if :; then
12266   DX_COND_man_TRUE=
12267   DX_COND_man_FALSE='#'
12268 else
12269   DX_COND_man_TRUE='#'
12270   DX_COND_man_FALSE=
12271 fi
12272
12273     DX_ENV="$DX_ENV GENERATE_MAN='YES'"
12274
12275     :
12276 else
12277      if false; then
12278   DX_COND_man_TRUE=
12279   DX_COND_man_FALSE='#'
12280 else
12281   DX_COND_man_TRUE='#'
12282   DX_COND_man_FALSE=
12283 fi
12284
12285     DX_ENV="$DX_ENV GENERATE_MAN='NO'"
12286
12287     :
12288 fi
12289
12290
12291 # RTF file generation:
12292
12293
12294
12295     # Check whether --enable-doxygen-rtf was given.
12296 if test "${enable_doxygen_rtf+set}" = set; then :
12297   enableval=$enable_doxygen_rtf;
12298 case "$enableval" in
12299 #(
12300 y|Y|yes|Yes|YES)
12301     DX_FLAG_rtf=1
12302
12303
12304 test "$DX_FLAG_doc" = "1" \
12305 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
12306
12307 ;; #(
12308 n|N|no|No|NO)
12309     DX_FLAG_rtf=0
12310
12311 ;; #(
12312 *)
12313     as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
12314 ;;
12315 esac
12316
12317 else
12318
12319 DX_FLAG_rtf=0
12320
12321
12322 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
12323
12324
12325
12326 fi
12327
12328 if test "$DX_FLAG_rtf" = 1; then
12329
12330     :
12331 fi
12332 if test "$DX_FLAG_rtf" = 1; then
12333      if :; then
12334   DX_COND_rtf_TRUE=
12335   DX_COND_rtf_FALSE='#'
12336 else
12337   DX_COND_rtf_TRUE='#'
12338   DX_COND_rtf_FALSE=
12339 fi
12340
12341     DX_ENV="$DX_ENV GENERATE_RTF='YES'"
12342
12343     :
12344 else
12345      if false; then
12346   DX_COND_rtf_TRUE=
12347   DX_COND_rtf_FALSE='#'
12348 else
12349   DX_COND_rtf_TRUE='#'
12350   DX_COND_rtf_FALSE=
12351 fi
12352
12353     DX_ENV="$DX_ENV GENERATE_RTF='NO'"
12354
12355     :
12356 fi
12357
12358
12359 # XML file generation:
12360
12361
12362
12363     # Check whether --enable-doxygen-xml was given.
12364 if test "${enable_doxygen_xml+set}" = set; then :
12365   enableval=$enable_doxygen_xml;
12366 case "$enableval" in
12367 #(
12368 y|Y|yes|Yes|YES)
12369     DX_FLAG_xml=1
12370
12371
12372 test "$DX_FLAG_doc" = "1" \
12373 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
12374
12375 ;; #(
12376 n|N|no|No|NO)
12377     DX_FLAG_xml=0
12378
12379 ;; #(
12380 *)
12381     as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
12382 ;;
12383 esac
12384
12385 else
12386
12387 DX_FLAG_xml=0
12388
12389
12390 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
12391
12392
12393
12394 fi
12395
12396 if test "$DX_FLAG_xml" = 1; then
12397
12398     :
12399 fi
12400 if test "$DX_FLAG_xml" = 1; then
12401      if :; then
12402   DX_COND_xml_TRUE=
12403   DX_COND_xml_FALSE='#'
12404 else
12405   DX_COND_xml_TRUE='#'
12406   DX_COND_xml_FALSE=
12407 fi
12408
12409     DX_ENV="$DX_ENV GENERATE_XML='YES'"
12410
12411     :
12412 else
12413      if false; then
12414   DX_COND_xml_TRUE=
12415   DX_COND_xml_FALSE='#'
12416 else
12417   DX_COND_xml_TRUE='#'
12418   DX_COND_xml_FALSE=
12419 fi
12420
12421     DX_ENV="$DX_ENV GENERATE_XML='NO'"
12422
12423     :
12424 fi
12425
12426
12427 # (Compressed) HTML help generation:
12428
12429
12430
12431     # Check whether --enable-doxygen-chm was given.
12432 if test "${enable_doxygen_chm+set}" = set; then :
12433   enableval=$enable_doxygen_chm;
12434 case "$enableval" in
12435 #(
12436 y|Y|yes|Yes|YES)
12437     DX_FLAG_chm=1
12438
12439
12440 test "$DX_FLAG_doc" = "1" \
12441 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
12442
12443 ;; #(
12444 n|N|no|No|NO)
12445     DX_FLAG_chm=0
12446
12447 ;; #(
12448 *)
12449     as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
12450 ;;
12451 esac
12452
12453 else
12454
12455 DX_FLAG_chm=0
12456
12457
12458 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
12459
12460
12461
12462 fi
12463
12464 if test "$DX_FLAG_chm" = 1; then
12465
12466 if test -n "$ac_tool_prefix"; then
12467   # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
12468 set dummy ${ac_tool_prefix}hhc; ac_word=$2
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12470 $as_echo_n "checking for $ac_word... " >&6; }
12471 if test "${ac_cv_path_DX_HHC+set}" = set; then :
12472   $as_echo_n "(cached) " >&6
12473 else
12474   case $DX_HHC in
12475   [\\/]* | ?:[\\/]*)
12476   ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
12477   ;;
12478   *)
12479   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12480 for as_dir in $PATH
12481 do
12482   IFS=$as_save_IFS
12483   test -z "$as_dir" && as_dir=.
12484     for ac_exec_ext in '' $ac_executable_extensions; do
12485   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12486     ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12488     break 2
12489   fi
12490 done
12491   done
12492 IFS=$as_save_IFS
12493
12494   ;;
12495 esac
12496 fi
12497 DX_HHC=$ac_cv_path_DX_HHC
12498 if test -n "$DX_HHC"; then
12499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
12500 $as_echo "$DX_HHC" >&6; }
12501 else
12502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12503 $as_echo "no" >&6; }
12504 fi
12505
12506
12507 fi
12508 if test -z "$ac_cv_path_DX_HHC"; then
12509   ac_pt_DX_HHC=$DX_HHC
12510   # Extract the first word of "hhc", so it can be a program name with args.
12511 set dummy hhc; ac_word=$2
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12513 $as_echo_n "checking for $ac_word... " >&6; }
12514 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
12515   $as_echo_n "(cached) " >&6
12516 else
12517   case $ac_pt_DX_HHC in
12518   [\\/]* | ?:[\\/]*)
12519   ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
12520   ;;
12521   *)
12522   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12523 for as_dir in $PATH
12524 do
12525   IFS=$as_save_IFS
12526   test -z "$as_dir" && as_dir=.
12527     for ac_exec_ext in '' $ac_executable_extensions; do
12528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12529     ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
12530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12531     break 2
12532   fi
12533 done
12534   done
12535 IFS=$as_save_IFS
12536
12537   ;;
12538 esac
12539 fi
12540 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
12541 if test -n "$ac_pt_DX_HHC"; then
12542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
12543 $as_echo "$ac_pt_DX_HHC" >&6; }
12544 else
12545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12546 $as_echo "no" >&6; }
12547 fi
12548
12549   if test "x$ac_pt_DX_HHC" = x; then
12550     DX_HHC=""
12551   else
12552     case $cross_compiling:$ac_tool_warned in
12553 yes:)
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12556 ac_tool_warned=yes ;;
12557 esac
12558     DX_HHC=$ac_pt_DX_HHC
12559   fi
12560 else
12561   DX_HHC="$ac_cv_path_DX_HHC"
12562 fi
12563
12564 if test "$DX_FLAG_chm$DX_HHC" = 1; then
12565     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
12566 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
12567     DX_FLAG_chm=0
12568
12569 fi
12570
12571     :
12572 fi
12573 if test "$DX_FLAG_chm" = 1; then
12574      if :; then
12575   DX_COND_chm_TRUE=
12576   DX_COND_chm_FALSE='#'
12577 else
12578   DX_COND_chm_TRUE='#'
12579   DX_COND_chm_FALSE=
12580 fi
12581
12582     DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
12583
12584              DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12585
12586              DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
12587
12588     :
12589 else
12590      if false; then
12591   DX_COND_chm_TRUE=
12592   DX_COND_chm_FALSE='#'
12593 else
12594   DX_COND_chm_TRUE='#'
12595   DX_COND_chm_FALSE=
12596 fi
12597
12598     DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
12599
12600     :
12601 fi
12602
12603
12604 # Seperate CHI file generation.
12605
12606
12607
12608     # Check whether --enable-doxygen-chi was given.
12609 if test "${enable_doxygen_chi+set}" = set; then :
12610   enableval=$enable_doxygen_chi;
12611 case "$enableval" in
12612 #(
12613 y|Y|yes|Yes|YES)
12614     DX_FLAG_chi=1
12615
12616
12617 test "$DX_FLAG_chm" = "1" \
12618 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
12619
12620 ;; #(
12621 n|N|no|No|NO)
12622     DX_FLAG_chi=0
12623
12624 ;; #(
12625 *)
12626     as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
12627 ;;
12628 esac
12629
12630 else
12631
12632 DX_FLAG_chi=0
12633
12634
12635 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
12636
12637
12638
12639 fi
12640
12641 if test "$DX_FLAG_chi" = 1; then
12642
12643     :
12644 fi
12645 if test "$DX_FLAG_chi" = 1; then
12646      if :; then
12647   DX_COND_chi_TRUE=
12648   DX_COND_chi_FALSE='#'
12649 else
12650   DX_COND_chi_TRUE='#'
12651   DX_COND_chi_FALSE=
12652 fi
12653
12654     DX_ENV="$DX_ENV GENERATE_CHI='YES'"
12655
12656     :
12657 else
12658      if false; then
12659   DX_COND_chi_TRUE=
12660   DX_COND_chi_FALSE='#'
12661 else
12662   DX_COND_chi_TRUE='#'
12663   DX_COND_chi_FALSE=
12664 fi
12665
12666     DX_ENV="$DX_ENV GENERATE_CHI='NO'"
12667
12668     :
12669 fi
12670
12671
12672 # Plain HTML pages generation:
12673
12674
12675
12676     # Check whether --enable-doxygen-html was given.
12677 if test "${enable_doxygen_html+set}" = set; then :
12678   enableval=$enable_doxygen_html;
12679 case "$enableval" in
12680 #(
12681 y|Y|yes|Yes|YES)
12682     DX_FLAG_html=1
12683
12684
12685 test "$DX_FLAG_doc" = "1" \
12686 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
12687
12688 test "$DX_FLAG_chm" = "0" \
12689 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
12690
12691 ;; #(
12692 n|N|no|No|NO)
12693     DX_FLAG_html=0
12694
12695 ;; #(
12696 *)
12697     as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
12698 ;;
12699 esac
12700
12701 else
12702
12703 DX_FLAG_html=1
12704
12705
12706 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
12707
12708
12709 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
12710
12711
12712
12713 fi
12714
12715 if test "$DX_FLAG_html" = 1; then
12716
12717     :
12718 fi
12719 if test "$DX_FLAG_html" = 1; then
12720      if :; then
12721   DX_COND_html_TRUE=
12722   DX_COND_html_FALSE='#'
12723 else
12724   DX_COND_html_TRUE='#'
12725   DX_COND_html_FALSE=
12726 fi
12727
12728     DX_ENV="$DX_ENV GENERATE_HTML='YES'"
12729
12730     :
12731 else
12732      if false; then
12733   DX_COND_html_TRUE=
12734   DX_COND_html_FALSE='#'
12735 else
12736   DX_COND_html_TRUE='#'
12737   DX_COND_html_FALSE=
12738 fi
12739
12740     test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
12741
12742     :
12743 fi
12744
12745
12746 # PostScript file generation:
12747
12748
12749
12750     # Check whether --enable-doxygen-ps was given.
12751 if test "${enable_doxygen_ps+set}" = set; then :
12752   enableval=$enable_doxygen_ps;
12753 case "$enableval" in
12754 #(
12755 y|Y|yes|Yes|YES)
12756     DX_FLAG_ps=1
12757
12758
12759 test "$DX_FLAG_doc" = "1" \
12760 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
12761
12762 ;; #(
12763 n|N|no|No|NO)
12764     DX_FLAG_ps=0
12765
12766 ;; #(
12767 *)
12768     as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
12769 ;;
12770 esac
12771
12772 else
12773
12774 DX_FLAG_ps=0
12775
12776
12777 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
12778
12779
12780
12781 fi
12782
12783 if test "$DX_FLAG_ps" = 1; then
12784
12785 if test -n "$ac_tool_prefix"; then
12786   # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
12787 set dummy ${ac_tool_prefix}latex; ac_word=$2
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12789 $as_echo_n "checking for $ac_word... " >&6; }
12790 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
12791   $as_echo_n "(cached) " >&6
12792 else
12793   case $DX_LATEX in
12794   [\\/]* | ?:[\\/]*)
12795   ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
12796   ;;
12797   *)
12798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12799 for as_dir in $PATH
12800 do
12801   IFS=$as_save_IFS
12802   test -z "$as_dir" && as_dir=.
12803     for ac_exec_ext in '' $ac_executable_extensions; do
12804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12805     ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12807     break 2
12808   fi
12809 done
12810   done
12811 IFS=$as_save_IFS
12812
12813   ;;
12814 esac
12815 fi
12816 DX_LATEX=$ac_cv_path_DX_LATEX
12817 if test -n "$DX_LATEX"; then
12818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
12819 $as_echo "$DX_LATEX" >&6; }
12820 else
12821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12822 $as_echo "no" >&6; }
12823 fi
12824
12825
12826 fi
12827 if test -z "$ac_cv_path_DX_LATEX"; then
12828   ac_pt_DX_LATEX=$DX_LATEX
12829   # Extract the first word of "latex", so it can be a program name with args.
12830 set dummy latex; ac_word=$2
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12832 $as_echo_n "checking for $ac_word... " >&6; }
12833 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
12834   $as_echo_n "(cached) " >&6
12835 else
12836   case $ac_pt_DX_LATEX in
12837   [\\/]* | ?:[\\/]*)
12838   ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
12839   ;;
12840   *)
12841   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12842 for as_dir in $PATH
12843 do
12844   IFS=$as_save_IFS
12845   test -z "$as_dir" && as_dir=.
12846     for ac_exec_ext in '' $ac_executable_extensions; do
12847   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12848     ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
12849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12850     break 2
12851   fi
12852 done
12853   done
12854 IFS=$as_save_IFS
12855
12856   ;;
12857 esac
12858 fi
12859 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
12860 if test -n "$ac_pt_DX_LATEX"; then
12861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
12862 $as_echo "$ac_pt_DX_LATEX" >&6; }
12863 else
12864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12865 $as_echo "no" >&6; }
12866 fi
12867
12868   if test "x$ac_pt_DX_LATEX" = x; then
12869     DX_LATEX=""
12870   else
12871     case $cross_compiling:$ac_tool_warned in
12872 yes:)
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12875 ac_tool_warned=yes ;;
12876 esac
12877     DX_LATEX=$ac_pt_DX_LATEX
12878   fi
12879 else
12880   DX_LATEX="$ac_cv_path_DX_LATEX"
12881 fi
12882
12883 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
12884     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
12885 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
12886     DX_FLAG_ps=0
12887
12888 fi
12889
12890
12891 if test -n "$ac_tool_prefix"; then
12892   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12893 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12895 $as_echo_n "checking for $ac_word... " >&6; }
12896 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
12897   $as_echo_n "(cached) " >&6
12898 else
12899   case $DX_MAKEINDEX in
12900   [\\/]* | ?:[\\/]*)
12901   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12902   ;;
12903   *)
12904   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12905 for as_dir in $PATH
12906 do
12907   IFS=$as_save_IFS
12908   test -z "$as_dir" && as_dir=.
12909     for ac_exec_ext in '' $ac_executable_extensions; do
12910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12911     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12913     break 2
12914   fi
12915 done
12916   done
12917 IFS=$as_save_IFS
12918
12919   ;;
12920 esac
12921 fi
12922 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12923 if test -n "$DX_MAKEINDEX"; then
12924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
12925 $as_echo "$DX_MAKEINDEX" >&6; }
12926 else
12927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12928 $as_echo "no" >&6; }
12929 fi
12930
12931
12932 fi
12933 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12934   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12935   # Extract the first word of "makeindex", so it can be a program name with args.
12936 set dummy makeindex; ac_word=$2
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12938 $as_echo_n "checking for $ac_word... " >&6; }
12939 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
12940   $as_echo_n "(cached) " >&6
12941 else
12942   case $ac_pt_DX_MAKEINDEX in
12943   [\\/]* | ?:[\\/]*)
12944   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12945   ;;
12946   *)
12947   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12948 for as_dir in $PATH
12949 do
12950   IFS=$as_save_IFS
12951   test -z "$as_dir" && as_dir=.
12952     for ac_exec_ext in '' $ac_executable_extensions; do
12953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12954     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12956     break 2
12957   fi
12958 done
12959   done
12960 IFS=$as_save_IFS
12961
12962   ;;
12963 esac
12964 fi
12965 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12966 if test -n "$ac_pt_DX_MAKEINDEX"; then
12967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
12968 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
12969 else
12970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12971 $as_echo "no" >&6; }
12972 fi
12973
12974   if test "x$ac_pt_DX_MAKEINDEX" = x; then
12975     DX_MAKEINDEX=""
12976   else
12977     case $cross_compiling:$ac_tool_warned in
12978 yes:)
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12981 ac_tool_warned=yes ;;
12982 esac
12983     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12984   fi
12985 else
12986   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12987 fi
12988
12989 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
12990     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
12991 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
12992     DX_FLAG_ps=0
12993
12994 fi
12995
12996
12997 if test -n "$ac_tool_prefix"; then
12998   # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
12999 set dummy ${ac_tool_prefix}dvips; ac_word=$2
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13001 $as_echo_n "checking for $ac_word... " >&6; }
13002 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
13003   $as_echo_n "(cached) " >&6
13004 else
13005   case $DX_DVIPS in
13006   [\\/]* | ?:[\\/]*)
13007   ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
13008   ;;
13009   *)
13010   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13011 for as_dir in $PATH
13012 do
13013   IFS=$as_save_IFS
13014   test -z "$as_dir" && as_dir=.
13015     for ac_exec_ext in '' $ac_executable_extensions; do
13016   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13017     ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13019     break 2
13020   fi
13021 done
13022   done
13023 IFS=$as_save_IFS
13024
13025   ;;
13026 esac
13027 fi
13028 DX_DVIPS=$ac_cv_path_DX_DVIPS
13029 if test -n "$DX_DVIPS"; then
13030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
13031 $as_echo "$DX_DVIPS" >&6; }
13032 else
13033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13034 $as_echo "no" >&6; }
13035 fi
13036
13037
13038 fi
13039 if test -z "$ac_cv_path_DX_DVIPS"; then
13040   ac_pt_DX_DVIPS=$DX_DVIPS
13041   # Extract the first word of "dvips", so it can be a program name with args.
13042 set dummy dvips; ac_word=$2
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13044 $as_echo_n "checking for $ac_word... " >&6; }
13045 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
13046   $as_echo_n "(cached) " >&6
13047 else
13048   case $ac_pt_DX_DVIPS in
13049   [\\/]* | ?:[\\/]*)
13050   ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
13051   ;;
13052   *)
13053   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13054 for as_dir in $PATH
13055 do
13056   IFS=$as_save_IFS
13057   test -z "$as_dir" && as_dir=.
13058     for ac_exec_ext in '' $ac_executable_extensions; do
13059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13060     ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13062     break 2
13063   fi
13064 done
13065   done
13066 IFS=$as_save_IFS
13067
13068   ;;
13069 esac
13070 fi
13071 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
13072 if test -n "$ac_pt_DX_DVIPS"; then
13073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
13074 $as_echo "$ac_pt_DX_DVIPS" >&6; }
13075 else
13076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13077 $as_echo "no" >&6; }
13078 fi
13079
13080   if test "x$ac_pt_DX_DVIPS" = x; then
13081     DX_DVIPS=""
13082   else
13083     case $cross_compiling:$ac_tool_warned in
13084 yes:)
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13087 ac_tool_warned=yes ;;
13088 esac
13089     DX_DVIPS=$ac_pt_DX_DVIPS
13090   fi
13091 else
13092   DX_DVIPS="$ac_cv_path_DX_DVIPS"
13093 fi
13094
13095 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
13096     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
13097 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
13098     DX_FLAG_ps=0
13099
13100 fi
13101
13102
13103 if test -n "$ac_tool_prefix"; then
13104   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13105 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13107 $as_echo_n "checking for $ac_word... " >&6; }
13108 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
13109   $as_echo_n "(cached) " >&6
13110 else
13111   case $DX_EGREP in
13112   [\\/]* | ?:[\\/]*)
13113   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13114   ;;
13115   *)
13116   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13117 for as_dir in $PATH
13118 do
13119   IFS=$as_save_IFS
13120   test -z "$as_dir" && as_dir=.
13121     for ac_exec_ext in '' $ac_executable_extensions; do
13122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13123     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13125     break 2
13126   fi
13127 done
13128   done
13129 IFS=$as_save_IFS
13130
13131   ;;
13132 esac
13133 fi
13134 DX_EGREP=$ac_cv_path_DX_EGREP
13135 if test -n "$DX_EGREP"; then
13136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13137 $as_echo "$DX_EGREP" >&6; }
13138 else
13139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13140 $as_echo "no" >&6; }
13141 fi
13142
13143
13144 fi
13145 if test -z "$ac_cv_path_DX_EGREP"; then
13146   ac_pt_DX_EGREP=$DX_EGREP
13147   # Extract the first word of "egrep", so it can be a program name with args.
13148 set dummy egrep; ac_word=$2
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13150 $as_echo_n "checking for $ac_word... " >&6; }
13151 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
13152   $as_echo_n "(cached) " >&6
13153 else
13154   case $ac_pt_DX_EGREP in
13155   [\\/]* | ?:[\\/]*)
13156   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13157   ;;
13158   *)
13159   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13160 for as_dir in $PATH
13161 do
13162   IFS=$as_save_IFS
13163   test -z "$as_dir" && as_dir=.
13164     for ac_exec_ext in '' $ac_executable_extensions; do
13165   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13166     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13168     break 2
13169   fi
13170 done
13171   done
13172 IFS=$as_save_IFS
13173
13174   ;;
13175 esac
13176 fi
13177 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13178 if test -n "$ac_pt_DX_EGREP"; then
13179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13180 $as_echo "$ac_pt_DX_EGREP" >&6; }
13181 else
13182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13183 $as_echo "no" >&6; }
13184 fi
13185
13186   if test "x$ac_pt_DX_EGREP" = x; then
13187     DX_EGREP=""
13188   else
13189     case $cross_compiling:$ac_tool_warned in
13190 yes:)
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13193 ac_tool_warned=yes ;;
13194 esac
13195     DX_EGREP=$ac_pt_DX_EGREP
13196   fi
13197 else
13198   DX_EGREP="$ac_cv_path_DX_EGREP"
13199 fi
13200
13201 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
13202     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
13203 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
13204     DX_FLAG_ps=0
13205
13206 fi
13207
13208     :
13209 fi
13210 if test "$DX_FLAG_ps" = 1; then
13211      if :; then
13212   DX_COND_ps_TRUE=
13213   DX_COND_ps_FALSE='#'
13214 else
13215   DX_COND_ps_TRUE='#'
13216   DX_COND_ps_FALSE=
13217 fi
13218
13219
13220     :
13221 else
13222      if false; then
13223   DX_COND_ps_TRUE=
13224   DX_COND_ps_FALSE='#'
13225 else
13226   DX_COND_ps_TRUE='#'
13227   DX_COND_ps_FALSE=
13228 fi
13229
13230
13231     :
13232 fi
13233
13234
13235 # PDF file generation:
13236
13237
13238
13239     # Check whether --enable-doxygen-pdf was given.
13240 if test "${enable_doxygen_pdf+set}" = set; then :
13241   enableval=$enable_doxygen_pdf;
13242 case "$enableval" in
13243 #(
13244 y|Y|yes|Yes|YES)
13245     DX_FLAG_pdf=1
13246
13247
13248 test "$DX_FLAG_doc" = "1" \
13249 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
13250
13251 ;; #(
13252 n|N|no|No|NO)
13253     DX_FLAG_pdf=0
13254
13255 ;; #(
13256 *)
13257     as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
13258 ;;
13259 esac
13260
13261 else
13262
13263 DX_FLAG_pdf=0
13264
13265
13266 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
13267
13268
13269
13270 fi
13271
13272 if test "$DX_FLAG_pdf" = 1; then
13273
13274 if test -n "$ac_tool_prefix"; then
13275   # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
13276 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13278 $as_echo_n "checking for $ac_word... " >&6; }
13279 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
13280   $as_echo_n "(cached) " >&6
13281 else
13282   case $DX_PDFLATEX in
13283   [\\/]* | ?:[\\/]*)
13284   ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
13285   ;;
13286   *)
13287   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13288 for as_dir in $PATH
13289 do
13290   IFS=$as_save_IFS
13291   test -z "$as_dir" && as_dir=.
13292     for ac_exec_ext in '' $ac_executable_extensions; do
13293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13294     ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13296     break 2
13297   fi
13298 done
13299   done
13300 IFS=$as_save_IFS
13301
13302   ;;
13303 esac
13304 fi
13305 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
13306 if test -n "$DX_PDFLATEX"; then
13307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
13308 $as_echo "$DX_PDFLATEX" >&6; }
13309 else
13310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13311 $as_echo "no" >&6; }
13312 fi
13313
13314
13315 fi
13316 if test -z "$ac_cv_path_DX_PDFLATEX"; then
13317   ac_pt_DX_PDFLATEX=$DX_PDFLATEX
13318   # Extract the first word of "pdflatex", so it can be a program name with args.
13319 set dummy pdflatex; ac_word=$2
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13321 $as_echo_n "checking for $ac_word... " >&6; }
13322 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
13323   $as_echo_n "(cached) " >&6
13324 else
13325   case $ac_pt_DX_PDFLATEX in
13326   [\\/]* | ?:[\\/]*)
13327   ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
13328   ;;
13329   *)
13330   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13331 for as_dir in $PATH
13332 do
13333   IFS=$as_save_IFS
13334   test -z "$as_dir" && as_dir=.
13335     for ac_exec_ext in '' $ac_executable_extensions; do
13336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13337     ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
13338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13339     break 2
13340   fi
13341 done
13342   done
13343 IFS=$as_save_IFS
13344
13345   ;;
13346 esac
13347 fi
13348 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
13349 if test -n "$ac_pt_DX_PDFLATEX"; then
13350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
13351 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
13352 else
13353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13354 $as_echo "no" >&6; }
13355 fi
13356
13357   if test "x$ac_pt_DX_PDFLATEX" = x; then
13358     DX_PDFLATEX=""
13359   else
13360     case $cross_compiling:$ac_tool_warned in
13361 yes:)
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13364 ac_tool_warned=yes ;;
13365 esac
13366     DX_PDFLATEX=$ac_pt_DX_PDFLATEX
13367   fi
13368 else
13369   DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
13370 fi
13371
13372 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
13373     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
13374 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
13375     DX_FLAG_pdf=0
13376
13377 fi
13378
13379
13380 if test -n "$ac_tool_prefix"; then
13381   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13382 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13384 $as_echo_n "checking for $ac_word... " >&6; }
13385 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
13386   $as_echo_n "(cached) " >&6
13387 else
13388   case $DX_MAKEINDEX in
13389   [\\/]* | ?:[\\/]*)
13390   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13391   ;;
13392   *)
13393   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13394 for as_dir in $PATH
13395 do
13396   IFS=$as_save_IFS
13397   test -z "$as_dir" && as_dir=.
13398     for ac_exec_ext in '' $ac_executable_extensions; do
13399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13400     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13402     break 2
13403   fi
13404 done
13405   done
13406 IFS=$as_save_IFS
13407
13408   ;;
13409 esac
13410 fi
13411 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13412 if test -n "$DX_MAKEINDEX"; then
13413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13414 $as_echo "$DX_MAKEINDEX" >&6; }
13415 else
13416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13417 $as_echo "no" >&6; }
13418 fi
13419
13420
13421 fi
13422 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13423   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13424   # Extract the first word of "makeindex", so it can be a program name with args.
13425 set dummy makeindex; ac_word=$2
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13427 $as_echo_n "checking for $ac_word... " >&6; }
13428 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
13429   $as_echo_n "(cached) " >&6
13430 else
13431   case $ac_pt_DX_MAKEINDEX in
13432   [\\/]* | ?:[\\/]*)
13433   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13434   ;;
13435   *)
13436   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13437 for as_dir in $PATH
13438 do
13439   IFS=$as_save_IFS
13440   test -z "$as_dir" && as_dir=.
13441     for ac_exec_ext in '' $ac_executable_extensions; do
13442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13443     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13445     break 2
13446   fi
13447 done
13448   done
13449 IFS=$as_save_IFS
13450
13451   ;;
13452 esac
13453 fi
13454 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13455 if test -n "$ac_pt_DX_MAKEINDEX"; then
13456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13457 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13458 else
13459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13460 $as_echo "no" >&6; }
13461 fi
13462
13463   if test "x$ac_pt_DX_MAKEINDEX" = x; then
13464     DX_MAKEINDEX=""
13465   else
13466     case $cross_compiling:$ac_tool_warned in
13467 yes:)
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13470 ac_tool_warned=yes ;;
13471 esac
13472     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13473   fi
13474 else
13475   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13476 fi
13477
13478 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
13479     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
13480 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
13481     DX_FLAG_pdf=0
13482
13483 fi
13484
13485
13486 if test -n "$ac_tool_prefix"; then
13487   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
13488 set dummy ${ac_tool_prefix}egrep; ac_word=$2
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13490 $as_echo_n "checking for $ac_word... " >&6; }
13491 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
13492   $as_echo_n "(cached) " >&6
13493 else
13494   case $DX_EGREP in
13495   [\\/]* | ?:[\\/]*)
13496   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
13497   ;;
13498   *)
13499   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13500 for as_dir in $PATH
13501 do
13502   IFS=$as_save_IFS
13503   test -z "$as_dir" && as_dir=.
13504     for ac_exec_ext in '' $ac_executable_extensions; do
13505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13506     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13508     break 2
13509   fi
13510 done
13511   done
13512 IFS=$as_save_IFS
13513
13514   ;;
13515 esac
13516 fi
13517 DX_EGREP=$ac_cv_path_DX_EGREP
13518 if test -n "$DX_EGREP"; then
13519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
13520 $as_echo "$DX_EGREP" >&6; }
13521 else
13522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13523 $as_echo "no" >&6; }
13524 fi
13525
13526
13527 fi
13528 if test -z "$ac_cv_path_DX_EGREP"; then
13529   ac_pt_DX_EGREP=$DX_EGREP
13530   # Extract the first word of "egrep", so it can be a program name with args.
13531 set dummy egrep; ac_word=$2
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13533 $as_echo_n "checking for $ac_word... " >&6; }
13534 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
13535   $as_echo_n "(cached) " >&6
13536 else
13537   case $ac_pt_DX_EGREP in
13538   [\\/]* | ?:[\\/]*)
13539   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
13540   ;;
13541   *)
13542   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13543 for as_dir in $PATH
13544 do
13545   IFS=$as_save_IFS
13546   test -z "$as_dir" && as_dir=.
13547     for ac_exec_ext in '' $ac_executable_extensions; do
13548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13549     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
13550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13551     break 2
13552   fi
13553 done
13554   done
13555 IFS=$as_save_IFS
13556
13557   ;;
13558 esac
13559 fi
13560 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
13561 if test -n "$ac_pt_DX_EGREP"; then
13562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
13563 $as_echo "$ac_pt_DX_EGREP" >&6; }
13564 else
13565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13566 $as_echo "no" >&6; }
13567 fi
13568
13569   if test "x$ac_pt_DX_EGREP" = x; then
13570     DX_EGREP=""
13571   else
13572     case $cross_compiling:$ac_tool_warned in
13573 yes:)
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13576 ac_tool_warned=yes ;;
13577 esac
13578     DX_EGREP=$ac_pt_DX_EGREP
13579   fi
13580 else
13581   DX_EGREP="$ac_cv_path_DX_EGREP"
13582 fi
13583
13584 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
13585     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
13586 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
13587     DX_FLAG_pdf=0
13588
13589 fi
13590
13591     :
13592 fi
13593 if test "$DX_FLAG_pdf" = 1; then
13594      if :; then
13595   DX_COND_pdf_TRUE=
13596   DX_COND_pdf_FALSE='#'
13597 else
13598   DX_COND_pdf_TRUE='#'
13599   DX_COND_pdf_FALSE=
13600 fi
13601
13602
13603     :
13604 else
13605      if false; then
13606   DX_COND_pdf_TRUE=
13607   DX_COND_pdf_FALSE='#'
13608 else
13609   DX_COND_pdf_TRUE='#'
13610   DX_COND_pdf_FALSE=
13611 fi
13612
13613
13614     :
13615 fi
13616
13617
13618 # LaTeX generation for PS and/or PDF:
13619 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
13620      if :; then
13621   DX_COND_latex_TRUE=
13622   DX_COND_latex_FALSE='#'
13623 else
13624   DX_COND_latex_TRUE='#'
13625   DX_COND_latex_FALSE=
13626 fi
13627
13628     DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
13629
13630 else
13631      if false; then
13632   DX_COND_latex_TRUE=
13633   DX_COND_latex_FALSE='#'
13634 else
13635   DX_COND_latex_TRUE='#'
13636   DX_COND_latex_FALSE=
13637 fi
13638
13639     DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
13640
13641 fi
13642
13643 # Paper size for PS and/or PDF:
13644
13645 case "$DOXYGEN_PAPER_SIZE" in
13646 #(
13647 "")
13648     DOXYGEN_PAPER_SIZE=""
13649
13650 ;; #(
13651 a4wide|a4|letter|legal|executive)
13652     DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
13653
13654 ;; #(
13655 *)
13656     as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
13657 ;;
13658 esac
13659
13660 #For debugging:
13661 #echo DX_FLAG_doc=$DX_FLAG_doc
13662 #echo DX_FLAG_dot=$DX_FLAG_dot
13663 #echo DX_FLAG_man=$DX_FLAG_man
13664 #echo DX_FLAG_html=$DX_FLAG_html
13665 #echo DX_FLAG_chm=$DX_FLAG_chm
13666 #echo DX_FLAG_chi=$DX_FLAG_chi
13667 #echo DX_FLAG_rtf=$DX_FLAG_rtf
13668 #echo DX_FLAG_xml=$DX_FLAG_xml
13669 #echo DX_FLAG_pdf=$DX_FLAG_pdf
13670 #echo DX_FLAG_ps=$DX_FLAG_ps
13671 #echo DX_ENV=$DX_ENV
13672
13673 DX_INCLUDE=
13674
13675 # Check whether --enable-debug was given.
13676 if test "${enable_debug+set}" = set; then :
13677   enableval=$enable_debug; enable_debug=$enableval
13678 else
13679   enable_debug=no
13680 fi
13681
13682
13683 if test "$enable_debug" = "yes" ; then
13684     GCC_CFLAGS="$CFLAGS -Wall -g -D_DEBUG"
13685     GCC_CXXFLAGS="$CXXFLAGS -Wall -g -D_DEBUG"
13686 else
13687     GCC_CFLAGS="$CFLAGS -Wall -O2 -DNDEBUG"
13688     GCC_CXXFLAGS="$CXXFLAGS -Wall -O2 -DNDEBUG"
13689 fi
13690
13691 ac_config_headers="$ac_config_headers config.h"
13692
13693 ac_config_files="$ac_config_files opensaml.spec pkginfo Portfile"
13694
13695 ac_config_files="$ac_config_files Makefile saml/Makefile samltest/Makefile samlsign/Makefile schemas/Makefile doc/Makefile"
13696
13697
13698 ac_ext=c
13699 ac_cpp='$CPP $CPPFLAGS'
13700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13703 if test -n "$ac_tool_prefix"; then
13704   for ac_prog in gcc gcc3 cc
13705   do
13706     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13709 $as_echo_n "checking for $ac_word... " >&6; }
13710 if test "${ac_cv_prog_CC+set}" = set; then :
13711   $as_echo_n "(cached) " >&6
13712 else
13713   if test -n "$CC"; then
13714   ac_cv_prog_CC="$CC" # Let the user override the test.
13715 else
13716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13717 for as_dir in $PATH
13718 do
13719   IFS=$as_save_IFS
13720   test -z "$as_dir" && as_dir=.
13721     for ac_exec_ext in '' $ac_executable_extensions; do
13722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13723     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13725     break 2
13726   fi
13727 done
13728   done
13729 IFS=$as_save_IFS
13730
13731 fi
13732 fi
13733 CC=$ac_cv_prog_CC
13734 if test -n "$CC"; then
13735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13736 $as_echo "$CC" >&6; }
13737 else
13738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13739 $as_echo "no" >&6; }
13740 fi
13741
13742
13743     test -n "$CC" && break
13744   done
13745 fi
13746 if test -z "$CC"; then
13747   ac_ct_CC=$CC
13748   for ac_prog in gcc gcc3 cc
13749 do
13750   # Extract the first word of "$ac_prog", so it can be a program name with args.
13751 set dummy $ac_prog; ac_word=$2
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13753 $as_echo_n "checking for $ac_word... " >&6; }
13754 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
13755   $as_echo_n "(cached) " >&6
13756 else
13757   if test -n "$ac_ct_CC"; then
13758   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13759 else
13760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13761 for as_dir in $PATH
13762 do
13763   IFS=$as_save_IFS
13764   test -z "$as_dir" && as_dir=.
13765     for ac_exec_ext in '' $ac_executable_extensions; do
13766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13767     ac_cv_prog_ac_ct_CC="$ac_prog"
13768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13769     break 2
13770   fi
13771 done
13772   done
13773 IFS=$as_save_IFS
13774
13775 fi
13776 fi
13777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13778 if test -n "$ac_ct_CC"; then
13779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13780 $as_echo "$ac_ct_CC" >&6; }
13781 else
13782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13783 $as_echo "no" >&6; }
13784 fi
13785
13786
13787   test -n "$ac_ct_CC" && break
13788 done
13789
13790   if test "x$ac_ct_CC" = x; then
13791     CC=""
13792   else
13793     case $cross_compiling:$ac_tool_warned in
13794 yes:)
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13797 ac_tool_warned=yes ;;
13798 esac
13799     CC=$ac_ct_CC
13800   fi
13801 fi
13802
13803
13804 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13806 as_fn_error $? "no acceptable C compiler found in \$PATH
13807 See \`config.log' for more details" "$LINENO" 5 ; }
13808
13809 # Provide some information about the compiler.
13810 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13811 set X $ac_compile
13812 ac_compiler=$2
13813 for ac_option in --version -v -V -qversion; do
13814   { { ac_try="$ac_compiler $ac_option >&5"
13815 case "(($ac_try" in
13816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13817   *) ac_try_echo=$ac_try;;
13818 esac
13819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13820 $as_echo "$ac_try_echo"; } >&5
13821   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13822   ac_status=$?
13823   if test -s conftest.err; then
13824     sed '10a\
13825 ... rest of stderr output deleted ...
13826          10q' conftest.err >conftest.er1
13827     cat conftest.er1 >&5
13828   fi
13829   rm -f conftest.er1 conftest.err
13830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13831   test $ac_status = 0; }
13832 done
13833
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13835 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13836 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
13837   $as_echo_n "(cached) " >&6
13838 else
13839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h.  */
13841
13842 int
13843 main ()
13844 {
13845 #ifndef __GNUC__
13846        choke me
13847 #endif
13848
13849   ;
13850   return 0;
13851 }
13852 _ACEOF
13853 if ac_fn_c_try_compile "$LINENO"; then :
13854   ac_compiler_gnu=yes
13855 else
13856   ac_compiler_gnu=no
13857 fi
13858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13859 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13860
13861 fi
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13863 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13864 if test $ac_compiler_gnu = yes; then
13865   GCC=yes
13866 else
13867   GCC=
13868 fi
13869 ac_test_CFLAGS=${CFLAGS+set}
13870 ac_save_CFLAGS=$CFLAGS
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13872 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13873 if test "${ac_cv_prog_cc_g+set}" = set; then :
13874   $as_echo_n "(cached) " >&6
13875 else
13876   ac_save_c_werror_flag=$ac_c_werror_flag
13877    ac_c_werror_flag=yes
13878    ac_cv_prog_cc_g=no
13879    CFLAGS="-g"
13880    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h.  */
13882
13883 int
13884 main ()
13885 {
13886
13887   ;
13888   return 0;
13889 }
13890 _ACEOF
13891 if ac_fn_c_try_compile "$LINENO"; then :
13892   ac_cv_prog_cc_g=yes
13893 else
13894   CFLAGS=""
13895       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h.  */
13897
13898 int
13899 main ()
13900 {
13901
13902   ;
13903   return 0;
13904 }
13905 _ACEOF
13906 if ac_fn_c_try_compile "$LINENO"; then :
13907
13908 else
13909   ac_c_werror_flag=$ac_save_c_werror_flag
13910          CFLAGS="-g"
13911          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h.  */
13913
13914 int
13915 main ()
13916 {
13917
13918   ;
13919   return 0;
13920 }
13921 _ACEOF
13922 if ac_fn_c_try_compile "$LINENO"; then :
13923   ac_cv_prog_cc_g=yes
13924 fi
13925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13926 fi
13927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13928 fi
13929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13930    ac_c_werror_flag=$ac_save_c_werror_flag
13931 fi
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13933 $as_echo "$ac_cv_prog_cc_g" >&6; }
13934 if test "$ac_test_CFLAGS" = set; then
13935   CFLAGS=$ac_save_CFLAGS
13936 elif test $ac_cv_prog_cc_g = yes; then
13937   if test "$GCC" = yes; then
13938     CFLAGS="-g -O2"
13939   else
13940     CFLAGS="-g"
13941   fi
13942 else
13943   if test "$GCC" = yes; then
13944     CFLAGS="-O2"
13945   else
13946     CFLAGS=
13947   fi
13948 fi
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13950 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13951 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13952   $as_echo_n "(cached) " >&6
13953 else
13954   ac_cv_prog_cc_c89=no
13955 ac_save_CC=$CC
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h.  */
13958 #include <stdarg.h>
13959 #include <stdio.h>
13960 #include <sys/types.h>
13961 #include <sys/stat.h>
13962 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13963 struct buf { int x; };
13964 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13965 static char *e (p, i)
13966      char **p;
13967      int i;
13968 {
13969   return p[i];
13970 }
13971 static char *f (char * (*g) (char **, int), char **p, ...)
13972 {
13973   char *s;
13974   va_list v;
13975   va_start (v,p);
13976   s = g (p, va_arg (v,int));
13977   va_end (v);
13978   return s;
13979 }
13980
13981 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13982    function prototypes and stuff, but not '\xHH' hex character constants.
13983    These don't provoke an error unfortunately, instead are silently treated
13984    as 'x'.  The following induces an error, until -std is added to get
13985    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13986    array size at least.  It's necessary to write '\x00'==0 to get something
13987    that's true only with -std.  */
13988 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13989
13990 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13991    inside strings and character constants.  */
13992 #define FOO(x) 'x'
13993 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13994
13995 int test (int i, double x);
13996 struct s1 {int (*f) (int a);};
13997 struct s2 {int (*f) (double a);};
13998 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13999 int argc;
14000 char **argv;
14001 int
14002 main ()
14003 {
14004 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
14005   ;
14006   return 0;
14007 }
14008 _ACEOF
14009 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14010         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14011 do
14012   CC="$ac_save_CC $ac_arg"
14013   if ac_fn_c_try_compile "$LINENO"; then :
14014   ac_cv_prog_cc_c89=$ac_arg
14015 fi
14016 rm -f core conftest.err conftest.$ac_objext
14017   test "x$ac_cv_prog_cc_c89" != "xno" && break
14018 done
14019 rm -f conftest.$ac_ext
14020 CC=$ac_save_CC
14021
14022 fi
14023 # AC_CACHE_VAL
14024 case "x$ac_cv_prog_cc_c89" in
14025   x)
14026     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14027 $as_echo "none needed" >&6; } ;;
14028   xno)
14029     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14030 $as_echo "unsupported" >&6; } ;;
14031   *)
14032     CC="$CC $ac_cv_prog_cc_c89"
14033     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14034 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14035 esac
14036 if test "x$ac_cv_prog_cc_c89" != xno; then :
14037
14038 fi
14039
14040 ac_ext=c
14041 ac_cpp='$CPP $CPPFLAGS'
14042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14045
14046 depcc="$CC"   am_compiler_list=
14047
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14049 $as_echo_n "checking dependency style of $depcc... " >&6; }
14050 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
14051   $as_echo_n "(cached) " >&6
14052 else
14053   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14054   # We make a subdir and do the tests there.  Otherwise we can end up
14055   # making bogus files that we don't know about and never remove.  For
14056   # instance it was reported that on HP-UX the gcc test will end up
14057   # making a dummy file named `D' -- because `-MD' means `put the output
14058   # in D'.
14059   mkdir conftest.dir
14060   # Copy depcomp to subdir because otherwise we won't find it if we're
14061   # using a relative directory.
14062   cp "$am_depcomp" conftest.dir
14063   cd conftest.dir
14064   # We will build objects and dependencies in a subdirectory because
14065   # it helps to detect inapplicable dependency modes.  For instance
14066   # both Tru64's cc and ICC support -MD to output dependencies as a
14067   # side effect of compilation, but ICC will put the dependencies in
14068   # the current directory while Tru64 will put them in the object
14069   # directory.
14070   mkdir sub
14071
14072   am_cv_CC_dependencies_compiler_type=none
14073   if test "$am_compiler_list" = ""; then
14074      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14075   fi
14076   am__universal=false
14077   case " $depcc " in #(
14078      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14079      esac
14080
14081   for depmode in $am_compiler_list; do
14082     # Setup a source with many dependencies, because some compilers
14083     # like to wrap large dependency lists on column 80 (with \), and
14084     # we should not choose a depcomp mode which is confused by this.
14085     #
14086     # We need to recreate these files for each test, as the compiler may
14087     # overwrite some of them when testing with obscure command lines.
14088     # This happens at least with the AIX C compiler.
14089     : > sub/conftest.c
14090     for i in 1 2 3 4 5 6; do
14091       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14092       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14093       # Solaris 8's {/usr,}/bin/sh.
14094       touch sub/conftst$i.h
14095     done
14096     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14097
14098     # We check with `-c' and `-o' for the sake of the "dashmstdout"
14099     # mode.  It turns out that the SunPro C++ compiler does not properly
14100     # handle `-M -o', and we need to detect this.  Also, some Intel
14101     # versions had trouble with output in subdirs
14102     am__obj=sub/conftest.${OBJEXT-o}
14103     am__minus_obj="-o $am__obj"
14104     case $depmode in
14105     gcc)
14106       # This depmode causes a compiler race in universal mode.
14107       test "$am__universal" = false || continue
14108       ;;
14109     nosideeffect)
14110       # after this tag, mechanisms are not by side-effect, so they'll
14111       # only be used when explicitly requested
14112       if test "x$enable_dependency_tracking" = xyes; then
14113         continue
14114       else
14115         break
14116       fi
14117       ;;
14118     msvisualcpp | msvcmsys)
14119       # This compiler won't grok `-c -o', but also, the minuso test has
14120       # not run yet.  These depmodes are late enough in the game, and
14121       # so weak that their functioning should not be impacted.
14122       am__obj=conftest.${OBJEXT-o}
14123       am__minus_obj=
14124       ;;
14125     none) break ;;
14126     esac
14127     if depmode=$depmode \
14128        source=sub/conftest.c object=$am__obj \
14129        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14130        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14131          >/dev/null 2>conftest.err &&
14132        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14133        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14134        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14135        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14136       # icc doesn't choke on unknown options, it will just issue warnings
14137       # or remarks (even with -Werror).  So we grep stderr for any message
14138       # that says an option was ignored or not supported.
14139       # When given -MP, icc 7.0 and 7.1 complain thusly:
14140       #   icc: Command line warning: ignoring option '-M'; no argument required
14141       # The diagnosis changed in icc 8.0:
14142       #   icc: Command line remark: option '-MP' not supported
14143       if (grep 'ignoring option' conftest.err ||
14144           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14145         am_cv_CC_dependencies_compiler_type=$depmode
14146         break
14147       fi
14148     fi
14149   done
14150
14151   cd ..
14152   rm -rf conftest.dir
14153 else
14154   am_cv_CC_dependencies_compiler_type=none
14155 fi
14156
14157 fi
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14159 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14160 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14161
14162  if
14163   test "x$enable_dependency_tracking" != xno \
14164   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14165   am__fastdepCC_TRUE=
14166   am__fastdepCC_FALSE='#'
14167 else
14168   am__fastdepCC_TRUE='#'
14169   am__fastdepCC_FALSE=
14170 fi
14171
14172
14173 ac_ext=cpp
14174 ac_cpp='$CXXCPP $CPPFLAGS'
14175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14178 if test -z "$CXX"; then
14179   if test -n "$CCC"; then
14180     CXX=$CCC
14181   else
14182     if test -n "$ac_tool_prefix"; then
14183   for ac_prog in g++ g++3 c++ CC
14184   do
14185     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14186 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14188 $as_echo_n "checking for $ac_word... " >&6; }
14189 if test "${ac_cv_prog_CXX+set}" = set; then :
14190   $as_echo_n "(cached) " >&6
14191 else
14192   if test -n "$CXX"; then
14193   ac_cv_prog_CXX="$CXX" # Let the user override the test.
14194 else
14195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14196 for as_dir in $PATH
14197 do
14198   IFS=$as_save_IFS
14199   test -z "$as_dir" && as_dir=.
14200     for ac_exec_ext in '' $ac_executable_extensions; do
14201   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14202     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14204     break 2
14205   fi
14206 done
14207   done
14208 IFS=$as_save_IFS
14209
14210 fi
14211 fi
14212 CXX=$ac_cv_prog_CXX
14213 if test -n "$CXX"; then
14214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14215 $as_echo "$CXX" >&6; }
14216 else
14217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14218 $as_echo "no" >&6; }
14219 fi
14220
14221
14222     test -n "$CXX" && break
14223   done
14224 fi
14225 if test -z "$CXX"; then
14226   ac_ct_CXX=$CXX
14227   for ac_prog in g++ g++3 c++ CC
14228 do
14229   # Extract the first word of "$ac_prog", so it can be a program name with args.
14230 set dummy $ac_prog; ac_word=$2
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14232 $as_echo_n "checking for $ac_word... " >&6; }
14233 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
14234   $as_echo_n "(cached) " >&6
14235 else
14236   if test -n "$ac_ct_CXX"; then
14237   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14238 else
14239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14240 for as_dir in $PATH
14241 do
14242   IFS=$as_save_IFS
14243   test -z "$as_dir" && as_dir=.
14244     for ac_exec_ext in '' $ac_executable_extensions; do
14245   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14246     ac_cv_prog_ac_ct_CXX="$ac_prog"
14247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14248     break 2
14249   fi
14250 done
14251   done
14252 IFS=$as_save_IFS
14253
14254 fi
14255 fi
14256 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14257 if test -n "$ac_ct_CXX"; then
14258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14259 $as_echo "$ac_ct_CXX" >&6; }
14260 else
14261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14262 $as_echo "no" >&6; }
14263 fi
14264
14265
14266   test -n "$ac_ct_CXX" && break
14267 done
14268
14269   if test "x$ac_ct_CXX" = x; then
14270     CXX="g++"
14271   else
14272     case $cross_compiling:$ac_tool_warned in
14273 yes:)
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14276 ac_tool_warned=yes ;;
14277 esac
14278     CXX=$ac_ct_CXX
14279   fi
14280 fi
14281
14282   fi
14283 fi
14284 # Provide some information about the compiler.
14285 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14286 set X $ac_compile
14287 ac_compiler=$2
14288 for ac_option in --version -v -V -qversion; do
14289   { { ac_try="$ac_compiler $ac_option >&5"
14290 case "(($ac_try" in
14291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14292   *) ac_try_echo=$ac_try;;
14293 esac
14294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14295 $as_echo "$ac_try_echo"; } >&5
14296   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14297   ac_status=$?
14298   if test -s conftest.err; then
14299     sed '10a\
14300 ... rest of stderr output deleted ...
14301          10q' conftest.err >conftest.er1
14302     cat conftest.er1 >&5
14303   fi
14304   rm -f conftest.er1 conftest.err
14305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14306   test $ac_status = 0; }
14307 done
14308
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14310 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14311 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
14312   $as_echo_n "(cached) " >&6
14313 else
14314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h.  */
14316
14317 int
14318 main ()
14319 {
14320 #ifndef __GNUC__
14321        choke me
14322 #endif
14323
14324   ;
14325   return 0;
14326 }
14327 _ACEOF
14328 if ac_fn_cxx_try_compile "$LINENO"; then :
14329   ac_compiler_gnu=yes
14330 else
14331   ac_compiler_gnu=no
14332 fi
14333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14334 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14335
14336 fi
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14338 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14339 if test $ac_compiler_gnu = yes; then
14340   GXX=yes
14341 else
14342   GXX=
14343 fi
14344 ac_test_CXXFLAGS=${CXXFLAGS+set}
14345 ac_save_CXXFLAGS=$CXXFLAGS
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14347 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14348 if test "${ac_cv_prog_cxx_g+set}" = set; then :
14349   $as_echo_n "(cached) " >&6
14350 else
14351   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14352    ac_cxx_werror_flag=yes
14353    ac_cv_prog_cxx_g=no
14354    CXXFLAGS="-g"
14355    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14356 /* end confdefs.h.  */
14357
14358 int
14359 main ()
14360 {
14361
14362   ;
14363   return 0;
14364 }
14365 _ACEOF
14366 if ac_fn_cxx_try_compile "$LINENO"; then :
14367   ac_cv_prog_cxx_g=yes
14368 else
14369   CXXFLAGS=""
14370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h.  */
14372
14373 int
14374 main ()
14375 {
14376
14377   ;
14378   return 0;
14379 }
14380 _ACEOF
14381 if ac_fn_cxx_try_compile "$LINENO"; then :
14382
14383 else
14384   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14385          CXXFLAGS="-g"
14386          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14387 /* end confdefs.h.  */
14388
14389 int
14390 main ()
14391 {
14392
14393   ;
14394   return 0;
14395 }
14396 _ACEOF
14397 if ac_fn_cxx_try_compile "$LINENO"; then :
14398   ac_cv_prog_cxx_g=yes
14399 fi
14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14401 fi
14402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14403 fi
14404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14405    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14406 fi
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14408 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14409 if test "$ac_test_CXXFLAGS" = set; then
14410   CXXFLAGS=$ac_save_CXXFLAGS
14411 elif test $ac_cv_prog_cxx_g = yes; then
14412   if test "$GXX" = yes; then
14413     CXXFLAGS="-g -O2"
14414   else
14415     CXXFLAGS="-g"
14416   fi
14417 else
14418   if test "$GXX" = yes; then
14419     CXXFLAGS="-O2"
14420   else
14421     CXXFLAGS=
14422   fi
14423 fi
14424 ac_ext=c
14425 ac_cpp='$CPP $CPPFLAGS'
14426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14429
14430 depcc="$CXX"  am_compiler_list=
14431
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14433 $as_echo_n "checking dependency style of $depcc... " >&6; }
14434 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
14435   $as_echo_n "(cached) " >&6
14436 else
14437   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14438   # We make a subdir and do the tests there.  Otherwise we can end up
14439   # making bogus files that we don't know about and never remove.  For
14440   # instance it was reported that on HP-UX the gcc test will end up
14441   # making a dummy file named `D' -- because `-MD' means `put the output
14442   # in D'.
14443   mkdir conftest.dir
14444   # Copy depcomp to subdir because otherwise we won't find it if we're
14445   # using a relative directory.
14446   cp "$am_depcomp" conftest.dir
14447   cd conftest.dir
14448   # We will build objects and dependencies in a subdirectory because
14449   # it helps to detect inapplicable dependency modes.  For instance
14450   # both Tru64's cc and ICC support -MD to output dependencies as a
14451   # side effect of compilation, but ICC will put the dependencies in
14452   # the current directory while Tru64 will put them in the object
14453   # directory.
14454   mkdir sub
14455
14456   am_cv_CXX_dependencies_compiler_type=none
14457   if test "$am_compiler_list" = ""; then
14458      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14459   fi
14460   am__universal=false
14461   case " $depcc " in #(
14462      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14463      esac
14464
14465   for depmode in $am_compiler_list; do
14466     # Setup a source with many dependencies, because some compilers
14467     # like to wrap large dependency lists on column 80 (with \), and
14468     # we should not choose a depcomp mode which is confused by this.
14469     #
14470     # We need to recreate these files for each test, as the compiler may
14471     # overwrite some of them when testing with obscure command lines.
14472     # This happens at least with the AIX C compiler.
14473     : > sub/conftest.c
14474     for i in 1 2 3 4 5 6; do
14475       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14476       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14477       # Solaris 8's {/usr,}/bin/sh.
14478       touch sub/conftst$i.h
14479     done
14480     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14481
14482     # We check with `-c' and `-o' for the sake of the "dashmstdout"
14483     # mode.  It turns out that the SunPro C++ compiler does not properly
14484     # handle `-M -o', and we need to detect this.  Also, some Intel
14485     # versions had trouble with output in subdirs
14486     am__obj=sub/conftest.${OBJEXT-o}
14487     am__minus_obj="-o $am__obj"
14488     case $depmode in
14489     gcc)
14490       # This depmode causes a compiler race in universal mode.
14491       test "$am__universal" = false || continue
14492       ;;
14493     nosideeffect)
14494       # after this tag, mechanisms are not by side-effect, so they'll
14495       # only be used when explicitly requested
14496       if test "x$enable_dependency_tracking" = xyes; then
14497         continue
14498       else
14499         break
14500       fi
14501       ;;
14502     msvisualcpp | msvcmsys)
14503       # This compiler won't grok `-c -o', but also, the minuso test has
14504       # not run yet.  These depmodes are late enough in the game, and
14505       # so weak that their functioning should not be impacted.
14506       am__obj=conftest.${OBJEXT-o}
14507       am__minus_obj=
14508       ;;
14509     none) break ;;
14510     esac
14511     if depmode=$depmode \
14512        source=sub/conftest.c object=$am__obj \
14513        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14514        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14515          >/dev/null 2>conftest.err &&
14516        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14517        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14518        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14519        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14520       # icc doesn't choke on unknown options, it will just issue warnings
14521       # or remarks (even with -Werror).  So we grep stderr for any message
14522       # that says an option was ignored or not supported.
14523       # When given -MP, icc 7.0 and 7.1 complain thusly:
14524       #   icc: Command line warning: ignoring option '-M'; no argument required
14525       # The diagnosis changed in icc 8.0:
14526       #   icc: Command line remark: option '-MP' not supported
14527       if (grep 'ignoring option' conftest.err ||
14528           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14529         am_cv_CXX_dependencies_compiler_type=$depmode
14530         break
14531       fi
14532     fi
14533   done
14534
14535   cd ..
14536   rm -rf conftest.dir
14537 else
14538   am_cv_CXX_dependencies_compiler_type=none
14539 fi
14540
14541 fi
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14543 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14544 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14545
14546  if
14547   test "x$enable_dependency_tracking" != xno \
14548   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14549   am__fastdepCXX_TRUE=
14550   am__fastdepCXX_FALSE='#'
14551 else
14552   am__fastdepCXX_TRUE='#'
14553   am__fastdepCXX_FALSE=
14554 fi
14555
14556
14557
14558
14559 func_stripname_cnf ()
14560 {
14561   case ${2} in
14562   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14563   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14564   esac
14565 } # func_stripname_cnf
14566
14567       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14568     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14569     (test "X$CXX" != "Xg++"))) ; then
14570   ac_ext=cpp
14571 ac_cpp='$CXXCPP $CPPFLAGS'
14572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14576 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14577 if test -z "$CXXCPP"; then
14578   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14579   $as_echo_n "(cached) " >&6
14580 else
14581       # Double quotes because CXXCPP needs to be expanded
14582     for CXXCPP in "$CXX -E" "/lib/cpp"
14583     do
14584       ac_preproc_ok=false
14585 for ac_cxx_preproc_warn_flag in '' yes
14586 do
14587   # Use a header file that comes with gcc, so configuring glibc
14588   # with a fresh cross-compiler works.
14589   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14590   # <limits.h> exists even on freestanding compilers.
14591   # On the NeXT, cc -E runs the code through the compiler's parser,
14592   # not just through cpp. "Syntax error" is here to catch this case.
14593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h.  */
14595 #ifdef __STDC__
14596 # include <limits.h>
14597 #else
14598 # include <assert.h>
14599 #endif
14600                      Syntax error
14601 _ACEOF
14602 if ac_fn_cxx_try_cpp "$LINENO"; then :
14603
14604 else
14605   # Broken: fails on valid input.
14606 continue
14607 fi
14608 rm -f conftest.err conftest.i conftest.$ac_ext
14609
14610   # OK, works on sane cases.  Now check whether nonexistent headers
14611   # can be detected and how.
14612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613 /* end confdefs.h.  */
14614 #include <ac_nonexistent.h>
14615 _ACEOF
14616 if ac_fn_cxx_try_cpp "$LINENO"; then :
14617   # Broken: success on invalid input.
14618 continue
14619 else
14620   # Passes both tests.
14621 ac_preproc_ok=:
14622 break
14623 fi
14624 rm -f conftest.err conftest.i conftest.$ac_ext
14625
14626 done
14627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14628 rm -f conftest.i conftest.err conftest.$ac_ext
14629 if $ac_preproc_ok; then :
14630   break
14631 fi
14632
14633     done
14634     ac_cv_prog_CXXCPP=$CXXCPP
14635
14636 fi
14637   CXXCPP=$ac_cv_prog_CXXCPP
14638 else
14639   ac_cv_prog_CXXCPP=$CXXCPP
14640 fi
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14642 $as_echo "$CXXCPP" >&6; }
14643 ac_preproc_ok=false
14644 for ac_cxx_preproc_warn_flag in '' yes
14645 do
14646   # Use a header file that comes with gcc, so configuring glibc
14647   # with a fresh cross-compiler works.
14648   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14649   # <limits.h> exists even on freestanding compilers.
14650   # On the NeXT, cc -E runs the code through the compiler's parser,
14651   # not just through cpp. "Syntax error" is here to catch this case.
14652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h.  */
14654 #ifdef __STDC__
14655 # include <limits.h>
14656 #else
14657 # include <assert.h>
14658 #endif
14659                      Syntax error
14660 _ACEOF
14661 if ac_fn_cxx_try_cpp "$LINENO"; then :
14662
14663 else
14664   # Broken: fails on valid input.
14665 continue
14666 fi
14667 rm -f conftest.err conftest.i conftest.$ac_ext
14668
14669   # OK, works on sane cases.  Now check whether nonexistent headers
14670   # can be detected and how.
14671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h.  */
14673 #include <ac_nonexistent.h>
14674 _ACEOF
14675 if ac_fn_cxx_try_cpp "$LINENO"; then :
14676   # Broken: success on invalid input.
14677 continue
14678 else
14679   # Passes both tests.
14680 ac_preproc_ok=:
14681 break
14682 fi
14683 rm -f conftest.err conftest.i conftest.$ac_ext
14684
14685 done
14686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14687 rm -f conftest.i conftest.err conftest.$ac_ext
14688 if $ac_preproc_ok; then :
14689
14690 else
14691   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14693 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14694 See \`config.log' for more details" "$LINENO" 5 ; }
14695 fi
14696
14697 ac_ext=c
14698 ac_cpp='$CPP $CPPFLAGS'
14699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14702
14703 else
14704   _lt_caught_CXX_error=yes
14705 fi
14706
14707 ac_ext=cpp
14708 ac_cpp='$CXXCPP $CPPFLAGS'
14709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14712
14713 archive_cmds_need_lc_CXX=no
14714 allow_undefined_flag_CXX=
14715 always_export_symbols_CXX=no
14716 archive_expsym_cmds_CXX=
14717 compiler_needs_object_CXX=no
14718 export_dynamic_flag_spec_CXX=
14719 hardcode_direct_CXX=no
14720 hardcode_direct_absolute_CXX=no
14721 hardcode_libdir_flag_spec_CXX=
14722 hardcode_libdir_flag_spec_ld_CXX=
14723 hardcode_libdir_separator_CXX=
14724 hardcode_minus_L_CXX=no
14725 hardcode_shlibpath_var_CXX=unsupported
14726 hardcode_automatic_CXX=no
14727 inherit_rpath_CXX=no
14728 module_cmds_CXX=
14729 module_expsym_cmds_CXX=
14730 link_all_deplibs_CXX=unknown
14731 old_archive_cmds_CXX=$old_archive_cmds
14732 reload_flag_CXX=$reload_flag
14733 reload_cmds_CXX=$reload_cmds
14734 no_undefined_flag_CXX=
14735 whole_archive_flag_spec_CXX=
14736 enable_shared_with_static_runtimes_CXX=no
14737
14738 # Source file extension for C++ test sources.
14739 ac_ext=cpp
14740
14741 # Object file extension for compiled C++ test sources.
14742 objext=o
14743 objext_CXX=$objext
14744
14745 # No sense in running all these tests if we already determined that
14746 # the CXX compiler isn't working.  Some variables (like enable_shared)
14747 # are currently assumed to apply to all compilers on this platform,
14748 # and will be corrupted by setting them based on a non-working compiler.
14749 if test "$_lt_caught_CXX_error" != yes; then
14750   # Code to be used in simple compile tests
14751   lt_simple_compile_test_code="int some_variable = 0;"
14752
14753   # Code to be used in simple link tests
14754   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14755
14756   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14757
14758
14759
14760
14761
14762
14763 # If no C compiler was specified, use CC.
14764 LTCC=${LTCC-"$CC"}
14765
14766 # If no C compiler flags were specified, use CFLAGS.
14767 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14768
14769 # Allow CC to be a program name with arguments.
14770 compiler=$CC
14771
14772
14773   # save warnings/boilerplate of simple test code
14774   ac_outfile=conftest.$ac_objext
14775 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14776 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14777 _lt_compiler_boilerplate=`cat conftest.err`
14778 $RM conftest*
14779
14780   ac_outfile=conftest.$ac_objext
14781 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14782 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14783 _lt_linker_boilerplate=`cat conftest.err`
14784 $RM -r conftest*
14785
14786
14787   # Allow CC to be a program name with arguments.
14788   lt_save_CC=$CC
14789   lt_save_CFLAGS=$CFLAGS
14790   lt_save_LD=$LD
14791   lt_save_GCC=$GCC
14792   GCC=$GXX
14793   lt_save_with_gnu_ld=$with_gnu_ld
14794   lt_save_path_LD=$lt_cv_path_LD
14795   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14796     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14797   else
14798     $as_unset lt_cv_prog_gnu_ld
14799   fi
14800   if test -n "${lt_cv_path_LDCXX+set}"; then
14801     lt_cv_path_LD=$lt_cv_path_LDCXX
14802   else
14803     $as_unset lt_cv_path_LD
14804   fi
14805   test -z "${LDCXX+set}" || LD=$LDCXX
14806   CC=${CXX-"c++"}
14807   CFLAGS=$CXXFLAGS
14808   compiler=$CC
14809   compiler_CXX=$CC
14810   for cc_temp in $compiler""; do
14811   case $cc_temp in
14812     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14813     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14814     \-*) ;;
14815     *) break;;
14816   esac
14817 done
14818 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14819
14820
14821   if test -n "$compiler"; then
14822     # We don't want -fno-exception when compiling C++ code, so set the
14823     # no_builtin_flag separately
14824     if test "$GXX" = yes; then
14825       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14826     else
14827       lt_prog_compiler_no_builtin_flag_CXX=
14828     fi
14829
14830     if test "$GXX" = yes; then
14831       # Set up default GNU C++ configuration
14832
14833
14834
14835 # Check whether --with-gnu-ld was given.
14836 if test "${with_gnu_ld+set}" = set; then :
14837   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14838 else
14839   with_gnu_ld=no
14840 fi
14841
14842 ac_prog=ld
14843 if test "$GCC" = yes; then
14844   # Check if gcc -print-prog-name=ld gives a path.
14845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14846 $as_echo_n "checking for ld used by $CC... " >&6; }
14847   case $host in
14848   *-*-mingw*)
14849     # gcc leaves a trailing carriage return which upsets mingw
14850     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14851   *)
14852     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14853   esac
14854   case $ac_prog in
14855     # Accept absolute paths.
14856     [\\/]* | ?:[\\/]*)
14857       re_direlt='/[^/][^/]*/\.\./'
14858       # Canonicalize the pathname of ld
14859       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14860       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14861         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14862       done
14863       test -z "$LD" && LD="$ac_prog"
14864       ;;
14865   "")
14866     # If it fails, then pretend we aren't using GCC.
14867     ac_prog=ld
14868     ;;
14869   *)
14870     # If it is relative, then search for the first ld in PATH.
14871     with_gnu_ld=unknown
14872     ;;
14873   esac
14874 elif test "$with_gnu_ld" = yes; then
14875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14876 $as_echo_n "checking for GNU ld... " >&6; }
14877 else
14878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14879 $as_echo_n "checking for non-GNU ld... " >&6; }
14880 fi
14881 if test "${lt_cv_path_LD+set}" = set; then :
14882   $as_echo_n "(cached) " >&6
14883 else
14884   if test -z "$LD"; then
14885   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14886   for ac_dir in $PATH; do
14887     IFS="$lt_save_ifs"
14888     test -z "$ac_dir" && ac_dir=.
14889     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14890       lt_cv_path_LD="$ac_dir/$ac_prog"
14891       # Check to see if the program is GNU ld.  I'd rather use --version,
14892       # but apparently some variants of GNU ld only accept -v.
14893       # Break only if it was the GNU/non-GNU ld that we prefer.
14894       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14895       *GNU* | *'with BFD'*)
14896         test "$with_gnu_ld" != no && break
14897         ;;
14898       *)
14899         test "$with_gnu_ld" != yes && break
14900         ;;
14901       esac
14902     fi
14903   done
14904   IFS="$lt_save_ifs"
14905 else
14906   lt_cv_path_LD="$LD" # Let the user override the test with a path.
14907 fi
14908 fi
14909
14910 LD="$lt_cv_path_LD"
14911 if test -n "$LD"; then
14912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14913 $as_echo "$LD" >&6; }
14914 else
14915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14916 $as_echo "no" >&6; }
14917 fi
14918 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14920 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14921 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14922   $as_echo_n "(cached) " >&6
14923 else
14924   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14925 case `$LD -v 2>&1 </dev/null` in
14926 *GNU* | *'with BFD'*)
14927   lt_cv_prog_gnu_ld=yes
14928   ;;
14929 *)
14930   lt_cv_prog_gnu_ld=no
14931   ;;
14932 esac
14933 fi
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14935 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14936 with_gnu_ld=$lt_cv_prog_gnu_ld
14937
14938
14939
14940
14941
14942
14943
14944       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14945       # archiving commands below assume that GNU ld is being used.
14946       if test "$with_gnu_ld" = yes; then
14947         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14948         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'
14949
14950         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14951         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14952
14953         # If archive_cmds runs LD, not CC, wlarc should be empty
14954         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14955         #     investigate it a little bit more. (MM)
14956         wlarc='${wl}'
14957
14958         # ancient GNU ld didn't support --whole-archive et. al.
14959         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14960           $GREP 'no-whole-archive' > /dev/null; then
14961           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14962         else
14963           whole_archive_flag_spec_CXX=
14964         fi
14965       else
14966         with_gnu_ld=no
14967         wlarc=
14968
14969         # A generic and very simple default shared library creation
14970         # command for GNU C++ for the case where it uses the native
14971         # linker, instead of GNU ld.  If possible, this setting should
14972         # overridden to take advantage of the native linker features on
14973         # the platform it is being used on.
14974         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14975       fi
14976
14977       # Commands to make compiler produce verbose output that lists
14978       # what "hidden" libraries, object files and flags are used when
14979       # linking a shared library.
14980       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14981
14982     else
14983       GXX=no
14984       with_gnu_ld=no
14985       wlarc=
14986     fi
14987
14988     # PORTME: fill in a description of your system's C++ link characteristics
14989     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14990 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14991     ld_shlibs_CXX=yes
14992     case $host_os in
14993       aix3*)
14994         # FIXME: insert proper C++ library support
14995         ld_shlibs_CXX=no
14996         ;;
14997       aix[4-9]*)
14998         if test "$host_cpu" = ia64; then
14999           # On IA64, the linker does run time linking by default, so we don't
15000           # have to do anything special.
15001           aix_use_runtimelinking=no
15002           exp_sym_flag='-Bexport'
15003           no_entry_flag=""
15004         else
15005           aix_use_runtimelinking=no
15006
15007           # Test if we are trying to use run time linking or normal
15008           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15009           # need to do runtime linking.
15010           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15011             for ld_flag in $LDFLAGS; do
15012               case $ld_flag in
15013               *-brtl*)
15014                 aix_use_runtimelinking=yes
15015                 break
15016                 ;;
15017               esac
15018             done
15019             ;;
15020           esac
15021
15022           exp_sym_flag='-bexport'
15023           no_entry_flag='-bnoentry'
15024         fi
15025
15026         # When large executables or shared objects are built, AIX ld can
15027         # have problems creating the table of contents.  If linking a library
15028         # or program results in "error TOC overflow" add -mminimal-toc to
15029         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15030         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15031
15032         archive_cmds_CXX=''
15033         hardcode_direct_CXX=yes
15034         hardcode_direct_absolute_CXX=yes
15035         hardcode_libdir_separator_CXX=':'
15036         link_all_deplibs_CXX=yes
15037         file_list_spec_CXX='${wl}-f,'
15038
15039         if test "$GXX" = yes; then
15040           case $host_os in aix4.[012]|aix4.[012].*)
15041           # We only want to do this on AIX 4.2 and lower, the check
15042           # below for broken collect2 doesn't work under 4.3+
15043           collect2name=`${CC} -print-prog-name=collect2`
15044           if test -f "$collect2name" &&
15045              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15046           then
15047             # We have reworked collect2
15048             :
15049           else
15050             # We have old collect2
15051             hardcode_direct_CXX=unsupported
15052             # It fails to find uninstalled libraries when the uninstalled
15053             # path is not listed in the libpath.  Setting hardcode_minus_L
15054             # to unsupported forces relinking
15055             hardcode_minus_L_CXX=yes
15056             hardcode_libdir_flag_spec_CXX='-L$libdir'
15057             hardcode_libdir_separator_CXX=
15058           fi
15059           esac
15060           shared_flag='-shared'
15061           if test "$aix_use_runtimelinking" = yes; then
15062             shared_flag="$shared_flag "'${wl}-G'
15063           fi
15064         else
15065           # not using gcc
15066           if test "$host_cpu" = ia64; then
15067           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15068           # chokes on -Wl,-G. The following line is correct:
15069           shared_flag='-G'
15070           else
15071             if test "$aix_use_runtimelinking" = yes; then
15072               shared_flag='${wl}-G'
15073             else
15074               shared_flag='${wl}-bM:SRE'
15075             fi
15076           fi
15077         fi
15078
15079         export_dynamic_flag_spec_CXX='${wl}-bexpall'
15080         # It seems that -bexpall does not export symbols beginning with
15081         # underscore (_), so it is better to generate a list of symbols to
15082         # export.
15083         always_export_symbols_CXX=yes
15084         if test "$aix_use_runtimelinking" = yes; then
15085           # Warning - without using the other runtime loading flags (-brtl),
15086           # -berok will link without error, but may produce a broken library.
15087           allow_undefined_flag_CXX='-berok'
15088           # Determine the default libpath from the value encoded in an empty
15089           # executable.
15090           if test "${lt_cv_aix_libpath+set}" = set; then
15091   aix_libpath=$lt_cv_aix_libpath
15092 else
15093   if test "${lt_cv_aix_libpath__CXX+set}" = set; then :
15094   $as_echo_n "(cached) " >&6
15095 else
15096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h.  */
15098
15099 int
15100 main ()
15101 {
15102
15103   ;
15104   return 0;
15105 }
15106 _ACEOF
15107 if ac_fn_cxx_try_link "$LINENO"; then :
15108
15109   lt_aix_libpath_sed='
15110       /Import File Strings/,/^$/ {
15111           /^0/ {
15112               s/^0  *\([^ ]*\) *$/\1/
15113               p
15114           }
15115       }'
15116   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15117   # Check for a 64-bit object if we didn't find anything.
15118   if test -z "$lt_cv_aix_libpath__CXX"; then
15119     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15120   fi
15121 fi
15122 rm -f core conftest.err conftest.$ac_objext \
15123     conftest$ac_exeext conftest.$ac_ext
15124   if test -z "$lt_cv_aix_libpath__CXX"; then
15125     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15126   fi
15127
15128 fi
15129
15130   aix_libpath=$lt_cv_aix_libpath__CXX
15131 fi
15132
15133           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15134
15135           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"
15136         else
15137           if test "$host_cpu" = ia64; then
15138             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15139             allow_undefined_flag_CXX="-z nodefs"
15140             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"
15141           else
15142             # Determine the default libpath from the value encoded in an
15143             # empty executable.
15144             if test "${lt_cv_aix_libpath+set}" = set; then
15145   aix_libpath=$lt_cv_aix_libpath
15146 else
15147   if test "${lt_cv_aix_libpath__CXX+set}" = set; then :
15148   $as_echo_n "(cached) " >&6
15149 else
15150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h.  */
15152
15153 int
15154 main ()
15155 {
15156
15157   ;
15158   return 0;
15159 }
15160 _ACEOF
15161 if ac_fn_cxx_try_link "$LINENO"; then :
15162
15163   lt_aix_libpath_sed='
15164       /Import File Strings/,/^$/ {
15165           /^0/ {
15166               s/^0  *\([^ ]*\) *$/\1/
15167               p
15168           }
15169       }'
15170   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15171   # Check for a 64-bit object if we didn't find anything.
15172   if test -z "$lt_cv_aix_libpath__CXX"; then
15173     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15174   fi
15175 fi
15176 rm -f core conftest.err conftest.$ac_objext \
15177     conftest$ac_exeext conftest.$ac_ext
15178   if test -z "$lt_cv_aix_libpath__CXX"; then
15179     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
15180   fi
15181
15182 fi
15183
15184   aix_libpath=$lt_cv_aix_libpath__CXX
15185 fi
15186
15187             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15188             # Warning - without using the other run time loading flags,
15189             # -berok will link without error, but may produce a broken library.
15190             no_undefined_flag_CXX=' ${wl}-bernotok'
15191             allow_undefined_flag_CXX=' ${wl}-berok'
15192             if test "$with_gnu_ld" = yes; then
15193               # We only use this code for GNU lds that support --whole-archive.
15194               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15195             else
15196               # Exported symbols can be pulled into shared objects from archives
15197               whole_archive_flag_spec_CXX='$convenience'
15198             fi
15199             archive_cmds_need_lc_CXX=yes
15200             # This is similar to how AIX traditionally builds its shared
15201             # libraries.
15202             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'
15203           fi
15204         fi
15205         ;;
15206
15207       beos*)
15208         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15209           allow_undefined_flag_CXX=unsupported
15210           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15211           # support --undefined.  This deserves some investigation.  FIXME
15212           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15213         else
15214           ld_shlibs_CXX=no
15215         fi
15216         ;;
15217
15218       chorus*)
15219         case $cc_basename in
15220           *)
15221           # FIXME: insert proper C++ library support
15222           ld_shlibs_CXX=no
15223           ;;
15224         esac
15225         ;;
15226
15227       cygwin* | mingw* | pw32* | cegcc*)
15228         case $GXX,$cc_basename in
15229         ,cl* | no,cl*)
15230           # Native MSVC
15231           # hardcode_libdir_flag_spec is actually meaningless, as there is
15232           # no search path for DLLs.
15233           hardcode_libdir_flag_spec_CXX=' '
15234           allow_undefined_flag_CXX=unsupported
15235           always_export_symbols_CXX=yes
15236           file_list_spec_CXX='@'
15237           # Tell ltmain to make .lib files, not .a files.
15238           libext=lib
15239           # Tell ltmain to make .dll files, not .so files.
15240           shrext_cmds=".dll"
15241           # FIXME: Setting linknames here is a bad hack.
15242           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15243           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15244               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15245             else
15246               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15247             fi~
15248             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15249             linknames='
15250           # The linker will not automatically build a static lib if we build a DLL.
15251           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15252           enable_shared_with_static_runtimes_CXX=yes
15253           # Don't use ranlib
15254           old_postinstall_cmds_CXX='chmod 644 $oldlib'
15255           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15256             lt_tool_outputfile="@TOOL_OUTPUT@"~
15257             case $lt_outputfile in
15258               *.exe|*.EXE) ;;
15259               *)
15260                 lt_outputfile="$lt_outputfile.exe"
15261                 lt_tool_outputfile="$lt_tool_outputfile.exe"
15262                 ;;
15263             esac~
15264             func_to_tool_file "$lt_outputfile"~
15265             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15266               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15267               $RM "$lt_outputfile.manifest";
15268             fi'
15269           ;;
15270         *)
15271           # g++
15272           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15273           # as there is no search path for DLLs.
15274           hardcode_libdir_flag_spec_CXX='-L$libdir'
15275           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15276           allow_undefined_flag_CXX=unsupported
15277           always_export_symbols_CXX=no
15278           enable_shared_with_static_runtimes_CXX=yes
15279
15280           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15281             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'
15282             # If the export-symbols file already is a .def file (1st line
15283             # is EXPORTS), use it as is; otherwise, prepend...
15284             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15285               cp $export_symbols $output_objdir/$soname.def;
15286             else
15287               echo EXPORTS > $output_objdir/$soname.def;
15288               cat $export_symbols >> $output_objdir/$soname.def;
15289             fi~
15290             $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'
15291           else
15292             ld_shlibs_CXX=no
15293           fi
15294           ;;
15295         esac
15296         ;;
15297       darwin* | rhapsody*)
15298
15299
15300   archive_cmds_need_lc_CXX=no
15301   hardcode_direct_CXX=no
15302   hardcode_automatic_CXX=yes
15303   hardcode_shlibpath_var_CXX=unsupported
15304   if test "$lt_cv_ld_force_load" = "yes"; then
15305     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\"`'
15306   else
15307     whole_archive_flag_spec_CXX=''
15308   fi
15309   link_all_deplibs_CXX=yes
15310   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15311   case $cc_basename in
15312      ifort*) _lt_dar_can_shared=yes ;;
15313      *) _lt_dar_can_shared=$GCC ;;
15314   esac
15315   if test "$_lt_dar_can_shared" = "yes"; then
15316     output_verbose_link_cmd=func_echo_all
15317     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}"
15318     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15319     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}"
15320     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}"
15321        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15322       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}"
15323       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}"
15324     fi
15325
15326   else
15327   ld_shlibs_CXX=no
15328   fi
15329
15330         ;;
15331
15332       dgux*)
15333         case $cc_basename in
15334           ec++*)
15335             # FIXME: insert proper C++ library support
15336             ld_shlibs_CXX=no
15337             ;;
15338           ghcx*)
15339             # Green Hills C++ Compiler
15340             # FIXME: insert proper C++ library support
15341             ld_shlibs_CXX=no
15342             ;;
15343           *)
15344             # FIXME: insert proper C++ library support
15345             ld_shlibs_CXX=no
15346             ;;
15347         esac
15348         ;;
15349
15350       freebsd[12]*)
15351         # C++ shared libraries reported to be fairly broken before
15352         # switch to ELF
15353         ld_shlibs_CXX=no
15354         ;;
15355
15356       freebsd-elf*)
15357         archive_cmds_need_lc_CXX=no
15358         ;;
15359
15360       freebsd* | dragonfly*)
15361         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15362         # conventions
15363         ld_shlibs_CXX=yes
15364         ;;
15365
15366       gnu*)
15367         ;;
15368
15369       haiku*)
15370         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15371         link_all_deplibs_CXX=yes
15372         ;;
15373
15374       hpux9*)
15375         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15376         hardcode_libdir_separator_CXX=:
15377         export_dynamic_flag_spec_CXX='${wl}-E'
15378         hardcode_direct_CXX=yes
15379         hardcode_minus_L_CXX=yes # Not in the search PATH,
15380                                              # but as the default
15381                                              # location of the library.
15382
15383         case $cc_basename in
15384           CC*)
15385             # FIXME: insert proper C++ library support
15386             ld_shlibs_CXX=no
15387             ;;
15388           aCC*)
15389             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'
15390             # Commands to make compiler produce verbose output that lists
15391             # what "hidden" libraries, object files and flags are used when
15392             # linking a shared library.
15393             #
15394             # There doesn't appear to be a way to prevent this compiler from
15395             # explicitly linking system object files so we need to strip them
15396             # from the output so that they don't get included in the library
15397             # dependencies.
15398             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"'
15399             ;;
15400           *)
15401             if test "$GXX" = yes; then
15402               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'
15403             else
15404               # FIXME: insert proper C++ library support
15405               ld_shlibs_CXX=no
15406             fi
15407             ;;
15408         esac
15409         ;;
15410
15411       hpux10*|hpux11*)
15412         if test $with_gnu_ld = no; then
15413           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15414           hardcode_libdir_separator_CXX=:
15415
15416           case $host_cpu in
15417             hppa*64*|ia64*)
15418               ;;
15419             *)
15420               export_dynamic_flag_spec_CXX='${wl}-E'
15421               ;;
15422           esac
15423         fi
15424         case $host_cpu in
15425           hppa*64*|ia64*)
15426             hardcode_direct_CXX=no
15427             hardcode_shlibpath_var_CXX=no
15428             ;;
15429           *)
15430             hardcode_direct_CXX=yes
15431             hardcode_direct_absolute_CXX=yes
15432             hardcode_minus_L_CXX=yes # Not in the search PATH,
15433                                                  # but as the default
15434                                                  # location of the library.
15435             ;;
15436         esac
15437
15438         case $cc_basename in
15439           CC*)
15440             # FIXME: insert proper C++ library support
15441             ld_shlibs_CXX=no
15442             ;;
15443           aCC*)
15444             case $host_cpu in
15445               hppa*64*)
15446                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15447                 ;;
15448               ia64*)
15449                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15450                 ;;
15451               *)
15452                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15453                 ;;
15454             esac
15455             # Commands to make compiler produce verbose output that lists
15456             # what "hidden" libraries, object files and flags are used when
15457             # linking a shared library.
15458             #
15459             # There doesn't appear to be a way to prevent this compiler from
15460             # explicitly linking system object files so we need to strip them
15461             # from the output so that they don't get included in the library
15462             # dependencies.
15463             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"'
15464             ;;
15465           *)
15466             if test "$GXX" = yes; then
15467               if test $with_gnu_ld = no; then
15468                 case $host_cpu in
15469                   hppa*64*)
15470                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15471                     ;;
15472                   ia64*)
15473                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15474                     ;;
15475                   *)
15476                     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'
15477                     ;;
15478                 esac
15479               fi
15480             else
15481               # FIXME: insert proper C++ library support
15482               ld_shlibs_CXX=no
15483             fi
15484             ;;
15485         esac
15486         ;;
15487
15488       interix[3-9]*)
15489         hardcode_direct_CXX=no
15490         hardcode_shlibpath_var_CXX=no
15491         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15492         export_dynamic_flag_spec_CXX='${wl}-E'
15493         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15494         # Instead, shared libraries are loaded at an image base (0x10000000 by
15495         # default) and relocated if they conflict, which is a slow very memory
15496         # consuming and fragmenting process.  To avoid this, we pick a random,
15497         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15498         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15499         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'
15500         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'
15501         ;;
15502       irix5* | irix6*)
15503         case $cc_basename in
15504           CC*)
15505             # SGI C++
15506             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'
15507
15508             # Archives containing C++ object files must be created using
15509             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15510             # necessary to make sure instantiated templates are included
15511             # in the archive.
15512             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15513             ;;
15514           *)
15515             if test "$GXX" = yes; then
15516               if test "$with_gnu_ld" = no; then
15517                 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'
15518               else
15519                 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'
15520               fi
15521             fi
15522             link_all_deplibs_CXX=yes
15523             ;;
15524         esac
15525         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15526         hardcode_libdir_separator_CXX=:
15527         inherit_rpath_CXX=yes
15528         ;;
15529
15530       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15531         case $cc_basename in
15532           KCC*)
15533             # Kuck and Associates, Inc. (KAI) C++ Compiler
15534
15535             # KCC will only create a shared library if the output file
15536             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15537             # to its proper name (with version) after linking.
15538             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'
15539             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'
15540             # Commands to make compiler produce verbose output that lists
15541             # what "hidden" libraries, object files and flags are used when
15542             # linking a shared library.
15543             #
15544             # There doesn't appear to be a way to prevent this compiler from
15545             # explicitly linking system object files so we need to strip them
15546             # from the output so that they don't get included in the library
15547             # dependencies.
15548             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"'
15549
15550             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15551             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15552
15553             # Archives containing C++ object files must be created using
15554             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15555             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15556             ;;
15557           icpc* | ecpc* )
15558             # Intel C++
15559             with_gnu_ld=yes
15560             # version 8.0 and above of icpc choke on multiply defined symbols
15561             # if we add $predep_objects and $postdep_objects, however 7.1 and
15562             # earlier do not add the objects themselves.
15563             case `$CC -V 2>&1` in
15564               *"Version 7."*)
15565                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15566                 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'
15567                 ;;
15568               *)  # Version 8.0 or newer
15569                 tmp_idyn=
15570                 case $host_cpu in
15571                   ia64*) tmp_idyn=' -i_dynamic';;
15572                 esac
15573                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15574                 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'
15575                 ;;
15576             esac
15577             archive_cmds_need_lc_CXX=no
15578             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15579             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15580             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15581             ;;
15582           pgCC* | pgcpp*)
15583             # Portland Group C++ compiler
15584             case `$CC -V` in
15585             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15586               prelink_cmds_CXX='tpldir=Template.dir~
15587                 rm -rf $tpldir~
15588                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15589                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15590               old_archive_cmds_CXX='tpldir=Template.dir~
15591                 rm -rf $tpldir~
15592                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15593                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15594                 $RANLIB $oldlib'
15595               archive_cmds_CXX='tpldir=Template.dir~
15596                 rm -rf $tpldir~
15597                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15598                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15599               archive_expsym_cmds_CXX='tpldir=Template.dir~
15600                 rm -rf $tpldir~
15601                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15602                 $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'
15603               ;;
15604             *) # Version 6 and above use weak symbols
15605               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15606               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'
15607               ;;
15608             esac
15609
15610             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15611             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15612             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'
15613             ;;
15614           cxx*)
15615             # Compaq C++
15616             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15617             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'
15618
15619             runpath_var=LD_RUN_PATH
15620             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15621             hardcode_libdir_separator_CXX=:
15622
15623             # Commands to make compiler produce verbose output that lists
15624             # what "hidden" libraries, object files and flags are used when
15625             # linking a shared library.
15626             #
15627             # There doesn't appear to be a way to prevent this compiler from
15628             # explicitly linking system object files so we need to strip them
15629             # from the output so that they don't get included in the library
15630             # dependencies.
15631             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'
15632             ;;
15633           xl* | mpixl* | bgxl*)
15634             # IBM XL 8.0 on PPC, with GNU ld
15635             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15636             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15637             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15638             if test "x$supports_anon_versioning" = xyes; then
15639               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15640                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15641                 echo "local: *; };" >> $output_objdir/$libname.ver~
15642                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15643             fi
15644             ;;
15645           *)
15646             case `$CC -V 2>&1 | sed 5q` in
15647             *Sun\ C*)
15648               # Sun C++ 5.9
15649               no_undefined_flag_CXX=' -zdefs'
15650               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15651               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'
15652               hardcode_libdir_flag_spec_CXX='-R$libdir'
15653               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'
15654               compiler_needs_object_CXX=yes
15655
15656               # Not sure whether something based on
15657               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15658               # would be better.
15659               output_verbose_link_cmd='func_echo_all'
15660
15661               # Archives containing C++ object files must be created using
15662               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15663               # necessary to make sure instantiated templates are included
15664               # in the archive.
15665               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15666               ;;
15667             esac
15668             ;;
15669         esac
15670         ;;
15671
15672       lynxos*)
15673         # FIXME: insert proper C++ library support
15674         ld_shlibs_CXX=no
15675         ;;
15676
15677       m88k*)
15678         # FIXME: insert proper C++ library support
15679         ld_shlibs_CXX=no
15680         ;;
15681
15682       mvs*)
15683         case $cc_basename in
15684           cxx*)
15685             # FIXME: insert proper C++ library support
15686             ld_shlibs_CXX=no
15687             ;;
15688           *)
15689             # FIXME: insert proper C++ library support
15690             ld_shlibs_CXX=no
15691             ;;
15692         esac
15693         ;;
15694
15695       netbsd*)
15696         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15697           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15698           wlarc=
15699           hardcode_libdir_flag_spec_CXX='-R$libdir'
15700           hardcode_direct_CXX=yes
15701           hardcode_shlibpath_var_CXX=no
15702         fi
15703         # Workaround some broken pre-1.5 toolchains
15704         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15705         ;;
15706
15707       *nto* | *qnx*)
15708         ld_shlibs_CXX=yes
15709         ;;
15710
15711       openbsd2*)
15712         # C++ shared libraries are fairly broken
15713         ld_shlibs_CXX=no
15714         ;;
15715
15716       openbsd*)
15717         if test -f /usr/libexec/ld.so; then
15718           hardcode_direct_CXX=yes
15719           hardcode_shlibpath_var_CXX=no
15720           hardcode_direct_absolute_CXX=yes
15721           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15722           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15723           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15724             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15725             export_dynamic_flag_spec_CXX='${wl}-E'
15726             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15727           fi
15728           output_verbose_link_cmd=func_echo_all
15729         else
15730           ld_shlibs_CXX=no
15731         fi
15732         ;;
15733
15734       osf3* | osf4* | osf5*)
15735         case $cc_basename in
15736           KCC*)
15737             # Kuck and Associates, Inc. (KAI) C++ Compiler
15738
15739             # KCC will only create a shared library if the output file
15740             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15741             # to its proper name (with version) after linking.
15742             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'
15743
15744             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15745             hardcode_libdir_separator_CXX=:
15746
15747             # Archives containing C++ object files must be created using
15748             # the KAI C++ compiler.
15749             case $host in
15750               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15751               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15752             esac
15753             ;;
15754           RCC*)
15755             # Rational C++ 2.4.1
15756             # FIXME: insert proper C++ library support
15757             ld_shlibs_CXX=no
15758             ;;
15759           cxx*)
15760             case $host in
15761               osf3*)
15762                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15763                 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'
15764                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15765                 ;;
15766               *)
15767                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15768                 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'
15769                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15770                   echo "-hidden">> $lib.exp~
15771                   $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~
15772                   $RM $lib.exp'
15773                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15774                 ;;
15775             esac
15776
15777             hardcode_libdir_separator_CXX=:
15778
15779             # Commands to make compiler produce verbose output that lists
15780             # what "hidden" libraries, object files and flags are used when
15781             # linking a shared library.
15782             #
15783             # There doesn't appear to be a way to prevent this compiler from
15784             # explicitly linking system object files so we need to strip them
15785             # from the output so that they don't get included in the library
15786             # dependencies.
15787             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"'
15788             ;;
15789           *)
15790             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15791               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15792               case $host in
15793                 osf3*)
15794                   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'
15795                   ;;
15796                 *)
15797                   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'
15798                   ;;
15799               esac
15800
15801               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15802               hardcode_libdir_separator_CXX=:
15803
15804               # Commands to make compiler produce verbose output that lists
15805               # what "hidden" libraries, object files and flags are used when
15806               # linking a shared library.
15807               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15808
15809             else
15810               # FIXME: insert proper C++ library support
15811               ld_shlibs_CXX=no
15812             fi
15813             ;;
15814         esac
15815         ;;
15816
15817       psos*)
15818         # FIXME: insert proper C++ library support
15819         ld_shlibs_CXX=no
15820         ;;
15821
15822       sunos4*)
15823         case $cc_basename in
15824           CC*)
15825             # Sun C++ 4.x
15826             # FIXME: insert proper C++ library support
15827             ld_shlibs_CXX=no
15828             ;;
15829           lcc*)
15830             # Lucid
15831             # FIXME: insert proper C++ library support
15832             ld_shlibs_CXX=no
15833             ;;
15834           *)
15835             # FIXME: insert proper C++ library support
15836             ld_shlibs_CXX=no
15837             ;;
15838         esac
15839         ;;
15840
15841       solaris*)
15842         case $cc_basename in
15843           CC* | sunCC*)
15844             # Sun C++ 4.2, 5.x and Centerline C++
15845             archive_cmds_need_lc_CXX=yes
15846             no_undefined_flag_CXX=' -zdefs'
15847             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15848             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15849               $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'
15850
15851             hardcode_libdir_flag_spec_CXX='-R$libdir'
15852             hardcode_shlibpath_var_CXX=no
15853             case $host_os in
15854               solaris2.[0-5] | solaris2.[0-5].*) ;;
15855               *)
15856                 # The compiler driver will combine and reorder linker options,
15857                 # but understands `-z linker_flag'.
15858                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15859                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15860                 ;;
15861             esac
15862             link_all_deplibs_CXX=yes
15863
15864             output_verbose_link_cmd='func_echo_all'
15865
15866             # Archives containing C++ object files must be created using
15867             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15868             # necessary to make sure instantiated templates are included
15869             # in the archive.
15870             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15871             ;;
15872           gcx*)
15873             # Green Hills C++ Compiler
15874             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15875
15876             # The C++ compiler must be used to create the archive.
15877             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15878             ;;
15879           *)
15880             # GNU C++ compiler with Solaris linker
15881             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15882               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15883               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15884                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15885                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15886                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15887
15888                 # Commands to make compiler produce verbose output that lists
15889                 # what "hidden" libraries, object files and flags are used when
15890                 # linking a shared library.
15891                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15892               else
15893                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15894                 # platform.
15895                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15896                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15897                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15898
15899                 # Commands to make compiler produce verbose output that lists
15900                 # what "hidden" libraries, object files and flags are used when
15901                 # linking a shared library.
15902                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15903               fi
15904
15905               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15906               case $host_os in
15907                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15908                 *)
15909                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15910                   ;;
15911               esac
15912             fi
15913             ;;
15914         esac
15915         ;;
15916
15917     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15918       no_undefined_flag_CXX='${wl}-z,text'
15919       archive_cmds_need_lc_CXX=no
15920       hardcode_shlibpath_var_CXX=no
15921       runpath_var='LD_RUN_PATH'
15922
15923       case $cc_basename in
15924         CC*)
15925           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15926           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15927           ;;
15928         *)
15929           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15930           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15931           ;;
15932       esac
15933       ;;
15934
15935       sysv5* | sco3.2v5* | sco5v6*)
15936         # Note: We can NOT use -z defs as we might desire, because we do not
15937         # link with -lc, and that would cause any symbols used from libc to
15938         # always be unresolved, which means just about no library would
15939         # ever link correctly.  If we're not using GNU ld we use -z text
15940         # though, which does catch some bad symbols but isn't as heavy-handed
15941         # as -z defs.
15942         no_undefined_flag_CXX='${wl}-z,text'
15943         allow_undefined_flag_CXX='${wl}-z,nodefs'
15944         archive_cmds_need_lc_CXX=no
15945         hardcode_shlibpath_var_CXX=no
15946         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15947         hardcode_libdir_separator_CXX=':'
15948         link_all_deplibs_CXX=yes
15949         export_dynamic_flag_spec_CXX='${wl}-Bexport'
15950         runpath_var='LD_RUN_PATH'
15951
15952         case $cc_basename in
15953           CC*)
15954             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15955             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15956             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15957               '"$old_archive_cmds_CXX"
15958             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15959               '"$reload_cmds_CXX"
15960             ;;
15961           *)
15962             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15963             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15964             ;;
15965         esac
15966       ;;
15967
15968       tandem*)
15969         case $cc_basename in
15970           NCC*)
15971             # NonStop-UX NCC 3.20
15972             # FIXME: insert proper C++ library support
15973             ld_shlibs_CXX=no
15974             ;;
15975           *)
15976             # FIXME: insert proper C++ library support
15977             ld_shlibs_CXX=no
15978             ;;
15979         esac
15980         ;;
15981
15982       vxworks*)
15983         # FIXME: insert proper C++ library support
15984         ld_shlibs_CXX=no
15985         ;;
15986
15987       *)
15988         # FIXME: insert proper C++ library support
15989         ld_shlibs_CXX=no
15990         ;;
15991     esac
15992
15993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15994 $as_echo "$ld_shlibs_CXX" >&6; }
15995     test "$ld_shlibs_CXX" = no && can_build_shared=no
15996
15997     GCC_CXX="$GXX"
15998     LD_CXX="$LD"
15999
16000     ## CAVEAT EMPTOR:
16001     ## There is no encapsulation within the following macros, do not change
16002     ## the running order or otherwise move them around unless you know exactly
16003     ## what you are doing...
16004     # Dependencies to place before and after the object being linked:
16005 predep_objects_CXX=
16006 postdep_objects_CXX=
16007 predeps_CXX=
16008 postdeps_CXX=
16009 compiler_lib_search_path_CXX=
16010
16011 cat > conftest.$ac_ext <<_LT_EOF
16012 class Foo
16013 {
16014 public:
16015   Foo (void) { a = 0; }
16016 private:
16017   int a;
16018 };
16019 _LT_EOF
16020
16021
16022 _lt_libdeps_save_CFLAGS=$CFLAGS
16023 case "$CC $CFLAGS " in #(
16024 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16025 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16026 esac
16027
16028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16029   (eval $ac_compile) 2>&5
16030   ac_status=$?
16031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16032   test $ac_status = 0; }; then
16033   # Parse the compiler output and extract the necessary
16034   # objects, libraries and library flags.
16035
16036   # Sentinel used to keep track of whether or not we are before
16037   # the conftest object file.
16038   pre_test_object_deps_done=no
16039
16040   for p in `eval "$output_verbose_link_cmd"`; do
16041     case ${prev}${p} in
16042
16043     -L* | -R* | -l*)
16044        # Some compilers place space between "-{L,R}" and the path.
16045        # Remove the space.
16046        if test $p = "-L" ||
16047           test $p = "-R"; then
16048          prev=$p
16049          continue
16050        fi
16051
16052        # Expand the sysroot to ease extracting the directories later.
16053        if test -z "$prev"; then
16054          case $p in
16055          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16056          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16057          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16058          esac
16059        fi
16060        case $p in
16061        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16062        esac
16063        if test "$pre_test_object_deps_done" = no; then
16064          case ${prev} in
16065          -L | -R)
16066            # Internal compiler library paths should come after those
16067            # provided the user.  The postdeps already come after the
16068            # user supplied libs so there is no need to process them.
16069            if test -z "$compiler_lib_search_path_CXX"; then
16070              compiler_lib_search_path_CXX="${prev}${p}"
16071            else
16072              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16073            fi
16074            ;;
16075          # The "-l" case would never come before the object being
16076          # linked, so don't bother handling this case.
16077          esac
16078        else
16079          if test -z "$postdeps_CXX"; then
16080            postdeps_CXX="${prev}${p}"
16081          else
16082            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16083          fi
16084        fi
16085        prev=
16086        ;;
16087
16088     *.lto.$objext) ;; # Ignore GCC LTO objects
16089     *.$objext)
16090        # This assumes that the test object file only shows up
16091        # once in the compiler output.
16092        if test "$p" = "conftest.$objext"; then
16093          pre_test_object_deps_done=yes
16094          continue
16095        fi
16096
16097        if test "$pre_test_object_deps_done" = no; then
16098          if test -z "$predep_objects_CXX"; then
16099            predep_objects_CXX="$p"
16100          else
16101            predep_objects_CXX="$predep_objects_CXX $p"
16102          fi
16103        else
16104          if test -z "$postdep_objects_CXX"; then
16105            postdep_objects_CXX="$p"
16106          else
16107            postdep_objects_CXX="$postdep_objects_CXX $p"
16108          fi
16109        fi
16110        ;;
16111
16112     *) ;; # Ignore the rest.
16113
16114     esac
16115   done
16116
16117   # Clean up.
16118   rm -f a.out a.exe
16119 else
16120   echo "libtool.m4: error: problem compiling CXX test program"
16121 fi
16122
16123 $RM -f confest.$objext
16124 CFLAGS=$_lt_libdeps_save_CFLAGS
16125
16126 # PORTME: override above test on systems where it is broken
16127 case $host_os in
16128 interix[3-9]*)
16129   # Interix 3.5 installs completely hosed .la files for C++, so rather than
16130   # hack all around it, let's just trust "g++" to DTRT.
16131   predep_objects_CXX=
16132   postdep_objects_CXX=
16133   postdeps_CXX=
16134   ;;
16135
16136 linux*)
16137   case `$CC -V 2>&1 | sed 5q` in
16138   *Sun\ C*)
16139     # Sun C++ 5.9
16140
16141     # The more standards-conforming stlport4 library is
16142     # incompatible with the Cstd library. Avoid specifying
16143     # it if it's in CXXFLAGS. Ignore libCrun as
16144     # -library=stlport4 depends on it.
16145     case " $CXX $CXXFLAGS " in
16146     *" -library=stlport4 "*)
16147       solaris_use_stlport4=yes
16148       ;;
16149     esac
16150
16151     if test "$solaris_use_stlport4" != yes; then
16152       postdeps_CXX='-library=Cstd -library=Crun'
16153     fi
16154     ;;
16155   esac
16156   ;;
16157
16158 solaris*)
16159   case $cc_basename in
16160   CC* | sunCC*)
16161     # The more standards-conforming stlport4 library is
16162     # incompatible with the Cstd library. Avoid specifying
16163     # it if it's in CXXFLAGS. Ignore libCrun as
16164     # -library=stlport4 depends on it.
16165     case " $CXX $CXXFLAGS " in
16166     *" -library=stlport4 "*)
16167       solaris_use_stlport4=yes
16168       ;;
16169     esac
16170
16171     # Adding this requires a known-good setup of shared libraries for
16172     # Sun compiler versions before 5.6, else PIC objects from an old
16173     # archive will be linked into the output, leading to subtle bugs.
16174     if test "$solaris_use_stlport4" != yes; then
16175       postdeps_CXX='-library=Cstd -library=Crun'
16176     fi
16177     ;;
16178   esac
16179   ;;
16180 esac
16181
16182
16183 case " $postdeps_CXX " in
16184 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16185 esac
16186  compiler_lib_search_dirs_CXX=
16187 if test -n "${compiler_lib_search_path_CXX}"; then
16188  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16189 fi
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221     lt_prog_compiler_wl_CXX=
16222 lt_prog_compiler_pic_CXX=
16223 lt_prog_compiler_static_CXX=
16224
16225
16226   # C++ specific cases for pic, static, wl, etc.
16227   if test "$GXX" = yes; then
16228     lt_prog_compiler_wl_CXX='-Wl,'
16229     lt_prog_compiler_static_CXX='-static'
16230
16231     case $host_os in
16232     aix*)
16233       # All AIX code is PIC.
16234       if test "$host_cpu" = ia64; then
16235         # AIX 5 now supports IA64 processor
16236         lt_prog_compiler_static_CXX='-Bstatic'
16237       fi
16238       ;;
16239
16240     amigaos*)
16241       case $host_cpu in
16242       powerpc)
16243             # see comment about AmigaOS4 .so support
16244             lt_prog_compiler_pic_CXX='-fPIC'
16245         ;;
16246       m68k)
16247             # FIXME: we need at least 68020 code to build shared libraries, but
16248             # adding the `-m68020' flag to GCC prevents building anything better,
16249             # like `-m68040'.
16250             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16251         ;;
16252       esac
16253       ;;
16254
16255     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16256       # PIC is the default for these OSes.
16257       ;;
16258     mingw* | cygwin* | os2* | pw32* | cegcc*)
16259       # This hack is so that the source file can tell whether it is being
16260       # built for inclusion in a dll (and should export symbols for example).
16261       # Although the cygwin gcc ignores -fPIC, still need this for old-style
16262       # (--disable-auto-import) libraries
16263       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16264       ;;
16265     darwin* | rhapsody*)
16266       # PIC is the default on this platform
16267       # Common symbols not allowed in MH_DYLIB files
16268       lt_prog_compiler_pic_CXX='-fno-common'
16269       ;;
16270     *djgpp*)
16271       # DJGPP does not support shared libraries at all
16272       lt_prog_compiler_pic_CXX=
16273       ;;
16274     haiku*)
16275       # PIC is the default for Haiku.
16276       # The "-static" flag exists, but is broken.
16277       lt_prog_compiler_static_CXX=
16278       ;;
16279     interix[3-9]*)
16280       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16281       # Instead, we relocate shared libraries at runtime.
16282       ;;
16283     sysv4*MP*)
16284       if test -d /usr/nec; then
16285         lt_prog_compiler_pic_CXX=-Kconform_pic
16286       fi
16287       ;;
16288     hpux*)
16289       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16290       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16291       # sets the default TLS model and affects inlining.
16292       case $host_cpu in
16293       hppa*64*)
16294         ;;
16295       *)
16296         lt_prog_compiler_pic_CXX='-fPIC'
16297         ;;
16298       esac
16299       ;;
16300     *qnx* | *nto*)
16301       # QNX uses GNU C++, but need to define -shared option too, otherwise
16302       # it will coredump.
16303       lt_prog_compiler_pic_CXX='-fPIC -shared'
16304       ;;
16305     *)
16306       lt_prog_compiler_pic_CXX='-fPIC'
16307       ;;
16308     esac
16309   else
16310     case $host_os in
16311       aix[4-9]*)
16312         # All AIX code is PIC.
16313         if test "$host_cpu" = ia64; then
16314           # AIX 5 now supports IA64 processor
16315           lt_prog_compiler_static_CXX='-Bstatic'
16316         else
16317           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16318         fi
16319         ;;
16320       chorus*)
16321         case $cc_basename in
16322         cxch68*)
16323           # Green Hills C++ Compiler
16324           # _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"
16325           ;;
16326         esac
16327         ;;
16328       mingw* | cygwin* | os2* | pw32* | cegcc*)
16329         # This hack is so that the source file can tell whether it is being
16330         # built for inclusion in a dll (and should export symbols for example).
16331         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16332         ;;
16333       dgux*)
16334         case $cc_basename in
16335           ec++*)
16336             lt_prog_compiler_pic_CXX='-KPIC'
16337             ;;
16338           ghcx*)
16339             # Green Hills C++ Compiler
16340             lt_prog_compiler_pic_CXX='-pic'
16341             ;;
16342           *)
16343             ;;
16344         esac
16345         ;;
16346       freebsd* | dragonfly*)
16347         # FreeBSD uses GNU C++
16348         ;;
16349       hpux9* | hpux10* | hpux11*)
16350         case $cc_basename in
16351           CC*)
16352             lt_prog_compiler_wl_CXX='-Wl,'
16353             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16354             if test "$host_cpu" != ia64; then
16355               lt_prog_compiler_pic_CXX='+Z'
16356             fi
16357             ;;
16358           aCC*)
16359             lt_prog_compiler_wl_CXX='-Wl,'
16360             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16361             case $host_cpu in
16362             hppa*64*|ia64*)
16363               # +Z the default
16364               ;;
16365             *)
16366               lt_prog_compiler_pic_CXX='+Z'
16367               ;;
16368             esac
16369             ;;
16370           *)
16371             ;;
16372         esac
16373         ;;
16374       interix*)
16375         # This is c89, which is MS Visual C++ (no shared libs)
16376         # Anyone wants to do a port?
16377         ;;
16378       irix5* | irix6* | nonstopux*)
16379         case $cc_basename in
16380           CC*)
16381             lt_prog_compiler_wl_CXX='-Wl,'
16382             lt_prog_compiler_static_CXX='-non_shared'
16383             # CC pic flag -KPIC is the default.
16384             ;;
16385           *)
16386             ;;
16387         esac
16388         ;;
16389       linux* | k*bsd*-gnu | kopensolaris*-gnu)
16390         case $cc_basename in
16391           KCC*)
16392             # KAI C++ Compiler
16393             lt_prog_compiler_wl_CXX='--backend -Wl,'
16394             lt_prog_compiler_pic_CXX='-fPIC'
16395             ;;
16396           ecpc* )
16397             # old Intel C++ for x86_64 which still supported -KPIC.
16398             lt_prog_compiler_wl_CXX='-Wl,'
16399             lt_prog_compiler_pic_CXX='-KPIC'
16400             lt_prog_compiler_static_CXX='-static'
16401             ;;
16402           icpc* )
16403             # Intel C++, used to be incompatible with GCC.
16404             # ICC 10 doesn't accept -KPIC any more.
16405             lt_prog_compiler_wl_CXX='-Wl,'
16406             lt_prog_compiler_pic_CXX='-fPIC'
16407             lt_prog_compiler_static_CXX='-static'
16408             ;;
16409           pgCC* | pgcpp*)
16410             # Portland Group C++ compiler
16411             lt_prog_compiler_wl_CXX='-Wl,'
16412             lt_prog_compiler_pic_CXX='-fpic'
16413             lt_prog_compiler_static_CXX='-Bstatic'
16414             ;;
16415           cxx*)
16416             # Compaq C++
16417             # Make sure the PIC flag is empty.  It appears that all Alpha
16418             # Linux and Compaq Tru64 Unix objects are PIC.
16419             lt_prog_compiler_pic_CXX=
16420             lt_prog_compiler_static_CXX='-non_shared'
16421             ;;
16422           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16423             # IBM XL 8.0, 9.0 on PPC and BlueGene
16424             lt_prog_compiler_wl_CXX='-Wl,'
16425             lt_prog_compiler_pic_CXX='-qpic'
16426             lt_prog_compiler_static_CXX='-qstaticlink'
16427             ;;
16428           *)
16429             case `$CC -V 2>&1 | sed 5q` in
16430             *Sun\ C*)
16431               # Sun C++ 5.9
16432               lt_prog_compiler_pic_CXX='-KPIC'
16433               lt_prog_compiler_static_CXX='-Bstatic'
16434               lt_prog_compiler_wl_CXX='-Qoption ld '
16435               ;;
16436             esac
16437             ;;
16438         esac
16439         ;;
16440       lynxos*)
16441         ;;
16442       m88k*)
16443         ;;
16444       mvs*)
16445         case $cc_basename in
16446           cxx*)
16447             lt_prog_compiler_pic_CXX='-W c,exportall'
16448             ;;
16449           *)
16450             ;;
16451         esac
16452         ;;
16453       netbsd*)
16454         ;;
16455       *qnx* | *nto*)
16456         # QNX uses GNU C++, but need to define -shared option too, otherwise
16457         # it will coredump.
16458         lt_prog_compiler_pic_CXX='-fPIC -shared'
16459         ;;
16460       osf3* | osf4* | osf5*)
16461         case $cc_basename in
16462           KCC*)
16463             lt_prog_compiler_wl_CXX='--backend -Wl,'
16464             ;;
16465           RCC*)
16466             # Rational C++ 2.4.1
16467             lt_prog_compiler_pic_CXX='-pic'
16468             ;;
16469           cxx*)
16470             # Digital/Compaq C++
16471             lt_prog_compiler_wl_CXX='-Wl,'
16472             # Make sure the PIC flag is empty.  It appears that all Alpha
16473             # Linux and Compaq Tru64 Unix objects are PIC.
16474             lt_prog_compiler_pic_CXX=
16475             lt_prog_compiler_static_CXX='-non_shared'
16476             ;;
16477           *)
16478             ;;
16479         esac
16480         ;;
16481       psos*)
16482         ;;
16483       solaris*)
16484         case $cc_basename in
16485           CC* | sunCC*)
16486             # Sun C++ 4.2, 5.x and Centerline C++
16487             lt_prog_compiler_pic_CXX='-KPIC'
16488             lt_prog_compiler_static_CXX='-Bstatic'
16489             lt_prog_compiler_wl_CXX='-Qoption ld '
16490             ;;
16491           gcx*)
16492             # Green Hills C++ Compiler
16493             lt_prog_compiler_pic_CXX='-PIC'
16494             ;;
16495           *)
16496             ;;
16497         esac
16498         ;;
16499       sunos4*)
16500         case $cc_basename in
16501           CC*)
16502             # Sun C++ 4.x
16503             lt_prog_compiler_pic_CXX='-pic'
16504             lt_prog_compiler_static_CXX='-Bstatic'
16505             ;;
16506           lcc*)
16507             # Lucid
16508             lt_prog_compiler_pic_CXX='-pic'
16509             ;;
16510           *)
16511             ;;
16512         esac
16513         ;;
16514       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16515         case $cc_basename in
16516           CC*)
16517             lt_prog_compiler_wl_CXX='-Wl,'
16518             lt_prog_compiler_pic_CXX='-KPIC'
16519             lt_prog_compiler_static_CXX='-Bstatic'
16520             ;;
16521         esac
16522         ;;
16523       tandem*)
16524         case $cc_basename in
16525           NCC*)
16526             # NonStop-UX NCC 3.20
16527             lt_prog_compiler_pic_CXX='-KPIC'
16528             ;;
16529           *)
16530             ;;
16531         esac
16532         ;;
16533       vxworks*)
16534         ;;
16535       *)
16536         lt_prog_compiler_can_build_shared_CXX=no
16537         ;;
16538     esac
16539   fi
16540
16541 case $host_os in
16542   # For platforms which do not support PIC, -DPIC is meaningless:
16543   *djgpp*)
16544     lt_prog_compiler_pic_CXX=
16545     ;;
16546   *)
16547     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16548     ;;
16549 esac
16550
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16552 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16553 if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then :
16554   $as_echo_n "(cached) " >&6
16555 else
16556   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16557 fi
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16559 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16560 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16561
16562 #
16563 # Check to make sure the PIC flag actually works.
16564 #
16565 if test -n "$lt_prog_compiler_pic_CXX"; then
16566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16567 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16568 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
16569   $as_echo_n "(cached) " >&6
16570 else
16571   lt_cv_prog_compiler_pic_works_CXX=no
16572    ac_outfile=conftest.$ac_objext
16573    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16574    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16575    # Insert the option either (1) after the last *FLAGS variable, or
16576    # (2) before a word containing "conftest.", or (3) at the end.
16577    # Note that $ac_compile itself does not contain backslashes and begins
16578    # with a dollar sign (not a hyphen), so the echo should work correctly.
16579    # The option is referenced via a variable to avoid confusing sed.
16580    lt_compile=`echo "$ac_compile" | $SED \
16581    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16582    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16583    -e 's:$: $lt_compiler_flag:'`
16584    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16585    (eval "$lt_compile" 2>conftest.err)
16586    ac_status=$?
16587    cat conftest.err >&5
16588    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589    if (exit $ac_status) && test -s "$ac_outfile"; then
16590      # The compiler can only warn and ignore the option if not recognized
16591      # So say no if there are warnings other than the usual output.
16592      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16593      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16594      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16595        lt_cv_prog_compiler_pic_works_CXX=yes
16596      fi
16597    fi
16598    $RM conftest*
16599
16600 fi
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16602 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16603
16604 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16605     case $lt_prog_compiler_pic_CXX in
16606      "" | " "*) ;;
16607      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16608      esac
16609 else
16610     lt_prog_compiler_pic_CXX=
16611      lt_prog_compiler_can_build_shared_CXX=no
16612 fi
16613
16614 fi
16615
16616
16617
16618
16619
16620 #
16621 # Check to make sure the static flag actually works.
16622 #
16623 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16625 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16626 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
16627   $as_echo_n "(cached) " >&6
16628 else
16629   lt_cv_prog_compiler_static_works_CXX=no
16630    save_LDFLAGS="$LDFLAGS"
16631    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16632    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16633    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16634      # The linker can only warn and ignore the option if not recognized
16635      # So say no if there are warnings
16636      if test -s conftest.err; then
16637        # Append any errors to the config.log.
16638        cat conftest.err 1>&5
16639        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16640        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16641        if diff conftest.exp conftest.er2 >/dev/null; then
16642          lt_cv_prog_compiler_static_works_CXX=yes
16643        fi
16644      else
16645        lt_cv_prog_compiler_static_works_CXX=yes
16646      fi
16647    fi
16648    $RM -r conftest*
16649    LDFLAGS="$save_LDFLAGS"
16650
16651 fi
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16653 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16654
16655 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16656     :
16657 else
16658     lt_prog_compiler_static_CXX=
16659 fi
16660
16661
16662
16663
16664     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16665 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16666 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16667   $as_echo_n "(cached) " >&6
16668 else
16669   lt_cv_prog_compiler_c_o_CXX=no
16670    $RM -r conftest 2>/dev/null
16671    mkdir conftest
16672    cd conftest
16673    mkdir out
16674    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16675
16676    lt_compiler_flag="-o out/conftest2.$ac_objext"
16677    # Insert the option either (1) after the last *FLAGS variable, or
16678    # (2) before a word containing "conftest.", or (3) at the end.
16679    # Note that $ac_compile itself does not contain backslashes and begins
16680    # with a dollar sign (not a hyphen), so the echo should work correctly.
16681    lt_compile=`echo "$ac_compile" | $SED \
16682    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16683    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16684    -e 's:$: $lt_compiler_flag:'`
16685    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16686    (eval "$lt_compile" 2>out/conftest.err)
16687    ac_status=$?
16688    cat out/conftest.err >&5
16689    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16691    then
16692      # The compiler can only warn and ignore the option if not recognized
16693      # So say no if there are warnings
16694      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16695      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16696      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16697        lt_cv_prog_compiler_c_o_CXX=yes
16698      fi
16699    fi
16700    chmod u+w . 2>&5
16701    $RM conftest*
16702    # SGI C++ compiler will create directory out/ii_files/ for
16703    # template instantiation
16704    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16705    $RM out/* && rmdir out
16706    cd ..
16707    $RM -r conftest
16708    $RM conftest*
16709
16710 fi
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16712 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16713
16714
16715
16716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16717 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16718 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16719   $as_echo_n "(cached) " >&6
16720 else
16721   lt_cv_prog_compiler_c_o_CXX=no
16722    $RM -r conftest 2>/dev/null
16723    mkdir conftest
16724    cd conftest
16725    mkdir out
16726    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16727
16728    lt_compiler_flag="-o out/conftest2.$ac_objext"
16729    # Insert the option either (1) after the last *FLAGS variable, or
16730    # (2) before a word containing "conftest.", or (3) at the end.
16731    # Note that $ac_compile itself does not contain backslashes and begins
16732    # with a dollar sign (not a hyphen), so the echo should work correctly.
16733    lt_compile=`echo "$ac_compile" | $SED \
16734    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16735    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16736    -e 's:$: $lt_compiler_flag:'`
16737    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16738    (eval "$lt_compile" 2>out/conftest.err)
16739    ac_status=$?
16740    cat out/conftest.err >&5
16741    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16743    then
16744      # The compiler can only warn and ignore the option if not recognized
16745      # So say no if there are warnings
16746      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16747      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16748      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16749        lt_cv_prog_compiler_c_o_CXX=yes
16750      fi
16751    fi
16752    chmod u+w . 2>&5
16753    $RM conftest*
16754    # SGI C++ compiler will create directory out/ii_files/ for
16755    # template instantiation
16756    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16757    $RM out/* && rmdir out
16758    cd ..
16759    $RM -r conftest
16760    $RM conftest*
16761
16762 fi
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16764 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16765
16766
16767
16768
16769 hard_links="nottested"
16770 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16771   # do not overwrite the value of need_locks provided by the user
16772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16773 $as_echo_n "checking if we can lock with hard links... " >&6; }
16774   hard_links=yes
16775   $RM conftest*
16776   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16777   touch conftest.a
16778   ln conftest.a conftest.b 2>&5 || hard_links=no
16779   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16781 $as_echo "$hard_links" >&6; }
16782   if test "$hard_links" = no; then
16783     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16784 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16785     need_locks=warn
16786   fi
16787 else
16788   need_locks=no
16789 fi
16790
16791
16792
16793     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16794 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16795
16796   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16797   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16798   case $host_os in
16799   aix[4-9]*)
16800     # If we're using GNU nm, then we don't want the "-C" option.
16801     # -C means demangle to AIX nm, but means don't demangle with GNU nm
16802     # Also, AIX nm treats weak defined symbols like other global defined
16803     # symbols, whereas GNU nm marks them as "W".
16804     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16805       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'
16806     else
16807       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'
16808     fi
16809     ;;
16810   pw32*)
16811     export_symbols_cmds_CXX="$ltdll_cmds"
16812     ;;
16813   cygwin* | mingw* | cegcc*)
16814     case $cc_basename in
16815     cl*) ;;
16816     *)
16817       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'
16818       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16819       ;;
16820     esac
16821     ;;
16822   *)
16823     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16824     ;;
16825   esac
16826
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16828 $as_echo "$ld_shlibs_CXX" >&6; }
16829 test "$ld_shlibs_CXX" = no && can_build_shared=no
16830
16831 with_gnu_ld_CXX=$with_gnu_ld
16832
16833
16834
16835
16836
16837
16838 #
16839 # Do we need to explicitly link libc?
16840 #
16841 case "x$archive_cmds_need_lc_CXX" in
16842 x|xyes)
16843   # Assume -lc should be added
16844   archive_cmds_need_lc_CXX=yes
16845
16846   if test "$enable_shared" = yes && test "$GCC" = yes; then
16847     case $archive_cmds_CXX in
16848     *'~'*)
16849       # FIXME: we may have to deal with multi-command sequences.
16850       ;;
16851     '$CC '*)
16852       # Test whether the compiler implicitly links with -lc since on some
16853       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16854       # to ld, don't add -lc before -lgcc.
16855       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16856 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16857 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
16858   $as_echo_n "(cached) " >&6
16859 else
16860   $RM conftest*
16861         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16862
16863         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16864   (eval $ac_compile) 2>&5
16865   ac_status=$?
16866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16867   test $ac_status = 0; } 2>conftest.err; then
16868           soname=conftest
16869           lib=conftest
16870           libobjs=conftest.$ac_objext
16871           deplibs=
16872           wl=$lt_prog_compiler_wl_CXX
16873           pic_flag=$lt_prog_compiler_pic_CXX
16874           compiler_flags=-v
16875           linker_flags=-v
16876           verstring=
16877           output_objdir=.
16878           libname=conftest
16879           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16880           allow_undefined_flag_CXX=
16881           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16882   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16883   ac_status=$?
16884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16885   test $ac_status = 0; }
16886           then
16887             lt_cv_archive_cmds_need_lc_CXX=no
16888           else
16889             lt_cv_archive_cmds_need_lc_CXX=yes
16890           fi
16891           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16892         else
16893           cat conftest.err 1>&5
16894         fi
16895         $RM conftest*
16896
16897 fi
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16899 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16900       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16901       ;;
16902     esac
16903   fi
16904   ;;
16905 esac
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
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16971 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16972
16973 library_names_spec=
16974 libname_spec='lib$name'
16975 soname_spec=
16976 shrext_cmds=".so"
16977 postinstall_cmds=
16978 postuninstall_cmds=
16979 finish_cmds=
16980 finish_eval=
16981 shlibpath_var=
16982 shlibpath_overrides_runpath=unknown
16983 version_type=none
16984 dynamic_linker="$host_os ld.so"
16985 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16986 need_lib_prefix=unknown
16987 hardcode_into_libs=no
16988
16989 # when you set need_version to no, make sure it does not cause -set_version
16990 # flags to be left without arguments
16991 need_version=unknown
16992
16993 case $host_os in
16994 aix3*)
16995   version_type=linux
16996   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16997   shlibpath_var=LIBPATH
16998
16999   # AIX 3 has no versioning support, so we append a major version to the name.
17000   soname_spec='${libname}${release}${shared_ext}$major'
17001   ;;
17002
17003 aix[4-9]*)
17004   version_type=linux
17005   need_lib_prefix=no
17006   need_version=no
17007   hardcode_into_libs=yes
17008   if test "$host_cpu" = ia64; then
17009     # AIX 5 supports IA64
17010     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17011     shlibpath_var=LD_LIBRARY_PATH
17012   else
17013     # With GCC up to 2.95.x, collect2 would create an import file
17014     # for dependence libraries.  The import file would start with
17015     # the line `#! .'.  This would cause the generated library to
17016     # depend on `.', always an invalid library.  This was fixed in
17017     # development snapshots of GCC prior to 3.0.
17018     case $host_os in
17019       aix4 | aix4.[01] | aix4.[01].*)
17020       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17021            echo ' yes '
17022            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17023         :
17024       else
17025         can_build_shared=no
17026       fi
17027       ;;
17028     esac
17029     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17030     # soname into executable. Probably we can add versioning support to
17031     # collect2, so additional links can be useful in future.
17032     if test "$aix_use_runtimelinking" = yes; then
17033       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17034       # instead of lib<name>.a to let people know that these are not
17035       # typical AIX shared libraries.
17036       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17037     else
17038       # We preserve .a as extension for shared libraries through AIX4.2
17039       # and later when we are not doing run time linking.
17040       library_names_spec='${libname}${release}.a $libname.a'
17041       soname_spec='${libname}${release}${shared_ext}$major'
17042     fi
17043     shlibpath_var=LIBPATH
17044   fi
17045   ;;
17046
17047 amigaos*)
17048   case $host_cpu in
17049   powerpc)
17050     # Since July 2007 AmigaOS4 officially supports .so libraries.
17051     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17052     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17053     ;;
17054   m68k)
17055     library_names_spec='$libname.ixlibrary $libname.a'
17056     # Create ${libname}_ixlibrary.a entries in /sys/libs.
17057     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'
17058     ;;
17059   esac
17060   ;;
17061
17062 beos*)
17063   library_names_spec='${libname}${shared_ext}'
17064   dynamic_linker="$host_os ld.so"
17065   shlibpath_var=LIBRARY_PATH
17066   ;;
17067
17068 bsdi[45]*)
17069   version_type=linux
17070   need_version=no
17071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17072   soname_spec='${libname}${release}${shared_ext}$major'
17073   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17074   shlibpath_var=LD_LIBRARY_PATH
17075   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17076   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17077   # the default ld.so.conf also contains /usr/contrib/lib and
17078   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17079   # libtool to hard-code these into programs
17080   ;;
17081
17082 cygwin* | mingw* | pw32* | cegcc*)
17083   version_type=windows
17084   shrext_cmds=".dll"
17085   need_version=no
17086   need_lib_prefix=no
17087
17088   case $GCC,$cc_basename in
17089   yes,*)
17090     # gcc
17091     library_names_spec='$libname.dll.a'
17092     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17093     postinstall_cmds='base_file=`basename \${file}`~
17094       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17095       dldir=$destdir/`dirname \$dlpath`~
17096       test -d \$dldir || mkdir -p \$dldir~
17097       $install_prog $dir/$dlname \$dldir/$dlname~
17098       chmod a+x \$dldir/$dlname~
17099       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17100         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17101       fi'
17102     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17103       dlpath=$dir/\$dldll~
17104        $RM \$dlpath'
17105     shlibpath_overrides_runpath=yes
17106
17107     case $host_os in
17108     cygwin*)
17109       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17110       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17111
17112       ;;
17113     mingw* | cegcc*)
17114       # MinGW DLLs use traditional 'lib' prefix
17115       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17116       ;;
17117     pw32*)
17118       # pw32 DLLs use 'pw' prefix rather than 'lib'
17119       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17120       ;;
17121     esac
17122     dynamic_linker='Win32 ld.exe'
17123     ;;
17124
17125   *,cl*)
17126     # Native MSVC
17127     libname_spec='$name'
17128     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17129     library_names_spec='${libname}.dll.lib'
17130
17131     case $build_os in
17132     mingw*)
17133       sys_lib_search_path_spec=
17134       lt_save_ifs=$IFS
17135       IFS=';'
17136       for lt_path in $LIB
17137       do
17138         IFS=$lt_save_ifs
17139         # Let DOS variable expansion print the short 8.3 style file name.
17140         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17141         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17142       done
17143       IFS=$lt_save_ifs
17144       # Convert to MSYS style.
17145       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17146       ;;
17147     cygwin*)
17148       # Convert to unix form, then to dos form, then back to unix form
17149       # but this time dos style (no spaces!) so that the unix form looks
17150       # like /cygdrive/c/PROGRA~1:/cygdr...
17151       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17152       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17153       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17154       ;;
17155     *)
17156       sys_lib_search_path_spec="$LIB"
17157       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17158         # It is most probably a Windows format PATH.
17159         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17160       else
17161         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17162       fi
17163       # FIXME: find the short name or the path components, as spaces are
17164       # common. (e.g. "Program Files" -> "PROGRA~1")
17165       ;;
17166     esac
17167
17168     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17169     postinstall_cmds='base_file=`basename \${file}`~
17170       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17171       dldir=$destdir/`dirname \$dlpath`~
17172       test -d \$dldir || mkdir -p \$dldir~
17173       $install_prog $dir/$dlname \$dldir/$dlname'
17174     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17175       dlpath=$dir/\$dldll~
17176        $RM \$dlpath'
17177     shlibpath_overrides_runpath=yes
17178     dynamic_linker='Win32 link.exe'
17179     ;;
17180
17181   *)
17182     # Assume MSVC wrapper
17183     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17184     dynamic_linker='Win32 ld.exe'
17185     ;;
17186   esac
17187   # FIXME: first we should search . and the directory the executable is in
17188   shlibpath_var=PATH
17189   ;;
17190
17191 darwin* | rhapsody*)
17192   dynamic_linker="$host_os dyld"
17193   version_type=darwin
17194   need_lib_prefix=no
17195   need_version=no
17196   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17197   soname_spec='${libname}${release}${major}$shared_ext'
17198   shlibpath_overrides_runpath=yes
17199   shlibpath_var=DYLD_LIBRARY_PATH
17200   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17201
17202   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17203   ;;
17204
17205 dgux*)
17206   version_type=linux
17207   need_lib_prefix=no
17208   need_version=no
17209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17210   soname_spec='${libname}${release}${shared_ext}$major'
17211   shlibpath_var=LD_LIBRARY_PATH
17212   ;;
17213
17214 freebsd1*)
17215   dynamic_linker=no
17216   ;;
17217
17218 freebsd* | dragonfly*)
17219   # DragonFly does not have aout.  When/if they implement a new
17220   # versioning mechanism, adjust this.
17221   if test -x /usr/bin/objformat; then
17222     objformat=`/usr/bin/objformat`
17223   else
17224     case $host_os in
17225     freebsd[123]*) objformat=aout ;;
17226     *) objformat=elf ;;
17227     esac
17228   fi
17229   version_type=freebsd-$objformat
17230   case $version_type in
17231     freebsd-elf*)
17232       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17233       need_version=no
17234       need_lib_prefix=no
17235       ;;
17236     freebsd-*)
17237       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17238       need_version=yes
17239       ;;
17240   esac
17241   shlibpath_var=LD_LIBRARY_PATH
17242   case $host_os in
17243   freebsd2*)
17244     shlibpath_overrides_runpath=yes
17245     ;;
17246   freebsd3.[01]* | freebsdelf3.[01]*)
17247     shlibpath_overrides_runpath=yes
17248     hardcode_into_libs=yes
17249     ;;
17250   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17251   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17252     shlibpath_overrides_runpath=no
17253     hardcode_into_libs=yes
17254     ;;
17255   *) # from 4.6 on, and DragonFly
17256     shlibpath_overrides_runpath=yes
17257     hardcode_into_libs=yes
17258     ;;
17259   esac
17260   ;;
17261
17262 gnu*)
17263   version_type=linux
17264   need_lib_prefix=no
17265   need_version=no
17266   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17267   soname_spec='${libname}${release}${shared_ext}$major'
17268   shlibpath_var=LD_LIBRARY_PATH
17269   hardcode_into_libs=yes
17270   ;;
17271
17272 haiku*)
17273   version_type=linux
17274   need_lib_prefix=no
17275   need_version=no
17276   dynamic_linker="$host_os runtime_loader"
17277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17278   soname_spec='${libname}${release}${shared_ext}$major'
17279   shlibpath_var=LIBRARY_PATH
17280   shlibpath_overrides_runpath=yes
17281   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17282   hardcode_into_libs=yes
17283   ;;
17284
17285 hpux9* | hpux10* | hpux11*)
17286   # Give a soname corresponding to the major version so that dld.sl refuses to
17287   # link against other versions.
17288   version_type=sunos
17289   need_lib_prefix=no
17290   need_version=no
17291   case $host_cpu in
17292   ia64*)
17293     shrext_cmds='.so'
17294     hardcode_into_libs=yes
17295     dynamic_linker="$host_os dld.so"
17296     shlibpath_var=LD_LIBRARY_PATH
17297     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17298     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17299     soname_spec='${libname}${release}${shared_ext}$major'
17300     if test "X$HPUX_IA64_MODE" = X32; then
17301       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17302     else
17303       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17304     fi
17305     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17306     ;;
17307   hppa*64*)
17308     shrext_cmds='.sl'
17309     hardcode_into_libs=yes
17310     dynamic_linker="$host_os dld.sl"
17311     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17312     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17313     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17314     soname_spec='${libname}${release}${shared_ext}$major'
17315     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17316     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17317     ;;
17318   *)
17319     shrext_cmds='.sl'
17320     dynamic_linker="$host_os dld.sl"
17321     shlibpath_var=SHLIB_PATH
17322     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17323     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17324     soname_spec='${libname}${release}${shared_ext}$major'
17325     ;;
17326   esac
17327   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17328   postinstall_cmds='chmod 555 $lib'
17329   # or fails outright, so override atomically:
17330   install_override_mode=555
17331   ;;
17332
17333 interix[3-9]*)
17334   version_type=linux
17335   need_lib_prefix=no
17336   need_version=no
17337   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17338   soname_spec='${libname}${release}${shared_ext}$major'
17339   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17340   shlibpath_var=LD_LIBRARY_PATH
17341   shlibpath_overrides_runpath=no
17342   hardcode_into_libs=yes
17343   ;;
17344
17345 irix5* | irix6* | nonstopux*)
17346   case $host_os in
17347     nonstopux*) version_type=nonstopux ;;
17348     *)
17349         if test "$lt_cv_prog_gnu_ld" = yes; then
17350                 version_type=linux
17351         else
17352                 version_type=irix
17353         fi ;;
17354   esac
17355   need_lib_prefix=no
17356   need_version=no
17357   soname_spec='${libname}${release}${shared_ext}$major'
17358   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17359   case $host_os in
17360   irix5* | nonstopux*)
17361     libsuff= shlibsuff=
17362     ;;
17363   *)
17364     case $LD in # libtool.m4 will add one of these switches to LD
17365     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17366       libsuff= shlibsuff= libmagic=32-bit;;
17367     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17368       libsuff=32 shlibsuff=N32 libmagic=N32;;
17369     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17370       libsuff=64 shlibsuff=64 libmagic=64-bit;;
17371     *) libsuff= shlibsuff= libmagic=never-match;;
17372     esac
17373     ;;
17374   esac
17375   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17376   shlibpath_overrides_runpath=no
17377   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17378   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17379   hardcode_into_libs=yes
17380   ;;
17381
17382 # No shared lib support for Linux oldld, aout, or coff.
17383 linux*oldld* | linux*aout* | linux*coff*)
17384   dynamic_linker=no
17385   ;;
17386
17387 # This must be Linux ELF.
17388 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17389   version_type=linux
17390   need_lib_prefix=no
17391   need_version=no
17392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17393   soname_spec='${libname}${release}${shared_ext}$major'
17394   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17395   shlibpath_var=LD_LIBRARY_PATH
17396   shlibpath_overrides_runpath=no
17397
17398   # Some binutils ld are patched to set DT_RUNPATH
17399   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
17400   $as_echo_n "(cached) " >&6
17401 else
17402   lt_cv_shlibpath_overrides_runpath=no
17403     save_LDFLAGS=$LDFLAGS
17404     save_libdir=$libdir
17405     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17406          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17407     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h.  */
17409
17410 int
17411 main ()
17412 {
17413
17414   ;
17415   return 0;
17416 }
17417 _ACEOF
17418 if ac_fn_cxx_try_link "$LINENO"; then :
17419   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17420   lt_cv_shlibpath_overrides_runpath=yes
17421 fi
17422 fi
17423 rm -f core conftest.err conftest.$ac_objext \
17424     conftest$ac_exeext conftest.$ac_ext
17425     LDFLAGS=$save_LDFLAGS
17426     libdir=$save_libdir
17427
17428 fi
17429
17430   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17431
17432   # This implies no fast_install, which is unacceptable.
17433   # Some rework will be needed to allow for fast_install
17434   # before this can be enabled.
17435   hardcode_into_libs=yes
17436
17437   # Append ld.so.conf contents to the search path
17438   if test -f /etc/ld.so.conf; then
17439     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' ' '`
17440     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17441   fi
17442
17443   # We used to test for /lib/ld.so.1 and disable shared libraries on
17444   # powerpc, because MkLinux only supported shared libraries with the
17445   # GNU dynamic linker.  Since this was broken with cross compilers,
17446   # most powerpc-linux boxes support dynamic linking these days and
17447   # people can always --disable-shared, the test was removed, and we
17448   # assume the GNU/Linux dynamic linker is in use.
17449   dynamic_linker='GNU/Linux ld.so'
17450   ;;
17451
17452 netbsd*)
17453   version_type=sunos
17454   need_lib_prefix=no
17455   need_version=no
17456   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17457     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17458     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17459     dynamic_linker='NetBSD (a.out) ld.so'
17460   else
17461     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17462     soname_spec='${libname}${release}${shared_ext}$major'
17463     dynamic_linker='NetBSD ld.elf_so'
17464   fi
17465   shlibpath_var=LD_LIBRARY_PATH
17466   shlibpath_overrides_runpath=yes
17467   hardcode_into_libs=yes
17468   ;;
17469
17470 newsos6)
17471   version_type=linux
17472   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17473   shlibpath_var=LD_LIBRARY_PATH
17474   shlibpath_overrides_runpath=yes
17475   ;;
17476
17477 *nto* | *qnx*)
17478   version_type=qnx
17479   need_lib_prefix=no
17480   need_version=no
17481   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17482   soname_spec='${libname}${release}${shared_ext}$major'
17483   shlibpath_var=LD_LIBRARY_PATH
17484   shlibpath_overrides_runpath=no
17485   hardcode_into_libs=yes
17486   dynamic_linker='ldqnx.so'
17487   ;;
17488
17489 openbsd*)
17490   version_type=sunos
17491   sys_lib_dlsearch_path_spec="/usr/lib"
17492   need_lib_prefix=no
17493   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17494   case $host_os in
17495     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
17496     *)                          need_version=no  ;;
17497   esac
17498   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17499   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17500   shlibpath_var=LD_LIBRARY_PATH
17501   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17502     case $host_os in
17503       openbsd2.[89] | openbsd2.[89].*)
17504         shlibpath_overrides_runpath=no
17505         ;;
17506       *)
17507         shlibpath_overrides_runpath=yes
17508         ;;
17509       esac
17510   else
17511     shlibpath_overrides_runpath=yes
17512   fi
17513   ;;
17514
17515 os2*)
17516   libname_spec='$name'
17517   shrext_cmds=".dll"
17518   need_lib_prefix=no
17519   library_names_spec='$libname${shared_ext} $libname.a'
17520   dynamic_linker='OS/2 ld.exe'
17521   shlibpath_var=LIBPATH
17522   ;;
17523
17524 osf3* | osf4* | osf5*)
17525   version_type=osf
17526   need_lib_prefix=no
17527   need_version=no
17528   soname_spec='${libname}${release}${shared_ext}$major'
17529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17530   shlibpath_var=LD_LIBRARY_PATH
17531   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17532   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17533   ;;
17534
17535 rdos*)
17536   dynamic_linker=no
17537   ;;
17538
17539 solaris*)
17540   version_type=linux
17541   need_lib_prefix=no
17542   need_version=no
17543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17544   soname_spec='${libname}${release}${shared_ext}$major'
17545   shlibpath_var=LD_LIBRARY_PATH
17546   shlibpath_overrides_runpath=yes
17547   hardcode_into_libs=yes
17548   # ldd complains unless libraries are executable
17549   postinstall_cmds='chmod +x $lib'
17550   ;;
17551
17552 sunos4*)
17553   version_type=sunos
17554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17555   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17556   shlibpath_var=LD_LIBRARY_PATH
17557   shlibpath_overrides_runpath=yes
17558   if test "$with_gnu_ld" = yes; then
17559     need_lib_prefix=no
17560   fi
17561   need_version=yes
17562   ;;
17563
17564 sysv4 | sysv4.3*)
17565   version_type=linux
17566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17567   soname_spec='${libname}${release}${shared_ext}$major'
17568   shlibpath_var=LD_LIBRARY_PATH
17569   case $host_vendor in
17570     sni)
17571       shlibpath_overrides_runpath=no
17572       need_lib_prefix=no
17573       runpath_var=LD_RUN_PATH
17574       ;;
17575     siemens)
17576       need_lib_prefix=no
17577       ;;
17578     motorola)
17579       need_lib_prefix=no
17580       need_version=no
17581       shlibpath_overrides_runpath=no
17582       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17583       ;;
17584   esac
17585   ;;
17586
17587 sysv4*MP*)
17588   if test -d /usr/nec ;then
17589     version_type=linux
17590     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17591     soname_spec='$libname${shared_ext}.$major'
17592     shlibpath_var=LD_LIBRARY_PATH
17593   fi
17594   ;;
17595
17596 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17597   version_type=freebsd-elf
17598   need_lib_prefix=no
17599   need_version=no
17600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17601   soname_spec='${libname}${release}${shared_ext}$major'
17602   shlibpath_var=LD_LIBRARY_PATH
17603   shlibpath_overrides_runpath=yes
17604   hardcode_into_libs=yes
17605   if test "$with_gnu_ld" = yes; then
17606     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17607   else
17608     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17609     case $host_os in
17610       sco3.2v5*)
17611         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17612         ;;
17613     esac
17614   fi
17615   sys_lib_dlsearch_path_spec='/usr/lib'
17616   ;;
17617
17618 tpf*)
17619   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17620   version_type=linux
17621   need_lib_prefix=no
17622   need_version=no
17623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17624   shlibpath_var=LD_LIBRARY_PATH
17625   shlibpath_overrides_runpath=no
17626   hardcode_into_libs=yes
17627   ;;
17628
17629 uts4*)
17630   version_type=linux
17631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17632   soname_spec='${libname}${release}${shared_ext}$major'
17633   shlibpath_var=LD_LIBRARY_PATH
17634   ;;
17635
17636 *)
17637   dynamic_linker=no
17638   ;;
17639 esac
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17641 $as_echo "$dynamic_linker" >&6; }
17642 test "$dynamic_linker" = no && can_build_shared=no
17643
17644 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17645 if test "$GCC" = yes; then
17646   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17647 fi
17648
17649 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17650   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17651 fi
17652 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17653   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17654 fi
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17694 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17695 hardcode_action_CXX=
17696 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17697    test -n "$runpath_var_CXX" ||
17698    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17699
17700   # We can hardcode non-existent directories.
17701   if test "$hardcode_direct_CXX" != no &&
17702      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17703      # have to relink, otherwise we might link with an installed library
17704      # when we should be linking with a yet-to-be-installed one
17705      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17706      test "$hardcode_minus_L_CXX" != no; then
17707     # Linking always hardcodes the temporary library directory.
17708     hardcode_action_CXX=relink
17709   else
17710     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17711     hardcode_action_CXX=immediate
17712   fi
17713 else
17714   # We cannot hardcode anything, or else we can only hardcode existing
17715   # directories.
17716   hardcode_action_CXX=unsupported
17717 fi
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17719 $as_echo "$hardcode_action_CXX" >&6; }
17720
17721 if test "$hardcode_action_CXX" = relink ||
17722    test "$inherit_rpath_CXX" = yes; then
17723   # Fast installation is not supported
17724   enable_fast_install=no
17725 elif test "$shlibpath_overrides_runpath" = yes ||
17726      test "$enable_shared" = no; then
17727   # Fast installation is not necessary
17728   enable_fast_install=needless
17729 fi
17730
17731
17732
17733
17734
17735
17736
17737   fi # test -n "$compiler"
17738
17739   CC=$lt_save_CC
17740   CFLAGS=$lt_save_CFLAGS
17741   LDCXX=$LD
17742   LD=$lt_save_LD
17743   GCC=$lt_save_GCC
17744   with_gnu_ld=$lt_save_with_gnu_ld
17745   lt_cv_path_LDCXX=$lt_cv_path_LD
17746   lt_cv_path_LD=$lt_save_path_LD
17747   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17748   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17749 fi # test "$_lt_caught_CXX_error" != yes
17750
17751 ac_ext=c
17752 ac_cpp='$CPP $CPPFLAGS'
17753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17756
17757
17758
17759
17760 if test "$GCC" = "yes" ; then
17761 #    AC_HAVE_GCC_VERSION(4,0,0,0,
17762 #        [
17763 #        AC_DEFINE(GCC_HASCLASSVISIBILITY,1,
17764 #            [Define to enable class visibility control in gcc.])
17765 #        GCC_CFLAGS="$GCC_CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17766 #        GCC_CXXFLAGS="$GCC_CXXFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
17767 #        ])
17768     CFLAGS="$GCC_CFLAGS"
17769     CXXFLAGS="$GCC_CXXFLAGS"
17770 else
17771 # Fix for Sun Workshop compiler in debug mode, may be Sun case #6360993
17772         case "${host_cpu}-${host_os}" in
17773                 *solaris*)
17774                         if test "$CXX" = "CC" ; then
17775                                 CXXFLAGS="$CXXFLAGS -Qoption ccfe -stabs=no%dfltlit+no%dflthlp"
17776                         fi
17777                 ;;
17778         esac
17779 fi
17780
17781 # Checks for typedefs, structures, and compiler characteristics.
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17783 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17784 if test "${ac_cv_c_const+set}" = set; then :
17785   $as_echo_n "(cached) " >&6
17786 else
17787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h.  */
17789
17790 int
17791 main ()
17792 {
17793 /* FIXME: Include the comments suggested by Paul. */
17794 #ifndef __cplusplus
17795   /* Ultrix mips cc rejects this.  */
17796   typedef int charset[2];
17797   const charset cs;
17798   /* SunOS 4.1.1 cc rejects this.  */
17799   char const *const *pcpcc;
17800   char **ppc;
17801   /* NEC SVR4.0.2 mips cc rejects this.  */
17802   struct point {int x, y;};
17803   static struct point const zero = {0,0};
17804   /* AIX XL C 1.02.0.0 rejects this.
17805      It does not let you subtract one const X* pointer from another in
17806      an arm of an if-expression whose if-part is not a constant
17807      expression */
17808   const char *g = "string";
17809   pcpcc = &g + (g ? g-g : 0);
17810   /* HPUX 7.0 cc rejects these. */
17811   ++pcpcc;
17812   ppc = (char**) pcpcc;
17813   pcpcc = (char const *const *) ppc;
17814   { /* SCO 3.2v4 cc rejects this.  */
17815     char *t;
17816     char const *s = 0 ? (char *) 0 : (char const *) 0;
17817
17818     *t++ = 0;
17819     if (s) return 0;
17820   }
17821   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17822     int x[] = {25, 17};
17823     const int *foo = &x[0];
17824     ++foo;
17825   }
17826   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17827     typedef const int *iptr;
17828     iptr p = 0;
17829     ++p;
17830   }
17831   { /* AIX XL C 1.02.0.0 rejects this saying
17832        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17833     struct s { int j; const int *ap[3]; };
17834     struct s *b; b->j = 5;
17835   }
17836   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17837     const int foo = 10;
17838     if (!foo) return 0;
17839   }
17840   return !cs[0] && !zero.x;
17841 #endif
17842
17843   ;
17844   return 0;
17845 }
17846 _ACEOF
17847 if ac_fn_c_try_compile "$LINENO"; then :
17848   ac_cv_c_const=yes
17849 else
17850   ac_cv_c_const=no
17851 fi
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853 fi
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17855 $as_echo "$ac_cv_c_const" >&6; }
17856 if test $ac_cv_c_const = no; then
17857
17858 $as_echo "#define const /**/" >>confdefs.h
17859
17860 fi
17861
17862 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17863 if test "x$ac_cv_type_size_t" = x""yes; then :
17864
17865 else
17866
17867 cat >>confdefs.h <<_ACEOF
17868 #define size_t unsigned int
17869 _ACEOF
17870
17871 fi
17872
17873
17874 # Checks for library functions.
17875 for ac_func in strchr strdup strstr
17876 do :
17877   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17879 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17880   cat >>confdefs.h <<_ACEOF
17881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17882 _ACEOF
17883
17884 fi
17885 done
17886
17887 # The cast to long int works around a bug in the HP C Compiler
17888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17889 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17890 # This bug is HP SR number 8606223364.
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
17892 $as_echo_n "checking size of time_t... " >&6; }
17893 if test "${ac_cv_sizeof_time_t+set}" = set; then :
17894   $as_echo_n "(cached) " >&6
17895 else
17896   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t"        "$ac_includes_default"; then :
17897
17898 else
17899   if test "$ac_cv_type_time_t" = yes; then
17900      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17902 as_fn_error 77 "cannot compute sizeof (time_t)
17903 See \`config.log' for more details" "$LINENO" 5 ; }
17904    else
17905      ac_cv_sizeof_time_t=0
17906    fi
17907 fi
17908
17909 fi
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
17911 $as_echo "$ac_cv_sizeof_time_t" >&6; }
17912
17913
17914
17915 cat >>confdefs.h <<_ACEOF
17916 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
17917 _ACEOF
17918
17919
17920
17921 # checks for pthreads
17922
17923
17924 ac_ext=c
17925 ac_cpp='$CPP $CPPFLAGS'
17926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17929
17930 acx_pthread_ok=no
17931
17932 # We used to check for pthread.h first, but this fails if pthread.h
17933 # requires special compiler flags (e.g. on True64 or Sequent).
17934 # It gets checked for in the link test anyway.
17935
17936 # First of all, check if the user has set any of the PTHREAD_LIBS,
17937 # etcetera environment variables, and if threads linking works using
17938 # them:
17939 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17940         save_CFLAGS="$CFLAGS"
17941         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17942         save_LIBS="$LIBS"
17943         LIBS="$PTHREAD_LIBS $LIBS"
17944         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17945 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17946         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h.  */
17948
17949 /* Override any GCC internal prototype to avoid an error.
17950    Use char because int might match the return type of a GCC
17951    builtin and then its argument prototype would still apply.  */
17952 #ifdef __cplusplus
17953 extern "C"
17954 #endif
17955 char pthread_join ();
17956 int
17957 main ()
17958 {
17959 return pthread_join ();
17960   ;
17961   return 0;
17962 }
17963 _ACEOF
17964 if ac_fn_c_try_link "$LINENO"; then :
17965   acx_pthread_ok=yes
17966 fi
17967 rm -f core conftest.err conftest.$ac_objext \
17968     conftest$ac_exeext conftest.$ac_ext
17969         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17970 $as_echo "$acx_pthread_ok" >&6; }
17971         if test x"$acx_pthread_ok" = xno; then
17972                 PTHREAD_LIBS=""
17973                 PTHREAD_CFLAGS=""
17974         fi
17975         LIBS="$save_LIBS"
17976         CFLAGS="$save_CFLAGS"
17977 fi
17978
17979 # We must check for the threads library under a number of different
17980 # names; the ordering is very important because some systems
17981 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17982 # libraries is broken (non-POSIX).
17983
17984 # Create a list of thread flags to try.  Items starting with a "-" are
17985 # C compiler flags, and other items are library names, except for "none"
17986 # which indicates that we try without any flags at all, and "pthread-config"
17987 # which is a program returning the flags for the Pth emulation library.
17988
17989 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17990
17991 # The ordering *is* (sometimes) important.  Some notes on the
17992 # individual items follow:
17993
17994 # pthreads: AIX (must check this before -lpthread)
17995 # none: in case threads are in libc; should be tried before -Kthread and
17996 #       other compiler flags to prevent continual compiler warnings
17997 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17998 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17999 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18000 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
18001 # -pthreads: Solaris/gcc
18002 # -mthreads: Mingw32/gcc, Lynx/gcc
18003 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18004 #      doesn't hurt to check since this sometimes defines pthreads too;
18005 #      also defines -D_REENTRANT)
18006 #      ... -mt is also the pthreads flag for HP/aCC
18007 # pthread: Linux, etcetera
18008 # --thread-safe: KAI C++
18009 # pthread-config: use pthread-config program (for GNU Pth library)
18010
18011 case "${host_cpu}-${host_os}" in
18012         *solaris*)
18013
18014         # On Solaris (at least, for some versions), libc contains stubbed
18015         # (non-functional) versions of the pthreads routines, so link-based
18016         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
18017         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
18018         # a function called by this macro, so we could check for that, but
18019         # who knows whether they'll stub that too in a future libc.)  So,
18020         # we'll just look for -pthreads and -lpthread first:
18021
18022         acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
18023         ;;
18024 esac
18025
18026 if test x"$acx_pthread_ok" = xno; then
18027 for flag in $acx_pthread_flags; do
18028
18029         case $flag in
18030                 none)
18031                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18032 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
18033                 ;;
18034
18035                 -*)
18036                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18037 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
18038                 PTHREAD_CFLAGS="$flag"
18039                 ;;
18040
18041                 pthread-config)
18042                 # Extract the first word of "pthread-config", so it can be a program name with args.
18043 set dummy pthread-config; ac_word=$2
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18045 $as_echo_n "checking for $ac_word... " >&6; }
18046 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
18047   $as_echo_n "(cached) " >&6
18048 else
18049   if test -n "$acx_pthread_config"; then
18050   ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
18051 else
18052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18053 for as_dir in $PATH
18054 do
18055   IFS=$as_save_IFS
18056   test -z "$as_dir" && as_dir=.
18057     for ac_exec_ext in '' $ac_executable_extensions; do
18058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18059     ac_cv_prog_acx_pthread_config="yes"
18060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18061     break 2
18062   fi
18063 done
18064   done
18065 IFS=$as_save_IFS
18066
18067   test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
18068 fi
18069 fi
18070 acx_pthread_config=$ac_cv_prog_acx_pthread_config
18071 if test -n "$acx_pthread_config"; then
18072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
18073 $as_echo "$acx_pthread_config" >&6; }
18074 else
18075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18076 $as_echo "no" >&6; }
18077 fi
18078
18079
18080                 if test x"$acx_pthread_config" = xno; then continue; fi
18081                 PTHREAD_CFLAGS="`pthread-config --cflags`"
18082                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18083                 ;;
18084
18085                 *)
18086                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
18087 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
18088                 PTHREAD_LIBS="-l$flag"
18089                 ;;
18090         esac
18091
18092         save_LIBS="$LIBS"
18093         save_CFLAGS="$CFLAGS"
18094         LIBS="$PTHREAD_LIBS $LIBS"
18095         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18096
18097         # Check for various functions.  We must include pthread.h,
18098         # since some functions may be macros.  (On the Sequent, we
18099         # need a special flag -Kthread to make this header compile.)
18100         # We check for pthread_join because it is in -lpthread on IRIX
18101         # while pthread_create is in libc.  We check for pthread_attr_init
18102         # due to DEC craziness with -lpthreads.  We check for
18103         # pthread_cleanup_push because it is one of the few pthread
18104         # functions on Solaris that doesn't have a non-functional libc stub.
18105         # We try pthread_create on general principles.
18106         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18107 /* end confdefs.h.  */
18108 #include <pthread.h>
18109 int
18110 main ()
18111 {
18112 pthread_t th; pthread_join(th, 0);
18113                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
18114                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
18115   ;
18116   return 0;
18117 }
18118 _ACEOF
18119 if ac_fn_c_try_link "$LINENO"; then :
18120   acx_pthread_ok=yes
18121 fi
18122 rm -f core conftest.err conftest.$ac_objext \
18123     conftest$ac_exeext conftest.$ac_ext
18124
18125         LIBS="$save_LIBS"
18126         CFLAGS="$save_CFLAGS"
18127
18128         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18129 $as_echo "$acx_pthread_ok" >&6; }
18130         if test "x$acx_pthread_ok" = xyes; then
18131                 break;
18132         fi
18133
18134         PTHREAD_LIBS=""
18135         PTHREAD_CFLAGS=""
18136 done
18137 fi
18138
18139 # Various other checks:
18140 if test "x$acx_pthread_ok" = xyes; then
18141         save_LIBS="$LIBS"
18142         LIBS="$PTHREAD_LIBS $LIBS"
18143         save_CFLAGS="$CFLAGS"
18144         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18145
18146         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
18147         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18148 $as_echo_n "checking for joinable pthread attribute... " >&6; }
18149         attr_name=unknown
18150         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
18151             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h.  */
18153 #include <pthread.h>
18154 int
18155 main ()
18156 {
18157 int attr=$attr; return attr;
18158   ;
18159   return 0;
18160 }
18161 _ACEOF
18162 if ac_fn_c_try_link "$LINENO"; then :
18163   attr_name=$attr; break
18164 fi
18165 rm -f core conftest.err conftest.$ac_objext \
18166     conftest$ac_exeext conftest.$ac_ext
18167         done
18168         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
18169 $as_echo "$attr_name" >&6; }
18170         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
18171
18172 cat >>confdefs.h <<_ACEOF
18173 #define PTHREAD_CREATE_JOINABLE $attr_name
18174 _ACEOF
18175
18176         fi
18177
18178         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
18179 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
18180         flag=no
18181         case "${host_cpu}-${host_os}" in
18182                 *-aix* | *-freebsd*)     flag="-D_THREAD_SAFE";;
18183                 *-osf* | *-hpux*) flag="-D_REENTRANT";;
18184                 *solaris*)
18185                 if test "$GCC" = "yes"; then
18186                     flag="-D_REENTRANT"
18187                 else
18188                     flag="-mt -D_REENTRANT"
18189                 fi
18190                 ;;
18191         esac
18192         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
18193 $as_echo "${flag}" >&6; }
18194         if test "x$flag" != xno; then
18195             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
18196         fi
18197
18198         LIBS="$save_LIBS"
18199         CFLAGS="$save_CFLAGS"
18200
18201         # More AIX lossage: must compile with xlc_r or cc_r
18202         if test x"$GCC" != xyes; then
18203           for ac_prog in xlc_r cc_r
18204 do
18205   # Extract the first word of "$ac_prog", so it can be a program name with args.
18206 set dummy $ac_prog; ac_word=$2
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18208 $as_echo_n "checking for $ac_word... " >&6; }
18209 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
18210   $as_echo_n "(cached) " >&6
18211 else
18212   if test -n "$PTHREAD_CC"; then
18213   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
18214 else
18215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18216 for as_dir in $PATH
18217 do
18218   IFS=$as_save_IFS
18219   test -z "$as_dir" && as_dir=.
18220     for ac_exec_ext in '' $ac_executable_extensions; do
18221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18222     ac_cv_prog_PTHREAD_CC="$ac_prog"
18223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18224     break 2
18225   fi
18226 done
18227   done
18228 IFS=$as_save_IFS
18229
18230 fi
18231 fi
18232 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
18233 if test -n "$PTHREAD_CC"; then
18234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18235 $as_echo "$PTHREAD_CC" >&6; }
18236 else
18237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18238 $as_echo "no" >&6; }
18239 fi
18240
18241
18242   test -n "$PTHREAD_CC" && break
18243 done
18244 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
18245
18246         else
18247           PTHREAD_CC=$CC
18248         fi
18249 else
18250         PTHREAD_CC="$CC"
18251 fi
18252
18253
18254
18255
18256
18257 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18258 if test x"$acx_pthread_ok" = xyes; then
18259         enable_threads="pthread"
18260         :
18261 else
18262         acx_pthread_ok=no
18263         enable_threads="no"
18264 fi
18265 ac_ext=c
18266 ac_cpp='$CPP $CPPFLAGS'
18267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18270
18271
18272 if test $enable_threads != "pthread"; then
18273     as_fn_error $? "unable to find pthreads, currently this is required" "$LINENO" 5
18274 else
18275
18276 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
18277
18278     LIBS="$PTHREAD_LIBS $LIBS"
18279     CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
18280     CXXFLAGS="$PTHREAD_CFLAGS $CXXFLAGS"
18281 fi
18282
18283 # zlib settings
18284
18285 # Check whether --with-zlib was given.
18286 if test "${with_zlib+set}" = set; then :
18287   withval=$with_zlib;
18288         if test -d "$withval" ; then
18289             CPPFLAGS="${CPPFLAGS} -I$withval/include"
18290             LDFLAGS="${LDFLAGS} -L$withval/lib"
18291         fi
18292
18293
18294 fi
18295
18296 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
18297 if test "x$ac_cv_header_zlib_h" = x""yes; then :
18298
18299 else
18300   as_fn_error $? "unable to find zlib header files" "$LINENO" 5
18301 fi
18302
18303
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateInit2_ in -lz" >&5
18305 $as_echo_n "checking for deflateInit2_ in -lz... " >&6; }
18306 if test "${ac_cv_lib_z_deflateInit2_+set}" = set; then :
18307   $as_echo_n "(cached) " >&6
18308 else
18309   ac_check_lib_save_LIBS=$LIBS
18310 LIBS="-lz  $LIBS"
18311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18312 /* end confdefs.h.  */
18313
18314 /* Override any GCC internal prototype to avoid an error.
18315    Use char because int might match the return type of a GCC
18316    builtin and then its argument prototype would still apply.  */
18317 #ifdef __cplusplus
18318 extern "C"
18319 #endif
18320 char deflateInit2_ ();
18321 int
18322 main ()
18323 {
18324 return deflateInit2_ ();
18325   ;
18326   return 0;
18327 }
18328 _ACEOF
18329 if ac_fn_c_try_link "$LINENO"; then :
18330   ac_cv_lib_z_deflateInit2_=yes
18331 else
18332   ac_cv_lib_z_deflateInit2_=no
18333 fi
18334 rm -f core conftest.err conftest.$ac_objext \
18335     conftest$ac_exeext conftest.$ac_ext
18336 LIBS=$ac_check_lib_save_LIBS
18337 fi
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflateInit2_" >&5
18339 $as_echo "$ac_cv_lib_z_deflateInit2_" >&6; }
18340 if test "x$ac_cv_lib_z_deflateInit2_" = x""yes; then :
18341   cat >>confdefs.h <<_ACEOF
18342 #define HAVE_LIBZ 1
18343 _ACEOF
18344
18345   LIBS="-lz $LIBS"
18346
18347 else
18348   as_fn_error $? "unable to link with zlib library" "$LINENO" 5
18349 fi
18350
18351
18352 # OpenSSL settings
18353
18354 # Check whether --with-openssl was given.
18355 if test "${with_openssl+set}" = set; then :
18356   withval=$with_openssl; if test x_$with_openssl != x_/usr; then
18357         SSLFLAGS="-I${with_openssl}/include"
18358     fi
18359 fi
18360
18361
18362 if test "x$with_openssl" = "x" ; then
18363     # Extract the first word of "pkg-config", so it can be a program name with args.
18364 set dummy pkg-config; ac_word=$2
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18366 $as_echo_n "checking for $ac_word... " >&6; }
18367 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
18368   $as_echo_n "(cached) " >&6
18369 else
18370   case $PKG_CONFIG in
18371   [\\/]* | ?:[\\/]*)
18372   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18373   ;;
18374   *)
18375   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18376 for as_dir in $PATH
18377 do
18378   IFS=$as_save_IFS
18379   test -z "$as_dir" && as_dir=.
18380     for ac_exec_ext in '' $ac_executable_extensions; do
18381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18382     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18384     break 2
18385   fi
18386 done
18387   done
18388 IFS=$as_save_IFS
18389
18390   ;;
18391 esac
18392 fi
18393 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18394 if test -n "$PKG_CONFIG"; then
18395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18396 $as_echo "$PKG_CONFIG" >&6; }
18397 else
18398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18399 $as_echo "no" >&6; }
18400 fi
18401
18402
18403     if test "x$PKG_CONFIG" != x && test "x$PKG_CONFIG" != "xno" ; then
18404         if pkg-config openssl ; then
18405             SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
18406         else
18407             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&5
18408 $as_echo "$as_me: WARNING: OpenSSL not supported by pkg-config, try --with-openssl instead" >&2;}
18409         fi
18410     fi
18411 fi
18412
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL cflags" >&5
18414 $as_echo_n "checking for OpenSSL cflags... " >&6; }
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SSLFLAGS" >&5
18416 $as_echo "$SSLFLAGS" >&6; }
18417 CPPFLAGS="$SSLFLAGS $CPPFLAGS"
18418
18419 ac_fn_c_check_header_mongrel "$LINENO" "openssl/x509.h" "ac_cv_header_openssl_x509_h" "$ac_includes_default"
18420 if test "x$ac_cv_header_openssl_x509_h" = x""yes; then :
18421
18422 else
18423   as_fn_error $? "unable to find openssl header files" "$LINENO" 5
18424 fi
18425
18426
18427
18428 ac_ext=cpp
18429 ac_cpp='$CXXCPP $CPPFLAGS'
18430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18433
18434
18435 # C++ requirements
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
18437 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
18438 if test "${ac_cv_cxx_namespaces+set}" = set; then :
18439   $as_echo_n "(cached) " >&6
18440 else
18441
18442  ac_ext=cpp
18443 ac_cpp='$CXXCPP $CPPFLAGS'
18444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18447
18448  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h.  */
18450 namespace Outer { namespace Inner { int i = 0; }}
18451 int
18452 main ()
18453 {
18454 using namespace Outer::Inner; return i;
18455   ;
18456   return 0;
18457 }
18458 _ACEOF
18459 if ac_fn_cxx_try_compile "$LINENO"; then :
18460   ac_cv_cxx_namespaces=yes
18461 else
18462   ac_cv_cxx_namespaces=no
18463 fi
18464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465  ac_ext=cpp
18466 ac_cpp='$CXXCPP $CPPFLAGS'
18467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18470
18471
18472 fi
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_namespaces" >&5
18474 $as_echo "$ac_cv_cxx_namespaces" >&6; }
18475 if test "$ac_cv_cxx_namespaces" = yes; then
18476
18477 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
18478
18479 fi
18480
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Standard Template Library" >&5
18482 $as_echo_n "checking whether the compiler supports Standard Template Library... " >&6; }
18483 if test "${ac_cv_cxx_have_stl+set}" = set; then :
18484   $as_echo_n "(cached) " >&6
18485 else
18486
18487  ac_ext=cpp
18488 ac_cpp='$CXXCPP $CPPFLAGS'
18489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18492
18493  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h.  */
18495 #include <list>
18496 #include <deque>
18497 #ifdef HAVE_NAMESPACES
18498 using namespace std;
18499 #endif
18500 int
18501 main ()
18502 {
18503 list<int> x; x.push_back(5);
18504 list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
18505   ;
18506   return 0;
18507 }
18508 _ACEOF
18509 if ac_fn_cxx_try_compile "$LINENO"; then :
18510   ac_cv_cxx_have_stl=yes
18511 else
18512   ac_cv_cxx_have_stl=no
18513 fi
18514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18515  ac_ext=cpp
18516 ac_cpp='$CXXCPP $CPPFLAGS'
18517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18520
18521
18522 fi
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_stl" >&5
18524 $as_echo "$ac_cv_cxx_have_stl" >&6; }
18525 if test "x_$ac_cv_cxx_have_stl" != x_yes; then
18526   as_fn_error $? "C++ Standard Template Libary unsupported" "$LINENO" 5
18527 fi
18528
18529
18530 # log4shib settings (favor this version over the log4cpp code)
18531 # Extract the first word of "log4shib-config", so it can be a program name with args.
18532 set dummy log4shib-config; ac_word=$2
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18534 $as_echo_n "checking for $ac_word... " >&6; }
18535 if test "${ac_cv_path_LOG4SHIB_CONFIG+set}" = set; then :
18536   $as_echo_n "(cached) " >&6
18537 else
18538   case $LOG4SHIB_CONFIG in
18539   [\\/]* | ?:[\\/]*)
18540   ac_cv_path_LOG4SHIB_CONFIG="$LOG4SHIB_CONFIG" # Let the user override the test with a path.
18541   ;;
18542   *)
18543   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18544 for as_dir in $PATH
18545 do
18546   IFS=$as_save_IFS
18547   test -z "$as_dir" && as_dir=.
18548     for ac_exec_ext in '' $ac_executable_extensions; do
18549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18550     ac_cv_path_LOG4SHIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18552     break 2
18553   fi
18554 done
18555   done
18556 IFS=$as_save_IFS
18557
18558   ;;
18559 esac
18560 fi
18561 LOG4SHIB_CONFIG=$ac_cv_path_LOG4SHIB_CONFIG
18562 if test -n "$LOG4SHIB_CONFIG"; then
18563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4SHIB_CONFIG" >&5
18564 $as_echo "$LOG4SHIB_CONFIG" >&6; }
18565 else
18566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18567 $as_echo "no" >&6; }
18568 fi
18569
18570
18571
18572 # Check whether --with-log4shib was given.
18573 if test "${with_log4shib+set}" = set; then :
18574   withval=$with_log4shib;
18575     LOG4SHIB_CONFIG="${with_log4shib}"
18576     if ! test -f "${LOG4SHIB_CONFIG}"; then
18577         LOG4SHIB_CONFIG="${with_log4shib}/bin/log4shib-config"
18578     fi
18579
18580 fi
18581
18582 if test -f "${LOG4SHIB_CONFIG}" ; then
18583     LIBS="`${LOG4SHIB_CONFIG} --libs` $LIBS"
18584     CPPFLAGS="`${LOG4SHIB_CONFIG} --cflags` $CPPFLAGS"
18585
18586 ac_fn_cxx_check_header_mongrel "$LINENO" "log4shib/CategoryStream.hh" "ac_cv_header_log4shib_CategoryStream_hh" "$ac_includes_default"
18587 if test "x$ac_cv_header_log4shib_CategoryStream_hh" = x""yes; then :
18588
18589 else
18590   as_fn_error $? "unable to find log4shib header files" "$LINENO" 5
18591 fi
18592
18593
18594     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h.  */
18596 #include <log4shib/Category.hh>
18597 #include <log4shib/CategoryStream.hh>
18598 int
18599 main ()
18600 {
18601 log4shib::Category::getInstance("foo").errorStream() << log4shib::eol
18602   ;
18603   return 0;
18604 }
18605 _ACEOF
18606 if ac_fn_cxx_try_link "$LINENO"; then :
18607
18608 $as_echo "#define OPENSAML_LOG4SHIB 1" >>confdefs.h
18609
18610 else
18611   as_fn_error $? "unable to link with log4shib" "$LINENO" 5
18612 fi
18613 rm -f core conftest.err conftest.$ac_objext \
18614     conftest$ac_exeext conftest.$ac_ext
18615 else
18616     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&5
18617 $as_echo "$as_me: WARNING: log4shib-config not found, may need to use --with-log4shib option" >&2;}
18618     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will look for original log4cpp library" >&5
18619 $as_echo "$as_me: WARNING: will look for original log4cpp library" >&2;}
18620
18621     # log4cpp settings
18622     # Extract the first word of "log4cpp-config", so it can be a program name with args.
18623 set dummy log4cpp-config; ac_word=$2
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18625 $as_echo_n "checking for $ac_word... " >&6; }
18626 if test "${ac_cv_path_LOG4CPP_CONFIG+set}" = set; then :
18627   $as_echo_n "(cached) " >&6
18628 else
18629   case $LOG4CPP_CONFIG in
18630   [\\/]* | ?:[\\/]*)
18631   ac_cv_path_LOG4CPP_CONFIG="$LOG4CPP_CONFIG" # Let the user override the test with a path.
18632   ;;
18633   *)
18634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18635 for as_dir in $PATH
18636 do
18637   IFS=$as_save_IFS
18638   test -z "$as_dir" && as_dir=.
18639     for ac_exec_ext in '' $ac_executable_extensions; do
18640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18641     ac_cv_path_LOG4CPP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18643     break 2
18644   fi
18645 done
18646   done
18647 IFS=$as_save_IFS
18648
18649   ;;
18650 esac
18651 fi
18652 LOG4CPP_CONFIG=$ac_cv_path_LOG4CPP_CONFIG
18653 if test -n "$LOG4CPP_CONFIG"; then
18654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOG4CPP_CONFIG" >&5
18655 $as_echo "$LOG4CPP_CONFIG" >&6; }
18656 else
18657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18658 $as_echo "no" >&6; }
18659 fi
18660
18661
18662
18663 # Check whether --with-log4cpp was given.
18664 if test "${with_log4cpp+set}" = set; then :
18665   withval=$with_log4cpp;
18666         LOG4CPP_CONFIG="${with_log4cpp}"
18667         if ! test -f "${LOG4CPP_CONFIG}"; then
18668                 LOG4CPP_CONFIG="${with_log4cpp}/bin/log4cpp-config"
18669         fi
18670
18671 fi
18672
18673     if test -f "${LOG4CPP_CONFIG}"; then
18674         { $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
18675 $as_echo "$as_me: WARNING: will try to use log4cpp, note that most non-Internet2 supplied versions are not thread-safe" >&2;}
18676         LIBS="`${LOG4CPP_CONFIG} --libs` $LIBS"
18677         CPPFLAGS="`${LOG4CPP_CONFIG} --cflags` $CPPFLAGS"
18678         ac_fn_cxx_check_header_mongrel "$LINENO" "log4cpp/CategoryStream.hh" "ac_cv_header_log4cpp_CategoryStream_hh" "$ac_includes_default"
18679 if test "x$ac_cv_header_log4cpp_CategoryStream_hh" = x""yes; then :
18680
18681 else
18682   as_fn_error $? "unable to find log4cpp header files" "$LINENO" 5
18683 fi
18684
18685
18686         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h.  */
18688 #include <log4cpp/Category.hh>
18689 #include <log4cpp/CategoryStream.hh>
18690 int
18691 main ()
18692 {
18693 log4cpp::Category::getInstance("foo").errorStream() << log4cpp::eol
18694   ;
18695   return 0;
18696 }
18697 _ACEOF
18698 if ac_fn_cxx_try_link "$LINENO"; then :
18699
18700 $as_echo "#define OPENSAML_LOG4CPP 1" >>confdefs.h
18701
18702 else
18703   as_fn_error $? "unable to link with log4cpp, need version 1.0 or later" "$LINENO" 5
18704 fi
18705 rm -f core conftest.err conftest.$ac_objext \
18706     conftest$ac_exeext conftest.$ac_ext
18707     else
18708         as_fn_error $? "log4cpp-config not found, may need to use --with-log4cpp option" "$LINENO" 5
18709     fi
18710 fi
18711
18712 # Xerces settings
18713
18714 # Check whether --with-xerces was given.
18715 if test "${with_xerces+set}" = set; then :
18716   withval=$with_xerces; if test x_$with_xerces != x_/usr; then
18717         LDFLAGS="-L${with_xerces}/lib $LDFLAGS"
18718         CPPFLAGS="-I${with_xerces}/include $CPPFLAGS"
18719     fi
18720 fi
18721
18722 LIBS="-lxerces-c $LIBS"
18723 ac_fn_cxx_check_header_mongrel "$LINENO" "xercesc/dom/DOM.hpp" "ac_cv_header_xercesc_dom_DOM_hpp" "$ac_includes_default"
18724 if test "x$ac_cv_header_xercesc_dom_DOM_hpp" = x""yes; then :
18725
18726 else
18727   as_fn_error $? "unable to find xerces header files" "$LINENO" 5
18728 fi
18729
18730
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Xerces version" >&5
18732 $as_echo_n "checking Xerces version... " >&6; }
18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18734 /* end confdefs.h.  */
18735 #include <xercesc/util/XercesVersion.hpp>
18736 int
18737 main ()
18738 {
18739 #if  _XERCES_VERSION != 20600
18740 int i = 0;
18741 #else
18742 #error cannot use version 2.6.0
18743 #endif
18744   ;
18745   return 0;
18746 }
18747 _ACEOF
18748 if ac_fn_cxx_try_cpp "$LINENO"; then :
18749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18750 $as_echo "OK" >&6; }
18751 else
18752   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18754 as_fn_error $? "Xerces-C v2.6.0 has bugs that inhibit use with signed XML, please use a newer version
18755 See \`config.log' for more details" "$LINENO" 5 ; }
18756 fi
18757 rm -f conftest.err conftest.i conftest.$ac_ext
18758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h.  */
18760 #include <xercesc/util/PlatformUtils.hpp>
18761 int
18762 main ()
18763 {
18764 xercesc::XMLPlatformUtils::Initialize()
18765   ;
18766   return 0;
18767 }
18768 _ACEOF
18769 if ac_fn_cxx_try_link "$LINENO"; then :
18770
18771 else
18772   as_fn_error $? "unable to link with Xerces" "$LINENO" 5
18773 fi
18774 rm -f core conftest.err conftest.$ac_objext \
18775     conftest$ac_exeext conftest.$ac_ext
18776
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Xerces XMLString::release(XMLByte**) exists" >&5
18778 $as_echo_n "checking whether Xerces XMLString::release(XMLByte**) exists... " >&6; }
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h.  */
18781 #include <xercesc/util/XMLString.hpp>
18782 int
18783 main ()
18784 {
18785 using namespace XERCES_CPP_NAMESPACE; XMLByte* buf=NULL; XMLString::release(&buf);
18786   ;
18787   return 0;
18788 }
18789 _ACEOF
18790 if ac_fn_cxx_try_compile "$LINENO"; then :
18791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18792 $as_echo "yes" >&6; }
18793 $as_echo "#define OPENSAML_XERCESC_HAS_XMLBYTE_RELEASE 1" >>confdefs.h
18794
18795 else
18796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18797 $as_echo "no" >&6; }
18798 fi
18799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800
18801 # XML-Security settings
18802
18803 # Check whether --with-xmlsec was given.
18804 if test "${with_xmlsec+set}" = set; then :
18805   withval=$with_xmlsec; if test x_$with_xmlsec != x_/usr; then
18806         LDFLAGS="-L${with_xmlsec}/lib $LDFLAGS"
18807         CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS"
18808     fi
18809 fi
18810
18811 LIBS="-lxml-security-c $LIBS"
18812 ac_fn_cxx_check_header_mongrel "$LINENO" "xsec/utils/XSECPlatformUtils.hpp" "ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" "$ac_includes_default"
18813 if test "x$ac_cv_header_xsec_utils_XSECPlatformUtils_hpp" = x""yes; then :
18814
18815 else
18816   as_fn_error $? "unable to find xmlsec header files" "$LINENO" 5
18817 fi
18818
18819
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XML-Security version" >&5
18821 $as_echo_n "checking XML-Security version... " >&6; }
18822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18823 /* end confdefs.h.  */
18824 #include <xsec/utils/XSECPlatformUtils.hpp>
18825 int
18826 main ()
18827 {
18828 #if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3)
18829 int i = 0;
18830 #else
18831 #error need version 1.4.0 or later
18832 #endif
18833   ;
18834   return 0;
18835 }
18836 _ACEOF
18837 if ac_fn_cxx_try_cpp "$LINENO"; then :
18838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
18839 $as_echo "OK" >&6; }
18840 else
18841   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18843 as_fn_error $? "XML-Security version 1.4.0 or greater is required.
18844 See \`config.log' for more details" "$LINENO" 5 ; }
18845 fi
18846 rm -f conftest.err conftest.i conftest.$ac_ext
18847     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18848 /* end confdefs.h.  */
18849 #include <xsec/utils/XSECPlatformUtils.hpp>
18850 int
18851 main ()
18852 {
18853 XSECPlatformUtils::Initialise()
18854   ;
18855   return 0;
18856 }
18857 _ACEOF
18858 if ac_fn_cxx_try_link "$LINENO"; then :
18859
18860 else
18861   as_fn_error $? "unable to link with XML-Security" "$LINENO" 5
18862 fi
18863 rm -f core conftest.err conftest.$ac_objext \
18864     conftest$ac_exeext conftest.$ac_ext
18865
18866 # XML-Tooling settings
18867
18868 # Check whether --with-xmltooling was given.
18869 if test "${with_xmltooling+set}" = set; then :
18870   withval=$with_xmltooling; if test x_$with_xmltooling != x_/usr; then
18871         LDFLAGS="-L${with_xmltooling}/lib $LDFLAGS"
18872         CPPFLAGS="-I${with_xmltooling}/include $CPPFLAGS"
18873         DX_INCLUDE="${with_xmltooling}/include"
18874     fi
18875 fi
18876
18877 LIBS="-lxmltooling $LIBS"
18878 ac_fn_cxx_check_header_mongrel "$LINENO" "xmltooling/XMLToolingConfig.h" "ac_cv_header_xmltooling_XMLToolingConfig_h" "$ac_includes_default"
18879 if test "x$ac_cv_header_xmltooling_XMLToolingConfig_h" = x""yes; then :
18880
18881 else
18882   as_fn_error $? "unable to find xmltooling header files" "$LINENO" 5
18883 fi
18884
18885
18886
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h.  */
18889 #include <xmltooling/XMLToolingConfig.h>
18890 #include <xmltooling/version.h>
18891 int
18892 main ()
18893 {
18894 #if _XMLTOOLING_VERSION >= 10400
18895 xmltooling::XMLToolingConfig::getConfig();
18896 #else
18897 #error Need XMLTooling version 1.4 or higher
18898 #endif
18899   ;
18900   return 0;
18901 }
18902 _ACEOF
18903 if ac_fn_cxx_try_link "$LINENO"; then :
18904
18905 else
18906   as_fn_error $? "unable to link with XMLTooling, or version was too old" "$LINENO" 5
18907 fi
18908 rm -f core conftest.err conftest.$ac_objext \
18909     conftest$ac_exeext conftest.$ac_ext
18910
18911 # Check for unit test support
18912 CXXTEST="/usr/bin/cxxtestgen.pl"
18913 CXXTESTFLAGS=""
18914
18915 # Check whether --with-cxxtest was given.
18916 if test "${with_cxxtest+set}" = set; then :
18917   withval=$with_cxxtest; if test x_$with_cxxtest != x_/usr; then
18918         CXXTEST="${with_cxxtest}/cxxtestgen.pl"
18919         CXXTESTFLAGS="-I${with_cxxtest}"
18920     fi
18921 fi
18922
18923 if ! test -f "${CXXTEST}"; then
18924     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cxxtestgen not found, won't build unit tests" >&5
18925 $as_echo "$as_me: WARNING: cxxtestgen not found, won't build unit tests" >&2;}
18926 fi
18927
18928
18929
18930  if test -f ${CXXTEST}; then
18931   BUILD_UNITTEST_TRUE=
18932   BUILD_UNITTEST_FALSE='#'
18933 else
18934   BUILD_UNITTEST_TRUE='#'
18935   BUILD_UNITTEST_FALSE=
18936 fi
18937
18938
18939
18940 # we need the expanded forms...
18941 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18942 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18943
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig libname" >&5
18945 $as_echo_n "checking our pkgconfig libname... " >&6; }
18946 test ".$ax_create_pkgconfig_libname" != "." || \
18947 ax_create_pkgconfig_libname="${PACKAGE_NAME}"
18948 test ".$ax_create_pkgconfig_libname" != "." || \
18949 ax_create_pkgconfig_libname="$PACKAGE"
18950 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18951 ax_create_pkgconfig_libname=`eval echo "$ax_create_pkgconfig_libname"`
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libname" >&5
18953 $as_echo "$ax_create_pkgconfig_libname" >&6; }
18954
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig version" >&5
18956 $as_echo_n "checking our pkgconfig version... " >&6; }
18957 test ".$ax_create_pkgconfig_version" != "." || \
18958 ax_create_pkgconfig_version="${PACKAGE_VERSION}"
18959 test ".$ax_create_pkgconfig_version" != "." || \
18960 ax_create_pkgconfig_version="$VERSION"
18961 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18962 ax_create_pkgconfig_version=`eval echo "$ax_create_pkgconfig_version"`
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_version" >&5
18964 $as_echo "$ax_create_pkgconfig_version" >&6; }
18965
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libdir" >&5
18967 $as_echo_n "checking our pkgconfig_libdir... " >&6; }
18968 test ".$pkgconfig_libdir" = "." && \
18969 pkgconfig_libdir='${libdir}/pkgconfig'
18970 ax_create_pkgconfig_libdir=`eval echo "$pkgconfig_libdir"`
18971 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18972 ax_create_pkgconfig_libdir=`eval echo "$ax_create_pkgconfig_libdir"`
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libdir" >&5
18974 $as_echo "$pkgconfig_libdir" >&6; }
18975 test "$pkgconfig_libdir" != "$ax_create_pkgconfig_libdir" && (
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&5
18977 $as_echo "expanded our pkgconfig_libdir... $ax_create_pkgconfig_libdir" >&6; })
18978
18979
18980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig_libfile" >&5
18981 $as_echo_n "checking our pkgconfig_libfile... " >&6; }
18982 test ".$pkgconfig_libfile" != "." || \
18983 pkgconfig_libfile="$ax_create_pkgconfig_libname.pc"
18984 ax_create_pkgconfig_libfile=`eval echo "$pkgconfig_libfile"`
18985 ax_create_pkgconfig_libfile=`eval echo "$ax_create_pkgconfig_libfile"`
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgconfig_libfile" >&5
18987 $as_echo "$pkgconfig_libfile" >&6; }
18988 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_libfile" && (
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&5
18990 $as_echo "expanded our pkgconfig_libfile... $ax_create_pkgconfig_libfile" >&6; })
18991
18992
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our package / suffix" >&5
18994 $as_echo_n "checking our package / suffix... " >&6; }
18995 ax_create_pkgconfig_suffix="$program_suffix"
18996 test ".$ax_create_pkgconfig_suffix" != .NONE || ax_create_pkgconfig_suffix=""
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&5
18998 $as_echo "${PACKAGE_NAME} / ${ax_create_pkgconfig_suffix}" >&6; }
18999
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig description" >&5
19001 $as_echo_n "checking our pkgconfig description... " >&6; }
19002 ax_create_pkgconfig_description="OpenSAML library"
19003 test ".$ax_create_pkgconfig_description" != "." || \
19004 ax_create_pkgconfig_description="$ax_create_pkgconfig_libname Library"
19005 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19006 ax_create_pkgconfig_description=`eval echo "$ax_create_pkgconfig_description"`
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_description" >&5
19008 $as_echo "$ax_create_pkgconfig_description" >&6; }
19009
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig requires" >&5
19011 $as_echo_n "checking our pkgconfig requires... " >&6; }
19012 ax_create_pkgconfig_requires="$PACKAGE_REQUIRES"
19013 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19014 ax_create_pkgconfig_requires=`eval echo "$ax_create_pkgconfig_requires"`
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_requires" >&5
19016 $as_echo "$ax_create_pkgconfig_requires" >&6; }
19017
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ext libs" >&5
19019 $as_echo_n "checking our pkgconfig ext libs... " >&6; }
19020 ax_create_pkgconfig_pkglibs="$PACKAGE_LIBS"
19021 test ".$ax_create_pkgconfig_pkglibs" != "." || ax_create_pkgconfig_pkglibs="-l$ax_create_pkgconfig_libname"
19022 ax_create_pkgconfig_libs="$LIBS -lsaml"
19023 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19024 ax_create_pkgconfig_libs=`eval echo "$ax_create_pkgconfig_libs"`
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_libs" >&5
19026 $as_echo "$ax_create_pkgconfig_libs" >&6; }
19027
19028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig cppflags" >&5
19029 $as_echo_n "checking our pkgconfig cppflags... " >&6; }
19030 ax_create_pkgconfig_cppflags="$CPPFLAGS $PACKAGE_CFLAGS"
19031 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19032 ax_create_pkgconfig_cppflags=`eval echo "$ax_create_pkgconfig_cppflags"`
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_cppflags" >&5
19034 $as_echo "$ax_create_pkgconfig_cppflags" >&6; }
19035
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking our pkgconfig ldflags" >&5
19037 $as_echo_n "checking our pkgconfig ldflags... " >&6; }
19038 ax_create_pkgconfig_ldflags="$LDFLAGS $PACKAGE_LDFLAGS"
19039 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19040 ax_create_pkgconfig_ldflags=`eval echo "$ax_create_pkgconfig_ldflags"`
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_create_pkgconfig_ldflags" >&5
19042 $as_echo "$ax_create_pkgconfig_ldflags" >&6; }
19043
19044 test ".$ax_create_pkgconfig_generate" != "." || \
19045 ax_create_pkgconfig_generate="$ax_create_pkgconfig_libname.pc"
19046 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19047 ax_create_pkgconfig_generate=`eval echo "$ax_create_pkgconfig_generate"`
19048 test "$pkgconfig_libfile" != "$ax_create_pkgconfig_generate" && (
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generate the pkgconfig later... $ax_create_pkgconfig_generate" >&5
19050 $as_echo "generate the pkgconfig later... $ax_create_pkgconfig_generate" >&6; })
19051
19052 if test ".$ax_create_pkgconfig_src_libdir" = "." ; then
19053 ax_create_pkgconfig_src_libdir=`pwd`
19054 ax_create_pkgconfig_src_libdir=`$as_dirname -- "$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" ||
19055 $as_expr X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19056          X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)[^/]' \| \
19057          X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(//\)$' \| \
19058          X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" : 'X\(/\)' \| . 2>/dev/null ||
19059 $as_echo X"$ax_create_pkgconfig_src_libdir/$ax_create_pkgconfig_generate" |
19060     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19061             s//\1/
19062             q
19063           }
19064           /^X\(\/\/\)[^/].*/{
19065             s//\1/
19066             q
19067           }
19068           /^X\(\/\/\)$/{
19069             s//\1/
19070             q
19071           }
19072           /^X\(\/\).*/{
19073             s//\1/
19074             q
19075           }
19076           s/.*/./; q'`
19077 test ! -d $ax_create_pkgconfig_src_libdir/src || \
19078 ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/src"
19079 case ".$objdir" in
19080 *libs) ax_create_pkgconfig_src_libdir="$ax_create_pkgconfig_src_libdir/$objdir" ;; esac
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&5
19082 $as_echo "noninstalled pkgconfig -L $ax_create_pkgconfig_src_libdir" >&6; }
19083 fi
19084
19085 if test ".$ax_create_pkgconfig_src_headers" = "." ; then
19086 ax_create_pkgconfig_src_headers=`pwd`
19087 v="$ac_top_srcdir" ;
19088 test ".$v" != "." || v="$ax_spec_dir"
19089 test ".$v" != "." || v="$srcdir"
19090 case "$v" in /*) ax_create_pkgconfig_src_headers="" ;; esac
19091 ax_create_pkgconfig_src_headers=`$as_dirname -- "$ax_create_pkgconfig_src_headers/$v/x" ||
19092 $as_expr X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19093          X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)[^/]' \| \
19094          X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(//\)$' \| \
19095          X"$ax_create_pkgconfig_src_headers/$v/x" : 'X\(/\)' \| . 2>/dev/null ||
19096 $as_echo X"$ax_create_pkgconfig_src_headers/$v/x" |
19097     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19098             s//\1/
19099             q
19100           }
19101           /^X\(\/\/\)[^/].*/{
19102             s//\1/
19103             q
19104           }
19105           /^X\(\/\/\)$/{
19106             s//\1/
19107             q
19108           }
19109           /^X\(\/\).*/{
19110             s//\1/
19111             q
19112           }
19113           s/.*/./; q'`
19114 test ! -d $ax_create_pkgconfig_src_headers/include || \
19115 ax_create_pkgconfig_src_headers="$ax_create_pkgconfig_src_headers/include"
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&5
19117 $as_echo "noninstalled pkgconfig -I $ax_create_pkgconfig_src_headers" >&6; }
19118 fi
19119
19120
19121 ac_config_commands="$ac_config_commands $ax_create_pkgconfig_generate"
19122
19123
19124
19125 LIBTOOL="$LIBTOOL --silent"
19126
19127 # output packaging and makefiles
19128 cat >confcache <<\_ACEOF
19129 # This file is a shell script that caches the results of configure
19130 # tests run on this system so they can be shared between configure
19131 # scripts and configure runs, see configure's option --config-cache.
19132 # It is not useful on other systems.  If it contains results you don't
19133 # want to keep, you may remove or edit it.
19134 #
19135 # config.status only pays attention to the cache file if you give it
19136 # the --recheck option to rerun configure.
19137 #
19138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19140 # following values.
19141
19142 _ACEOF
19143
19144 # The following way of writing the cache mishandles newlines in values,
19145 # but we know of no workaround that is simple, portable, and efficient.
19146 # So, we kill variables containing newlines.
19147 # Ultrix sh set writes to stderr and can't be redirected directly,
19148 # and sets the high bit in the cache file unless we assign to the vars.
19149 (
19150   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19151     eval ac_val=\$$ac_var
19152     case $ac_val in #(
19153     *${as_nl}*)
19154       case $ac_var in #(
19155       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19156 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19157       esac
19158       case $ac_var in #(
19159       _ | IFS | as_nl) ;; #(
19160       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19161       *) { eval $ac_var=; unset $ac_var;} ;;
19162       esac ;;
19163     esac
19164   done
19165
19166   (set) 2>&1 |
19167     case $as_nl`(ac_space=' '; set) 2>&1` in #(
19168     *${as_nl}ac_space=\ *)
19169       # `set' does not quote correctly, so add quotes: double-quote
19170       # substitution turns \\\\ into \\, and sed turns \\ into \.
19171       sed -n \
19172         "s/'/'\\\\''/g;
19173           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19174       ;; #(
19175     *)
19176       # `set' quotes correctly as required by POSIX, so do not add quotes.
19177       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19178       ;;
19179     esac |
19180     sort
19181 ) |
19182   sed '
19183      /^ac_cv_env_/b end
19184      t clear
19185      :clear
19186      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19187      t end
19188      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19189      :end' >>confcache
19190 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19191   if test -w "$cache_file"; then
19192     test "x$cache_file" != "x/dev/null" &&
19193       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19194 $as_echo "$as_me: updating cache $cache_file" >&6;}
19195     cat confcache >$cache_file
19196   else
19197     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19198 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19199   fi
19200 fi
19201 rm -f confcache
19202
19203 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19204 # Let make expand exec_prefix.
19205 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19206
19207 DEFS=-DHAVE_CONFIG_H
19208
19209 ac_libobjs=
19210 ac_ltlibobjs=
19211 U=
19212 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19213   # 1. Remove the extension, and $U if already installed.
19214   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19215   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19216   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19217   #    will be set to the directory where LIBOBJS objects are built.
19218   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19219   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19220 done
19221 LIBOBJS=$ac_libobjs
19222
19223 LTLIBOBJS=$ac_ltlibobjs
19224
19225
19226  if test -n "$EXEEXT"; then
19227   am__EXEEXT_TRUE=
19228   am__EXEEXT_FALSE='#'
19229 else
19230   am__EXEEXT_TRUE='#'
19231   am__EXEEXT_FALSE=
19232 fi
19233
19234 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19235   as_fn_error $? "conditional \"AMDEP\" was never defined.
19236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19237 fi
19238 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19239   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19241 fi
19242 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19243   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19245 fi
19246 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
19247   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
19248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19249 fi
19250 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19251   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19253 fi
19254 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
19255   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
19256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19257 fi
19258 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19259   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19261 fi
19262 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
19263   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
19264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19265 fi
19266 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19267   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19269 fi
19270 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
19271   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
19272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19273 fi
19274 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19275   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19277 fi
19278 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
19279   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
19280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19281 fi
19282 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19283   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19285 fi
19286 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
19287   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
19288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19289 fi
19290 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19291   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19293 fi
19294 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
19295   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
19296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19297 fi
19298 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19299   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19301 fi
19302 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
19303   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
19304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19305 fi
19306 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19307   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19309 fi
19310 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
19311   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
19312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19313 fi
19314 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19315   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19317 fi
19318 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
19319   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
19320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19321 fi
19322 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19323   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19325 fi
19326 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
19327   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
19328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19329 fi
19330 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19331   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19333 fi
19334 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19335   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19337 fi
19338 if test -z "${BUILD_UNITTEST_TRUE}" && test -z "${BUILD_UNITTEST_FALSE}"; then
19339   as_fn_error $? "conditional \"BUILD_UNITTEST\" was never defined.
19340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19341 fi
19342
19343 : ${CONFIG_STATUS=./config.status}
19344 ac_write_fail=0
19345 ac_clean_files_save=$ac_clean_files
19346 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19348 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19349 as_write_fail=0
19350 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19351 #! $SHELL
19352 # Generated by $as_me.
19353 # Run this file to recreate the current configuration.
19354 # Compiler output produced by configure, useful for debugging
19355 # configure, is in config.log if it exists.
19356
19357 debug=false
19358 ac_cs_recheck=false
19359 ac_cs_silent=false
19360
19361 SHELL=\${CONFIG_SHELL-$SHELL}
19362 export SHELL
19363 _ASEOF
19364 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19365 ## -------------------- ##
19366 ## M4sh Initialization. ##
19367 ## -------------------- ##
19368
19369 # Be more Bourne compatible
19370 DUALCASE=1; export DUALCASE # for MKS sh
19371 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19372   emulate sh
19373   NULLCMD=:
19374   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19375   # is contrary to our usage.  Disable this feature.
19376   alias -g '${1+"$@"}'='"$@"'
19377   setopt NO_GLOB_SUBST
19378 else
19379   case `(set -o) 2>/dev/null` in #(
19380   *posix*) :
19381     set -o posix ;; #(
19382   *) :
19383      ;;
19384 esac
19385 fi
19386
19387
19388 as_nl='
19389 '
19390 export as_nl
19391 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19392 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19393 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19394 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19395 # Prefer a ksh shell builtin over an external printf program on Solaris,
19396 # but without wasting forks for bash or zsh.
19397 if test -z "$BASH_VERSION$ZSH_VERSION" \
19398     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19399   as_echo='print -r --'
19400   as_echo_n='print -rn --'
19401 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19402   as_echo='printf %s\n'
19403   as_echo_n='printf %s'
19404 else
19405   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19406     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19407     as_echo_n='/usr/ucb/echo -n'
19408   else
19409     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19410     as_echo_n_body='eval
19411       arg=$1;
19412       case $arg in #(
19413       *"$as_nl"*)
19414         expr "X$arg" : "X\\(.*\\)$as_nl";
19415         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19416       esac;
19417       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19418     '
19419     export as_echo_n_body
19420     as_echo_n='sh -c $as_echo_n_body as_echo'
19421   fi
19422   export as_echo_body
19423   as_echo='sh -c $as_echo_body as_echo'
19424 fi
19425
19426 # The user is always right.
19427 if test "${PATH_SEPARATOR+set}" != set; then
19428   PATH_SEPARATOR=:
19429   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19430     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19431       PATH_SEPARATOR=';'
19432   }
19433 fi
19434
19435
19436 # IFS
19437 # We need space, tab and new line, in precisely that order.  Quoting is
19438 # there to prevent editors from complaining about space-tab.
19439 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19440 # splitting by setting IFS to empty value.)
19441 IFS=" ""        $as_nl"
19442
19443 # Find who we are.  Look in the path if we contain no directory separator.
19444 case $0 in #((
19445   *[\\/]* ) as_myself=$0 ;;
19446   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19447 for as_dir in $PATH
19448 do
19449   IFS=$as_save_IFS
19450   test -z "$as_dir" && as_dir=.
19451     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19452   done
19453 IFS=$as_save_IFS
19454
19455      ;;
19456 esac
19457 # We did not find ourselves, most probably we were run as `sh COMMAND'
19458 # in which case we are not to be found in the path.
19459 if test "x$as_myself" = x; then
19460   as_myself=$0
19461 fi
19462 if test ! -f "$as_myself"; then
19463   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19464   exit 1
19465 fi
19466
19467 # Unset variables that we do not need and which cause bugs (e.g. in
19468 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19469 # suppresses any "Segmentation fault" message there.  '((' could
19470 # trigger a bug in pdksh 5.2.14.
19471 for as_var in BASH_ENV ENV MAIL MAILPATH
19472 do eval test x\${$as_var+set} = xset \
19473   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19474 done
19475 PS1='$ '
19476 PS2='> '
19477 PS4='+ '
19478
19479 # NLS nuisances.
19480 LC_ALL=C
19481 export LC_ALL
19482 LANGUAGE=C
19483 export LANGUAGE
19484
19485 # CDPATH.
19486 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19487
19488
19489 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19490 # ----------------------------------------
19491 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19492 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19493 # script with STATUS, using 1 if that was 0.
19494 as_fn_error ()
19495 {
19496   as_status=$1; test $as_status -eq 0 && as_status=1
19497   if test "$4"; then
19498     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19499     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19500   fi
19501   $as_echo "$as_me: error: $2" >&2
19502   as_fn_exit $as_status
19503 } # as_fn_error
19504
19505
19506 # as_fn_set_status STATUS
19507 # -----------------------
19508 # Set $? to STATUS, without forking.
19509 as_fn_set_status ()
19510 {
19511   return $1
19512 } # as_fn_set_status
19513
19514 # as_fn_exit STATUS
19515 # -----------------
19516 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19517 as_fn_exit ()
19518 {
19519   set +e
19520   as_fn_set_status $1
19521   exit $1
19522 } # as_fn_exit
19523
19524 # as_fn_unset VAR
19525 # ---------------
19526 # Portably unset VAR.
19527 as_fn_unset ()
19528 {
19529   { eval $1=; unset $1;}
19530 }
19531 as_unset=as_fn_unset
19532 # as_fn_append VAR VALUE
19533 # ----------------------
19534 # Append the text in VALUE to the end of the definition contained in VAR. Take
19535 # advantage of any shell optimizations that allow amortized linear growth over
19536 # repeated appends, instead of the typical quadratic growth present in naive
19537 # implementations.
19538 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19539   eval 'as_fn_append ()
19540   {
19541     eval $1+=\$2
19542   }'
19543 else
19544   as_fn_append ()
19545   {
19546     eval $1=\$$1\$2
19547   }
19548 fi # as_fn_append
19549
19550 # as_fn_arith ARG...
19551 # ------------------
19552 # Perform arithmetic evaluation on the ARGs, and store the result in the
19553 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19554 # must be portable across $(()) and expr.
19555 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19556   eval 'as_fn_arith ()
19557   {
19558     as_val=$(( $* ))
19559   }'
19560 else
19561   as_fn_arith ()
19562   {
19563     as_val=`expr "$@" || test $? -eq 1`
19564   }
19565 fi # as_fn_arith
19566
19567
19568 if expr a : '\(a\)' >/dev/null 2>&1 &&
19569    test "X`expr 00001 : '.*\(...\)'`" = X001; then
19570   as_expr=expr
19571 else
19572   as_expr=false
19573 fi
19574
19575 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19576   as_basename=basename
19577 else
19578   as_basename=false
19579 fi
19580
19581 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19582   as_dirname=dirname
19583 else
19584   as_dirname=false
19585 fi
19586
19587 as_me=`$as_basename -- "$0" ||
19588 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19589          X"$0" : 'X\(//\)$' \| \
19590          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19591 $as_echo X/"$0" |
19592     sed '/^.*\/\([^/][^/]*\)\/*$/{
19593             s//\1/
19594             q
19595           }
19596           /^X\/\(\/\/\)$/{
19597             s//\1/
19598             q
19599           }
19600           /^X\/\(\/\).*/{
19601             s//\1/
19602             q
19603           }
19604           s/.*/./; q'`
19605
19606 # Avoid depending upon Character Ranges.
19607 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19608 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19609 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19610 as_cr_digits='0123456789'
19611 as_cr_alnum=$as_cr_Letters$as_cr_digits
19612
19613 ECHO_C= ECHO_N= ECHO_T=
19614 case `echo -n x` in #(((((
19615 -n*)
19616   case `echo 'xy\c'` in
19617   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19618   xy)  ECHO_C='\c';;
19619   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19620        ECHO_T=' ';;
19621   esac;;
19622 *)
19623   ECHO_N='-n';;
19624 esac
19625
19626 rm -f conf$$ conf$$.exe conf$$.file
19627 if test -d conf$$.dir; then
19628   rm -f conf$$.dir/conf$$.file
19629 else
19630   rm -f conf$$.dir
19631   mkdir conf$$.dir 2>/dev/null
19632 fi
19633 if (echo >conf$$.file) 2>/dev/null; then
19634   if ln -s conf$$.file conf$$ 2>/dev/null; then
19635     as_ln_s='ln -s'
19636     # ... but there are two gotchas:
19637     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19638     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19639     # In both cases, we have to default to `cp -p'.
19640     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19641       as_ln_s='cp -p'
19642   elif ln conf$$.file conf$$ 2>/dev/null; then
19643     as_ln_s=ln
19644   else
19645     as_ln_s='cp -p'
19646   fi
19647 else
19648   as_ln_s='cp -p'
19649 fi
19650 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19651 rmdir conf$$.dir 2>/dev/null
19652
19653
19654 # as_fn_mkdir_p
19655 # -------------
19656 # Create "$as_dir" as a directory, including parents if necessary.
19657 as_fn_mkdir_p ()
19658 {
19659
19660   case $as_dir in #(
19661   -*) as_dir=./$as_dir;;
19662   esac
19663   test -d "$as_dir" || eval $as_mkdir_p || {
19664     as_dirs=
19665     while :; do
19666       case $as_dir in #(
19667       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19668       *) as_qdir=$as_dir;;
19669       esac
19670       as_dirs="'$as_qdir' $as_dirs"
19671       as_dir=`$as_dirname -- "$as_dir" ||
19672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19673          X"$as_dir" : 'X\(//\)[^/]' \| \
19674          X"$as_dir" : 'X\(//\)$' \| \
19675          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19676 $as_echo X"$as_dir" |
19677     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19678             s//\1/
19679             q
19680           }
19681           /^X\(\/\/\)[^/].*/{
19682             s//\1/
19683             q
19684           }
19685           /^X\(\/\/\)$/{
19686             s//\1/
19687             q
19688           }
19689           /^X\(\/\).*/{
19690             s//\1/
19691             q
19692           }
19693           s/.*/./; q'`
19694       test -d "$as_dir" && break
19695     done
19696     test -z "$as_dirs" || eval "mkdir $as_dirs"
19697   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19698
19699
19700 } # as_fn_mkdir_p
19701 if mkdir -p . 2>/dev/null; then
19702   as_mkdir_p='mkdir -p "$as_dir"'
19703 else
19704   test -d ./-p && rmdir ./-p
19705   as_mkdir_p=false
19706 fi
19707
19708 if test -x / >/dev/null 2>&1; then
19709   as_test_x='test -x'
19710 else
19711   if ls -dL / >/dev/null 2>&1; then
19712     as_ls_L_option=L
19713   else
19714     as_ls_L_option=
19715   fi
19716   as_test_x='
19717     eval sh -c '\''
19718       if test -d "$1"; then
19719         test -d "$1/.";
19720       else
19721         case $1 in #(
19722         -*)set "./$1";;
19723         esac;
19724         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19725         ???[sx]*):;;*)false;;esac;fi
19726     '\'' sh
19727   '
19728 fi
19729 as_executable_p=$as_test_x
19730
19731 # Sed expression to map a string onto a valid CPP name.
19732 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19733
19734 # Sed expression to map a string onto a valid variable name.
19735 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19736
19737
19738 exec 6>&1
19739 ## ----------------------------------- ##
19740 ## Main body of $CONFIG_STATUS script. ##
19741 ## ----------------------------------- ##
19742 _ASEOF
19743 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19744
19745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19746 # Save the log message, to keep $0 and so on meaningful, and to
19747 # report actual input values of CONFIG_FILES etc. instead of their
19748 # values after options handling.
19749 ac_log="
19750 This file was extended by opensaml $as_me 2.5, which was
19751 generated by GNU Autoconf 2.67.  Invocation command line was
19752
19753   CONFIG_FILES    = $CONFIG_FILES
19754   CONFIG_HEADERS  = $CONFIG_HEADERS
19755   CONFIG_LINKS    = $CONFIG_LINKS
19756   CONFIG_COMMANDS = $CONFIG_COMMANDS
19757   $ $0 $@
19758
19759 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19760 "
19761
19762 _ACEOF
19763
19764 case $ac_config_files in *"
19765 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19766 esac
19767
19768 case $ac_config_headers in *"
19769 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19770 esac
19771
19772
19773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19774 # Files that config.status was made for.
19775 config_files="$ac_config_files"
19776 config_headers="$ac_config_headers"
19777 config_commands="$ac_config_commands"
19778
19779 _ACEOF
19780
19781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19782 ac_cs_usage="\
19783 \`$as_me' instantiates files and other configuration actions
19784 from templates according to the current configuration.  Unless the files
19785 and actions are specified as TAGs, all are instantiated by default.
19786
19787 Usage: $0 [OPTION]... [TAG]...
19788
19789   -h, --help       print this help, then exit
19790   -V, --version    print version number and configuration settings, then exit
19791       --config     print configuration, then exit
19792   -q, --quiet, --silent
19793                    do not print progress messages
19794   -d, --debug      don't remove temporary files
19795       --recheck    update $as_me by reconfiguring in the same conditions
19796       --file=FILE[:TEMPLATE]
19797                    instantiate the configuration file FILE
19798       --header=FILE[:TEMPLATE]
19799                    instantiate the configuration header FILE
19800
19801 Configuration files:
19802 $config_files
19803
19804 Configuration headers:
19805 $config_headers
19806
19807 Configuration commands:
19808 $config_commands
19809
19810 Report bugs to <https://bugs.internet2.edu/>."
19811
19812 _ACEOF
19813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19814 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19815 ac_cs_version="\\
19816 opensaml config.status 2.5
19817 configured by $0, generated by GNU Autoconf 2.67,
19818   with options \\"\$ac_cs_config\\"
19819
19820 Copyright (C) 2010 Free Software Foundation, Inc.
19821 This config.status script is free software; the Free Software Foundation
19822 gives unlimited permission to copy, distribute and modify it."
19823
19824 ac_pwd='$ac_pwd'
19825 srcdir='$srcdir'
19826 INSTALL='$INSTALL'
19827 MKDIR_P='$MKDIR_P'
19828 AWK='$AWK'
19829 test -n "\$AWK" || AWK=awk
19830 _ACEOF
19831
19832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19833 # The default lists apply if the user does not specify any file.
19834 ac_need_defaults=:
19835 while test $# != 0
19836 do
19837   case $1 in
19838   --*=?*)
19839     ac_option=`expr "X$1" : 'X\([^=]*\)='`
19840     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19841     ac_shift=:
19842     ;;
19843   --*=)
19844     ac_option=`expr "X$1" : 'X\([^=]*\)='`
19845     ac_optarg=
19846     ac_shift=:
19847     ;;
19848   *)
19849     ac_option=$1
19850     ac_optarg=$2
19851     ac_shift=shift
19852     ;;
19853   esac
19854
19855   case $ac_option in
19856   # Handling of the options.
19857   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19858     ac_cs_recheck=: ;;
19859   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19860     $as_echo "$ac_cs_version"; exit ;;
19861   --config | --confi | --conf | --con | --co | --c )
19862     $as_echo "$ac_cs_config"; exit ;;
19863   --debug | --debu | --deb | --de | --d | -d )
19864     debug=: ;;
19865   --file | --fil | --fi | --f )
19866     $ac_shift
19867     case $ac_optarg in
19868     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19869     '') as_fn_error $? "missing file argument" ;;
19870     esac
19871     as_fn_append CONFIG_FILES " '$ac_optarg'"
19872     ac_need_defaults=false;;
19873   --header | --heade | --head | --hea )
19874     $ac_shift
19875     case $ac_optarg in
19876     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19877     esac
19878     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19879     ac_need_defaults=false;;
19880   --he | --h)
19881     # Conflict between --help and --header
19882     as_fn_error $? "ambiguous option: \`$1'
19883 Try \`$0 --help' for more information.";;
19884   --help | --hel | -h )
19885     $as_echo "$ac_cs_usage"; exit ;;
19886   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19887   | -silent | --silent | --silen | --sile | --sil | --si | --s)
19888     ac_cs_silent=: ;;
19889
19890   # This is an error.
19891   -*) as_fn_error $? "unrecognized option: \`$1'
19892 Try \`$0 --help' for more information." ;;
19893
19894   *) as_fn_append ac_config_targets " $1"
19895      ac_need_defaults=false ;;
19896
19897   esac
19898   shift
19899 done
19900
19901 ac_configure_extra_args=
19902
19903 if $ac_cs_silent; then
19904   exec 6>/dev/null
19905   ac_configure_extra_args="$ac_configure_extra_args --silent"
19906 fi
19907
19908 _ACEOF
19909 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19910 if \$ac_cs_recheck; then
19911   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19912   shift
19913   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19914   CONFIG_SHELL='$SHELL'
19915   export CONFIG_SHELL
19916   exec "\$@"
19917 fi
19918
19919 _ACEOF
19920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19921 exec 5>>config.log
19922 {
19923   echo
19924   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19925 ## Running $as_me. ##
19926 _ASBOX
19927   $as_echo "$ac_log"
19928 } >&5
19929
19930 _ACEOF
19931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19932 #
19933 # INIT-COMMANDS
19934 #
19935 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19936
19937
19938 # The HP-UX ksh and POSIX shell print the target directory to stdout
19939 # if CDPATH is set.
19940 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19941
19942 sed_quote_subst='$sed_quote_subst'
19943 double_quote_subst='$double_quote_subst'
19944 delay_variable_subst='$delay_variable_subst'
19945 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19946 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19947 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19948 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19949 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19950 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19951 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19952 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19953 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19954 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19955 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19956 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19957 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19958 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19959 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19960 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19961 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19962 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19963 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19964 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19965 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19966 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19967 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19968 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19969 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19970 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19971 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19972 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19973 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19974 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19975 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19976 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19977 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19978 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19979 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19980 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19981 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19982 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19983 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19984 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19985 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19986 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19987 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19988 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19989 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19990 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19991 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19992 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19993 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19994 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19995 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19996 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19997 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19998 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19999 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20000 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"`'
20001 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20002 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20003 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20004 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20005 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20006 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20007 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20008 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20009 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20010 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20011 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20012 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20013 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20014 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20015 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20016 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20017 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20018 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20019 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20020 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20021 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20022 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20023 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20024 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20025 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20026 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20027 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20028 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20029 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20030 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20031 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20032 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20033 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20034 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20035 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20036 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20037 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20038 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20039 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20040 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20041 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20042 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20043 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20044 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20045 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20046 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20047 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20048 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20049 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20050 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20051 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20052 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20053 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20054 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20055 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20056 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20057 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20058 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20059 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20060 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20061 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20062 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20063 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20064 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20065 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20066 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20067 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20068 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20069 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20070 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20071 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20072 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20073 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20074 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20075 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20076 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20077 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20078 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20079 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20080 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20081 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20082 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20083 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20084 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20085 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20086 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20087 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20088 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20089 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20090 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20091 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20092 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20093 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20094 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20095 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20096 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20097 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20098 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20099 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20100 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20101 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20102 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20103 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20104 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20105 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20106 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20107 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20108 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20109 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20110 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20111 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20112 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20113 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20114 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20115 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20116 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20117 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20118 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20119 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20120 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20121 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20122 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20123 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20124 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20125 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20126 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20127 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20128 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20129 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20130
20131 LTCC='$LTCC'
20132 LTCFLAGS='$LTCFLAGS'
20133 compiler='$compiler_DEFAULT'
20134
20135 # A function that is used when there is no print builtin or printf.
20136 func_fallback_echo ()
20137 {
20138   eval 'cat <<_LTECHO_EOF
20139 \$1
20140 _LTECHO_EOF'
20141 }
20142
20143 # Quote evaled strings.
20144 for var in SHELL \
20145 ECHO \
20146 SED \
20147 GREP \
20148 EGREP \
20149 FGREP \
20150 LD \
20151 NM \
20152 LN_S \
20153 lt_SP2NL \
20154 lt_NL2SP \
20155 reload_flag \
20156 OBJDUMP \
20157 deplibs_check_method \
20158 file_magic_cmd \
20159 file_magic_glob \
20160 want_nocaseglob \
20161 DLLTOOL \
20162 sharedlib_from_linklib_cmd \
20163 AR \
20164 AR_FLAGS \
20165 archiver_list_spec \
20166 STRIP \
20167 RANLIB \
20168 CC \
20169 CFLAGS \
20170 compiler \
20171 lt_cv_sys_global_symbol_pipe \
20172 lt_cv_sys_global_symbol_to_cdecl \
20173 lt_cv_sys_global_symbol_to_c_name_address \
20174 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20175 nm_file_list_spec \
20176 lt_prog_compiler_no_builtin_flag \
20177 lt_prog_compiler_pic \
20178 lt_prog_compiler_wl \
20179 lt_prog_compiler_static \
20180 lt_cv_prog_compiler_c_o \
20181 need_locks \
20182 MANIFEST_TOOL \
20183 DSYMUTIL \
20184 NMEDIT \
20185 LIPO \
20186 OTOOL \
20187 OTOOL64 \
20188 shrext_cmds \
20189 export_dynamic_flag_spec \
20190 whole_archive_flag_spec \
20191 compiler_needs_object \
20192 with_gnu_ld \
20193 allow_undefined_flag \
20194 no_undefined_flag \
20195 hardcode_libdir_flag_spec \
20196 hardcode_libdir_flag_spec_ld \
20197 hardcode_libdir_separator \
20198 exclude_expsyms \
20199 include_expsyms \
20200 file_list_spec \
20201 variables_saved_for_relink \
20202 libname_spec \
20203 library_names_spec \
20204 soname_spec \
20205 install_override_mode \
20206 finish_eval \
20207 old_striplib \
20208 striplib \
20209 compiler_lib_search_dirs \
20210 predep_objects \
20211 postdep_objects \
20212 predeps \
20213 postdeps \
20214 compiler_lib_search_path \
20215 LD_CXX \
20216 reload_flag_CXX \
20217 compiler_CXX \
20218 lt_prog_compiler_no_builtin_flag_CXX \
20219 lt_prog_compiler_pic_CXX \
20220 lt_prog_compiler_wl_CXX \
20221 lt_prog_compiler_static_CXX \
20222 lt_cv_prog_compiler_c_o_CXX \
20223 export_dynamic_flag_spec_CXX \
20224 whole_archive_flag_spec_CXX \
20225 compiler_needs_object_CXX \
20226 with_gnu_ld_CXX \
20227 allow_undefined_flag_CXX \
20228 no_undefined_flag_CXX \
20229 hardcode_libdir_flag_spec_CXX \
20230 hardcode_libdir_flag_spec_ld_CXX \
20231 hardcode_libdir_separator_CXX \
20232 exclude_expsyms_CXX \
20233 include_expsyms_CXX \
20234 file_list_spec_CXX \
20235 compiler_lib_search_dirs_CXX \
20236 predep_objects_CXX \
20237 postdep_objects_CXX \
20238 predeps_CXX \
20239 postdeps_CXX \
20240 compiler_lib_search_path_CXX; do
20241     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20242     *[\\\\\\\`\\"\\\$]*)
20243       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20244       ;;
20245     *)
20246       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20247       ;;
20248     esac
20249 done
20250
20251 # Double-quote double-evaled strings.
20252 for var in reload_cmds \
20253 old_postinstall_cmds \
20254 old_postuninstall_cmds \
20255 old_archive_cmds \
20256 extract_expsyms_cmds \
20257 old_archive_from_new_cmds \
20258 old_archive_from_expsyms_cmds \
20259 archive_cmds \
20260 archive_expsym_cmds \
20261 module_cmds \
20262 module_expsym_cmds \
20263 export_symbols_cmds \
20264 prelink_cmds \
20265 postlink_cmds \
20266 postinstall_cmds \
20267 postuninstall_cmds \
20268 finish_cmds \
20269 sys_lib_search_path_spec \
20270 sys_lib_dlsearch_path_spec \
20271 reload_cmds_CXX \
20272 old_archive_cmds_CXX \
20273 old_archive_from_new_cmds_CXX \
20274 old_archive_from_expsyms_cmds_CXX \
20275 archive_cmds_CXX \
20276 archive_expsym_cmds_CXX \
20277 module_cmds_CXX \
20278 module_expsym_cmds_CXX \
20279 export_symbols_cmds_CXX \
20280 prelink_cmds_CXX \
20281 postlink_cmds_CXX; do
20282     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20283     *[\\\\\\\`\\"\\\$]*)
20284       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20285       ;;
20286     *)
20287       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20288       ;;
20289     esac
20290 done
20291
20292 ac_aux_dir='$ac_aux_dir'
20293 xsi_shell='$xsi_shell'
20294 lt_shell_append='$lt_shell_append'
20295
20296 # See if we are running on zsh, and set the options which allow our
20297 # commands through without removal of \ escapes INIT.
20298 if test -n "\${ZSH_VERSION+set}" ; then
20299    setopt NO_GLOB_SUBST
20300 fi
20301
20302
20303     PACKAGE='$PACKAGE'
20304     VERSION='$VERSION'
20305     TIMESTAMP='$TIMESTAMP'
20306     RM='$RM'
20307     ofile='$ofile'
20308
20309
20310
20311
20312
20313
20314 ax_create_pkgconfig_generate="$ax_create_pkgconfig_generate"
20315 pkgconfig_prefix='$prefix'
20316 pkgconfig_execprefix='$exec_prefix'
20317 pkgconfig_bindir='$bindir'
20318 pkgconfig_libdir='$libdir'
20319 pkgconfig_includedir='$includedir'
20320 pkgconfig_datarootdir='$datarootdir'
20321 pkgconfig_datadir='$datadir'
20322 pkgconfig_sysconfdir='$sysconfdir'
20323 pkgconfig_suffix='$ax_create_pkgconfig_suffix'
20324 pkgconfig_package='$PACKAGE_NAME'
20325 pkgconfig_libname='$ax_create_pkgconfig_libname'
20326 pkgconfig_description='$ax_create_pkgconfig_description'
20327 pkgconfig_version='$ax_create_pkgconfig_version'
20328 pkgconfig_requires='$ax_create_pkgconfig_requires'
20329 pkgconfig_libs='$ax_create_pkgconfig_libs'
20330 pkgconfig_ldflags='$ax_create_pkgconfig_ldflags'
20331 pkgconfig_cppflags='$ax_create_pkgconfig_cppflags'
20332 pkgconfig_src_libdir='$ax_create_pkgconfig_src_libdir'
20333 pkgconfig_src_headers='$ax_create_pkgconfig_src_headers'
20334
20335
20336 _ACEOF
20337
20338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20339
20340 # Handling of arguments.
20341 for ac_config_target in $ac_config_targets
20342 do
20343   case $ac_config_target in
20344     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20345     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20346     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20347     "opensaml.spec") CONFIG_FILES="$CONFIG_FILES opensaml.spec" ;;
20348     "pkginfo") CONFIG_FILES="$CONFIG_FILES pkginfo" ;;
20349     "Portfile") CONFIG_FILES="$CONFIG_FILES Portfile" ;;
20350     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20351     "saml/Makefile") CONFIG_FILES="$CONFIG_FILES saml/Makefile" ;;
20352     "samltest/Makefile") CONFIG_FILES="$CONFIG_FILES samltest/Makefile" ;;
20353     "samlsign/Makefile") CONFIG_FILES="$CONFIG_FILES samlsign/Makefile" ;;
20354     "schemas/Makefile") CONFIG_FILES="$CONFIG_FILES schemas/Makefile" ;;
20355     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20356     "$ax_create_pkgconfig_generate") CONFIG_COMMANDS="$CONFIG_COMMANDS $ax_create_pkgconfig_generate" ;;
20357
20358   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
20359   esac
20360 done
20361
20362
20363 # If the user did not use the arguments to specify the items to instantiate,
20364 # then the envvar interface is used.  Set only those that are not.
20365 # We use the long form for the default assignment because of an extremely
20366 # bizarre bug on SunOS 4.1.3.
20367 if $ac_need_defaults; then
20368   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20369   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20370   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20371 fi
20372
20373 # Have a temporary directory for convenience.  Make it in the build tree
20374 # simply because there is no reason against having it here, and in addition,
20375 # creating and moving files from /tmp can sometimes cause problems.
20376 # Hook for its removal unless debugging.
20377 # Note that there is a small window in which the directory will not be cleaned:
20378 # after its creation but before its name has been assigned to `$tmp'.
20379 $debug ||
20380 {
20381   tmp=
20382   trap 'exit_status=$?
20383   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20384 ' 0
20385   trap 'as_fn_exit 1' 1 2 13 15
20386 }
20387 # Create a (secure) tmp directory for tmp files.
20388
20389 {
20390   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20391   test -n "$tmp" && test -d "$tmp"
20392 }  ||
20393 {
20394   tmp=./conf$$-$RANDOM
20395   (umask 077 && mkdir "$tmp")
20396 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20397
20398 # Set up the scripts for CONFIG_FILES section.
20399 # No need to generate them if there are no CONFIG_FILES.
20400 # This happens for instance with `./config.status config.h'.
20401 if test -n "$CONFIG_FILES"; then
20402
20403
20404 ac_cr=`echo X | tr X '\015'`
20405 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20406 # But we know of no other shell where ac_cr would be empty at this
20407 # point, so we can use a bashism as a fallback.
20408 if test "x$ac_cr" = x; then
20409   eval ac_cr=\$\'\\r\'
20410 fi
20411 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20412 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20413   ac_cs_awk_cr='\\r'
20414 else
20415   ac_cs_awk_cr=$ac_cr
20416 fi
20417
20418 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20419 _ACEOF
20420
20421
20422 {
20423   echo "cat >conf$$subs.awk <<_ACEOF" &&
20424   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20425   echo "_ACEOF"
20426 } >conf$$subs.sh ||
20427   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20428 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20429 ac_delim='%!_!# '
20430 for ac_last_try in false false false false false :; do
20431   . ./conf$$subs.sh ||
20432     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20433
20434   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20435   if test $ac_delim_n = $ac_delim_num; then
20436     break
20437   elif $ac_last_try; then
20438     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20439   else
20440     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20441   fi
20442 done
20443 rm -f conf$$subs.sh
20444
20445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20446 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
20447 _ACEOF
20448 sed -n '
20449 h
20450 s/^/S["/; s/!.*/"]=/
20451 p
20452 g
20453 s/^[^!]*!//
20454 :repl
20455 t repl
20456 s/'"$ac_delim"'$//
20457 t delim
20458 :nl
20459 h
20460 s/\(.\{148\}\)..*/\1/
20461 t more1
20462 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20463 p
20464 n
20465 b repl
20466 :more1
20467 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20468 p
20469 g
20470 s/.\{148\}//
20471 t nl
20472 :delim
20473 h
20474 s/\(.\{148\}\)..*/\1/
20475 t more2
20476 s/["\\]/\\&/g; s/^/"/; s/$/"/
20477 p
20478 b
20479 :more2
20480 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20481 p
20482 g
20483 s/.\{148\}//
20484 t delim
20485 ' <conf$$subs.awk | sed '
20486 /^[^""]/{
20487   N
20488   s/\n//
20489 }
20490 ' >>$CONFIG_STATUS || ac_write_fail=1
20491 rm -f conf$$subs.awk
20492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20493 _ACAWK
20494 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
20495   for (key in S) S_is_set[key] = 1
20496   FS = "\a"
20497
20498 }
20499 {
20500   line = $ 0
20501   nfields = split(line, field, "@")
20502   substed = 0
20503   len = length(field[1])
20504   for (i = 2; i < nfields; i++) {
20505     key = field[i]
20506     keylen = length(key)
20507     if (S_is_set[key]) {
20508       value = S[key]
20509       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20510       len += length(value) + length(field[++i])
20511       substed = 1
20512     } else
20513       len += 1 + keylen
20514   }
20515
20516   print line
20517 }
20518
20519 _ACAWK
20520 _ACEOF
20521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20522 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20523   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20524 else
20525   cat
20526 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
20527   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20528 _ACEOF
20529
20530 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20531 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20532 # trailing colons and then remove the whole line if VPATH becomes empty
20533 # (actually we leave an empty line to preserve line numbers).
20534 if test "x$srcdir" = x.; then
20535   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
20536 h
20537 s///
20538 s/^/:/
20539 s/[      ]*$/:/
20540 s/:\$(srcdir):/:/g
20541 s/:\${srcdir}:/:/g
20542 s/:@srcdir@:/:/g
20543 s/^:*//
20544 s/:*$//
20545 x
20546 s/\(=[   ]*\).*/\1/
20547 G
20548 s/\n//
20549 s/^[^=]*=[       ]*$//
20550 }'
20551 fi
20552
20553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20554 fi # test -n "$CONFIG_FILES"
20555
20556 # Set up the scripts for CONFIG_HEADERS section.
20557 # No need to generate them if there are no CONFIG_HEADERS.
20558 # This happens for instance with `./config.status Makefile'.
20559 if test -n "$CONFIG_HEADERS"; then
20560 cat >"$tmp/defines.awk" <<\_ACAWK ||
20561 BEGIN {
20562 _ACEOF
20563
20564 # Transform confdefs.h into an awk script `defines.awk', embedded as
20565 # here-document in config.status, that substitutes the proper values into
20566 # config.h.in to produce config.h.
20567
20568 # Create a delimiter string that does not exist in confdefs.h, to ease
20569 # handling of long lines.
20570 ac_delim='%!_!# '
20571 for ac_last_try in false false :; do
20572   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
20573   if test -z "$ac_t"; then
20574     break
20575   elif $ac_last_try; then
20576     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20577   else
20578     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20579   fi
20580 done
20581
20582 # For the awk script, D is an array of macro values keyed by name,
20583 # likewise P contains macro parameters if any.  Preserve backslash
20584 # newline sequences.
20585
20586 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20587 sed -n '
20588 s/.\{148\}/&'"$ac_delim"'/g
20589 t rset
20590 :rset
20591 s/^[     ]*#[    ]*define[       ][      ]*/ /
20592 t def
20593 d
20594 :def
20595 s/\\$//
20596 t bsnl
20597 s/["\\]/\\&/g
20598 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20599 D["\1"]=" \3"/p
20600 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
20601 d
20602 :bsnl
20603 s/["\\]/\\&/g
20604 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20605 D["\1"]=" \3\\\\\\n"\\/p
20606 t cont
20607 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20608 t cont
20609 d
20610 :cont
20611 n
20612 s/.\{148\}/&'"$ac_delim"'/g
20613 t clear
20614 :clear
20615 s/\\$//
20616 t bsnlc
20617 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20618 d
20619 :bsnlc
20620 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20621 b cont
20622 ' <confdefs.h | sed '
20623 s/'"$ac_delim"'/"\\\
20624 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20625
20626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20627   for (key in D) D_is_set[key] = 1
20628   FS = "\a"
20629 }
20630 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20631   line = \$ 0
20632   split(line, arg, " ")
20633   if (arg[1] == "#") {
20634     defundef = arg[2]
20635     mac1 = arg[3]
20636   } else {
20637     defundef = substr(arg[1], 2)
20638     mac1 = arg[2]
20639   }
20640   split(mac1, mac2, "(") #)
20641   macro = mac2[1]
20642   prefix = substr(line, 1, index(line, defundef) - 1)
20643   if (D_is_set[macro]) {
20644     # Preserve the white space surrounding the "#".
20645     print prefix "define", macro P[macro] D[macro]
20646     next
20647   } else {
20648     # Replace #undef with comments.  This is necessary, for example,
20649     # in the case of _POSIX_SOURCE, which is predefined and required
20650     # on some systems where configure will not decide to define it.
20651     if (defundef == "undef") {
20652       print "/*", prefix defundef, macro, "*/"
20653       next
20654     }
20655   }
20656 }
20657 { print }
20658 _ACAWK
20659 _ACEOF
20660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20661   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20662 fi # test -n "$CONFIG_HEADERS"
20663
20664
20665 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
20666 shift
20667 for ac_tag
20668 do
20669   case $ac_tag in
20670   :[FHLC]) ac_mode=$ac_tag; continue;;
20671   esac
20672   case $ac_mode$ac_tag in
20673   :[FHL]*:*);;
20674   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
20675   :[FH]-) ac_tag=-:-;;
20676   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20677   esac
20678   ac_save_IFS=$IFS
20679   IFS=:
20680   set x $ac_tag
20681   IFS=$ac_save_IFS
20682   shift
20683   ac_file=$1
20684   shift
20685
20686   case $ac_mode in
20687   :L) ac_source=$1;;
20688   :[FH])
20689     ac_file_inputs=
20690     for ac_f
20691     do
20692       case $ac_f in
20693       -) ac_f="$tmp/stdin";;
20694       *) # Look for the file first in the build tree, then in the source tree
20695          # (if the path is not absolute).  The absolute path cannot be DOS-style,
20696          # because $ac_f cannot contain `:'.
20697          test -f "$ac_f" ||
20698            case $ac_f in
20699            [\\/$]*) false;;
20700            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20701            esac ||
20702            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
20703       esac
20704       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20705       as_fn_append ac_file_inputs " '$ac_f'"
20706     done
20707
20708     # Let's still pretend it is `configure' which instantiates (i.e., don't
20709     # use $as_me), people would be surprised to read:
20710     #    /* config.h.  Generated by config.status.  */
20711     configure_input='Generated from '`
20712           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20713         `' by configure.'
20714     if test x"$ac_file" != x-; then
20715       configure_input="$ac_file.  $configure_input"
20716       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20717 $as_echo "$as_me: creating $ac_file" >&6;}
20718     fi
20719     # Neutralize special characters interpreted by sed in replacement strings.
20720     case $configure_input in #(
20721     *\&* | *\|* | *\\* )
20722        ac_sed_conf_input=`$as_echo "$configure_input" |
20723        sed 's/[\\\\&|]/\\\\&/g'`;; #(
20724     *) ac_sed_conf_input=$configure_input;;
20725     esac
20726
20727     case $ac_tag in
20728     *:-:* | *:-) cat >"$tmp/stdin" \
20729       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
20730     esac
20731     ;;
20732   esac
20733
20734   ac_dir=`$as_dirname -- "$ac_file" ||
20735 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20736          X"$ac_file" : 'X\(//\)[^/]' \| \
20737          X"$ac_file" : 'X\(//\)$' \| \
20738          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20739 $as_echo X"$ac_file" |
20740     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20741             s//\1/
20742             q
20743           }
20744           /^X\(\/\/\)[^/].*/{
20745             s//\1/
20746             q
20747           }
20748           /^X\(\/\/\)$/{
20749             s//\1/
20750             q
20751           }
20752           /^X\(\/\).*/{
20753             s//\1/
20754             q
20755           }
20756           s/.*/./; q'`
20757   as_dir="$ac_dir"; as_fn_mkdir_p
20758   ac_builddir=.
20759
20760 case "$ac_dir" in
20761 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20762 *)
20763   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20764   # A ".." for each directory in $ac_dir_suffix.
20765   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20766   case $ac_top_builddir_sub in
20767   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20768   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20769   esac ;;
20770 esac
20771 ac_abs_top_builddir=$ac_pwd
20772 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20773 # for backward compatibility:
20774 ac_top_builddir=$ac_top_build_prefix
20775
20776 case $srcdir in
20777   .)  # We are building in place.
20778     ac_srcdir=.
20779     ac_top_srcdir=$ac_top_builddir_sub
20780     ac_abs_top_srcdir=$ac_pwd ;;
20781   [\\/]* | ?:[\\/]* )  # Absolute name.
20782     ac_srcdir=$srcdir$ac_dir_suffix;
20783     ac_top_srcdir=$srcdir
20784     ac_abs_top_srcdir=$srcdir ;;
20785   *) # Relative name.
20786     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20787     ac_top_srcdir=$ac_top_build_prefix$srcdir
20788     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20789 esac
20790 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20791
20792
20793   case $ac_mode in
20794   :F)
20795   #
20796   # CONFIG_FILE
20797   #
20798
20799   case $INSTALL in
20800   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20801   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20802   esac
20803   ac_MKDIR_P=$MKDIR_P
20804   case $MKDIR_P in
20805   [\\/$]* | ?:[\\/]* ) ;;
20806   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20807   esac
20808 _ACEOF
20809
20810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20811 # If the template does not know about datarootdir, expand it.
20812 # FIXME: This hack should be removed a few years after 2.60.
20813 ac_datarootdir_hack=; ac_datarootdir_seen=
20814 ac_sed_dataroot='
20815 /datarootdir/ {
20816   p
20817   q
20818 }
20819 /@datadir@/p
20820 /@docdir@/p
20821 /@infodir@/p
20822 /@localedir@/p
20823 /@mandir@/p'
20824 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20825 *datarootdir*) ac_datarootdir_seen=yes;;
20826 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20827   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20828 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20829 _ACEOF
20830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20831   ac_datarootdir_hack='
20832   s&@datadir@&$datadir&g
20833   s&@docdir@&$docdir&g
20834   s&@infodir@&$infodir&g
20835   s&@localedir@&$localedir&g
20836   s&@mandir@&$mandir&g
20837   s&\\\${datarootdir}&$datarootdir&g' ;;
20838 esac
20839 _ACEOF
20840
20841 # Neutralize VPATH when `$srcdir' = `.'.
20842 # Shell code in configure.ac might set extrasub.
20843 # FIXME: do we really want to maintain this feature?
20844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20845 ac_sed_extra="$ac_vpsub
20846 $extrasub
20847 _ACEOF
20848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20849 :t
20850 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20851 s|@configure_input@|$ac_sed_conf_input|;t t
20852 s&@top_builddir@&$ac_top_builddir_sub&;t t
20853 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20854 s&@srcdir@&$ac_srcdir&;t t
20855 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20856 s&@top_srcdir@&$ac_top_srcdir&;t t
20857 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20858 s&@builddir@&$ac_builddir&;t t
20859 s&@abs_builddir@&$ac_abs_builddir&;t t
20860 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20861 s&@INSTALL@&$ac_INSTALL&;t t
20862 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20863 $ac_datarootdir_hack
20864 "
20865 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
20866   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20867
20868 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20869   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20870   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20871   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20872 which seems to be undefined.  Please make sure it is defined" >&5
20873 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20874 which seems to be undefined.  Please make sure it is defined" >&2;}
20875
20876   rm -f "$tmp/stdin"
20877   case $ac_file in
20878   -) cat "$tmp/out" && rm -f "$tmp/out";;
20879   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20880   esac \
20881   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20882  ;;
20883   :H)
20884   #
20885   # CONFIG_HEADER
20886   #
20887   if test x"$ac_file" != x-; then
20888     {
20889       $as_echo "/* $configure_input  */" \
20890       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
20891     } >"$tmp/config.h" \
20892       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20893     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
20894       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20895 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20896     else
20897       rm -f "$ac_file"
20898       mv "$tmp/config.h" "$ac_file" \
20899         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20900     fi
20901   else
20902     $as_echo "/* $configure_input  */" \
20903       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
20904       || as_fn_error $? "could not create -" "$LINENO" 5
20905   fi
20906 # Compute "$ac_file"'s index in $config_headers.
20907 _am_arg="$ac_file"
20908 _am_stamp_count=1
20909 for _am_header in $config_headers :; do
20910   case $_am_header in
20911     $_am_arg | $_am_arg:* )
20912       break ;;
20913     * )
20914       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20915   esac
20916 done
20917 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20918 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20919          X"$_am_arg" : 'X\(//\)[^/]' \| \
20920          X"$_am_arg" : 'X\(//\)$' \| \
20921          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20922 $as_echo X"$_am_arg" |
20923     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20924             s//\1/
20925             q
20926           }
20927           /^X\(\/\/\)[^/].*/{
20928             s//\1/
20929             q
20930           }
20931           /^X\(\/\/\)$/{
20932             s//\1/
20933             q
20934           }
20935           /^X\(\/\).*/{
20936             s//\1/
20937             q
20938           }
20939           s/.*/./; q'`/stamp-h$_am_stamp_count
20940  ;;
20941
20942   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20943 $as_echo "$as_me: executing $ac_file commands" >&6;}
20944  ;;
20945   esac
20946
20947
20948   case $ac_file$ac_mode in
20949     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20950   # Autoconf 2.62 quotes --file arguments for eval, but not when files
20951   # are listed without --file.  Let's play safe and only enable the eval
20952   # if we detect the quoting.
20953   case $CONFIG_FILES in
20954   *\'*) eval set x "$CONFIG_FILES" ;;
20955   *)   set x $CONFIG_FILES ;;
20956   esac
20957   shift
20958   for mf
20959   do
20960     # Strip MF so we end up with the name of the file.
20961     mf=`echo "$mf" | sed -e 's/:.*$//'`
20962     # Check whether this is an Automake generated Makefile or not.
20963     # We used to match only the files named `Makefile.in', but
20964     # some people rename them; so instead we look at the file content.
20965     # Grep'ing the first line is not enough: some people post-process
20966     # each Makefile.in and add a new line on top of each file to say so.
20967     # Grep'ing the whole file is not good either: AIX grep has a line
20968     # limit of 2048, but all sed's we know have understand at least 4000.
20969     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20970       dirpart=`$as_dirname -- "$mf" ||
20971 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20972          X"$mf" : 'X\(//\)[^/]' \| \
20973          X"$mf" : 'X\(//\)$' \| \
20974          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20975 $as_echo X"$mf" |
20976     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20977             s//\1/
20978             q
20979           }
20980           /^X\(\/\/\)[^/].*/{
20981             s//\1/
20982             q
20983           }
20984           /^X\(\/\/\)$/{
20985             s//\1/
20986             q
20987           }
20988           /^X\(\/\).*/{
20989             s//\1/
20990             q
20991           }
20992           s/.*/./; q'`
20993     else
20994       continue
20995     fi
20996     # Extract the definition of DEPDIR, am__include, and am__quote
20997     # from the Makefile without running `make'.
20998     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20999     test -z "$DEPDIR" && continue
21000     am__include=`sed -n 's/^am__include = //p' < "$mf"`
21001     test -z "am__include" && continue
21002     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21003     # When using ansi2knr, U may be empty or an underscore; expand it
21004     U=`sed -n 's/^U = //p' < "$mf"`
21005     # Find all dependency output files, they are included files with
21006     # $(DEPDIR) in their names.  We invoke sed twice because it is the
21007     # simplest approach to changing $(DEPDIR) to its actual value in the
21008     # expansion.
21009     for file in `sed -n "
21010       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21011          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21012       # Make sure the directory exists.
21013       test -f "$dirpart/$file" && continue
21014       fdir=`$as_dirname -- "$file" ||
21015 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21016          X"$file" : 'X\(//\)[^/]' \| \
21017          X"$file" : 'X\(//\)$' \| \
21018          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21019 $as_echo X"$file" |
21020     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21021             s//\1/
21022             q
21023           }
21024           /^X\(\/\/\)[^/].*/{
21025             s//\1/
21026             q
21027           }
21028           /^X\(\/\/\)$/{
21029             s//\1/
21030             q
21031           }
21032           /^X\(\/\).*/{
21033             s//\1/
21034             q
21035           }
21036           s/.*/./; q'`
21037       as_dir=$dirpart/$fdir; as_fn_mkdir_p
21038       # echo "creating $dirpart/$file"
21039       echo '# dummy' > "$dirpart/$file"
21040     done
21041   done
21042 }
21043  ;;
21044     "libtool":C)
21045
21046     # See if we are running on zsh, and set the options which allow our
21047     # commands through without removal of \ escapes.
21048     if test -n "${ZSH_VERSION+set}" ; then
21049       setopt NO_GLOB_SUBST
21050     fi
21051
21052     cfgfile="${ofile}T"
21053     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21054     $RM "$cfgfile"
21055
21056     cat <<_LT_EOF >> "$cfgfile"
21057 #! $SHELL
21058
21059 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21060 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21061 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21062 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21063 #
21064 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21065 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21066 #                 Inc.
21067 #   Written by Gordon Matzigkeit, 1996
21068 #
21069 #   This file is part of GNU Libtool.
21070 #
21071 # GNU Libtool is free software; you can redistribute it and/or
21072 # modify it under the terms of the GNU General Public License as
21073 # published by the Free Software Foundation; either version 2 of
21074 # the License, or (at your option) any later version.
21075 #
21076 # As a special exception to the GNU General Public License,
21077 # if you distribute this file as part of a program or library that
21078 # is built using GNU Libtool, you may include this file under the
21079 # same distribution terms that you use for the rest of that program.
21080 #
21081 # GNU Libtool is distributed in the hope that it will be useful,
21082 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21083 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21084 # GNU General Public License for more details.
21085 #
21086 # You should have received a copy of the GNU General Public License
21087 # along with GNU Libtool; see the file COPYING.  If not, a copy
21088 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21089 # obtained by writing to the Free Software Foundation, Inc.,
21090 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21091
21092
21093 # The names of the tagged configurations supported by this script.
21094 available_tags="CXX "
21095
21096 # ### BEGIN LIBTOOL CONFIG
21097
21098 # Whether or not to build static libraries.
21099 build_old_libs=$enable_static
21100
21101 # Which release of libtool.m4 was used?
21102 macro_version=$macro_version
21103 macro_revision=$macro_revision
21104
21105 # Whether or not to build shared libraries.
21106 build_libtool_libs=$enable_shared
21107
21108 # What type of objects to build.
21109 pic_mode=$pic_mode
21110
21111 # Whether or not to optimize for fast installation.
21112 fast_install=$enable_fast_install
21113
21114 # Shell to use when invoking shell scripts.
21115 SHELL=$lt_SHELL
21116
21117 # An echo program that protects backslashes.
21118 ECHO=$lt_ECHO
21119
21120 # The host system.
21121 host_alias=$host_alias
21122 host=$host
21123 host_os=$host_os
21124
21125 # The build system.
21126 build_alias=$build_alias
21127 build=$build
21128 build_os=$build_os
21129
21130 # A sed program that does not truncate output.
21131 SED=$lt_SED
21132
21133 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21134 Xsed="\$SED -e 1s/^X//"
21135
21136 # A grep program that handles long lines.
21137 GREP=$lt_GREP
21138
21139 # An ERE matcher.
21140 EGREP=$lt_EGREP
21141
21142 # A literal string matcher.
21143 FGREP=$lt_FGREP
21144
21145 # A BSD- or MS-compatible name lister.
21146 NM=$lt_NM
21147
21148 # Whether we need soft or hard links.
21149 LN_S=$lt_LN_S
21150
21151 # What is the maximum length of a command?
21152 max_cmd_len=$max_cmd_len
21153
21154 # Object file suffix (normally "o").
21155 objext=$ac_objext
21156
21157 # Executable file suffix (normally "").
21158 exeext=$exeext
21159
21160 # whether the shell understands "unset".
21161 lt_unset=$lt_unset
21162
21163 # turn spaces into newlines.
21164 SP2NL=$lt_lt_SP2NL
21165
21166 # turn newlines into spaces.
21167 NL2SP=$lt_lt_NL2SP
21168
21169 # convert \$build file names to \$host format.
21170 to_host_file_cmd=$lt_cv_to_host_file_cmd
21171
21172 # convert \$build files to toolchain format.
21173 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21174
21175 # An object symbol dumper.
21176 OBJDUMP=$lt_OBJDUMP
21177
21178 # Method to check whether dependent libraries are shared objects.
21179 deplibs_check_method=$lt_deplibs_check_method
21180
21181 # Command to use when deplibs_check_method = "file_magic".
21182 file_magic_cmd=$lt_file_magic_cmd
21183
21184 # How to find potential files when deplibs_check_method = "file_magic".
21185 file_magic_glob=$lt_file_magic_glob
21186
21187 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21188 want_nocaseglob=$lt_want_nocaseglob
21189
21190 # DLL creation program.
21191 DLLTOOL=$lt_DLLTOOL
21192
21193 # Command to associate shared and link libraries.
21194 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21195
21196 # The archiver.
21197 AR=$lt_AR
21198
21199 # Flags to create an archive.
21200 AR_FLAGS=$lt_AR_FLAGS
21201
21202 # How to feed a file listing to the archiver.
21203 archiver_list_spec=$lt_archiver_list_spec
21204
21205 # A symbol stripping program.
21206 STRIP=$lt_STRIP
21207
21208 # Commands used to install an old-style archive.
21209 RANLIB=$lt_RANLIB
21210 old_postinstall_cmds=$lt_old_postinstall_cmds
21211 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21212
21213 # Whether to use a lock for old archive extraction.
21214 lock_old_archive_extraction=$lock_old_archive_extraction
21215
21216 # A C compiler.
21217 LTCC=$lt_CC
21218
21219 # LTCC compiler flags.
21220 LTCFLAGS=$lt_CFLAGS
21221
21222 # Take the output of nm and produce a listing of raw symbols and C names.
21223 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21224
21225 # Transform the output of nm in a proper C declaration.
21226 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21227
21228 # Transform the output of nm in a C name address pair.
21229 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21230
21231 # Transform the output of nm in a C name address pair when lib prefix is needed.
21232 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21233
21234 # Specify filename containing input files for \$NM.
21235 nm_file_list_spec=$lt_nm_file_list_spec
21236
21237 # The root where to search for dependent libraries,and in which our libraries should be installed.
21238 lt_sysroot=$lt_sysroot
21239
21240 # The name of the directory that contains temporary libtool files.
21241 objdir=$objdir
21242
21243 # Used to examine libraries when file_magic_cmd begins with "file".
21244 MAGIC_CMD=$MAGIC_CMD
21245
21246 # Must we lock files when doing compilation?
21247 need_locks=$lt_need_locks
21248
21249 # Manifest tool.
21250 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21251
21252 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21253 DSYMUTIL=$lt_DSYMUTIL
21254
21255 # Tool to change global to local symbols on Mac OS X.
21256 NMEDIT=$lt_NMEDIT
21257
21258 # Tool to manipulate fat objects and archives on Mac OS X.
21259 LIPO=$lt_LIPO
21260
21261 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21262 OTOOL=$lt_OTOOL
21263
21264 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21265 OTOOL64=$lt_OTOOL64
21266
21267 # Old archive suffix (normally "a").
21268 libext=$libext
21269
21270 # Shared library suffix (normally ".so").
21271 shrext_cmds=$lt_shrext_cmds
21272
21273 # The commands to extract the exported symbol list from a shared archive.
21274 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21275
21276 # Variables whose values should be saved in libtool wrapper scripts and
21277 # restored at link time.
21278 variables_saved_for_relink=$lt_variables_saved_for_relink
21279
21280 # Do we need the "lib" prefix for modules?
21281 need_lib_prefix=$need_lib_prefix
21282
21283 # Do we need a version for libraries?
21284 need_version=$need_version
21285
21286 # Library versioning type.
21287 version_type=$version_type
21288
21289 # Shared library runtime path variable.
21290 runpath_var=$runpath_var
21291
21292 # Shared library path variable.
21293 shlibpath_var=$shlibpath_var
21294
21295 # Is shlibpath searched before the hard-coded library search path?
21296 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21297
21298 # Format of library name prefix.
21299 libname_spec=$lt_libname_spec
21300
21301 # List of archive names.  First name is the real one, the rest are links.
21302 # The last name is the one that the linker finds with -lNAME
21303 library_names_spec=$lt_library_names_spec
21304
21305 # The coded name of the library, if different from the real name.
21306 soname_spec=$lt_soname_spec
21307
21308 # Permission mode override for installation of shared libraries.
21309 install_override_mode=$lt_install_override_mode
21310
21311 # Command to use after installation of a shared archive.
21312 postinstall_cmds=$lt_postinstall_cmds
21313
21314 # Command to use after uninstallation of a shared archive.
21315 postuninstall_cmds=$lt_postuninstall_cmds
21316
21317 # Commands used to finish a libtool library installation in a directory.
21318 finish_cmds=$lt_finish_cmds
21319
21320 # As "finish_cmds", except a single script fragment to be evaled but
21321 # not shown.
21322 finish_eval=$lt_finish_eval
21323
21324 # Whether we should hardcode library paths into libraries.
21325 hardcode_into_libs=$hardcode_into_libs
21326
21327 # Compile-time system search path for libraries.
21328 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21329
21330 # Run-time system search path for libraries.
21331 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21332
21333 # Whether dlopen is supported.
21334 dlopen_support=$enable_dlopen
21335
21336 # Whether dlopen of programs is supported.
21337 dlopen_self=$enable_dlopen_self
21338
21339 # Whether dlopen of statically linked programs is supported.
21340 dlopen_self_static=$enable_dlopen_self_static
21341
21342 # Commands to strip libraries.
21343 old_striplib=$lt_old_striplib
21344 striplib=$lt_striplib
21345
21346
21347 # The linker used to build libraries.
21348 LD=$lt_LD
21349
21350 # How to create reloadable object files.
21351 reload_flag=$lt_reload_flag
21352 reload_cmds=$lt_reload_cmds
21353
21354 # Commands used to build an old-style archive.
21355 old_archive_cmds=$lt_old_archive_cmds
21356
21357 # A language specific compiler.
21358 CC=$lt_compiler
21359
21360 # Is the compiler the GNU compiler?
21361 with_gcc=$GCC
21362
21363 # Compiler flag to turn off builtin functions.
21364 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21365
21366 # Additional compiler flags for building library objects.
21367 pic_flag=$lt_lt_prog_compiler_pic
21368
21369 # How to pass a linker flag through the compiler.
21370 wl=$lt_lt_prog_compiler_wl
21371
21372 # Compiler flag to prevent dynamic linking.
21373 link_static_flag=$lt_lt_prog_compiler_static
21374
21375 # Does compiler simultaneously support -c and -o options?
21376 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21377
21378 # Whether or not to add -lc for building shared libraries.
21379 build_libtool_need_lc=$archive_cmds_need_lc
21380
21381 # Whether or not to disallow shared libs when runtime libs are static.
21382 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21383
21384 # Compiler flag to allow reflexive dlopens.
21385 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21386
21387 # Compiler flag to generate shared objects directly from archives.
21388 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21389
21390 # Whether the compiler copes with passing no objects directly.
21391 compiler_needs_object=$lt_compiler_needs_object
21392
21393 # Create an old-style archive from a shared archive.
21394 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21395
21396 # Create a temporary old-style archive to link instead of a shared archive.
21397 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21398
21399 # Commands used to build a shared archive.
21400 archive_cmds=$lt_archive_cmds
21401 archive_expsym_cmds=$lt_archive_expsym_cmds
21402
21403 # Commands used to build a loadable module if different from building
21404 # a shared archive.
21405 module_cmds=$lt_module_cmds
21406 module_expsym_cmds=$lt_module_expsym_cmds
21407
21408 # Whether we are building with GNU ld or not.
21409 with_gnu_ld=$lt_with_gnu_ld
21410
21411 # Flag that allows shared libraries with undefined symbols to be built.
21412 allow_undefined_flag=$lt_allow_undefined_flag
21413
21414 # Flag that enforces no undefined symbols.
21415 no_undefined_flag=$lt_no_undefined_flag
21416
21417 # Flag to hardcode \$libdir into a binary during linking.
21418 # This must work even if \$libdir does not exist
21419 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21420
21421 # If ld is used when linking, flag to hardcode \$libdir into a binary
21422 # during linking.  This must work even if \$libdir does not exist.
21423 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21424
21425 # Whether we need a single "-rpath" flag with a separated argument.
21426 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21427
21428 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21429 # DIR into the resulting binary.
21430 hardcode_direct=$hardcode_direct
21431
21432 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21433 # DIR into the resulting binary and the resulting library dependency is
21434 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21435 # library is relocated.
21436 hardcode_direct_absolute=$hardcode_direct_absolute
21437
21438 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21439 # into the resulting binary.
21440 hardcode_minus_L=$hardcode_minus_L
21441
21442 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21443 # into the resulting binary.
21444 hardcode_shlibpath_var=$hardcode_shlibpath_var
21445
21446 # Set to "yes" if building a shared library automatically hardcodes DIR
21447 # into the library and all subsequent libraries and executables linked
21448 # against it.
21449 hardcode_automatic=$hardcode_automatic
21450
21451 # Set to yes if linker adds runtime paths of dependent libraries
21452 # to runtime path list.
21453 inherit_rpath=$inherit_rpath
21454
21455 # Whether libtool must link a program against all its dependency libraries.
21456 link_all_deplibs=$link_all_deplibs
21457
21458 # Set to "yes" if exported symbols are required.
21459 always_export_symbols=$always_export_symbols
21460
21461 # The commands to list exported symbols.
21462 export_symbols_cmds=$lt_export_symbols_cmds
21463
21464 # Symbols that should not be listed in the preloaded symbols.
21465 exclude_expsyms=$lt_exclude_expsyms
21466
21467 # Symbols that must always be exported.
21468 include_expsyms=$lt_include_expsyms
21469
21470 # Commands necessary for linking programs (against libraries) with templates.
21471 prelink_cmds=$lt_prelink_cmds
21472
21473 # Commands necessary for finishing linking programs.
21474 postlink_cmds=$lt_postlink_cmds
21475
21476 # Specify filename containing input files.
21477 file_list_spec=$lt_file_list_spec
21478
21479 # How to hardcode a shared library path into an executable.
21480 hardcode_action=$hardcode_action
21481
21482 # The directories searched by this compiler when creating a shared library.
21483 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21484
21485 # Dependencies to place before and after the objects being linked to
21486 # create a shared library.
21487 predep_objects=$lt_predep_objects
21488 postdep_objects=$lt_postdep_objects
21489 predeps=$lt_predeps
21490 postdeps=$lt_postdeps
21491
21492 # The library search path used internally by the compiler when linking
21493 # a shared library.
21494 compiler_lib_search_path=$lt_compiler_lib_search_path
21495
21496 # ### END LIBTOOL CONFIG
21497
21498 _LT_EOF
21499
21500   case $host_os in
21501   aix3*)
21502     cat <<\_LT_EOF >> "$cfgfile"
21503 # AIX sometimes has problems with the GCC collect2 program.  For some
21504 # reason, if we set the COLLECT_NAMES environment variable, the problems
21505 # vanish in a puff of smoke.
21506 if test "X${COLLECT_NAMES+set}" != Xset; then
21507   COLLECT_NAMES=
21508   export COLLECT_NAMES
21509 fi
21510 _LT_EOF
21511     ;;
21512   esac
21513
21514
21515 ltmain="$ac_aux_dir/ltmain.sh"
21516
21517
21518   # We use sed instead of cat because bash on DJGPP gets confused if
21519   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21520   # text mode, it properly converts lines to CR/LF.  This bash problem
21521   # is reportedly fixed, but why not run on old versions too?
21522   sed '$q' "$ltmain" >> "$cfgfile" \
21523      || (rm -f "$cfgfile"; exit 1)
21524
21525   if test x"$xsi_shell" = xyes; then
21526   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21527 func_dirname ()\
21528 {\
21529 \    case ${1} in\
21530 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21531 \      *  ) func_dirname_result="${3}" ;;\
21532 \    esac\
21533 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21534   && mv -f "$cfgfile.tmp" "$cfgfile" \
21535     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21536 test 0 -eq $? || _lt_function_replace_fail=:
21537
21538
21539   sed -e '/^func_basename ()$/,/^} # func_basename /c\
21540 func_basename ()\
21541 {\
21542 \    func_basename_result="${1##*/}"\
21543 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21544   && mv -f "$cfgfile.tmp" "$cfgfile" \
21545     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21546 test 0 -eq $? || _lt_function_replace_fail=:
21547
21548
21549   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21550 func_dirname_and_basename ()\
21551 {\
21552 \    case ${1} in\
21553 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21554 \      *  ) func_dirname_result="${3}" ;;\
21555 \    esac\
21556 \    func_basename_result="${1##*/}"\
21557 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21558   && mv -f "$cfgfile.tmp" "$cfgfile" \
21559     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21560 test 0 -eq $? || _lt_function_replace_fail=:
21561
21562
21563   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21564 func_stripname ()\
21565 {\
21566 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21567 \    # positional parameters, so assign one to ordinary parameter first.\
21568 \    func_stripname_result=${3}\
21569 \    func_stripname_result=${func_stripname_result#"${1}"}\
21570 \    func_stripname_result=${func_stripname_result%"${2}"}\
21571 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21572   && mv -f "$cfgfile.tmp" "$cfgfile" \
21573     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21574 test 0 -eq $? || _lt_function_replace_fail=:
21575
21576
21577   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21578 func_split_long_opt ()\
21579 {\
21580 \    func_split_long_opt_name=${1%%=*}\
21581 \    func_split_long_opt_arg=${1#*=}\
21582 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21583   && mv -f "$cfgfile.tmp" "$cfgfile" \
21584     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21585 test 0 -eq $? || _lt_function_replace_fail=:
21586
21587
21588   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21589 func_split_short_opt ()\
21590 {\
21591 \    func_split_short_opt_arg=${1#??}\
21592 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21593 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21594   && mv -f "$cfgfile.tmp" "$cfgfile" \
21595     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21596 test 0 -eq $? || _lt_function_replace_fail=:
21597
21598
21599   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21600 func_lo2o ()\
21601 {\
21602 \    case ${1} in\
21603 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21604 \      *)    func_lo2o_result=${1} ;;\
21605 \    esac\
21606 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21607   && mv -f "$cfgfile.tmp" "$cfgfile" \
21608     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21609 test 0 -eq $? || _lt_function_replace_fail=:
21610
21611
21612   sed -e '/^func_xform ()$/,/^} # func_xform /c\
21613 func_xform ()\
21614 {\
21615     func_xform_result=${1%.*}.lo\
21616 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21617   && mv -f "$cfgfile.tmp" "$cfgfile" \
21618     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21619 test 0 -eq $? || _lt_function_replace_fail=:
21620
21621
21622   sed -e '/^func_arith ()$/,/^} # func_arith /c\
21623 func_arith ()\
21624 {\
21625     func_arith_result=$(( $* ))\
21626 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21627   && mv -f "$cfgfile.tmp" "$cfgfile" \
21628     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21629 test 0 -eq $? || _lt_function_replace_fail=:
21630
21631
21632   sed -e '/^func_len ()$/,/^} # func_len /c\
21633 func_len ()\
21634 {\
21635     func_len_result=${#1}\
21636 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21637   && mv -f "$cfgfile.tmp" "$cfgfile" \
21638     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21639 test 0 -eq $? || _lt_function_replace_fail=:
21640
21641 fi
21642
21643 if test x"$lt_shell_append" = xyes; then
21644   sed -e '/^func_append ()$/,/^} # func_append /c\
21645 func_append ()\
21646 {\
21647     eval "${1}+=\\${2}"\
21648 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21649   && mv -f "$cfgfile.tmp" "$cfgfile" \
21650     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21651 test 0 -eq $? || _lt_function_replace_fail=:
21652
21653
21654   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21655 func_append_quoted ()\
21656 {\
21657 \    func_quote_for_eval "${2}"\
21658 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21659 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21660   && mv -f "$cfgfile.tmp" "$cfgfile" \
21661     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21662 test 0 -eq $? || _lt_function_replace_fail=:
21663
21664
21665   # Save a `func_append' function call where possible by direct use of '+='
21666   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21667     && mv -f "$cfgfile.tmp" "$cfgfile" \
21668       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21669   test 0 -eq $? || _lt_function_replace_fail=:
21670 else
21671   # Save a `func_append' function call even when '+=' is not available
21672   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21673     && mv -f "$cfgfile.tmp" "$cfgfile" \
21674       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21675   test 0 -eq $? || _lt_function_replace_fail=:
21676 fi
21677
21678 if test x"$_lt_function_replace_fail" = x":"; then
21679   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21680 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21681 fi
21682
21683
21684    mv -f "$cfgfile" "$ofile" ||
21685     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21686   chmod +x "$ofile"
21687
21688
21689     cat <<_LT_EOF >> "$ofile"
21690
21691 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21692
21693 # The linker used to build libraries.
21694 LD=$lt_LD_CXX
21695
21696 # How to create reloadable object files.
21697 reload_flag=$lt_reload_flag_CXX
21698 reload_cmds=$lt_reload_cmds_CXX
21699
21700 # Commands used to build an old-style archive.
21701 old_archive_cmds=$lt_old_archive_cmds_CXX
21702
21703 # A language specific compiler.
21704 CC=$lt_compiler_CXX
21705
21706 # Is the compiler the GNU compiler?
21707 with_gcc=$GCC_CXX
21708
21709 # Compiler flag to turn off builtin functions.
21710 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21711
21712 # Additional compiler flags for building library objects.
21713 pic_flag=$lt_lt_prog_compiler_pic_CXX
21714
21715 # How to pass a linker flag through the compiler.
21716 wl=$lt_lt_prog_compiler_wl_CXX
21717
21718 # Compiler flag to prevent dynamic linking.
21719 link_static_flag=$lt_lt_prog_compiler_static_CXX
21720
21721 # Does compiler simultaneously support -c and -o options?
21722 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21723
21724 # Whether or not to add -lc for building shared libraries.
21725 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21726
21727 # Whether or not to disallow shared libs when runtime libs are static.
21728 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21729
21730 # Compiler flag to allow reflexive dlopens.
21731 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21732
21733 # Compiler flag to generate shared objects directly from archives.
21734 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21735
21736 # Whether the compiler copes with passing no objects directly.
21737 compiler_needs_object=$lt_compiler_needs_object_CXX
21738
21739 # Create an old-style archive from a shared archive.
21740 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21741
21742 # Create a temporary old-style archive to link instead of a shared archive.
21743 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21744
21745 # Commands used to build a shared archive.
21746 archive_cmds=$lt_archive_cmds_CXX
21747 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21748
21749 # Commands used to build a loadable module if different from building
21750 # a shared archive.
21751 module_cmds=$lt_module_cmds_CXX
21752 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21753
21754 # Whether we are building with GNU ld or not.
21755 with_gnu_ld=$lt_with_gnu_ld_CXX
21756
21757 # Flag that allows shared libraries with undefined symbols to be built.
21758 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21759
21760 # Flag that enforces no undefined symbols.
21761 no_undefined_flag=$lt_no_undefined_flag_CXX
21762
21763 # Flag to hardcode \$libdir into a binary during linking.
21764 # This must work even if \$libdir does not exist
21765 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21766
21767 # If ld is used when linking, flag to hardcode \$libdir into a binary
21768 # during linking.  This must work even if \$libdir does not exist.
21769 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21770
21771 # Whether we need a single "-rpath" flag with a separated argument.
21772 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21773
21774 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21775 # DIR into the resulting binary.
21776 hardcode_direct=$hardcode_direct_CXX
21777
21778 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21779 # DIR into the resulting binary and the resulting library dependency is
21780 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21781 # library is relocated.
21782 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21783
21784 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21785 # into the resulting binary.
21786 hardcode_minus_L=$hardcode_minus_L_CXX
21787
21788 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21789 # into the resulting binary.
21790 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21791
21792 # Set to "yes" if building a shared library automatically hardcodes DIR
21793 # into the library and all subsequent libraries and executables linked
21794 # against it.
21795 hardcode_automatic=$hardcode_automatic_CXX
21796
21797 # Set to yes if linker adds runtime paths of dependent libraries
21798 # to runtime path list.
21799 inherit_rpath=$inherit_rpath_CXX
21800
21801 # Whether libtool must link a program against all its dependency libraries.
21802 link_all_deplibs=$link_all_deplibs_CXX
21803
21804 # Set to "yes" if exported symbols are required.
21805 always_export_symbols=$always_export_symbols_CXX
21806
21807 # The commands to list exported symbols.
21808 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21809
21810 # Symbols that should not be listed in the preloaded symbols.
21811 exclude_expsyms=$lt_exclude_expsyms_CXX
21812
21813 # Symbols that must always be exported.
21814 include_expsyms=$lt_include_expsyms_CXX
21815
21816 # Commands necessary for linking programs (against libraries) with templates.
21817 prelink_cmds=$lt_prelink_cmds_CXX
21818
21819 # Commands necessary for finishing linking programs.
21820 postlink_cmds=$lt_postlink_cmds_CXX
21821
21822 # Specify filename containing input files.
21823 file_list_spec=$lt_file_list_spec_CXX
21824
21825 # How to hardcode a shared library path into an executable.
21826 hardcode_action=$hardcode_action_CXX
21827
21828 # The directories searched by this compiler when creating a shared library.
21829 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21830
21831 # Dependencies to place before and after the objects being linked to
21832 # create a shared library.
21833 predep_objects=$lt_predep_objects_CXX
21834 postdep_objects=$lt_postdep_objects_CXX
21835 predeps=$lt_predeps_CXX
21836 postdeps=$lt_postdeps_CXX
21837
21838 # The library search path used internally by the compiler when linking
21839 # a shared library.
21840 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21841
21842 # ### END LIBTOOL TAG CONFIG: CXX
21843 _LT_EOF
21844
21845  ;;
21846     "$ax_create_pkgconfig_generate":C)
21847 pkgconfig_generate="$ax_create_pkgconfig_generate"
21848 if test ! -f "$pkgconfig_generate.in"
21849 then generate="true"
21850 elif grep ' generated by configure ' $pkgconfig_generate.in >/dev/null
21851 then generate="true"
21852 else generate="false";
21853 fi
21854 if $generate ; then
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate.in" >&5
21856 $as_echo "$as_me: creating $pkgconfig_generate.in" >&6;}
21857 cat > $pkgconfig_generate.in <<AXEOF
21858 # generated by configure / remove this line to disable regeneration
21859 prefix=@prefix@
21860 exec_prefix=@exec_prefix@
21861 bindir=@bindir@
21862 libdir=@libdir@
21863 datarootdir=@datarootdir@
21864 datadir=@datadir@
21865 sysconfdir=@sysconfdir@
21866 includedir=@includedir@
21867 package=@PACKAGE@
21868 suffix=@suffix@
21869
21870 Name: @PACKAGE_NAME@
21871 Description: @PACKAGE_DESCRIPTION@
21872 Version: @PACKAGE_VERSION@
21873 Requires: @PACKAGE_REQUIRES@
21874 Libs: -L\${libdir} @LDFLAGS@ @LIBS@
21875 Cflags: -I\${includedir} @CPPFLAGS@
21876 AXEOF
21877 fi # DONE generate $pkgconfig_generate.in
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
21879 $as_echo "$as_me: creating $pkgconfig_generate" >&6;}
21880 cat >conftest.sed <<AXEOF
21881 s|@prefix@|${pkgconfig_prefix}|
21882 s|@exec_prefix@|${pkgconfig_execprefix}|
21883 s|@bindir@|${pkgconfig_bindir}|
21884 s|@libdir@|${pkgconfig_libdir}|
21885 s|@datarootdir@|${pkgconfig_datarootdir}|
21886 s|@datadir@|${pkgconfig_datadir}|
21887 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21888 s|@includedir@|${pkgconfig_includedir}|
21889 s|@suffix@|${pkgconfig_suffix}|
21890 s|@PACKAGE@|${pkgconfig_package}|
21891 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21892 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21893 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21894 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21895 s|@LIBS@|${pkgconfig_libs}|
21896 s|@LDFLAGS@|${pkgconfig_ldflags}|
21897 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21898 AXEOF
21899 sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_generate
21900 if test ! -s $pkgconfig_generate ; then
21901     as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
21902 fi ; rm conftest.sed # DONE generate $pkgconfig_generate
21903 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21905 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21906 cat >conftest.sed <<AXEOF
21907 s|@prefix@|${pkgconfig_prefix}|
21908 s|@exec_prefix@|${pkgconfig_execprefix}|
21909 s|@bindir@|${pkgconfig_bindir}|
21910 s|@libdir@|${pkgconfig_src_libdir}|
21911 s|@datarootdir@|${pkgconfig_datarootdir}|
21912 s|@datadir@|${pkgconfig_datadir}|
21913 s|@sysconfdir@|${pkgconfig_sysconfdir}|
21914 s|@includedir@|${pkgconfig_src_headers}|
21915 s|@suffix@|${pkgconfig_suffix}|
21916 s|@PACKAGE@|${pkgconfig_package}|
21917 s|@PACKAGE_NAME@|${pkgconfig_libname}|
21918 s|@PACKAGE_DESCRIPTION@|${pkgconfig_description}|
21919 s|@PACKAGE_VERSION@|${pkgconfig_version}|
21920 s|@PACKAGE_REQUIRES@|${pkgconfig_requires}|
21921 s|@LIBS@|${pkgconfig_libs}|
21922 s|@LDFLAGS@|${pkgconfig_ldflags}|
21923 s|@CPPFLAGS@|${pkgconfig_cppflags}|
21924 AXEOF
21925 sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
21926 if test ! -s $pkgconfig_uninstalled ; then
21927     as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21928 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21929            pkgconfig_requires_add=`echo ${pkgconfig_requires}`
21930 if test ".$pkgconfig_requires_add" != "." ; then
21931            pkgconfig_requires_add="pkg-config $pkgconfig_requires_add"
21932     else   pkgconfig_requires_add=":" ; fi
21933 pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.sh/'`
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
21935 $as_echo "$as_me: creating $pkgconfig_uninstalled" >&6;}
21936 cat >conftest.sed <<AXEOF
21937 s|@prefix@|\"${pkgconfig_prefix}\"|
21938 s|@exec_prefix@|\"${pkgconfig_execprefix}\"|
21939 s|@bindir@|\"${pkgconfig_bindir}\"|
21940 s|@libdir@|\"${pkgconfig_src_libdir}\"|
21941 s|@datarootdir@|\"${pkgconfig_datarootdir}\"|
21942 s|@datadir@|\"${pkgconfig_datadir}\"|
21943 s|@sysconfdir@|\"${pkgconfig_sysconfdir}\"|
21944 s|@includedir@|\"${pkgconfig_src_headers}\"|
21945 s|@suffix@|\"${pkgconfig_suffix}\"|
21946 s|@PACKAGE@|\"${pkgconfig_package}\"|
21947 s|@PACKAGE_NAME@|\"${pkgconfig_libname}\"|
21948 s|@PACKAGE_DESCRIPTION@|\"${pkgconfig_description}\"|
21949 s|@PACKAGE_VERSION@|\"${pkgconfig_version}\"|
21950 s|@PACKAGE_REQUIRES@|\"${pkgconfig_requires}\"|
21951 s|@LIBS@|\"${pkgconfig_libs}\"|
21952 s|@LDFLAGS@|\"${pkgconfig_ldflags}\"|
21953 s|@CPPFLAGS@|\"${pkgconfig_cppflags}\"|
21954 s>Name:>for option\\; do case \"\$option\" in --list-all|--name) echo >
21955 s>Description: *>\\;\\; --help) pkg-config --help \\; echo Buildscript Of >
21956 s>Version: *>\\;\\; --modversion|--version) echo >
21957 s>Requires:>\\;\\; --requires) echo $pkgconfig_requires_add>
21958 s>Libs: *>\\;\\; --libs) echo >
21959 s>Cflags: *>\\;\\; --cflags) echo >
21960 /--libs)/a\\
21961        $pkgconfig_requires_add
21962 /--cflags)/a\\
21963        $pkgconfig_requires_add\\
21964 ;; --variable=*) eval echo '\$'\`echo \$option | sed -e 's/.*=//'\`\\
21965 ;; --uninstalled) exit 0 \\
21966 ;; *) ;; esac done
21967 AXEOF
21968 sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_uninstalled
21969 if test ! -s $pkgconfig_uninstalled ; then
21970     as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
21971 fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
21972  ;;
21973
21974   esac
21975 done # for ac_tag
21976
21977
21978 as_fn_exit 0
21979 _ACEOF
21980 ac_clean_files=$ac_clean_files_save
21981
21982 test $ac_write_fail = 0 ||
21983   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21984
21985
21986 # configure is writing to config.log, and then calls config.status.
21987 # config.status does its own redirection, appending to config.log.
21988 # Unfortunately, on DOS this fails, as config.log is still kept open
21989 # by configure, so config.status won't be able to write to it; its
21990 # output is simply discarded.  So we exec the FD to /dev/null,
21991 # effectively closing config.log, so it can be properly (re)opened and
21992 # appended to by config.status.  When coming back to configure, we
21993 # need to make the FD available again.
21994 if test "$no_create" != yes; then
21995   ac_cs_success=:
21996   ac_config_status_args=
21997   test "$silent" = yes &&
21998     ac_config_status_args="$ac_config_status_args --quiet"
21999   exec 5>/dev/null
22000   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22001   exec 5>>config.log
22002   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22003   # would make configure fail if this is the last instruction.
22004   $ac_cs_success || as_fn_exit 1
22005 fi
22006 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22007   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22008 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22009 fi
22010